From gambas at ...1... Mon Jun 1 13:31:56 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 01 Jun 2015 13:31:56 +0200 Subject: [Gambas-user] serial ports In-Reply-To: <556C3297.1020507@...169...> References: <556C3297.1020507@...169...> Message-ID: <556C42AC.30002@...1...> Le 01/06/2015 12:23, Shane a ?crit : > what would be the best way to make a list of available serial ports in a > gambas program? > > thanks Shane > Does anyone have an idea? ls /dev/lp* maybe? -- Beno?t Minisini From ron at ...1740... Mon Jun 1 13:55:40 2015 From: ron at ...1740... (Ron) Date: Mon, 1 Jun 2015 13:55:40 +0200 Subject: [Gambas-user] serial ports In-Reply-To: <556C42AC.30002@...1...> References: <556C3297.1020507@...169...> <556C42AC.30002@...1...> Message-ID: https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218 Where argument are '/dev/', 'tty[ACM|S|USB]*' Regards, Ron. 2015-06-01 13:31 GMT+02:00 Beno?t Minisini : > Le 01/06/2015 12:23, Shane a ?crit : >> what would be the best way to make a list of available serial ports in a >> gambas program? >> >> thanks Shane >> > > Does anyone have an idea? > > ls /dev/lp* maybe? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shanep1967 at ...169... Mon Jun 1 14:20:09 2015 From: shanep1967 at ...169... (Shane) Date: Mon, 01 Jun 2015 22:20:09 +1000 Subject: [Gambas-user] serial ports In-Reply-To: References: <556C3297.1020507@...169...> <556C42AC.30002@...1...> Message-ID: <556C4DF9.6000602@...169...> Thanks heaps this is exactly what i wanted. just one thing i get some 30 odd ttys's and I'm sure there all not usable serial ports but this is not a problem for me i can just use the ones with values also i would have thought that a filter of 'tty[ACM|USB]*' would stop this On 01/06/15 21:55, Ron wrote: > https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218 > > Where argument are '/dev/', 'tty[ACM|S|USB]*' > > Regards, > Ron. > > 2015-06-01 13:31 GMT+02:00 Beno?t Minisini : >> Le 01/06/2015 12:23, Shane a ?crit : >>> what would be the best way to make a list of available serial ports in a >>> gambas program? >>> >>> thanks Shane >>> >> Does anyone have an idea? >> >> ls /dev/lp* maybe? >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shanep1967 at ...169... Mon Jun 1 14:55:09 2015 From: shanep1967 at ...169... (Shane) Date: Mon, 01 Jun 2015 22:55:09 +1000 Subject: [Gambas-user] serial ports In-Reply-To: <556C4DF9.6000602@...169...> References: <556C3297.1020507@...169...> <556C42AC.30002@...1...> <556C4DF9.6000602@...169...> Message-ID: <556C562D.6060102@...169...> ok this works for me "tty[ACM*,USB*]" On 01/06/15 22:20, Shane wrote: > Thanks heaps this is exactly what i wanted. > just one thing i get some 30 odd ttys's and I'm sure there all not > usable serial ports but this is not a problem for me i can just use the > ones with values > also i would have thought that a filter of 'tty[ACM|USB]*' would stop this > > > On 01/06/15 21:55, Ron wrote: >> https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218 >> >> Where argument are '/dev/', 'tty[ACM|S|USB]*' >> >> Regards, >> Ron. >> >> 2015-06-01 13:31 GMT+02:00 Beno?t Minisini : >>> Le 01/06/2015 12:23, Shane a ?crit : >>>> what would be the best way to make a list of available serial ports in a >>>> gambas program? >>>> >>>> thanks Shane >>>> >>> Does anyone have an idea? >>> >>> ls /dev/lp* maybe? >>> >>> -- >>> Beno?t Minisini >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ron at ...1740... Mon Jun 1 14:57:30 2015 From: ron at ...1740... (Ron) Date: Mon, 1 Jun 2015 14:57:30 +0200 Subject: [Gambas-user] serial ports In-Reply-To: <556C4DF9.6000602@...169...> References: <556C3297.1020507@...169...> <556C42AC.30002@...1...> <556C4DF9.6000602@...169...> Message-ID: Onboard serial ports show themselves as /dev/ttyS0-4, so maybe you can tighten the filter. We prefer to use the /dev/serial/by-id/* links since those don't change after reboots, where as the normal /dev/tty device do. (with usb interfaces) That's why you see extra code to read the links, you can leave it out if not needed. Regards, Ron. 2015-06-01 14:20 GMT+02:00 Shane : > Thanks heaps this is exactly what i wanted. > just one thing i get some 30 odd ttys's and I'm sure there all not > usable serial ports but this is not a problem for me i can just use the > ones with values > also i would have thought that a filter of 'tty[ACM|USB]*' would stop this > > > On 01/06/15 21:55, Ron wrote: >> https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218 >> >> Where argument are '/dev/', 'tty[ACM|S|USB]*' >> >> Regards, >> Ron. >> >> 2015-06-01 13:31 GMT+02:00 Beno?t Minisini : >>> Le 01/06/2015 12:23, Shane a ?crit : >>>> what would be the best way to make a list of available serial ports in a >>>> gambas program? >>>> >>>> thanks Shane >>>> >>> Does anyone have an idea? >>> >>> ls /dev/lp* maybe? >>> >>> -- >>> Beno?t Minisini >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shanep1967 at ...169... Mon Jun 1 15:14:47 2015 From: shanep1967 at ...169... (Shane) Date: Mon, 01 Jun 2015 23:14:47 +1000 Subject: [Gambas-user] serial ports In-Reply-To: References: <556C3297.1020507@...169...> <556C42AC.30002@...1...> <556C4DF9.6000602@...169...> Message-ID: <556C5AC7.3020609@...169...> Thanks very much Ron :-) On 01/06/15 22:57, Ron wrote: > Onboard serial ports show themselves as /dev/ttyS0-4, so maybe you can > tighten the filter. > > We prefer to use the /dev/serial/by-id/* links since those don't > change after reboots, where as the normal /dev/tty device do. (with > usb interfaces) > That's why you see extra code to read the links, you can leave it out > if not needed. > > Regards, > Ron. > > 2015-06-01 14:20 GMT+02:00 Shane : >> Thanks heaps this is exactly what i wanted. >> just one thing i get some 30 odd ttys's and I'm sure there all not >> usable serial ports but this is not a problem for me i can just use the >> ones with values >> also i would have thought that a filter of 'tty[ACM|USB]*' would stop this >> >> >> On 01/06/15 21:55, Ron wrote: >>> https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218 >>> >>> Where argument are '/dev/', 'tty[ACM|S|USB]*' >>> >>> Regards, >>> Ron. >>> >>> 2015-06-01 13:31 GMT+02:00 Beno?t Minisini : >>>> Le 01/06/2015 12:23, Shane a ?crit : >>>>> what would be the best way to make a list of available serial ports in a >>>>> gambas program? >>>>> >>>>> thanks Shane >>>>> >>>> Does anyone have an idea? >>>> >>>> ls /dev/lp* maybe? >>>> >>>> -- >>>> Beno?t Minisini >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From nando_f at ...951... Tue Jun 2 14:49:56 2015 From: nando_f at ...951... (nando) Date: Tue, 2 Jun 2015 08:49:56 -0400 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: References: <1432987964.96733.YahooMailBasic@...3271...> Message-ID: <20150602124448.M36327@...951...> Alternate: Dim j as Byte Dim s as String For j = 1 To 12 s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) Next Print s ---------- Original Message ----------- From: Jussi Lahtinen To: mailing list for gambas users Sent: Sat, 30 May 2015 17:41:43 +0300 Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > You can write that in nicer way with rand() function, than rnd() function. > But that doesn't really matter, your code works anyway. > > Jussi > > On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: > > > Hello, > > > > I propose: > > > > > > Public Sub Button1_Click() > > > > Dim j As Byte > > Dim s As String > > > > For j = 1 To 12 > > If Fix(Rnd(0, 2)) Then > > s &= Chr(Rnd(48, 58)) > > Else > > s &= Chr(Rnd(65, 91)) > > Endif > > Next > > > > Print s > > > > End > > > > > > -------------------------------------------- > > Sab 30/5/15, tsukuba GIMP user ha scritto: > > > > Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) > > A: "gambas-user" > > Data: Sabato 30 maggio 2015, 11:16 > > > > i want when i click button (button_1) > > LCDpanl(LCDLabel1) will be Generation 12 random letters > > how to [UTF-8?]do??? > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From phorechuk at ...626... Tue Jun 2 15:28:55 2015 From: phorechuk at ...626... (Paul Horechuk) Date: Tue, 02 Jun 2015 09:28:55 -0400 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: <20150602124448.M36327@...951...> References: <1432987964.96733.YahooMailBasic@...3271...> <20150602124448.M36327@...951...> Message-ID: <556DAF97.5060004@...626...> Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 letters and 10 digits? On 15-06-02 08:49 AM, nando wrote: > Alternate: > > Dim j as Byte > Dim s as String > > For j = 1 To 12 > s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) > Next > > Print s > > > ---------- Original Message ----------- > From: Jussi Lahtinen > To: mailing list for gambas users > Sent: Sat, 30 May 2015 17:41:43 +0300 > Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > >> You can write that in nicer way with rand() function, than rnd() function. >> But that doesn't really matter, your code works anyway. >> >> Jussi >> >> On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: >> >>> Hello, >>> >>> I propose: >>> >>> >>> Public Sub Button1_Click() >>> >>> Dim j As Byte >>> Dim s As String >>> >>> For j = 1 To 12 >>> If Fix(Rnd(0, 2)) Then >>> s &= Chr(Rnd(48, 58)) >>> Else >>> s &= Chr(Rnd(65, 91)) >>> Endif >>> Next >>> >>> Print s >>> >>> End >>> >>> >>> -------------------------------------------- >>> Sab 30/5/15, tsukuba GIMP user ha scritto: >>> >>> Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) >>> A: "gambas-user" >>> Data: Sabato 30 maggio 2015, 11:16 >>> >>> i want when i click button (button_1) >>> LCDpanl(LCDLabel1) will be Generation 12 random letters >>> how to [UTF-8?]do??? >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Think Free ... Use Open Source Software From bagoneo at ...69... Tue Jun 2 15:51:43 2015 From: bagoneo at ...69... (Gian) Date: Tue, 02 Jun 2015 15:51:43 +0200 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: <556DAF97.5060004@...626...> References: <1432987964.96733.YahooMailBasic@...3271...> <20150602124448.M36327@...951...> <556DAF97.5060004@...626...> Message-ID: <556DB4EF.20209@...69...> Il 02/06/2015 15:28, Paul Horechuk ha scritto: > Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 > letters and 10 digits? > > On 15-06-02 08:49 AM, nando wrote: >> Alternate: >> >> Dim j as Byte >> Dim s as String >> >> For j = 1 To 12 >> s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) >> Next >> >> Print s >> >> >> ---------- Original Message ----------- >> From: Jussi Lahtinen >> To: mailing list for gambas users >> Sent: Sat, 30 May 2015 17:41:43 +0300 >> Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) >> >>> You can write that in nicer way with rand() function, than rnd() function. >>> But that doesn't really matter, your code works anyway. >>> >>> Jussi >>> >>> On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: >>> >>>> Hello, >>>> >>>> I propose: >>>> >>>> >>>> Public Sub Button1_Click() >>>> >>>> Dim j As Byte >>>> Dim s As String >>>> >>>> For j = 1 To 12 >>>> If Fix(Rnd(0, 2)) Then >>>> s &= Chr(Rnd(48, 58)) >>>> Else >>>> s &= Chr(Rnd(65, 91)) >>>> Endif >>>> Next >>>> >>>> Print s >>>> >>>> End >>>> >>>> >>>> -------------------------------------------- >>>> Sab 30/5/15, tsukuba GIMP user ha scritto: >>>> >>>> Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) >>>> A: "gambas-user" >>>> Data: Sabato 30 maggio 2015, 11:16 >>>> >>>> i want when i click button (button_1) >>>> LCDpanl(LCDLabel1) will be Generation 12 random letters >>>> how to [UTF-8?]do??? >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------- End of Original Message ------- >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello, Maybe is more correct Rand because returns an integer, kindly you can let me know if this email appears as a SPAM Regards Gianluigi From epost at ...3323... Tue Jun 2 20:52:19 2015 From: epost at ...3323... (=?ISO-8859-1?Q?J=F8rn_Erik_M=F8rne?=) Date: Tue, 02 Jun 2015 20:52:19 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: References: Message-ID: <2312597.fN2FvkG6hV@...3483...> The problem persists with me since about 7104 as reported by Herberth. Tried on two Arch systems. From gambas at ...1... Tue Jun 2 21:07:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 02 Jun 2015 21:07:00 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <2312597.fN2FvkG6hV@...3483...> References: <2312597.fN2FvkG6hV@...3483...> Message-ID: <556DFED4.8060409@...1...> Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : > The problem persists with me since about 7104 as reported by Herberth. > Tried on two Arch systems. > Can you recompile and reinstall from scratch? I.e. by removing any Gambas files installed from a previous compilation. Then can you send me the output of the entire configuration, compilation and installation process? Or can you provide ma a ssh access to one of your computer? -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Jun 2 23:18:25 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 02 Jun 2015 23:18:25 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <556DFED4.8060409@...1...> References: <2312597.fN2FvkG6hV@...3483...> <556DFED4.8060409@...1...> Message-ID: <1433279905.3684.7.camel@...40...> Am Dienstag, den 02.06.2015, 21:07 +0200 schrieb Beno?t Minisini: > Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : > > The problem persists with me since about 7104 as reported by Herberth. > > Tried on two Arch systems. > > > > Can you recompile and reinstall from scratch? I.e. by removing any > Gambas files installed from a previous compilation. > > Then can you send me the output of the entire configuration, compilation > and installation process? > > Or can you provide ma a ssh access to one of your computer? > Salut Beno?t, here attached the logs and a valgrind.log. I made a 'make uninstall', and removed /usr/lib/gambas3 and /usr/shared/gambas3, before rebuilt from scratch (trunk was also removed). LUbuntu 14.04.2 LTS x86 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-7108-#11.tar.gz Type: application/x-compressed-tar Size: 36211 bytes Desc: not available URL: From gambas at ...1... Wed Jun 3 03:08:46 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 03:08:46 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <1433279905.3684.7.camel@...40...> References: <2312597.fN2FvkG6hV@...3483...> <556DFED4.8060409@...1...> <1433279905.3684.7.camel@...40...> Message-ID: <556E539E.3030103@...1...> Le 02/06/2015 23:18, Charlie Reinl a ?crit : > Am Dienstag, den 02.06.2015, 21:07 +0200 schrieb Beno?t Minisini: >> Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : >>> The problem persists with me since about 7104 as reported by Herberth. >>> Tried on two Arch systems. >>> >> >> Can you recompile and reinstall from scratch? I.e. by removing any >> Gambas files installed from a previous compilation. >> >> Then can you send me the output of the entire configuration, compilation >> and installation process? >> >> Or can you provide ma a ssh access to one of your computer? >> > > Salut Beno?t, > > here attached the logs and a valgrind.log. > > I made a 'make uninstall', and removed /usr/lib/gambas3 > and /usr/shared/gambas3, before rebuilt from scratch (trunk was also > removed). > > LUbuntu 14.04.2 LTS x86 > I need a ssh access to one of your machines, to know what the interpreter was doing exaclty when it crashed... -- Beno?t Minisini From gambas at ...1... Wed Jun 3 03:10:11 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 03:10:11 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <556E539E.3030103@...1...> References: <2312597.fN2FvkG6hV@...3483...> <556DFED4.8060409@...1...> <1433279905.3684.7.camel@...40...> <556E539E.3030103@...1...> Message-ID: <556E53F3.2090806@...1...> Le 03/06/2015 03:08, Beno?t Minisini a ?crit : > Le 02/06/2015 23:18, Charlie Reinl a ?crit : >> Am Dienstag, den 02.06.2015, 21:07 +0200 schrieb Beno?t Minisini: >>> Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : >>>> The problem persists with me since about 7104 as reported by Herberth. >>>> Tried on two Arch systems. >>>> >>> >>> Can you recompile and reinstall from scratch? I.e. by removing any >>> Gambas files installed from a previous compilation. >>> >>> Then can you send me the output of the entire configuration, compilation >>> and installation process? >>> >>> Or can you provide ma a ssh access to one of your computer? >>> >> >> Salut Beno?t, >> >> here attached the logs and a valgrind.log. >> >> I made a 'make uninstall', and removed /usr/lib/gambas3 >> and /usr/shared/gambas3, before rebuilt from scratch (trunk was also >> removed). >> >> LUbuntu 14.04.2 LTS x86 >> > > I need a ssh access to one of your machines, to know what the > interpreter was doing exaclty when it crashed... > Or you can even share a desktop with the krfb KDE program. I just need a terminal and gdb to debug the program. -- Beno?t Minisini From mike.crean at ...2897... Wed Jun 3 03:34:50 2015 From: mike.crean at ...2897... (Mike Crean) Date: Wed, 3 Jun 2015 01:34:50 +0000 (UTC) Subject: [Gambas-user] My Web Site Message-ID: <308116425.3902427.1433295290481.JavaMail.yahoo@...3424...> Hi all,? For those that are interested my web site is up again? www.creaniestoys.noip.me?please be gentile with it cause it is onlyserved up on a raspberry pi model B+?www.raspberrypi.org?a computerabout the size of an iphone 4 The images will be a bit slow downloading 1sttime around, be patient. RegardsMike From fgores at ...174... Wed Jun 3 07:32:58 2015 From: fgores at ...174... (fgores) Date: Wed, 3 Jun 2015 07:32:58 +0200 Subject: [Gambas-user] Update installed package Message-ID: <3D3729DC-FF82-4367-A0D0-41934A514841@...174...> Q: I have made an installation package of my program and installed it locally on my PC. Now I want to install an updated version of the program. How do i do that? Just overwriting the old package did not work... Using ubuntu 10.04lts and Gambas 3.7 Verstuurd vanaf mijn iPad From gambas at ...1... Wed Jun 3 14:23:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 14:23:47 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <2312597.fN2FvkG6hV@...3483...> References: <2312597.fN2FvkG6hV@...3483...> Message-ID: <556EF1D3.7080008@...1...> Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : > The problem persists with me since about 7104 as reported by Herberth. > Tried on two Arch systems. > Please use the latest revision. Regards, -- Beno?t Minisini From epost at ...3323... Wed Jun 3 14:56:07 2015 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Wed, 03 Jun 2015 14:56:07 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <556EF1D3.7080008@...1...> References: <2312597.fN2FvkG6hV@...3483...> <556EF1D3.7080008@...1...> Message-ID: <556EF967.9080406@...3323...> Den 03. juni 2015 14:23, skrev Beno?t Minisini: > Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : >> The problem persists with me since about 7104 as reported by Herberth. >> Tried on two Arch systems. >> > Please use the latest revision. > > Regards, > Success :) From gambas.fr at ...626... Wed Jun 3 15:14:45 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 3 Jun 2015 15:14:45 +0200 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: <556DAF97.5060004@...626...> References: <1432987964.96733.YahooMailBasic@...3271...> <20150602124448.M36327@...951...> <556DAF97.5060004@...626...> Message-ID: Chr(Rand(48,90)) 2015-06-02 15:28 GMT+02:00 Paul Horechuk : > Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 > letters and 10 digits? > > On 15-06-02 08:49 AM, nando wrote: >> Alternate: >> >> Dim j as Byte >> Dim s as String >> >> For j = 1 To 12 >> s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) >> Next >> >> Print s >> >> >> ---------- Original Message ----------- >> From: Jussi Lahtinen >> To: mailing list for gambas users >> Sent: Sat, 30 May 2015 17:41:43 +0300 >> Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) >> >>> You can write that in nicer way with rand() function, than rnd() function. >>> But that doesn't really matter, your code works anyway. >>> >>> Jussi >>> >>> On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: >>> >>>> Hello, >>>> >>>> I propose: >>>> >>>> >>>> Public Sub Button1_Click() >>>> >>>> Dim j As Byte >>>> Dim s As String >>>> >>>> For j = 1 To 12 >>>> If Fix(Rnd(0, 2)) Then >>>> s &= Chr(Rnd(48, 58)) >>>> Else >>>> s &= Chr(Rnd(65, 91)) >>>> Endif >>>> Next >>>> >>>> Print s >>>> >>>> End >>>> >>>> >>>> -------------------------------------------- >>>> Sab 30/5/15, tsukuba GIMP user ha scritto: >>>> >>>> Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) >>>> A: "gambas-user" >>>> Data: Sabato 30 maggio 2015, 11:16 >>>> >>>> i want when i click button (button_1) >>>> LCDpanl(LCDLabel1) will be Generation 12 random letters >>>> how to [UTF-8?]do??? >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------- End of Original Message ------- >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Think Free ... > Use Open Source Software > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Jun 3 15:47:15 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 3 Jun 2015 15:47:15 +0200 Subject: [Gambas-user] My Web Site In-Reply-To: <308116425.3902427.1433295290481.JavaMail.yahoo@...3424...> References: <308116425.3902427.1433295290481.JavaMail.yahoo@...3424...> Message-ID: Amazing 2015-06-03 3:34 GMT+02:00 Mike Crean : > Hi all, > For those that are interested my web site is up again > www.creaniestoys.noip.me please be gentile with it cause it is onlyserved up on a raspberry pi model B+ www.raspberrypi.org a computerabout the size of an iphone 4 The images will be a bit slow downloading 1sttime around, be patient. > RegardsMike > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Wed Jun 3 16:00:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 16:00:56 +0200 Subject: [Gambas-user] My Web Site In-Reply-To: References: <308116425.3902427.1433295290481.JavaMail.yahoo@...3424...> Message-ID: <556F0898.3090201@...1...> Le 03/06/2015 15:47, Fabien Bodard a ?crit : > Amazing > Yep! What is the relation between Gambas/RPi and your trains? -- Beno?t Minisini From charlie at ...2793... Wed Jun 3 16:13:33 2015 From: charlie at ...2793... (Charlie) Date: Wed, 3 Jun 2015 07:13:33 -0700 (MST) Subject: [Gambas-user] Gambas Farm - Dependencies Message-ID: <1433340813519-51672.post@...3046...> I have created a program, QRCreator, and added it to the Gambas Farm. I added 'qrencode' as a dependency but it does not work. Am I misunderstanding the meaning of 'dependencies' or have I missed a trick somewhere? -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas-Farm-Dependencies-tp51672.html Sent from the gambas-user mailing list archive at Nabble.com. From mike.crean at ...2897... Wed Jun 3 16:34:03 2015 From: mike.crean at ...2897... (Mike Crean) Date: Wed, 3 Jun 2015 14:34:03 +0000 (UTC) Subject: [Gambas-user] Gambas, Rpi and Signals Message-ID: <788709408.4216838.1433342043864.JavaMail.yahoo@...3424...> Hey Benoit, thanks for looking at my web site and yourinterest in my projects. The relation between Gambas and my trains is signalscontrol at Niana North this is all on Linux (Ubuntu) and the SCADA (automation)software is code cut using Gambas 3. The new Niana South control is using anold PC to interface with Niana North. It will be replace by a Raspberry pi 2 B+with control software created using Gambas 3. I have found the power controland filtering chip (IC) used in the Rpi?s to be very shaky at best. It seems unableto handle large voltage transients commonly seen on our electricity supply and seems prone to fail. Iwill be installing a UPS and power filter to hopefully over come this problem. Havea look at the signals section in the Trains menu on my web site www.creaniestoys.noip.me. ? Many, many best wishes and keep up the great work withGambas.Regards Mike? From gambas at ...1... Wed Jun 3 16:37:25 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 16:37:25 +0200 Subject: [Gambas-user] Gambas Farm - Dependencies In-Reply-To: <1433340813519-51672.post@...3046...> References: <1433340813519-51672.post@...3046...> Message-ID: <556F1125.3020908@...1...> Le 03/06/2015 16:13, Charlie a ?crit : > I have created a program, QRCreator, and added it to the Gambas Farm. I added > 'qrencode' as a dependency but it does not work. Am I misunderstanding the > meaning of 'dependencies' or have I missed a trick somewhere? > > > They are dependencies on other Gambas software in the farm. Not dependencies on programs installed on the system. Moreover, these dependencies are not yet implemented by the installer. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Wed Jun 3 18:04:47 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 03 Jun 2015 18:04:47 +0200 Subject: [Gambas-user] ERROR Segmentation fault (core dumped) In-Reply-To: <556EF1D3.7080008@...1...> References: <2312597.fN2FvkG6hV@...3483...> <556EF1D3.7080008@...1...> Message-ID: <1433347487.3572.3.camel@...40...> Am Mittwoch, den 03.06.2015, 14:23 +0200 schrieb Beno?t Minisini: > Le 02/06/2015 20:52, J?rn Erik M?rne a ?crit : > > The problem persists with me since about 7104 as reported by Herberth. > > Tried on two Arch systems. > > > > Please use the latest revision. > > Regards, > Salut, yes since rev. 7109 the IDE can be started on older systems (without qt5core >= 5.3) Thanks again -- Amicalement Charlie From karl.reinl at ...9... Wed Jun 3 21:53:40 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 03 Jun 2015 21:53:40 +0200 Subject: [Gambas-user] changes on HPanel Message-ID: <1433361220.3572.37.camel@...40...> Salut Beno?t, see attached screenshot, this comes from the same executable, made 30 March 2015, the left side is a screenshot made at this time (rev.7017), the right side made today (rev.7109) the 03 June 2015. This happens on start up. The parent control is a HPanel. As workaround I can make a view.W+1 and view.W-1 and then my toolbar is expand. So I think on draw, the event to expand is not fired. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-03 21:13:38.png Type: image/png Size: 62641 bytes Desc: not available URL: From gambas at ...1... Wed Jun 3 22:03:18 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Jun 2015 22:03:18 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <1433361220.3572.37.camel@...40...> References: <1433361220.3572.37.camel@...40...> Message-ID: <556F5D86.20504@...1...> Le 03/06/2015 21:53, Karl Reinl a ?crit : > Salut Beno?t, > > see attached screenshot, this comes from the same executable, made 30 > March 2015, the left side is a screenshot made at this time (rev.7017), > the right side made today (rev.7109) the 03 June 2015. This happens on > start up. > The parent control is a HPanel. As workaround I can make a view.W+1 and > view.W-1 and then my toolbar is expand. So I think on draw, the event to > expand is not fired. > The parent of control of what? Where? -- Beno?t Minisini From karl.reinl at ...9... Wed Jun 3 22:36:08 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 03 Jun 2015 22:36:08 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <556F5D86.20504@...1...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> Message-ID: <1433363768.3572.51.camel@...40...> Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: > Le 03/06/2015 21:53, Karl Reinl a ?crit : > > Salut Beno?t, > > > > see attached screenshot, this comes from the same executable, made 30 > > March 2015, the left side is a screenshot made at this time (rev.7017), > > the right side made today (rev.7109) the 03 June 2015. This happens on > > start up. > > The parent control is a HPanel. As workaround I can make a view.W+1 and > > view.W-1 and then my toolbar is expand. So I think on draw, the event to > > expand is not fired. > > > > The parent of control of what? Where? > Salut Beno?t, parent of the 'Toolbox'. The Toolbox consists of a Form (Expand=True) with a Label and a HPanel (AutoResize=True) on a Scrollview (Expand=True) I place my buttons etc on that HPanel The width of the 'Toolbox'-form is saved on close, and restored at start up. -- Amicalement Charlie From gambas at ...1... Wed Jun 3 22:44:15 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 03 Jun 2015 22:44:15 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <1433363768.3572.51.camel@...40...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> <1433363768.3572.51.camel@...40...> Message-ID: <556F671F.8040403@...1...> Le 03/06/2015 22:36, Karl Reinl a ?crit : > Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: >> Le 03/06/2015 21:53, Karl Reinl a ?crit : >>> Salut Beno?t, >>> >>> see attached screenshot, this comes from the same executable, made 30 >>> March 2015, the left side is a screenshot made at this time (rev.7017), >>> the right side made today (rev.7109) the 03 June 2015. This happens on >>> start up. >>> The parent control is a HPanel. As workaround I can make a view.W+1 and >>> view.W-1 and then my toolbar is expand. So I think on draw, the event to >>> expand is not fired. >>> >> >> The parent of control of what? Where? >> > > Salut Beno?t, > > parent of the 'Toolbox'. > The Toolbox consists of a > Form (Expand=True) > with a Label > and a HPanel (AutoResize=True) > on a Scrollview (Expand=True) > I place my buttons etc on that HPanel > The width of the 'Toolbox'-form is saved on close, > and restored at start up. > > Can you isolate your form in a little project that reproduces the bug and send me the result? -- Beno?t Minisini From karl.reinl at ...9... Wed Jun 3 23:09:00 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 03 Jun 2015 23:09:00 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <556F671F.8040403@...1...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> <1433363768.3572.51.camel@...40...> <556F671F.8040403@...1...> Message-ID: <1433365740.3572.54.camel@...40...> Am Mittwoch, den 03.06.2015, 22:44 +0200 schrieb Beno?t Minisini: > Le 03/06/2015 22:36, Karl Reinl a ?crit : > > Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: > >> Le 03/06/2015 21:53, Karl Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> see attached screenshot, this comes from the same executable, made 30 > >>> March 2015, the left side is a screenshot made at this time (rev.7017), > >>> the right side made today (rev.7109) the 03 June 2015. This happens on > >>> start up. > >>> The parent control is a HPanel. As workaround I can make a view.W+1 and > >>> view.W-1 and then my toolbar is expand. So I think on draw, the event to > >>> expand is not fired. > >>> > >> > >> The parent of control of what? Where? > >> > > > > Salut Beno?t, > > > > parent of the 'Toolbox'. > > The Toolbox consists of a > > Form (Expand=True) > > with a Label > > and a HPanel (AutoResize=True) > > on a Scrollview (Expand=True) > > I place my buttons etc on that HPanel > > The width of the 'Toolbox'-form is saved on close, > > and restored at start up. > > > > > > Can you isolate your form in a little project that reproduces the bug > and send me the result? > Salut Beno?t, yes, of course I just started after the last mail. But that will take a while -- Amicalement Charlie From Karl.Reinl at ...2345... Wed Jun 3 23:56:19 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 03 Jun 2015 23:56:19 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <556F671F.8040403@...1...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> <1433363768.3572.51.camel@...40...> <556F671F.8040403@...1...> Message-ID: <1433368579.3572.57.camel@...40...> Am Mittwoch, den 03.06.2015, 22:44 +0200 schrieb Beno?t Minisini: > Le 03/06/2015 22:36, Karl Reinl a ?crit : > > Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: > >> Le 03/06/2015 21:53, Karl Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> see attached screenshot, this comes from the same executable, made 30 > >>> March 2015, the left side is a screenshot made at this time (rev.7017), > >>> the right side made today (rev.7109) the 03 June 2015. This happens on > >>> start up. > >>> The parent control is a HPanel. As workaround I can make a view.W+1 and > >>> view.W-1 and then my toolbar is expand. So I think on draw, the event to > >>> expand is not fired. > >>> > >> > >> The parent of control of what? Where? > >> > > > > Salut Beno?t, > > > > parent of the 'Toolbox'. > > The Toolbox consists of a > > Form (Expand=True) > > with a Label > > and a HPanel (AutoResize=True) > > on a Scrollview (Expand=True) > > I place my buttons etc on that HPanel > > The width of the 'Toolbox'-form is saved on close, > > and restored at start up. > > > > > > Can you isolate your form in a little project that reproduces the bug > and send me the result? > Salut Beno?t, here it is. Went faster than I thought. Start it the resize the form -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: sv_view-0.0.1.tar.gz Type: application/x-compressed-tar Size: 7185 bytes Desc: not available URL: From mmcg29440 at ...3163... Thu Jun 4 01:56:30 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Wed, 3 Jun 2015 19:56:30 -0400 Subject: [Gambas-user] How to use a toolbar Message-ID: Hello, I'm trying to use a toolbar on a form. Have added gb.form.mdi to project and added toolbar to form. Placed two tool buttons within the toolbar. I understand that the toolbar is a container so the buttons should be within it. The problem is that no matter where I put the buttons (horizontally along the toolbar) they seem to align themselves where they want to go rather than where I place them in the tool bar. They want to crowd over to the left margin on top of each other and then not in the order or position I placed them. The Gambas Doc site appears to be down so I cannot get to the docs. So what am I doing wrong and where can I find the docs on the toolbar? An example would be helpful. As always your responses are appreciated. Regards, Marty From gambas at ...1... Thu Jun 4 02:19:20 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 04 Jun 2015 02:19:20 +0200 Subject: [Gambas-user] How to use a toolbar In-Reply-To: References: Message-ID: <556F9988.5020407@...1...> Le 04/06/2015 01:56, Martin McGlensey a ?crit : > Hello, > > > > I'm trying to use a toolbar on a form. Have added gb.form.mdi to project and > added toolbar to form. Placed two tool buttons within the toolbar. I > understand that the toolbar is a container so the buttons should be within > it. > > > > The problem is that no matter where I put the buttons (horizontally along > the toolbar) they seem to align themselves where they want to go rather than > where I place them in the tool bar. They want to crowd over to the left > margin on top of each other and then not in the order or position I placed > them. > > > > The Gambas Doc site appears to be down so I cannot get to the docs. So what > am I doing wrong and where can I find the docs on the toolbar? An example > would be helpful. > > > > As always your responses are appreciated. > > > > Regards, > > Marty > The wiki is at http://gambaswiki.org, and it works. The toolbar lays its children horizontally, like a HPanel. You don't decide where they go. You should define the Action property of all controls you put inside the toolbar. Then if you define the Toolbar Key property, it gains a popup menu that allows to configure the toolbar. Moreover, if you have menu entries somewhere having the same Action, they will synchronize, and then triggered, the Action_Activate() function of your Form will be called with the action as argument. That way, you can manage your actions at one place, even if the same action is defined in many different controls. Morever, you gain an automatic shortcut configuration for your menu entries too (with the Action.Configure method). You can examine the source code of the FMain.form form of the IDE to have a good example of that. -- Beno?t Minisini From gambas at ...1... Thu Jun 4 04:19:24 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 04 Jun 2015 04:19:24 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <1433368579.3572.57.camel@...40...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> <1433363768.3572.51.camel@...40...> <556F671F.8040403@...1...> <1433368579.3572.57.camel@...40...> Message-ID: <556FB5AC.2090901@...1...> Le 03/06/2015 23:56, Charlie Reinl a ?crit : > Am Mittwoch, den 03.06.2015, 22:44 +0200 schrieb Beno?t Minisini: >> Le 03/06/2015 22:36, Karl Reinl a ?crit : >>> Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: >>>> Le 03/06/2015 21:53, Karl Reinl a ?crit : >>>>> Salut Beno?t, >>>>> >>>>> see attached screenshot, this comes from the same executable, made 30 >>>>> March 2015, the left side is a screenshot made at this time (rev.7017), >>>>> the right side made today (rev.7109) the 03 June 2015. This happens on >>>>> start up. >>>>> The parent control is a HPanel. As workaround I can make a view.W+1 and >>>>> view.W-1 and then my toolbar is expand. So I think on draw, the event to >>>>> expand is not fired. >>>>> >>>> >>>> The parent of control of what? Where? >>>> >>> >>> Salut Beno?t, >>> >>> parent of the 'Toolbox'. >>> The Toolbox consists of a >>> Form (Expand=True) >>> with a Label >>> and a HPanel (AutoResize=True) >>> on a Scrollview (Expand=True) >>> I place my buttons etc on that HPanel >>> The width of the 'Toolbox'-form is saved on close, >>> and restored at start up. >>> >>> >> >> Can you isolate your form in a little project that reproduces the bug >> and send me the result? >> > > Salut Beno?t, > > here it is. > Went faster than I thought. > Start it the resize the form > The value sv.ClientWidth is not necessarily accurate when the Form Resize event is raised. You must use the Arrange event of the ScrollView instead. Moreover, your project fails when you use gb.gtk or gb.gtk3, because you code depends on undocumented behaviours that are not the same between the GUI components. So you are playing with the fire... Regards, -- Beno?t Minisini From roel at ...3306... Thu Jun 4 15:23:17 2015 From: roel at ...3306... (Roel Touwen) Date: Thu, 04 Jun 2015 15:23:17 +0200 Subject: [Gambas-user] Json sample Message-ID: <55705145.7010501@...3306...> Hi All, I'm upto building a json connection with an external provider. Has anyone a simple sample? Including de put and get etc.? Thanks! Roel Touwen From mckaygerhard at ...626... Thu Jun 4 17:37:06 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 4 Jun 2015 11:07:06 -0430 Subject: [Gambas-user] Gambas, Rpi and Signals (Mike Crean) Message-ID: Hi Mike, i visit u'r web page too.. i'm very very impressive! i have very insteresting in the wireless part.. u have develop a wireless sistem to send signals? i have some curios! why not using normal routers? of cell phone signals? inclusivelly why not only radio signals!? i ask due there's no specifications on u'r web page, only superfluos details .. From: Mike Crean > Subject: [Gambas-user] Gambas, Rpi and Signals > To: Mailing List for Gambas Users > Message-ID: > <788709408.4216838.1433342043864.JavaMail.yahoo at ...3424...> > Content-Type: text/plain; charset=UTF-8 > > Hey Benoit, thanks for looking at my web site and yourinterest in my > projects. The relation between Gambas and my trains is signalscontrol at > Niana North this is all on Linux (Ubuntu) and the SCADA > (automation)software is code cut using Gambas 3. The new Niana South > control is using anold PC to interface with Niana North. It will be replace > by a Raspberry pi 2 B+with control software created using Gambas 3. I have > found the power controland filtering chip (IC) used in the Rpi?s to be very > shaky at best. It seems unableto handle large voltage transients commonly > seen on our electricity supply and seems prone to fail. Iwill be installing > a UPS and power filter to hopefully over come this problem. Havea look at > the signals section in the Trains menu on my web site > www.creaniestoys.noip.me. > ? > Many, many best wishes and keep up the great work withGambas.Regards Mike? > From jusabejusabe at ...626... Thu Jun 4 18:33:36 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 4 Jun 2015 18:33:36 +0200 Subject: [Gambas-user] Json sample In-Reply-To: <55705145.7010501@...3306...> References: <55705145.7010501@...3306...> Message-ID: Hello Roel: Sample only get: http://jsbsan.blogspot.com.es/2015/04/gambas3-ejemplo-de-json-y-extraer-datos.html Regards Julio 2015-06-04 15:23 GMT+02:00 Roel Touwen : > Hi All, > > I'm upto building a json connection with an external provider. > > Has anyone a simple sample? Including de put and get etc.? > > Thanks! > > Roel Touwen > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Thu Jun 4 18:43:41 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 04 Jun 2015 18:43:41 +0200 Subject: [Gambas-user] changes on HPanel In-Reply-To: <556FB5AC.2090901@...1...> References: <1433361220.3572.37.camel@...40...> <556F5D86.20504@...1...> <1433363768.3572.51.camel@...40...> <556F671F.8040403@...1...> <1433368579.3572.57.camel@...40...> <556FB5AC.2090901@...1...> Message-ID: <1433436221.3881.11.camel@...40...> Am Donnerstag, den 04.06.2015, 04:19 +0200 schrieb Beno?t Minisini: > Le 03/06/2015 23:56, Charlie Reinl a ?crit : > > Am Mittwoch, den 03.06.2015, 22:44 +0200 schrieb Beno?t Minisini: > >> Le 03/06/2015 22:36, Karl Reinl a ?crit : > >>> Am Mittwoch, den 03.06.2015, 22:03 +0200 schrieb Beno?t Minisini: > >>>> Le 03/06/2015 21:53, Karl Reinl a ?crit : > >>>>> Salut Beno?t, > >>>>> > >>>>> see attached screenshot, this comes from the same executable, made 30 > >>>>> March 2015, the left side is a screenshot made at this time (rev.7017), > >>>>> the right side made today (rev.7109) the 03 June 2015. This happens on > >>>>> start up. > >>>>> The parent control is a HPanel. As workaround I can make a view.W+1 and > >>>>> view.W-1 and then my toolbar is expand. So I think on draw, the event to > >>>>> expand is not fired. > >>>>> > >>>> > >>>> The parent of control of what? Where? > >>>> > >>> > >>> Salut Beno?t, > >>> > >>> parent of the 'Toolbox'. > >>> The Toolbox consists of a > >>> Form (Expand=True) > >>> with a Label > >>> and a HPanel (AutoResize=True) > >>> on a Scrollview (Expand=True) > >>> I place my buttons etc on that HPanel > >>> The width of the 'Toolbox'-form is saved on close, > >>> and restored at start up. > >>> > >>> > >> > >> Can you isolate your form in a little project that reproduces the bug > >> and send me the result? > >> > > > > Salut Beno?t, > > > > here it is. > > Went faster than I thought. > > Start it the resize the form > > > > The value sv.ClientWidth is not necessarily accurate when the Form > Resize event is raised. You must use the Arrange event of the ScrollView > instead. > > Moreover, your project fails when you use gb.gtk or gb.gtk3, because you > code depends on undocumented behaviours that are not the same between > the GUI components. So you are playing with the fire... > > Regards, > Salut Beno?t, for gb.gtk I have to say I dropped the idea to run this project with. And for the undocumented behaviours, that project starts somewhere in 2005 with gambas1 was ported in 2009 to gambas2 and June 2011 to gambas3. But hey the bleeding edges were always repaired. Yes I know it should be rewritten or replaced. -- Amicalement Charlie From karl.reinl at ...9... Thu Jun 4 20:47:46 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 04 Jun 2015 20:47:46 +0200 Subject: [Gambas-user] deselect 'gb.form.mdi' Message-ID: <1433443666.6612.7.camel@...40...> Salut Beno?t, if I deselect 'gb.form.mdi' in components 'gb.settings' gets unmarked too. That is not Ok! If you deselect 'gb.settings' and 'gb.form.mdi' is selected it claims for 'gb.form.mdi'. But you can select 'gb.settings' without 'gb.settings'. [System] Gambas=3.7.90 rev.7010 OperatingSystem=Linux Kernel=3.2.0-84-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie From karl.reinl at ...9... Thu Jun 4 21:13:12 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 04 Jun 2015 21:13:12 +0200 Subject: [Gambas-user] deselect 'gb.form.mdi' Message-ID: <1433445192.6612.11.camel@...40...> Salut Beno?t, if I deselect 'gb.form.mdi' in components 'gb.settings' gets unmarked too. That is not Ok! If you deselect 'gb.settings' and 'gb.form.mdi' is selected it claims for 'gb.form.mdi'. But you can select 'gb.settings' without 'gb.settings'. <= mean 'gb.form.mdi' [System] Gambas=3.7.90 rev.7010 OperatingSystem=Linux Kernel=3.2.0-84-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Jun 4 22:30:19 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 04 Jun 2015 22:30:19 +0200 Subject: [Gambas-user] deselect 'gb.form.mdi' In-Reply-To: <1433445192.6612.11.camel@...40...> References: <1433445192.6612.11.camel@...40...> Message-ID: <5570B55B.7050506@...1...> Le 04/06/2015 21:13, Karl Reinl a ?crit : > Salut Beno?t, > > if I deselect 'gb.form.mdi' in components 'gb.settings' gets unmarked > too. That is not Ok! > If you deselect 'gb.settings' and 'gb.form.mdi' is selected it claims > for 'gb.form.mdi'. > But you can select 'gb.settings' without 'gb.settings'. <= mean 'gb.form.mdi' > It should be fixed in revision #7111. Regards, -- Beno?t Minisini From karl.reinl at ...9... Thu Jun 4 23:42:00 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 04 Jun 2015 23:42:00 +0200 Subject: [Gambas-user] Question about libraries and components (2nd time) In-Reply-To: <5501FD93.8060702@...1...> References: <1426193462.3596.13.camel@...40...> <5501FD93.8060702@...1...> Message-ID: <1433454120.6612.16.camel@...40...> Am Donnerstag, den 12.03.2015, 21:56 +0100 schrieb Beno?t Minisini: > Le 12/03/2015 21:51, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > I have a library where I use the ToolBar and ToolButtons, now the > > project which uses this library claims "the class ToolBar could not be > > loaded" if I call the form with the toolbar. > > > > Q: is that behave normal? > > > > Sorry, I posted the same mail with a wrong subject. > > > > Give more details please. > Salut Beno?t, ok, very late, (comme on dit, vieux motard....) but didn't take the time to make an example.Here it is. LETS_see is a library which uses the ToolBar. Works pretty well. LEST_Start use that library and I can't open the window with the ToolBar. I think, because the components from LETS_see are not used. happy Easter -- Amicalement Charlie Salut Beno?t, I re-come up with that problem after 2 month, because I have no answer. And my question is: Why should a calling program know, what components are needed in the called library? -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: LETS_see-0.0.8.tar.gz Type: application/x-compressed-tar Size: 5615 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: LETS_Start-0.0.2.tar.gz Type: application/x-compressed-tar Size: 9071 bytes Desc: not available URL: From nando_f at ...951... Fri Jun 5 02:55:01 2015 From: nando_f at ...951... (nando) Date: Thu, 4 Jun 2015 20:55:01 -0400 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: References: <1432987964.96733.YahooMailBasic@...3271...> <20150602124448.M36327@...951...> <556DAF97.5060004@...626...> Message-ID: <20150605005109.M23084@...951...> Thanks folks, Not being pickey at all!! I made two mistakes.. (That is why open source is better than closed source) Corrections made: Dim j as Byte Dim s as String For j = 1 To 12 s &= Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Int(Rnd((1, 37)), 1) Next Print s :) -Fernando ---------- Original Message ----------- From: Fabien Bodard To: mailing list for gambas users Sent: Wed, 3 Jun 2015 15:14:45 +0200 Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > Chr(Rand(48,90)) > > 2015-06-02 15:28 GMT+02:00 Paul Horechuk : > > Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 > > letters and 10 digits? > > > > On 15-06-02 08:49 AM, nando wrote: > >> Alternate: > >> > >> Dim j as Byte > >> Dim s as String > >> > >> For j = 1 To 12 > >> s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) > >> Next > >> > >> Print s > >> > >> > >> ---------- Original Message ----------- > >> From: Jussi Lahtinen > >> To: mailing list for gambas users > >> Sent: Sat, 30 May 2015 17:41:43 +0300 > >> Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > >> > >>> You can write that in nicer way with rand() function, than rnd() function. > >>> But that doesn't really matter, your code works anyway. > >>> > >>> Jussi > >>> > >>> On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: > >>> > >>>> Hello, > >>>> > >>>> I propose: > >>>> > >>>> > >>>> Public Sub Button1_Click() > >>>> > >>>> Dim j As Byte > >>>> Dim s As String > >>>> > >>>> For j = 1 To 12 > >>>> If Fix(Rnd(0, 2)) Then > >>>> s &= Chr(Rnd(48, 58)) > >>>> Else > >>>> s &= Chr(Rnd(65, 91)) > >>>> Endif > >>>> Next > >>>> > >>>> Print s > >>>> > >>>> End > >>>> > >>>> > >>>> -------------------------------------------- > >>>> Sab 30/5/15, tsukuba GIMP user ha scritto: > >>>> > >>>> Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) > >>>> A: "gambas-user" > >>>> Data: Sabato 30 maggio 2015, 11:16 > >>>> > >>>> i want when i click button (button_1) > >>>> LCDpanl(LCDLabel1) will be Generation 12 random letters > >>>> how to [UTF-8?][UTF-8?]do?????? > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>> ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> ------- End of Original Message ------- > >> > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > > Think Free ... > > Use Open Source Software > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From lewis at ...3412... Fri Jun 5 03:47:08 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 04 Jun 2015 20:47:08 -0500 Subject: [Gambas-user] Gambas, Rpi and Signals (Mike Crean) In-Reply-To: References: Message-ID: <5570FF9C.1070306@...3412...> > why not using normal routers? of cell phone signals? inclusivelly why not only radio signals!? < I suspect money may have something to do with it. Each cell phone would require monthly subscription cost. Lewis From ron at ...1740... Fri Jun 5 08:00:18 2015 From: ron at ...1740... (Ron) Date: Fri, 5 Jun 2015 08:00:18 +0200 Subject: [Gambas-user] Json sample In-Reply-To: References: <55705145.7010501@...3306...> Message-ID: Put: https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/CXively.class#L104 Get: https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/CToon.class#L142 Regards, Ron. 2015-06-04 18:33 GMT+02:00 Julio Sanchez : > Hello Roel: > > Sample only get: > > http://jsbsan.blogspot.com.es/2015/04/gambas3-ejemplo-de-json-y-extraer-datos.html > > Regards > > Julio > > 2015-06-04 15:23 GMT+02:00 Roel Touwen : > >> Hi All, >> >> I'm upto building a json connection with an external provider. >> >> Has anyone a simple sample? Including de put and get etc.? >> >> Thanks! >> >> Roel Touwen >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Fri Jun 5 09:59:01 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 5 Jun 2015 17:29:01 +0930 Subject: [Gambas-user] Souirce code line splitting? Message-ID: <20150605172901.3430e73e34c69534b1a4e508@...626...> Maybe I dreamed this but didn't it used to be possible to split declarations with signatures (methods, events etc ) between parameters? As in: Private Sub MySub(aParam As String, bParam As Integer) ' etc... End tia bruce -- B Bruen From vuott at ...325... Fri Jun 5 11:07:41 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 5 Jun 2015 10:07:41 +0100 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: <20150605005109.M23084@...951...> Message-ID: <1433495261.41436.YahooMailBasic@...3275...> ...or similarly by using String[] array: Public Sub Main() Dim b As Byte Dim ss As String[] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", Null] For b = 1 To 12 ss[ss.Max] &= ss[Rnd(0, 36)] Next Print ss[ss.Max] End -------------------------------------------- Ven 5/6/15, nando ha scritto: Oggetto: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) A: "mailing list for gambas users" Data: Venerd? 5 giugno 2015, 02:55 Thanks folks, Not being pickey at all!! I made two mistakes.. (That is why open source is better than closed source) Corrections made: Dim j as Byte Dim s as String For j = 1 To 12 ? ? s &= Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Int(Rnd((1, 37)), 1) Next Print s :) -Fernando ---------- Original Message ----------- From: Fabien Bodard To: mailing list for gambas users Sent: Wed, 3 Jun 2015 15:14:45 +0200 Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > Chr(Rand(48,90)) > > 2015-06-02 15:28 GMT+02:00 Paul Horechuk : > > Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 > > letters and 10 digits? > > > > On 15-06-02 08:49 AM, nando wrote: > >> Alternate: > >> > >> Dim j as Byte > >> Dim s as String > >> > >> For j = 1 To 12 > >>? ? s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) > >> Next > >> > >> Print s > >> > >> > >> ---------- Original Message ----------- > >> From: Jussi Lahtinen > >> To: mailing list for gambas users > >> Sent: Sat, 30 May 2015 17:41:43 +0300 > >> Subject: Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) > >> > >>> You can write that in nicer way with rand() function, than rnd() function. > >>> But that doesn't really matter, your code works anyway. > >>> > >>> Jussi > >>> > >>> On Sat, May 30, 2015 at 3:12 PM, Ru Vuott wrote: > >>> > >>>> Hello, > >>>> > >>>> I propose: > >>>> > >>>> > >>>> Public Sub Button1_Click() > >>>> > >>>>? ? Dim j As Byte > >>>>? ? Dim s As String > >>>> > >>>>? ? For j = 1 To 12 > >>>>? ? ? If Fix(Rnd(0, 2)) Then > >>>>? ? ? ? s &= Chr(Rnd(48, 58)) > >>>>? ? ? Else > >>>>? ? ? ? s &= Chr(Rnd(65, 91)) > >>>>? ? ? Endif > >>>>? ? Next > >>>> > >>>>? ? Print s > >>>> > >>>> End > >>>> > >>>> > >>>> -------------------------------------------- > >>>> Sab 30/5/15, tsukuba GIMP user ha scritto: > >>>> > >>>>???Oggetto: [Gambas-user] how to generation 12 random letters (A-Z and 0-9) > >>>>???A: "gambas-user" > >>>>???Data: Sabato 30 maggio 2015, 11:16 > >>>> > >>>>???i want when i click button (button_1) > >>>>???LCDpanl(LCDLabel1) will be Generation 12 random letters > >>>>???how to [UTF-8?][UTF-8?]do?????? > >>>> > >>>>???------------------------------------------------------------------------------ > >>>>???_______________________________________________ > >>>>???Gambas-user mailing list > >>>>???Gambas-user at lists.sourceforge.net > >>>>???https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>> ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> ------- End of Original Message ------- > >> > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > > Think Free ... > >? ???Use Open Source Software > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Fri Jun 5 15:08:27 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 5 Jun 2015 15:08:27 +0200 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: <1433495261.41436.YahooMailBasic@...3275...> References: <20150605005109.M23084@...951...> <1433495261.41436.YahooMailBasic@...3275...> Message-ID: Hello Fernando, Since version 3.6 you can use Rand that returns an integer, contrary to Rnd, the higher born of the interval can be returned. Rand(1, 36), 1) Hello all, kindly you can let me know if this email appears as a SPAM Regards Gianluigi 2015-06-05 11:07 GMT+02:00 Ru Vuott : > ...or similarly by using String[] array: > > Public Sub Main() > > Dim b As Byte > Dim ss As String[] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", > "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", > "U", "V", "W", "X", "Y", "Z", > "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", > Null] > > For b = 1 To 12 > ss[ss.Max] &= ss[Rnd(0, 36)] > Next > > Print ss[ss.Max] > > End > > > > > -------------------------------------------- > Ven 5/6/15, nando ha scritto: > > Oggetto: Re: [Gambas-user] R: how to generation 12 random letters (A-Z > and 0-9) > A: "mailing list for gambas users" > Data: Venerd? 5 giugno 2015, 02:55 > > Thanks folks, > Not being pickey at all!! > I > made two mistakes.. > (That is why open source > is better than closed source) > Corrections > made: > > Dim j as Byte > Dim s as String > > For j = 1 To 12 > s &= > Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", > Int(Rnd((1, 37)), 1) > Next > > Print s > > :) > -Fernando > > ---------- Original Message > ----------- > From: Fabien Bodard > To: mailing list for gambas users > Sent: Wed, 3 Jun 2015 15:14:45 +0200 > Subject: Re: [Gambas-user] R: how to generation > 12 random letters (A-Z and 0-9) > > > Chr(Rand(48,90)) > > > > 2015-06-02 15:28 GMT+02:00 Paul Horechuk > : > > > Just being a bit picky here, but > shouldn't that be Rnd(1,36) ? 26 > > > > letters and 10 digits? > > > > > > On 15-06-02 08:49 AM, nando wrote: > > >> Alternate: > > > >> > > >> Dim j as Byte > > >> Dim s as String > > >> > > >> For > j = 1 To 12 > > >> s &= > Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, > 13), 1) > > >> Next > > >> > > >> > Print s > > >> > > > >> > > >> ---------- Original > Message ----------- > > >> From: > Jussi Lahtinen > > >> To: mailing list for gambas users > > > >> Sent: Sat, 30 May 2015 17:41:43 > +0300 > > >> Subject: Re: > [Gambas-user] R: how to generation 12 random letters (A-Z > and 0-9) > > >> > > > >>> You can write that in nicer way with rand() > function, than rnd() function. > > > >>> But that doesn't really matter, your code > works anyway. > > >>> > > >>> Jussi > > > >>> > > >>> On Sat, May > 30, 2015 at 3:12 PM, Ru Vuott > wrote: > > >>> > > >>>> Hello, > > >>>> > > > >>>> I propose: > > > >>>> > > >>>> > > >>>> Public Sub > Button1_Click() > > >>>> > > >>>> Dim j As Byte > > >>>> Dim s As String > > >>>> > > > >>>> For j = 1 To 12 > > > >>>> If Fix(Rnd(0, 2)) Then > > >>>> s &= > Chr(Rnd(48, 58)) > > >>>> > Else > > >>>> s > &= Chr(Rnd(65, 91)) > > > >>>> Endif > > > >>>> Next > > > >>>> > > >>>> > Print s > > >>>> > > >>>> End > > > >>>> > > >>>> > > >>>> > -------------------------------------------- > > >>>> Sab 30/5/15, tsukuba GIMP > user > ha scritto: > > >>>> > > >>>> Oggetto: > [Gambas-user] how to generation 12 random letters (A-Z and > 0-9) > > >>>> A: > "gambas-user" > > >>>> Data: Sabato > 30 maggio 2015, 11:16 > > > >>>> > > > >>>> i want when i click button > (button_1) > > > >>>> LCDpanl(LCDLabel1) will be > Generation 12 random letters > > > >>>> how to > [UTF-8?][UTF-8?]do?????? > > > >>>> > > > > >>>> ------------------------------------------------------------------------------ > > > >>>> _______________________________________________ > > >>>> Gambas-user > mailing list > > > >>>> Gambas-user at lists.sourceforge.net > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >>>> > > > >>>> > > >>>> > > >>>> > > ------------------------------------------------------------------------------ > > >>>> > _______________________________________________ > > >>>> Gambas-user mailing > list > > >>>> Gambas-user at lists.sourceforge.net > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >>>> > > > >>> > > ------------------------------------------------------------------------------ > > >>> > _______________________________________________ > > >>> Gambas-user mailing list > > >>> Gambas-user at lists.sourceforge.net > > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> ------- End of Original Message > ------- > > >> > > > >> > > >> > > ------------------------------------------------------------------------------ > > >> > _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > > Think Free ... > > > > Use Open Source Software > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > > Fabien Bodard > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Regards Gianluigi From shordi at ...626... Fri Jun 5 18:53:17 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 5 Jun 2015 18:53:17 +0200 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: References: <20150605005109.M23084@...951...> <1433495261.41436.YahooMailBasic@...3275...> Message-ID: Gianluigi: You're no more an Spammer... :D:D I can see you in my inbox. Regards. 2015-06-05 15:08 GMT+02:00 Gianluigi : > Hello Fernando, > Since version 3.6 you can use Rand that returns an integer, contrary to > Rnd, the higher born of the interval can be returned. > Rand(1, 36), 1) > > Hello all, > kindly you can let me know if this email appears as a SPAM > > Regards > Gianluigi > > 2015-06-05 11:07 GMT+02:00 Ru Vuott : > > > ...or similarly by using String[] array: > > > > Public Sub Main() > > > > Dim b As Byte > > Dim ss As String[] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", > > "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", > > "U", "V", "W", "X", "Y", "Z", > > "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", > > Null] > > > > For b = 1 To 12 > > ss[ss.Max] &= ss[Rnd(0, 36)] > > Next > > > > Print ss[ss.Max] > > > > End > > > > > > > > > > -------------------------------------------- > > Ven 5/6/15, nando ha scritto: > > > > Oggetto: Re: [Gambas-user] R: how to generation 12 random letters (A-Z > > and 0-9) > > A: "mailing list for gambas users" > > Data: Venerd? 5 giugno 2015, 02:55 > > > > Thanks folks, > > Not being pickey at all!! > > I > > made two mistakes.. > > (That is why open source > > is better than closed source) > > Corrections > > made: > > > > Dim j as Byte > > Dim s as String > > > > For j = 1 To 12 > > s &= > > Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", > > Int(Rnd((1, 37)), 1) > > Next > > > > Print s > > > > :) > > -Fernando > > > > ---------- Original Message > > ----------- > > From: Fabien Bodard > > To: mailing list for gambas users > > Sent: Wed, 3 Jun 2015 15:14:45 +0200 > > Subject: Re: [Gambas-user] R: how to generation > > 12 random letters (A-Z and 0-9) > > > > > Chr(Rand(48,90)) > > > > > > 2015-06-02 15:28 GMT+02:00 Paul Horechuk > > : > > > > Just being a bit picky here, but > > shouldn't that be Rnd(1,36) ? 26 > > > > > > letters and 10 digits? > > > > > > > > On 15-06-02 08:49 AM, nando wrote: > > > >> Alternate: > > > > > >> > > > >> Dim j as Byte > > > >> Dim s as String > > > >> > > > >> For > > j = 1 To 12 > > > >> s &= > > Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, > > 13), 1) > > > >> Next > > > >> > > > >> > > Print s > > > >> > > > > > >> > > > >> ---------- Original > > Message ----------- > > > >> From: > > Jussi Lahtinen > > > >> To: mailing list for gambas users > > > > > >> Sent: Sat, 30 May 2015 17:41:43 > > +0300 > > > >> Subject: Re: > > [Gambas-user] R: how to generation 12 random letters (A-Z > > and 0-9) > > > >> > > > > > >>> You can write that in nicer way with rand() > > function, than rnd() function. > > > > > >>> But that doesn't really matter, your code > > works anyway. > > > >>> > > > >>> Jussi > > > > > >>> > > > >>> On Sat, May > > 30, 2015 at 3:12 PM, Ru Vuott > > wrote: > > > >>> > > > >>>> Hello, > > > >>>> > > > > > >>>> I propose: > > > > > >>>> > > > >>>> > > > >>>> Public Sub > > Button1_Click() > > > >>>> > > > >>>> Dim j As Byte > > > >>>> Dim s As String > > > >>>> > > > > > >>>> For j = 1 To 12 > > > > > >>>> If Fix(Rnd(0, 2)) Then > > > >>>> s &= > > Chr(Rnd(48, 58)) > > > >>>> > > Else > > > >>>> s > > &= Chr(Rnd(65, 91)) > > > > > >>>> Endif > > > > > >>>> Next > > > > > >>>> > > > >>>> > > Print s > > > >>>> > > > >>>> End > > > > > >>>> > > > >>>> > > > >>>> > > -------------------------------------------- > > > >>>> Sab 30/5/15, tsukuba GIMP > > user > > ha scritto: > > > >>>> > > > >>>> Oggetto: > > [Gambas-user] how to generation 12 random letters (A-Z and > > 0-9) > > > >>>> A: > > "gambas-user" > > > >>>> Data: Sabato > > 30 maggio 2015, 11:16 > > > > > >>>> > > > > > >>>> i want when i click button > > (button_1) > > > > > >>>> LCDpanl(LCDLabel1) will be > > Generation 12 random letters > > > > > >>>> how to > > [UTF-8?][UTF-8?]do?????? > > > > > >>>> > > > > > > > >>>> > ------------------------------------------------------------------------------ > > > > > >>>> _______________________________________________ > > > >>>> Gambas-user > > mailing list > > > > > >>>> Gambas-user at lists.sourceforge.net > > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >>>> > > > > > >>>> > > > >>>> > > > >>>> > > > > > ------------------------------------------------------------------------------ > > > >>>> > > _______________________________________________ > > > >>>> Gambas-user mailing > > list > > > >>>> Gambas-user at lists.sourceforge.net > > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >>>> > > > > > >>> > > > > > ------------------------------------------------------------------------------ > > > >>> > > _______________________________________________ > > > >>> Gambas-user mailing list > > > >>> Gambas-user at lists.sourceforge.net > > > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> ------- End of Original Message > > ------- > > > >> > > > > > >> > > > >> > > > > > ------------------------------------------------------------------------------ > > > >> > > _______________________________________________ > > > >> Gambas-user mailing list > > > >> Gambas-user at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > > > Think Free ... > > > > > > Use Open Source Software > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > > Fabien Bodard > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Regards > Gianluigi > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Jun 5 19:40:11 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 5 Jun 2015 19:40:11 +0200 Subject: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9) In-Reply-To: References: <20150605005109.M23084@...951...> <1433495261.41436.YahooMailBasic@...3275...> Message-ID: Thanks Jorge, very kind :) Ciao Gianluigi 2015-06-05 18:53 GMT+02:00 Jorge Carri?n : > Gianluigi: > You're no more an Spammer... :D:D > I can see you in my inbox. > > Regards. > > > 2015-06-05 15:08 GMT+02:00 Gianluigi : > > > Hello Fernando, > > Since version 3.6 you can use Rand that returns an integer, contrary to > > Rnd, the higher born of the interval can be returned. > > Rand(1, 36), 1) > > > > Hello all, > > kindly you can let me know if this email appears as a SPAM > > > > Regards > > Gianluigi > > > > 2015-06-05 11:07 GMT+02:00 Ru Vuott : > > > > > ...or similarly by using String[] array: > > > > > > Public Sub Main() > > > > > > Dim b As Byte > > > Dim ss As String[] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", > > > "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", > > > "U", "V", "W", "X", "Y", "Z", > > > "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", > > > Null] > > > > > > For b = 1 To 12 > > > ss[ss.Max] &= ss[Rnd(0, 36)] > > > Next > > > > > > Print ss[ss.Max] > > > > > > End > > > > > > > > > > > > > > > -------------------------------------------- > > > Ven 5/6/15, nando ha scritto: > > > > > > Oggetto: Re: [Gambas-user] R: how to generation 12 random letters (A-Z > > > and 0-9) > > > A: "mailing list for gambas users" > > > > Data: Venerd? 5 giugno 2015, 02:55 > > > > > > Thanks folks, > > > Not being pickey at all!! > > > I > > > made two mistakes.. > > > (That is why open source > > > is better than closed source) > > > Corrections > > > made: > > > > > > Dim j as Byte > > > Dim s as String > > > > > > For j = 1 To 12 > > > s &= > > > Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", > > > Int(Rnd((1, 37)), 1) > > > Next > > > > > > Print s > > > > > > :) > > > -Fernando > > > > > > ---------- Original Message > > > ----------- > > > From: Fabien Bodard > > > To: mailing list for gambas users > > > Sent: Wed, 3 Jun 2015 15:14:45 +0200 > > > Subject: Re: [Gambas-user] R: how to generation > > > 12 random letters (A-Z and 0-9) > > > > > > > Chr(Rand(48,90)) > > > > > > > > 2015-06-02 15:28 GMT+02:00 Paul Horechuk > > > : > > > > > Just being a bit picky here, but > > > shouldn't that be Rnd(1,36) ? 26 > > > > > > > > letters and 10 digits? > > > > > > > > > > On 15-06-02 08:49 AM, nando wrote: > > > > >> Alternate: > > > > > > > >> > > > > >> Dim j as Byte > > > > >> Dim s as String > > > > >> > > > > >> For > > > j = 1 To 12 > > > > >> s &= > > > Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, > > > 13), 1) > > > > >> Next > > > > >> > > > > >> > > > Print s > > > > >> > > > > > > > >> > > > > >> ---------- Original > > > Message ----------- > > > > >> From: > > > Jussi Lahtinen > > > > >> To: mailing list for gambas users > > > > > > > >> Sent: Sat, 30 May 2015 17:41:43 > > > +0300 > > > > >> Subject: Re: > > > [Gambas-user] R: how to generation 12 random letters (A-Z > > > and 0-9) > > > > >> > > > > > > > >>> You can write that in nicer way with rand() > > > function, than rnd() function. > > > > > > > >>> But that doesn't really matter, your code > > > works anyway. > > > > >>> > > > > >>> Jussi > > > > > > > >>> > > > > >>> On Sat, May > > > 30, 2015 at 3:12 PM, Ru Vuott > > > wrote: > > > > >>> > > > > >>>> Hello, > > > > >>>> > > > > > > > >>>> I propose: > > > > > > > >>>> > > > > >>>> > > > > >>>> Public Sub > > > Button1_Click() > > > > >>>> > > > > >>>> Dim j As Byte > > > > >>>> Dim s As String > > > > >>>> > > > > > > > >>>> For j = 1 To 12 > > > > > > > >>>> If Fix(Rnd(0, 2)) Then > > > > >>>> s &= > > > Chr(Rnd(48, 58)) > > > > >>>> > > > Else > > > > >>>> s > > > &= Chr(Rnd(65, 91)) > > > > > > > >>>> Endif > > > > > > > >>>> Next > > > > > > > >>>> > > > > >>>> > > > Print s > > > > >>>> > > > > >>>> End > > > > > > > >>>> > > > > >>>> > > > > >>>> > > > -------------------------------------------- > > > > >>>> Sab 30/5/15, tsukuba GIMP > > > user > > > ha scritto: > > > > >>>> > > > > >>>> Oggetto: > > > [Gambas-user] how to generation 12 random letters (A-Z and > > > 0-9) > > > > >>>> A: > > > "gambas-user" > > > > >>>> Data: Sabato > > > 30 maggio 2015, 11:16 > > > > > > > >>>> > > > > > > > >>>> i want when i click button > > > (button_1) > > > > > > > >>>> LCDpanl(LCDLabel1) will be > > > Generation 12 random letters > > > > > > > >>>> how to > > > [UTF-8?][UTF-8?]do?????? > > > > > > > >>>> > > > > > > > > > > >>>> > > > ------------------------------------------------------------------------------ > > > > > > > >>>> _______________________________________________ > > > > >>>> Gambas-user > > > mailing list > > > > > > > >>>> Gambas-user at lists.sourceforge.net > > > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >>>> > > > > > > > >>>> > > > > >>>> > > > > >>>> > > > > > > > > > ------------------------------------------------------------------------------ > > > > >>>> > > > _______________________________________________ > > > > >>>> Gambas-user mailing > > > list > > > > >>>> Gambas-user at lists.sourceforge.net > > > > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >>>> > > > > > > > >>> > > > > > > > > > ------------------------------------------------------------------------------ > > > > >>> > > > _______________________________________________ > > > > >>> Gambas-user mailing list > > > > >>> Gambas-user at lists.sourceforge.net > > > > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >> ------- End of Original Message > > > ------- > > > > >> > > > > > > > >> > > > > >> > > > > > > > > > ------------------------------------------------------------------------------ > > > > >> > > > _______________________________________________ > > > > >> Gambas-user mailing list > > > > >> Gambas-user at lists.sourceforge.net > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > -- > > > > > Think Free ... > > > > > > > > Use Open Source Software > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > > > Fabien Bodard > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------- End of Original Message ------- > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > -- > > Regards > > Gianluigi > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Regards Gianluigi From bill-lancaster at ...2231... Sat Jun 6 08:53:10 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Fri, 5 Jun 2015 23:53:10 -0700 (MST) Subject: [Gambas-user] Playing dv video files Message-ID: <1433573590599-51701.post@...3046...> This code works:- hProc = Exec ["mplayer", "-fps", 25, "-wid", dwgMoviePlayer.Handle, User.Home &/ "aa.dv"] The dv file plays in the drawing area. But it doesn't work when adding 'For Read Write As "Process"' to the line. Any ideas would be welcome -- View this message in context: http://gambas.8142.n7.nabble.com/Playing-dv-video-files-tp51701.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Sat Jun 6 09:53:15 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 6 Jun 2015 09:53:15 +0200 Subject: [Gambas-user] Playing dv video files In-Reply-To: <1433573590599-51701.post@...3046...> References: <1433573590599-51701.post@...3046...> Message-ID: <20150606075314.GA860@...2774...> On Fri, 05 Jun 2015, bill-lancaster wrote: > This code works:- > hProc = Exec ["mplayer", "-fps", 25, "-wid", dwgMoviePlayer.Handle, > User.Home &/ "aa.dv"] > The dv file plays in the drawing area. > But it doesn't work when adding 'For Read Write As "Process"' to the line. > Any ideas would be welcome > Gotta have something to do with mplayer. The attached project uses "For Input Output" and mplayer's "-slave" switch. It works here. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: mplayer-wid-0.0.2.tar.gz Type: application/octet-stream Size: 4746 bytes Desc: not available URL: From bill-lancaster at ...2231... Sat Jun 6 10:01:29 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 6 Jun 2015 01:01:29 -0700 (MST) Subject: [Gambas-user] Playing dv video files In-Reply-To: <20150606075314.GA860@...2774...> References: <1433573590599-51701.post@...3046...> <20150606075314.GA860@...2774...> Message-ID: <1433577689311-51703.post@...3046...> You're right Tobi, I need to look into the many settings for mplayer. It might be connected with the -wid parameter Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Playing-dv-video-files-tp51701p51703.html Sent from the gambas-user mailing list archive at Nabble.com. From mike.crean at ...2897... Sat Jun 6 13:41:07 2015 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 6 Jun 2015 11:41:07 +0000 (UTC) Subject: [Gambas-user] Wireless modem Message-ID: <2108743579.6213361.1433590867514.JavaMail.yahoo@...3424...> Hi, for those thatwent to www.creaniestoys.noip.me asking why I used the the KY-210 433mHz wireless modems running at 19200 bps cause they are cheep (around$15 US) and the 433 mHz band they are on here is free to air. Theyhave a good range for our application. Reliable out to 100 to 130meters. It is a very wireless dead area where we use them. They arealso small and can be easily mounted on top of our signal head. -------------- next part -------------- A non-text attachment was scrubbed... Name: datauri-file.jpeg Type: image/jpeg Size: 37172 bytes Desc: not available URL: From bagonergi at ...626... Sat Jun 6 14:47:53 2015 From: bagonergi at ...626... (Gianluigi) Date: Sat, 6 Jun 2015 14:47:53 +0200 Subject: [Gambas-user] Example Quote typo Message-ID: In the Quote example documentation there is a typo: Print Units ("This is not a \\\" quoted \\\ "\\ nmulti-line string.") Is correct as in UnQuote. Currently: PRINT Quote("This is not a \\"quoted\\"\\nmulti-line string.") -- Regards Gianluigi From bagonergi at ...626... Sat Jun 6 14:51:10 2015 From: bagonergi at ...626... (Gianluigi) Date: Sat, 6 Jun 2015 14:51:10 +0200 Subject: [Gambas-user] Example Quote typo In-Reply-To: References: Message-ID: Sorry for my error I repeat: In the Quote example documentation there is a typo: Print Quote("This is not a \\\" quoted \\\ "\\ nmulti-line string.") Is correct as in UnQuote. Currently: PRINT Quote("This is not a \\"quoted\\"\\nmulti-line string.") Regards Gianluigi 2015-06-06 14:47 GMT+02:00 Gianluigi : > In the Quote example documentation there is a typo: > Print Units ("This is not a \\\" quoted \\\ "\\ nmulti-line string.") Is > correct as in UnQuote. > > Currently: > PRINT Quote("This is not a \\"quoted\\"\\nmulti-line string.") > -- > Regards > Gianluigi > -- Regards Gianluigi From gambas at ...1... Sat Jun 6 16:45:52 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 06 Jun 2015 16:45:52 +0200 Subject: [Gambas-user] Editor word wrap mode Message-ID: <557307A0.40607@...1...> Pfew ! I think I finally succeeded in implementing word wrap mode in the new text editor. It was painful, but here it is. I have added two options in the IDE so that you can test: - A button to toggle word wrap mode individually in each editor. - A global option to define if word wrap mode must be enabled by default when you open a new editor. Enabling the wrap mode makes the editor slower, as a text line must be layouted each time the editor is resized, and it can take more than one line to be displayed. But you will tell me if you have any problem! Regards, -- Beno?t Minisini From gambas at ...1... Sat Jun 6 16:47:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 06 Jun 2015 16:47:32 +0200 Subject: [Gambas-user] Souirce code line splitting? In-Reply-To: <20150605172901.3430e73e34c69534b1a4e508@...626...> References: <20150605172901.3430e73e34c69534b1a4e508@...626...> Message-ID: <55730804.4080703@...1...> Le 05/06/2015 09:59, adamnt42 at ...626... a ?crit : > Maybe I dreamed this but didn't it used to be possible to split declarations with signatures (methods, events etc ) between parameters? As in: > > Private Sub MySub(aParam As String, > bParam As Integer) > > ' etc... > > End > > tia > bruce > It's not difficult for the compiler, but for the highlighting routine the IDE source code analyze. So I can't tell you now. Regards, -- Beno?t Minisini From taboege at ...626... Sat Jun 6 18:54:55 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 6 Jun 2015 18:54:55 +0200 Subject: [Gambas-user] TextEditor: Click in empty space Message-ID: <20150606165455.GB860@...2774...> Hi Benoit, when a source file is very short, there is space in the TextEditor control below all the lines. To be sure I'm understood, I attach a picture :-) If you click into that space, nothing happens. What I am used to from other text controls (trying not to sound like [0]) is that it would bring the cursor into the last line of the file. Regards, Tobi [0] http://xkcd.com/1172/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: whatimean.png Type: image/png Size: 3014 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sat Jun 6 19:11:35 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 6 Jun 2015 20:11:35 +0300 Subject: [Gambas-user] Wireless modem In-Reply-To: <2108743579.6213361.1433590867514.JavaMail.yahoo@...3424...> References: <2108743579.6213361.1433590867514.JavaMail.yahoo@...3424...> Message-ID: Sorry to nitpick, can't help it, but 433mHz means 0.433Hz (pretty impossible for that small device). It's 433MHz (= 433000000 Hz). Anyway I think that is good choice, and quite a project! Jussi On Sat, Jun 6, 2015 at 2:41 PM, Mike Crean wrote: > Hi, for those thatwent to www.creaniestoys.noip.me asking why I used the > the KY-210 433mHz wireless modems running at 19200 bps cause they are cheep > (around$15 US) and the 433 mHz band they are on here is free to air. > Theyhave a good range for our application. Reliable out to 100 to > 130meters. It is a very wireless dead area where we use them. They arealso > small and can be easily mounted on top of our signal head. > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From adamnt42 at ...626... Sun Jun 7 00:25:54 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 7 Jun 2015 07:55:54 +0930 Subject: [Gambas-user] Souirce code line splitting? In-Reply-To: <55730804.4080703@...1...> References: <20150605172901.3430e73e34c69534b1a4e508@...626...> <55730804.4080703@...1...> Message-ID: <20150607075554.4014cb8d3e7f771363f9da12@...626...> On Sat, 06 Jun 2015 16:47:32 +0200 Beno?t Minisini wrote: > Le 05/06/2015 09:59, adamnt42 at ...626... a ?crit : > > Maybe I dreamed this but didn't it used to be possible to split declarations with signatures (methods, events etc ) between parameters? As in: > > > > Private Sub MySub(aParam As String, > > bParam As Integer) > > > > ' etc... > > > > End > > > > tia > > bruce > > > > It's not difficult for the compiler, but for the highlighting routine > the IDE source code analyze. So I can't tell you now. > > Regards, > > -- > Beno?t Minisini > Ah well. Never mind. I must have been dreaming after all. regards Bruce -- B Bruen From adamnt42 at ...626... Sun Jun 7 00:45:06 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 7 Jun 2015 08:15:06 +0930 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <557307A0.40607@...1...> References: <557307A0.40607@...1...> Message-ID: <20150607081506.2657fd6bd331be214b0e1425@...626...> On Sat, 06 Jun 2015 16:45:52 +0200 Beno?t Minisini wrote: > Pfew ! > > I think I finally succeeded in implementing word wrap mode in the new > text editor. It was painful, but here it is. > > I have added two options in the IDE so that you can test: > > - A button to toggle word wrap mode individually in each editor. > > - A global option to define if word wrap mode must be enabled by default > when you open a new editor. > > Enabling the wrap mode makes the editor slower, as a text line must be > layouted each time the editor is resized, and it can take more than one > line to be displayed. > > But you will tell me if you have any problem! > > Regards, > > -- > Beno?t Minisini > It's a beauty to behold! Thank you. (But since you did ask, there are some issues with the location of the popup for completion help. I haven't characterised it but at a guess a] the popup doesn't move as you type, so if you are approaching the wrap limit the popup appears aligned properly on the current line, then when the text wraps the popup stays where it was and doesn't move to the new line. Severity=Very Low b] when a popup appears on the just created new line it seems to be positioned on top of the cursor pont. Severity=Low) I've attached some pics which may explain the second issue better. The first (Selection_071) show the wrapped code line I am goin to edit. The second (Selection_072) shows the completion popup correctly positioned when I start editing the Picture parameter (imagine that I'm going to change the filename to class12345.png) The third (Selection_073) shows the popup now covering the cursor point on the (re)wrapped line. I am afraid I can't catch a picture of the first issue. best regards Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_071.png Type: image/png Size: 49866 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_072.png Type: image/png Size: 41782 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_073.png Type: image/png Size: 37761 bytes Desc: not available URL: From gambas at ...1... Sun Jun 7 00:45:57 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Jun 2015 00:45:57 +0200 Subject: [Gambas-user] TextEditor: Click in empty space In-Reply-To: <20150606165455.GB860@...2774...> References: <20150606165455.GB860@...2774...> Message-ID: <55737825.2060105@...1...> Le 06/06/2015 18:54, Tobias Boege a ?crit : > Hi Benoit, > > when a source file is very short, there is space in the TextEditor control > below all the lines. To be sure I'm understood, I attach a picture :-) > > If you click into that space, nothing happens. What I am used to from other > text controls (trying not to sound like [0]) is that it would bring the > cursor into the last line of the file. > > Regards, > Tobi > > [0] http://xkcd.com/1172/ > Fixed in revision #7117. Regards, -- Beno?t Minisini From adamnt42 at ...626... Sun Jun 7 01:09:53 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 7 Jun 2015 08:39:53 +0930 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <557307A0.40607@...1...> References: <557307A0.40607@...1...> Message-ID: <20150607083953.99973839eaa0dd6528450b74@...626...> On Sat, 06 Jun 2015 16:45:52 +0200 Beno?t Minisini wrote: > Pfew ! > > I think I finally succeeded in implementing word wrap mode in the new > text editor. It was painful, but here it is. > > I have added two options in the IDE so that you can test: > > - A button to toggle word wrap mode individually in each editor. > > - A global option to define if word wrap mode must be enabled by default > when you open a new editor. > > Enabling the wrap mode makes the editor slower, as a text line must be > layouted each time the editor is resized, and it can take more than one > line to be displayed. > > But you will tell me if you have any problem! > > Regards, > > -- > Beno?t Minisini > ... And another few anomalies 1) When wrapped mode is active and the cursor is on the last visible line in the editor panel, switching to unwrapped mode results in the active line being covered by the horizontal scroll bar. (Minor irritation) 2) When the cursor is on a line towards the middle of the editor panel AND we are viewing the final lines in the source file , toggling from unwrapped to wrapped mode results in the source being scrolled so that the current line is at the bottom of the editor panel. (Moderately irritating) 3) In wrapped mode, if the cursor is on a wrapped part of the line then toggling to unwrapped mode results in the current line indicator appearing on the next line (the cursor is still on the now unwrapped line at its' proper position). This is considerably annoying and it is unclear where you are about to type. regards Bruce -- B Bruen From adamnt42 at ...626... Sun Jun 7 02:46:53 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 7 Jun 2015 10:16:53 +0930 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <557307A0.40607@...1...> References: <557307A0.40607@...1...> Message-ID: <20150607101653.a84886bfe65d0a1d906897ed@...626...> On Sat, 06 Jun 2015 16:45:52 +0200 Beno?t Minisini wrote: > Pfew ! > > I think I finally succeeded in implementing word wrap mode in the new > text editor. It was painful, but here it is. > > I have added two options in the IDE so that you can test: > > - A button to toggle word wrap mode individually in each editor. > > - A global option to define if word wrap mode must be enabled by default > when you open a new editor. > > Enabling the wrap mode makes the editor slower, as a text line must be > layouted each time the editor is resized, and it can take more than one > line to be displayed. > > But you will tell me if you have any problem! > > Regards, > > -- > Beno?t Minisini > Ah Beno?t, sorry to spoil your weekend but this one is a bit of a problem. The attached project demonstrates wrappng problems with "very" long source lines. In particular, pre-declaration inline help. Hopefully the source explains and shows the problem well enough at your end. If not I can send screen shots separately. Open the project in the IDE with line wrapping turned off. Read the explanation at MMain.module line 9. Then set wrapping on. regards Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: demowrapproblems-0.0.1.tar.gz Type: application/octet-stream Size: 4609 bytes Desc: not available URL: From kevinfishburne at ...1887... Sun Jun 7 10:56:53 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 07 Jun 2015 04:56:53 -0400 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) Message-ID: <55740755.4040300@...1887...> After some work I've made the next binary release of my shoot 'em up "Sylph: Project Miyaji" here (WordPress post): http://eightvirtues.com/games/?p=355 My only external call is to "fmod", so this is all GAMBAS using the sdl and opengl components (no glsl component or shaders). Any USB controller/gamepad will work automatically, you can custom-map any button to a control and the game will automatically save and load the mappings. The F key will toggle fullscreen/windowed mode and the Escape key will go "back". Since I don't have any testers to give me feedback, any input on how the game runs would be invaluable. Creative or aesthetic advice is also welcome. My channels span the top of my site and of course you have my email address. Anyway, thanks to GAMBAS for being an awesome programming language and IDE, and I hope everyone enjoys the game. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From taboege at ...626... Sun Jun 7 11:44:24 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 7 Jun 2015 11:44:24 +0200 Subject: [Gambas-user] TextEditor: Click in empty space In-Reply-To: <55737825.2060105@...1...> References: <20150606165455.GB860@...2774...> <55737825.2060105@...1...> Message-ID: <20150607094424.GA581@...2774...> On Sun, 07 Jun 2015, Beno?t Minisini wrote: > Le 06/06/2015 18:54, Tobias Boege a ?crit : > > Hi Benoit, > > > > when a source file is very short, there is space in the TextEditor control > > below all the lines. To be sure I'm understood, I attach a picture :-) > > > > If you click into that space, nothing happens. What I am used to from other > > text controls (trying not to sound like [0]) is that it would bring the > > cursor into the last line of the file. > > > > Regards, > > Tobi > > > > [0] http://xkcd.com/1172/ > > > > Fixed in revision #7117. > Yep, thanks. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Jun 7 12:24:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Jun 2015 12:24:52 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55740755.4040300@...1887...> References: <55740755.4040300@...1887...> Message-ID: <55741BF4.3000408@...1...> Le 07/06/2015 10:56, Kevin Fishburne a ?crit : > After some work I've made the next binary release of my shoot 'em up > "Sylph: Project Miyaji" here (WordPress post): > > http://eightvirtues.com/games/?p=355 > > My only external call is to "fmod", so this is all GAMBAS using the sdl > and opengl components (no glsl component or shaders). Any USB > controller/gamepad will work automatically, you can custom-map any > button to a control and the game will automatically save and load the > mappings. The F key will toggle fullscreen/windowed mode and the Escape > key will go "back". > > Since I don't have any testers to give me feedback, any input on how the > game runs would be invaluable. Creative or aesthetic advice is also > welcome. My channels span the top of my site and of course you have my > email address. > > Anyway, thanks to GAMBAS for being an awesome programming language and > IDE, and I hope everyone enjoys the game. > A little point: ? Once GAMBAS has been installed you may run the Sylph executable by double-clicking it or executing the following command: gbr3 [path]/Sylph.gambas ? *.gambas files are executable (scripts more precisely), so you can run them directly. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jun 7 12:38:50 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Jun 2015 12:38:50 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55741BF4.3000408@...1...> References: <55740755.4040300@...1887...> <55741BF4.3000408@...1...> Message-ID: <55741F3A.4080402@...1...> Le 07/06/2015 12:24, Beno?t Minisini a ?crit : > Le 07/06/2015 10:56, Kevin Fishburne a ?crit : >> After some work I've made the next binary release of my shoot 'em up >> "Sylph: Project Miyaji" here (WordPress post): >> >> http://eightvirtues.com/games/?p=355 >> >> My only external call is to "fmod", so this is all GAMBAS using the sdl >> and opengl components (no glsl component or shaders). Any USB >> controller/gamepad will work automatically, you can custom-map any >> button to a control and the game will automatically save and load the >> mappings. The F key will toggle fullscreen/windowed mode and the Escape >> key will go "back". >> >> Since I don't have any testers to give me feedback, any input on how the >> game runs would be invaluable. Creative or aesthetic advice is also >> welcome. My channels span the top of my site and of course you have my >> email address. >> >> Anyway, thanks to GAMBAS for being an awesome programming language and >> IDE, and I hope everyone enjoys the game. >> > > A little point: > > ? Once GAMBAS has been installed you may run the Sylph executable by > double-clicking it or executing the following command: > > gbr3 [path]/Sylph.gambas ? > > *.gambas files are executable (scripts more precisely), so you can run > them directly. > > Regards, > Anyway, I looked at the last videos, it's cool. :-) May I suggest a few things about what I saw? Beware, it may be bad ideas! - Adding some transparency in big laser beams. - Adding some animation when eating a weapon. - Adding a shadow for the ship when being on ground. - Adding an animation when the score increases. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Jun 7 13:24:51 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 07 Jun 2015 13:24:51 +0200 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <20150607101653.a84886bfe65d0a1d906897ed@...626...> References: <557307A0.40607@...1...> <20150607101653.a84886bfe65d0a1d906897ed@...626...> Message-ID: <1433676291.3562.9.camel@...40...> Am Sonntag, den 07.06.2015, 10:16 +0930 schrieb adamnt42 at ...626...: > On Sat, 06 Jun 2015 16:45:52 +0200 > Beno?t Minisini wrote: > > > Pfew ! > > > > I think I finally succeeded in implementing word wrap mode in the new > > text editor. It was painful, but here it is. > > > > I have added two options in the IDE so that you can test: > > > > - A button to toggle word wrap mode individually in each editor. > > > > - A global option to define if word wrap mode must be enabled by default > > when you open a new editor. > > > > Enabling the wrap mode makes the editor slower, as a text line must be > > layouted each time the editor is resized, and it can take more than one > > line to be displayed. > > > > But you will tell me if you have any problem! > > > > Regards, > > > > -- > > Beno?t Minisini > > > Ah Beno?t, sorry to spoil your weekend but this one is a bit of a problem. > The attached project demonstrates wrappng problems with "very" long source lines. In particular, pre-declaration inline help. > Hopefully the source explains and shows the problem well enough at your end. If not I can send screen shots separately. > > Open the project in the IDE with line wrapping turned off. Read the explanation at MMain.module line 9. Then set wrapping on. > > regards > Bruce Salut, thats are my first steps with the new line wrapping, I just loaded Bruce's demo-project. I get some strange text behavior, look at attached screenshots. EX: Public Function unknown(...) As Variant and in the text lines [System] Gambas=3.7.90 rev.7120 OperatingSystem=Linux Kernel=3.2.0-84-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-07 13:11:20.png Type: image/png Size: 13098 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-07 12:46:26.png Type: image/png Size: 14988 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-07 12:45:54.png Type: image/png Size: 9936 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-07 13:18:20.png Type: image/png Size: 54542 bytes Desc: not available URL: From gambas at ...1... Sun Jun 7 13:37:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Jun 2015 13:37:00 +0200 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <1433676291.3562.9.camel@...40...> References: <557307A0.40607@...1...> <20150607101653.a84886bfe65d0a1d906897ed@...626...> <1433676291.3562.9.camel@...40...> Message-ID: <55742CDC.4080101@...1...> Le 07/06/2015 13:24, Charlie Reinl a ?crit : > > Salut, > > thats are my first steps with the new line wrapping, I just loaded > Bruce's demo-project. > I get some strange text behavior, look at attached screenshots. > > EX: Public Function unknown(...) As Variant > and in the text lines > Which font do you use exactly? (family & size) Do you have gb.qt5 installed on your system? -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Jun 7 13:41:51 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 07 Jun 2015 13:41:51 +0200 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <55742CDC.4080101@...1...> References: <557307A0.40607@...1...> <20150607101653.a84886bfe65d0a1d906897ed@...626...> <1433676291.3562.9.camel@...40...> <55742CDC.4080101@...1...> Message-ID: <1433677311.3562.11.camel@...40...> Am Sonntag, den 07.06.2015, 13:37 +0200 schrieb Beno?t Minisini: > Le 07/06/2015 13:24, Charlie Reinl a ?crit : > > > > Salut, > > > > thats are my first steps with the new line wrapping, I just loaded > > Bruce's demo-project. > > I get some strange text behavior, look at attached screenshots. > > > > EX: Public Function unknown(...) As Variant > > and in the text lines > > > > Which font do you use exactly? (family & size) Do you have gb.qt5 > installed on your system? > Salut Beno?t, no gb.qt5 and Bitstream Vera Sans,11 for the Editor see attachment. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-07 13:39:10.png Type: image/png Size: 36506 bytes Desc: not available URL: From gambas at ...1... Sun Jun 7 13:51:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Jun 2015 13:51:49 +0200 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <1433677311.3562.11.camel@...40...> References: <557307A0.40607@...1...> <20150607101653.a84886bfe65d0a1d906897ed@...626...> <1433676291.3562.9.camel@...40...> <55742CDC.4080101@...1...> <1433677311.3562.11.camel@...40...> Message-ID: <55743055.2070703@...1...> Le 07/06/2015 13:41, Charlie Reinl a ?crit : > Am Sonntag, den 07.06.2015, 13:37 +0200 schrieb Beno?t Minisini: >> Le 07/06/2015 13:24, Charlie Reinl a ?crit : >>> >>> Salut, >>> >>> thats are my first steps with the new line wrapping, I just loaded >>> Bruce's demo-project. >>> I get some strange text behavior, look at attached screenshots. >>> >>> EX: Public Function unknown(...) As Variant >>> and in the text lines >>> >> >> Which font do you use exactly? (family & size) Do you have gb.qt5 >> installed on your system? >> > > Salut Beno?t, > > no gb.qt5 and Bitstream Vera Sans,11 for the Editor > see attachment. > It should be better with rev. #7121. -- Beno?t Minisini From gambas.fr at ...626... Sun Jun 7 14:32:36 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 7 Jun 2015 14:32:36 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55740755.4040300@...1887...> References: <55740755.4040300@...1887...> Message-ID: Le 7 juin 2015 10:57, "Kevin Fishburne" a ?crit : > > After some work I've made the next binary release of my shoot 'em up > "Sylph: Project Miyaji" here (WordPress post): > > http://eightvirtues.com/games/?p=355 > > My only external call is to "fmod", so this is all GAMBAS using the sdl > and opengl components (no glsl component or shaders). Any USB > controller/gamepad will work automatically, you can custom-map any > button to a control and the game will automatically save and load the > mappings. The F key will toggle fullscreen/windowed mode and the Escape > key will go "back". > > Since I don't have any testers to give me feedback, any input on how the > game runs would be invaluable. Creative or aesthetic advice is also > welcome. My channels span the top of my site and of course you have my > email address. > > Anyway, thanks to GAMBAS for being an awesome programming language and > IDE, and I hope everyone enjoys the game. I will Download it this afternoon ... It's wonderfull. Keep the good job. > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > Ill > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...2345... Sun Jun 7 14:46:04 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 07 Jun 2015 14:46:04 +0200 Subject: [Gambas-user] Editor word wrap mode In-Reply-To: <55743055.2070703@...1...> References: <557307A0.40607@...1...> <20150607101653.a84886bfe65d0a1d906897ed@...626...> <1433676291.3562.9.camel@...40...> <55742CDC.4080101@...1...> <1433677311.3562.11.camel@...40...> <55743055.2070703@...1...> Message-ID: <1433681164.3562.12.camel@...40...> Am Sonntag, den 07.06.2015, 13:51 +0200 schrieb Beno?t Minisini: > Le 07/06/2015 13:41, Charlie Reinl a ?crit : > > Am Sonntag, den 07.06.2015, 13:37 +0200 schrieb Beno?t Minisini: > >> Le 07/06/2015 13:24, Charlie Reinl a ?crit : > >>> > >>> Salut, > >>> > >>> thats are my first steps with the new line wrapping, I just loaded > >>> Bruce's demo-project. > >>> I get some strange text behavior, look at attached screenshots. > >>> > >>> EX: Public Function unknown(...) As Variant > >>> and in the text lines > >>> > >> > >> Which font do you use exactly? (family & size) Do you have gb.qt5 > >> installed on your system? > >> > > > > Salut Beno?t, > > > > no gb.qt5 and Bitstream Vera Sans,11 for the Editor > > see attachment. > > > > It should be better with rev. #7121. > Salut Beno?t, Yes, solved. Thanks -- Amicalement Charlie From girardhenri at ...67... Sun Jun 7 14:53:28 2015 From: girardhenri at ...67... (Girard Henri) Date: Sun, 7 Jun 2015 14:53:28 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55740755.4040300@...1887...> References: <55740755.4040300@...1887...> Message-ID: Is there any chance to get the sources ? Le 07/06/2015 10:56, Kevin Fishburne a ?crit : > After some work I've made the next binary release of my shoot 'em up > "Sylph: Project Miyaji" here (WordPress post): > > http://eightvirtues.com/games/?p=355 > > My only external call is to "fmod", so this is all GAMBAS using the sdl > and opengl components (no glsl component or shaders). Any USB > controller/gamepad will work automatically, you can custom-map any > button to a control and the game will automatically save and load the > mappings. The F key will toggle fullscreen/windowed mode and the Escape > key will go "back". > > Since I don't have any testers to give me feedback, any input on how the > game runs would be invaluable. Creative or aesthetic advice is also > welcome. My channels span the top of my site and of course you have my > email address. > > Anyway, thanks to GAMBAS for being an awesome programming language and > IDE, and I hope everyone enjoys the game. > From gambas.fr at ...626... Sun Jun 7 16:47:55 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 7 Jun 2015 16:47:55 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: References: <55740755.4040300@...1887...> Message-ID: I don't want sources... But a good engine class.... Le 7 juin 2015 14:54, "Girard Henri" a ?crit : > Is there any chance to get the sources ? > > > Le 07/06/2015 10:56, Kevin Fishburne a ?crit : > > After some work I've made the next binary release of my shoot 'em up > > "Sylph: Project Miyaji" here (WordPress post): > > > > http://eightvirtues.com/games/?p=355 > > > > My only external call is to "fmod", so this is all GAMBAS using the sdl > > and opengl components (no glsl component or shaders). Any USB > > controller/gamepad will work automatically, you can custom-map any > > button to a control and the game will automatically save and load the > > mappings. The F key will toggle fullscreen/windowed mode and the Escape > > key will go "back". > > > > Since I don't have any testers to give me feedback, any input on how the > > game runs would be invaluable. Creative or aesthetic advice is also > > welcome. My channels span the top of my site and of course you have my > > email address. > > > > Anyway, thanks to GAMBAS for being an awesome programming language and > > IDE, and I hope everyone enjoys the game. > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Mon Jun 8 07:31:55 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 08 Jun 2015 01:31:55 -0400 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55741F3A.4080402@...1...> References: <55740755.4040300@...1887...> <55741BF4.3000408@...1...> <55741F3A.4080402@...1...> Message-ID: <557528CB.6070603@...1887...> On 06/07/2015 06:38 AM, Beno?t Minisini wrote: > Anyway, I looked at the last videos, it's cool. :-) > > May I suggest a few things about what I saw? Beware, it may be bad ideas! > > - Adding some transparency in big laser beams. > > - Adding some animation when eating a weapon. > > - Adding a shadow for the ship when being on ground. > > - Adding an animation when the score increases. > > Regards, Hey Beno?t. Those are all good ideas. The laser transparency I can adjust; it's a polygonal model scaled and rendered multiple times with additive blending, so it's more opaque at the center and less so around the edges. For the end boss, Gloire, its lasers are so large that you can fly inside them and their glow fills the screen...kinda crazy-looking until it kills you. :) For the score and upgrade acquisition I can have the main OSD (on the right side) animate to reflect the state change so it's more noticeable/emphasized. I actually do already have ship shadows, though they're pretty subtle. The closer the ship is to the ground the smaller and more opaque they become; the higher up the ship the larger and more transparent they become. I can make them more opaque/noticeable, though. Thanks for the suggestions. Any input is appreciated! -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Mon Jun 8 07:48:20 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 08 Jun 2015 01:48:20 -0400 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: References: <55740755.4040300@...1887...> Message-ID: <55752CA4.3080604@...1887...> On 06/07/2015 08:53 AM, Girard Henri wrote: > Is there any chance to get the sources ? > Hi Girard. When the game's done I'm going to try to get it on Steam and sell it, and possibly get it ported to a more cross-platform language. I use GAMBAS because I love it, but for the moment it doesn't run on Android, the PS4, etc., so my audience is limited without porting. So yes, I would like to release the source code, but doing so could damage my ability to make any money off the game if the source code was used without consideration. After the game ceases selling (whether that's on day one or after a year) I will open-source it. As Fabien pointed out in a subsequent email, it would be nice to have a robust game engine class. There's a GAMBAS component, gb.opengl.sge, which loads and draws Quake II MD2 files. The author (I forget his name...Tobi, Tobias?), sent me a class to load and draw Wavefront obj files (exportable from Blender) which I've since modified and attached to this email. MD2 is an obsolete format from what I can tell in that I could find no decent software to create it or export to it. obj files work pretty well but don't support animation like MD2. Anyway, if someone wants to play with the source code and attempt to adapt parts of it to a GAMBAS game engine component I'd be willing to send it to them. We'd have a gentlemen's agreement that it wouldn't be posted on the web, etc., but just used for the game engine. Volunteers? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: ObjModel.class Type: application/java-vm Size: 5208 bytes Desc: not available URL: From taboege at ...626... Mon Jun 8 08:08:16 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Jun 2015 08:08:16 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55752CA4.3080604@...1887...> References: <55740755.4040300@...1887...> <55752CA4.3080604@...1887...> Message-ID: <20150608060816.GA725@...2774...> On Mon, 08 Jun 2015, Kevin Fishburne wrote: > As Fabien pointed out in a subsequent email, it would be nice to have a > robust game engine class. There's a GAMBAS component, gb.opengl.sge, which > loads and draws Quake II MD2 files. The author (I forget his name...Tobi, > Tobias?), > No, it was someone with the catchy name Tomek Kolodziejczyk [0, 1], but you were quite close :-) Regards, Tomek^H^H^Hbi [0] http://sourceforge.net/p/gambas/mailman/gambas-devel/thread/521155354.17940.1363599612409.JavaMail.root%40eircom.net/ [1] http://sourceforge.net/p/gambas/mailman/message/30647085/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From girardhenri at ...67... Mon Jun 8 09:04:10 2015 From: girardhenri at ...67... (Girard Henri) Date: Mon, 8 Jun 2015 09:04:10 +0200 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55752CA4.3080604@...1887...> References: <55740755.4040300@...1887...> <55752CA4.3080604@...1887...> Message-ID: Yes I understand, In fact I would try to translate it for my son (I am 70 years old and game have never been "ma tasse de th?" but he likes (on linux), and I would sign your gentleman agreement with plaisure I am not a good programmer but I like to look how excellent software are done : In Gambas 3 there are already a lot ! laurux, yours, one for drilling... My wish is someone would do a mathematic programm like sagemath and sagemanifold in gambas ! lol Regards Le 08/06/2015 07:48, Kevin Fishburne a ?crit : > On 06/07/2015 08:53 AM, Girard Henri wrote: >> Is there any chance to get the sources ? >> > > Hi Girard. When the game's done I'm going to try to get it on Steam > and sell it, and possibly get it ported to a more cross-platform > language. I use GAMBAS because I love it, but for the moment it > doesn't run on Android, the PS4, etc., so my audience is limited > without porting. So yes, I would like to release the source code, but > doing so could damage my ability to make any money off the game if the > source code was used without consideration. After the game ceases > selling (whether that's on day one or after a year) I will open-source > it. > > As Fabien pointed out in a subsequent email, it would be nice to have > a robust game engine class. There's a GAMBAS component, gb.opengl.sge, > which loads and draws Quake II MD2 files. The author (I forget his > name...Tobi, Tobias?), sent me a class to load and draw Wavefront obj > files (exportable from Blender) which I've since modified and attached > to this email. MD2 is an obsolete format from what I can tell in that > I could find no decent software to create it or export to it. obj > files work pretty well but don't support animation like MD2. > > Anyway, if someone wants to play with the source code and attempt to > adapt parts of it to a GAMBAS game engine component I'd be willing to > send it to them. We'd have a gentlemen's agreement that it wouldn't be > posted on the web, etc., but just used for the game engine. Volunteers? > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon Jun 8 16:18:40 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 8 Jun 2015 17:18:40 +0300 Subject: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji) In-Reply-To: <55740755.4040300@...1887...> References: <55740755.4040300@...1887...> Message-ID: When setting keys there should be information what they are currently. The ship is slowly centered automatically, is that necessary? I also like see shadow from the ship. Jussi On Sun, Jun 7, 2015 at 11:56 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > After some work I've made the next binary release of my shoot 'em up > "Sylph: Project Miyaji" here (WordPress post): > > http://eightvirtues.com/games/?p=355 > > My only external call is to "fmod", so this is all GAMBAS using the sdl > and opengl components (no glsl component or shaders). Any USB > controller/gamepad will work automatically, you can custom-map any > button to a control and the game will automatically save and load the > mappings. The F key will toggle fullscreen/windowed mode and the Escape > key will go "back". > > Since I don't have any testers to give me feedback, any input on how the > game runs would be invaluable. Creative or aesthetic advice is also > welcome. My channels span the top of my site and of course you have my > email address. > > Anyway, thanks to GAMBAS for being an awesome programming language and > IDE, and I hope everyone enjoys the game. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Tue Jun 9 04:21:47 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 09 Jun 2015 04:21:47 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <556A1598.2010909@...1...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> Message-ID: Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini a ?crit: > Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >> a ?crit: >> >>> Hi, >>> >>> I'm currently testing the SVN import feature of github for Gambas. >>> >>> The plan is to migrate from subversion to something else, that "else" >>> having to provide git (or svn) and a bug tracker. >>> >>> The main reason is the "Gimp" sourceforge case. >>> >>> If anyone has a problem against using git instead of subversion, please >>> tell. I don't know how to use git yes, and I think it will be better >>> and >>> faster. >>> >>> I don't know if I can import Google issues into github with the Google >>> code export, I will check. >>> >>> And at the moment, GitHub tells me that 87% of the repository is >>> imported, while sending me a mail telling that the import has failed at >>> the same time... Weird! >>> >>> Regards, >>> >> >> I have used Github (and therefore Git) for both school and personal >> projects for quite some time, so personally I have no problem with >> Gambas >> switching to it. >> >> However, Github does not provide website hosting nor mailing-list >> features, >> so will these stay on SourceForge ? >> >> Also, I haven't found any "Gambas" organization, do you plan to make one >> before importing the repository ? >> >> Regards, >> > > I just created a personal account to check svn import. > Have you had any success importing the svn repository to Github ? -- Adrien Prokopowicz From gambas at ...1... Tue Jun 9 04:50:53 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 09 Jun 2015 04:50:53 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> Message-ID: <5576548D.9070701@...1...> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : > Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini > a ?crit: > >> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>> a ?crit: >>> >>>> Hi, >>>> >>>> I'm currently testing the SVN import feature of github for Gambas. >>>> >>>> The plan is to migrate from subversion to something else, that "else" >>>> having to provide git (or svn) and a bug tracker. >>>> >>>> The main reason is the "Gimp" sourceforge case. >>>> >>>> If anyone has a problem against using git instead of subversion, please >>>> tell. I don't know how to use git yes, and I think it will be better >>>> and >>>> faster. >>>> >>>> I don't know if I can import Google issues into github with the Google >>>> code export, I will check. >>>> >>>> And at the moment, GitHub tells me that 87% of the repository is >>>> imported, while sending me a mail telling that the import has failed at >>>> the same time... Weird! >>>> >>>> Regards, >>>> >>> >>> I have used Github (and therefore Git) for both school and personal >>> projects for quite some time, so personally I have no problem with >>> Gambas >>> switching to it. >>> >>> However, Github does not provide website hosting nor mailing-list >>> features, >>> so will these stay on SourceForge ? >>> >>> Also, I haven't found any "Gambas" organization, do you plan to make one >>> before importing the repository ? >>> >>> Regards, >>> >> >> I just created a personal account to check svn import. >> > > Have you had any success importing the svn repository to Github ? > Yes, but there is no mailing-list. I'm thinking about "gna!" now... -- Beno?t Minisini From lewis at ...3412... Tue Jun 9 06:18:58 2015 From: lewis at ...3412... (Lewis Balentine) Date: Mon, 08 Jun 2015 23:18:58 -0500 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <5576548D.9070701@...1...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> Message-ID: <55766932.60306@...3412...> For those on this mailing list that may be as naive in this area as myself ... (i.e. not the *'Greater Nanticoke Area School District' **or *'Georgia Nurses Association' {BING}) http://gna.org/ This site is a central point for development, distribution and maintenance of Libre Software (Free Software) projects. Gna! provides Source Code Repositories (CVS, GNU Arch, Subversion), Download Area, Web Pages, Mailing-Lists and Trackers (Bugs, Task, Support Requests, Patches). http://en.wikipedia.org/wiki/Gna! On 06/08/2015 09:50 PM, Beno?t Minisini wrote: > Yes, but there is no mailing-list. I'm thinking about "gna!" now... From adrien.prokopowicz at ...626... Tue Jun 9 07:24:00 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 09 Jun 2015 07:24:00 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <5576548D.9070701@...1...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> Message-ID: Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini a ?crit: > Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >> a ?crit: >> >>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Hi, >>>>> >>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>> >>>>> The plan is to migrate from subversion to something else, that "else" >>>>> having to provide git (or svn) and a bug tracker. >>>>> >>>>> The main reason is the "Gimp" sourceforge case. >>>>> >>>>> If anyone has a problem against using git instead of subversion, >>>>> please >>>>> tell. I don't know how to use git yes, and I think it will be better >>>>> and >>>>> faster. >>>>> >>>>> I don't know if I can import Google issues into github with the >>>>> Google >>>>> code export, I will check. >>>>> >>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>> imported, while sending me a mail telling that the import has failed >>>>> at >>>>> the same time... Weird! >>>>> >>>>> Regards, >>>>> >>>> >>>> I have used Github (and therefore Git) for both school and personal >>>> projects for quite some time, so personally I have no problem with >>>> Gambas >>>> switching to it. >>>> >>>> However, Github does not provide website hosting nor mailing-list >>>> features, >>>> so will these stay on SourceForge ? >>>> >>>> Also, I haven't found any "Gambas" organization, do you plan to make >>>> one >>>> before importing the repository ? >>>> >>>> Regards, >>>> >>> >>> I just created a personal account to check svn import. >>> >> >> Have you had any success importing the svn repository to Github ? >> > > Yes, but there is no mailing-list. I'm thinking about "gna!" now... > Oh right, I forgot about that ... I made some research around gna!, and I have a few questions : - gna! seems to have originated from GNU Savannah, but I couldn't find the exact reasons of this separation, and both look pretty similar to me. So why not going to Savannah (which seems bigger and directly supported by the FSF and GNU) ? - Also, thinking about gna!/savannah reminded me of this old proposition[0] to become a GNU project. I don't remember you actually accepting or rejecting it, nor being rejected by the GNU project, so what happened ? Maybe they could help with this hosting problem ... [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ -- Adrien Prokopowicz From eilert-sprachen at ...221... Tue Jun 9 08:25:51 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 09 Jun 2015 08:25:51 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> Message-ID: <557686EF.9080700@...221...> Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: > Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini > a ?crit: > >> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>> a ?crit: >>> >>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>> a ?crit: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>> >>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>> having to provide git (or svn) and a bug tracker. >>>>>> >>>>>> The main reason is the "Gimp" sourceforge case. >>>>>> >>>>>> If anyone has a problem against using git instead of subversion, >>>>>> please >>>>>> tell. I don't know how to use git yes, and I think it will be better >>>>>> and >>>>>> faster. >>>>>> >>>>>> I don't know if I can import Google issues into github with the >>>>>> Google >>>>>> code export, I will check. >>>>>> >>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>> imported, while sending me a mail telling that the import has failed >>>>>> at >>>>>> the same time... Weird! >>>>>> >>>>>> Regards, >>>>>> >>>>> I have used Github (and therefore Git) for both school and personal >>>>> projects for quite some time, so personally I have no problem with >>>>> Gambas >>>>> switching to it. >>>>> >>>>> However, Github does not provide website hosting nor mailing-list >>>>> features, >>>>> so will these stay on SourceForge ? >>>>> >>>>> Also, I haven't found any "Gambas" organization, do you plan to make >>>>> one >>>>> before importing the repository ? >>>>> >>>>> Regards, >>>>> >>>> I just created a personal account to check svn import. >>>> >>> Have you had any success importing the svn repository to Github ? >>> >> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >> > Oh right, I forgot about that ... > > I made some research around gna!, and I have a few questions : > > - gna! seems to have originated from GNU Savannah, but I couldn't > find the exact reasons of this separation, and both look pretty > similar to me. So why not going to Savannah (which seems bigger > and directly supported by the FSF and GNU) ? > > - Also, thinking about gna!/savannah reminded me of this old > proposition[0] to become a GNU project. > I don't remember you actually accepting or rejecting it, nor > being rejected by the GNU project, so what happened ? > Maybe they could help with this hosting problem ... > > [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ As far as I remember, GNU's restrictions for the source code and rules for comments within the sources were too strict or badly adaptable to the Gambas way of doing. In the end, the idea seemed to fail at this point, as nobody was able or willing to rewrite the code to fulfill the requirements. But I haven't read the archives yet, so it's purely taken from my memory which has a high error rate ;) Regards Rolf From gambas at ...1... Tue Jun 9 13:13:23 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 09 Jun 2015 13:13:23 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <557686EF.9080700@...221...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> <557686EF.9080700@...221...> Message-ID: <5576CA53.3050300@...1...> Le 09/06/2015 08:25, Rolf-Werner Eilert a ?crit : > > Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: >> Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini >> a ?crit: >> >>> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>>> a ?crit: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>>> >>>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>>> having to provide git (or svn) and a bug tracker. >>>>>>> >>>>>>> The main reason is the "Gimp" sourceforge case. >>>>>>> >>>>>>> If anyone has a problem against using git instead of subversion, >>>>>>> please >>>>>>> tell. I don't know how to use git yes, and I think it will be better >>>>>>> and >>>>>>> faster. >>>>>>> >>>>>>> I don't know if I can import Google issues into github with the >>>>>>> Google >>>>>>> code export, I will check. >>>>>>> >>>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>>> imported, while sending me a mail telling that the import has failed >>>>>>> at >>>>>>> the same time... Weird! >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> I have used Github (and therefore Git) for both school and personal >>>>>> projects for quite some time, so personally I have no problem with >>>>>> Gambas >>>>>> switching to it. >>>>>> >>>>>> However, Github does not provide website hosting nor mailing-list >>>>>> features, >>>>>> so will these stay on SourceForge ? >>>>>> >>>>>> Also, I haven't found any "Gambas" organization, do you plan to make >>>>>> one >>>>>> before importing the repository ? >>>>>> >>>>>> Regards, >>>>>> >>>>> I just created a personal account to check svn import. >>>>> >>>> Have you had any success importing the svn repository to Github ? >>>> >>> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >>> >> Oh right, I forgot about that ... >> >> I made some research around gna!, and I have a few questions : >> >> - gna! seems to have originated from GNU Savannah, but I couldn't >> find the exact reasons of this separation, and both look pretty >> similar to me. So why not going to Savannah (which seems bigger >> and directly supported by the FSF and GNU) ? >> >> - Also, thinking about gna!/savannah reminded me of this old >> proposition[0] to become a GNU project. >> I don't remember you actually accepting or rejecting it, nor >> being rejected by the GNU project, so what happened ? >> Maybe they could help with this hosting problem ... >> >> [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ > > As far as I remember, GNU's restrictions for the source code and rules > for comments within the sources were too strict or badly adaptable to > the Gambas way of doing. In the end, the idea seemed to fail at this > point, as nobody was able or willing to rewrite the code to fulfill the > requirements. > > But I haven't read the archives yet, so it's purely taken from my memory > which has a high error rate ;) > > Regards > Rolf > No, it's "just" a matter of having the time of filling that: http://www.gnu.org/help/evaluation.html I didn't have the time since last year to deal with that... As for gna!, according to Wikipedia, it is a fork of Savannah made by the creators of Savannah that wanted to keep their way of managing it by collaboration. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Tue Jun 9 15:54:57 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 09 Jun 2015 15:54:57 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <5576CA53.3050300@...1...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> <557686EF.9080700@...221...> <5576CA53.3050300@...1...> Message-ID: <5576F031.5030404@...221...> Am 09.06.2015 13:13, schrieb Beno?t Minisini: > Le 09/06/2015 08:25, Rolf-Werner Eilert a ?crit : >> Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: >>> Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini >>> a ?crit: >>> >>>> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>>>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>>>> a ?crit: >>>>> >>>>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>>>> a ?crit: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>>>> >>>>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>>>> having to provide git (or svn) and a bug tracker. >>>>>>>> >>>>>>>> The main reason is the "Gimp" sourceforge case. >>>>>>>> >>>>>>>> If anyone has a problem against using git instead of subversion, >>>>>>>> please >>>>>>>> tell. I don't know how to use git yes, and I think it will be better >>>>>>>> and >>>>>>>> faster. >>>>>>>> >>>>>>>> I don't know if I can import Google issues into github with the >>>>>>>> Google >>>>>>>> code export, I will check. >>>>>>>> >>>>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>>>> imported, while sending me a mail telling that the import has failed >>>>>>>> at >>>>>>>> the same time... Weird! >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>> I have used Github (and therefore Git) for both school and personal >>>>>>> projects for quite some time, so personally I have no problem with >>>>>>> Gambas >>>>>>> switching to it. >>>>>>> >>>>>>> However, Github does not provide website hosting nor mailing-list >>>>>>> features, >>>>>>> so will these stay on SourceForge ? >>>>>>> >>>>>>> Also, I haven't found any "Gambas" organization, do you plan to make >>>>>>> one >>>>>>> before importing the repository ? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> I just created a personal account to check svn import. >>>>>> >>>>> Have you had any success importing the svn repository to Github ? >>>>> >>>> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >>>> >>> Oh right, I forgot about that ... >>> >>> I made some research around gna!, and I have a few questions : >>> >>> - gna! seems to have originated from GNU Savannah, but I couldn't >>> find the exact reasons of this separation, and both look pretty >>> similar to me. So why not going to Savannah (which seems bigger >>> and directly supported by the FSF and GNU) ? >>> >>> - Also, thinking about gna!/savannah reminded me of this old >>> proposition[0] to become a GNU project. >>> I don't remember you actually accepting or rejecting it, nor >>> being rejected by the GNU project, so what happened ? >>> Maybe they could help with this hosting problem ... >>> >>> [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ >> As far as I remember, GNU's restrictions for the source code and rules >> for comments within the sources were too strict or badly adaptable to >> the Gambas way of doing. In the end, the idea seemed to fail at this >> point, as nobody was able or willing to rewrite the code to fulfill the >> requirements. >> >> But I haven't read the archives yet, so it's purely taken from my memory >> which has a high error rate ;) >> >> Regards >> Rolf >> > No, it's "just" a matter of having the time of filling that: > > http://www.gnu.org/help/evaluation.html > > I didn't have the time since last year to deal with that... > > As for gna!, according to Wikipedia, it is a fork of Savannah made by > the creators of Savannah that wanted to keep their way of managing it by > collaboration. > > Regards, > Ah ok, I see. I read the GNU page, and the only thing that comes to my mind is about qt and maybe other parts which are not completely GNU compliant (GTK+ is, right?). Would that be a problem? On the one hand, being part of GNU seems to be a means of becoming more popular. On the other hand, GNU is a world of its own, so it might mean to be part of a special biotope, bound in a microcosmos, and hopefully not a parallel universe ;) But my knowledge about these things is far from being concise, so just take me too seriously here. I would just be sad if one day I had to read "we cannot do this or that thing because we're part of GNU and it's policy here...". Rolf From mmcg29440 at ...3163... Tue Jun 9 16:29:54 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 9 Jun 2015 10:29:54 -0400 Subject: [Gambas-user] Trouble printing from "Printing Example" Message-ID: Good Morning, I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon Image-Class MF4150 connected through Samba to a PC running Windows 8. I have installed the driver provided by Canon for Linux. Prior to running the Print Example all worked with no problem. I was able to print a printer test page and a file. The print queue emptied as it should. I ran the print example in the debugger. Selected the print button to print the file "Molly Malone". The printer dialog opened and the document was sent to the queue. OK so far. The document never printed and it showed "processing" in the queue. After four to five minutes the document still had not printed. Other documents were behind waiting to be printed. Deleting the stuck job did not release the other jobs. Rebooting did not help. No other document, from any app, would not print. Had to delete and reinstall the printer to get it to print again. Verified that the print example app was at fault by printing a text file and a test page before running the app. Attached are errors seen in the console during execution of the print example. This is the first time I've tried to print so I'm not sure what to do from here. I assume the app works or it would not be in the example file. Maybe you guys can help and suggest what I can do to find the problem. Thanks, Marty -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Printing Errors.txt URL: From gambas at ...1... Tue Jun 9 16:38:11 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 09 Jun 2015 16:38:11 +0200 Subject: [Gambas-user] Trouble printing from "Printing Example" In-Reply-To: References: Message-ID: <5576FA53.3020407@...1...> Le 09/06/2015 16:29, Martin McGlensey a ?crit : > Good Morning, > > > > I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon > Image-Class MF4150 connected through Samba to a PC running Windows 8. I have > installed the driver provided by Canon for Linux. Prior to running the Print > Example all worked with no problem. I was able to print a printer test page > and a file. The print queue emptied as it should. > > > > I ran the print example in the debugger. Selected the print button to print > the file "Molly Malone". The printer dialog opened and the document was sent > to the queue. OK so far. The document never printed and it showed > "processing" in the queue. After four to five minutes the document still had > not printed. Other documents were behind waiting to be printed. Deleting > the stuck job did not release the other jobs. Rebooting did not help. No > other document, from any app, would not print. Had to delete and reinstall > the printer to get it to print again. Verified that the print example app > was at fault by printing a text file and a test page before running the app. > > > > Attached are errors seen in the console during execution of the print > example. This is the first time I've tried to print so I'm not sure what to > do from here. I assume the app works or it would not be in the example file. > Maybe you guys can help and suggest what I can do to find the problem. > > > > Thanks, > > Marty > Priting is a bad beast in gb.gtk/gb.gtk3, so I will look at that. But even if buggy in Gambas, I don't see how can it can stuck your printer queue. There is another problem outside of Gambas I guess... -- Beno?t Minisini From mmcg29440 at ...3163... Tue Jun 9 17:13:45 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 9 Jun 2015 11:13:45 -0400 Subject: [Gambas-user] Trouble printing from "Printing Example Message-ID: Benoit thanks for your response. The problem is definitely related to the print example. Other apps, such as the text editor, printed perfectly before running print example but not after it. This defect is reproducible. Did you find anything in the error file I sent? I have another Gambas app that prints OK. So in my mind there is some problem with the example app. Unfortunately I do not know where to look for a solution. Hoped that the community would provide some guidance. Marty -----Original Message----- From: gambas-user-request at lists.sourceforge.net [mailto:gambas-user-request at lists.sourceforge.net] Sent: Tuesday, June 9, 2015 10:38 AM To: gambas-user at lists.sourceforge.net Subject: Gambas-user Digest, Vol 109, Issue 18 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: Gambas migration to github (or something else?) (Rolf-Werner Eilert) 2. Re: Gambas migration to github (or something else?) (Beno?t Minisini) 3. Re: Gambas migration to github (or something else?) (Rolf-Werner Eilert) 4. Trouble printing from "Printing Example" (Martin McGlensey) 5. Re: Trouble printing from "Printing Example" (Beno?t Minisini) ---------------------------------------------------------------------- Message: 1 Date: Tue, 09 Jun 2015 08:25:51 +0200 From: Rolf-Werner Eilert Subject: Re: [Gambas-user] Gambas migration to github (or something else?) To: gambas-user at lists.sourceforge.net Message-ID: <557686EF.9080700 at ...221...> Content-Type: text/plain; charset=UTF-8; format=flowed Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: > Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini > a ?crit: > >> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>> a ?crit: >>> >>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>> a ?crit: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>> >>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>> having to provide git (or svn) and a bug tracker. >>>>>> >>>>>> The main reason is the "Gimp" sourceforge case. >>>>>> >>>>>> If anyone has a problem against using git instead of subversion, >>>>>> please tell. I don't know how to use git yes, and I think it will >>>>>> be better and faster. >>>>>> >>>>>> I don't know if I can import Google issues into github with the >>>>>> Google code export, I will check. >>>>>> >>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>> imported, while sending me a mail telling that the import has >>>>>> failed at the same time... Weird! >>>>>> >>>>>> Regards, >>>>>> >>>>> I have used Github (and therefore Git) for both school and >>>>> personal projects for quite some time, so personally I have no >>>>> problem with Gambas switching to it. >>>>> >>>>> However, Github does not provide website hosting nor mailing-list >>>>> features, so will these stay on SourceForge ? >>>>> >>>>> Also, I haven't found any "Gambas" organization, do you plan to >>>>> make one before importing the repository ? >>>>> >>>>> Regards, >>>>> >>>> I just created a personal account to check svn import. >>>> >>> Have you had any success importing the svn repository to Github ? >>> >> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >> > Oh right, I forgot about that ... > > I made some research around gna!, and I have a few questions : > > - gna! seems to have originated from GNU Savannah, but I couldn't > find the exact reasons of this separation, and both look pretty > similar to me. So why not going to Savannah (which seems bigger > and directly supported by the FSF and GNU) ? > > - Also, thinking about gna!/savannah reminded me of this old > proposition[0] to become a GNU project. > I don't remember you actually accepting or rejecting it, nor > being rejected by the GNU project, so what happened ? > Maybe they could help with this hosting problem ... > > [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ As far as I remember, GNU's restrictions for the source code and rules for comments within the sources were too strict or badly adaptable to the Gambas way of doing. In the end, the idea seemed to fail at this point, as nobody was able or willing to rewrite the code to fulfill the requirements. But I haven't read the archives yet, so it's purely taken from my memory which has a high error rate ;) Regards Rolf ------------------------------ Message: 2 Date: Tue, 09 Jun 2015 13:13:23 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Gambas migration to github (or something else?) To: eilert-sprachen at ...221..., mailing list for gambas users Message-ID: <5576CA53.3050300 at ...1...> Content-Type: text/plain; charset=utf-8; format=flowed Le 09/06/2015 08:25, Rolf-Werner Eilert a ?crit : > > Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: >> Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini >> a ?crit: >> >>> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>>> a ?crit: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>>> >>>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>>> having to provide git (or svn) and a bug tracker. >>>>>>> >>>>>>> The main reason is the "Gimp" sourceforge case. >>>>>>> >>>>>>> If anyone has a problem against using git instead of subversion, >>>>>>> please tell. I don't know how to use git yes, and I think it >>>>>>> will be better and faster. >>>>>>> >>>>>>> I don't know if I can import Google issues into github with the >>>>>>> Google code export, I will check. >>>>>>> >>>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>>> imported, while sending me a mail telling that the import has >>>>>>> failed at the same time... Weird! >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> I have used Github (and therefore Git) for both school and >>>>>> personal projects for quite some time, so personally I have no >>>>>> problem with Gambas switching to it. >>>>>> >>>>>> However, Github does not provide website hosting nor mailing-list >>>>>> features, so will these stay on SourceForge ? >>>>>> >>>>>> Also, I haven't found any "Gambas" organization, do you plan to >>>>>> make one before importing the repository ? >>>>>> >>>>>> Regards, >>>>>> >>>>> I just created a personal account to check svn import. >>>>> >>>> Have you had any success importing the svn repository to Github ? >>>> >>> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >>> >> Oh right, I forgot about that ... >> >> I made some research around gna!, and I have a few questions : >> >> - gna! seems to have originated from GNU Savannah, but I couldn't >> find the exact reasons of this separation, and both look pretty >> similar to me. So why not going to Savannah (which seems bigger >> and directly supported by the FSF and GNU) ? >> >> - Also, thinking about gna!/savannah reminded me of this old >> proposition[0] to become a GNU project. >> I don't remember you actually accepting or rejecting it, nor >> being rejected by the GNU project, so what happened ? >> Maybe they could help with this hosting problem ... >> >> [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ > > As far as I remember, GNU's restrictions for the source code and rules > for comments within the sources were too strict or badly adaptable to > the Gambas way of doing. In the end, the idea seemed to fail at this > point, as nobody was able or willing to rewrite the code to fulfill > the requirements. > > But I haven't read the archives yet, so it's purely taken from my > memory which has a high error rate ;) > > Regards > Rolf > No, it's "just" a matter of having the time of filling that: http://www.gnu.org/help/evaluation.html I didn't have the time since last year to deal with that... As for gna!, according to Wikipedia, it is a fork of Savannah made by the creators of Savannah that wanted to keep their way of managing it by collaboration. Regards, -- Beno?t Minisini ------------------------------ Message: 3 Date: Tue, 09 Jun 2015 15:54:57 +0200 From: Rolf-Werner Eilert Subject: Re: [Gambas-user] Gambas migration to github (or something else?) To: gambas-user at lists.sourceforge.net Message-ID: <5576F031.5030404 at ...221...> Content-Type: text/plain; charset=UTF-8; format=flowed Am 09.06.2015 13:13, schrieb Beno?t Minisini: > Le 09/06/2015 08:25, Rolf-Werner Eilert a ?crit : >> Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: >>> Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini >>> a ?crit: >>> >>>> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>>>> Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini >>>>> a ?crit: >>>>> >>>>>> Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit : >>>>>>> Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini >>>>>>> a ?crit: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm currently testing the SVN import feature of github for Gambas. >>>>>>>> >>>>>>>> The plan is to migrate from subversion to something else, that "else" >>>>>>>> having to provide git (or svn) and a bug tracker. >>>>>>>> >>>>>>>> The main reason is the "Gimp" sourceforge case. >>>>>>>> >>>>>>>> If anyone has a problem against using git instead of subversion, >>>>>>>> please >>>>>>>> tell. I don't know how to use git yes, and I think it will be better >>>>>>>> and >>>>>>>> faster. >>>>>>>> >>>>>>>> I don't know if I can import Google issues into github with the >>>>>>>> Google >>>>>>>> code export, I will check. >>>>>>>> >>>>>>>> And at the moment, GitHub tells me that 87% of the repository is >>>>>>>> imported, while sending me a mail telling that the import has failed >>>>>>>> at >>>>>>>> the same time... Weird! >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>> I have used Github (and therefore Git) for both school and personal >>>>>>> projects for quite some time, so personally I have no problem with >>>>>>> Gambas >>>>>>> switching to it. >>>>>>> >>>>>>> However, Github does not provide website hosting nor mailing-list >>>>>>> features, >>>>>>> so will these stay on SourceForge ? >>>>>>> >>>>>>> Also, I haven't found any "Gambas" organization, do you plan to make >>>>>>> one >>>>>>> before importing the repository ? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> I just created a personal account to check svn import. >>>>>> >>>>> Have you had any success importing the svn repository to Github ? >>>>> >>>> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >>>> >>> Oh right, I forgot about that ... >>> >>> I made some research around gna!, and I have a few questions : >>> >>> - gna! seems to have originated from GNU Savannah, but I couldn't >>> find the exact reasons of this separation, and both look pretty >>> similar to me. So why not going to Savannah (which seems bigger >>> and directly supported by the FSF and GNU) ? >>> >>> - Also, thinking about gna!/savannah reminded me of this old >>> proposition[0] to become a GNU project. >>> I don't remember you actually accepting or rejecting it, nor >>> being rejected by the GNU project, so what happened ? >>> Maybe they could help with this hosting problem ... >>> >>> [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ >> As far as I remember, GNU's restrictions for the source code and rules >> for comments within the sources were too strict or badly adaptable to >> the Gambas way of doing. In the end, the idea seemed to fail at this >> point, as nobody was able or willing to rewrite the code to fulfill the >> requirements. >> >> But I haven't read the archives yet, so it's purely taken from my memory >> which has a high error rate ;) >> >> Regards >> Rolf >> > No, it's "just" a matter of having the time of filling that: > > http://www.gnu.org/help/evaluation.html > > I didn't have the time since last year to deal with that... > > As for gna!, according to Wikipedia, it is a fork of Savannah made by > the creators of Savannah that wanted to keep their way of managing it by > collaboration. > > Regards, > Ah ok, I see. I read the GNU page, and the only thing that comes to my mind is about qt and maybe other parts which are not completely GNU compliant (GTK+ is, right?). Would that be a problem? On the one hand, being part of GNU seems to be a means of becoming more popular. On the other hand, GNU is a world of its own, so it might mean to be part of a special biotope, bound in a microcosmos, and hopefully not a parallel universe ;) But my knowledge about these things is far from being concise, so just take me too seriously here. I would just be sad if one day I had to read "we cannot do this or that thing because we're part of GNU and it's policy here...". Rolf ------------------------------ Message: 4 Date: Tue, 9 Jun 2015 10:29:54 -0400 From: "Martin McGlensey" Subject: [Gambas-user] Trouble printing from "Printing Example" To: Message-ID: Content-Type: text/plain; charset="us-ascii" Good Morning, I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon Image-Class MF4150 connected through Samba to a PC running Windows 8. I have installed the driver provided by Canon for Linux. Prior to running the Print Example all worked with no problem. I was able to print a printer test page and a file. The print queue emptied as it should. I ran the print example in the debugger. Selected the print button to print the file "Molly Malone". The printer dialog opened and the document was sent to the queue. OK so far. The document never printed and it showed "processing" in the queue. After four to five minutes the document still had not printed. Other documents were behind waiting to be printed. Deleting the stuck job did not release the other jobs. Rebooting did not help. No other document, from any app, would not print. Had to delete and reinstall the printer to get it to print again. Verified that the print example app was at fault by printing a text file and a test page before running the app. Attached are errors seen in the console during execution of the print example. This is the first time I've tried to print so I'm not sure what to do from here. I assume the app works or it would not be in the example file. Maybe you guys can help and suggest what I can do to find the problem. Thanks, Marty -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Printing Errors.txt ------------------------------ Message: 5 Date: Tue, 09 Jun 2015 16:38:11 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Trouble printing from "Printing Example" To: mailing list for gambas users Message-ID: <5576FA53.3020407 at ...1...> Content-Type: text/plain; charset=windows-1252; format=flowed Le 09/06/2015 16:29, Martin McGlensey a ?crit : > Good Morning, > > > > I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon > Image-Class MF4150 connected through Samba to a PC running Windows 8. I have > installed the driver provided by Canon for Linux. Prior to running the Print > Example all worked with no problem. I was able to print a printer test page > and a file. The print queue emptied as it should. > > > > I ran the print example in the debugger. Selected the print button to print > the file "Molly Malone". The printer dialog opened and the document was sent > to the queue. OK so far. The document never printed and it showed > "processing" in the queue. After four to five minutes the document still had > not printed. Other documents were behind waiting to be printed. Deleting > the stuck job did not release the other jobs. Rebooting did not help. No > other document, from any app, would not print. Had to delete and reinstall > the printer to get it to print again. Verified that the print example app > was at fault by printing a text file and a test page before running the app. > > > > Attached are errors seen in the console during execution of the print > example. This is the first time I've tried to print so I'm not sure what to > do from here. I assume the app works or it would not be in the example file. > Maybe you guys can help and suggest what I can do to find the problem. > > > > Thanks, > > Marty > Priting is a bad beast in gb.gtk/gb.gtk3, so I will look at that. But even if buggy in Gambas, I don't see how can it can stuck your printer queue. There is another problem outside of Gambas I guess... -- Beno?t Minisini ------------------------------ ---------------------------------------------------------------------------- -- ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 109, Issue 18 ******************************************** From gambas.fr at ...626... Tue Jun 9 18:52:14 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 9 Jun 2015 18:52:14 +0200 Subject: [Gambas-user] Trouble printing from "Printing Example" In-Reply-To: <5576FA53.3020407@...1...> References: <5576FA53.3020407@...1...> Message-ID: 2015-06-09 16:38 GMT+02:00 Beno?t Minisini : > Le 09/06/2015 16:29, Martin McGlensey a ?crit : >> Good Morning, >> >> >> >> I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon >> Image-Class MF4150 connected through Samba to a PC running Windows 8. I have >> installed the driver provided by Canon for Linux. Prior to running the Print >> Example all worked with no problem. I was able to print a printer test page >> and a file. The print queue emptied as it should. >> >> >> >> I ran the print example in the debugger. Selected the print button to print >> the file "Molly Malone". The printer dialog opened and the document was sent >> to the queue. OK so far. The document never printed and it showed >> "processing" in the queue. After four to five minutes the document still had >> not printed. Other documents were behind waiting to be printed. Deleting >> the stuck job did not release the other jobs. Rebooting did not help. No >> other document, from any app, would not print. Had to delete and reinstall >> the printer to get it to print again. Verified that the print example app >> was at fault by printing a text file and a test page before running the app. >> >> >> >> Attached are errors seen in the console during execution of the print >> example. This is the first time I've tried to print so I'm not sure what to >> do from here. I assume the app works or it would not be in the example file. >> Maybe you guys can help and suggest what I can do to find the problem. >> >> >> >> Thanks, >> >> Marty >> > > Priting is a bad beast in gb.gtk/gb.gtk3, so I will look at that. But > even if buggy in Gambas, I don't see how can it can stuck your printer > queue. There is another problem outside of Gambas I guess... Yes it's purely a gtk problem... gtk have many problem on dealing with printer... One app can work ... change just a single thing can crash ... pff > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From adrien.prokopowicz at ...626... Tue Jun 9 21:38:59 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 09 Jun 2015 21:38:59 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: <5576F031.5030404@...221...> References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> <557686EF.9080700@...221...> <5576CA53.3050300@...1...> <5576F031.5030404@...221...> Message-ID: Le Tue, 09 Jun 2015 15:54:57 +0200, Rolf-Werner Eilert a ?crit: > > Am 09.06.2015 13:13, schrieb Beno?t Minisini: >> Le 09/06/2015 08:25, Rolf-Werner Eilert a ?crit : >>> Am 09.06.2015 07:24, schrieb Adrien Prokopowicz: >>>> Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit : >>>>>>Have you had any success importing the svn repository to Github ? >>>>>> >>>>> Yes, but there is no mailing-list. I'm thinking about "gna!" now... >>>>> >>>> Oh right, I forgot about that ... >>>> >>>> I made some research around gna!, and I have a few questions : >>>> >>>> - gna! seems to have originated from GNU Savannah, but I couldn't >>>> find the exact reasons of this separation, and both look pretty >>>> similar to me. So why not going to Savannah (which seems bigger >>>> and directly supported by the FSF and GNU) ? >>>> >>>> - Also, thinking about gna!/savannah reminded me of this old >>>> proposition[0] to become a GNU project. >>>> I don't remember you actually accepting or rejecting it, nor >>>> being rejected by the GNU project, so what happened ? >>>> Maybe they could help with this hosting problem ... >>>> >>>> [0] https://sourceforge.net/p/gambas/mailman/message/32334826/ >>> As far as I remember, GNU's restrictions for the source code and rules >>> for comments within the sources were too strict or badly adaptable to >>> the Gambas way of doing. In the end, the idea seemed to fail at this >>> point, as nobody was able or willing to rewrite the code to fulfill the >>> requirements. >>> >>> But I haven't read the archives yet, so it's purely taken from my >>> memory >>> which has a high error rate ;) >>> >>> Regards >>> Rolf >>> >> No, it's "just" a matter of having the time of filling that: >> >> http://www.gnu.org/help/evaluation.html >> >> I didn't have the time since last year to deal with that... >> >> As for gna!, according to Wikipedia, it is a fork of Savannah made by >> the creators of Savannah that wanted to keep their way of managing it by >> collaboration. >> >> Regards, >> > > Ah ok, I see. I read the GNU page, and the only thing that comes to my > mind is about qt and maybe other parts which are not completely GNU > compliant (GTK+ is, right?). Would that be a problem? > > On the one hand, being part of GNU seems to be a means of becoming more > popular. On the other hand, GNU is a world of its own, so it might mean > to be part of a special biotope, bound in a microcosmos, and hopefully > not a parallel universe ;) But my knowledge about these things is far > from being concise, so just take me too seriously here. I would just be > sad if one day I had to read "we cannot do this or that thing because > we're part of GNU and it's policy here...". > > Rolf From what I've seen, the only restriction for GNU projects' dependencies is to not use or promote non-free projects. I am not aware of any gambas component that use non-free libraries, so it is good on that side. This also seems to be the only "restrictive" policy for GNU projects, so I'm not too worried about that. But maybe (probably) I overlooked something. -- Adrien Prokopowicz From gambas.fr at ...626... Tue Jun 9 22:10:43 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 9 Jun 2015 22:10:43 +0200 Subject: [Gambas-user] Gambas migration to github (or something else?) In-Reply-To: References: <556A0015.3020306@...1...> <556A1598.2010909@...1...> <5576548D.9070701@...1...> <557686EF.9080700@...221...> <5576CA53.3050300@...1...> <5576F031.5030404@...221...> Message-ID: GNU Peoples will be happy... Gambas is one of the last survivor of the Free GPL Basics. The GNU repository just have yabasic and XBasic wich have it's last release in 2002. -- Fabien Bodard From gambas at ...1... Tue Jun 9 22:27:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 09 Jun 2015 22:27:29 +0200 Subject: [Gambas-user] Trouble printing from "Printing Example In-Reply-To: References: Message-ID: <55774C31.9070806@...1...> Le 09/06/2015 17:13, Martin McGlensey a ?crit : > Benoit thanks for your response. The problem is definitely related to the > print example. Other apps, such as the text editor, printed perfectly before > running print example but not after it. This defect is reproducible. Did you > find anything in the error file I sent? I have another Gambas app that > prints OK. So in my mind there is some problem with the example app. > Unfortunately I do not know where to look for a solution. Hoped that the > community would provide some guidance. > > Marty > I have fixed printing with GTK+3 in revision #7125. Can you try it? Note that I don't know where your message come from. Maybe from the widget theme you are using. With gb.gtk I have no message and using the printing example project works as expected. With gb.gtk3 I had other warning messages and then a crash. Now it works. Can you send information about your system? If you install 'gdb', and crash the Printing example from the IDE, the IDE will be able to create all that information for you, plus a stack backtrace, which would be very interesting for me. By the way, the font chooser crashes with gb.gtk3 inside GTK+3 library too. No idea why at the moment... Regards, -- Beno?t Minisini From karl.reinl at ...9... Wed Jun 10 22:59:52 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 10 Jun 2015 22:59:52 +0200 Subject: [Gambas-user] ColumnView.Editable=True Message-ID: <1433969992.3535.14.camel@...40...> Salut Beno?t, if ColumnView.Editable=True means that one can edit/rename the item, then it does not work any more. [System] Gambas=3.7.90 rev.7121 OperatingSystem=Linux Kernel=3.2.0-84-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie From gambas at ...1... Wed Jun 10 23:24:54 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 10 Jun 2015 23:24:54 +0200 Subject: [Gambas-user] Interview about Gambas Message-ID: <5578AB26.1090000@...1...> I will be interviewed in September on twit.tv during 45 minutes to talk about Gambas (http://gambas.sourceforge.net). twit.tv is a famous Internet Californian TV specialized in technology, that has a show dedicated to free softwares: "FLOSS WEEKLY" (http://twit.tv/show/floss-weekly). The interview will take place on September, 9th by Skype, and will be published the day after. Well, now I have two months to train my english... -- Beno?t Minisini From gambas at ...1... Wed Jun 10 23:44:49 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 10 Jun 2015 23:44:49 +0200 Subject: [Gambas-user] ColumnView.Editable=True In-Reply-To: <1433969992.3535.14.camel@...40...> References: <1433969992.3535.14.camel@...40...> Message-ID: <5578AFD1.6070604@...1...> Le 10/06/2015 22:59, Karl Reinl a ?crit : > Salut Beno?t, > > if ColumnView.Editable=True means that one can edit/rename the item, > then it does not work any more. > It actually means that the newly created items are editable by default or not. You must set the property first, and then create the items. Regards, -- Beno?t Minisini From vuott at ...325... Thu Jun 11 00:01:36 2015 From: vuott at ...325... (Ru Vuott) Date: Wed, 10 Jun 2015 23:01:36 +0100 Subject: [Gambas-user] R: Interview about Gambas In-Reply-To: <5578AB26.1090000@...1...> Message-ID: <1433973696.20492.YahooMailBasic@...3269...> Hello Beno?t, I broke this your message in the gambas-it.org forum. Regards vuott -------------------------------------------- Mer 10/6/15, Beno?t Minisini ha scritto: Oggetto: [Gambas-user] Interview about Gambas A: gambas-user at lists.sourceforge.net Data: Mercoled? 10 giugno 2015, 23:24 I will be interviewed in September on twit.tv during 45 minutes to talk about Gambas (http://gambas.sourceforge.net). twit.tv is a famous Internet Californian TV specialized in technology, that has a show dedicated to free softwares: "FLOSS WEEKLY" (http://twit.tv/show/floss-weekly). The interview will take place on September, 9th by Skype, and will be published the day after. Well, now I have two months to train my english... -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Thu Jun 11 00:38:03 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 11 Jun 2015 00:38:03 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: <5578AB26.1090000@...1...> References: <5578AB26.1090000@...1...> Message-ID: Le 10 juin 2015 23:25, "Beno?t Minisini" a ?crit : > > I will be interviewed in September on twit.tv during 45 minutes to talk > about Gambas (http://gambas.sourceforge.net). twit.tv is a famous > Internet Californian TV specialized in technology, that has a show > dedicated to free softwares: "FLOSS WEEKLY" > (http://twit.tv/show/floss-weekly). The interview will take place on > September, 9th by Skype, and will be published the day after. Well, now > I have two months to train my english... > > -- > Beno?t Minisini It's a good news. 45 minute is a long period. So you will be able to make a good presentation of all the work done in more than 13 years . We have 2 month to polish the doc so. ... Why did they choose Gambas ? > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Jun 11 00:44:21 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 11 Jun 2015 00:44:21 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: References: <5578AB26.1090000@...1...> Message-ID: <5578BDC5.7050101@...1...> Le 11/06/2015 00:38, Fabien Bodard a ?crit : > > ... Why did they choose Gambas ? > Because Lord Drachenbult ask them for that. -- Beno?t Minisini From willy at ...3474... Thu Jun 11 02:40:58 2015 From: willy at ...3474... (willy at ...3474...) Date: Thu, 11 Jun 2015 02:40:58 +0200 Subject: [Gambas-user] Bug in Highlight in Gambas 3.7.1 Message-ID: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> Hi All, I recently discovered that highlight fdoesn't on Gambas 3.7.1 as it did in previous versions. I have a textEditor application (gbEdit) that uses a Editor (from qt4.ext) and heavily relies on highlight for highlighting Gambas code, difference files, html files, gambas webpages and so on. As I said, this worked great with Gambas 3.5.x and Gambas 3.6.x. I made a small project (attached) to show what I mean. i tested it with a difference file. Opening the file and going to menu View -> Difference file on Gambas 3.5.4 shows a correctly highlighted difference file (see screen). Opening the same difference file and going to menu View -> Difference file on Gambas 3.7.1 crashes the application (see screen). Same goes for C, CPlusPlus, CSS, HTML, Javascript, HTML and SQL (oh and Webpage although it isn't in the example code attached). All work well on Gambas 3.5.x and 3.6.x but crash the app on Gambas 3.7.1 Is this a bug or has something changed? gbWilly -------------- next part -------------- A non-text attachment was scrubbed... Name: EditorHighlight-0.0.1.tar.gz Type: application/x-gzip Size: 5450 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EditorHighlight-crash-3.7.1.png Type: image/png Size: 22254 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EditorHighLight-NoCrash-3.5.4.png Type: image/png Size: 46555 bytes Desc: not available URL: From gambas at ...1... Thu Jun 11 03:19:19 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 11 Jun 2015 03:19:19 +0200 Subject: [Gambas-user] Bug in Highlight in Gambas 3.7.1 In-Reply-To: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> References: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> Message-ID: <5578E217.5060308@...1...> Le 11/06/2015 02:40, willy at ...3474... a ?crit : > Hi All, > > I recently discovered that highlight fdoesn't on Gambas 3.7.1 as it did > in previous versions. > I have a textEditor application (gbEdit) that uses a Editor (from > qt4.ext) and heavily relies on highlight for highlighting Gambas code, > difference files, html files, gambas webpages and so on. > > As I said, this worked great with Gambas 3.5.x and Gambas 3.6.x. > I made a small project (attached) to show what I mean. > > i tested it with a difference file. > Opening the file and going to menu View -> Difference file on Gambas > 3.5.4 shows a correctly highlighted difference file (see screen). > > Opening the same difference file and going to menu View -> Difference > file on Gambas 3.7.1 crashes the application (see screen). > > Same goes for C, CPlusPlus, CSS, HTML, Javascript, HTML and SQL (oh and > Webpage although it isn't in the example code attached). All work well > on Gambas 3.5.x and 3.6.x but crash the app on Gambas 3.7.1 > > Is this a bug or has something changed? > > gbWilly > I have no idea why, as the Editor is used by the IDE, and every highlighting works in it. Can you check that? -- Beno?t Minisini From whenamalone at ...626... Thu Jun 11 03:57:02 2015 From: whenamalone at ...626... (monika) Date: Wed, 10 Jun 2015 18:57:02 -0700 (MST) Subject: [Gambas-user] =?utf-8?b?RndkOiBTRVRJR2FtIGZvciBWSUlJLSDgtJrgtKQ=?= =?utf-8?b?4LWB4LSw4LWN4oCN4LSt4LWB4LSc4LSZ4LWN4LSZ4LSz4LWN4oCN?= Message-ID: ---------- Forwarded message ---------- From: Pramodmn Moorthy Date: 2015-06-11 7:44 GMT+05:30 Subject: SETIGam for VIII- ??????????????? To: Augustin Bernad , Ajitha Viswanath < ajithaviswanath at ...626...>, subhash soman , Biju Paul , MURALEEDHARAN C R , dasmdm mozhikunnath , Hari kumar , Jayarajan Raju , KRISHNAKUMAR TV , NIZAR V K , Muraleekrishnan M N , Np Ramadas , SITC Palakkad , ramsairaman ramsairaman , Unnikrishnan EM < unnikrishnanem at ...626...>, Unussaleem sr Srambikal , "suresh.C.K Cherumukku Krishnan" , sajith mp < sajijithmp at ...626...>, pramu mn , Sudheer Gn < sudheeranaimalai at ...626...> 8?? ???????? ?????????? ??????????????? ???? ?????????? ???????????????? SETIGam ?????????????? : ?????????????????? TSNMHS Kundurkunnu *OS : Edubuntu 10.04* chk it and share..... report bugs and comments =?UTF-8?B?4LSa4LSk4LWB4LSw4LWN4oCN4LSt4LWB4LSc4LSZ4LWN4LSZ4LSz4LWN4oCNLnRhci5neg==?= (4M) -- View this message in context: http://gambas.8142.n7.nabble.com/Fwd-SETIGam-for-VIII-tp51755.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Thu Jun 11 06:54:41 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 11 Jun 2015 06:54:41 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: <5578BDC5.7050101@...1...> References: <5578AB26.1090000@...1...> <5578BDC5.7050101@...1...> Message-ID: Le 11 juin 2015 00:45, "Beno?t Minisini" a ?crit : > > Le 11/06/2015 00:38, Fabien Bodard a ?crit : > > > > ... Why did they choose Gambas ? > > > > Because Lord Drachenbult ask them for that. :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Thu Jun 11 11:03:41 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 11 Jun 2015 11:03:41 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? Message-ID: Hello!! I would like to give me the steps to run the sample web page made with gambas3 note: I have a server that can run cgi-bin Regards Julio From gambas.fr at ...626... Thu Jun 11 11:21:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 11 Jun 2015 11:21:31 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? In-Reply-To: References: Message-ID: just run it ... it will launch an internal server 2015-06-11 11:03 GMT+02:00 Julio Sanchez : > Hello!! > > I would like to give me the steps to run the sample web page made with > gambas3 > > note: > I have a server that can run cgi-bin > > Regards > > Julio > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From kevinfishburne at ...1887... Thu Jun 11 11:26:09 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 11 Jun 2015 05:26:09 -0400 Subject: [Gambas-user] Interview about Gambas In-Reply-To: <5578AB26.1090000@...1...> References: <5578AB26.1090000@...1...> Message-ID: <55795431.8030002@...1887...> On 06/10/2015 05:24 PM, Beno?t Minisini wrote: > I will be interviewed in September on twit.tv during 45 minutes to talk > about Gambas (http://gambas.sourceforge.net). twit.tv is a famous > Internet Californian TV specialized in technology, that has a show > dedicated to free softwares: "FLOSS WEEKLY" > (http://twit.tv/show/floss-weekly). The interview will take place on > September, 9th by Skype, and will be published the day after. Well, now > I have two months to train my english... > Congrats. Very much looking forward to the interview. Make some notes beforehand, just in case the interviewer goes off script and you need to bring them in line with what's important. Be assertive; it's YOUR interview so crack the whip if necessary. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From shordi at ...626... Thu Jun 11 11:45:13 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 11 Jun 2015 11:45:13 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: <55795431.8030002@...1887...> References: <5578AB26.1090000@...1...> <55795431.8030002@...1887...> Message-ID: ...And comb your hair, for god sake! :D:D:D 2015-06-11 11:26 GMT+02:00 Kevin Fishburne : > On 06/10/2015 05:24 PM, Beno?t Minisini wrote: > > I will be interviewed in September on twit.tv during 45 minutes to talk > > about Gambas (http://gambas.sourceforge.net). twit.tv is a famous > > Internet Californian TV specialized in technology, that has a show > > dedicated to free softwares: "FLOSS WEEKLY" > > (http://twit.tv/show/floss-weekly). The interview will take place on > > September, 9th by Skype, and will be published the day after. Well, now > > I have two months to train my english... > > > > Congrats. Very much looking forward to the interview. Make some notes > beforehand, just in case the interviewer goes off script and you need to > bring them in line with what's important. Be assertive; it's YOUR > interview so crack the whip if necessary. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Thu Jun 11 11:50:53 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 11 Jun 2015 11:50:53 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? In-Reply-To: References: Message-ID: Fabien: But what would be the url of the website ? Regards Julio 2015-06-11 11:21 GMT+02:00 Fabien Bodard : > just run it ... it will launch an internal server > > 2015-06-11 11:03 GMT+02:00 Julio Sanchez : > > Hello!! > > > > I would like to give me the steps to run the sample web page made with > > gambas3 > > > > note: > > I have a server that can run cgi-bin > > > > Regards > > > > Julio > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Thu Jun 11 12:01:40 2015 From: girardhenri at ...67... (Girard Henri) Date: Thu, 11 Jun 2015 12:01:40 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: References: <5578AB26.1090000@...1...> <55795431.8030002@...1887...> Message-ID: Kevin, you aren't english ? By the way may you send me the code source of your program ? Excellent interview Henri Le 11/06/2015 11:45, Jorge Carri?n a ?crit : > ...And comb your hair, for god sake! > :D:D:D > > 2015-06-11 11:26 GMT+02:00 Kevin Fishburne > : > >> On 06/10/2015 05:24 PM, Beno?t Minisini wrote: >>> I will be interviewed in September on twit.tv during 45 minutes to talk >>> about Gambas (http://gambas.sourceforge.net). twit.tv is a famous >>> Internet Californian TV specialized in technology, that has a show >>> dedicated to free softwares: "FLOSS WEEKLY" >>> (http://twit.tv/show/floss-weekly). The interview will take place on >>> September, 9th by Skype, and will be published the day after. Well, now >>> I have two months to train my english... >>> >> Congrats. Very much looking forward to the interview. Make some notes >> beforehand, just in case the interviewer goes off script and you need to >> bring them in line with what's important. Be assertive; it's YOUR >> interview so crack the whip if necessary. >> >> -- >> Kevin Fishburne >> Eight Virtues >> www: http://sales.eightvirtues.com >> e-mail: sales at ...1887... >> phone: (770) 853-6271 >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Thu Jun 11 12:08:17 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 11 Jun 2015 12:08:17 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? In-Reply-To: References: Message-ID: Ok, It seems that already works if I put the wiki folder is created (and executable) in the cgi-bin folder https://node-jsbsan.c9.io/cgi-bin/wiki.gambas Regards Julio 2015-06-11 11:50 GMT+02:00 Julio Sanchez : > Fabien: > > But what would be the url of the website ? > > Regards > > Julio > > 2015-06-11 11:21 GMT+02:00 Fabien Bodard : > >> just run it ... it will launch an internal server >> >> 2015-06-11 11:03 GMT+02:00 Julio Sanchez : >> > Hello!! >> > >> > I would like to give me the steps to run the sample web page made with >> > gambas3 >> > >> > note: >> > I have a server that can run cgi-bin >> > >> > Regards >> > >> > Julio >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From ea7dfh at ...2382... Thu Jun 11 11:59:40 2015 From: ea7dfh at ...2382... (Jesus) Date: Thu, 11 Jun 2015 11:59:40 +0200 Subject: [Gambas-user] Interview about Gambas In-Reply-To: References: <5578AB26.1090000@...1...> <55795431.8030002@...1887...> Message-ID: <55795C0C.9060409@...2382...> El 11/6/15 a las 11:45, Jorge Carri?n escribi?: > ...And comb your hair, for god sake! > :D:D:D > LOL, good one, Jorge! Good luck in the interview, Beno?t. Gambas deserves it. Regards -- Jesus Guardon From Karl.Reinl at ...2345... Thu Jun 11 12:30:14 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 11 Jun 2015 12:30:14 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? In-Reply-To: References: Message-ID: <1434018614.3533.1.camel@...40...> Am Donnerstag, den 11.06.2015, 12:08 +0200 schrieb Julio Sanchez: > Ok, > It seems that already works if I put the wiki folder is created (and > executable) in the cgi-bin folder > > https://node-jsbsan.c9.io/cgi-bin/wiki.gambas > > Regards > > Julio > > 2015-06-11 11:50 GMT+02:00 Julio Sanchez : > > > Fabien: > > > > But what would be the url of the website ? > > > > Regards > > > > Julio > > > > 2015-06-11 11:21 GMT+02:00 Fabien Bodard : > > > >> just run it ... it will launch an internal server > >> > >> 2015-06-11 11:03 GMT+02:00 Julio Sanchez : > >> > Hello!! > >> > > >> > I would like to give me the steps to run the sample web page made with > >> > gambas3 > >> > > >> > note: > >> > I have a server that can run cgi-bin > >> > > >> > Regards > >> > > >> > Julio > >> > > >> ------------------------------------------------------------------------------ > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard Salut Julio, yes, works, but link points to http://gambasdoc.org/help/doc/markup?v3 -- Amicalement Charlie From kevinfishburne at ...1887... Thu Jun 11 12:42:53 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 11 Jun 2015 06:42:53 -0400 Subject: [Gambas-user] Interview about Gambas (Sylph thread) In-Reply-To: References: <5578AB26.1090000@...1...> <55795431.8030002@...1887...> Message-ID: <5579662D.7040109@...1887...> On 06/11/2015 06:01 AM, Girard Henri wrote: > Kevin, you aren't english ? > By the way may you send me the code source of your program ? > Excellent interview > Henri I'm in North America/U.S./Georgia/Stone Mountain and know English but very little Spanish or French. I haven't decided who I'll help parse Sylph's source code to assist in building a component library for a game engine in GAMBAS. I think refining some of the useful bits/procedures from Sylph and integrating them into a general-purpose game engine class would be a good way to start, but first we (or someone) should decide what logical/common OpenGL functions should be used. Some ideas would be procedures to set material properties, set orthogonal and perspective projection matrices, load 3D (Wavefront) models, call display lists, chane blending modes, accept gamepad input not using SDL (/dev/input/js0), or whatever anyone on on the mailing list can think of that would be useful in a general purpose game engine library. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From jusabejusabe at ...626... Thu Jun 11 14:08:15 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 11 Jun 2015 14:08:15 +0200 Subject: [Gambas-user] SmallWiki: How can run this example? In-Reply-To: <1434018614.3533.1.camel@...40...> References: <1434018614.3533.1.camel@...40...> Message-ID: Charlie: Ok, corrected Regards, Julio 2015-06-11 12:30 GMT+02:00 Charlie Reinl : > Am Donnerstag, den 11.06.2015, 12:08 +0200 schrieb Julio Sanchez: > > Ok, > > It seems that already works if I put the wiki folder is created (and > > executable) in the cgi-bin folder > > > > https://node-jsbsan.c9.io/cgi-bin/wiki.gambas > > > > Regards > > > > Julio > > > > 2015-06-11 11:50 GMT+02:00 Julio Sanchez : > > > > > Fabien: > > > > > > But what would be the url of the website ? > > > > > > Regards > > > > > > Julio > > > > > > 2015-06-11 11:21 GMT+02:00 Fabien Bodard : > > > > > >> just run it ... it will launch an internal server > > >> > > >> 2015-06-11 11:03 GMT+02:00 Julio Sanchez : > > >> > Hello!! > > >> > > > >> > I would like to give me the steps to run the sample web page made > with > > >> > gambas3 > > >> > > > >> > note: > > >> > I have a server that can run cgi-bin > > >> > > > >> > Regards > > >> > > > >> > Julio > > >> > > > >> > ------------------------------------------------------------------------------ > > >> > _______________________________________________ > > >> > Gambas-user mailing list > > >> > Gambas-user at lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > >> > > >> > > >> -- > > >> Fabien Bodard > > Salut Julio, > > yes, works, but link points to http://gambasdoc.org/help/doc/markup?v3 > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Jun 11 15:29:58 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 11 Jun 2015 15:29:58 +0200 Subject: [Gambas-user] Interview about Gambas (Sylph thread) In-Reply-To: <5579662D.7040109@...1887...> References: <5578AB26.1090000@...1...> <55795431.8030002@...1887...> <5579662D.7040109@...1887...> Message-ID: Hum i think it will be better to think about a global scene manager like with blitz3d. Gambas must delegate all the general game process to a lib and concentrate on the game story. 2015-06-11 12:42 GMT+02:00 Kevin Fishburne : > On 06/11/2015 06:01 AM, Girard Henri wrote: >> Kevin, you aren't english ? >> By the way may you send me the code source of your program ? >> Excellent interview >> Henri > > I'm in North America/U.S./Georgia/Stone Mountain and know English but > very little Spanish or French. > > I haven't decided who I'll help parse Sylph's source code to assist in > building a component library for a game engine in GAMBAS. I think > refining some of the useful bits/procedures from Sylph and integrating > them into a general-purpose game engine class would be a good way to > start, but first we (or someone) should decide what logical/common > OpenGL functions should be used. > > Some ideas would be procedures to set material properties, set > orthogonal and perspective projection matrices, load 3D (Wavefront) > models, call display lists, chane blending modes, accept gamepad input > not using SDL (/dev/input/js0), or whatever anyone on on the mailing > list can think of that would be useful in a general purpose game engine > library. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Thu Jun 11 21:42:46 2015 From: bagonergi at ...626... (Gianluigi) Date: Thu, 11 Jun 2015 21:42:46 +0200 Subject: [Gambas-user] Possible bug in GridView Message-ID: To see the possible bug comment and uncomment the attached test. Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-GridView-0.0.1.tar.gz Type: application/x-gzip Size: 4186 bytes Desc: not available URL: From gambas at ...1... Thu Jun 11 21:58:45 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 11 Jun 2015 21:58:45 +0200 Subject: [Gambas-user] Possible bug in GridView In-Reply-To: References: Message-ID: <5579E875.5000300@...1...> Le 11/06/2015 21:42, Gianluigi a ?crit : > To see the possible bug comment and uncomment the attached test. > > Regards > > Gianluigi > What bug are you talking about??? -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jun 11 22:07:05 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 11 Jun 2015 22:07:05 +0200 Subject: [Gambas-user] ColumnView.Editable=True In-Reply-To: <5578AFD1.6070604@...1...> References: <1433969992.3535.14.camel@...40...> <5578AFD1.6070604@...1...> Message-ID: <1434053225.4309.2.camel@...40...> Am Mittwoch, den 10.06.2015, 23:44 +0200 schrieb Beno?t Minisini: > Le 10/06/2015 22:59, Karl Reinl a ?crit : > > Salut Beno?t, > > > > if ColumnView.Editable=True means that one can edit/rename the item, > > then it does not work any more. > > > > It actually means that the newly created items are editable by default > or not. You must set the property first, and then create the items. > > Regards, > Salut Beno?t, yes, it is set at design time in the IDE. Attached you an example (ie. Listview the same) -------------- next part -------------- A non-text attachment was scrubbed... Name: Test3-0.0.2.tar.gz Type: application/x-compressed-tar Size: 4642 bytes Desc: not available URL: From bagonergi at ...626... Thu Jun 11 22:21:49 2015 From: bagonergi at ...626... (Gianluigi) Date: Thu, 11 Jun 2015 22:21:49 +0200 Subject: [Gambas-user] Possible bug in GridView In-Reply-To: <5579E875.5000300@...1...> References: <5579E875.5000300@...1...> Message-ID: Have you tried to comment out this? ' GridView1[0, 0].Alignment = Align.Right ' GridView1[0, 1].Alignment = Align.Right ' GridView1[0, 2].Alignment = Align.Right See still icons? I not only one with Height = 52 and none with Height = GridView1.Height Regards Gianluigi 2015-06-11 21:58 GMT+02:00 Beno?t Minisini : > Le 11/06/2015 21:42, Gianluigi a ?crit : > > To see the possible bug comment and uncomment the attached test. > > > > Regards > > > > Gianluigi > > > > What bug are you talking about??? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...3474... Thu Jun 11 23:11:09 2015 From: willy at ...3474... (willy at ...3474...) Date: Thu, 11 Jun 2015 23:11:09 +0200 Subject: [Gambas-user] Bug in Highlight in Gambas 3.7.1 In-Reply-To: <5578E217.5060308@...1...> References: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> <5578E217.5060308@...1...> Message-ID: On 2015-06-11 03:19, Beno?t Minisini wrote: > Le 11/06/2015 02:40, willy at ...3474... a ?crit : >> Hi All, >> >> I recently discovered that highlight fdoesn't on Gambas 3.7.1 as it >> did >> in previous versions. >> I have a textEditor application (gbEdit) that uses a Editor (from >> qt4.ext) and heavily relies on highlight for highlighting Gambas code, >> difference files, html files, gambas webpages and so on. >> >> As I said, this worked great with Gambas 3.5.x and Gambas 3.6.x. >> I made a small project (attached) to show what I mean. >> >> i tested it with a difference file. >> Opening the file and going to menu View -> Difference file on Gambas >> 3.5.4 shows a correctly highlighted difference file (see screen). >> >> Opening the same difference file and going to menu View -> Difference >> file on Gambas 3.7.1 crashes the application (see screen). >> >> Same goes for C, CPlusPlus, CSS, HTML, Javascript, HTML and SQL (oh >> and >> Webpage although it isn't in the example code attached). All work well >> on Gambas 3.5.x and 3.6.x but crash the app on Gambas 3.7.1 >> >> Is this a bug or has something changed? >> >> gbWilly >> > > I have no idea why, as the Editor is used by the IDE, and every > highlighting works in it. Can you check that? Hi, Gambas 3.7.1 IDE highlights just fine. I have done some investigation and this is what I discovered. 1. When application installed on a system with Gambas 3.7.1 IDE installed all highlighting works. 2. When application installed on a virgin system (so no Gambas installed only PPA available in sources.list) the highlighting crashes. 3. If, on the virgin system (mentioned in 2. and after having application installed), I next install gambas3-gb-eval-highlight, the highlighting does work 4. The systems with Gambas 3.5.4 and 3.6.2 installed where the application was tested, all happened to have Gambas IDE installed, so that is why all worked there. The misleading thing here is that when developing in IDE and no component gb.eval.highlight selected in project properties, you can use Highlight.C or whatever and there is no complain about a component missing when compiling and running the app. When for example you use args in code but forget to select gb.args in properties, as soon as you compile or whant to run the app, the IDE tells you that ist doesn't understand the args code. So, eventually, when making a package of the project, there is no dependency on gb.eval.highlight, and thus the application will fail on systems without a full IDE installed. So, when using gb.eval.highlight without it being selected in project properties, IDE should complain. Or maybe gb.qt4.ext should default depend on gb.eval.highlight? Well, I solved the problem by checking gb.eval.highlight in the project properties and next repackage the project. So, now I know and will remember, but others might run into the same problem. So, I feel something should be done to prevent mistakes like this from happening. But, I leave that up to Beno?t to figure out the best solution (if any). Willy (a.k.a. gbWilly) From gambas at ...1... Thu Jun 11 23:19:04 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 11 Jun 2015 23:19:04 +0200 Subject: [Gambas-user] Bug in Highlight in Gambas 3.7.1 In-Reply-To: References: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> <5578E217.5060308@...1...> Message-ID: <5579FB48.7080003@...1...> > > Hi, > > Gambas 3.7.1 IDE highlights just fine. > > I have done some investigation and this is what I discovered. > > 1. When application installed on a system with Gambas 3.7.1 IDE > installed all highlighting works. > 2. When application installed on a virgin system (so no Gambas installed > only PPA available in sources.list) the highlighting crashes. > 3. If, on the virgin system (mentioned in 2. and after having > application installed), I next install gambas3-gb-eval-highlight, the > highlighting does work > 4. The systems with Gambas 3.5.4 and 3.6.2 installed where the > application was tested, all happened to have Gambas IDE installed, so > that is why all worked there. > > The misleading thing here is that when developing in IDE and no > component gb.eval.highlight selected in project properties, you can use > Highlight.C or whatever and there is no complain about a component > missing when compiling and running the app. > When for example you use args in code but forget to select gb.args in > properties, as soon as you compile or whant to run the app, the IDE > tells you that ist doesn't understand the args code. > > So, eventually, when making a package of the project, there is no > dependency on gb.eval.highlight, and thus the application will fail on > systems without a full IDE installed. > > So, when using gb.eval.highlight without it being selected in project > properties, IDE should complain. > Or maybe gb.qt4.ext should default depend on gb.eval.highlight? > > Well, I solved the problem by checking gb.eval.highlight in the project > properties and next repackage the project. So, now I know and will > remember, but others might run into the same problem. > > So, I feel something should be done to prevent mistakes like this from > happening. But, I leave that up to Beno?t to figure out the best > solution (if any). > > Willy (a.k.a. gbWilly) > Ha, ok. So everything occured as expected. When using highlighting, the gb.qt4.ext component tries to load the gb.eval.highlight component automatically, and displays that error message if the component cannot be found. Which happens if the it has not been installed. But I cannot make gb.qt4.ext depends on gb.eval.highlight, because the component is not mandatory if you don't use highlighting. Except explaining that in the documentation, I don't see any technical solution... -- Beno?t Minisini From gambas at ...1... Thu Jun 11 23:24:16 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 11 Jun 2015 23:24:16 +0200 Subject: [Gambas-user] Possible bug in GridView In-Reply-To: References: <5579E875.5000300@...1...> Message-ID: <5579FC80.4060503@...1...> Le 11/06/2015 22:21, Gianluigi a ?crit : > Have you tried to comment out this? > ' GridView1[0, 0].Alignment = Align.Right > ' GridView1[0, 1].Alignment = Align.Right > ' GridView1[0, 2].Alignment = Align.Right > See still icons? I not only one with Height = 52 and none with Height = > GridView1.Height > > Regards > Gianluigi > Ok! It's fixed in revision #7128. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jun 11 23:26:34 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 11 Jun 2015 23:26:34 +0200 Subject: [Gambas-user] ColumnView.Editable=True In-Reply-To: <1434053225.4309.2.camel@...40...> References: <1433969992.3535.14.camel@...40...> <5578AFD1.6070604@...1...> <1434053225.4309.2.camel@...40...> Message-ID: <5579FD0A.8060304@...1...> Le 11/06/2015 22:07, Charlie Reinl a ?crit : > Am Mittwoch, den 10.06.2015, 23:44 +0200 schrieb Beno?t Minisini: >> Le 10/06/2015 22:59, Karl Reinl a ?crit : >>> Salut Beno?t, >>> >>> if ColumnView.Editable=True means that one can edit/rename the item, >>> then it does not work any more. >>> >> >> It actually means that the newly created items are editable by default >> or not. You must set the property first, and then create the items. >> >> Regards, >> > > Salut Beno?t, > > yes, it is set at design time in the IDE. > Attached you an example (ie. Listview the same) > Items are editable as expected, I don't see what is wrong in your example... -- Beno?t Minisini From bagonergi at ...626... Thu Jun 11 23:29:54 2015 From: bagonergi at ...626... (Gianluigi) Date: Thu, 11 Jun 2015 23:29:54 +0200 Subject: [Gambas-user] Possible bug in GridView In-Reply-To: <5579FC80.4060503@...1...> References: <5579E875.5000300@...1...> <5579FC80.4060503@...1...> Message-ID: Thanks Gianluigi 2015-06-11 23:24 GMT+02:00 Beno?t Minisini : > Le 11/06/2015 22:21, Gianluigi a ?crit : > > Have you tried to comment out this? > > ' GridView1[0, 0].Alignment = Align.Right > > ' GridView1[0, 1].Alignment = Align.Right > > ' GridView1[0, 2].Alignment = Align.Right > > See still icons? I not only one with Height = 52 and none with Height = > > GridView1.Height > > > > Regards > > Gianluigi > > > > Ok! It's fixed in revision #7128. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...3474... Fri Jun 12 00:18:22 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 12 Jun 2015 00:18:22 +0200 Subject: [Gambas-user] Bug in Highlight in Gambas 3.7.1 In-Reply-To: <5579FB48.7080003@...1...> References: <3f0c6c3f3faa2fd434b971967c925bb3@...3474...> <5578E217.5060308@...1...> <5579FB48.7080003@...1...> Message-ID: <9d32a1f2c706bc40e09b38a4338b4fe9@...3474...> On 2015-06-11 23:19, Beno?t Minisini wrote: >> >> Hi, >> >> Gambas 3.7.1 IDE highlights just fine. >> >> I have done some investigation and this is what I discovered. >> >> 1. When application installed on a system with Gambas 3.7.1 IDE >> installed all highlighting works. >> 2. When application installed on a virgin system (so no Gambas >> installed >> only PPA available in sources.list) the highlighting crashes. >> 3. If, on the virgin system (mentioned in 2. and after having >> application installed), I next install gambas3-gb-eval-highlight, the >> highlighting does work >> 4. The systems with Gambas 3.5.4 and 3.6.2 installed where the >> application was tested, all happened to have Gambas IDE installed, so >> that is why all worked there. >> >> The misleading thing here is that when developing in IDE and no >> component gb.eval.highlight selected in project properties, you can >> use >> Highlight.C or whatever and there is no complain about a component >> missing when compiling and running the app. >> When for example you use args in code but forget to select gb.args in >> properties, as soon as you compile or whant to run the app, the IDE >> tells you that ist doesn't understand the args code. >> >> So, eventually, when making a package of the project, there is no >> dependency on gb.eval.highlight, and thus the application will fail on >> systems without a full IDE installed. >> >> So, when using gb.eval.highlight without it being selected in project >> properties, IDE should complain. >> Or maybe gb.qt4.ext should default depend on gb.eval.highlight? >> >> Well, I solved the problem by checking gb.eval.highlight in the >> project >> properties and next repackage the project. So, now I know and will >> remember, but others might run into the same problem. >> >> So, I feel something should be done to prevent mistakes like this from >> happening. But, I leave that up to Beno?t to figure out the best >> solution (if any). >> >> Willy (a.k.a. gbWilly) >> > > Ha, ok. So everything occured as expected. > > When using highlighting, the gb.qt4.ext component tries to load the > gb.eval.highlight component automatically, and displays that error > message if the component cannot be found. Which happens if the it has > not been installed. > > But I cannot make gb.qt4.ext depends on gb.eval.highlight, because the > component is not mandatory if you don't use highlighting. > > Except explaining that in the documentation, I don't see any technical > solution... Good enough for me. gbWilly From Karl.Reinl at ...2345... Fri Jun 12 00:24:30 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 12 Jun 2015 00:24:30 +0200 Subject: [Gambas-user] ColumnView.Editable=True In-Reply-To: <5579FD0A.8060304@...1...> References: <1433969992.3535.14.camel@...40...> <5578AFD1.6070604@...1...> <1434053225.4309.2.camel@...40...> <5579FD0A.8060304@...1...> Message-ID: <1434061470.4309.10.camel@...40...> Am Donnerstag, den 11.06.2015, 23:26 +0200 schrieb Beno?t Minisini: > Le 11/06/2015 22:07, Charlie Reinl a ?crit : > > Am Mittwoch, den 10.06.2015, 23:44 +0200 schrieb Beno?t Minisini: > >> Le 10/06/2015 22:59, Karl Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> if ColumnView.Editable=True means that one can edit/rename the item, > >>> then it does not work any more. > >>> > >> > >> It actually means that the newly created items are editable by default > >> or not. You must set the property first, and then create the items. > >> > >> Regards, > >> > > > > Salut Beno?t, > > > > yes, it is set at design time in the IDE. > > Attached you an example (ie. Listview the same) > > > > Items are editable as expected, I don't see what is wrong in your example... > Salut Beno?t, pardon me, my mistake, I did expect that a dblclick makes the field editable and open the input (j'etais ? cot? de mes pompes) Yes, now I see, everything works right and as expected. -- Amicalement Charlie From vuott at ...325... Sat Jun 13 13:42:35 2015 From: vuott at ...325... (Ru Vuott) Date: Sat, 13 Jun 2015 12:42:35 +0100 Subject: [Gambas-user] ERROR in TextEditor.LinePos.998 Message-ID: <1434195755.48738.YahooMailBasic@...3269...> Hello, I get an error, if I launch twice this very simple code: Public Sub Main() Print String(100, "ab ") End In particular, I notice that - if the text written in the console exceeds the current width of the console - first time it runs, but second this error happens: " This application has raised an unespected error and must abort. [21] Out of Bounds, >>>>TextEditor.LinePos.998 " Regards vuott From willy at ...3474... Sat Jun 13 21:18:46 2015 From: willy at ...3474... (willy at ...3474...) Date: Sat, 13 Jun 2015 21:18:46 +0200 Subject: [Gambas-user] Package list and dependencies out of date Message-ID: <5869e44ecf449351b6915f12ed6406fe@...3474...> Hi all, Could it be the 'How to package - packagelist' at GambasWiki (http://gambaswiki.org/wiki/howto/package#t8) is a bit outdated. Same goes for the 'Compilation and installation - Requirements for development packages' (http://gambaswiki.org/wiki/install#t2). They seem to be stuck somewhere at version 3.5.x I miss gtk3, markdown, desktop-x11, qt5 and more. Maybe both need to be updated. If I new what dependencies where and what packages need to be added with what dependencies, I would. But since that is not the case, maybe someone else could update the information. Thanks, gbWilly From introlinux at ...626... Sun Jun 14 00:55:57 2015 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Sun, 14 Jun 2015 00:55:57 +0200 Subject: [Gambas-user] How to set a working directory using EXEC Message-ID: Hi, I have read this thread: http://gambas.8142.n7.nabble.com/patch-for-setting-directory-on-EXEC-td41205.html ...but at the end how we can set the working directory when we use EXEC? Thanks. From gambas at ...3466... Sun Jun 14 10:19:08 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sun, 14 Jun 2015 10:19:08 +0200 Subject: [Gambas-user] know if program is compiled Message-ID: <557D38FC.2050704@...3466...> Hi all, is there a way to detect from a gambas program if it's running under the ide or is compiled into a .gambas file ? thank's in advance. From adamnt42 at ...626... Sun Jun 14 11:13:19 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 14 Jun 2015 18:43:19 +0930 Subject: [Gambas-user] know if program is compiled In-Reply-To: <557D38FC.2050704@...3466...> References: <557D38FC.2050704@...3466...> Message-ID: <20150614184319.6b58a2814467efed3d94adf1@...626...> On Sun, 14 Jun 2015 10:19:08 +0200 Marco Ancillotti wrote: > Hi all, > > is there a way to detect from a gambas program if it's running under the > ide or is compiled into a .gambas file ? > > thank's in advance. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user #If Exec ' ... do whatever #End hth bruce -- B Bruen From taboege at ...626... Sun Jun 14 11:58:22 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 14 Jun 2015 11:58:22 +0200 Subject: [Gambas-user] know if program is compiled In-Reply-To: <20150614184319.6b58a2814467efed3d94adf1@...626...> References: <557D38FC.2050704@...3466...> <20150614184319.6b58a2814467efed3d94adf1@...626...> Message-ID: <20150614095822.GA601@...2774...> On Sun, 14 Jun 2015, adamnt42 at ...626... wrote: > On Sun, 14 Jun 2015 10:19:08 +0200 Marco Ancillotti wrote: > > Hi all, > > > > is there a way to detect from a gambas program if it's running under the > > ide or is compiled into a .gambas file ? > > > > thank's in advance. > > > > #If Exec > ' ... do whatever > #End > > hth > bruce > This seems to work but I had to dig into the compiler's source code to verify it. Then I saw that "gbc3 --help" mentions the "-x" switch which defines the Exec preprocessor constant [ I will update the documentation in a second if no one objects ]. But apparently it doesn't do anything else, like *forcing* the creation of an archive, which is where this method begins to fail. I can write the following project: Public Sub Main() #If Exec Debug "Exec" #Else Debug "No Exec" #Endif End The IDE is nice in that it uses "gbc3 -x" if and only if it creates an executable archive (see Project.module:GetCompileCommand) -- then the Exec flag trick works. But I can go into a terminal and do $ cd /tmp/exec-flag # which is my test project above $ gbc3 -ga # without -x $ gba3 $ ./exec-flag.gambas MMain.Main.7: No Exec but I clearly started an executable archive. On the other side I can do $ gbc3 -gax $ gbx3 MMain.Main.5: Exec but I didn't run it from an executable archive. So, the Exec flag trick works if you expect people to compile stuff via the IDE. Also, you should know that there is at least a third way to run a program, as I have already shown above: $ gbx3 /tmp/exec-flag # if it was compiled before which runs outside of the IDE but doesn't create a .gambas archive. So, you might ask yourself now why it is so difficult to determine whether you run from an executable archive or not. The answer is: you shouldn't care. Write your program properly :-) Regads, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Sun Jun 14 12:44:35 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Jun 2015 12:44:35 +0200 Subject: [Gambas-user] know if program is compiled In-Reply-To: <20150614095822.GA601@...2774...> References: <557D38FC.2050704@...3466...> <20150614184319.6b58a2814467efed3d94adf1@...626...> <20150614095822.GA601@...2774...> Message-ID: <1434278675.3660.3.camel@...40...> Am Sonntag, den 14.06.2015, 11:58 +0200 schrieb Tobias Boege: > On Sun, 14 Jun 2015, adamnt42 at ...626... wrote: > > On Sun, 14 Jun 2015 10:19:08 +0200 Marco Ancillotti wrote: > > > Hi all, > > > > > > is there a way to detect from a gambas program if it's running under the > > > ide or is compiled into a .gambas file ? > > > > > > thank's in advance. > > > > > > > #If Exec > > ' ... do whatever > > #End > > > > hth > > bruce > > > > This seems to work but I had to dig into the compiler's source code to > verify it. Then I saw that "gbc3 --help" mentions the "-x" switch which > defines the Exec preprocessor constant [ I will update the documentation > in a second if no one objects ]. But apparently it doesn't do anything > else, like *forcing* the creation of an archive, which is where this method > begins to fail. I can write the following project: > > Public Sub Main() > #If Exec > Debug "Exec" > #Else > Debug "No Exec" > #Endif > End > > The IDE is nice in that it uses "gbc3 -x" if and only if it creates an > executable archive (see Project.module:GetCompileCommand) -- then the > Exec flag trick works. But I can go into a terminal and do > > $ cd /tmp/exec-flag # which is my test project above > $ gbc3 -ga # without -x > $ gba3 > $ ./exec-flag.gambas > MMain.Main.7: No Exec > > but I clearly started an executable archive. On the other side I can do > > $ gbc3 -gax > $ gbx3 > MMain.Main.5: Exec > > but I didn't run it from an executable archive. So, the Exec flag trick > works if you expect people to compile stuff via the IDE. > > Also, you should know that there is at least a third way to run a program, > as I have already shown above: > > $ gbx3 /tmp/exec-flag # if it was compiled before > > which runs outside of the IDE but doesn't create a .gambas archive. > > So, you might ask yourself now why it is so difficult to determine whether > you run from an executable archive or not. The answer is: you shouldn't > care. Write your program properly :-) > > Regads, > Tobi > Salut, I use since gambas1 the IDE arguments (which only available in the IDE). I set a ISIDE, if in any form pressend it comes from the IDE SUB chkIfIsIDE() DIM nI AS Integer bIsIDE = FALSE FOR nI = 0 TO Application.Args.Count - 1 ' PRINT Application.Args[nI] IF Instr(UCase(Application.Args[nI]), "ISIDE") > 0 THEN bIsIDE = TRUE ENDIF NEXT END -- Amicalement Charlie From gambas at ...3466... Sun Jun 14 13:54:12 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sun, 14 Jun 2015 13:54:12 +0200 Subject: [Gambas-user] know if program is compiled In-Reply-To: <20150614184319.6b58a2814467efed3d94adf1@...626...> References: <557D38FC.2050704@...3466...> <20150614184319.6b58a2814467efed3d94adf1@...626...> Message-ID: <557D6B64.3040005@...3466...> Il 14/06/2015 11:13, adamnt42 at ...626... ha scritto: > On Sun, 14 Jun 2015 10:19:08 +0200 > #If Exec > ' ... do whatever > #End > > hth > bruce > It works perfectly , now a question , using that can I be sure that having only the .gambas file there's no way to run without the Exec variable set ? From vuott at ...325... Sun Jun 14 14:22:22 2015 From: vuott at ...325... (Ru Vuott) Date: Sun, 14 Jun 2015 13:22:22 +0100 Subject: [Gambas-user] R: know if program is compiled In-Reply-To: <557D38FC.2050704@...3466...> Message-ID: <1434284542.80139.YahooMailBasic@...3275...> ...and this ? Public Sub Main() If File.Load("/proc" &/ CStr(Application.Id) &/ "cmdline") Like "*.gambas*" Then Print "Running compiled into a .gambas file" Else Print "Running under the IDE" Endif End regards vuott -------------------------------------------- Dom 14/6/15, Marco Ancillotti ha scritto: Oggetto: [Gambas-user] know if program is compiled A: "mailing list for gambas users" Data: Domenica 14 giugno 2015, 10:19 Hi all, is there a way to detect from a gambas program if it's running under the ide or is compiled into a .gambas file ? thank's in advance. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...3466... Sun Jun 14 15:03:58 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sun, 14 Jun 2015 15:03:58 +0200 Subject: [Gambas-user] R: know if program is compiled In-Reply-To: <1434284542.80139.YahooMailBasic@...3275...> References: <1434284542.80139.YahooMailBasic@...3275...> Message-ID: <557D7BBE.1020204@...3466...> Il 14/06/2015 14:22, Ru Vuott ha scritto: > ...and this ? > > Public Sub Main() > > If File.Load("/proc" &/ CStr(Application.Id) &/ "cmdline") Like "*.gambas*" Then > Print "Running compiled into a .gambas file" > Else > Print "Running under the IDE" > Endif > > End > if U add a simple "; echo .gambas" at the end of command line U can bypass that check. trust me , before using the Exec variable I've tryed a lot :-D From dl7nb at ...17... Sun Jun 14 15:21:21 2015 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 14 Jun 2015 15:21:21 +0200 Subject: [Gambas-user] How to change the color of error messages Message-ID: <557D7FD1.8090604@...17...> I have an error message that I can not read: How can I change the color to see the message? Wolfgang From sotema at ...626... Sun Jun 14 15:28:45 2015 From: sotema at ...626... (Emanuele Sottocorno) Date: Sun, 14 Jun 2015 15:28:45 +0200 Subject: [Gambas-user] Rev. 7130: workspace not working with Gtk/Gtk3 Message-ID: <1434288525.4186.5.camel@...626...> Opening a form with a workspace in it, fails with error: "No mouse event data" in function: _TabPanelButton.DrawingArea_MouseMove.373 -------------- next part -------------- A non-text attachment was scrubbed... Name: workspacebug-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4077 bytes Desc: not available URL: From gambas at ...1... Sun Jun 14 16:32:59 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 16:32:59 +0200 Subject: [Gambas-user] How to set a working directory using EXEC In-Reply-To: References: Message-ID: <557D909B.7060002@...1...> Le 14/06/2015 00:55, Antonio S?nchez a ?crit : > Hi, I have read this thread: > http://gambas.8142.n7.nabble.com/patch-for-setting-directory-on-EXEC-td41205.html > > ...but at the end how we can set the working directory when we use EXEC? > > > Thanks. This is written in the thread there: > if PWD is set using the WITH keyword option to EXEC then > this is the current directory for the process spawned by EXEC. So you write something like that: EXEC [ "myprog", "-option", "arg" ] WITH [ "PWD=/working/directory" ] It's a syntax hack ; maybe it deserves its own syntax. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jun 14 16:35:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 16:35:00 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557D7FD1.8090604@...17...> References: <557D7FD1.8090604@...17...> Message-ID: <557D9114.2000404@...1...> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : > I have an error message that I can not read: > > > How can I change the color to see the message? > > Wolfgang > Can you send a screenshot of your unreadable error message? -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Jun 14 17:33:04 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Jun 2015 17:33:04 +0200 Subject: [Gambas-user] new Editor in the IDE Message-ID: <1434295984.3660.18.camel@...40...> Salut Beno?t, I observed since I use the new Editor that sometimes the mouse do not work anymore. You cant change the line, not mark a word or words, menus open etc. What I did not check yet, is if I can scroll and if I can change to another Tab. I cannot reproduce it, but it happened to me multiple times. Workaround moving the cursor up/down with the flesh keys. I also remarked that at debug-time the dblclick on an object or a variable don't raise the value-or object window. This I also can't reproduce it, but it also happened to me multiple times. [System] Gambas=3.7.90 Revision: 7130 OperatingSystem=Linux Kernel=3.2.0-85-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie From taboege at ...626... Sun Jun 14 17:35:36 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 14 Jun 2015 17:35:36 +0200 Subject: [Gambas-user] new Editor in the IDE In-Reply-To: <1434295984.3660.18.camel@...40...> References: <1434295984.3660.18.camel@...40...> Message-ID: <20150614153536.GF601@...2774...> On Sun, 14 Jun 2015, Charlie Reinl wrote: > Salut Beno??t, > > I observed since I use the new Editor that sometimes the mouse do not > work anymore. > You cant change the line, not mark a word or words, menus open etc. > What I did not check yet, is if I can scroll and if I can change to > another Tab. > > I cannot reproduce it, but it happened to me multiple times. > > Workaround moving the cursor up/down with the flesh keys. > Happened here, too. IIRC, I could just minimise the IDE window and bringt it back up again. Then the mouse worked. I also noted that Ctrl+Backspace doesn't delete whole words anymore. Yesterday -- when I caught up on lots of Gambas business -- I noticed just how often I use this combination :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Jun 14 17:42:38 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 17:42:38 +0200 Subject: [Gambas-user] ERROR in TextEditor.LinePos.998 In-Reply-To: <1434195755.48738.YahooMailBasic@...3269...> References: <1434195755.48738.YahooMailBasic@...3269...> Message-ID: <557DA0EE.6040807@...1...> Le 13/06/2015 13:42, Ru Vuott a ?crit : > Hello, > > I get an error, if I launch twice this very simple code: > > Public Sub Main() > > Print String(100, "ab ") > > End > > > In particular, I notice that - if the text written in the console exceeds the current width of the console - first time it runs, but second this error happens: > > " This application has raised an unespected > error and must abort. > > [21] Out of Bounds, > >>>>TextEditor.LinePos.998 " > > > Regards > vuott > Fixed in revision #7131. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jun 14 17:46:26 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 17:46:26 +0200 Subject: [Gambas-user] Rev. 7130: workspace not working with Gtk/Gtk3 In-Reply-To: <1434288525.4186.5.camel@...626...> References: <1434288525.4186.5.camel@...626...> Message-ID: <557DA1D2.9020407@...1...> Le 14/06/2015 15:28, Emanuele Sottocorno a ?crit : > Opening a form with a workspace in it, fails with error: > > "No mouse event data" in function: > _TabPanelButton.DrawingArea_MouseMove.373 > Fixed in revision #7132. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jun 14 17:51:43 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 14 Jun 2015 17:51:43 +0200 Subject: [Gambas-user] new Editor in the IDE In-Reply-To: <1434295984.3660.18.camel@...40...> References: <1434295984.3660.18.camel@...40...> Message-ID: <557DA30F.2080703@...1...> Le 14/06/2015 17:33, Charlie Reinl a ?crit : > Salut Beno?t, > > I observed since I use the new Editor that sometimes the mouse do not > work anymore. > You cant change the line, not mark a word or words, menus open etc. > What I did not check yet, is if I can scroll and if I can change to > another Tab. > > I cannot reproduce it, but it happened to me multiple times. Can you provide more details? Apparently you don't have QT5, only QT4? I will check with QT4... For information, I have strange mouse behaviours with gb.qt5. One of them was identified and comes from a bug in QT5 that made the TextEditor control unresponsive until you move the mouse out of the control, and back to it again. Apparently, QT5 sometimes does not raise the Enter/Leave events correctly. There is a workaround for that in revision #7130. Now the only consequence is an incorrect mouse cursor. Kate or KWrite have exactly the same bug : every QT5 application where you can select something with the mouse, and leave the widget having the selection with the mouse button pressed. > > Workaround moving the cursor up/down with the flesh keys. > > I also remarked that at debug-time the dblclick on an object or a > variable don't raise the value-or object window. Mmm, I have no problem wit that there. I Will check with QT4 too. -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Jun 14 18:05:00 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Jun 2015 18:05:00 +0200 Subject: [Gambas-user] new Editor in the IDE In-Reply-To: <557DA30F.2080703@...1...> References: <1434295984.3660.18.camel@...40...> <557DA30F.2080703@...1...> Message-ID: <1434297900.3660.22.camel@...40...> Am Sonntag, den 14.06.2015, 17:51 +0200 schrieb Beno?t Minisini: > Le 14/06/2015 17:33, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > I observed since I use the new Editor that sometimes the mouse do not > > work anymore. > > You cant change the line, not mark a word or words, menus open etc. > > What I did not check yet, is if I can scroll and if I can change to > > another Tab. > > > > I cannot reproduce it, but it happened to me multiple times. > > Can you provide more details? Apparently you don't have QT5, only QT4? I > will check with QT4... Yes, no qt5 on my box > > For information, I have strange mouse behaviours with gb.qt5. > > One of them was identified and comes from a bug in QT5 that made the > TextEditor control unresponsive until you move the mouse out of the > control, and back to it again. > > Apparently, QT5 sometimes does not raise the Enter/Leave events correctly. > > There is a workaround for that in revision #7130. Now the only > consequence is an incorrect mouse cursor. Kate or KWrite have exactly > the same bug : every QT5 application where you can select something with > the mouse, and leave the widget having the selection with the mouse > button pressed. I will investigate and have a look to enter/leave and send you the news > > > > Workaround moving the cursor up/down with the flesh keys. > > > > I also remarked that at debug-time the dblclick on an object or a > > variable don't raise the value-or object window. > > Mmm, I have no problem wit that there. I Will check with QT4 too. > I will investigate too. -- Amicalement Charlie From dl7nb at ...17... Sun Jun 14 18:37:18 2015 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 14 Jun 2015 18:37:18 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557D9114.2000404@...1...> References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> Message-ID: <557DADBE.4080503@...17...> Hello Benoit nad thank you for answering! Sorry! Had it embedded in last message. Seemed to be stripped. This time as attachment, so you can see. 73 de Wolfgang, dl7nb Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: > Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : >> I have an error message that I can not read: >> >> >> How can I change the color to see the message? >> >> Wolfgang >> > Can you send a screenshot of your unreadable error message? > -------------- next part -------------- A non-text attachment was scrubbed... Name: Error.jpg Type: image/jpeg Size: 6024 bytes Desc: not available URL: From Karl.Reinl at ...2345... Sun Jun 14 19:07:59 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Jun 2015 19:07:59 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557DADBE.4080503@...17...> References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> <557DADBE.4080503@...17...> Message-ID: <1434301679.8725.7.camel@...40...> Am Sonntag, den 14.06.2015, 18:37 +0200 schrieb Wolfgang, dl7nb: > Hello Benoit nad thank you for answering! > Sorry! Had it embedded in last message. Seemed to be stripped. This time > as attachment, so you can see. > > 73 de Wolfgang, dl7nb > > > > Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: > > Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : > >> I have an error message that I can not read: > >> > >> > >> How can I change the color to see the message? > >> > >> Wolfgang > >> > > Can you send a screenshot of your unreadable error message? > > > Salut Wolfgang, the message is : '&1.&2' wird in der Klasse '&3' unkorrekt redefiniert '&1.&2' is incorrectly overridden in class '&3' So it can bee like that: 'Form.Main' wird in der Klasse 'FMain' unkorrekt redefiniert For you color problem look at the users-email archiv 'Changing Error Background Color or Font Color' -- Amicalement Charlie From gambas at ...1... Sun Jun 14 19:19:38 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 19:19:38 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557DADBE.4080503@...17...> References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> <557DADBE.4080503@...17...> Message-ID: <557DB7AA.6080003@...1...> Le 14/06/2015 18:37, Wolfgang, dl7nb a ?crit : > Hello Benoit nad thank you for answering! > Sorry! Had it embedded in last message. Seemed to be stripped. This time > as attachment, so you can see. > > 73 de Wolfgang, dl7nb > > > > Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: >> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : >>> I have an error message that I can not read: >>> >>> >>> How can I change the color to see the message? >>> >>> Wolfgang >>> >> Can you send a screenshot of your unreadable error message? >> > ...and the information on your system? -- Beno?t Minisini From dl7nb at ...17... Sun Jun 14 19:25:28 2015 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 14 Jun 2015 19:25:28 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557DB7AA.6080003@...1...> References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> <557DADBE.4080503@...17...> <557DB7AA.6080003@...1...> Message-ID: <557DB908.2040808@...17...> 73 de Wolfgang, dl7nb Am 14.06.2015 um 19:19 schrieb Beno?t Minisini: > Le 14/06/2015 18:37, Wolfgang, dl7nb a ?crit : >> Hello Benoit nad thank you for answering! >> Sorry! Had it embedded in last message. Seemed to be stripped. This time >> as attachment, so you can see. >> >> 73 de Wolfgang, dl7nb >> >> >> >> Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: >>> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : >>>> I have an error message that I can not read: >>>> >>>> >>>> How can I change the color to see the message? >>>> >>>> Wolfgang >>>> >>> Can you send a screenshot of your unreadable error message? >>> > ...and the information on your system? > ...is here: [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.13.0-54-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=de_DE.UTF-8 Memory=1999M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From vuott at ...325... Sun Jun 14 19:34:02 2015 From: vuott at ...325... (Ru Vuott) Date: Sun, 14 Jun 2015 18:34:02 +0100 Subject: [Gambas-user] ERROR in TextEditor.LinePos.998 In-Reply-To: <557DA0EE.6040807@...1...> Message-ID: <1434303242.88153.YahooMailBasic@...3273...> Well, now it's OK. regards -------------------------------------------- Dom 14/6/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR in TextEditor.LinePos.998 A: "mailing list for gambas users" Data: Domenica 14 giugno 2015, 17:42 Le 13/06/2015 13:42, Ru Vuott a ?crit : > Hello, > > I get an error, if I launch twice this very simple code: > > Public Sub Main() > >? ? Print String(100, "ab ") > > End > > > In particular, I notice that - if the text written in the console exceeds the current width of the console -? first time it runs, but second this error happens: > > " This application has raised an unespected >? ???error and must abort. > >? ???[21] Out of Bounds, >? ???>>>>TextEditor.LinePos.998 " > > > Regards > vuott > Fixed in revision #7131. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jun 14 19:42:15 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Jun 2015 19:42:15 +0200 Subject: [Gambas-user] new Editor in the IDE In-Reply-To: <20150614153536.GF601@...2774...> References: <1434295984.3660.18.camel@...40...> <20150614153536.GF601@...2774...> Message-ID: <557DBCF7.9070006@...1...> Le 14/06/2015 17:35, Tobias Boege a ?crit : > On Sun, 14 Jun 2015, Charlie Reinl wrote: >> Salut Beno??t, >> >> I observed since I use the new Editor that sometimes the mouse do not >> work anymore. >> You cant change the line, not mark a word or words, menus open etc. >> What I did not check yet, is if I can scroll and if I can change to >> another Tab. >> >> I cannot reproduce it, but it happened to me multiple times. >> >> Workaround moving the cursor up/down with the flesh keys. >> > > Happened here, too. IIRC, I could just minimise the IDE window and bringt it > back up again. Then the mouse worked. > > I also noted that Ctrl+Backspace doesn't delete whole words anymore. > Yesterday -- when I caught up on lots of Gambas business -- I noticed just > how often I use this combination :-) > > Regards, > Tobi > It came back in revision #7133! Regards, -- Beno?t Minisini From bagonergi at ...626... Sun Jun 14 21:15:07 2015 From: bagonergi at ...626... (Gianluigi) Date: Sun, 14 Jun 2015 21:15:07 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: <557DB908.2040808@...17...> References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> <557DADBE.4080503@...17...> <557DB7AA.6080003@...1...> <557DB908.2040808@...17...> Message-ID: Hello Wolfgang, Here the Ron Klinkien trink: You can make them readable with these two commands, you might need to change 'Ambiance' to 'QGtk', not sure, just try. sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc Regards Gianluigi 2015-06-14 19:25 GMT+02:00 Wolfgang, dl7nb : > > 73 de Wolfgang, dl7nb > > > > Am 14.06.2015 um 19:19 schrieb Beno?t Minisini: > > Le 14/06/2015 18:37, Wolfgang, dl7nb a ?crit : > >> Hello Benoit nad thank you for answering! > >> Sorry! Had it embedded in last message. Seemed to be stripped. This time > >> as attachment, so you can see. > >> > >> 73 de Wolfgang, dl7nb > >> > >> > >> > >> Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: > >>> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : > >>>> I have an error message that I can not read: > >>>> > >>>> > >>>> How can I change the color to see the message? > >>>> > >>>> Wolfgang > >>>> > >>> Can you send a screenshot of your unreadable error message? > >>> > > ...and the information on your system? > > > ...is here: > > [System] > Gambas=3.7.1 > OperatingSystem=Linux > Kernel=3.13.0-54-generic > Architecture=x86 > Distribution=Ubuntu 14.04.2 LTS > Desktop=GNOME > Theme=QGtk > Language=de_DE.UTF-8 > Memory=1999M > [Libraries] > Cairo=libcairo.so.0.0.0 > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Jun 15 00:03:01 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 15 Jun 2015 00:03:01 +0200 Subject: [Gambas-user] Package list and dependencies out of date In-Reply-To: <5869e44ecf449351b6915f12ed6406fe@...3474...> References: <5869e44ecf449351b6915f12ed6406fe@...3474...> Message-ID: <557DFA15.6050403@...1...> Le 13/06/2015 21:18, willy at ...3474... a ?crit : > Hi all, > > Could it be the 'How to package - packagelist' at GambasWiki > (http://gambaswiki.org/wiki/howto/package#t8) is a bit outdated. The page has been updated, and the component package list will now be automatically updated. -- Beno?t Minisini From willy at ...3474... Mon Jun 15 02:30:26 2015 From: willy at ...3474... (willy at ...3474...) Date: Mon, 15 Jun 2015 02:30:26 +0200 Subject: [Gambas-user] Package list and dependencies out of date In-Reply-To: <557DFA15.6050403@...1...> References: <5869e44ecf449351b6915f12ed6406fe@...3474...> <557DFA15.6050403@...1...> Message-ID: <0d5d64aab7bb407915380d6bb41d70e3@...3474...> On 2015-06-15 00:03, Beno?t Minisini wrote: > Le 13/06/2015 21:18, willy at ...3474... a ?crit : >> Hi all, >> >> Could it be the 'How to package - packagelist' at GambasWiki >> (http://gambaswiki.org/wiki/howto/package#t8) is a bit outdated. > > The page has been updated, and the component package list will now be > automatically updated. Thank you Beno?t, It looks better. One thing, the split between <= 3.7 and >= 3.8 isn't quite correct. There is stuff missing in the <=3.7 for 3.6 and 3.7 to be more specific. For 3.6 desktop-gnome-keyring, desktop-x11, gtk3 and inotify are missing in the list. For 3.7 report2, scanner, sld2, sdl2-audio, util and util-web are missing in the list. Maybe and extra adition to the last table on the page (with note '3.6 only' or '3.6/3.7 only') would do the trick? gbWilly From gambas at ...2524... Mon Jun 15 09:44:23 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 15 Jun 2015 07:44:23 +0000 Subject: [Gambas-user] Issue 625 in gambas: TextArea (gb.qt4) Mishandles CR Char Message-ID: <0-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 625 by ceilingc... at ...626...: TextArea (gb.qt4) Mishandles CR Char https://code.google.com/p/gambas/issues/detail?id=625 When TextArea control is set to a string containing CRLF it strips out CR and leaves only LF. This does not occur for TextBox, but only for TextArea, and then only when the project is utilizing gb.qt4 (as is required for gb.qt4.webkit for my purposes). As an example, when setting a TextBox's Text property to "Test\r\nTest2" and then checking the length with Len() it is reported as 11 chars. When setting a TextArea's Text to that very same string, Len() reports it as 10 chars. Using Mid() on the string to find the character immediately after "Test" reports the first char as 10 (LF) rather than 13 (CR), and then checking the next character immediately after that is "T" confirming that the CR has indeed gone missing. [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QPlastique Language=en_US.UTF-8 Memory=3952M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: TextBug.tar.gz 4.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From dl7nb at ...17... Mon Jun 15 11:42:46 2015 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Mon, 15 Jun 2015 11:42:46 +0200 Subject: [Gambas-user] How to change the color of error messages In-Reply-To: References: <557D7FD1.8090604@...17...> <557D9114.2000404@...1...> <557DADBE.4080503@...17...> <557DB7AA.6080003@...1...> <557DB908.2040808@...17...> Message-ID: <557E9E16.5060603@...17...> 73 de Wolfgang, dl7nb Hello Gianluigi! Your tip did the trick!! Thank you! I did not think that it could be a linux("external") problem, so I searched and searche inside Gambas. I think I am not that experianced with Linux than I thought to be.. :-( And thank to all of the list that helped, too! I am glad rto be in this list, where help is at hand! Best wishes to all Wolfgang Am 14.06.2015 um 21:15 schrieb Gianluigi: > Hello Wolfgang, > Here the Ron Klinkien trink: > You can make them readable with these two commands, you might need to > change 'Ambiance' to 'QGtk', not sure, just try. > > sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' > /usr/share/themes/Ambiance/gtk-2.0/gtkrc > sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' > /usr/share/themes/Ambiance/gtk-2.0/gtkrc > > Regards > Gianluigi > > 2015-06-14 19:25 GMT+02:00 Wolfgang, dl7nb : > >> 73 de Wolfgang, dl7nb >> >> >> >> Am 14.06.2015 um 19:19 schrieb Beno?t Minisini: >>> Le 14/06/2015 18:37, Wolfgang, dl7nb a ?crit : >>>> Hello Benoit nad thank you for answering! >>>> Sorry! Had it embedded in last message. Seemed to be stripped. This time >>>> as attachment, so you can see. >>>> >>>> 73 de Wolfgang, dl7nb >>>> >>>> >>>> >>>> Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: >>>>> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : >>>>>> I have an error message that I can not read: >>>>>> >>>>>> >>>>>> How can I change the color to see the message? >>>>>> >>>>>> Wolfgang >>>>>> >>>>> Can you send a screenshot of your unreadable error message? >>>>> >>> ...and the information on your system? >>> >> ...is here: >> >> [System] >> Gambas=3.7.1 >> OperatingSystem=Linux >> Kernel=3.13.0-54-generic >> Architecture=x86 >> Distribution=Ubuntu 14.04.2 LTS >> Desktop=GNOME >> Theme=QGtk >> Language=de_DE.UTF-8 >> Memory=1999M >> [Libraries] >> Cairo=libcairo.so.0.0.0 >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Mon Jun 15 12:16:27 2015 From: bagonergi at ...626... (Gianluigi) Date: Mon, 15 Jun 2015 12:16:27 +0200 Subject: [Gambas-user] How to change the color of error messages Message-ID: Hello Wolfgang, if it's any consolation, look here [0] :) Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Ubuntu-message-td51082.html 2015-06-15 11:42 GMT+02:00 Wolfgang, dl7nb : > > 73 de Wolfgang, dl7nb > > Hello Gianluigi! > > Your tip did the trick!! Thank you! > > I did not think that it could be a linux("external") problem, so I > searched and searche inside Gambas. > I think I am not that experianced with Linux than I thought to be.. :-( > > And thank to all of the list that helped, too! I am glad rto be in this > list, where help is at hand! > > Best wishes to all > > Wolfgang > > Am 14.06.2015 um 21:15 schrieb Gianluigi: > > Hello Wolfgang, > > Here the Ron Klinkien trink: > > You can make them readable with these two commands, you might need to > > change 'Ambiance' to 'QGtk', not sure, just try. > > > > sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' > > /usr/share/themes/Ambiance/gtk-2.0/gtkrc > > sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' > > /usr/share/themes/Ambiance/gtk-2.0/gtkrc > > > > Regards > > Gianluigi > > > > 2015-06-14 19:25 GMT+02:00 Wolfgang, dl7nb : > > > >> 73 de Wolfgang, dl7nb > >> > >> > >> > >> Am 14.06.2015 um 19:19 schrieb Beno?t Minisini: > >>> Le 14/06/2015 18:37, Wolfgang, dl7nb a ?crit : > >>>> Hello Benoit nad thank you for answering! > >>>> Sorry! Had it embedded in last message. Seemed to be stripped. This > time > >>>> as attachment, so you can see. > >>>> > >>>> 73 de Wolfgang, dl7nb > >>>> > >>>> > >>>> > >>>> Am 14.06.2015 um 16:35 schrieb Beno?t Minisini: > >>>>> Le 14/06/2015 15:21, Wolfgang, dl7nb a ?crit : > >>>>>> I have an error message that I can not read: > >>>>>> > >>>>>> > >>>>>> How can I change the color to see the message? > >>>>>> > >>>>>> Wolfgang > >>>>>> > >>>>> Can you send a screenshot of your unreadable error message? > >>>>> > >>> ...and the information on your system? > >>> > >> ...is here: > >> > >> [System] > >> Gambas=3.7.1 > >> OperatingSystem=Linux > >> Kernel=3.13.0-54-generic > >> Architecture=x86 > >> Distribution=Ubuntu 14.04.2 LTS > >> Desktop=GNOME > >> Theme=QGtk > >> Language=de_DE.UTF-8 > >> Memory=1999M > >> [Libraries] > >> Cairo=libcairo.so.0.0.0 > >> Cairo=libcairo.so.2.11301.0 > >> Curl=libcurl.so.4.3.0 > >> DBus=libdbus-1.so.3.7.6 > >> GStreamer=libgstreamer-0.10.so.0.30.0 > >> GStreamer=libgstreamer-1.0.so.0.204.0 > >> GTK+3=libgtk-3.so.0.1000.8 > >> GTK+=libgtk-x11-2.0.so.0.2400.23 > >> OpenGL=libGL.so.1.2.0 > >> Poppler=libpoppler.so.44.0.0 > >> Qt4=libQtCore.so.4.8.6 > >> SDL=libSDL-1.2.so.0.11.4 > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Mon Jun 15 14:01:12 2015 From: rterry at ...1823... (richard terry) Date: Mon, 15 Jun 2015 22:01:12 +1000 Subject: [Gambas-user] Workspace editor question Message-ID: <557EBE88.6090208@...1823...> Hi List, Long time no post though I read the list daily. I've asked this question before and probably not understood how to implement it but I'll try again. I use a workspace in my medical program. When the user clicks on buttons to access a section, a Form representing the section is added to the workspace as a new tab, I guess visually this is the same way the gambas IDE works when you click on a form or class to view. I want to be able to detect when the user clicks on the little 'x' mark on the tab, so that I can progress any outstanding information which hasn't been saved by the user, I've never been able to figure out how. Also how to access the menu events which popup over that tab e.g the one saying detach tab etc When I programatically clear all the tabs in my workspace, as the user may want when they have finished a consult and want to load a new patient, I can just loop through all the save events on all the forms and do this, before the user searches for a new patient, but can't figure out how to detect the click on the little 'x' which closes the tab itself. Does this make sense? Thanks for help in advance. Richard From gambas at ...1... Mon Jun 15 14:15:09 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 15 Jun 2015 14:15:09 +0200 Subject: [Gambas-user] Workspace editor question In-Reply-To: <557EBE88.6090208@...1823...> References: <557EBE88.6090208@...1823...> Message-ID: <557EC1CD.8010108@...1...> Le 15/06/2015 14:01, richard terry a ?crit : > Hi List, > > Long time no post though I read the list daily. > > I've asked this question before and probably not understood how to > implement it but I'll try again. > > I use a workspace in my medical program. When the user clicks on buttons > to access a section, a Form representing the section is added to the > workspace as a new tab, I guess visually this is the same way the gambas > IDE works when you click on a form or class to view. > > I want to be able to detect when the user clicks on the little 'x' mark > on the tab, so that I can progress any outstanding information which > hasn't been saved by the user, I've never been able to figure out how. > Also how to access the menu events which popup over that tab e.g the one > saying detach tab etc > > When I programatically clear all the tabs in my workspace, as the user > may want when they have finished a consult and want to load a new > patient, I can just loop through all the save events on all the forms > and do this, before the user searches for a new patient, but can't > figure out how to detect the click on the little 'x' which closes the > tab itself. > > Does this make sense? > > Thanks for help in advance. > > Richard > You have to use the Form_Close() event handler of your form. Because your form can be closed with the little 'x' or with the menu, or if you call the Close() method of the form. If you want to cancel the form close, just use STOP EVENT in the Form_Close() event handler. Regards, -- Beno?t Minisini From gambas at ...2524... Mon Jun 15 14:24:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 15 Jun 2015 12:24:28 +0000 Subject: [Gambas-user] Issue 625 in gambas: TextArea (gb.qt4) Mishandles CR Char In-Reply-To: <0-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.7.0 Comment #1 on issue 625 by benoit.m... at ...626...: TextArea (gb.qt4) Mishandles CR Char https://code.google.com/p/gambas/issues/detail?id=625 I'm afraid this is an internal Qt behaviour I can't fix... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Mon Jun 15 15:19:54 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 15 Jun 2015 15:19:54 +0200 Subject: [Gambas-user] new Editor in the IDE In-Reply-To: <1434295984.3660.18.camel@...40...> References: <1434295984.3660.18.camel@...40...> Message-ID: <1434374394.3552.12.camel@...40...> Am Sonntag, den 14.06.2015, 17:33 +0200 schrieb Charlie Reinl: > Salut Beno?t, > > I observed since I use the new Editor that sometimes the mouse do not > work anymore. > You cant change the line, not mark a word or words, menus open etc. > What I did not check yet, is if I can scroll and if I can change to > another Tab. > > I cannot reproduce it, but it happened to me multiple times. > > Workaround moving the cursor up/down with the flesh keys. > > I also remarked that at debug-time the dblclick on an object or a > variable don't raise the value-or object window. > > This I also can't reproduce it, but it also happened to me multiple > times. > > [System] > Gambas=3.7.90 Revision: 7130 > OperatingSystem=Linux > Kernel=3.2.0-85-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 LTS > Desktop=GNOME > Theme=Plastique > Language=de_DE.UTF-8 > Memory=3025M > > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+3=libgtk-3.so.0.400.2 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > Salut Beno?t, I can reproduce it now: - Get WebBrowser 1.0.1 from the Softwarefarm - load it into the IDE - Open FBrowser.form - dblClick on a ToolButton in the toolbar - in the open Editor Windows : * by a dblClick (somewhere) the first word in the selected line is selected * by a click (somewhere in the breakpoint-column) set a breakpoint in the selected line -- Amicalement Charlie From gambas at ...2524... Mon Jun 15 18:43:41 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 15 Jun 2015 16:43:41 +0000 Subject: [Gambas-user] Issue 625 in gambas: TextArea (gb.qt4) Mishandles CR Char In-Reply-To: <1-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> <0-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8098816451599240182-gambas=googlecode.com@...2524...> Comment #2 on issue 625 by ceilingc... at ...626...: TextArea (gb.qt4) Mishandles CR Char https://code.google.com/p/gambas/issues/detail?id=625 Okay, thanks for the feedback. I implemented a workaround in my own project using Replace() so maybe it's not a big deal if it's documented. In that regard, I added a note to the applicable wiki page here --> http://gambaswiki.org/wiki/comp/gb.qt4/textarea/text -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rterry at ...1823... Tue Jun 16 00:27:33 2015 From: rterry at ...1823... (richard terry) Date: Tue, 16 Jun 2015 08:27:33 +1000 Subject: [Gambas-user] Workspace editor question In-Reply-To: <557EC1CD.8010108@...1...> References: <557EBE88.6090208@...1823...> <557EC1CD.8010108@...1...> Message-ID: <557F5155.8000500@...1823...> On 15/06/15 22:15, Beno?t Minisini wrote: > Le 15/06/2015 14:01, richard terry a ?crit : >> Hi List, >> >> Long time no post though I read the list daily. >> >> I've asked this question before and probably not understood how to >> implement it but I'll try again. >> >> I use a workspace in my medical program. When the user clicks on buttons >> to access a section, a Form representing the section is added to the >> workspace as a new tab, I guess visually this is the same way the gambas >> IDE works when you click on a form or class to view. >> >> I want to be able to detect when the user clicks on the little 'x' mark >> on the tab, so that I can progress any outstanding information which >> hasn't been saved by the user, I've never been able to figure out how. >> Also how to access the menu events which popup over that tab e.g the one >> saying detach tab etc >> >> When I programatically clear all the tabs in my workspace, as the user >> may want when they have finished a consult and want to load a new >> patient, I can just loop through all the save events on all the forms >> and do this, before the user searches for a new patient, but can't >> figure out how to detect the click on the little 'x' which closes the >> tab itself. >> >> Does this make sense? >> >> Thanks for help in advance. >> >> Richard >> > You have to use the Form_Close() event handler of your form. Because > your form can be closed with the little 'x' or with the menu, or if you > call the Close() method of the form. > > If you want to cancel the form close, just use STOP EVENT in the > Form_Close() event handler. > > Regards, > Thanks benoit, I'll try again - I'm certain I tried this last time as that is where one would logically look, and wasn't able to get the workspace to continue to remove the tab anyway. I want to be able to intercept the tab close event e.g with a popup message saying "Are you sure you want to close this tab?" and allow a yes/no or whatever to act upon, not necessarily use the close event to save the forms contents. Is that possible? Regards Richard From bagonergi at ...626... Tue Jun 16 12:12:50 2015 From: bagonergi at ...626... (Gianluigi) Date: Tue, 16 Jun 2015 12:12:50 +0200 Subject: [Gambas-user] Workspace editor question In-Reply-To: <557F5155.8000500@...1823...> References: <557EBE88.6090208@...1823...> <557EC1CD.8010108@...1...> <557F5155.8000500@...1823...> Message-ID: This does not work? Public Sub Form_Close() Dim i As Integer i = Message.Question("Do you really want to close?", "YES", "NO") If i = 2 Then Stop Event End Regards Gianluigi 2015-06-16 0:27 GMT+02:00 richard terry : > On 15/06/15 22:15, Beno?t Minisini wrote: > > Le 15/06/2015 14:01, richard terry a ?crit : > >> Hi List, > >> > >> Long time no post though I read the list daily. > >> > >> I've asked this question before and probably not understood how to > >> implement it but I'll try again. > >> > >> I use a workspace in my medical program. When the user clicks on buttons > >> to access a section, a Form representing the section is added to the > >> workspace as a new tab, I guess visually this is the same way the gambas > >> IDE works when you click on a form or class to view. > >> > >> I want to be able to detect when the user clicks on the little 'x' mark > >> on the tab, so that I can progress any outstanding information which > >> hasn't been saved by the user, I've never been able to figure out how. > >> Also how to access the menu events which popup over that tab e.g the one > >> saying detach tab etc > >> > >> When I programatically clear all the tabs in my workspace, as the user > >> may want when they have finished a consult and want to load a new > >> patient, I can just loop through all the save events on all the forms > >> and do this, before the user searches for a new patient, but can't > >> figure out how to detect the click on the little 'x' which closes the > >> tab itself. > >> > >> Does this make sense? > >> > >> Thanks for help in advance. > >> > >> Richard > >> > > You have to use the Form_Close() event handler of your form. Because > > your form can be closed with the little 'x' or with the menu, or if you > > call the Close() method of the form. > > > > If you want to cancel the form close, just use STOP EVENT in the > > Form_Close() event handler. > > > > Regards, > > > Thanks benoit, I'll try again - I'm certain I tried this last time as > that is where one would logically look, and wasn't able to get the > workspace to continue to remove the tab anyway. I want to be able to > intercept the tab close event e.g with a popup message saying "Are you > sure you want to close this tab?" and allow a yes/no or whatever to act > upon, not necessarily use the close event to save the forms contents. > > Is that possible? > > Regards > > Richard > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Jun 16 18:23:26 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 16 Jun 2015 18:23:26 +0200 Subject: [Gambas-user] Wiki's @{syntax} command is wrong Message-ID: <20150616162325.GA600@...2774...> Hi, the @{syntax} command gives wrong output for the Polygon._put() method in gb.clipper[0], as it reports the syntax to be hPolygon [ Point As PointF ] = hPointF but Polygon is indexed with integers 0, ..., Polygon.Max. There seems to be nothing I can do about it as I don't know the wiki script. Regards, Tobi [0] http://gambaswiki.org/wiki/comp/gb.clipper/polygon/_put -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...3474... Wed Jun 17 23:43:31 2015 From: willy at ...3474... (willy at ...3474...) Date: Wed, 17 Jun 2015 23:43:31 +0200 Subject: [Gambas-user] Gambas repo for Debian jessie Message-ID: <4af40227d9f49a96a41e579205f34098@...3474...> Hi all, For the GambOS project we are looking to base next edition of GambOS based on Debian jessie (instead of Lubuntu). Big drawback so far is the Debian repositories always being far behind with Gambas3 packages. So, for the last two weeks or so, i have been making and testing pakages starting with Gambas 3.5.4, next Gambas 3.6.2 and finally Gambas 3.7.1 (all for i386 architecture for now) As I mentioned, I have also been testing by simply running my Gambas applications and work in IDE on the VM's I have gambas installed from the own repository. I'm writing this mail because I have made a setup to create a localhost repository. It requires installing and configuring lighttpd and extracting an archive into /var/www. Install a key, add a gambos.list to sources.list.d folder. Next after an apt-get update, you can install from your localhost repository. It is all well documented and the setup is not too hard. One thing, you will need to decide what repo to use as you have 3 available (3.5.4, 3.6.2 and 3.7.1). I am hoping some of you out here using Debian are willing to give the repo's a test (as they are still in testing fase). You can download the archive with instructions and repo archive at: http://gambos.org/gambos/Jessie-Repo-0.0.1.tar.gz Let me know what you think about it all by doing a private reply to this post. Thanks, gbWilly GambOS project http://gambos.org/ P.S If all starts looking well, the repositories will be hosted somewhere public, so all can use them (bit like the Gambas team PPA for Ubuntu, but with this difference that you can pick the gambas version you would like to use as of 3.5). From rterry at ...1823... Thu Jun 18 00:07:12 2015 From: rterry at ...1823... (richard terry) Date: Thu, 18 Jun 2015 08:07:12 +1000 Subject: [Gambas-user] Workspace editor question In-Reply-To: References: <557EBE88.6090208@...1823...> <557EC1CD.8010108@...1...> <557F5155.8000500@...1823...> Message-ID: <5581EF90.7060707@...1823...> Yes of course that will work on the form, but that has not been the issue for me. My gui design is complex. I will try to look at it again this weekend and get back to the list. BTW you don't need to dim an integer in that sub as this does the same thing: If message.Question("Do you really want to close?", "Yes", "No") = 2 then Regards Richard On 16/06/15 20:12, Gianluigi wrote: > This does not work? > > Public Sub Form_Close() > > Dim i As Integer > > i = Message.Question("Do you really want to close?", "YES", "NO") > > If i = 2 Then Stop Event > > End > > Regards > Gianluigi > > 2015-06-16 0:27 GMT+02:00 richard terry : > >> On 15/06/15 22:15, Beno?t Minisini wrote: >>> Le 15/06/2015 14:01, richard terry a ?crit : >>>> Hi List, >>>> >>>> Long time no post though I read the list daily. >>>> >>>> I've asked this question before and probably not understood how to >>>> implement it but I'll try again. >>>> >>>> I use a workspace in my medical program. When the user clicks on buttons >>>> to access a section, a Form representing the section is added to the >>>> workspace as a new tab, I guess visually this is the same way the gambas >>>> IDE works when you click on a form or class to view. >>>> >>>> I want to be able to detect when the user clicks on the little 'x' mark >>>> on the tab, so that I can progress any outstanding information which >>>> hasn't been saved by the user, I've never been able to figure out how. >>>> Also how to access the menu events which popup over that tab e.g the one >>>> saying detach tab etc >>>> >>>> When I programatically clear all the tabs in my workspace, as the user >>>> may want when they have finished a consult and want to load a new >>>> patient, I can just loop through all the save events on all the forms >>>> and do this, before the user searches for a new patient, but can't >>>> figure out how to detect the click on the little 'x' which closes the >>>> tab itself. >>>> >>>> Does this make sense? >>>> >>>> Thanks for help in advance. >>>> >>>> Richard >>>> >>> You have to use the Form_Close() event handler of your form. Because >>> your form can be closed with the little 'x' or with the menu, or if you >>> call the Close() method of the form. >>> >>> If you want to cancel the form close, just use STOP EVENT in the >>> Form_Close() event handler. >>> >>> Regards, >>> >> Thanks benoit, I'll try again - I'm certain I tried this last time as >> that is where one would logically look, and wasn't able to get the >> workspace to continue to remove the tab anyway. I want to be able to >> intercept the tab close event e.g with a popup message saying "Are you >> sure you want to close this tab?" and allow a yes/no or whatever to act >> upon, not necessarily use the close event to save the forms contents. >> >> Is that possible? >> >> Regards >> >> Richard >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Thu Jun 18 08:29:31 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Jun 2015 08:29:31 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() Message-ID: <20150618062931.GC586@...2774...> Hi Benoit, when I type "New Rect(", the IDE shows the signature of Rect's constructor doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which both have a Rect class. Does inheritance of the parent's constructor arguments cause this? What is the intended outcome if I specify both sets of arguments? :-) I guess the child's should override the parent's... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Jun 18 13:20:22 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Jun 2015 13:20:22 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() In-Reply-To: <20150618062931.GC586@...2774...> References: <20150618062931.GC586@...2774...> Message-ID: <5582A976.8020407@...1...> Le 18/06/2015 08:29, Tobias Boege a ?crit : > Hi Benoit, > > when I type "New Rect(", the IDE shows the signature of Rect's constructor > doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which > both have a Rect class. Does inheritance of the parent's constructor > arguments cause this? What is the intended outcome if I specify both sets > of arguments? :-) I guess the child's should override the parent's... > > Regards, > Tobi > There is no actual inheritance. It's just that as *.info files has no inheritance feature, both gb.qt4.info and gb.clipper.info (and other components that directly or indirectly automatically load the 'gb.geom' component) have the Rect class description in it. The problem is in the *.info file, not at runtime. The solution would be having an inclusion feature in *.info file, or something that tells the IDE that part of the description comes from another automatically loaded component. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jun 18 13:25:13 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Jun 2015 13:25:13 +0200 Subject: [Gambas-user] Wiki's @{syntax} command is wrong In-Reply-To: <20150616162325.GA600@...2774...> References: <20150616162325.GA600@...2774...> Message-ID: <5582AA99.6020008@...1...> Le 16/06/2015 18:23, Tobias Boege a ?crit : > Hi, > > the @{syntax} command gives wrong output for the Polygon._put() method > in gb.clipper[0], as it reports the syntax to be > > hPolygon [ Point As PointF ] = hPointF > > but Polygon is indexed with integers 0, ..., Polygon.Max. There seems > to be nothing I can do about it as I don't know the wiki script. > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/comp/gb.clipper/polygon/_put > You fixed it finally. :-) -- Beno?t Minisini From taboege at ...626... Thu Jun 18 15:02:11 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Jun 2015 15:02:11 +0200 Subject: [Gambas-user] Wiki's @{syntax} command is wrong In-Reply-To: <5582AA99.6020008@...1...> References: <20150616162325.GA600@...2774...> <5582AA99.6020008@...1...> Message-ID: <20150618130211.GG586@...2774...> On Thu, 18 Jun 2015, Beno?t Minisini wrote: > Le 16/06/2015 18:23, Tobias Boege a ?crit : > > Hi, > > > > the @{syntax} command gives wrong output for the Polygon._put() method > > in gb.clipper[0], as it reports the syntax to be > > > > hPolygon [ Point As PointF ] = hPointF > > > > but Polygon is indexed with integers 0, ..., Polygon.Max. There seems > > to be nothing I can do about it as I don't know the wiki script. > > > > Regards, > > Tobi > > > > [0] http://gambaswiki.org/wiki/comp/gb.clipper/polygon/_put > > > > You fixed it finally. :-) > Oh, yes it seems like it. The commit I made was actually motivated by a crash we encountered independently. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Thu Jun 18 16:56:25 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 18 Jun 2015 16:56:25 +0200 Subject: [Gambas-user] IDE crash Message-ID: <1434639385.3631.3.camel@...40...> Salut Beno?t, the IDE crash sometimes now See attachment [System] Gambas=3.7.90 rev.7139 OperatingSystem=Linux Kernel=3.2.0-86-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-18 16:01:21.png Type: image/png Size: 13224 bytes Desc: not available URL: From gambas at ...1... Thu Jun 18 17:10:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Jun 2015 17:10:17 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <1434639385.3631.3.camel@...40...> References: <1434639385.3631.3.camel@...40...> Message-ID: <5582DF59.2080209@...1...> Le 18/06/2015 16:56, Charlie Reinl a ?crit : > Salut Beno?t, > > the IDE crash sometimes now > See attachment > > [System] > Gambas=3.7.90 rev.7139 > OperatingSystem=Linux > Kernel=3.2.0-86-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 LTS > Desktop=GNOME > Theme=Plastique > Language=de_DE.UTF-8 > Memory=3025M > > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+3=libgtk-3.so.0.400.2 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > I need either a stack backtrace or what you did before it crashes. To get the stack backtrace, run the IDE from a console. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jun 18 20:27:37 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 18 Jun 2015 20:27:37 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <5582DF59.2080209@...1...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> Message-ID: <1434652057.3631.11.camel@...40...> Am Donnerstag, den 18.06.2015, 17:10 +0200 schrieb Beno?t Minisini: > Le 18/06/2015 16:56, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > the IDE crash sometimes now > > See attachment > > > > [System] > > Gambas=3.7.90 rev.7139 > > OperatingSystem=Linux > > Kernel=3.2.0-86-generic > > Architecture=x86 > > Distribution=Ubuntu 12.04.5 LTS > > Desktop=GNOME > > Theme=Plastique > > Language=de_DE.UTF-8 > > Memory=3025M > > > > [Libraries] > > Cairo=libcairo.so.2.11000.2 > > Curl=libcurl.so.4.2.0 > > DBus=libdbus-1.so.3.5.8 > > GStreamer=libgstreamer-0.10.so.0.30.0 > > GTK+3=libgtk-3.so.0.400.2 > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > Poppler=libpoppler.so.19.0.0 > > Qt4=libQtCore.so.4.8.1 > > SDL=libSDL-1.2.so.0.11.3 > > > > > > I need either a stack backtrace or what you did before it crashes. > > To get the stack backtrace, run the IDE from a console. > > Regards, > Salut Beno?t, here it is, one: >>>>TextEditor.LinePos.1008: #21: Out of bounds >>>>TextEditor.Clear.320 FOutput.Clear.45 Design.ClearOutput.1091 Design.Start.774 Design.Run.653 Project.Run.2609 FMain.Action_Activate.1360 >Action.Raise.204 + playing with WebBrowser 1.0.1 + run it + got an error + try to re-run (F5) it -> crash -- Amicalement Charlie From taboege at ...626... Thu Jun 18 20:38:03 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Jun 2015 20:38:03 +0200 Subject: [Gambas-user] Clipper counter-intuitivities Message-ID: <20150618183803.GK586@...2774...> Hi Benoit, the attached project shows two strange behaviours of Polygon from the gb.clipper component. (1) Polygon._get() returns a new PointF object created on the fly from internal data. However, people would think that hPolygon[0].X = 20 should modify the zeroth point's x coordinate to 20, which it doesn't in the current implementation. Can't we cache the PointF objects such that changes to the return values of _get() are updated into the Polygon? (2) If I AddPoint() like this pPoint = New PointF(10, 10) hPolygon.AddPoint(pPoint) Print hPolygon[hPolygon.Max].X it yields zero, but I feel it should be 10. I have no explanation for this one. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: clipper-strangeness-0.0.1.tar.gz Type: application/octet-stream Size: 3833 bytes Desc: not available URL: From taboege at ...626... Thu Jun 18 20:50:12 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Jun 2015 20:50:12 +0200 Subject: [Gambas-user] Three problems in the IDE (two of them Editor) Message-ID: <20150618185012.GL586@...2774...> Hi Benoit, two things about the editor: (1) If I write a semicolon into the first column of an otherwise empty line and click behind the semicolon on the line, the cursor always goes *before* the semicolon, never behind (where it should actually be). Rounding errors? (I use the default Gambas font.) (2) I spent so much time deleting superfluous whitespace from other people's code, I fear it has become an addiction. But now there don't seem to be those little dots anymore which helped me spot those whitespaces at the end of lines. Will they come back? I feel a little insecure without :-) Also a third thing about the IDE: in my installation (latest revision), the component selection dialog is not very usable anymore. It's been like that for some time already but I was too busy to report it. See attached screen- shot: I can't see a difference between checked an unchecked. Note that, e.g. gb.args is unchecked while gb.clipper is checked (according to .project). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ide-components.png Type: image/png Size: 55853 bytes Desc: not available URL: From willy at ...3474... Thu Jun 18 23:05:22 2015 From: willy at ...3474... (willy at ...3474...) Date: Thu, 18 Jun 2015 23:05:22 +0200 Subject: [Gambas-user] Feature request Message-ID: <536c53bd40a05a98aa343bd02f42e648@...3474...> Hi all, I have been looking at the Gambas IDE package code (in app/.src/gambas3/.src/packager folder) In the package module I see that packages for debain/ubuntu are made with: dpkg-buildpackage -d -rfakeroot Request 1: Could a simple -k option be added to 'dpkg-buildpackage -d -rfakeroot' for debian/ubuntu, so packages can be signed. This could be set as a preference in IDE where you could select 'package with key' and enter the key in a field and select the distro the key has to be used for when signing. Maybe it should be possible to have multople seperate key like one for Debian and one for Ubuntu to sign with (just thinking out loud) I have no idea how signing rpm packages works, but I guess it might be useful there as well. Request 2: I have noticed that some of the own application when packaged on i386 system (architecture for package by IDE is set to all) and installed on an armhf, they do not alway run, but crash without any GUI to be seen. If I next package that application on armhf (again as an all package) and install it on armhf it does run!! So, maybe it should be possible to default package all (like it is right now), but have the option to select a specif architecture so making specific architecture packages is possible (if desired). The only architecture that could be chosen (if not opting for default all) would have to be the architecture the IDE doing the packaging is running on. Thanks, gbWilly From gambas at ...1... Fri Jun 19 01:32:50 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 19 Jun 2015 01:32:50 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <1434652057.3631.11.camel@...40...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> <1434652057.3631.11.camel@...40...> Message-ID: <55835522.9020409@...1...> Le 18/06/2015 20:27, Charlie Reinl a ?crit : > > Salut Beno?t, > > here it is, one: >>>>> TextEditor.LinePos.1008: #21: Out of bounds >>>>> TextEditor.Clear.320 FOutput.Clear.45 Design.ClearOutput.1091 > Design.Start.774 Design.Run.653 Project.Run.2609 > FMain.Action_Activate.1360 >Action.Raise.204 > > + playing with WebBrowser 1.0.1 > + run it > + got an error > + try to re-run (F5) it > -> crash > Are you sure that you run the last revision? This bug has normally been fixed in revision #7131. Which error do you get exactly with WebBrowser 1.0.1? -- Beno?t Minisini From gambas at ...1... Fri Jun 19 01:56:45 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 01:56:45 +0200 Subject: [Gambas-user] Clipper counter-intuitivities In-Reply-To: <20150618183803.GK586@...2774...> References: <20150618183803.GK586@...2774...> Message-ID: <55835ABD.9080608@...1...> Le 18/06/2015 20:38, Tobias Boege a ?crit : > Hi Benoit, > > the attached project shows two strange behaviours of Polygon from the > gb.clipper component. > > (1) Polygon._get() returns a new PointF object created on the fly from > internal data. However, people would think that > > hPolygon[0].X = 20 > > should modify the zeroth point's x coordinate to 20, which it doesn't > in the current implementation. Can't we cache the PointF objects such > that changes to the return values of _get() are updated into the > Polygon? > To do that, we have to replace the PointF by a specific class (PolygonPointF?) that is like PointF, but owns a reference on the Polygon, so that updating the point updates the polygon. There is the same trick with the Control.Font class, so that it behaves the way you describe. But it's heavy: it uses one pointer more for the two floating point coordinates. So I don't really like it. > (2) If I AddPoint() like this > > pPoint = New PointF(10, 10) > hPolygon.AddPoint(pPoint) > Print hPolygon[hPolygon.Max].X > > it yields zero, but I feel it should be 10. I have no explanation for > this one. The signature of the method was false. I fixed it in revision #7140. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jun 19 02:07:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 02:07:53 +0200 Subject: [Gambas-user] Three problems in the IDE (two of them Editor) In-Reply-To: <20150618185012.GL586@...2774...> References: <20150618185012.GL586@...2774...> Message-ID: <55835D59.3090304@...1...> Le 18/06/2015 20:50, Tobias Boege a ?crit : > Hi Benoit, > > two things about the editor: > > (1) If I write a semicolon into the first column of an otherwise empty line > and click behind the semicolon on the line, the cursor always goes > *before* the semicolon, never behind (where it should actually be). > Rounding errors? (I use the default Gambas font.) > Fixed in revision #7141. > (2) I spent so much time deleting superfluous whitespace from other people's > code, I fear it has become an addiction. But now there don't seem to be > those little dots anymore which helped me spot those whitespaces at the > end of lines. Will they come back? I feel a little insecure without :-) > If you need it I will put them back. > Also a third thing about the IDE: in my installation (latest revision), the > component selection dialog is not very usable anymore. It's been like that > for some time already but I was too busy to report it. See attached screen- > shot: I can't see a difference between checked an unchecked. Note that, e.g. > gb.args is unchecked while gb.clipper is checked (according to .project). The check box column is now drawn by using the style functions. Which widget theme do you use? -- Beno?t Minisini From gambas at ...1... Fri Jun 19 02:12:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 02:12:17 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <536c53bd40a05a98aa343bd02f42e648@...3474...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> Message-ID: <55835E61.8010502@...1...> Le 18/06/2015 23:05, willy at ...3474... a ?crit : > Hi all, > > I have been looking at the Gambas IDE package code (in > app/.src/gambas3/.src/packager folder) > In the package module I see that packages for debain/ubuntu are made > with: > dpkg-buildpackage -d -rfakeroot > > Request 1: > Could a simple -k option be added to 'dpkg-buildpackage -d > -rfakeroot' for debian/ubuntu, so packages can be signed. > This could be set as a preference in IDE where you could select 'package > with key' and enter the key in a field and select the distro the key has > to be used for when signing. > > Maybe it should be possible to have multople seperate key like one for > Debian and one for Ubuntu to sign with (just thinking out loud) Is the signature something associated with the user, i.e. the same signature will theoritically be used for all projects for the same system? Note that packager can only make a difference between the provided distributions. > > I have no idea how signing rpm packages works, but I guess it might be > useful there as well. This is needed, I should implement signing for all packages: deb, rmp, but also ArchLinux and Slackware! Not just for Debian... > > Request 2: > I have noticed that some of the own application when packaged on i386 > system (architecture for package by IDE is set to all) and installed on > an armhf, they do not alway run, but crash without any GUI to be seen. > If I next package that application on armhf (again as an all package) > and install it on armhf it does run!! This is a bug, as the Gambas executable are (or should be) architecture-independant. Can you provide me the i386 and the armhf packages? Thanks. -- Beno?t Minisini From willy at ...3474... Fri Jun 19 02:40:24 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 19 Jun 2015 02:40:24 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <55835E61.8010502@...1...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> Message-ID: <0dde498d66f276212461503fe6f8a47b@...3474...> On 2015-06-19 02:12, Beno?t Minisini wrote: > Le 18/06/2015 23:05, willy at ...3474... a ?crit : >> Hi all, >> >> I have been looking at the Gambas IDE package code (in >> app/.src/gambas3/.src/packager folder) >> In the package module I see that packages for debain/ubuntu are made >> with: >> dpkg-buildpackage -d -rfakeroot >> >> Request 1: >> Could a simple -k option be added to 'dpkg-buildpackage -d >> -rfakeroot' for debian/ubuntu, so packages can be signed. >> This could be set as a preference in IDE where you could select >> 'package >> with key' and enter the key in a field and select the distro the key >> has >> to be used for when signing. >> >> Maybe it should be possible to have multople seperate key like one for >> Debian and one for Ubuntu to sign with (just thinking out loud) > > Is the signature something associated with the user, i.e. the same > signature will theoritically be used for all projects for the same > system? Well, you can generate signing keys with gpg. These can be used for signing. Just fine for private/intranet repositories. You can associate them with whatever mail addres you would like it to be associated with. If you package for Debian or Ubuntu repo's, you can generate a key as well with gpg and have it signed by one or more maintainers. Next you can use the signed key to sign packages for uploading to official Debian/Ubuntu repositories. In my case it is about two things: 1. Setting up an intranet repository with Gambas 3.6.2 for wheezy and internal developed Gambas applications (this is at work) 2. Setting up a GambOS own distro repository holding more recent Gambas3 version and Gambas applications developed for GambOS. Both need a different key to sign with. Since keys can be exported/imported, you can have multiple signing keys on one system. If you have a look at the keys they look something like this (dummie example, no real key): $ gpg --list-keys /home/joe/.gnupg/pubring.gpg ------------------------------- pub 2048R/E123D553 2011-08-03 [expires: 2012-08-02] uid Joe User (Some organization) sub 2048R/F2495744 2011-08-03 [expires: 2012-08-02] In this case F2495744 is the key id to sign with. So a 'dpkg-buildpackage -d -rfakeroot -kF2495744'would sign the packages made. Best is the key has the same mail address as used in the debian/control file uploader field and same mail address as used in debian/changelog. > > Note that packager can only make a difference between the provided > distributions. That is no problem as packages for Debian will run on any Debian based distro, same goed for Ubuntu. > >> >> I have no idea how signing rpm packages works, but I guess it might be >> useful there as well. > > This is needed, I should implement signing for all packages: deb, rmp, > but also ArchLinux and Slackware! Not just for Debian... > >> >> Request 2: >> I have noticed that some of the own application when packaged on i386 >> system (architecture for package by IDE is set to all) and installed >> on >> an armhf, they do not alway run, but crash without any GUI to be seen. >> If I next package that application on armhf (again as an all package) >> and install it on armhf it does run!! > > This is a bug, as the Gambas executable are (or should be) > architecture-independant. Can you provide me the i386 and the armhf > packages? First, it will have to wait until monday because the code is at my system at work. Secondly, the application requires a internal database to run. Thirdly, internal company database content is required by contract to stay internal company data So, I will have to try and reproduce the problem in some small project and send that one. It may take a while but I will get back to that. The armhf system I'm running is a Lubuntu 14.04 The i386 systems are running Lubuntu 12.04 and Linux Mint 17.1 Mate From willy at ...3474... Fri Jun 19 02:45:18 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 19 Jun 2015 02:45:18 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <0dde498d66f276212461503fe6f8a47b@...3474...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> <0dde498d66f276212461503fe6f8a47b@...3474...> Message-ID: <65c5ac1b9b7a3f9d139602d3820eaa02@...3474...> On 2015-06-19 02:40, willy at ...3474... wrote: > On 2015-06-19 02:12, Beno?t Minisini wrote: >> Le 18/06/2015 23:05, willy at ...3474... a ?crit : >>> Hi all, >>> >>> I have been looking at the Gambas IDE package code (in >>> app/.src/gambas3/.src/packager folder) >>> In the package module I see that packages for debain/ubuntu are made >>> with: >>> dpkg-buildpackage -d -rfakeroot >>> >>> Request 1: >>> Could a simple -k option be added to 'dpkg-buildpackage -d >>> -rfakeroot' for debian/ubuntu, so packages can be signed. >>> This could be set as a preference in IDE where you could select >>> 'package >>> with key' and enter the key in a field and select the distro the key >>> has >>> to be used for when signing. >>> >>> Maybe it should be possible to have multople seperate key like one >>> for >>> Debian and one for Ubuntu to sign with (just thinking out loud) >> >> Is the signature something associated with the user, i.e. the same >> signature will theoritically be used for all projects for the same >> system? > > Well, you can generate signing keys with gpg. > These can be used for signing. > Just fine for private/intranet repositories. > > You can associate them with whatever mail addres you would like it to > be > associated with. > > If you package for Debian or Ubuntu repo's, you can generate a key as > well with gpg and have it signed by one or more maintainers. > Next you can use the signed key to sign packages for uploading to > official Debian/Ubuntu repositories. > > In my case it is about two things: > 1. Setting up an intranet repository with Gambas 3.6.2 for wheezy and > internal developed Gambas applications (this is at work) > 2. Setting up a GambOS own distro repository holding more recent > Gambas3 > version and Gambas applications developed for GambOS. > > Both need a different key to sign with. > Since keys can be exported/imported, you can have multiple signing keys > on one system. > > If you have a look at the keys they look something like this (dummie > example, no real key): > > $ gpg --list-keys > /home/joe/.gnupg/pubring.gpg > ------------------------------- > pub 2048R/E123D553 2011-08-03 [expires: 2012-08-02] > uid Joe User (Some organization) > sub 2048R/F2495744 2011-08-03 [expires: 2012-08-02] > > In this case F2495744 is the key id to sign with. > > So a 'dpkg-buildpackage -d -rfakeroot -kF2495744'would sign the > packages > made. Little extra note here: If the key has a passphrase, the dpkg-buildpackage will ask for it to do the signing!! so, that has to be taken into account. Just do some packaging from the command line in a terminal, with key signing and passphrase on key and you will see when and what is asked by dpkg-buildpackage. gbWilly From gambas at ...1... Fri Jun 19 03:10:03 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 19 Jun 2015 03:10:03 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <0dde498d66f276212461503fe6f8a47b@...3474...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> <0dde498d66f276212461503fe6f8a47b@...3474...> Message-ID: <55836BEB.2060802@...1...> Le 19/06/2015 02:40, willy at ...3474... a ?crit : >> This is a bug, as the Gambas executable are (or should be) >> architecture-independant. Can you provide me the i386 and the armhf >> packages? > > First, it will have to wait until monday because the code is at my > system at work. > Secondly, the application requires a internal database to run. > Thirdly, internal company database content is required by contract to > stay internal company data > > So, I will have to try and reproduce the problem in some small project > and send that one. > It may take a while but I will get back to that. > > The armhf system I'm running is a Lubuntu 14.04 > The i386 systems are running Lubuntu 12.04 and Linux Mint 17.1 Mate > I don't need to run the programs, I just need to have the two packages to compare them (the Gambas executables only). I guess this is an endianness problem, so by comparing the two packages, I may find where the problem is. Regards, -- Beno?t Minisini From adamnt42 at ...626... Fri Jun 19 03:17:11 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 19 Jun 2015 10:47:11 +0930 Subject: [Gambas-user] IDE crash In-Reply-To: <1434652057.3631.11.camel@...40...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> <1434652057.3631.11.camel@...40...> Message-ID: <20150619104711.5f34ae19fdfbc21d045713ae@...626...> On Thu, 18 Jun 2015 20:27:37 +0200 Charlie Reinl wrote: > Am Donnerstag, den 18.06.2015, 17:10 +0200 schrieb Beno?t Minisini: > > Le 18/06/2015 16:56, Charlie Reinl a ?crit : > > > Salut Beno?t, > > > > > > the IDE crash sometimes now > > > See attachment > > > > > > [System] > > > Gambas=3.7.90 rev.7139 > > > OperatingSystem=Linux > > > Kernel=3.2.0-86-generic > > > Architecture=x86 > > > Distribution=Ubuntu 12.04.5 LTS > > > Desktop=GNOME > > > Theme=Plastique > > > Language=de_DE.UTF-8 > > > Memory=3025M > > > > > > [Libraries] > > > Cairo=libcairo.so.2.11000.2 > > > Curl=libcurl.so.4.2.0 > > > DBus=libdbus-1.so.3.5.8 > > > GStreamer=libgstreamer-0.10.so.0.30.0 > > > GTK+3=libgtk-3.so.0.400.2 > > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > Poppler=libpoppler.so.19.0.0 > > > Qt4=libQtCore.so.4.8.1 > > > SDL=libSDL-1.2.so.0.11.3 > > > > > > > > > > I need either a stack backtrace or what you did before it crashes. > > > > To get the stack backtrace, run the IDE from a console. > > > > Regards, > > > > Salut Beno?t, > > here it is, one: > >>>>TextEditor.LinePos.1008: #21: Out of bounds > >>>>TextEditor.Clear.320 FOutput.Clear.45 Design.ClearOutput.1091 > Design.Start.774 Design.Run.653 Project.Run.2609 > FMain.Action_Activate.1360 >Action.Raise.204 > > + playing with WebBrowser 1.0.1 > + run it > + got an error > + try to re-run (F5) it > -> crash > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user This seems easy to reproduce here, just by clicking on the clear button in the console tab while paused in debug mode. ( r7136) hth bruce -- B Bruen From gambas at ...1... Fri Jun 19 09:00:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 09:00:52 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <20150619104711.5f34ae19fdfbc21d045713ae@...626...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> <1434652057.3631.11.camel@...40...> <20150619104711.5f34ae19fdfbc21d045713ae@...626...> Message-ID: <5583BE24.5000304@...1...> Le 19/06/2015 03:17, adamnt42 at ...626... a ?crit : > > > This seems easy to reproduce here, just by clicking on the clear button in the console tab while paused in debug mode. > ( r7136) > > hth > bruce > Yes, got it! Apparently you need to have only one line of text without newline character... -- Beno?t Minisini From gambas at ...1... Fri Jun 19 09:10:28 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 09:10:28 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <5583BE24.5000304@...1...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> <1434652057.3631.11.camel@...40...> <20150619104711.5f34ae19fdfbc21d045713ae@...626...> <5583BE24.5000304@...1...> Message-ID: <5583C064.7000905@...1...> Le 19/06/2015 09:00, Beno?t Minisini a ?crit : > Le 19/06/2015 03:17, adamnt42 at ...626... a ?crit : >> >> >> This seems easy to reproduce here, just by clicking on the clear >> button in the console tab while paused in debug mode. >> ( r7136) >> >> hth >> bruce >> > > Yes, got it! Apparently you need to have only one line of text without > newline character... > It should be fixed in revision #7142. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jun 19 09:11:01 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 09:11:01 +0200 Subject: [Gambas-user] Three problems in the IDE (two of them Editor) In-Reply-To: <55835D59.3090304@...1...> References: <20150618185012.GL586@...2774...> <55835D59.3090304@...1...> Message-ID: <5583C085.7030101@...1...> Le 19/06/2015 02:07, Beno?t Minisini a ?crit : >> (2) I spent so much time deleting superfluous whitespace from other >> people's >> code, I fear it has become an addiction. But now there don't >> seem to be >> those little dots anymore which helped me spot those whitespaces >> at the >> end of lines. Will they come back? I feel a little insecure >> without :-) >> > > If you need it I will put them back. > Done in revision #7142. Regards, -- Beno?t Minisini From fmfdario at ...626... Fri Jun 19 09:28:56 2015 From: fmfdario at ...626... (Francisco Martinez) Date: Fri, 19 Jun 2015 09:28:56 +0200 Subject: [Gambas-user] Keys help Gambas editor. Message-ID: <5583C4B8.6040301@...626...> Hello. When a word is selected and the F2 key is used, displays help about the word. And if you use F1 displays general help. I have selected a word and pressing F2, then display help about the word. Deselected word, pulse F1 and shows me the same i've seen it before with F2. No shows general help. Gambas 3.7.1 , stable version. Best regards. From eilert-sprachen at ...221... Fri Jun 19 09:39:20 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 19 Jun 2015 09:39:20 +0200 Subject: [Gambas-user] Three problems in the IDE (two of them Editor) In-Reply-To: <5583C085.7030101@...1...> References: <20150618185012.GL586@...2774...> <55835D59.3090304@...1...> <5583C085.7030101@...1...> Message-ID: <5583C728.2070903@...221...> Am 19.06.2015 09:11, schrieb Beno?t Minisini: > Le 19/06/2015 02:07, Beno?t Minisini a ?crit : >>> (2) I spent so much time deleting superfluous whitespace from other >>> people's >>> code, I fear it has become an addiction. But now there don't >>> seem to be >>> those little dots anymore which helped me spot those whitespaces >>> at the >>> end of lines. Will they come back? I feel a little insecure >>> without :-) >>> >> If you need it I will put them back. >> > Done in revision #7142. > > Regards, > I hope it can be switched on and off... ? ;) Thanks Rolf From taboege at ...626... Fri Jun 19 09:40:07 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Jun 2015 09:40:07 +0200 Subject: [Gambas-user] Compiler segfaults on gb.eval.highlight? Message-ID: <20150619074007.GA1119@...2774...> Hi, now this is strange. I am compiling the latest revision and the only component which can not be compiled is gb.eval.highlight. Yesterday, it went all fine. Looking closer, I see: $ cd comp/ $ sudo make install make[1]: Entering directory '/home/tab/src/gambas3/comp' Installing the components... Compiling gb.eval.highlight... /bin/sh: line 1: 14369 Segmentation fault (core dumped) /usr/bin/gbc3 -ag -r /usr and indeed $ cd src/gb.eval.highlight/ $ gdb gbc3 (gdb) r -ag -r /usr Program received signal SIGSEGV, Segmentation fault. 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 57 *str = sym->name; (gdb) bt #0 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 #1 0x00000000004250e2 in insert_class_info (class=0x649d98, fw=0x66aa30) at gbc_dump.c:639 #2 0x00000000004253de in CLASS_export () at gbc_dump.c:787 #3 0x00000000004316e9 in compile_file (file=0x649a48 "/home/tab/src/gambas3/comp/src/gb.eval.highlight/.src/TextHighlighter.class") at gbc.c:359 #4 0x0000000000431bb0 in main (argc=4, argv=0x7fffffffe908) at gbc.c:488 My compiler is already the new one: 3.7.90 r7143. Any other information needed? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Jun 19 09:41:34 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Jun 2015 09:41:34 +0200 Subject: [Gambas-user] Three problems in the IDE (two of them Editor) In-Reply-To: <5583C728.2070903@...221...> References: <20150618185012.GL586@...2774...> <55835D59.3090304@...1...> <5583C085.7030101@...1...> <5583C728.2070903@...221...> Message-ID: <20150619074134.GB1119@...2774...> On Fri, 19 Jun 2015, Rolf-Werner Eilert wrote: > > Am 19.06.2015 09:11, schrieb Beno?t Minisini: > > Le 19/06/2015 02:07, Beno?t Minisini a ?crit : > >>> (2) I spent so much time deleting superfluous whitespace from other > >>> people's > >>> code, I fear it has become an addiction. But now there don't > >>> seem to be > >>> those little dots anymore which helped me spot those whitespaces > >>> at the > >>> end of lines. Will they come back? I feel a little insecure > >>> without :-) > >>> > >> If you need it I will put them back. > >> > > Done in revision #7142. > > Thanks. It works! > > I hope it can be switched on and off... ? ;) > Yes, in Preferences -> Editor. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vuott at ...325... Fri Jun 19 09:55:45 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 19 Jun 2015 08:55:45 +0100 Subject: [Gambas-user] R: Compiler segfaults on gb.eval.highlight? In-Reply-To: <20150619074007.GA1119@...2774...> Message-ID: <1434700545.62257.YahooMailBasic@...3269...> Hello, also I have got this error with revision 7143: ... ... Installing the components... Compiling gb.eval.highlight... /bin/bash: line 1: 8855 Segmentation fault /usr/bin/gbc3 -ag -r /usr .... .... || || Unable to compile gb.eval.highlight || Unable to compile gb.form.editor || Unable to compile gambas3 || Regards vuott -------------------------------------------- Ven 19/6/15, Tobias Boege ha scritto: Oggetto: [Gambas-user] Compiler segfaults on gb.eval.highlight? A: gambas-user at lists.sourceforge.net Data: Venerd? 19 giugno 2015, 09:40 Hi, now this is strange. I am compiling the latest revision and the only component which can not be compiled is gb.eval.highlight. Yesterday, it went all fine. Looking closer, I see: ? $ cd comp/ ? $ sudo make install ? make[1]: Entering directory '/home/tab/src/gambas3/comp' ? Installing the components... ? Compiling gb.eval.highlight... ? /bin/sh: line 1: 14369 Segmentation fault? ? ? (core dumped) /usr/bin/gbc3 -ag -r /usr and indeed ? $ cd src/gb.eval.highlight/ ? $ gdb gbc3 ? (gdb) r -ag -r /usr ? Program received signal SIGSEGV, Segmentation fault. ? 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 ? 57? ? ? ? ? ? ? *str = sym->name; ? (gdb) bt ? #0? 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 ? #1? 0x00000000004250e2 in insert_class_info (class=0x649d98, fw=0x66aa30) at gbc_dump.c:639 ? #2? 0x00000000004253de in CLASS_export () at gbc_dump.c:787 ? #3? 0x00000000004316e9 in compile_file (file=0x649a48 "/home/tab/src/gambas3/comp/src/gb.eval.highlight/.src/TextHighlighter.class") at gbc.c:359 ? #4? 0x0000000000431bb0 in main (argc=4, argv=0x7fffffffe908) at gbc.c:488 My compiler is already the new one: 3.7.90 r7143. Any other information needed? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Jun 19 10:20:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Jun 2015 10:20:27 +0200 Subject: [Gambas-user] Compiler segfaults on gb.eval.highlight? In-Reply-To: <20150619074007.GA1119@...2774...> References: <20150619074007.GA1119@...2774...> Message-ID: <5583D0CB.8050104@...1...> Le 19/06/2015 09:40, Tobias Boege a ?crit : > Hi, > > now this is strange. I am compiling the latest revision and the only > component which can not be compiled is gb.eval.highlight. Yesterday, > it went all fine. Looking closer, I see: > > $ cd comp/ > $ sudo make install > make[1]: Entering directory '/home/tab/src/gambas3/comp' > Installing the components... > Compiling gb.eval.highlight... > /bin/sh: line 1: 14369 Segmentation fault (core dumped) /usr/bin/gbc3 -ag -r /usr > > and indeed > > $ cd src/gb.eval.highlight/ > $ gdb gbc3 > (gdb) r -ag -r /usr > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 > 57 *str = sym->name; > (gdb) bt > #0 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 > #1 0x00000000004250e2 in insert_class_info (class=0x649d98, fw=0x66aa30) at gbc_dump.c:639 > #2 0x00000000004253de in CLASS_export () at gbc_dump.c:787 > #3 0x00000000004316e9 in compile_file (file=0x649a48 "/home/tab/src/gambas3/comp/src/gb.eval.highlight/.src/TextHighlighter.class") at gbc.c:359 > #4 0x0000000000431bb0 in main (argc=4, argv=0x7fffffffe908) at gbc.c:488 > > My compiler is already the new one: 3.7.90 r7143. Any other information > needed? > > Regards, > Tobi > It should be fixed in revision #7144. Regards, -- Beno?t Minisini From taboege at ...626... Fri Jun 19 10:20:32 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Jun 2015 10:20:32 +0200 Subject: [Gambas-user] Compiler segfaults on gb.eval.highlight? In-Reply-To: <5583D0CB.8050104@...1...> References: <20150619074007.GA1119@...2774...> <5583D0CB.8050104@...1...> Message-ID: <20150619082031.GC1119@...2774...> On Fri, 19 Jun 2015, Beno?t Minisini wrote: > Le 19/06/2015 09:40, Tobias Boege a ?crit : > > Hi, > > > > now this is strange. I am compiling the latest revision and the only > > component which can not be compiled is gb.eval.highlight. Yesterday, > > it went all fine. Looking closer, I see: > > > > $ cd comp/ > > $ sudo make install > > make[1]: Entering directory '/home/tab/src/gambas3/comp' > > Installing the components... > > Compiling gb.eval.highlight... > > /bin/sh: line 1: 14369 Segmentation fault (core dumped) /usr/bin/gbc3 -ag -r /usr > > > > and indeed > > > > $ cd src/gb.eval.highlight/ > > $ gdb gbc3 > > (gdb) r -ag -r /usr > > Program received signal SIGSEGV, Segmentation fault. > > 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 > > 57 *str = sym->name; > > (gdb) bt > > #0 0x0000000000423d46 in get_string (index=16777215, str=0x7fffffffe628, len=0x7fffffffe624) at gbc_dump.c:57 > > #1 0x00000000004250e2 in insert_class_info (class=0x649d98, fw=0x66aa30) at gbc_dump.c:639 > > #2 0x00000000004253de in CLASS_export () at gbc_dump.c:787 > > #3 0x00000000004316e9 in compile_file (file=0x649a48 "/home/tab/src/gambas3/comp/src/gb.eval.highlight/.src/TextHighlighter.class") at gbc.c:359 > > #4 0x0000000000431bb0 in main (argc=4, argv=0x7fffffffe908) at gbc.c:488 > > > > My compiler is already the new one: 3.7.90 r7143. Any other information > > needed? > > > > Regards, > > Tobi > > > > It should be fixed in revision #7144. > Yep. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Fri Jun 19 10:59:27 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 19 Jun 2015 10:59:27 +0200 Subject: [Gambas-user] IDE crash In-Reply-To: <55835522.9020409@...1...> References: <1434639385.3631.3.camel@...40...> <5582DF59.2080209@...1...> <1434652057.3631.11.camel@...40...> <55835522.9020409@...1...> Message-ID: <1434704367.3598.2.camel@...40...> Am Freitag, den 19.06.2015, 01:32 +0200 schrieb Beno?t Minisini: > Le 18/06/2015 20:27, Charlie Reinl a ?crit : > > > > Salut Beno?t, > > > > here it is, one: > >>>>> TextEditor.LinePos.1008: #21: Out of bounds > >>>>> TextEditor.Clear.320 FOutput.Clear.45 Design.ClearOutput.1091 > > Design.Start.774 Design.Run.653 Project.Run.2609 > > FMain.Action_Activate.1360 >Action.Raise.204 > > > > + playing with WebBrowser 1.0.1 > > + run it > > + got an error > > + try to re-run (F5) it > > -> crash > > > > Are you sure that you run the last revision? This bug has normally been > fixed in revision #7131. > > Which error do you get exactly with WebBrowser 1.0.1? > Salut Beno?t, see attachment -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-18 20:19:56.png Type: image/png Size: 195560 bytes Desc: not available URL: From willy at ...3474... Fri Jun 19 15:05:29 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 19 Jun 2015 15:05:29 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <55836BEB.2060802@...1...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> <0dde498d66f276212461503fe6f8a47b@...3474...> <55836BEB.2060802@...1...> Message-ID: <74017038ac9e63f421bcbddb8a4961fc@...3474...> On 2015-06-19 03:10, Beno?t Minisini wrote: > Le 19/06/2015 02:40, willy at ...3474... a ?crit : >>> This is a bug, as the Gambas executable are (or should be) >>> architecture-independant. Can you provide me the i386 and the armhf >>> packages? >> >> First, it will have to wait until monday because the code is at my >> system at work. >> Secondly, the application requires a internal database to run. >> Thirdly, internal company database content is required by contract to >> stay internal company data >> >> So, I will have to try and reproduce the problem in some small project >> and send that one. >> It may take a while but I will get back to that. >> >> The armhf system I'm running is a Lubuntu 14.04 >> The i386 systems are running Lubuntu 12.04 and Linux Mint 17.1 Mate >> > > I don't need to run the programs, I just need to have the two packages > to compare them (the Gambas executables only). I guess this is an > endianness problem, so by comparing the two packages, I may find where > the problem is. Okay Beno?t, But it will still have to wait until monday :) gbWilly From willy at ...3474... Fri Jun 19 20:40:39 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 19 Jun 2015 20:40:39 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <55835E61.8010502@...1...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> Message-ID: <3ddaa91843ed368439d1ea949c32bad7@...3474...> On 2015-06-19 02:12, Beno?t Minisini wrote: > Le 18/06/2015 23:05, willy at ...3474... a ?crit : >> Hi all, >> >> I have been looking at the Gambas IDE package code (in >> app/.src/gambas3/.src/packager folder) >> In the package module I see that packages for debain/ubuntu are made >> with: >> dpkg-buildpackage -d -rfakeroot >> >> Request 1: >> Could a simple -k option be added to 'dpkg-buildpackage -d >> -rfakeroot' for debian/ubuntu, so packages can be signed. >> This could be set as a preference in IDE where you could select >> 'package >> with key' and enter the key in a field and select the distro the key >> has >> to be used for when signing. >> >> Maybe it should be possible to have multople seperate key like one for >> Debian and one for Ubuntu to sign with (just thinking out loud) > > Is the signature something associated with the user, i.e. the same > signature will theoritically be used for all projects for the same > system? > > Note that packager can only make a difference between the provided > distributions. > >> >> I have no idea how signing rpm packages works, but I guess it might be >> useful there as well. > > This is needed, I should implement signing for all packages: deb, rmp, > but also ArchLinux and Slackware! Not just for Debian... Here is some info on signing rpm packages: http://www.rpm.org/max-rpm/s1-rpm-pgp-signing-packages.html Here some on signing Arch packages: http://allanmcrae.com/2011/08/pacman-package-signing-1-makepkg-and-repo-add/ > >> >> Request 2: >> I have noticed that some of the own application when packaged on i386 >> system (architecture for package by IDE is set to all) and installed >> on >> an armhf, they do not alway run, but crash without any GUI to be seen. >> If I next package that application on armhf (again as an all package) >> and install it on armhf it does run!! > > This is a bug, as the Gambas executable are (or should be) > architecture-independant. Can you provide me the i386 and the armhf > packages? > > Thanks. From willy at ...3474... Fri Jun 19 21:37:27 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 19 Jun 2015 21:37:27 +0200 Subject: [Gambas-user] Feature request In-Reply-To: <55835E61.8010502@...1...> References: <536c53bd40a05a98aa343bd02f42e648@...3474...> <55835E61.8010502@...1...> Message-ID: <62a9fd0192c011880844bd3d035bb57f@...3474...> On 2015-06-19 02:12, Beno?t Minisini wrote: > Le 18/06/2015 23:05, willy at ...3474... a ?crit : >> Hi all, >> >> I have been looking at the Gambas IDE package code (in >> app/.src/gambas3/.src/packager folder) >> In the package module I see that packages for debain/ubuntu are made >> with: >> dpkg-buildpackage -d -rfakeroot >> >> Request 1: >> Could a simple -k option be added to 'dpkg-buildpackage -d >> -rfakeroot' for debian/ubuntu, so packages can be signed. >> This could be set as a preference in IDE where you could select >> 'package >> with key' and enter the key in a field and select the distro the key >> has >> to be used for when signing. >> >> Maybe it should be possible to have multople seperate key like one for >> Debian and one for Ubuntu to sign with (just thinking out loud) > > Is the signature something associated with the user, i.e. the same > signature will theoritically be used for all projects for the same > system? > > Note that packager can only make a difference between the provided > distributions. > >> >> I have no idea how signing rpm packages works, but I guess it might be >> useful there as well. > > This is needed, I should implement signing for all packages: deb, rmp, > but also ArchLinux and Slackware! Not just for Debian... > >> >> Request 2: >> I have noticed that some of the own application when packaged on i386 >> system (architecture for package by IDE is set to all) and installed >> on >> an armhf, they do not alway run, but crash without any GUI to be seen. >> If I next package that application on armhf (again as an all package) >> and install it on armhf it does run!! > > This is a bug, as the Gambas executable are (or should be) > architecture-independant. Can you provide me the i386 and the armhf > packages? > > Thanks. Request 3: Could the standards version used in debian/control file for packaging Debian and Ubuntu packages be a preference as well. I saw in the code that it is kind of old. Standards version 3.9.5 would be more up to date and it changes from time to time, so maybe it shouldn't be hardcoded, but just a default value that is configurable in IDE. Thanks, gbWilly From Karl.Reinl at ...2345... Fri Jun 19 22:35:12 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 19 Jun 2015 22:35:12 +0200 Subject: [Gambas-user] CR in IDE editor Message-ID: <1434746112.3549.9.camel@...40...> Salut Beno?t, CR in IDE-editor don't create a new line if INS-mode is ON -- Amicalement Charlie From karl.reinl at ...9... Sat Jun 20 10:22:03 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 20 Jun 2015 10:22:03 +0200 Subject: [Gambas-user] CR in IDE editor Message-ID: <1434788523.3482.2.camel@...40...> Salut Beno?t, CR in IDE-editor don't create a new line if INS-mode is ON (sorry meant) OFF -- Amicalement Charlie From mohareve at ...626... Sat Jun 20 22:51:53 2015 From: mohareve at ...626... (M. Cs.) Date: Sat, 20 Jun 2015 22:51:53 +0200 Subject: [Gambas-user] Window's close button and exiting Message-ID: I didn't code in Gambas for a while. I found that when I close the application using window's close button, the application closes, but gbr3 process remains. How could I quit this as well? From mohareve at ...626... Sun Jun 21 16:58:27 2015 From: mohareve at ...626... (M. Cs.) Date: Sun, 21 Jun 2015 16:58:27 +0200 Subject: [Gambas-user] Ever crashing Gambas 3.7.1 Message-ID: Another bug: gb.qt4: warning: calling the event loop during a keyboard event handler is ignored gbx3: warning: circular references detected: It comes up for nearly any action, be it menu or keypress. The application closes without error message. Csaba From herberthguzman at ...626... Mon Jun 22 05:07:00 2015 From: herberthguzman at ...626... (herberth guzman) Date: Sun, 21 Jun 2015 21:07:00 -0600 Subject: [Gambas-user] DesktopWatcher and X11Systray Not Working together Message-ID: Hi Benoit Benoit need your help. I have several problems with InnovaDE_Panel, I hope to explain. Some users reported the compartamiento the Innova_Panel (does not work well) Rewrote the code Now I use DesktopWatcher and X11Systray, but it gives me error when working together in the same FORM and I need for my taskbar and systemtray. X11Systray in a FORM = Ok DesktopWatcher in a FORM = Ok DesktopWatcher and X11Systray in a FORM= BAD (message "out of bounds ") DesktopWatcher GTK3 = BAD (not updated new windows) DesktopWatcher QT = OK IF working DesktopWatcher THEN X11Systray not working. Deputy DEMO project. Tell me if my code error. Questions.? 1- How can I do to work together DesktopWatcher and X11Systray in the same FORM. 2- You may DesktopWatcher and X11Systray work in GTK3. 3-To display the list of the windows I use HSplit, but do not have the same size, the new open windows become smaller. (See example DEMO), and a HSplit with Button created in the FORM shown well. Regards, Herberth Guzman -------------- next part -------------- A non-text attachment was scrubbed... Name: SystemTray-1.0.tar.gz Type: application/x-gzip Size: 10360 bytes Desc: not available URL: From mmcg29440 at ...3163... Mon Jun 22 15:18:14 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 22 Jun 2015 09:18:14 -0400 Subject: [Gambas-user] Gambas-user Digest, Vol 109, Issue 20 In-Reply-To: References: Message-ID: First, let me say I have always found help with my issues here. This time however I have not found any useful information. As I have said before the print example runs. The document is sent to the queue. The document is listed as processing, but it never prints. No other document in the queue will print. Canceling the document does not free up the queued documents. The only fix I have found is to reinstall the printer. I'm running Mint 17.1 Mate. I do not know how to get any more info on the system as Gambas does not crash per se. The program output just wrecks the print queue. I do not know what a "widget theme" is or how to change it. Yes I'm a newbie when it comes to a lot of the insides of Linux so simple explanations go a long way. Adding comments to the printing example would be a great help. Without knowledge of the coding needed to print it is difficult to figure out what is happening. A tutorial would be of benefit here. I cannot find any documentation on printing from Gambas on the net. If you know of one please let me know where it is. I cannot troubleshoot the print example as I have no idea what all that complex code actually does. I have other applications written in Gambas that do print without difficulty. Still I believe Gambas is a good product and I will continue to use it despite it's rough edges. I'll just find an alternative print routine. All comments and suggestions are welcome. Regards, Marty -----Original Message----- Message: 2 Date: Tue, 09 Jun 2015 22:27:29 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Trouble printing from "Printing Example To: mailing list for gambas users Message-ID: <55774C31.9070806 at ...1...> Content-Type: text/plain; charset=windows-1252; format=flowed Le 09/06/2015 17:13, Martin McGlensey a ?crit : > Benoit thanks for your response. The problem is definitely related to the > print example. Other apps, such as the text editor, printed perfectly before > running print example but not after it. This defect is reproducible. Did you > find anything in the error file I sent? I have another Gambas app that > prints OK. So in my mind there is some problem with the example app. > Unfortunately I do not know where to look for a solution. Hoped that the > community would provide some guidance. > > Marty > I have fixed printing with GTK+3 in revision #7125. Can you try it? Note that I don't know where your message come from. Maybe from the widget theme you are using. With gb.gtk I have no message and using the printing example project works as expected. With gb.gtk3 I had other warning messages and then a crash. Now it works. Can you send information about your system? If you install 'gdb', and crash the Printing example from the IDE, the IDE will be able to create all that information for you, plus a stack backtrace, which would be very interesting for me. By the way, the font chooser crashes with gb.gtk3 inside GTK+3 library too. No idea why at the moment... Regards, -- Beno?t Minisini **************************************** From eilert-sprachen at ...221... Mon Jun 22 15:59:56 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 22 Jun 2015 15:59:56 +0200 Subject: [Gambas-user] Gambas-user Digest, Vol 109, Issue 20 In-Reply-To: References: Message-ID: <558814DC.9000505@...221...> Try to print into a file, not to the printer. Then check what's happening. When I print an empty PS document, the printer will warm, but never prints anything. But I'm on a bigger (terminal server) system here, and it has happened every few months or so that one of the printer queues gets mad. Then CUPS is my friend, deleting everything and restarting the queue will help. But the reason might as well be in the setup of the printer queue, and it is for some random reason that printing with Gambas comes to the point where the queue gets confused. When you can have a look into the printed file or you make it visible in a PDF viewer, maybe you will see at once what's going wrong... Rolf Am 22.06.2015 15:18, schrieb Martin McGlensey: > First, let me say I have always found help with my issues here. This time > however I have not found any useful information. As I have said before the > print example runs. The document is sent to the queue. The document is > listed as processing, but it never prints. No other document in the queue > will print. Canceling the document does not free up the queued documents. > The only fix I have found is to reinstall the printer. > > I'm running Mint 17.1 Mate. I do not know how to get any more info on the > system as Gambas does not crash per se. The program output just wrecks the > print queue. I do not know what a "widget theme" is or how to change it. Yes > I'm a newbie when it comes to a lot of the insides of Linux so simple > explanations go a long way. > > Adding comments to the printing example would be a great help. Without > knowledge of the coding needed to print it is difficult to figure out what > is happening. A tutorial would be of benefit here. I cannot find any > documentation on printing from Gambas on the net. If you know of one please > let me know where it is. I cannot troubleshoot the print example as I have > no idea what all that complex code actually does. > > I have other applications written in Gambas that do print without > difficulty. Still I believe Gambas is a good product and I will continue to > use it despite it's rough edges. I'll just find an alternative print > routine. > > All comments and suggestions are welcome. > > Regards, > Marty > > -----Original Message----- > > Message: 2 > Date: Tue, 09 Jun 2015 22:27:29 +0200 > From: Beno?t Minisini > Subject: Re: [Gambas-user] Trouble printing from "Printing Example > To: mailing list for gambas users > Message-ID: <55774C31.9070806 at ...1...> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Le 09/06/2015 17:13, Martin McGlensey a ?crit : >> Benoit thanks for your response. The problem is definitely related to the >> print example. Other apps, such as the text editor, printed perfectly > before >> running print example but not after it. This defect is reproducible. Did > you >> find anything in the error file I sent? I have another Gambas app that >> prints OK. So in my mind there is some problem with the example app. >> Unfortunately I do not know where to look for a solution. Hoped that the >> community would provide some guidance. >> >> Marty >> > I have fixed printing with GTK+3 in revision #7125. Can you try it? > > Note that I don't know where your message come from. Maybe from the > widget theme you are using. > > With gb.gtk I have no message and using the printing example project > works as expected. With gb.gtk3 I had other warning messages and then a > crash. Now it works. > > Can you send information about your system? If you install 'gdb', and > crash the Printing example from the IDE, the IDE will be able to create > all that information for you, plus a stack backtrace, which would be > very interesting for me. > > By the way, the font chooser crashes with gb.gtk3 inside GTK+3 library > too. No idea why at the moment... > > Regards, > From herberthguzman at ...626... Mon Jun 22 20:07:57 2015 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 22 Jun 2015 12:07:57 -0600 Subject: [Gambas-user] FileView and Files "*.desktop" Message-ID: Hi Benoit I want to show an image associated fileview file icon "* .desktop" DesktopMime.FromFile understand how it works, use that code to the menu "open with" For Each df In DesktopFile.FromMime (DesktopMime.FromFile (sPath) .Type) Inc i Item_Menu_Link = New Menu (mnuOpenwith) As "Items" Item_Menu_Link.text = df.ProgramName Item_Menu_Link.Picture = df.GetIcon (16) .Picture Item_Menu_Link.Tag = i Next But I can not make it work with fileview, I use the class of Fabien, but i have trouble (Copy, Paste, Delete, Rename over a file). To display the contents of my Desktop unify With Class_FileView Class_DesktopApps (created by Fabien) to make it more attractive for the user. Questions? FileView can show the icons ("PNG") related of one file ".desktop", and Run attached example DEMO Regards Herberth Guzman -------------- next part -------------- A non-text attachment was scrubbed... Name: test_desktop-0.0.1.tar.gz Type: application/x-gzip Size: 14492 bytes Desc: not available URL: From mmcg29440 at ...3163... Tue Jun 23 13:02:27 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 23 Jun 2015 07:02:27 -0400 Subject: [Gambas-user] Gambas-user Digest, Vol 109, Issue 36 In-Reply-To: References: Message-ID: Rolf, Thanks for your response. The print example prints to a PDF without problem. The only thing I see that could be a problem in the PDF is the last line on page one appears to be split vertically along the centerline of the text. That is 50% of the line appears on the last line and 50% appears on the first line of page two. The text color is light gray not black as in the body of the document. I know it sound weird but that is what I see. I suspect that this may be a formatting issue as I assume the example does work. My printer uses a cups driver supplied by the manufacturer. It is networked through Samba to a PC running Windows 8. All other print functions work without problem. I know how to delete documents from the queue but not how to restart it. How is that done. Hopefully that gives you some more info and I await your response. Regards, Marty -----Original Message----- Message: 2 Date: Mon, 22 Jun 2015 15:59:56 +0200 From: Rolf-Werner Eilert Subject: Re: [Gambas-user] Gambas-user Digest, Vol 109, Issue 20 To: gambas-user at lists.sourceforge.net Message-ID: <558814DC.9000505 at ...221...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Try to print into a file, not to the printer. Then check what's happening. When I print an empty PS document, the printer will warm, but never prints anything. But I'm on a bigger (terminal server) system here, and it has happened every few months or so that one of the printer queues gets mad. Then CUPS is my friend, deleting everything and restarting the queue will help. But the reason might as well be in the setup of the printer queue, and it is for some random reason that printing with Gambas comes to the point where the queue gets confused. When you can have a look into the printed file or you make it visible in a PDF viewer, maybe you will see at once what's going wrong... Rolf ******************************************** From gambas at ...1... Tue Jun 23 19:30:13 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 19:30:13 +0200 Subject: [Gambas-user] Window's close button and exiting In-Reply-To: References: Message-ID: <558997A5.9010905@...1...> Le 20/06/2015 22:51, M. Cs. a ?crit : > I didn't code in Gambas for a while. I found that when I close the > application using window's close button, the application closes, but gbr3 > process remains. How could I quit this as well? Can you give more information? Which project? Which system?... -- Beno?t Minisini From gambas at ...1... Tue Jun 23 19:30:38 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 19:30:38 +0200 Subject: [Gambas-user] Ever crashing Gambas 3.7.1 In-Reply-To: References: Message-ID: <558997BE.3080202@...1...> Le 21/06/2015 16:58, M. Cs. a ?crit : > Another bug: > gb.qt4: warning: calling the event loop during a keyboard event handler is > ignored > gbx3: warning: circular references detected: > > It comes up for nearly any action, be it menu or keypress. The application > closes without error message. > > Csaba Same request than the previous mail... -- Beno?t Minisini From gambas at ...1... Tue Jun 23 19:32:21 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 19:32:21 +0200 Subject: [Gambas-user] DesktopWatcher and X11Systray Not Working together In-Reply-To: References: Message-ID: <55899825.6000007@...1...> Le 22/06/2015 05:07, herberth guzman a ?crit : > Hi Benoit > > Benoit need your help. > I have several problems with InnovaDE_Panel, I hope to explain. > > Some users reported the compartamiento the Innova_Panel (does not work well) > > Rewrote the code > Now I use DesktopWatcher and X11Systray, but it gives me error when working > together in the same FORM and I need for my taskbar and systemtray. > > X11Systray in a FORM = Ok > DesktopWatcher in a FORM = Ok > DesktopWatcher and X11Systray in a FORM= BAD (message "out of bounds ") > DesktopWatcher GTK3 = BAD (not updated new windows) > DesktopWatcher QT = OK > > IF working DesktopWatcher THEN > X11Systray not working. > > > Deputy DEMO project. > Tell me if my code error. > > Questions.? > > 1- How can I do to work together DesktopWatcher and X11Systray in the same > FORM. > > 2- You may DesktopWatcher and X11Systray work in GTK3. > > 3-To display the list of the windows I use HSplit, but do not have the same > size, the new open windows become smaller. (See example DEMO), and a HSplit > with Button created in the FORM shown well. > > > Regards, > > Herberth Guzman > Can you try to rewrite your mail with a better english? Because I don't understand enough to deal with your problems. What's your native language? Maybe someone can help you with the english translation? -- Beno?t Minisini From gambas at ...1... Tue Jun 23 19:34:39 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 19:34:39 +0200 Subject: [Gambas-user] FileView and Files "*.desktop" In-Reply-To: References: Message-ID: <558998AF.4090503@...1...> Le 22/06/2015 20:07, herberth guzman a ?crit : > Hi Benoit > > I want to show an image associated fileview file icon "* .desktop" > DesktopMime.FromFile understand how it works, use that code to the menu > "open with" > > For Each df In DesktopFile.FromMime (DesktopMime.FromFile (sPath) .Type) > Inc i > Item_Menu_Link = New Menu (mnuOpenwith) As "Items" > Item_Menu_Link.text = df.ProgramName > Item_Menu_Link.Picture = df.GetIcon (16) .Picture > Item_Menu_Link.Tag = i > Next > > But I can not make it work with fileview, I use the class of Fabien, but i > have trouble (Copy, Paste, Delete, Rename over a file). > > To display the contents of my Desktop unify With Class_FileView > Class_DesktopApps (created by Fabien) to make it more attractive for the > user. > > Questions? > > FileView can show the icons ("PNG") related of one file ".desktop", and > Run > > > attached > example DEMO > > > Regards > > Herberth Guzman > Same problem here: I'm not sure to understand what you try to say... :-/ If FileView does not enough for you, I suggest you take its code, and enhance it to make your own MyFileView control? Regards, -- Beno?t Minisini From moviga at ...3488... Tue Jun 23 20:28:25 2015 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 23 Jun 2015 20:28:25 +0200 Subject: [Gambas-user] Bugs and feature requests Message-ID: <75313498636e0e30d914fff31e5dd7d7@...3488...> Hi all! Some bugs: - Sliderbox: Setting step to 50, and scrolling over the slider still just gives +/-1 increments. Scrolling over the accompanying valuebox works as expected. - When prettyfying the code (both on save and with Ctrl+Shift+F), cursor jups to the very end of the document. - If Desktop.HasTray Then ... crashes Gambas. - Cannot change Gambas' editor's fontsize when using the Gambas font. Feature request: - Mouse scrolling over tray icon. - Possibillity to remove the "Quit" entry in the trayicon's popupmenu. I am on KDE5 using QT5 [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=4.0.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+3=libgtk-3.so.0.1600.4 GTK+=libgtk-x11-2.0.so.0.2400.28 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 Qt4=libQtCore.so.4.8.7 Qt5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 From herberthguzman at ...626... Tue Jun 23 21:51:46 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 23 Jun 2015 13:51:46 -0600 Subject: [Gambas-user] Problem with DesktopWatcher and Desktop.X11 Message-ID: Hi Benoit I try to explain. In a form (form_taskbar) I show a list of open windows I use DesktopWatcher. In a form (form_systray) I show my systemtray (nm-applet) I use Desktop.X11 But if I use DesktopWatcher and Desktop.X11 in the same form I gives the following error ("out of bounds") if I comment 'X11Systray.Show (dwgSystemTray.Handle) DesktopWatcher working, but Desktop.X11. not working if I comment ' $hWatcher = New DesktopWatcher(True) As "MyDTWatcher" Desktop.X11 working, but DesktopWatcher not working . shows the list of the windows open, but does not update the new windows I need Desktop.X11 and DesktopWatcher can work on the same form (form_taskbar_systray) $hWatcher = New DesktopWatcher(True) As "MyDTWatcher" X11Systray.Show (dwgSystemTray.Handle) attached an example of what I am explaining Regards, Herberth -------------- next part -------------- A non-text attachment was scrubbed... Name: SystemTray-1.1.tar.gz Type: application/x-gzip Size: 10440 bytes Desc: not available URL: From gambas at ...1... Tue Jun 23 23:51:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 23:51:27 +0200 Subject: [Gambas-user] Problem with DesktopWatcher and Desktop.X11 In-Reply-To: References: Message-ID: <5589D4DF.8070305@...1...> Le 23/06/2015 21:51, herberth guzman a ?crit : > Hi Benoit > > I try to explain. > > In a form (form_taskbar) I show a list of open windows > I use DesktopWatcher. > > In a form (form_systray) I show my systemtray (nm-applet) > I use Desktop.X11 > > But if I use DesktopWatcher and Desktop.X11 in the same form > I gives the following error ("out of bounds") Where exactly? I don't have this error. -- Beno?t Minisini From gambas at ...1... Tue Jun 23 23:53:35 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Jun 2015 23:53:35 +0200 Subject: [Gambas-user] Keys help Gambas editor. In-Reply-To: <5583C4B8.6040301@...626...> References: <5583C4B8.6040301@...626...> Message-ID: <5589D55F.1070404@...1...> Le 19/06/2015 09:28, Francisco Martinez a ?crit : > Hello. > > When a word is selected and the F2 key is used, displays help about the > word. And if you use F1 displays general help. > > I have selected a word and pressing F2, then display help about the > word. Deselected word, > pulse F1 and shows me the same i've seen it before with F2. No shows > general help. > > Gambas 3.7.1 , stable version. > > Best regards. > F1 just displays the help window. It does not change the current help displayed. Regards, -- Beno?t Minisini From gambas at ...1... Wed Jun 24 01:50:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 24 Jun 2015 01:50:48 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: <75313498636e0e30d914fff31e5dd7d7@...3488...> References: <75313498636e0e30d914fff31e5dd7d7@...3488...> Message-ID: <5589F0D8.1000207@...1...> Le 23/06/2015 20:28, Moviga Technologies a ?crit : > > > Hi all! > > Some bugs: > - Sliderbox: Setting step to 50, and scrolling over the slider still > just gives +/-1 increments. Scrolling over the accompanying valuebox > works as expected. This is the intended behaviour. > - When prettyfying the code (both on save and with Ctrl+Shift+F), > cursor jups to the very end of the document. I can do something for that... > - If Desktop.HasTray Then ... crashes Gambas. I will fix that soon. > - Cannot change Gambas' editor's fontsize when using the Gambas font. The Gambas font has only two sizes: 9pt and 10pt. > > Feature request: > - Mouse scrolling over tray icon. This is forbidden by the system tray protocol. > - Possibillity to remove the "Quit" entry in the trayicon's popupmenu. This entry is added by the System tray, I don't think we can remove it. Regards, -- Beno?t Minisini From gambas.fr at ...626... Wed Jun 24 15:46:55 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 24 Jun 2015 15:46:55 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: <5589F0D8.1000207@...1...> References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> Message-ID: Le 24 juin 2015 01:51, "Beno?t Minisini" a ?crit : > > Le 23/06/2015 20:28, Moviga Technologies a ?crit : > > > > > > Hi all! > > > > Some bugs: > > - Sliderbox: Setting step to 50, and scrolling over the slider still > > just gives +/-1 increments. Scrolling over the accompanying valuebox > > works as expected. > > This is the intended behaviour. > > > - When prettyfying the code (both on save and with Ctrl+Shift+F), > > cursor jups to the very end of the document. > > I can do something for that... > > > - If Desktop.HasTray Then ... crashes Gambas. > > I will fix that soon. > > > - Cannot change Gambas' editor's fontsize when using the Gambas font. > > The Gambas font has only two sizes: 9pt and 10pt. > > > > > Feature request: > > - Mouse scrolling over tray icon. > > This is forbidden by the system tray protocol. Are you sure ?... And what about Kmix ? > > > - Possibillity to remove the "Quit" entry in the trayicon's popupmenu. > > This entry is added by the System tray, I don't think we can remove it. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Jun 24 16:05:36 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 24 Jun 2015 16:05:36 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> Message-ID: <558AB930.6010209@...1...> Le 24/06/2015 15:46, Fabien Bodard a ?crit : >>> Feature request: >>> - Mouse scrolling over tray icon. >> >> This is forbidden by the system tray protocol. > > Are you sure ?... And what about Kmix ? > Indeed... My bad, I didn't read the QT documentation carefully enough... -- Beno?t Minisini From moviga at ...3488... Wed Jun 24 17:38:09 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 24 Jun 2015 17:38:09 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> Message-ID: <25b81d1163a5e2fc1d2d3b093a6f5c44@...3488...> Excellent Beno?t! Not just Kmix, but also the battery (powersettings) allows for scrolling to change screen brightness, so its very well supported :) From moviga at ...3488... Wed Jun 24 21:06:04 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 24 Jun 2015 21:06:04 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> Message-ID: How about double-click? From herberthguzman at ...626... Wed Jun 24 21:22:59 2015 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 24 Jun 2015 13:22:59 -0600 Subject: [Gambas-user] Problem with DesktopWatcher and Desktop.X11 Message-ID: Benoit My apologies, I'm programming in Gambas 3.7 and the problem I have is in this version. But programming in Gambas 3.8 there is no problem. It works well. Thanks for your time. Regards, Herberth From gambas at ...1... Wed Jun 24 21:44:01 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 24 Jun 2015 21:44:01 +0200 Subject: [Gambas-user] Problem with DesktopWatcher and Desktop.X11 In-Reply-To: References: Message-ID: <558B0881.3030909@...1...> Le 24/06/2015 21:22, herberth guzman a ?crit : > Benoit > > My apologies, I'm programming in Gambas 3.7 and the problem I have is in > this version. > > But programming in Gambas 3.8 there is no problem. It works well. > > Thanks for your time. > > > Regards, > > Herberth I will try to release Gambas 3.8 as soon as possible. Regards, -- Beno?t Minisini From herberthguzman at ...626... Wed Jun 24 21:44:09 2015 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 24 Jun 2015 13:44:09 -0600 Subject: [Gambas-user] FileView and Files "*.desktop" Message-ID: Benoit I need to display in FileView files "* .desktop" with icon associated with each application. example Gambas3.desktop Icon = gambas3 gwenview.desktop Icon = gwenview And do not show a text file as it currently does. I personalize MyFileView Control But I would like to FileView of Gambas3 what includes. In the accompanying example I show what I'd like. to see the example copies an "* .desktop" file to your desktop Regards, Herberth -------------- next part -------------- A non-text attachment was scrubbed... Name: test_desktop-0.0.2.tar.gz Type: application/x-gzip Size: 14269 bytes Desc: not available URL: From Karl.Reinl at ...2345... Wed Jun 24 23:00:32 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 24 Jun 2015 23:00:32 +0200 Subject: [Gambas-user] BUG in WebBrowser 1.0.1 example Message-ID: <1435179632.3565.3.camel@...40...> Salut Beno?t, WebBrowser 1.0.1 example have a bug in Private Sub DoFind(Optional bBackward As Boolean) see attachment -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-06-24 22:56:31.png Type: image/png Size: 139550 bytes Desc: not available URL: From gambas at ...1... Thu Jun 25 02:51:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 25 Jun 2015 02:51:27 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> Message-ID: <558B508F.5020408@...1...> Le 24/06/2015 21:06, Moviga Technologies a ?crit : > > > How about double-click? Half bad news: Double-click and mouse wheel events won't work on system that install the sni-qt package. That package transform Qt system tray icons from the old protocol to the new one, but only support click event. No idea how KDE tray icons support these events with the new protocol. But you are doom. You can just use the Click event if you want to be sure that your tray icon will work with all desktops... :-/ -- Beno?t Minisini From adrien.prokopowicz at ...626... Thu Jun 25 10:41:25 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 25 Jun 2015 10:41:25 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: <558B508F.5020408@...1...> References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> <558B508F.5020408@...1...> Message-ID: Le Thu, 25 Jun 2015 02:51:27 +0200, Beno?t Minisini a ?crit: > Le 24/06/2015 21:06, Moviga Technologies a ?crit : >> >> >> How about double-click? > > Half bad news: Double-click and mouse wheel events won't work on system > that install the sni-qt package. That package transform Qt system tray > icons from the old protocol to the new one, but only support click event. > > No idea how KDE tray icons support these events with the new protocol. > > But you are doom. You can just use the Click event if you want to be > sure that your tray icon will work with all desktops... :-/ > KDE icons directly implement the DBus SNI interface[0], which provides scroll wheel and middle click (but no double-click, I actually never saw a tray icon that uses it). It is therefore possible to write an SNI implementation using only gb.dbus. The only problem is that DbusObject cannot raise DBus events yet... [0] http://www.notmart.org/misc/statusnotifieritem/statusnotifieritem.html -- Adrien Prokopowicz From gambas.fr at ...626... Thu Jun 25 15:16:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 25 Jun 2015 15:16:31 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> <558B508F.5020408@...1...> Message-ID: 2015-06-25 10:41 GMT+02:00 Adrien Prokopowicz : > Le Thu, 25 Jun 2015 02:51:27 +0200, Beno?t Minisini > a ?crit: > >> Le 24/06/2015 21:06, Moviga Technologies a ?crit : >>> >>> >>> How about double-click? >> >> Half bad news: Double-click and mouse wheel events won't work on system >> that install the sni-qt package. That package transform Qt system tray >> icons from the old protocol to the new one, but only support click event. >> >> No idea how KDE tray icons support these events with the new protocol. >> >> But you are doom. You can just use the Click event if you want to be >> sure that your tray icon will work with all desktops... :-/ >> > > KDE icons directly implement the DBus SNI interface[0], which provides > scroll wheel and middle click (but no double-click, I actually never > saw a tray icon that uses it). > > It is therefore possible to write an SNI implementation using only gb.dbus. > The only problem is that DbusObject cannot raise DBus events yet... > > [0] http://www.notmart.org/misc/statusnotifieritem/statusnotifieritem.html Yes it will be better to implement our own SNI interface. So we can manage it more simply for all toolkits. Benoit can you provide the DBus Event to gb.dbus ? > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From charlie at ...2793... Thu Jun 25 15:10:46 2015 From: charlie at ...2793... (Charlie) Date: Thu, 25 Jun 2015 06:10:46 -0700 (MST) Subject: [Gambas-user] Need help clear tableview In-Reply-To: <200509071742.57604.isy21@...1082...> References: <200509071742.57604.isy21@...1082...> Message-ID: <1435237846745-51883.post@...3046...> You need to update your Distro and Gambas! In Gambas 3.7.1 you can clear the tableview with tableview.Clear -- View this message in context: http://gambas.8142.n7.nabble.com/Need-help-clear-tableview-tp226p51883.html Sent from the gambas-user mailing list archive at Nabble.com. From moviga at ...3488... Thu Jun 25 19:31:27 2015 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 25 Jun 2015 19:31:27 +0200 Subject: [Gambas-user] Bugs and feature requests In-Reply-To: References: <75313498636e0e30d914fff31e5dd7d7@...3488...> <5589F0D8.1000207@...1...> <558B508F.5020408@...1...> Message-ID: <048b3df9b4fe37c1b7e768b98a8ff354@...3488...> At least scrolling and middle-click sounds very good :) From moviga at ...3488... Thu Jun 25 19:35:50 2015 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 25 Jun 2015 19:35:50 +0200 Subject: [Gambas-user] Running website from server Message-ID: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> Hi! I have made a website with Gambas, and uploaded it to my Ubuntu 15.04 VirtualBox server. As I run: $ gbr3 website.gambas --httpd it just spits out html markup in the console window... From rmorgan62 at ...626... Fri Jun 26 03:02:36 2015 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 25 Jun 2015 19:02:36 -0600 Subject: [Gambas-user] Running website from server In-Reply-To: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> References: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> Message-ID: ; This is the expected behavior I believe. You need to us gbw3 and not grbr3 to serve your your site. See the wiki: http://gambaswiki.org/wiki/doc/serverpage On Thu, Jun 25, 2015 at 11:35 AM, Moviga Technologies wrote: > > > Hi! > > I have made a website with Gambas, and uploaded it to my Ubuntu 15.04 > VirtualBox server. > > As I run: > > $ gbr3 website.gambas --httpd > > it just spits out html markup in the console window... > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From vuott at ...325... Fri Jun 26 09:22:45 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 26 Jun 2015 08:22:45 +0100 Subject: [Gambas-user] ERROR with rev. 7145 Message-ID: <1435303365.14450.YahooMailBasic@...3274...> Hello, I obtain ERROR in Make with rev. 7145: gtrayicon.cpp: In static member function 'static bool gTrayIcon::hasSystemTray()': gtrayicon.cpp:386:29: error: 'X11_get_system_tray' was not declared in this scope return X11_get_system_tray() != 0; ^ gtrayicon.cpp:387:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[5]: *** [gb_gtk_la-gtrayicon.lo] Error 1 make[5]: Leaving directory `/home/vuott/trunk/gb.gtk/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 Regards vuott From ian.roper at ...1974... Fri Jun 26 11:55:31 2015 From: ian.roper at ...1974... (Ian) Date: Fri, 26 Jun 2015 17:55:31 +0800 Subject: [Gambas-user] Running website from server In-Reply-To: References: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> Message-ID: <558D2193.6030400@...1974...> Randel, Don't forget to give your shell scripts an extension ie: myscript.gbw Then let Apache ( or ngix ) know that it's a CGI script. something like this: from the apache 000-default.conf on my web server ScriptAlias /cgi-bin "/usr/lib/cgi-bin/" AllowOverride None AddHandler cgi-script .gbw .gambas Options -Indexes +ExecCGI +FollowSymLinks Require all granted I've been able to get the single example to work but no other scripts formatted for gbw3 appear to do so. I've been trying now for about 2 weeks with no success, so if you get it working can you please let me know how you did it. Error logs from Apache give this as an error for any script ( other than the example) "malformed header from script 'test3.gbw': Bad header: # Gambas Project File 3.0," I've also tried .gambas control line applications but same deal. The Apache error log contains nothing and the access log seems to say that it functioned correctly. But... the output is a blank page with no source code when you "view source" One of the test scripts I've tried without any success. ======================== #!/usr/bin/gbw3 <% private sRes As String Exec ["cat", "/proc/meminfo"] To sRes %>
  • <%= sRes %>
=========================== Also ensure that the symbolic link for gbw3 is set in : /usr/bin ian at ...3489... /usr/bin $ ls -l gb* -rwxr-xr-x 1 root root 31568 Jun 20 12:10 gba3 -rwxr-xr-x 1 root root 167184 Jun 20 12:10 gbc3 lrwxrwxrwx 1 root root 11 Jun 20 12:10 gbh3 -> gbh3.gambas -rwxr-xr-x 1 root root 14873 Jun 7 21:26 gbh3.gambas -rwxr-xr-x 1 root root 31392 Jun 20 12:10 gbi3 lrwxrwxrwx 1 root root 4 Jun 20 12:10 gbr3 -> gbx3 lrwxrwxrwx 1 root root 11 Jun 7 21:26 gbs3 -> gbs3.gambas -rwxr-xr-x 1 root root 23230 Jun 7 21:26 gbs3.gambas *lrwxrwxrwx 1 root root 11 Jun 7 21:26 gbw3 -> gbs3.gambas* -rwxr-xr-x 1 root root 380664 Jun 20 12:10 gbx3 Also I've written a quick apache log viewer gambas app which will also give you the modules loaded using 'apachectl'. Allow you to view the apache2.conf & the various other config files If you want a copy drop me a line - it's a quick & dirty app to help me try an diagnose the issues I'm having getting Gambas scripts to run. If you have any success please let me know. My Web server is Ubuntu 14.04 Gambas is 3.7.90 Cheers, Ian Roper. ----------------------------------------------------------- On 26/06/15 09:02, Randall Morgan wrote: > ; This is the expected behavior I believe. You need to us gbw3 and not > grbr3 to serve your your site. See the wiki: > http://gambaswiki.org/wiki/doc/serverpage > > On Thu, Jun 25, 2015 at 11:35 AM, Moviga Technologies > wrote: > >> >> Hi! >> >> I have made a website with Gambas, and uploaded it to my Ubuntu 15.04 >> VirtualBox server. >> >> As I run: >> >> $ gbr3 website.gambas --httpd >> >> it just spits out html markup in the console window... >> >> >> ------------------------------------------------------------------------------ >> Monitor 25 network devices or servers for free with OpManager! >> OpManager is web-based network management software that monitors >> network devices and physical & virtual servers, alerts via email & sms >> for fault. Monitor 25 devices for free with no restriction. Download now >> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > From gambas at ...1... Fri Jun 26 13:16:15 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Jun 2015 13:16:15 +0200 Subject: [Gambas-user] Running website from server In-Reply-To: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> References: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> Message-ID: <558D347F.2010207@...1...> Le 25/06/2015 19:35, Moviga Technologies a ?crit : > > > Hi! > > I have made a website with Gambas, and uploaded it to my Ubuntu 15.04 > VirtualBox server. > > As I run: > > $ gbr3 website.gambas --httpd > > it just spits out html markup in the console window... > It's: GB_HTTPD_PORT=XXX gbr3 --httpd website.gambas Where XXX is the port number you want to use. Then point a web browser at http://localhost:XXX Regards, -- Beno?t Minisini From gambas at ...1... Fri Jun 26 13:22:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Jun 2015 13:22:56 +0200 Subject: [Gambas-user] ERROR with rev. 7145 In-Reply-To: <1435303365.14450.YahooMailBasic@...3274...> References: <1435303365.14450.YahooMailBasic@...3274...> Message-ID: <558D3610.6020503@...1...> Le 26/06/2015 09:22, Ru Vuott a ?crit : > Hello, > > I obtain ERROR in Make with rev. 7145: > > > gtrayicon.cpp: In static member function 'static bool gTrayIcon::hasSystemTray()': > gtrayicon.cpp:386:29: error: 'X11_get_system_tray' was not declared in this scope > return X11_get_system_tray() != 0; > ^ > gtrayicon.cpp:387:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ > make[5]: *** [gb_gtk_la-gtrayicon.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.gtk/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.gtk/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.gtk' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > > > Regards > vuott > Fixed in revision #7146. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jun 26 13:35:37 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 26 Jun 2015 13:35:37 +0200 Subject: [Gambas-user] gb.dbus and signals Message-ID: <558D3909.4090501@...1...> Hi, In revision #7146 I have added to the gb.dbus component the ability to raise signals. How does it work? All events defined in your DBusObject become DBus signals. The name of the event must be the name of the interface where all dots are replaced by underscore, followed by an underscore and the name of the signal. If the event is for the default interface, just the signal name is enough. Don't forget to add the interface name when calling the Register() method. To actually raise the signal on a specific bus, you don't use the RAISE instruction, but the DBus.Session.Raise() or the DBus.System.Raise() method. That method takes 3 arguments : - The DBus object. - The signal name, which is the event name where "_" are replaced by ".". - An optional array of signal arguments. Signal arguments and event signature must match, otherwise I don't know what happens. :-) A little dummy example: --8<------------------------------------------------------------------- ' Gambas class file Inherits DBusObject Event org_freedesktop_StatusNotifierItem_IconChanged Event org_freedesktop_StatusNotifierItem_NewStatus(sStatus As String) Property Read org_freedesktop_StatusNotifierItem_Category As String Public Sub org_freedesktop_StatusNotifierItem_Activate(X As Integer, Y As Integer) End Private Function org_freedesktop_StatusNotifierItem_Category_Read() As String End ... Public Sub Main() DBus.Session.Register(hObject, "/StatusNotifierItem", ["org.freedesktop.StatusNotifierItem"]) ' This is needed at the moment so that the current application is visible under different names DBus.Session._RequestName("org.freedesktop.StatusNotifierItem-" & CStr(Application.Handle) & "-1", True) DBus.Session.Raise(hObject, "org.freedesktop.StatusNotifierItem.IconChanged") DBus.Session.Raise(hObject, "org.freedesktop.StatusNotifierItem.NewStatus", ["Chuck!"]) Wait 1 DBus.Session.Unregister(hObject) End --8<------------------------------------------------------------------- I'm currently creating a gb.form.statusicon component that will allow to use the new system tray protocol (but not the old one!) Regards, -- Beno?t Minisini From vuott at ...325... Fri Jun 26 15:46:25 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 26 Jun 2015 14:46:25 +0100 Subject: [Gambas-user] ERROR with rev. 7145 In-Reply-To: <558D3610.6020503@...1...> Message-ID: <1435326385.44858.YahooMailBasic@...3268...> Yes, it's OK. bye -------------------------------------------- Ven 26/6/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR with rev. 7145 A: "mailing list for gambas users" Data: Venerd? 26 giugno 2015, 13:22 Le 26/06/2015 09:22, Ru Vuott a ?crit : > Hello, > > I obtain ERROR in Make with rev. 7145: > > > gtrayicon.cpp: In static member function 'static bool gTrayIcon::hasSystemTray()': > gtrayicon.cpp:386:29: error: 'X11_get_system_tray' was not declared in this scope >? ? return X11_get_system_tray() != 0; >? ? ? ? ? ? ? ? ? ? ? ? ? ? ???^ > gtrayicon.cpp:387:1: warning: control reaches end of non-void function [-Wreturn-type] >???} >???^ > make[5]: *** [gb_gtk_la-gtrayicon.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.gtk/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.gtk/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.gtk' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > > > Regards > vuott > Fixed in revision #7146. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Fri Jun 26 19:03:26 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 26 Jun 2015 19:03:26 +0200 Subject: [Gambas-user] gb.dbus and signals In-Reply-To: <558D3909.4090501@...1...> References: <558D3909.4090501@...1...> Message-ID: Le 26 juin 2015 13:36, "Beno?t Minisini" a ?crit : > > Hi, > > In revision #7146 I have added to the gb.dbus component the ability to > raise signals. > > How does it work? > > All events defined in your DBusObject become DBus signals. > > The name of the event must be the name of the interface where all dots > are replaced by underscore, followed by an underscore and the name of > the signal. If the event is for the default interface, just the signal > name is enough. > > Don't forget to add the interface name when calling the Register() method. > > To actually raise the signal on a specific bus, you don't use the RAISE > instruction, but the DBus.Session.Raise() or the DBus.System.Raise() method. > > That method takes 3 arguments : > - The DBus object. > - The signal name, which is the event name where "_" are replaced by ".". > - An optional array of signal arguments. > > Signal arguments and event signature must match, otherwise I don't know > what happens. :-) > > A little dummy example: > > --8<------------------------------------------------------------------- > > ' Gambas class file > > Inherits DBusObject > > Event org_freedesktop_StatusNotifierItem_IconChanged > Event org_freedesktop_StatusNotifierItem_NewStatus(sStatus As String) > > Property Read org_freedesktop_StatusNotifierItem_Category As String > > Public Sub org_freedesktop_StatusNotifierItem_Activate(X As Integer, Y > As Integer) > > End > > Private Function org_freedesktop_StatusNotifierItem_Category_Read() As > String > > End > > ... > > Public Sub Main() > > DBus.Session.Register(hObject, "/StatusNotifierItem", > ["org.freedesktop.StatusNotifierItem"]) > ' This is needed at the moment so that the current application is > visible under different names > DBus.Session._RequestName("org.freedesktop.StatusNotifierItem-" & > CStr(Application.Handle) & "-1", True) > > DBus.Session.Raise(hObject, > "org.freedesktop.StatusNotifierItem.IconChanged") > DBus.Session.Raise(hObject, > "org.freedesktop.StatusNotifierItem.NewStatus", ["Chuck!"]) > > Wait 1 > > DBus.Session.Unregister(hObject) > > End > > --8<------------------------------------------------------------------- > > I'm currently creating a gb.form.statusicon component that will allow to > use the new system tray protocol (but not the old one!) > Cool ? > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From herberthguzman at ...626... Fri Jun 26 21:24:23 2015 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 26 Jun 2015 13:24:23 -0600 Subject: [Gambas-user] Problems with HSplit Message-ID: Salut Benoit as always for help. I have a Hsplit on a form I create 2 buttons run the form, the buttons look the same size the problem is when clean Hsplit (HSplit1.Children.Clean) and I return to create the buttons inside HSplit resize buttons. CODE Public Sub Form_Open () Button1_Click '("good") End Public Sub Button1_Click () '("Here i have the problem") Dim i As Integer HSplit1.Children.Clear 'For Each hToggle In HSplit1.Children 'hToggle.Delete 'Next For i = 1 To 2 hToggle = New Button (HSplit1) hToggle.AutoResize = True hToggle.Text = "T" & i Picture hToggle.Picture = ["icon:/32/add"] Next End Question...? 1- How I can cleaning and create buttons with the same dimensions.? 2-Where I have the error. regards and thanks for the help attached example adn image of what I explain Herberth -------------- next part -------------- A non-text attachment was scrubbed... Name: hsplit.png Type: image/png Size: 27455 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Test_HSplit-0.0.1.tar.gz Type: application/x-gzip Size: 4199 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Jun 26 22:02:42 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 26 Jun 2015 22:02:42 +0200 Subject: [Gambas-user] Problems with HSplit In-Reply-To: References: Message-ID: <1435348962.3639.3.camel@...40...> Am Freitag, den 26.06.2015, 13:24 -0600 schrieb herberth guzman: > Salut Benoit > > as always for help. > > I have a Hsplit on a form > I create 2 buttons > run the form, the buttons look the same size > the problem is > when clean Hsplit (HSplit1.Children.Clean) > and I return to create the buttons inside HSplit > resize buttons. > > CODE > > Public Sub Form_Open () > > Button1_Click '("good") > > End > > Public Sub Button1_Click () '("Here i have the problem") > > Dim i As Integer > > HSplit1.Children.Clear > 'For Each hToggle In HSplit1.Children > 'hToggle.Delete > 'Next > > For i = 1 To 2 > hToggle = New Button (HSplit1) > hToggle.AutoResize = True > hToggle.Text = "T" & i > Picture hToggle.Picture = ["icon:/32/add"] > Next > > End > > Question...? > > 1- How I can cleaning and create buttons with the same dimensions.? > 2-Where I have the error. > > regards and thanks for the help > > attached example adn image of what I explain > > Herberth Salut Herberth, Public Sub Button1_Click() Dim i As Integer HSplit1.Children.Clear 'For Each hToggle In HSplit1.Children ' hToggle.Delete 'Next For i = 1 To 2 hToggle = New Button(HSplit1) hToggle.Text = "T" & i hToggle.Picture = Picture["icon:/32/add"] Next hToggle.AutoResize = True End this works for me. But how you want to distinguish your buttons. -- Amicalement Charlie From herberthguzman at ...626... Fri Jun 26 22:33:19 2015 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 26 Jun 2015 14:33:19 -0600 Subject: [Gambas-user] Problems with HSplit Message-ID: Salut Amicalement >Salut Herberth, >Public Sub Button1_Click() > Dim i As Integer > HSplit1.Children.Clear > For i = 1 To 2 > hToggle = New Button(HSplit1) > hToggle.Text = "T" & i > hToggle.Picture = Picture["icon:/32/add"] > Next > hToggle.AutoResize = True >End >This works for me. >But how you want to distinguish your buttons. -- >Amicalement >Charlie I drown in a glass of water. Your solution works well for me. Super. This is what I needed. Regards and thanks From adamnt42 at ...626... Sat Jun 27 09:49:58 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 27 Jun 2015 17:19:58 +0930 Subject: [Gambas-user] How to tell what invoked this program? Message-ID: <20150627171958.bdb8805457bdd69e74d4d006@...626...> This is driving me insane! How can I tell at runtime if the executable was invoked manually by a user or automatically by a scheduler, e.g. cron, anacron, at etc. Can't use the process userid as it may have been invoked as a user cron job. I am sure I have done this at least a gazillion times before.... but today???? tia bruce -- B Bruen From taboege at ...626... Sat Jun 27 10:12:01 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 27 Jun 2015 10:12:01 +0200 Subject: [Gambas-user] How to tell what invoked this program? In-Reply-To: <20150627171958.bdb8805457bdd69e74d4d006@...626...> References: <20150627171958.bdb8805457bdd69e74d4d006@...626...> Message-ID: <20150627081201.GA580@...2774...> On Sat, 27 Jun 2015, adamnt42 at ...626... wrote: > This is driving me insane! > > How can I tell at runtime if the executable was invoked manually by a user or automatically by a scheduler, e.g. cron, anacron, at etc. > > Can't use the process userid as it may have been invoked as a user cron job. > I am sure I have done this at least a gazillion times before.... but today???? > *Maybe* examine the parent PID and look behind the symlink /proc//exe? I didn't test it though and I don't know how many names there are for (ana)cron, at, etc. on different distributions. Another idea would be, if that's possible, to introduce a command line option to your program and require the user to set it iff the program is started by such a daemon. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adamnt42 at ...626... Sat Jun 27 10:22:16 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 27 Jun 2015 17:52:16 +0930 Subject: [Gambas-user] How to tell what invoked this program? In-Reply-To: <20150627081201.GA580@...2774...> References: <20150627171958.bdb8805457bdd69e74d4d006@...626...> <20150627081201.GA580@...2774...> Message-ID: <20150627175216.0a8ecc5366f8772726eb18ad@...626...> On Sat, 27 Jun 2015 10:12:01 +0200 Tobias Boege wrote: > On Sat, 27 Jun 2015, adamnt42 at ...626... wrote: > > This is driving me insane! > > > > How can I tell at runtime if the executable was invoked manually by a user or automatically by a scheduler, e.g. cron, anacron, at etc. > > > > Can't use the process userid as it may have been invoked as a user cron job. > > I am sure I have done this at least a gazillion times before.... but today???? > > > > *Maybe* examine the parent PID and look behind the symlink /proc//exe? > I didn't test it though and I don't know how many names there are for > (ana)cron, at, etc. on different distributions. Another idea would be, if > that's possible, to introduce a command line option to your program and > require the user to set it iff the program is started by such a daemon. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > Thanks Tobi, I had been going down the task parent PID route (as I thought there was a "simple" answer that way) but I fear you may be correct - setting a "-d" option may ultimately be the easiest way to go. ... Grrr :-( Some days are better than others. b -- B Bruen From taboege at ...626... Sat Jun 27 16:09:36 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 27 Jun 2015 16:09:36 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() In-Reply-To: <5582A976.8020407@...1...> References: <20150618062931.GC586@...2774...> <5582A976.8020407@...1...> Message-ID: <20150627140936.GD580@...2774...> On Thu, 18 Jun 2015, Beno?t Minisini wrote: > Le 18/06/2015 08:29, Tobias Boege a ?crit : > > Hi Benoit, > > > > when I type "New Rect(", the IDE shows the signature of Rect's constructor > > doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which > > both have a Rect class. Does inheritance of the parent's constructor > > arguments cause this? What is the intended outcome if I specify both sets > > of arguments? :-) I guess the child's should override the parent's... > > > > Regards, > > Tobi > > > > There is no actual inheritance. > > It's just that as *.info files has no inheritance feature, both > gb.qt4.info and gb.clipper.info (and other components that directly or > indirectly automatically load the 'gb.geom' component) have the Rect > class description in it. > > The problem is in the *.info file, not at runtime. > > The solution would be having an inclusion feature in *.info file, or > something that tells the IDE that part of the description comes from > another automatically loaded component. > Ah, I see. But the interpreter gets it right... I suppose we can't easily exploit the interpreter's intelligence to determine the real signature for a symbol in help system? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Jun 27 16:25:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 27 Jun 2015 16:25:00 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() In-Reply-To: <20150627140936.GD580@...2774...> References: <20150618062931.GC586@...2774...> <5582A976.8020407@...1...> <20150627140936.GD580@...2774...> Message-ID: <558EB23C.2010806@...1...> Le 27/06/2015 16:09, Tobias Boege a ?crit : > On Thu, 18 Jun 2015, Beno?t Minisini wrote: >> Le 18/06/2015 08:29, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> when I type "New Rect(", the IDE shows the signature of Rect's constructor >>> doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which >>> both have a Rect class. Does inheritance of the parent's constructor >>> arguments cause this? What is the intended outcome if I specify both sets >>> of arguments? :-) I guess the child's should override the parent's... >>> >>> Regards, >>> Tobi >>> >> >> There is no actual inheritance. >> >> It's just that as *.info files has no inheritance feature, both >> gb.qt4.info and gb.clipper.info (and other components that directly or >> indirectly automatically load the 'gb.geom' component) have the Rect >> class description in it. >> >> The problem is in the *.info file, not at runtime. >> >> The solution would be having an inclusion feature in *.info file, or >> something that tells the IDE that part of the description comes from >> another automatically loaded component. >> > > Ah, I see. But the interpreter gets it right... I suppose we can't easily > exploit the interpreter's intelligence to determine the real signature for > a symbol in help system? > The interpreter does not care about *.info files, it does not need them, as he has the classes descriptions in memory. I will modify the *.info format so that the IDE knows what parts of its contents have been included. At the moment, I'm playing with the joyful world of DBus... -- Beno?t Minisini From taboege at ...626... Sat Jun 27 16:21:13 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 27 Jun 2015 16:21:13 +0200 Subject: [Gambas-user] Clipper counter-intuitivities In-Reply-To: <55835ABD.9080608@...1...> References: <20150618183803.GK586@...2774...> <55835ABD.9080608@...1...> Message-ID: <20150627142113.GE580@...2774...> On Fri, 19 Jun 2015, Beno?t Minisini wrote: > Le 18/06/2015 20:38, Tobias Boege a ?crit : > > Hi Benoit, > > > > the attached project shows two strange behaviours of Polygon from the > > gb.clipper component. > > > > (1) Polygon._get() returns a new PointF object created on the fly from > > internal data. However, people would think that > > > > hPolygon[0].X = 20 > > > > should modify the zeroth point's x coordinate to 20, which it doesn't > > in the current implementation. Can't we cache the PointF objects such > > that changes to the return values of _get() are updated into the > > Polygon? > > > > To do that, we have to replace the PointF by a specific class > (PolygonPointF?) that is like PointF, but owns a reference on the > Polygon, so that updating the point updates the polygon. > > There is the same trick with the Control.Font class, so that it behaves > the way you describe. > > But it's heavy: it uses one pointer more for the two floating point > coordinates. So I don't really like it. > Also it would be a bit ugly to have a new PointF class. My idea was to have a lazy cache for points: in _get() look into the cache if the indexed point is there. If not, allocate it, fill it with clipper's data, put it into the cache and return the object. You know how that works. This way, for each point there will always be one object which is referenced inside the Polygon object. The two gigantic drawbacks are: (a) data is duplicated in the cache, as it will also be in the clipper library's objects, and (b) we would have to write the cache back into the clipper objects before virtually any operation. How about the following: _get() returns a virtual .Polygon.Point class. This mechanism already carries around the pointer to the Polygon object most efficiently. Property changes can easily be transferred into the clipper library. To get a real PointF object, we can spend a GetPoint() method and to have something like _put(), we add a SetPoint(hPoint As PointF) method. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Jun 27 16:33:12 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 27 Jun 2015 16:33:12 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() In-Reply-To: <558EB23C.2010806@...1...> References: <20150618062931.GC586@...2774...> <5582A976.8020407@...1...> <20150627140936.GD580@...2774...> <558EB23C.2010806@...1...> Message-ID: <20150627143312.GG580@...2774...> On Sat, 27 Jun 2015, Beno?t Minisini wrote: > At the moment, I'm playing with the joyful world of DBus... > Yes, I saw that... very briefly. There sure are people who love overlong lines, but I'm not one of them. --8<------------------------------------------------------------------------ Event org_freedesktop_StatusNotifierItem_IconChanged Event org_freedesktop_StatusNotifierItem_NewStatus(sStatus As String) Property Read org_freedesktop_StatusNotifierItem_Category As String --8<------------------------------------------------------------------------ Good luck, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Sat Jun 27 16:42:18 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 27 Jun 2015 16:42:18 +0200 Subject: [Gambas-user] IDE: signature doubled for Rect._new() In-Reply-To: <20150627143312.GG580@...2774...> References: <20150618062931.GC586@...2774...> <5582A976.8020407@...1...> <20150627140936.GD580@...2774...> <558EB23C.2010806@...1...> <20150627143312.GG580@...2774...> Message-ID: Le 27 juin 2015 16:38, "Tobias Boege" a ?crit : > > On Sat, 27 Jun 2015, Beno?t Minisini wrote: > > At the moment, I'm playing with the joyful world of DBus... > > > > Yes, I saw that... very briefly. There sure are people who love overlong > lines, but I'm not one of them. > Yes java people. (Gnome gentle too) Dbus is a quite strange world with its own logic... > --8<------------------------------------------------------------------------ > Event org_freedesktop_StatusNotifierItem_IconChanged > Event org_freedesktop_StatusNotifierItem_NewStatus(sStatus As String) > > Property Read org_freedesktop_StatusNotifierItem_Category As String > --8<------------------------------------------------------------------------ > > Good luck, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sun Jun 28 06:19:58 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 28 Jun 2015 04:19:58 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa Message-ID: <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version3.7.1 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 626 by isaf... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 1) If Gridview.Data.Text is defined then RichText value for a selected cell is null. Similarly if GridView.Data.RichText is defined then Text value for a selected cell is null 2) [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-41-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=1948M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Gambas 3.7.1 installed in Ubuntu 14.04 via ppa:gambas-team/gambas3 4) I filled a gridview with 2 colummns and rows GridView1.Columns.Count = 2 GridView1.Rows.Count = 2 Public Sub GridView1_Data(Row As Integer, Column As Integer) GridView1.Data.Text = "aa" End When I try to get RichText value of a cell by clicking on Gridview Message.Info(GridView1[0, 0].RichText) I get empty string. Similar if I set GridView1.Data.RichText = "aa" then I get Text value string empty. Attachments: xx.tar.gz 4.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Jun 28 13:13:09 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 28 Jun 2015 13:13:09 +0200 Subject: [Gambas-user] New gb.form.statusicon component Message-ID: <558FD6C5.5000807@...1...> Hi, In the last revision of the development version, I have implemented a new component named 'gb.form.statusicon', that implements the "new" system tray protocol, based on DBus. At the moment, it is only tested with KDE 5, and uses the KDE way of implementing that protocol. I say that, because the only documentation I found (that link provided by Adrien) is different from their implementation! It is impossible for me to test it just now with other desktop using that protocol, because you can't anymore install Ubuntu's Unity desktop on Kubuntu, it's completely broken. So if anyone could test it on Unity, KDE4 or Gnome3 to tell me what happens, it would be cool. Just run the gb.form.statusicon project. It will create one StatusIcon, and show a form with a Show button that create another StatusIcon. Clicking on the icons in the system tray should print debugging information. Clicking with the right button on the "Gambas" StatusIcon should poup a menu. Thanks in advance. Regards, -- Beno?t Minisini From moviga at ...3488... Sun Jun 28 19:28:20 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 28 Jun 2015 19:28:20 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <558FD6C5.5000807@...1...> References: <558FD6C5.5000807@...1...> Message-ID: At least I can tell that it works very well in KDE5 :) Would it be possible to get middle click support as well? From gambas at ...1... Sun Jun 28 19:54:03 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 28 Jun 2015 19:54:03 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> Message-ID: <559034BB.10308@...1...> Le 28/06/2015 19:28, Moviga Technologies a ?crit : > > > At least I can tell that it works very well in KDE5 :) Would it be > possible to get middle click support as well? I'm not not fond of that. What the heck do you want to do with middle click on a tray icon? -- Beno?t Minisini From moviga at ...3488... Sun Jun 28 20:11:42 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 28 Jun 2015 20:11:42 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <559034BB.10308@...1...> References: <558FD6C5.5000807@...1...> <559034BB.10308@...1...> Message-ID: Well, again Kmix serves as a good example. It's all about quick access to frequently used features. Kmix will mute/unmute with middle click. From gambas at ...1... Sun Jun 28 20:21:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 28 Jun 2015 20:21:32 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> <559034BB.10308@...1...> Message-ID: <55903B2C.1040503@...1...> Le 28/06/2015 20:11, Moviga Technologies a ?crit : > > > Well, again Kmix serves as a good example. It's all about quick access > to frequently used features. Kmix will mute/unmute with middle click. > Never noticed... Weird! I will see... -- Beno?t Minisini From moviga at ...3488... Sun Jun 28 22:30:08 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 28 Jun 2015 22:30:08 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <558FD6C5.5000807@...1...> References: <558FD6C5.5000807@...1...> Message-ID: Will there be a tooltip property as with the former tray icon? From moviga at ...3488... Sun Jun 28 22:32:57 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 28 Jun 2015 22:32:57 +0200 Subject: [Gambas-user] Desktop notification Message-ID: This is another feature request for Gambas - desktop notifications. I know KDE5 uses 'notify-send', but not sure about all the others. From gambas.fr at ...626... Sun Jun 28 22:44:50 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 28 Jun 2015 22:44:50 +0200 Subject: [Gambas-user] Desktop notification In-Reply-To: References: Message-ID: 2015-06-28 22:32 GMT+02:00 Moviga Technologies : > > > This is another feature request for Gambas - desktop notifications. I > know KDE5 uses 'notify-send', but not sure about all the others. it's a dbus thing. It use the notifier deamon provided by each modern complient desktop. dBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications"].Notify("MyApp","2", Null, "About My Notify", "This is a Notifications!!!", Null, Null, 5) so something can be done like for the trayicon > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From moviga at ...3488... Sun Jun 28 23:23:41 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 28 Jun 2015 23:23:41 +0200 Subject: [Gambas-user] Desktop notification In-Reply-To: References: Message-ID: <0d2885caa77cc05e2d3fabd7984203d8@...3488...> That's excellent Fabien! Thank you! This is pretty easy, but I suppose that if Gambas could do Desktop.Notify(Title, Message, Icon, Delay) it would be more Gambas like and convenient :) From adrien.prokopowicz at ...626... Mon Jun 29 00:33:10 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 29 Jun 2015 00:33:10 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <558FD6C5.5000807@...1...> References: <558FD6C5.5000807@...1...> Message-ID: Le Sun, 28 Jun 2015 13:13:09 +0200, Beno?t Minisini a ?crit: > Hi, > > In the last revision of the development version, I have implemented a > new component named 'gb.form.statusicon', that implements the "new" > system tray protocol, based on DBus. > > At the moment, it is only tested with KDE 5, and uses the KDE way of > implementing that protocol. > > I say that, because the only documentation I found (that link provided > by Adrien) is different from their implementation! > > It is impossible for me to test it just now with other desktop using > that protocol, because you can't anymore install Ubuntu's Unity desktop > on Kubuntu, it's completely broken. > > So if anyone could test it on Unity, KDE4 or Gnome3 to tell me what > happens, it would be cool. > > Just run the gb.form.statusicon project. It will create one StatusIcon, > and show a form with a Show button that create another StatusIcon. > Clicking on the icons in the system tray should print debugging > information. Clicking with the right button on the "Gambas" StatusIcon > should poup a menu. > > Thanks in advance. > > Regards, > I just made a VM with Ubuntu 15.04 and Unity to test that out, but I can't get it to work. The program runs, but no icon shows up. There are quite a few warnings (see attached), but I get these as well on Plasma 5, and everything works there. I made some more tests, I installed sni-qt and a program that uses it (skype), and the icon shows up correctly. So I ran D-Feet and checked the RegisteredStatusNotifierItems property of the StatusNotifierWatcher (see attached screenshot). The Skype icon that shows up is the second one on my screenshot, the first one being the Gambas one. Both seem to be correctly registered on both desktops, but only the second one shows up on Unity. As you said, the link I provided is actually bad, as everyones seems to use the KDE spec, not the "FreeDesktop" spec (in quotes here, because the only spec that I managed to find isn't even on their site). Without proper specification (How can it be so hard to find ?!), I rely purely on the sni-qt plugin source code[0]. It's not the best, but it's the only thing that I found that works across desktops. [0] https://launchpad.net/sni-qt -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: dbus_appindicator.log Type: application/octet-stream Size: 2577 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sni-register-watcher.png Type: image/png Size: 25562 bytes Desc: not available URL: From rmorgan62 at ...626... Mon Jun 29 02:19:32 2015 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 28 Jun 2015 18:19:32 -0600 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> Message-ID: On Ubuntu 12.04 LTS I got this error: Got bus address: "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d" Connected to accessibility bus at: "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d" Registered DEC: true process 20705: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file ../../dbus/dbus-message.c line 1205. This is normally a bug in some application using the D-Bus library. On Sun, Jun 28, 2015 at 4:33 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Sun, 28 Jun 2015 13:13:09 +0200, Beno?t Minisini > a ?crit: > > Hi, >> >> In the last revision of the development version, I have implemented a >> new component named 'gb.form.statusicon', that implements the "new" >> system tray protocol, based on DBus. >> >> At the moment, it is only tested with KDE 5, and uses the KDE way of >> implementing that protocol. >> >> I say that, because the only documentation I found (that link provided >> by Adrien) is different from their implementation! >> >> It is impossible for me to test it just now with other desktop using >> that protocol, because you can't anymore install Ubuntu's Unity desktop >> on Kubuntu, it's completely broken. >> >> So if anyone could test it on Unity, KDE4 or Gnome3 to tell me what >> happens, it would be cool. >> >> Just run the gb.form.statusicon project. It will create one StatusIcon, >> and show a form with a Show button that create another StatusIcon. >> Clicking on the icons in the system tray should print debugging >> information. Clicking with the right button on the "Gambas" StatusIcon >> should poup a menu. >> >> Thanks in advance. >> >> Regards, >> >> > I just made a VM with Ubuntu 15.04 and Unity to test that out, but I > can't get it to work. The program runs, but no icon shows up. > > There are quite a few warnings (see attached), but I get these as well > on Plasma 5, and everything works there. > > I made some more tests, I installed sni-qt and a program that uses it > (skype), and the icon shows up correctly. > So I ran D-Feet and checked the RegisteredStatusNotifierItems property > of the StatusNotifierWatcher (see attached screenshot). > > The Skype icon that shows up is the second one on my screenshot, the > first one being the Gambas one. Both seem to be correctly registered > on both desktops, but only the second one shows up on Unity. > > As you said, the link I provided is actually bad, as everyones seems > to use the KDE spec, not the "FreeDesktop" spec (in quotes here, > because the only spec that I managed to find isn't even on their site). > > Without proper specification (How can it be so hard to find ?!), I > rely purely on the sni-qt plugin source code[0]. It's not the best, > but it's the only thing that I found that works across desktops. > > [0] https://launchpad.net/sni-qt > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Mon Jun 29 03:53:23 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 29 Jun 2015 03:53:23 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. Message-ID: <5590A513.4050809@...1...> Hi, In revision #7154, I have replaced the gb.form.statusicon component by a component named gb.dbus.trayicon. This new component is now automatically loaded by the GUI components when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol is used. That way, you write your TrayIcon code once, and it will adapt to the desktop. The remaining problems are : - It works with KDE5 for sure. - It must be tested with KDE4. - It does not work with Unity apparently, no idea why. But the idea is there: find another language on Linux that allows you to define a tray icon that automatically adapts to the protocol used by the current desktop, with GTK+2, GTK+3, QT4 or QT5! :-) Regards, -- Beno?t Minisini From gambas at ...1... Mon Jun 29 04:38:41 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 29 Jun 2015 04:38:41 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> Message-ID: <5590AFB1.90702@...1...> Le 29/06/2015 00:33, Adrien Prokopowicz a ?crit : > > I just made a VM with Ubuntu 15.04 and Unity to test that out, but I > can't get it to work. The program runs, but no icon shows up. > > There are quite a few warnings (see attached), but I get these as well > on Plasma 5, and everything works there. > > I made some more tests, I installed sni-qt and a program that uses it > (skype), and the icon shows up correctly. > So I ran D-Feet and checked the RegisteredStatusNotifierItems property > of the StatusNotifierWatcher (see attached screenshot). Can you use 'dbus-monitor' to display all messages sent by DBus, so that we can see what Unity StatusNotifierWatcher asks to the Gambas program after it has registered? Regards, -- Beno?t Minisini From moviga at ...3488... Mon Jun 29 12:58:16 2015 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 29 Jun 2015 12:58:16 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5590A513.4050809@...1...> References: <5590A513.4050809@...1...> Message-ID: I get: Cannot load class 'TrayIcon': Unable to load class file [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=4.0.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+3=libgtk-3.so.0.1600.4 GTK+=libgtk-x11-2.0.so.0.2400.28 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 Qt4=libQtCore.so.4.8.7 Qt5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 From moviga at ...3488... Mon Jun 29 14:04:37 2015 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 29 Jun 2015 14:04:37 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> Message-ID: Sorry, that should be plural - TrayIcons From moviga at ...3488... Mon Jun 29 15:32:50 2015 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 29 Jun 2015 15:32:50 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> Message-ID: No, my bad - it was a compilation error. From moviga at ...3488... Mon Jun 29 21:08:09 2015 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 29 Jun 2015 21:08:09 +0200 Subject: [Gambas-user] BUG: Ctrl+Del not working Message-ID: <88523252cad65f1332ee6f45cc6e61ea@...3488...> Ctrl+Delete is no longer working in the editor (to delete whole words after the cursor) From gambas at ...1... Mon Jun 29 21:24:40 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 29 Jun 2015 21:24:40 +0200 Subject: [Gambas-user] BUG: Ctrl+Del not working In-Reply-To: <88523252cad65f1332ee6f45cc6e61ea@...3488...> References: <88523252cad65f1332ee6f45cc6e61ea@...3488...> Message-ID: <55919B78.9040704@...1...> Le 29/06/2015 21:08, Moviga Technologies a ?crit : > > > Ctrl+Delete is no longer working in the editor (to delete whole words > after the cursor) > Fixed in revision #7158. -- Beno?t Minisini From gambas at ...1... Mon Jun 29 23:13:04 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 29 Jun 2015 23:13:04 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> Message-ID: <5591B4E0.8030701@...1...> Le 28/06/2015 22:30, Moviga Technologies a ?crit : > > > Will there be a tooltip property as with the former tray icon? > The tooltip property has been implemented in revision #7159. Regards, -- Beno?t Minisini From gambas at ...1... Mon Jun 29 23:13:52 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 29 Jun 2015 23:13:52 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> Message-ID: <5591B510.3080907@...1...> Le 29/06/2015 02:19, Randall Morgan a ?crit : > On Ubuntu 12.04 LTS I got this error: > > Got bus address: > "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d" > Connected to accessibility bus at: > "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d" > Registered DEC: true > process 20705: arguments to dbus_message_new_method_call() were incorrect, > assertion "_dbus_check_is_valid_path (path)" failed in file > ../../dbus/dbus-message.c line 1205. > This is normally a bug in some application using the D-Bus library. > Who's displaying that? On which desktop? What are your system's information? -- Beno?t Minisini From gambas at ...1... Mon Jun 29 23:35:21 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 29 Jun 2015 23:35:21 +0200 Subject: [Gambas-user] Desktop notification In-Reply-To: <0d2885caa77cc05e2d3fabd7984203d8@...3488...> References: <0d2885caa77cc05e2d3fabd7984203d8@...3488...> Message-ID: <5591BA19.9080901@...1...> Le 28/06/2015 23:23, Moviga Technologies a ?crit : > > > That's excellent Fabien! Thank you! > > This is pretty easy, but I suppose that if Gambas could do > Desktop.Notify(Title, Message, Icon, Delay) it would be more Gambas like > and convenient :) > Desktop notification standard is far more complex than that. Implementing it is not a matter of minutes. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Tue Jun 30 01:08:13 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 30 Jun 2015 01:08:13 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <5590AFB1.90702@...1...> References: <558FD6C5.5000807@...1...> <5590AFB1.90702@...1...> Message-ID: Le Mon, 29 Jun 2015 04:38:41 +0200, Beno?t Minisini a ?crit: > Le 29/06/2015 00:33, Adrien Prokopowicz a ?crit : >> >> I just made a VM with Ubuntu 15.04 and Unity to test that out, but I >> can't get it to work. The program runs, but no icon shows up. >> >> There are quite a few warnings (see attached), but I get these as well >> on Plasma 5, and everything works there. >> >> I made some more tests, I installed sni-qt and a program that uses it >> (skype), and the icon shows up correctly. >> So I ran D-Feet and checked the RegisteredStatusNotifierItems property >> of the StatusNotifierWatcher (see attached screenshot). > > Can you use 'dbus-monitor' to display all messages sent by DBus, so that > we can see what Unity StatusNotifierWatcher asks to the Gambas program > after it has registered? > > Regards, > Here you go. -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: dbus-watch.log Type: application/octet-stream Size: 9606 bytes Desc: not available URL: From gambas at ...1... Tue Jun 30 01:11:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Jun 2015 01:11:29 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> <5590AFB1.90702@...1...> Message-ID: <5591D0A1.7040904@...1...> Le 30/06/2015 01:08, Adrien Prokopowicz a ?crit : > Le Mon, 29 Jun 2015 04:38:41 +0200, Beno?t Minisini > a ?crit: > >> Le 29/06/2015 00:33, Adrien Prokopowicz a ?crit : >>> >>> I just made a VM with Ubuntu 15.04 and Unity to test that out, but I >>> can't get it to work. The program runs, but no icon shows up. >>> >>> There are quite a few warnings (see attached), but I get these as well >>> on Plasma 5, and everything works there. >>> >>> I made some more tests, I installed sni-qt and a program that uses it >>> (skype), and the icon shows up correctly. >>> So I ran D-Feet and checked the RegisteredStatusNotifierItems property >>> of the StatusNotifierWatcher (see attached screenshot). >> >> Can you use 'dbus-monitor' to display all messages sent by DBus, so that >> we can see what Unity StatusNotifierWatcher asks to the Gambas program >> after it has registered? >> >> Regards, >> > > Here you go. > Can you try with the latest revision? The component is now named 'gb.dbus.trayicon'. Regards, -- Beno?t Minisini From rmorgan62 at ...626... Tue Jun 30 01:16:18 2015 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 29 Jun 2015 17:16:18 -0600 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: References: <558FD6C5.5000807@...1...> <5590AFB1.90702@...1...> Message-ID: Similar results on Ubuntu 12/04 LTS I notice the use org.kde.xxxx which may be an issue when kde isn't install... On Mon, Jun 29, 2015 at 5:08 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Mon, 29 Jun 2015 04:38:41 +0200, Beno?t Minisini < > gambas at ...1...> a ?crit: > > Le 29/06/2015 00:33, Adrien Prokopowicz a ?crit : >> >>> >>> I just made a VM with Ubuntu 15.04 and Unity to test that out, but I >>> can't get it to work. The program runs, but no icon shows up. >>> >>> There are quite a few warnings (see attached), but I get these as well >>> on Plasma 5, and everything works there. >>> >>> I made some more tests, I installed sni-qt and a program that uses it >>> (skype), and the icon shows up correctly. >>> So I ran D-Feet and checked the RegisteredStatusNotifierItems property >>> of the StatusNotifierWatcher (see attached screenshot). >>> >> >> Can you use 'dbus-monitor' to display all messages sent by DBus, so that >> we can see what Unity StatusNotifierWatcher asks to the Gambas program >> after it has registered? >> >> Regards, >> >> > Here you go. > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From adrien.prokopowicz at ...626... Tue Jun 30 01:32:46 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 30 Jun 2015 01:32:46 +0200 Subject: [Gambas-user] New gb.form.statusicon component In-Reply-To: <5591D0A1.7040904@...1...> References: <558FD6C5.5000807@...1...> <5590AFB1.90702@...1...> <5591D0A1.7040904@...1...> Message-ID: Le Tue, 30 Jun 2015 01:11:29 +0200, Beno?t Minisini a ?crit: > Le 30/06/2015 01:08, Adrien Prokopowicz a ?crit : >> Le Mon, 29 Jun 2015 04:38:41 +0200, Beno?t Minisini >> a ?crit: >> >>> Le 29/06/2015 00:33, Adrien Prokopowicz a ?crit : >>>> >>>> I just made a VM with Ubuntu 15.04 and Unity to test that out, but I >>>> can't get it to work. The program runs, but no icon shows up. >>>> >>>> There are quite a few warnings (see attached), but I get these as well >>>> on Plasma 5, and everything works there. >>>> >>>> I made some more tests, I installed sni-qt and a program that uses it >>>> (skype), and the icon shows up correctly. >>>> So I ran D-Feet and checked the RegisteredStatusNotifierItems property >>>> of the StatusNotifierWatcher (see attached screenshot). >>> >>> Can you use 'dbus-monitor' to display all messages sent by DBus, so >>> that >>> we can see what Unity StatusNotifierWatcher asks to the Gambas program >>> after it has registered? >>> >>> Regards, >>> >> >> Here you go. >> > > Can you try with the latest revision? The component is now named > 'gb.dbus.trayicon'. > > Regards, > Whoops, sorry, I completely missed that the component changed... Here's the log with the new one. -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: dbus-watch-2.log Type: application/octet-stream Size: 11433 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Tue Jun 30 04:30:40 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 30 Jun 2015 04:30:40 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5590A513.4050809@...1...> References: <5590A513.4050809@...1...> Message-ID: Le Mon, 29 Jun 2015 03:53:23 +0200, Beno?t Minisini a ?crit: > Hi, > > In revision #7154, I have replaced the gb.form.statusicon component by a > component named gb.dbus.trayicon. > > This new component is now automatically loaded by the GUI components > when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol > is used. > > That way, you write your TrayIcon code once, and it will adapt to the > desktop. > > The remaining problems are : > > - It works with KDE5 for sure. > > - It must be tested with KDE4. > > - It does not work with Unity apparently, no idea why. > > But the idea is there: find another language on Linux that allows you to > define a tray icon that automatically adapts to the protocol used by the > current desktop, with GTK+2, GTK+3, QT4 or QT5! :-) > > Regards, > I just tested it on KUbuntu 14.04 LTS with KDE4, and it works like a charm (see attached screenshot). :) The only thing to note is that SNI only got implemented by Plasma in KDE 4.5[0], so there is a case where gb.dbus.trayicon may get loaded without a StatusNotifierHost being actually available. Great job though ! I love the fact that apps automagically adapt to what they're running within. [0] https://techbase.kde.org/Schedules/KDE4/4.5_Feature_Plan#kdebase-workspace -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: sni-kde4.png Type: image/png Size: 134048 bytes Desc: not available URL: From gambas at ...1... Tue Jun 30 12:09:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Jun 2015 12:09:17 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> Message-ID: <55926ACD.3090505@...1...> Le 30/06/2015 04:30, Adrien Prokopowicz a ?crit : > Le Mon, 29 Jun 2015 03:53:23 +0200, Beno?t Minisini > a ?crit: > >> Hi, >> >> In revision #7154, I have replaced the gb.form.statusicon component by a >> component named gb.dbus.trayicon. >> >> This new component is now automatically loaded by the GUI components >> when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol >> is used. >> >> That way, you write your TrayIcon code once, and it will adapt to the >> desktop. >> >> The remaining problems are : >> >> - It works with KDE5 for sure. >> >> - It must be tested with KDE4. >> >> - It does not work with Unity apparently, no idea why. >> >> But the idea is there: find another language on Linux that allows you to >> define a tray icon that automatically adapts to the protocol used by the >> current desktop, with GTK+2, GTK+3, QT4 or QT5! :-) >> >> Regards, >> > > I just tested it on KUbuntu 14.04 LTS with KDE4, and it works > like a charm (see attached screenshot). :) > > The only thing to note is that SNI only got implemented by Plasma in > KDE 4.5[0], so there is a case where gb.dbus.trayicon may get loaded > without a StatusNotifierHost being actually available. Ha! How to check that a StatusNotifierHost is present without loading the dbus component and calling any external process? :-/ The environment tells me the major version of the KDE desktop, but not its minor version... > > Great job though ! I love the fact that apps automagically adapt to > what they're running within. > > [0] > https://techbase.kde.org/Schedules/KDE4/4.5_Feature_Plan#kdebase-workspace > In the meantime I investigated with Unity... They actually use a DBus protocol completly different from the KDE one, but apparently QT apps using sni-qt (like vlc) know how to deal with that. I will try to look into the sni-qt source code to understand the magic behind that. Of course, don't expect to find any good documentation about that Unity protocol (a.k.a. libappindicator). -- Beno?t Minisini From moviga at ...3488... Tue Jun 30 17:11:20 2015 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 30 Jun 2015 17:11:20 +0200 Subject: [Gambas-user] Desktop notification In-Reply-To: <5591BA19.9080901@...1...> References: " " <0d2885caa77cc05e2d3fabd7984203d8@...3488...> <5591BA19.9080901@...1...> Message-ID: OK, I understand. It is not that straight forward after all then. But, it would be a really nice feature to have, if you can manage! From moviga at ...3488... Tue Jun 30 20:23:38 2015 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 30 Jun 2015 20:23:38 +0200 Subject: [Gambas-user] Running website from server In-Reply-To: <558D2193.6030400@...1974...> References: <4f6ab9df42f1f483198c287ae5cce6c0@...3488...> <558D2193.6030400@...1974...> Message-ID: <22b18a6a3f3c23d8f6db038792a2d9ab@...3488...> Den 26.06.2015 11:55, skrev Ian: > Randel, > Don't forget to give your shell scripts an extension ie: myscript.gbw > > Then let Apache ( or ngix ) know that it's a CGI script. > > something like this: from the apache 000-default.conf on my web server > > ScriptAlias /cgi-bin "/usr/lib/cgi-bin/" > > > AllowOverride None > AddHandler cgi-script .gbw .gambas > Options -Indexes +ExecCGI +FollowSymLinks > Require all granted > > > I've been able to get the single example to work but no other scripts > formatted for gbw3 appear to do so. > I've been trying now for about 2 weeks with no success, so if you get it > working can you please let me know how you did it. > Error logs from Apache give this as an error for any script ( other than > the example) > "malformed header from script 'test3.gbw': Bad header: # Gambas Project > File 3.0," > > I've also tried .gambas control line applications but same deal. > The Apache error log contains nothing and the access log seems to say > that it functioned correctly. > But... the output is a blank page with no source code when you "view source" > > One of the test scripts I've tried without any success. > ======================== > #!/usr/bin/gbw3 > > <% > private sRes As String > Exec ["cat", "/proc/meminfo"] To sRes > %> > > >
    >
  • <%= sRes %>
  • >
> > =========================== > > Also ensure that the symbolic link for gbw3 is set in : > /usr/bin > > ian at ...3489... /usr/bin $ ls -l gb* > -rwxr-xr-x 1 root root 31568 Jun 20 12:10 gba3 > -rwxr-xr-x 1 root root 167184 Jun 20 12:10 gbc3 > lrwxrwxrwx 1 root root 11 Jun 20 12:10 gbh3 -> gbh3.gambas > -rwxr-xr-x 1 root root 14873 Jun 7 21:26 gbh3.gambas > -rwxr-xr-x 1 root root 31392 Jun 20 12:10 gbi3 > lrwxrwxrwx 1 root root 4 Jun 20 12:10 gbr3 -> gbx3 > lrwxrwxrwx 1 root root 11 Jun 7 21:26 gbs3 -> gbs3.gambas > -rwxr-xr-x 1 root root 23230 Jun 7 21:26 gbs3.gambas > *lrwxrwxrwx 1 root root 11 Jun 7 21:26 gbw3 -> gbs3.gambas* > -rwxr-xr-x 1 root root 380664 Jun 20 12:10 gbx3 > > Also I've written a quick apache log viewer gambas app which will also > give you the modules loaded using 'apachectl'. > Allow you to view the apache2.conf & the various other config files > If you want a copy drop me a line - it's a quick & dirty app to help me > try an diagnose the issues I'm having > getting Gambas scripts to run. > > If you have any success please let me know. > My Web server is Ubuntu 14.04 > Gambas is 3.7.90 > > Cheers, > Ian Roper. Sorry for the late reply Ian! I seem to have missed your reply. Thanks for the detailed description! I will let you know if I figure it out. From 123 at ...3490... Tue Jun 30 20:50:54 2015 From: 123 at ...3490... (Wolfgang) Date: Tue, 30 Jun 2015 20:50:54 +0200 Subject: [Gambas-user] How easy is it to decompile Message-ID: <5592E50E.7010602@...3490...> Hi all, I just wonder how easy it would be to decompile (get some source code) from a *.deb file. I programmed a software -lets call it "MyProg"- in many, many hours and would like to install it via MyProg.deb. That works easily and safe. But is it (easily) possible to take the "MyProg.deb" and get the source code out of it? Is my work somehow "safe"? greetings from hot Bavaria Wolfgang From adrien.prokopowicz at ...626... Tue Jun 30 21:33:10 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 30 Jun 2015 21:33:10 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <55926ACD.3090505@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> Message-ID: Le Tue, 30 Jun 2015 12:09:17 +0200, Beno?t Minisini a ?crit: > Le 30/06/2015 04:30, Adrien Prokopowicz a ?crit : >> The only thing to note is that SNI only got implemented by Plasma in >> KDE 4.5[0], so there is a case where gb.dbus.trayicon may get loaded >> without a StatusNotifierHost being actually available. > > Ha! How to check that a StatusNotifierHost is present without loading > the dbus component and calling any external process? :-/ The environment > tells me the major version of the KDE desktop, but not its minor > version... Well, I think the only reliable way to tell is to actually check the session bus to see if the StatusNotifierHost is present. What don't you like in having to load gb.dbus to do the check ? I understand you don't want to load the component "for nothing" if the check fails, but in some way it is also loaded whether or not you are using TrayIcons in your programs, so ... There are so many cases to test, I feel that if we somehow sort it out, the whole environment-testing/dynamic-loading process would be way cooler than the final TrayIcon feature itself. :) (Not mentioning the work already done for that, i.e. the whole DBus overhaul, and the "Optional Classes" interpreter feature, which are both really cool). > In the meantime I investigated with Unity... They actually use a DBus > protocol completly different from the KDE one, but apparently QT apps > using sni-qt (like vlc) know how to deal with that. I will try to look > into the sni-qt source code to understand the magic behind that. > > Of course, don't expect to find any good documentation about that Unity > protocol (a.k.a. libappindicator). > From what I've saw in the sni-qt source code, it only relies on the Unity-like protocol (which is also supported by KDE) : the path sent to the StatusNotifierWatcher is hard-coded to be "/org/kde/statusnotifieritem/". Also, if you need me to test some more things, just tell. :) Regards, -- Adrien Prokopowicz From willy at ...3474... Tue Jun 30 21:42:57 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 30 Jun 2015 21:42:57 +0200 Subject: [Gambas-user] Run SmallWiki example with lighttpd Message-ID: Hi all, I have been studying the SmallWiki example to get some understanding of how webpages work. It all runs fine from IDE. I have set up a small testing environment (Debian server) on a different system. I set up lighttpd (just did a default install of it, no extra configuration done). My questions: 1. Can I simply make a .deb package from SmallWiki to install on testing environment? I guess I can, but what I really mean is where do the files (*.webpages and such) end up after installation in case of installing such a Gambas webpage project? I guess that is important if you want to host them from a webserver. 2. What exactly do I need to configure in lighttpd to host the installed Gambas webpages? An example configuration would be nice, as the general answer of need to configure for cgi is too general for me. Not a website specialist here... Thanks, gbWilly From gambas at ...1... Tue Jun 30 21:58:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Jun 2015 21:58:27 +0200 Subject: [Gambas-user] Run SmallWiki example with lighttpd In-Reply-To: References: Message-ID: <5592F4E3.20907@...1...> Le 30/06/2015 21:42, willy at ...3474... a ?crit : > Hi all, > > I have been studying the SmallWiki example to get some understanding of > how webpages work. > It all runs fine from IDE. > > I have set up a small testing environment (Debian server) on a different > system. > I set up lighttpd (just did a default install of it, no extra > configuration done). > > My questions: > > 1. Can I simply make a .deb package from SmallWiki to install on testing > environment? > I guess I can, but what I really mean is where do the files (*.webpages > and such) end up after installation in case of installing such a Gambas > webpage project? I guess that is important if you want to host them from > a webserver. > > 2. What exactly do I need to configure in lighttpd to host the installed > Gambas webpages? > An example configuration would be nice, as the general answer of need to > configure for cgi is too general for me. Not a website specialist > here... > > Thanks, > > gbWilly > You make an executable of the SmallWiki project. Then you install the resulting SmallWiki.gambas file as a CGI script in your web server. That's all. Just one file to copy and your web server to configure. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Tue Jun 30 22:35:43 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 30 Jun 2015 22:35:43 +0200 Subject: [Gambas-user] How easy is it to decompile In-Reply-To: <5592E50E.7010602@...3490...> References: <5592E50E.7010602@...3490...> Message-ID: Le Tue, 30 Jun 2015 20:50:54 +0200, Wolfgang <123 at ...3490...> a ?crit: > Hi all, > > I just wonder how easy it would be to decompile (get some source code) > from a *.deb file. > I programmed a software -lets call it "MyProg"- in many, many hours and > would like to install it via MyProg.deb. > That works easily and safe. > > But is it (easily) possible to take the "MyProg.deb" and get the source > code out of it? > > Is my work somehow "safe"? > > greetings from hot Bavaria > > Wolfgang > Short answer : from a security point of view, expect everything in a compiled program to be as readable as plain text, as nothing is encrypted or anything of the sort. It may take some time, depending on the size of your program and the tools available, but consider that anyone with enough will and knowledge can make it through. Long answer : First, .debs themselves (like any other package, even for Windows/MacOS) are just compressed archives. You can actually open most of them in your favorite archive manager. Needless to say, this is basically nothing to go through. The actually "hard" part is to decompile the binary files generated by the compiler. The "hardness" of this depends of the language used. I'm assuming you are talking about Gambas here, but this applies to any other compiled language (C/C++, Java, C# ...). When it comes to code, compiled code is actually just your source code "translated" into some binary form, more readable for the interpreter. So, as you can guess, it is pretty easy to do with the right tool. I have never heard of any decompiler for Gambas, but making such a tool is completely feasible (although a bit long). Unless you have Beno?t sitting next to you. I'm pretty sure he's secretly able to decompile Gambas bytecode just by reading it. :) As for resources (like images and so), it is just plainly copied into the executable. Again, anyone can find and extract it. In the end, there is nothing you can do technically "protect" your code. There are methods out there that try to "hide" code (like obfuscation ...), but it is just a matter of time before someone can go through these. However, you can give juridic protection to your work by using licenses. I don't know much about proprietary licenses, but if you want to go open-source, there are quite a few, such as the GPL, MIT or Apache Licenses, or Creative Commons for anything that is non-code. This site[0] gives interesting summaries about these (and others). Hope this helps, [0] http://choosealicense.com/ -- Adrien Prokopowicz From willy at ...3474... Tue Jun 30 22:48:10 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 30 Jun 2015 22:48:10 +0200 Subject: [Gambas-user] Run SmallWiki example with lighttpd In-Reply-To: <5592F4E3.20907@...1...> References: <5592F4E3.20907@...1...> Message-ID: On 2015-06-30 21:58, Beno?t Minisini wrote: > Le 30/06/2015 21:42, willy at ...3474... a ?crit : >> Hi all, >> >> I have been studying the SmallWiki example to get some understanding >> of >> how webpages work. >> It all runs fine from IDE. >> >> I have set up a small testing environment (Debian server) on a >> different >> system. >> I set up lighttpd (just did a default install of it, no extra >> configuration done). >> >> My questions: >> >> 1. Can I simply make a .deb package from SmallWiki to install on >> testing >> environment? >> I guess I can, but what I really mean is where do the files >> (*.webpages >> and such) end up after installation in case of installing such a >> Gambas >> webpage project? I guess that is important if you want to host them >> from >> a webserver. >> >> 2. What exactly do I need to configure in lighttpd to host the >> installed >> Gambas webpages? >> An example configuration would be nice, as the general answer of need >> to >> configure for cgi is too general for me. Not a website specialist >> here... >> >> Thanks, >> >> gbWilly >> > > You make an executable of the SmallWiki project. Then you install the > resulting SmallWiki.gambas file as a CGI script in your web server. > That's all. Just one file to copy and your web server to configure. > > Regards, Thanks Beno?t, I placed the SmallWiki.gambas in /var/www/Wiki. Next, I adjusted the lighttpd.conf (/etc/lighttpd/lighttpd.conf). For those who struggle with configuring lighttpd for Gambas webpages this is what I did in my lighttpd.conf file on test server to host SmallWiki.gambas: ----------------------------------------------------------------- # "mod_cgi" added to server.modules below to make Gambas webpages work server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_cgi" , ) server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 80 # Added 3 lines below to make Wiki folder a cgi-bin folder and let .gambas be run with gbr3 # Make sure you installed gambas3-scripter $HTTP["url"] =~ "/Wiki/" { cgi.assign = ( ".gambas" => "/usr/bin/gbr3" ) } index-file.names = ( "index.php", "index.html", "index.lighttpd.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".gambas" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) # default listening port for IPv6 falls back to the IPv4 port include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" ----------------------------------------------------------------- Next, I opened a browser on the test system and typed: http://localhost/Wiki/SmallWiki.gambas and there was the SmallWiki. gbWilly From 123 at ...3490... Tue Jun 30 23:12:26 2015 From: 123 at ...3490... (Wolfgang (DL7NB)) Date: Tue, 30 Jun 2015 23:12:26 +0200 Subject: [Gambas-user] How easy is it to decompile In-Reply-To: References: <5592E50E.7010602@...3490...> Message-ID: <3bfcaf55-5349-42dc-9986-d167598e5642@...2550...> Thank you Adrien. So as long as there is no decompiler for gambas it may take some time to do so. But it can be done... That just confirms my thoughts abbout it. So lets hope for fair users ;-) Wolfgang On 30. Juni 2015 22:35:43 MESZ, Adrien Prokopowicz wrote: >Le Tue, 30 Jun 2015 20:50:54 +0200, Wolfgang <123 at ...3490...> a ?crit: > >> Hi all, >> >> I just wonder how easy it would be to decompile (get some source >code) >> from a *.deb file. >> I programmed a software -lets call it "MyProg"- in many, many hours >and >> would like to install it via MyProg.deb. >> That works easily and safe. >> >> But is it (easily) possible to take the "MyProg.deb" and get the >source >> code out of it? >> >> Is my work somehow "safe"? >> >> greetings from hot Bavaria >> >> Wolfgang >> > >Short answer : from a security point of view, expect everything in a >compiled program to be as readable as plain text, as nothing is >encrypted or anything of the sort. > >It may take some time, depending on the size of your program and >the tools available, but consider that anyone with enough will and >knowledge can make it through. > >Long answer : > >First, .debs themselves (like any other package, even for >Windows/MacOS) >are just compressed archives. You can actually open most of them in >your favorite archive manager. >Needless to say, this is basically nothing to go through. > >The actually "hard" part is to decompile the binary files generated >by the compiler. The "hardness" of this depends of the language used. >I'm assuming you are talking about Gambas here, but this applies >to any other compiled language (C/C++, Java, C# ...). > >When it comes to code, compiled code is actually just your source >code "translated" into some binary form, more readable for >the interpreter. So, as you can guess, it is pretty easy to do >with the right tool. > >I have never heard of any decompiler for Gambas, but making such >a tool is completely feasible (although a bit long). >Unless you have Beno?t sitting next to you. I'm pretty sure he's >secretly able to decompile Gambas bytecode just by reading it. :) > >As for resources (like images and so), it is just plainly copied >into the executable. Again, anyone can find and extract it. > >In the end, there is nothing you can do technically "protect" >your code. There are methods out there that try to "hide" code >(like obfuscation ...), but it is just a matter of time before >someone can go through these. > >However, you can give juridic protection to your work by using >licenses. I don't know much about proprietary licenses, but >if you want to go open-source, there are quite a few, such as >the GPL, MIT or Apache Licenses, or Creative Commons for anything >that is non-code. >This site[0] gives interesting summaries about these (and others). > >Hope this helps, > >[0] http://choosealicense.com/ >-- >Adrien Prokopowicz > >------------------------------------------------------------------------------ >Don't Limit Your Business. Reach for the Cloud. >GigeNET's Cloud Solutions provide you with the tools and support that >you need to offload your IT needs and focus on growing your business. >Configured For All Businesses. Start Your Cloud Today. >https://www.gigenetcloud.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user de Wolfgang, DL7NB-m