From gambas at ...1... Sat Aug 1 01:40:18 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 01:40:18 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 Message-ID: <55BC0762.40704@...1...> Hi, I have uploaded the Gambas 3.8.0 source package to sourceforge: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download Please check it and tell me if you have any problem with compiling it. I leave Paris soon, I have just the day of Saturday to fix any quirk, after it will be too late! Thanks. -- Beno?t Minisini From gambas at ...1... Sat Aug 1 01:43:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Aug 2015 01:43:47 +0200 Subject: [Gambas-user] Crash with datebox In-Reply-To: References: Message-ID: <55BC0833.4070508@...1...> Le 31/07/2015 21:41, Jussi Lahtinen a ?crit : > For some reason the crash does not occur when the project is run in IDE!? > Only when it is run as executable. > > > Jussi > It's a bug in gb.gtk. By the way, closing the window of your program does not stop it. -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 1 01:51:25 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 1 Aug 2015 02:51:25 +0300 Subject: [Gambas-user] Crash with datebox In-Reply-To: <55BC0833.4070508@...1...> References: <55BC0833.4070508@...1...> Message-ID: > It's a bug in gb.gtk. > OK. > By the way, closing the window of your program does not stop it. > That is by design. Because the alarms should work even if the "control form" is closed. The form should be visible again when clicking on the tray icon, but with latest revisions the click event doesn't fire. Is that going to be implemented soon? If you want to close the program, select quit from the file menu. Jussi From gambas at ...1... Sat Aug 1 01:56:24 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Aug 2015 01:56:24 +0200 Subject: [Gambas-user] Crash with datebox In-Reply-To: References: <55BC0833.4070508@...1...> Message-ID: <55BC0B28.3080706@...1...> Le 01/08/2015 01:51, Jussi Lahtinen a ?crit : >> It's a bug in gb.gtk. >> > > OK. > > > >> By the way, closing the window of your program does not stop it. >> > > That is by design. Because the alarms should work even if the "control > form" is closed. > The form should be visible again when clicking on the tray icon, but with > latest revisions the click event doesn't fire. Is that going to be > implemented soon? There is a new trayicon implementation, and TrayIcon now only supports three events: Click, MiddleClick and MouseWheel. Because the DBus protocol does not support anything else. Maybe I should have raised fake MouseDown and Mouseup events for backward compatibility? -- Beno?t Minisini From gambas at ...1... Sat Aug 1 01:58:09 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Aug 2015 01:58:09 +0200 Subject: [Gambas-user] Crash with datebox In-Reply-To: <55BC0B28.3080706@...1...> References: <55BC0833.4070508@...1...> <55BC0B28.3080706@...1...> Message-ID: <55BC0B91.4010502@...1...> Le 01/08/2015 01:56, Beno?t Minisini a ?crit : > Le 01/08/2015 01:51, Jussi Lahtinen a ?crit : >>> It's a bug in gb.gtk. >>> >> >> OK. >> >> >> >>> By the way, closing the window of your program does not stop it. >>> >> >> That is by design. Because the alarms should work even if the "control >> form" is closed. >> The form should be visible again when clicking on the tray icon, but with >> latest revisions the click event doesn't fire. Is that going to be >> implemented soon? > > There is a new trayicon implementation, and TrayIcon now only supports > three events: Click, MiddleClick and MouseWheel. Because the DBus > protocol does not support anything else. > > Maybe I should have raised fake MouseDown and Mouseup events for > backward compatibility? > ...the advantage being that your trayicon should work on old desktops, KDE4, KDE5 and Unity indifferently. All the magic is internally done by Gambas dynamically. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 1 02:24:50 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 1 Aug 2015 03:24:50 +0300 Subject: [Gambas-user] Crash with datebox In-Reply-To: <55BC0B28.3080706@...1...> References: <55BC0833.4070508@...1...> <55BC0B28.3080706@...1...> Message-ID: > There is a new trayicon implementation, and TrayIcon now only supports > three events: Click, MiddleClick and MouseWheel. Because the DBus > protocol does not support anything else. > Oh, you are right. I was using MouseUp. That works now. Maybe I should have raised fake MouseDown and Mouseup events for > backward compatibility? > Quickly thinking that is good idea. I would guess MouseDown and MouseUp are pretty seldom used to anything that specific. Anyone? I don't even know why I chose MouseUp... Jussi From adrien.prokopowicz at ...626... Sat Aug 1 02:34:47 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 01 Aug 2015 02:34:47 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: <55BC0762.40704@...1...> References: <55BC0762.40704@...1...> Message-ID: Le Sat, 01 Aug 2015 01:40:18 +0200, Beno?t Minisini a ?crit: > Hi, > > I have uploaded the Gambas 3.8.0 source package to sourceforge: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download > > Please check it and tell me if you have any problem with compiling it. > > I leave Paris soon, I have just the day of Saturday to fix any quirk, > after it will be too late! > > Thanks. > Hi Beno?t, There is still that (unanswered) thread I made a month ago about gb.db.mysql[0]. It still affects the IDE's Connection properties dialog, so could you have a look before releasing the update ? Thanks in advance, Regards, [0] https://sourceforge.net/p/gambas/mailman/message/34264405/ -- Adrien Prokopowicz From gambas at ...1... Sat Aug 1 02:52:09 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 02:52:09 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: References: <55BC0762.40704@...1...> Message-ID: <55BC1839.2000108@...1...> Le 01/08/2015 02:34, Adrien Prokopowicz a ?crit : > Le Sat, 01 Aug 2015 01:40:18 +0200, Beno?t Minisini > a ?crit: > >> Hi, >> >> I have uploaded the Gambas 3.8.0 source package to sourceforge: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download >> >> Please check it and tell me if you have any problem with compiling it. >> >> I leave Paris soon, I have just the day of Saturday to fix any quirk, >> after it will be too late! >> >> Thanks. >> OK. But I need a database connection to be able to browse the available databases. This is the reason why "mysql" is chosen, because normally it is always available. The problem is that connection is not necessarily allowed. Or do you have a way to browse databases without needing a connection? -- Beno?t Minisini From gambas at ...1... Sat Aug 1 02:53:12 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 02:53:12 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: <55BC1839.2000108@...1...> References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> Message-ID: <55BC1878.80905@...1...> Le 01/08/2015 02:52, Beno?t Minisini a ?crit : > Le 01/08/2015 02:34, Adrien Prokopowicz a ?crit : >> Le Sat, 01 Aug 2015 01:40:18 +0200, Beno?t Minisini >> a ?crit: >> >>> Hi, >>> >>> I have uploaded the Gambas 3.8.0 source package to sourceforge: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download >>> >>> Please check it and tell me if you have any problem with compiling it. >>> >>> I leave Paris soon, I have just the day of Saturday to fix any quirk, >>> after it will be too late! >>> >>> Thanks. >>> > > OK. But I need a database connection to be able to browse the available > databases. This is the reason why "mysql" is chosen, because normally it > is always available. The problem is that connection is not necessarily > allowed. > > Or do you have a way to browse databases without needing a connection? > But why did you answer disappear... -- Beno?t Minisini From adrien.prokopowicz at ...626... Sat Aug 1 03:07:28 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 01 Aug 2015 03:07:28 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: <55BC1839.2000108@...1...> References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> Message-ID: Le Sat, 01 Aug 2015 02:52:09 +0200, Beno?t Minisini a ?crit: > Le 01/08/2015 02:34, Adrien Prokopowicz a ?crit : >> Le Sat, 01 Aug 2015 01:40:18 +0200, Beno?t Minisini >> a ?crit: >> >>> Hi, >>> >>> I have uploaded the Gambas 3.8.0 source package to sourceforge: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download >>> >>> Please check it and tell me if you have any problem with compiling it. >>> >>> I leave Paris soon, I have just the day of Saturday to fix any quirk, >>> after it will be too late! >>> >>> Thanks. >>> > > OK. But I need a database connection to be able to browse the available > databases. This is the reason why "mysql" is chosen, because normally it > is always available. The problem is that connection is not necessarily > allowed. > > Or do you have a way to browse databases without needing a connection? > You can't list databases without a connection, but you can have a connection without specifying a database name (see the mysql doc here[0]). [0]https://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html -- Adrien Prokopowicz From sebikul at ...626... Sat Aug 1 07:12:13 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 1 Aug 2015 02:12:13 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> Message-ID: So, because of the downtime Sourceforge had this past few weeks, the svn imports into Launchpad were halted because of repeated failures to reach the server. This means that the last build was using revision 7187, and I wasn't even warned of this! :( Anyway, the daily PPA was just updated to the latest revision, and the beta PPA has the latest code going into Gambas 3.8, which is should be the tarball Beno?t posted, plus some bugfixes that have been merged since the branch was made. In other news, Ubuntu Utopic is EOL, so no new builds will be posted. And Wily builds will now be included in the stable PPA in preparation for the October release. The packages are still being built for some distributions, so they will be available in the next few hours. If you find anything out of place, please let me know! On Fri, Jul 31, 2015 at 10:07 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Sat, 01 Aug 2015 02:52:09 +0200, Beno?t Minisini > a ?crit: > > > Le 01/08/2015 02:34, Adrien Prokopowicz a ?crit : > >> Le Sat, 01 Aug 2015 01:40:18 +0200, Beno?t Minisini > >> a ?crit: > >> > >>> Hi, > >>> > >>> I have uploaded the Gambas 3.8.0 source package to sourceforge: > >>> > >>> > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.0.tar.bz2/download > >>> > >>> Please check it and tell me if you have any problem with compiling it. > >>> > >>> I leave Paris soon, I have just the day of Saturday to fix any quirk, > >>> after it will be too late! > >>> > >>> Thanks. > >>> > > > > OK. But I need a database connection to be able to browse the available > > databases. This is the reason why "mysql" is chosen, because normally it > > is always available. The problem is that connection is not necessarily > > allowed. > > > > Or do you have a way to browse databases without needing a connection? > > > > You can't list databases without a connection, but you can have a > connection > without specifying a database name (see the mysql doc here[0]). > > [0]https://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Sat Aug 1 07:39:04 2015 From: nando_f at ...951... (nando) Date: Sat, 1 Aug 2015 01:39:04 -0400 Subject: [Gambas-user] mkinteger..and the reverse function Message-ID: <20150801053522.M18934@...951...> I'm putting this out there... I'm using MkInteger$, MkShort$ Who knows what the opposite functions would be. I can't find them myString = MkInteger$(12345678) 'convert an integer to a string representation myInteger = ?? (myString) 'convert back to an integer anyone? -Nando From olivier.cruilles at ...614... Sat Aug 1 09:40:41 2015 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Sat, 1 Aug 2015 03:40:41 -0400 Subject: [Gambas-user] mkinteger..and the reverse function In-Reply-To: <20150801053522.M18934@...951...> References: <20150801053522.M18934@...951...> Message-ID: hello, myInteger = Cint(val(myString)) Olivier > Le 1 ao?t 2015 ? 01:39, nando a ?crit : > > I'm putting this out there... > > I'm using MkInteger$, MkShort$ > > Who knows what the opposite functions would be. I can't find them > > > myString = MkInteger$(12345678) 'convert an integer to a string representation > myInteger = ?? (myString) 'convert back to an integer > > anyone? > -Nando > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Aug 1 11:09:02 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 11:09:02 +0200 Subject: [Gambas-user] mkinteger..and the reverse function In-Reply-To: References: <20150801053522.M18934@...951...> Message-ID: <55BC8CAE.4030001@...1...> Le 01/08/2015 09:40, Olivier Cruilles a ?crit : > hello, > > myInteger = Cint(val(myString)) > > Olivier > > >> Le 1 ao?t 2015 ? 01:39, nando a ?crit : >> >> I'm putting this out there... >> >> I'm using MkInteger$, MkShort$ >> >> Who knows what the opposite functions would be. I can't find them >> >> >> myString = MkInteger$(12345678) 'convert an integer to a string representation >> myInteger = ?? (myString) 'convert back to an integer >> >> anyone? >> -Nando >> No, its Integer@(): Print Integer@(MkInteger$(12345678)) 12345678 Regards, -- Beno?t Minisini From gambas at ...1... Sat Aug 1 11:14:00 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 11:14:00 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> Message-ID: <55BC8DD8.2040005@...1...> Le 01/08/2015 03:07, Adrien Prokopowicz a ?crit : >> >> OK. But I need a database connection to be able to browse the available >> databases. This is the reason why "mysql" is chosen, because normally it >> is always available. The problem is that connection is not necessarily >> allowed. >> >> Or do you have a way to browse databases without needing a connection? >> > > You can't list databases without a connection, but you can have a > connection > without specifying a database name (see the mysql doc here[0]). > > [0]https://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html > Is it better with revision #7205? -- Beno?t Minisini From gambas at ...1... Sat Aug 1 13:59:41 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 13:59:41 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: <55BC8DD8.2040005@...1...> References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> <55BC8DD8.2040005@...1...> Message-ID: <55BCB4AD.2010404@...1...> Le 01/08/2015 11:14, Beno?t Minisini a ?crit : > Le 01/08/2015 03:07, Adrien Prokopowicz a ?crit : >>> >>> OK. But I need a database connection to be able to browse the available >>> databases. This is the reason why "mysql" is chosen, because normally it >>> is always available. The problem is that connection is not necessarily >>> allowed. >>> >>> Or do you have a way to browse databases without needing a connection? >>> >> >> You can't list databases without a connection, but you can have a >> connection >> without specifying a database name (see the mysql doc here[0]). >> >> [0]https://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html >> > > Is it better with revision #7205? > Source package has been updated on sourceforge. -- Beno?t Minisini From olivier.cruilles at ...614... Sat Aug 1 15:49:10 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Sat, 1 Aug 2015 09:49:10 -0400 Subject: [Gambas-user] mkinteger..and the reverse function In-Reply-To: <55BC8CAE.4030001@...1...> References: <20150801053522.M18934@...951...> <55BC8CAE.4030001@...1...> Message-ID: Oups, sorry Olivier > Le 1 ao?t 2015 ? 05:09, Beno?t Minisini a ?crit : > > Le 01/08/2015 09:40, Olivier Cruilles a ?crit : >> hello, >> >> myInteger = Cint(val(myString)) >> >> Olivier >> >> >>> Le 1 ao?t 2015 ? 01:39, nando a ?crit : >>> >>> I'm putting this out there... >>> >>> I'm using MkInteger$, MkShort$ >>> >>> Who knows what the opposite functions would be. I can't find them >>> >>> >>> myString = MkInteger$(12345678) 'convert an integer to a string representation >>> myInteger = ?? (myString) 'convert back to an integer >>> >>> anyone? >>> -Nando > > No, its Integer@(): > > Print Integer@(MkInteger$(12345678)) > 12345678 > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adrien.prokopowicz at ...626... Sat Aug 1 16:04:07 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 01 Aug 2015 16:04:07 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.8.0 In-Reply-To: <55BC8DD8.2040005@...1...> References: <55BC0762.40704@...1...> <55BC1839.2000108@...1...> <55BC8DD8.2040005@...1...> Message-ID: Le Sat, 01 Aug 2015 11:14:00 +0200, Beno?t Minisini a ?crit: > Le 01/08/2015 03:07, Adrien Prokopowicz a ?crit : >>> >>> OK. But I need a database connection to be able to browse the available >>> databases. This is the reason why "mysql" is chosen, because normally >>> it >>> is always available. The problem is that connection is not necessarily >>> allowed. >>> >>> Or do you have a way to browse databases without needing a connection? >>> >> >> You can't list databases without a connection, but you can have a >> connection >> without specifying a database name (see the mysql doc here[0]). >> >> [0]https://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html >> > > Is it better with revision #7205? > Listing databases in the IDE works great now, thanks ! :) -- Adrien Prokopowicz From gambas at ...1... Sat Aug 1 17:30:36 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Aug 2015 17:30:36 +0200 Subject: [Gambas-user] Gambas 3.8 is out ~~~>Holidays! Message-ID: <55BCE61C.6080409@...1...> Hi, I have officially released Gambas 3.8. You will find the release notes there: http://gambaswiki.org/wiki/doc/release/3.8.0 I'm leaving Paris for two weeks now (actually tomorrow morning), so I hope there won't be too many problems. If some of you are there (I mean online) during these two weeks, and have some time, they could start thinking about the new look a new Gambas web site could have. I'd just like to keep if possible the orange & blue colors, not necessarily as much saturated or visible. The idea at the moment is hosting on the same server: - The new Gambas web site. - The Gambas wiki. - The Gambas bug tracker. I'd like the new Gambas web site to actually be a blog, so that everyone can comment the posts, and eventually other people than me could post on it. And I'd like one login account for all the sites. For the outside, it will be like one site, even if technically it won't. The new bugtracker must be ready for Aug, 25th. Not a lot of time... So the transfer from subversion to git will be later! I will wait for your proposals. Send me style sheets! :-) Regards, -- Beno?t Minisini From nando_f at ...951... Sat Aug 1 17:33:47 2015 From: nando_f at ...951... (nando) Date: Sat, 1 Aug 2015 11:33:47 -0400 Subject: [Gambas-user] datediff problem Message-ID: <20150801141446.M84112@...951...> Here's an example. Dim FirstDate as Date FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'ok Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) 'Wrong Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) 'Wrong 212 212 212 213 <---Wrong should be 212 213 <---Wrong should be 212 Of course, this is looks like it might be a TimeZone problem. I am in GMT -5 but daylight savings during the summer it is -4 Am I correct to say this is not correct operation? -Nando From vuott at ...325... Sat Aug 1 17:49:29 2015 From: vuott at ...325... (Ru Vuott) Date: Sat, 1 Aug 2015 16:49:29 +0100 Subject: [Gambas-user] mkinteger..and the reverse function In-Reply-To: <55BC8CAE.4030001@...1...> Message-ID: <1438444169.18211.YahooMailBasic@...3275...> ...or... if you want (to write more code) .... ****** Public Sub Main() Dim s As String Dim i As Integer s = MkInteger(123456) i = Asc(s, 1) i += Asc(s, 2) * 256 ' &0100 i += Asc(s, 3) * 65536 ' &010000 i += Asc(s, 4) * 16777216 ' &01000000 Print i End ****** Regards vuott -------------------------------------------- Sab 1/8/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] mkinteger..and the reverse function A: "mailing list for gambas users" Data: Sabato 1 agosto 2015, 11:09 Le 01/08/2015 09:40, Olivier Cruilles a ?crit : > hello, > > myInteger = Cint(val(myString)) > > Olivier > > >> Le 1 ao?t 2015 ? 01:39, nando a ?crit : >> >> I'm putting this out there... >> >> I'm using MkInteger$, MkShort$ >> >> Who knows what the opposite functions would be.? I can't find them >> >> >> myString = MkInteger$(12345678)???'convert an integer to a string representation >> myInteger = ?? (myString)? ? ? ???'convert back to an integer >> >> anyone? >> -Nando >> No, its Integer@(): Print Integer@(MkInteger$(12345678)) 12345678 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... Sat Aug 1 17:52:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Aug 2015 17:52:53 +0200 Subject: [Gambas-user] datediff problem In-Reply-To: <20150801141446.M84112@...951...> References: <20150801141446.M84112@...951...> Message-ID: <55BCEB55.2010907@...1...> Le 01/08/2015 17:33, nando a ?crit : > Here's an example. > > Dim FirstDate as Date > > FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok > Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'ok > Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) 'Wrong > Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) 'Wrong > > 212 > 212 > 212 > 213 <---Wrong should be 212 > 213 <---Wrong should be 212 > > Of course, this is looks like it might be a TimeZone problem. > I am in GMT -5 but daylight savings during the summer it is -4 > > Am I correct to say this is not correct operation? > > -Nando > > Argh, a just too late bug! You did that to spoil my holidats? 8-o -- Beno?t Minisini From gambas at ...1... Sat Aug 1 18:16:39 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Aug 2015 18:16:39 +0200 Subject: [Gambas-user] datediff problem In-Reply-To: <55BCEB55.2010907@...1...> References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> Message-ID: <55BCF0E7.2060601@...1...> Le 01/08/2015 17:52, Beno?t Minisini a ?crit : > Le 01/08/2015 17:33, nando a ?crit : >> Here's an example. >> >> Dim FirstDate as Date >> >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'ok >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) >> 'Wrong >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) >> 'Wrong >> >> 212 >> 212 >> 212 >> 213 <---Wrong should be 212 >> 213 <---Wrong should be 212 >> >> Of course, this is looks like it might be a TimeZone problem. >> I am in GMT -5 but daylight savings during the summer it is -4 >> >> Am I correct to say this is not correct operation? >> >> -Nando >> >> > > Argh, a just too late bug! You did that to spoil my holidats? 8-o > OK, I couldn't let you alone. I have updated the Gambas 3.8 source package with the fix for that bug. Regards, -- Beno?t Minisini From ualex73 at ...626... Sat Aug 1 18:22:38 2015 From: ualex73 at ...626... (Alexie) Date: Sat, 1 Aug 2015 18:22:38 +0200 Subject: [Gambas-user] datediff problem In-Reply-To: <55BCF0E7.2060601@...1...> References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> <55BCF0E7.2060601@...1...> Message-ID: Hi Benoit, I also found a bug with ToolBox, and sent the project to your gmail address ... Maybe it is something you can fix (hoping :-)). Regards, Alex 2015-08-01 18:16 GMT+02:00 Beno?t Minisini : > Le 01/08/2015 17:52, Beno?t Minisini a ?crit : > > Le 01/08/2015 17:33, nando a ?crit : > >> Here's an example. > >> > >> Dim FirstDate as Date > >> > >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > >> 'Wrong > >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > >> 'Wrong > >> > >> 212 > >> 212 > >> 212 > >> 213 <---Wrong should be 212 > >> 213 <---Wrong should be 212 > >> > >> Of course, this is looks like it might be a TimeZone problem. > >> I am in GMT -5 but daylight savings during the summer it is -4 > >> > >> Am I correct to say this is not correct operation? > >> > >> -Nando > >> > >> > > > > Argh, a just too late bug! You did that to spoil my holidats? 8-o > > > > OK, I couldn't let you alone. I have updated the Gambas 3.8 source > package with the fix for that bug. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Sun Aug 2 18:38:39 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 02 Aug 2015 18:38:39 +0200 Subject: [Gambas-user] Gambas 3.8 on Launchpad naming error? Message-ID: <55BE478F.9040807@...3340...> Hello, there seems to be an naming error: Paket: gambas3-gb-form-media Neu: ja Zustand: Installiert Automatisch installiert: nein Version: 3.7.1-24.34~ubuntu14.04.1 Has now a new name ... Paket: gambas3-gb-media-form Neu: ja Zustand: Installiert Automatisch installiert: nein Version: 3.8.0-27.38~ubuntu14.04.1 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Sun Aug 2 18:40:51 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 02 Aug 2015 18:40:51 +0200 Subject: [Gambas-user] Gambas 3.8 is out ~~~>Holidays! In-Reply-To: <55BCE61C.6080409@...1...> (sfid-) References: <55BCE61C.6080409@...1...> (sfid-) Message-ID: <55BE4813.3070805@...3340...> Hello, Am 01.08.2015 um 17:30 schrieb Beno?t Minisini: > I'm leaving Paris for two weeks now (actually tomorrow morning) Happy holidays! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sebikul at ...626... Sun Aug 2 19:42:56 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 2 Aug 2015 14:42:56 -0300 Subject: [Gambas-user] Gambas 3.8 on Launchpad naming error? In-Reply-To: <55BE478F.9040807@...3340...> References: <55BE478F.9040807@...3340...> Message-ID: On Sun, Aug 2, 2015 at 1:38 PM, Christof Thalhofer wrote: > Hello, > > there seems to be an naming error: > > Paket: gambas3-gb-form-media > Neu: ja > Zustand: Installiert > Automatisch installiert: nein > Version: 3.7.1-24.34~ubuntu14.04.1 > > Has now a new name ... > > Paket: gambas3-gb-media-form > Neu: ja > Zustand: Installiert > Automatisch installiert: nein > Version: 3.8.0-27.38~ubuntu14.04.1 > No error here. It was a mistake I made while packaging the new component, but I fixed it several weeks ago. I have no idea why this is showing just now, but you can safely delete the old package. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From mmcg29440 at ...3163... Sun Aug 2 22:07:35 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sun, 2 Aug 2015 16:07:35 -0400 Subject: [Gambas-user] Problem with MySQL syntax with DataSource and DataView Message-ID: Hello, I have the code below in my MySQL/Mariadb project. DataSource1.Connection = modMain.$Con DataSource1.Table = "tblparcel_numbers" DataSource1.Filter = db.Subst("tblparcel_numbers.Key = &1", frmEntry.DataControl10.Value) DataSource1.Sort = "Parcel_No" DataView1.View.Columns.Width = -1 DataSource2.Connection = modMain.$Con DataSource2.Table = "tblparcel_numbers" DataSource2.Filter = db.Subst("tblparcel_numbers.Key != &1", frmEntry.DataControl10.Value) DataSource2.Sort = "Parcel_No" DataView2.View.Columns.Width = -1 Coding for DataSource1 works as expected. Returning records with a key equal to the contents of the data control. Coding for DataSource2 Fails. The error message is "DataTable load until, 134: Query failed, You have an error in your SQL syntax". The DataView2 shows some record numbers but nothing else. If you scroll down you see the error message about a failure at a specific record. I've looked at the data and it appears to be OK. <,>,= all work but != or <> do not. All I get is a circular cursor indicating processing is occurring but it looks like an endless loop. I want to load all records in which the key is not equal to the datacontrol. What have I missed? Using Gambas 3.8 with MySQL/MariaDB as the database. Thanks, Marty From adrien.prokopowicz at ...626... Sun Aug 2 22:46:13 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 02 Aug 2015 22:46:13 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource and DataView In-Reply-To: References: Message-ID: Le Sun, 02 Aug 2015 22:07:35 +0200, Martin McGlensey a ?crit: > Hello, > > > I have the code below in my MySQL/Mariadb project. > > > DataSource1.Connection = modMain.$Con > > DataSource1.Table = "tblparcel_numbers" > > DataSource1.Filter = db.Subst("tblparcel_numbers.Key = &1", > frmEntry.DataControl10.Value) > > DataSource1.Sort = "Parcel_No" > > DataView1.View.Columns.Width = -1 > > > DataSource2.Connection = modMain.$Con > > DataSource2.Table = "tblparcel_numbers" > > DataSource2.Filter = db.Subst("tblparcel_numbers.Key != &1", > frmEntry.DataControl10.Value) > > DataSource2.Sort = "Parcel_No" > > DataView2.View.Columns.Width = -1 > > > Coding for DataSource1 works as expected. Returning records with a key > equal > to the contents of the data control. > > > Coding for DataSource2 Fails. The error message is "DataTable load until, > 134: Query failed, You have an error in your SQL syntax". > > > The DataView2 shows some record numbers but nothing else. If you scroll > down you see the error message about a failure at a specific > record. I've looked at the data and it appears to be OK. <,>,= all work > but > != or <> do not. All I get is a circular cursor indicating processing is > occurring but it looks like an endless loop. I want to load all records > in > which the key is not equal to the datacontrol. What have I missed? > > > Using Gambas 3.8 with MySQL/MariaDB as the database. > > > Thanks, > > Marty > Can you provide a little test project, with the structure of your database ? Regards, -- Adrien Prokopowicz From tsukubagraduates at ...3482... Mon Aug 3 09:33:32 2015 From: tsukubagraduates at ...3482... (=?ISO-8859-1?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Mon, 3 Aug 2015 15:33:32 +0800 Subject: [Gambas-user] about gambas3 3.8.0 in archlinux-like(manjaro) problem Message-ID: because manjaro pacman only have 3.7.1 version gambas so i try goto gambas website download the tar.bz2 package to install gambas 3.8.0 but when i in console run ./reconf-all then console will be always loop in Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ( [^ \t=:+{}]+)}/ at /usr/bin/automake line 3936. configure.ac:7: installing './compile' configure.ac:7: installing './config.guess' configure.ac:7: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `gb.db.mysql' autoreconf: configure.ac: adding subdirectory gb.db.odbc to autoreconf autoreconf: Entering directory `gb.db.odbc' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ( [^ \t=:+{}]+)}/ at /usr/bin/automake line 3936. configure.ac:9: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `gb.db.odbc' autoreconf: configure.ac: adding subdirectory gb.db.postgresql to autoreconf autoreconf: Entering directory `gb.db.postgresql' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' From taboege at ...626... Mon Aug 3 10:06:12 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Aug 2015 10:06:12 +0200 Subject: [Gambas-user] about gambas3 3.8.0 in archlinux-like(manjaro) problem In-Reply-To: References: Message-ID: <20150803080612.GA642@...2774...> On Mon, 03 Aug 2015, tsukuba GIMP user wrote: > because manjaro pacman only have 3.7.1 version gambas > so i try goto gambas website download the tar.bz2 package to install gambas 3.8.0 > > but when i in console run ./reconf-all then console will be always loop in > > > Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ( > [^ \t=:+{}]+)}/ at /usr/bin/automake line 3936. > configure.ac:7: installing './compile' > configure.ac:7: installing './config.guess' > configure.ac:7: installing './config.sub' > configure.ac:7: installing './install-sh' > configure.ac:7: installing './missing' > src/Makefile.am: installing './depcomp' > autoreconf: Leaving directory `gb.db.mysql' > autoreconf: configure.ac: adding subdirectory gb.db.odbc to autoreconf > autoreconf: Entering directory `gb.db.odbc' > libtoolize: putting auxiliary files in '.'. > libtoolize: copying file './ltmain.sh' > Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ( > [^ \t=:+{}]+)}/ at /usr/bin/automake line 3936. > configure.ac:9: installing './compile' > configure.ac:9: installing './config.guess' > configure.ac:9: installing './config.sub' > configure.ac:9: installing './install-sh' > configure.ac:9: installing './missing' > src/Makefile.am: installing './depcomp' > autoreconf: Leaving directory `gb.db.odbc' > autoreconf: configure.ac: adding subdirectory gb.db.postgresql to autoreconf > autoreconf: Entering directory `gb.db.postgresql' > libtoolize: putting auxiliary files in '.'. > libtoolize: copying file './ltmain.sh' > This is not a loop. If you look closely you see autoreconf: Leaving directory `gb.db.mysql' [...] autoreconf: Entering directory `gb.db.odbc' [...] autoreconf: Leaving directory `gb.db.odbc' [...] autoreconf: Entering directory `gb.db.postgresql' It's configuring all the Gambas components which takes a long time. You didn't even make it through the reconf stage :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Mon Aug 3 12:02:35 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 03 Aug 2015 12:02:35 +0200 Subject: [Gambas-user] Gambas 3.8 on Launchpad naming error? In-Reply-To: (sfid-) References: <55BE478F.9040807@...3340...> (sfid-) Message-ID: <55BF3C3B.5040704@...3340...> Am 02.08.2015 um 19:42 schrieb Sebastian Kulesz: > No error here. It was a mistake I made while packaging the new component, > but I fixed it several weeks ago. I have no idea why this is showing just > now, but you can safely delete the old package. Ok, thank you. I had that question, because I create Debian packages by myself and need the correct name for dependencies in Debian/control. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From mmcg29440 at ...3163... Mon Aug 3 15:14:21 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 3 Aug 2015 09:14:21 -0400 Subject: [Gambas-user] [Re] Problem with MySQL syntax with DataSource Message-ID: Adrien, Thanks for your reply. I am able to execute the query "SELECT * FROM tblparcel_numbers WHERE tblparcel_numbers.Key <> '200';" using MySQL Worrkbench. The query returns the expected data with no errors. So I think that the datafile is OK. This is about 1% of a very large project. It will take some time for me to write a test project and the data in the file is confidential. If a form containing two datasources and a listing of the tblparcel_numbers structure is all that is needed I think I can put that together in a couple of days. Regards, Marty From mmcg29440 at ...3163... Mon Aug 3 16:29:21 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 3 Aug 2015 10:29:21 -0400 Subject: [Gambas-user] Problem with MySQL syntax with DataSource and DataView Message-ID: Some more information. If I create a Result object using the syntax below the SQL query executes properly. Dim sSQL as String = Null Dim hRows as Result = Null sSQL = "SELECT tblparcel_numbers.Key FROM tblparcel_numbers WHERE tblparcel_numbers.Key <> " & frmEntry.DataControl10.Value hRows = modMain.$Con.Exec(sSQL) If hRows.Available Then hRows.MoveFirst Message.Info("It Worked! " & hRows!Key) End If If I look at the db.Subst as a string it is "tblparcel_numbers.Key <> 2". Which should be the correct syntax. Looks to me as the datafile is OK and there is a bug in db.Subst. If the SQL query/Result works what the problem with db.Subst? Regards, Marty From gambas.fr at ...626... Mon Aug 3 18:20:13 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 3 Aug 2015 18:20:13 +0200 Subject: [Gambas-user] Gambas 3.8 is out ~~~>Holidays! In-Reply-To: <55BE4813.3070805@...3340...> References: <55BCE61C.6080409@...1...> <55BE4813.3070805@...3340...> Message-ID: And what about someting like the gambasforge style ? It need some rework to replace parts like the forge by the farm, but the forum is cool and the style match the actual gambas colors. 2015-08-02 18:40 GMT+02:00 Christof Thalhofer : > Hello, > > Am 01.08.2015 um 17:30 schrieb Beno?t Minisini: > >> I'm leaving Paris for two weeks now (actually tomorrow morning) > > Happy holidays! > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From ualex73 at ...626... Mon Aug 3 19:05:35 2015 From: ualex73 at ...626... (Alexie) Date: Mon, 3 Aug 2015 19:05:35 +0200 Subject: [Gambas-user] Launchpad Gambas 3.8.0 broken for Ubuntu 12.04 Message-ID: Hi, Just want to mention the PPA for Gambas 3.8.0 & Ubuntu 12.04 is "broken", it wouldn't install (anymore): root at ...1008...:~# apt-get install gambas3 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gambas3 : Depends: gambas3-ide (>= 3.8.0-55.38~ubuntu12.04.1) but it is not going to be installed Depends: gambas3-gb-form-editor (>= 3.8.0-55.38~ubuntu12.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. The "gambas3-gb-eval-highlight" has a dependancy with "gambas3-gb-eval", which doesn't exist as package. Regards, Alex From Karl.Reinl at ...2345... Mon Aug 3 20:57:42 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 03 Aug 2015 20:57:42 +0200 Subject: [Gambas-user] [Re] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: <1438628262.3756.13.camel@...40...> Am Montag, den 03.08.2015, 09:14 -0400 schrieb Martin McGlensey: > Adrien, > > > > Thanks for your reply. I am able to execute the query "SELECT * FROM > tblparcel_numbers WHERE tblparcel_numbers.Key <> '200';" using MySQL > Worrkbench. The query returns the expected data with no errors. So I think > that the datafile is OK. This is about 1% of a very large project. It will > take some time for me to write a test project and the data in the file is > confidential. If a form containing two datasources and a listing of the > tblparcel_numbers structure is all that is needed I think I can put that > together in a couple of days. > > > > Regards, > > Marty Salut Martin, best would be, to take a new form, copy the origin two datasources onto and then copy the needed, not working code-parts of the datasources to the new forms code. Make it run. If the error still persists, send it with the tblparcel_numbers structure to the list (a dump of tblparcel_numbers would be nice) Think of the constrains, and indexes. -- Amicalement Charlie From herberthguzman at ...626... Mon Aug 3 22:30:17 2015 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 3 Aug 2015 14:30:17 -0600 Subject: [Gambas-user] Problem Iconview Orientation Horizontal Message-ID: Hi Benoit I have a problem with IconView IconView1.Orientation = Arrange.Horizontal Error = "Pending Path" If you are in Vertical it works well. IconView1.Orientation = Arrange.Vertical I have Gambas3 3.8 Rev.7215 Regards, Herberth From sebikul at ...626... Mon Aug 3 22:36:37 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 03 Aug 2015 20:36:37 +0000 Subject: [Gambas-user] Launchpad Gambas 3.8.0 broken for Ubuntu 12.04 In-Reply-To: References: Message-ID: Yup. Found the bug, for some reason I added an explicit dependence in gb.eval when it is already included in the Gambas runtime. I will fix it as soon as I get home, sorry about that :( On Mon, Aug 3, 2015, 14:06 Alexie wrote: > Hi, > > Just want to mention the PPA for Gambas 3.8.0 & Ubuntu 12.04 is "broken", > it wouldn't install (anymore): > > root at ...1008...:~# apt-get install gambas3 > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Some packages could not be installed. This may mean that you have > > requested an impossible situation or if you are using the unstable > > distribution that some required packages have not yet been created > > or been moved out of Incoming. > > The following information may help to resolve the situation: > > > The following packages have unmet dependencies: > > gambas3 : Depends: gambas3-ide (>= 3.8.0-55.38~ubuntu12.04.1) but it is > not going to be installed > > Depends: gambas3-gb-form-editor (>= 3.8.0-55.38~ubuntu12.04.1) > but it is not going to be installed > > E: Unable to correct problems, you have held broken packages. > > The "gambas3-gb-eval-highlight" has a dependancy with "gambas3-gb-eval", > which doesn't exist as package. > > Regards, > Alex > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nigelverity at ...67... Tue Aug 4 01:57:38 2015 From: nigelverity at ...67... (Nigel Verity) Date: Tue, 4 Aug 2015 00:57:38 +0100 Subject: [Gambas-user] Installing 3.8 On Debian Message-ID: I have discovered a "cheat" method to install Gambas 3.8 on Debian without the need for compilation. Specifically I am running LMDE 2 but the principle should work on any Debian-based system. Dependencies: Access to an Ubuntu or Linux Mint computer onto which 3.8 has been installed from the Gambas PPA. Method: On the source (Ubuntu/Mint) computer and go to /var/cache/apt. Copy all the Gambas 3.8 installation (.deb) files to an empty folder on the target (Debian) computer. On the target computer open a terminal window and navigate to the folder containing the .deb files. Type "sudo dpkg -i *.deb". This will begin the installation. Some "missing object" errors will be listed in the terminal window, but let the process run to completion. Open the Synaptic package manager. This will list some broken packages. In my case there were 6. In Synaptic use the "Fix Broken Packages" item on the "Edit" menu. This will identify the missing objects which need to be installed. These should be libraries. Click the "Apply" button on the Synaptic toolbar. The missing objects will be downloaded and installed. You can now go ahead and use Gambas 3.8. Although this is not an officially approved method, Gambas 3.8 appears to run faultlessly on LMDE 2. The version available in the default repository is 3.5, so it is worth doing to get all the latest improved feature. Regards Nige From adrien.prokopowicz at ...626... Tue Aug 4 01:58:58 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 04 Aug 2015 01:58:58 +0200 Subject: [Gambas-user] Problem Iconview Orientation Horizontal In-Reply-To: References: Message-ID: Le Mon, 03 Aug 2015 22:30:17 +0200, herberth guzman a ?crit: > Hi > Benoit > > I have a problem with IconView > > IconView1.Orientation = Arrange.Horizontal > Error = "Pending Path" > > If you are in Vertical it works well. > IconView1.Orientation = Arrange.Vertical > > I have Gambas3 3.8 Rev.7215 > > > > Regards, > > Herberth This should be fixed in revision #7218, and it will probably be part of the 3.8.1 update when Beno?t comes back from his holidays. Regards, -- Adrien Prokopowicz From sebikul at ...626... Tue Aug 4 05:25:44 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 4 Aug 2015 00:25:44 -0300 Subject: [Gambas-user] Launchpad Gambas 3.8.0 broken for Ubuntu 12.04 In-Reply-To: References: Message-ID: It should be fixed, but some other thing might have slipped my hand. Please let me know if you find anything else, and sorry again :P On Mon, Aug 3, 2015 at 5:36 PM, Sebastian Kulesz wrote: > Yup. Found the bug, for some reason I added an explicit dependence in > gb.eval when it is already included in the Gambas runtime. I will fix it as > soon as I get home, sorry about that :( > > On Mon, Aug 3, 2015, 14:06 Alexie wrote: > >> Hi, >> >> Just want to mention the PPA for Gambas 3.8.0 & Ubuntu 12.04 is "broken", >> it wouldn't install (anymore): >> >> root at ...1008...:~# apt-get install gambas3 >> >> Reading package lists... Done >> >> Building dependency tree >> >> Reading state information... Done >> >> Some packages could not be installed. This may mean that you have >> >> requested an impossible situation or if you are using the unstable >> >> distribution that some required packages have not yet been created >> >> or been moved out of Incoming. >> >> The following information may help to resolve the situation: >> >> >> The following packages have unmet dependencies: >> >> gambas3 : Depends: gambas3-ide (>= 3.8.0-55.38~ubuntu12.04.1) but it is >> not going to be installed >> >> Depends: gambas3-gb-form-editor (>= 3.8.0-55.38~ubuntu12.04.1) >> but it is not going to be installed >> >> E: Unable to correct problems, you have held broken packages. >> >> The "gambas3-gb-eval-highlight" has a dependancy with "gambas3-gb-eval", >> which doesn't exist as package. >> >> Regards, >> Alex >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From ualex73 at ...626... Tue Aug 4 08:33:35 2015 From: ualex73 at ...626... (Alexie) Date: Tue, 4 Aug 2015 08:33:35 +0200 Subject: [Gambas-user] Launchpad Gambas 3.8.0 broken for Ubuntu 12.04 In-Reply-To: References: Message-ID: No worries, i normally don't use the 12.04 release anymore, only for testing. I also use the source files to build my own Gambas deb's on a Raspberry Pi, this is how i noticed the "problem" first. 2015-08-04 5:25 GMT+02:00 Sebastian Kulesz : > It should be fixed, but some other thing might have slipped my hand. Please > let me know if you find anything else, and sorry again :P > > On Mon, Aug 3, 2015 at 5:36 PM, Sebastian Kulesz > wrote: > > > Yup. Found the bug, for some reason I added an explicit dependence in > > gb.eval when it is already included in the Gambas runtime. I will fix it > as > > soon as I get home, sorry about that :( > > > > On Mon, Aug 3, 2015, 14:06 Alexie wrote: > > > >> Hi, > >> > >> Just want to mention the PPA for Gambas 3.8.0 & Ubuntu 12.04 is > "broken", > >> it wouldn't install (anymore): > >> > >> root at ...1008...:~# apt-get install gambas3 > >> > >> Reading package lists... Done > >> > >> Building dependency tree > >> > >> Reading state information... Done > >> > >> Some packages could not be installed. This may mean that you have > >> > >> requested an impossible situation or if you are using the unstable > >> > >> distribution that some required packages have not yet been created > >> > >> or been moved out of Incoming. > >> > >> The following information may help to resolve the situation: > >> > >> > >> The following packages have unmet dependencies: > >> > >> gambas3 : Depends: gambas3-ide (>= 3.8.0-55.38~ubuntu12.04.1) but it is > >> not going to be installed > >> > >> Depends: gambas3-gb-form-editor (>= > 3.8.0-55.38~ubuntu12.04.1) > >> but it is not going to be installed > >> > >> E: Unable to correct problems, you have held broken packages. > >> > >> The "gambas3-gb-eval-highlight" has a dependancy with "gambas3-gb-eval", > >> which doesn't exist as package. > >> > >> Regards, > >> Alex > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> 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 tsukubagraduates at ...3482... Tue Aug 4 10:21:26 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Tue, 4 Aug 2015 16:21:26 +0800 Subject: [Gambas-user] where's can download gambas ver 3.8.90.svn.7215 Message-ID: because my project is dev in opensuse but i choose 3.8.90.svn.7215 ver in software.opensuse.org(because 3.7.1 not working) so now i move to archlinux-like(manjaro) but when i Compiled the installation package and.... *note:i using chinese language [nishikino-maki at ...3494... debian]$ su -c "dpkg -i lovelive-musicpackage_0.1.5-6_all.deb" ??? (??????? ... ???????? 52 ???????) ????? lovelive-musicpackage_0.1.5-6_all.deb ... ??? lovelive-musicpackage (0.1.5-6) ??? (0.1.5-6) ? ... dpkg: ???????? lovelive-musicpackage ?????????? lovelive-musicpackage ??? gambas3-runtime (>= 3.8)???? ?????? gambas3-runtime? lovelive-musicpackage ??? gambas3-runtime (<< 3.99.0)???? ?????? gambas3-runtime? lovelive-musicpackage ??? gambas3-gb-image (>= 3.8)???? ?????? gambas3-gb-image? lovelive-musicpackage ??? gambas3-gb-image (<< 3.99.0)???? ?????? gambas3-gb-image? lovelive-musicpackage ??? gambas3-gb-form (>= 3.8)???? ?????? gambas3-gb-form? lovelive-musicpackage ??? gambas3-gb-form (<< 3.99.0)???? ?????? gambas3-gb-form? lovelive-musicpackage ??? gambas3-gb-media (>= 3.8)???? ?????? gambas3-gb-media? lovelive-musicpackage ??? gambas3-gb-media (<< 3.99.0)???? ?????? gambas3-gb-media? lovelive-musicpackage ??? gambas3-gb-m dpkg: ????? lovelive-musicpackage (--install)???? ?????? - ????? ?????????? lovelive-musicpackage [nishikino-maki at ...3494... debian]$ From mmcg29440 at ...3163... Tue Aug 4 15:32:08 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 4 Aug 2015 09:32:08 -0400 Subject: [Gambas-user] Problem with MySQL syntax with DataSource Message-ID: Charlie, Did as you suggested. Created new form with two datasources and two dataview controls. Copied the relevant code into new form. Same error as with the original form. When the original form was created the code did work. I think it was back in Gambas 3.6 or so. Maybe it has something to do with upgrading to the current flavor of Gambas. What file do I upload to send the new form to the list? I do not want to send the whole project to the list only the form in question. I'll try to dump the table. If I cannot I'll send the structure. Regards, Marty From Karl.Reinl at ...2345... Tue Aug 4 16:10:34 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Aug 2015 16:10:34 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: <1438697434.4755.10.camel@...40...> Am Dienstag, den 04.08.2015, 09:32 -0400 schrieb Martin McGlensey: > Charlie, > > > > Did as you suggested. Created new form with two datasources and two dataview > controls. Copied the relevant code into new form. Same error as with the > original form. When the original form was created the code did work. I think > it was back in Gambas 3.6 or so. Maybe it has something to do with upgrading > to the current flavor of Gambas. > > > > What file do I upload to send the new form to the list? I do not want to > send the whole project to the list only the form in question. I'll try to > dump the table. If I cannot I'll send the structure. > > > > Regards, > > Marty > Salut Marty, I understand, that you made it inside your project, right? So you can't pack the Project with CTRL+ALT+A. A form has two files .form and .class. Can you isolate this form in a new project and import that form via new/form/existing? -- Amicalement Charlie From sebikul at ...626... Tue Aug 4 16:37:20 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 04 Aug 2015 14:37:20 +0000 Subject: [Gambas-user] where's can download gambas ver 3.8.90.svn.7215 In-Reply-To: References: Message-ID: Gambas is not yet updated to 3.8 in the archlinux repository. Just wait a few days for the mantainer to do so, it was already marked as outdated. On Tue, Aug 4, 2015, 05:22 tsukuba GIMP user wrote: > because my project is dev in opensuse > but i choose 3.8.90.svn.7215 ver in software.opensuse.org(because 3.7.1 > not working) > so now i move to archlinux-like(manjaro) but when i Compiled the > installation package and.... > > *note:i using chinese language > [nishikino-maki at ...3494... debian]$ su -c "dpkg -i > lovelive-musicpackage_0.1.5-6_all.deb" > ??? > (??????? ... ???????? 52 ???????) > ????? lovelive-musicpackage_0.1.5-6_all.deb ... > ??? lovelive-musicpackage (0.1.5-6) ??? (0.1.5-6) ? ... > dpkg: ???????? lovelive-musicpackage ?????????? > lovelive-musicpackage ??? gambas3-runtime (>= 3.8)???? > ?????? gambas3-runtime? > lovelive-musicpackage ??? gambas3-runtime (<< 3.99.0)???? > ?????? gambas3-runtime? > lovelive-musicpackage ??? gambas3-gb-image (>= 3.8)???? > ?????? gambas3-gb-image? > lovelive-musicpackage ??? gambas3-gb-image (<< 3.99.0)???? > ?????? gambas3-gb-image? > lovelive-musicpackage ??? gambas3-gb-form (>= 3.8)???? > ?????? gambas3-gb-form? > lovelive-musicpackage ??? gambas3-gb-form (<< 3.99.0)???? > ?????? gambas3-gb-form? > lovelive-musicpackage ??? gambas3-gb-media (>= 3.8)???? > ?????? gambas3-gb-media? > lovelive-musicpackage ??? gambas3-gb-media (<< 3.99.0)???? > ?????? gambas3-gb-media? > lovelive-musicpackage ??? gambas3-gb-m > dpkg: ????? lovelive-musicpackage (--install)???? > ?????? - ????? > ?????????? > lovelive-musicpackage > [nishikino-maki at ...3494... debian]$ > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Tue Aug 4 19:07:36 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 4 Aug 2015 13:07:36 -0400 Subject: [Gambas-user] Problem with MySQL syntax with DataSource Message-ID: Charlie, Here is the form and the data table. You will have to recode the connection for the datasources as well as using an integer (1-200) for frmEntry.DataControl.Value. Regards, Marty -------------- next part -------------- A non-text attachment was scrubbed... Name: Form_Test-0.0.1.tar.gz Type: application/x-gzip Size: 4426 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tblparcel_numbers.sql Type: application/octet-stream Size: 25890 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Tue Aug 4 21:25:17 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 04 Aug 2015 21:25:17 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: Le Tue, 04 Aug 2015 19:07:36 +0200, Martin McGlensey a ?crit: > Charlie, > > > Here is the form and the data table. You will have to recode the > connection > for the datasources as well as using an integer (1-200) for > frmEntry.DataControl.Value. > > > Regards, > > Marty > This should be fixed in revision #7219, can you confirm ? -- Adrien Prokopowicz From Karl.Reinl at ...2345... Tue Aug 4 21:37:05 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Aug 2015 21:37:05 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: <1438717025.3584.6.camel@...40...> Am Dienstag, den 04.08.2015, 13:07 -0400 schrieb Martin McGlensey: > Charlie, > > > > Here is the form and the data table. You will have to recode the connection > for the datasources as well as using an integer (1-200) for > frmEntry.DataControl.Value. > > > > Regards, > > Marty > Salut Marty, bad news, you hit a FIXED Limit of 256, thats a BUG. But the good news are there is a workaround I think. Use DataSource2.Table = "Select * from tblparcel_numbers" ' like this it works I attached my changed project and your SQL, in the hope Adrian is still online (and not yet in holidays), I'v not the time actually to correct that bug. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Form_Test-0.0.2.tar.gz Type: application/x-compressed-tar Size: 4802 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tblparcel_numbers.sql Type: text/x-sql Size: 25890 bytes Desc: not available URL: From Karl.Reinl at ...2345... Tue Aug 4 22:00:44 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Aug 2015 22:00:44 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: <1438718444.3584.7.camel@...40...> Am Dienstag, den 04.08.2015, 21:25 +0200 schrieb Adrien Prokopowicz: > Le Tue, 04 Aug 2015 19:07:36 +0200, Martin McGlensey > a ?crit: > > > Charlie, > > > > > > Here is the form and the data table. You will have to recode the > > connection > > for the datasources as well as using an integer (1-200) for > > frmEntry.DataControl.Value. > > > > > > Regards, > > > > Marty > > > > This should be fixed in revision #7219, can you confirm ? > I'v just tested, and can confirm. -- Amicalement Charlie From mmcg29440 at ...3163... Tue Aug 4 22:33:36 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 4 Aug 2015 16:33:36 -0400 Subject: [Gambas-user] Problem with MySQL syntax with DataSource Message-ID: Charlie, Thanks for the response. I thought it might be a bug as the routine worked before. I do not think the work around will work as I want it to. My understanding is that a datasource built on a query cannot be edited and updated. I need to change the value of the key based on the user selecting a record in datasource2. I have looked at the data event of the datasource control and find it too complicated to use. I have developed the form using the result object. I believe that the key data can be changed easily with the syntax below: hRow.Moveto(GridView2.Row) hRow!Key = 0 hRow.Update If this will modify the underlying recordset it should work for my purposes. If there is a good example of the use of the data event to change a column's value or a sample project please send it to me as an attachment to my email off the list (mmcg29440 at ...3495...). Thanks to Adrien for fixing the bug in the daily builds. However I do not have the knowledge to get this compiled and installed. Regards, Marty From Karl.Reinl at ...2345... Tue Aug 4 23:21:39 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Aug 2015 23:21:39 +0200 Subject: [Gambas-user] Problem with MySQL syntax with DataSource In-Reply-To: References: Message-ID: <1438723299.3584.9.camel@...40...> Am Dienstag, den 04.08.2015, 16:33 -0400 schrieb Martin McGlensey: > Charlie, > > > > Thanks for the response. I thought it might be a bug as the routine worked > before. I do not think the work around will work as I want it to. My > understanding is that a datasource built on a query cannot be edited and > updated. I need to change the value of the key based on the user selecting a > record in datasource2. > > > > I have looked at the data event of the datasource control and find it too > complicated to use. I have developed the form using the result object. I > believe that the key data can be changed easily with the syntax below: > > > > hRow.Moveto(GridView2.Row) > > hRow!Key = 0 > > hRow.Update > > > > If this will modify the underlying recordset it should work for my purposes. > If there is a good example of the use of the data event to change a column's > value or a sample project please send it to me as an attachment to my email > off the list (mmcg29440 at ...3495...). > > > > Thanks to Adrien for fixing the bug in the daily builds. However I do not > have the knowledge to get this compiled and installed. > Salut Marty, and how did you get 3.8 as fast ? -- Amicalement Charlie From gambas at ...2524... Fri Aug 7 10:26:52 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Aug 2015 08:26:52 +0000 Subject: [Gambas-user] Issue 632 in gambas: Unable to retrive blob data from MySQL Message-ID: <0-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version3.8 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 632 by isaf... at ...626...: Unable to retrive blob data from MySQL https://code.google.com/p/gambas/issues/detail?id=632 1) Unable to retrive blob data from MySQL in version 3.8. However it was working well in version 3.7.1 2) [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.16.0-45-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk 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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ACXg2O8PxE DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6895 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-kGuAZu GNOME_KEYRING_PID=2183 GPG_AGENT_INFO=/run/user/1000/keyring-kGuAZu/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME=/home/safiur IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=ne_NP LC_IDENTIFICATION=ne_NP LC_MEASUREMENT=ne_NP LC_MONETARY=ne_NP LC_NAME=ne_NP LC_NUMERIC=ne_NP LC_PAPER=ne_NP LC_TELEPHONE=ne_NP LC_TIME=ne_NP LOGNAME=safiur MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/safiur QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/safiur-HP-Compaq:@/tmp/.ICE-unix/2387,unix/safiur-HP-Compaq:/tmp/.ICE-unix/2387 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-kGuAZu/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2186 USER=safiur XAUTHORITY=/home/safiur/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/safiur XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@im=ibus 3) I use gambas method to create a table with blob field in MySQL table. Dim hTable As Table hTable = $newCon.Tables.Add("tblimage") hTable.Fields.Add("fldid", db.Serial) hTable.Fields.Add("fldpic", db.Blob) hTable.PrimaryKey = ["fldid"] hTable.Update I use gambas method to insert image file in the above table. Dim res As Result res = $newCon.Create("tblimage") res["fldpic"] = File.Load("/home/safiur/picture.png") res.Update I use gambas method to retrive the image file from database and load onto ImageViewer. Dim res As Result Dim tempFile As String Dim hFile As Blob res = $newCon.Exec("select fldpic from tblimage") res.MoveFirst tempFile = Temp() & ".png" hFile = res["fldpic"] File.Save(tempFile, hFile.Data) ImageView1.Image = Image.Load(tempFile) -insert image works well. -retriving image is not working. 4) Attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: imagedatabase.tar.gz 5.1 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 jussi.lahtinen at ...626... Mon Aug 10 13:41:17 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Aug 2015 14:41:17 +0300 Subject: [Gambas-user] datediff problem In-Reply-To: <55BCF0E7.2060601@...1...> References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> <55BCF0E7.2060601@...1...> Message-ID: Sorry to say, but this doesn't seem to be fixed. ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day) 1 Jussi On Sat, Aug 1, 2015 at 7:16 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 01/08/2015 17:52, Beno?t Minisini a ?crit : > > Le 01/08/2015 17:33, nando a ?crit : > >> Here's an example. > >> > >> Dim FirstDate as Date > >> > >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'ok > >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > >> 'Wrong > >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > >> 'Wrong > >> > >> 212 > >> 212 > >> 212 > >> 213 <---Wrong should be 212 > >> 213 <---Wrong should be 212 > >> > >> Of course, this is looks like it might be a TimeZone problem. > >> I am in GMT -5 but daylight savings during the summer it is -4 > >> > >> Am I correct to say this is not correct operation? > >> > >> -Nando > >> > >> > > > > Argh, a just too late bug! You did that to spoil my holidats? 8-o > > > > OK, I couldn't let you alone. I have updated the Gambas 3.8 source > package with the fix for that bug. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Mon Aug 10 14:02:07 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 10 Aug 2015 08:02:07 -0400 Subject: [Gambas-user] Is the group still up? Message-ID: Is the group still publishing a digest? I have not seen one in a couple of weeks. Regards, Marty From abbat.81 at ...787... Mon Aug 10 16:05:41 2015 From: abbat.81 at ...787... (abbat81) Date: Mon, 10 Aug 2015 07:05:41 -0700 (MST) Subject: [Gambas-user] Gambas highlight Message-ID: <1439215541557-52218.post@...3046...> Hi, is it possible to add Gambas syntax highlighting for the Web? I tried VBScript and VB.NET. It's not good for Gambas code. https://highlightjs.org/ -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas-highlight-tp52218.html Sent from the gambas-user mailing list archive at Nabble.com. From rmorgan62 at ...626... Mon Aug 10 20:50:24 2015 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 10 Aug 2015 12:50:24 -0600 Subject: [Gambas-user] Gambas highlight In-Reply-To: <1439215541557-52218.post@...3046...> References: <1439215541557-52218.post@...3046...> Message-ID: Since Javascript is ran in the browser, you should be able to use any of the javascript processors like Prism, Enlighten, zsh-syntax-hilighting, etc. Most syntax highlighters use a config file or special class to set highlighting rules. There is a Tex processor plugin I use with Lyx that has Gambas highlighting rules. I haven't used it in a long while but it shouldn't be hard to find. So just select a highlighter, get it to work on your web page and then add the rules needed for Gambas. There is also a Wordpress plugin that uses Tex and you should be able to use the same rules from the Lyx plugin as it is just a Tex editor. Do some googling and you should come up with all the peices you need to put it together. You may also be able to use Gambas' own internal syntax highlighter. I haven't tried but I am sure someone on here would know. On Mon, Aug 10, 2015 at 8:05 AM, abbat81 wrote: > Hi, > > is it possible to add Gambas syntax highlighting for the Web? > > I tried VBScript and VB.NET. It's not good for Gambas code. > > https://highlightjs.org/ > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Gambas-highlight-tp52218.html > Sent from the gambas-user mailing list archive at Nabble.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 ea7dfh at ...2382... Mon Aug 10 22:35:38 2015 From: ea7dfh at ...2382... (Jesus) Date: Mon, 10 Aug 2015 22:35:38 +0200 Subject: [Gambas-user] Gambas highlight In-Reply-To: <1439215541557-52218.post@...3046...> References: <1439215541557-52218.post@...3046...> Message-ID: <55C90B1A.3050100@...2382...> El 10/8/15 a las 16:05, abbat81 escribi?: > Hi, > > is it possible to add Gambas syntax highlighting for the Web? > > I tried VBScript and VB.NET. It's not good for Gambas code. > > https://highlightjs.org/ > Hi abbat81 About 6 years ago, I did contributed to GeShi project enabling syntax highlighting for gambas[*]. GeShi is a powerful php script for highlighting about 200 programming languages, it is easy to implement in almost any web page and results are amazing. Not sure what's happening with this project since 10 months ago, main site is not responding for a while... http://qbnz.com/highlighter https://github.com/GeSHi/geshi-1.0 Moreover, there are plugins based on GeShi for several CMS as Wordpress, and the like. Hope this helps, regards -- Jesus Guardon [*] Yes, it needs an update based on gambas3 brand new classes... From filipsnew at ...626... Tue Aug 11 05:24:13 2015 From: filipsnew at ...626... (Filippo Casati) Date: Tue, 11 Aug 2015 05:24:13 +0200 Subject: [Gambas-user] Print preview Message-ID: how to printer settings remain after viewing the print preview? I want this because closing the preview automatically printing. From abbat.81 at ...787... Tue Aug 11 09:33:02 2015 From: abbat.81 at ...787... (abbat81) Date: Tue, 11 Aug 2015 00:33:02 -0700 (MST) Subject: [Gambas-user] Gambas highlight In-Reply-To: <55C90B1A.3050100@...2382...> References: <1439215541557-52218.post@...3046...> <55C90B1A.3050100@...2382...> Message-ID: <1439278382693-52222.post@...3046...> Jesus wrote > [*] Yes, it needs an update based on gambas3 brand new classes... Can you update those new classes in gambas.php ? -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas-highlight-for-the-Web-tp52218p52222.html Sent from the gambas-user mailing list archive at Nabble.com. From ea7dfh at ...2382... Thu Aug 13 00:39:50 2015 From: ea7dfh at ...2382... (Jesus) Date: Thu, 13 Aug 2015 00:39:50 +0200 Subject: [Gambas-user] Gambas highlight In-Reply-To: <1439278382693-52222.post@...3046...> References: <1439215541557-52218.post@...3046...> <55C90B1A.3050100@...2382...> <1439278382693-52222.post@...3046...> Message-ID: <55CBCB36.1010905@...2382...> El 11/8/15 a las 9:33, abbat81 escribi?: > Jesus wrote >> [*] Yes, it needs an update based on gambas3 brand new classes... > > > Can you update those new classes in gambas.php ? Currently I am very busy. I've scheduled the task to not forgetting, but expect at least a 15 or 20 days delay. Sorry ;-) Regards, -- Jesus Guardon From eilert-sprachen at ...221... Thu Aug 13 11:19:09 2015 From: eilert-sprachen at ...221... (Sprachschule Eilert) Date: Thu, 13 Aug 2015 11:19:09 +0200 Subject: [Gambas-user] Why syntax error? Message-ID: <55CC610D.8040104@...221...> This produces a syntax error, but it doesn't tell me why: Private Const $TB As String = Chr$(9) If I leave "Const" away, it runs, so it shouldn't be the $TB which disturbs, as it is accepted as a variable naming. The rest should be ok, too. So I can't find any reason... Thanks for any hint Rolf From adrien.prokopowicz at ...626... Thu Aug 13 12:05:06 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 13 Aug 2015 12:05:06 +0200 Subject: [Gambas-user] Why syntax error? In-Reply-To: <55CC610D.8040104@...221...> References: <55CC610D.8040104@...221...> Message-ID: Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert a ?crit: > This produces a syntax error, but it doesn't tell me why: > > Private Const $TB As String = Chr$(9) > > If I leave "Const" away, it runs, so it shouldn't be the $TB which > disturbs, as it is accepted as a variable naming. The rest should be ok, > too. So I can't find any reason... > > Thanks for any hint > > Rolf > This is because calling functions is not allowed when defining a constant value. In your case, you have to use a string containing your character using an escape code : Private Const $TB As String = "\x09" 'Contains the ASCII character 9 Or, even better in your case : Private Const $TB As String = "\t" 'Contains the TAB character (ASCII 9) But I agree that the error message is not very clear ... Regards, -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Thu Aug 13 16:06:59 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 13 Aug 2015 16:06:59 +0200 Subject: [Gambas-user] Why syntax error? In-Reply-To: References: <55CC610D.8040104@...221...> Message-ID: Le Thu, 13 Aug 2015 12:05:06 +0200, Adrien Prokopowicz a ?crit: > Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert > a ?crit: > >> This produces a syntax error, but it doesn't tell me why: >> >> Private Const $TB As String = Chr$(9) >> >> If I leave "Const" away, it runs, so it shouldn't be the $TB which >> disturbs, as it is accepted as a variable naming. The rest should be ok, >> too. So I can't find any reason... >> >> Thanks for any hint >> >> Rolf >> > > This is because calling functions is not allowed when defining a constant > value. > > In your case, you have to use a string containing your character using an > escape code : > > Private Const $TB As String = "\x09" 'Contains the ASCII character 9 > > Or, even better in your case : > > Private Const $TB As String = "\t" 'Contains the TAB character (ASCII 9) > > But I agree that the error message is not very clear ... > > Regards, > The error messages are much more clear now in revision #7222 ! -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Thu Aug 13 16:22:13 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 13 Aug 2015 16:22:13 +0200 Subject: [Gambas-user] datediff problem In-Reply-To: References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> <55BCF0E7.2060601@...1...> Message-ID: Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen a ?crit: > Sorry to say, but this doesn't seem to be fixed. > > ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day) > 1 > > > Jussi > > On Sat, Aug 1, 2015 at 7:16 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 01/08/2015 17:52, Beno?t Minisini a ?crit : >> > Le 01/08/2015 17:33, nando a ?crit : >> >> Here's an example. >> >> >> >> Dim FirstDate as Date >> >> >> >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) >> 'ok >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) >> 'ok >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) >> 'ok >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) >> >> 'Wrong >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) >> >> 'Wrong >> >> >> >> 212 >> >> 212 >> >> 212 >> >> 213 <---Wrong should be 212 >> >> 213 <---Wrong should be 212 >> >> >> >> Of course, this is looks like it might be a TimeZone problem. >> >> I am in GMT -5 but daylight savings during the summer it is -4 >> >> >> >> Am I correct to say this is not correct operation? >> >> >> >> -Nando >> >> >> >> >> > >> > Argh, a just too late bug! You did that to spoil my holidats? 8-o >> > >> >> OK, I couldn't let you alone. I have updated the Gambas 3.8 source >> package with the fix for that bug. >> >> Regards, >> >> -- >> Beno?t Minisini That's weird, but the examples given (both jussi's and nando's) all work correctly before Beno?t's fix (pre-7212), but not after (post-7212) ! Am I missing something completely obvious, or do you get the same behavior ? Here's my test code : Dim FirstDate As Date FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) Print DateDiff(firstdate, DateAdd(firstdate, GB.Day, 2), GB.Day) Output (Before 7212) : 212 212 212 212 212 2 Output (After 7212) : 211 212 212 212 212 1 -- Adrien Prokopowicz From eilert-sprachen at ...221... Thu Aug 13 18:09:46 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 13 Aug 2015 18:09:46 +0200 Subject: [Gambas-user] Why syntax error? In-Reply-To: References: <55CC610D.8040104@...221...> Message-ID: <55CCC14A.1020909@...221...> Am 13.08.2015 16:06, schrieb Adrien Prokopowicz: > Le Thu, 13 Aug 2015 12:05:06 +0200, Adrien Prokopowicz > a ?crit: > >> Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert >> a ?crit: >> >>> This produces a syntax error, but it doesn't tell me why: >>> >>> Private Const $TB As String = Chr$(9) >>> >>> If I leave "Const" away, it runs, so it shouldn't be the $TB which >>> disturbs, as it is accepted as a variable naming. The rest should be ok, >>> too. So I can't find any reason... >>> >>> Thanks for any hint >>> >>> Rolf >>> >> >> This is because calling functions is not allowed when defining a constant >> value. >> >> In your case, you have to use a string containing your character using an >> escape code : >> >> Private Const $TB As String = "\x09" 'Contains the ASCII character 9 >> >> Or, even better in your case : >> >> Private Const $TB As String = "\t" 'Contains the TAB character (ASCII 9) >> >> But I agree that the error message is not very clear ... >> >> Regards, Thank you very much for the explanation! >> > > The error messages are much more clear now in revision #7222 ! > Oh - I'm working with the last official version on this machine. But looking forward to see it soon :) Rolf From adamnt42 at ...626... Thu Aug 13 23:01:52 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 14 Aug 2015 06:31:52 +0930 Subject: [Gambas-user] datediff problem In-Reply-To: References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> <55BCF0E7.2060601@...1...> Message-ID: <20150814063152.17816d2fac67315d1542913b@...626...> On Thu, 13 Aug 2015 16:22:13 +0200 "Adrien Prokopowicz" wrote: > Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen > a ?crit: > > > Sorry to say, but this doesn't seem to be fixed. > > > > ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day) > > 1 > > > > > > Jussi > > > > On Sat, Aug 1, 2015 at 7:16 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > >> Le 01/08/2015 17:52, Beno?t Minisini a ?crit : > >> > Le 01/08/2015 17:33, nando a ?crit : > >> >> Here's an example. > >> >> > >> >> Dim FirstDate as Date > >> >> > >> >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > >> >> 'Wrong > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > >> >> 'Wrong > >> >> > >> >> 212 > >> >> 212 > >> >> 212 > >> >> 213 <---Wrong should be 212 > >> >> 213 <---Wrong should be 212 > >> >> > >> >> Of course, this is looks like it might be a TimeZone problem. > >> >> I am in GMT -5 but daylight savings during the summer it is -4 > >> >> > >> >> Am I correct to say this is not correct operation? > >> >> > >> >> -Nando > >> >> > >> >> > >> > > >> > Argh, a just too late bug! You did that to spoil my holidats? 8-o > >> > > >> > >> OK, I couldn't let you alone. I have updated the Gambas 3.8 source > >> package with the fix for that bug. > >> > >> Regards, > >> > >> -- > >> Beno?t Minisini > > That's weird, but the examples given (both jussi's and nando's) all work > correctly before Beno?t's fix (pre-7212), but not after (post-7212) ! > > Am I missing something completely obvious, or do you get the same behavior > ? > > Here's my test code : > > Dim FirstDate As Date > > FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > Print DateDiff(firstdate, DateAdd(firstdate, GB.Day, 2), GB.Day) > > Output (Before 7212) : > > 212 > 212 > 212 > 212 > 212 > 2 > > Output (After 7212) : > > 211 > 212 > 212 > 212 > 212 > 1 > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Confirmed at 7219 and I've added more output and tests: Dim FirstDate As Date Dim SecondDate As Date FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) SecondDate = Date(2015, 8, 1, 00, 00, 00) Print "1 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = Date(2015, 8, 1, 00, 00, 01) Print "2 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = Date(2015, 8, 1, 03, 59, 59) Print "3 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = Date(2015, 8, 1, 04, 00, 00) Print "4 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = Date(2015, 8, 1, 11, 21, 51) Print "5 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = Date(2015, 8, 1, 23, 59, 59.99999999999) Print "6 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = DateAdd(firstdate, GB.Day, 2) Print "7 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = DateAdd(firstdate, GB.Day, 1) Print "8 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" SecondDate = DateAdd(firstdate, GB.Day, 0) Print "9 First:"; Format(FirstDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(FirstDate); ") Second:"; Format(SecondDate, "dd-mmm-yy hh:nn:ss:uu"); " ("; CFloat(SecondDate); ") Diff:"; DateDiff(firstdate, SecondDate, gb.day); " ("; CFloat(SecondDate) - CFloat(FirstDate); ")" gives : 1 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 00:00:00:000 (2489340.39583333) Diff:211 (212) 2 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 00:00:01:000 (2489340.39584491) Diff:212 (212.000011574011) 3 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 03:59:59:000 (2489340.56248843) Diff:212 (212.1666550925) 4 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 04:00:00:000 (2489340.5625) Diff:212 (212.166666666511) 5 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 11:21:51:000 (2489340.86934028) Diff:212 (212.473506944254) 6 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Aug-15 23:59:59:000 (2489341.39582176) Diff:212 (212.999988425989) 7 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:03-Jan-15 00:00:00:000 (2489130.39583333) Diff:1 (2) 8 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:02-Jan-15 00:00:00:000 (2489129.39583333) Diff:0 (1) 9 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:01-Jan-15 00:00:00:000 (2489128.39583333) Diff:0 (0) Test #8 clearly shows the error. LATE NOTE: I've changed test #6 to SecondDate = Date(2015, 8, 1, 23, 59, 59, 1000) which gives: 6 First:01-Jan-15 00:00:00:000 (2489128.39583333) Second:02-Aug-15 00:00:00:000 (2489341.39583333) Diff:212 (213) (This may just be an artifact of the issue though) regards bruce -- B Bruen From jussi.lahtinen at ...626... Fri Aug 14 01:32:10 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 14 Aug 2015 02:32:10 +0300 Subject: [Gambas-user] datediff problem In-Reply-To: References: <20150801141446.M84112@...951...> <55BCEB55.2010907@...1...> <55BCF0E7.2060601@...1...> Message-ID: I think this fixes the problem (in gbx_date.c): int DATE_diff(VALUE *date1, VALUE *date2, int period) { int64_t diff = 0; int sdiff, tmpdiff; DATE_SERIAL ds1 = {0}; DATE_SERIAL ds2 = {0}; bool neg; switch (period) { case DP_DAY: case DP_WEEK: diff = date1->_date.date - date2->_date.date; sdiff = lsgn(diff); tmpdiff = lsgn(date1->_date.time - date2->_date.time); if (sdiff != tmpdiff && tmpdiff != 0) diff -= sdiff; break; case DP_MILLISECOND: case DP_SECOND: case DP_MINUTE: case DP_HOUR: diff = date1->_date.date - date2->_date.date; diff = diff * 86400000 + (date1->_date.time - date2->_date.time); break; case DP_MONTH: case DP_QUARTER: case DP_YEAR: ds1 = *DATE_split(date1); ds2 = *DATE_split(date2); break; case DP_WEEKDAY: diff = date1->_date.date - date2->_date.date; sdiff = lsgn(diff); if (sdiff != lsgn(date1->_date.time - date2->_date.time)) diff -= sdiff; ds1 = *DATE_split(date1); ds2 = *DATE_split(date2); break; default: THROW(E_ARG); } switch (period) { case DP_DAY: break; case DP_WEEK: diff /= 7; break; case DP_SECOND: diff /= 1000; break; case DP_MINUTE: diff /= 60000; break; case DP_HOUR: diff /= 3600000; break; case DP_WEEKDAY: neg = (diff < 0); if (neg) { int swap; diff = (-diff); swap = ds1.weekday; ds1.weekday = ds2.weekday; ds2.weekday = swap; } diff = diff / 7 * 5; /* last day is not included ! */ while (ds2.weekday != ds1.weekday) { if (ds2.weekday > 0 && ds2.weekday < 6) diff++; ds2.weekday++; if (ds2.weekday == 7) ds2.weekday = 0; } if (neg) diff = (-diff); break; case DP_MONTH: diff = (ds1.year - ds2.year) * 12 + ds1.month - ds2.month; break; case DP_QUARTER: diff = (ds1.year - ds2.year) * 4 + (ds1.month - ds2.month) / 3; break; case DP_YEAR: diff = ds1.year - ds2.year; break; case DP_MILLISECOND: break; } if (diff < INT32_MIN || diff > INT32_MAX) THROW(E_OVERFLOW); return diff; } Can someone confirm my fix to the function? Jussi On Thu, Aug 13, 2015 at 5:22 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen > a ?crit: > > > Sorry to say, but this doesn't seem to be fixed. > > > > ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day) > > 1 > > > > > > Jussi > > > > On Sat, Aug 1, 2015 at 7:16 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > >> Le 01/08/2015 17:52, Beno?t Minisini a ?crit : > >> > Le 01/08/2015 17:33, nando a ?crit : > >> >> Here's an example. > >> >> > >> >> Dim FirstDate as Date > >> >> > >> >> FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) > >> 'ok > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > >> >> 'Wrong > >> >> Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > >> >> 'Wrong > >> >> > >> >> 212 > >> >> 212 > >> >> 212 > >> >> 213 <---Wrong should be 212 > >> >> 213 <---Wrong should be 212 > >> >> > >> >> Of course, this is looks like it might be a TimeZone problem. > >> >> I am in GMT -5 but daylight savings during the summer it is -4 > >> >> > >> >> Am I correct to say this is not correct operation? > >> >> > >> >> -Nando > >> >> > >> >> > >> > > >> > Argh, a just too late bug! You did that to spoil my holidats? 8-o > >> > > >> > >> OK, I couldn't let you alone. I have updated the Gambas 3.8 source > >> package with the fix for that bug. > >> > >> Regards, > >> > >> -- > >> Beno?t Minisini > > That's weird, but the examples given (both jussi's and nando's) all work > correctly before Beno?t's fix (pre-7212), but not after (post-7212) ! > > Am I missing something completely obvious, or do you get the same behavior > ? > > Here's my test code : > > Dim FirstDate As Date > > FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 04, 00, 00), gb.day) > Print DateDiff(firstdate, Date(2015, 8, 1, 11, 21, 51), gb.day) > Print DateDiff(firstdate, DateAdd(firstdate, GB.Day, 2), GB.Day) > > Output (Before 7212) : > > 212 > 212 > 212 > 212 > 212 > 2 > > Output (After 7212) : > > 211 > 212 > 212 > 212 > 212 > 1 > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Fri Aug 14 03:58:32 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 14 Aug 2015 11:28:32 +0930 Subject: [Gambas-user] These new color constants ... Message-ID: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> With these new color constant changes (rev 7189) in the IDE (pursuant to Marco Ancillotti's "Adding custom colors" thread) I'm getting some anomalous outcomes. 1) In a project without any override for the Color class the following occurs: If any of the old or new constants are selected (say as a background color) from the dialog [selcol_dlg.png] the background is rendered in the IDE with a black background [blackbg.png]. Conversely if a custom color is selected from the "Free" tab it gets rendered correctly. 2) In a project with an override for the Color class (e.g. see Color.class attached) The IDE does not show any of the custom "constants" e.g. DarkBackground or LightBackground in the color selector dialog [newcol_dlg.png]. Can anyone confirm similar anomalies please. b -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: selcol_dlg.png Type: image/png Size: 36722 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: blackbg.png Type: image/png Size: 81624 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Color.class Type: application/octet-stream Size: 8200 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: newcol_dlg.png Type: image/png Size: 36790 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Fri Aug 14 10:58:17 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 14 Aug 2015 10:58:17 +0200 Subject: [Gambas-user] These new color constants ... In-Reply-To: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> References: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> Message-ID: Le Fri, 14 Aug 2015 03:58:32 +0200, adamnt42 at ...626... a ?crit: > With these new color constant changes (rev 7189) in the IDE (pursuant to > Marco Ancillotti's "Adding custom colors" thread) I'm getting some > anomalous outcomes. > > 1) In a project without any override for the Color class the following > occurs: > If any of the old or new constants are selected (say as a background > color) from the dialog [selcol_dlg.png] the background is rendered in > the IDE with a black background [blackbg.png]. Conversely if a custom > color is selected from the "Free" tab it gets rendered correctly. > > 2) In a project with an override for the Color class (e.g. see > Color.class attached) > The IDE does not show any of the custom "constants" e.g. DarkBackground > or LightBackground in the color selector dialog [newcol_dlg.png]. > > Can anyone confirm similar anomalies please. > b > I can't reproduce this on my system. Moreover, the Color class you sent does not work, as the properties are incorrectly overridden (they should be read-only like the original Color class, otherwise an error is thrown). Can you send a full project, as well as some details on your system ? -- Adrien Prokopowicz From adamnt42 at ...626... Sat Aug 15 04:16:28 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 15 Aug 2015 11:46:28 +0930 Subject: [Gambas-user] These new color constants ... In-Reply-To: References: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> Message-ID: <20150815114628.14c38abef4fb4e5f2bc96e4d@...626...> Hi Adrien, Thanks for lookin\g at this. Your response solves problem #2 in that I now know what causes it and it is a local issue - I am using a modified version of gbx3 and that is definitely why the Read/Write property change fouls up. Sorry for the noise. On the other hand - re problem 1 (no Color class override) : could you clarify that you dont get that black fill rendering when using a Color constant in the IDE. I don't believe that is related to the above but feel it may be local due to QT4 installed here, or themes, or something... tia bruce On Fri, 14 Aug 2015 10:58:17 +0200 "Adrien Prokopowicz" wrote: > Le Fri, 14 Aug 2015 03:58:32 +0200, adamnt42 at ...626... > a ?crit: > > > With these new color constant changes (rev 7189) in the IDE (pursuant to > > Marco Ancillotti's "Adding custom colors" thread) I'm getting some > > anomalous outcomes. > > > > 1) In a project without any override for the Color class the following > > occurs: > > If any of the old or new constants are selected (say as a background > > color) from the dialog [selcol_dlg.png] the background is rendered in > > the IDE with a black background [blackbg.png]. Conversely if a custom > > color is selected from the "Free" tab it gets rendered correctly. > > > > 2) In a project with an override for the Color class (e.g. see > > Color.class attached) > > The IDE does not show any of the custom "constants" e.g. DarkBackground > > or LightBackground in the color selector dialog [newcol_dlg.png]. > > > > Can anyone confirm similar anomalies please. > > b > > > > I can't reproduce this on my system. Moreover, the Color class you sent > does not work, as the properties are incorrectly overridden (they should be > read-only like the original Color class, otherwise an error is thrown). > > Can you send a full project, as well as some details on your system ? > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From chrisml at ...3340... Sat Aug 15 10:07:58 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 15 Aug 2015 10:07:58 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" Message-ID: <55CEF35E.1070100@...3340...> Hello, if I close a project with open class files and reopen that project all opened files are in the state changed, even if I did not change anything. See screenshot of project just opened. So I cannot close that project without the dialog to save the files ... even if nothing changed. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: test-gambas-open-proj.png Type: image/png Size: 6225 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From charlie at ...2793... Sat Aug 15 15:18:52 2015 From: charlie at ...2793... (Charlie) Date: Sat, 15 Aug 2015 06:18:52 -0700 (MST) Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: <55CEF35E.1070100@...3340...> References: <55CEF35E.1070100@...3340...> Message-ID: <1439644732693-52236.post@...3046...> I have just checked this and it seems to be fine on my system (Linux Mint 17.2 Cinnamon) -- View this message in context: http://gambas.8142.n7.nabble.com/Since-3-8-open-project-with-files-in-state-changed-tp52235p52236.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sat Aug 15 15:49:10 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 15 Aug 2015 16:49:10 +0300 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: <55CEF35E.1070100@...3340...> References: <55CEF35E.1070100@...3340...> Message-ID: I cannot reproduce the problem in my system (information below). Can you send project, system information and detailed instructions to reproduce this? [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=7985M [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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mWnRYw76Wr,guid=99048d648def486ebdf153b755cf31cc DEFAULTS_PATH=/usr/share/gconf/default.default.path DESKTOP_SESSION=default DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=default GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/home/jussi/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=3884 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-cqZLmN GPG_AGENT_INFO=/run/user/1000/keyring-cqZLmN/gpg:0:1 GTK_IM_MODULE=xim HOME=/home/jussi INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME=jussi MANDATORY_PATH=/usr/share/gconf/default.mandatory.path MDMSESSION=default MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/jussi QT4_IM_MODULE=xim SESSION_MANAGER=local/Pekka:@ /tmp/.ICE-unix/1603,unix/Pekka:/tmp/.ICE-unix/1603 SHELL=/bin/bash SSH_AGENT_PID=1678 SSH_AUTH_SOCK=/run/user/1000/keyring-cqZLmN/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER=jussi USERNAME=jussi WINDOWPATH=8 XAUTHORITY=/home/jussi/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1439642059.862968-1755908648 XDG_SESSION_DESKTOP=default XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none Jussi On Sat, Aug 15, 2015 at 11:07 AM, Christof Thalhofer wrote: > Hello, > > if I close a project with open class files and reopen that project all > opened files are in the state changed, even if I did not change anything. > > See screenshot of project just opened. > > So I cannot close that project without the dialog to save the files ... > even if nothing changed. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ea7dfh at ...2382... Sat Aug 15 16:00:06 2015 From: ea7dfh at ...2382... (Jesus) Date: Sat, 15 Aug 2015 16:00:06 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: <55CEF35E.1070100@...3340...> References: <55CEF35E.1070100@...3340...> Message-ID: <55CF45E6.5080002@...2382...> El 15/8/15 a las 10:07, Christof Thalhofer escribi?: > Hello, > > if I close a project with open class files and reopen that project all > opened files are in the state changed, even if I did not change anything. > > See screenshot of project just opened. > > So I cannot close that project without the dialog to save the files ... > even if nothing changed. > > > Alles Gute > > Christof Thalhofer Hi Christof Are by chance your files located in a folder which is under external synchronization or shared in any way? i.e. Dropbox, owncloud or something similar? Regards -- Jesus Guardon From chrisml at ...3340... Sat Aug 15 17:12:28 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 15 Aug 2015 17:12:28 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: (sfid-) References: <55CEF35E.1070100@...3340...> (sfid-) Message-ID: <55CF56DC.3080308@...3340...> Hello Jussi, Am 15.08.2015 um 15:49 schrieb Jussi Lahtinen: > I cannot reproduce the problem in my system (information below). Can you > send project, system information and detailed instructions to reproduce > this? Here are system info and attached is the zipped folder(!) with the project. I just open the project an all class files are in the state "changed". If I close the Gambas-Ide immediately whithout doing anything the dialog for saving files is shown. This occurs with all my projects. [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.13.0-61-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=? Theme=Gtk Language=de_DE.UTF-8 Memory=3848M [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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-0VRHPuWOiz DEFAULTS_PATH=/usr/share/gconf/xfce.default.path DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GDM_LANG=de_DE GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL=/run/user/1000/keyring-t7Radz GNOME_KEYRING_PID=3207 GPG_AGENT_INFO=/run/user/1000/keyring-t7Radz/gpg:0:1 GTK_MODULES=canberra-gtk-module:canberra-gtk-module HOME=/home/christof IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=de_DE.UTF-8 LOGNAME=christof MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/christof QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=xfce SESSIONTYPE= SESSION_MANAGER=local/tof-X200:@/tmp/.ICE-unix/3423,unix/tof-X200:/tmp/.ICE-unix/3423 SHELL=/usr/bin/zsh SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-t7Radz/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2572 USER=christof USERNAME=christof WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for-christof-KYSyvu/database XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xfce:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_ID=c1 XDG_VTNR=7 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: test-gambas3.8.tar.gz Type: application/gzip Size: 5097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Sat Aug 15 17:14:18 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 15 Aug 2015 17:14:18 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: <55CF45E6.5080002@...2382...> (sfid-) References: <55CEF35E.1070100@...3340...> <55CF45E6.5080002@...2382...> (sfid-) Message-ID: <55CF574A.1080702@...3340...> Hello Jesus, Am 15.08.2015 um 16:00 schrieb Jesus: > Are by chance your files located in a folder which is under external > synchronization or shared in any way? i.e. Dropbox, owncloud or > something similar? No. The same folders were used unter Gambas 3.7 and this behaviour did not occur with the old version. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From adrien.prokopowicz at ...626... Sat Aug 15 18:14:59 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Aug 2015 18:14:59 +0200 Subject: [Gambas-user] These new color constants ... In-Reply-To: <20150815114628.14c38abef4fb4e5f2bc96e4d@...626...> References: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> <20150815114628.14c38abef4fb4e5f2bc96e4d@...626...> Message-ID: Le Sat, 15 Aug 2015 04:16:28 +0200, adamnt42 at ...626... a ?crit: > Hi Adrien, > > Thanks for lookin\g at this. Your response solves problem #2 in that I > now know what causes it and it is a local issue - I am using a modified > version of gbx3 and that is definitely why the Read/Write property > change fouls up. Sorry for the noise. > > On the other hand - re problem 1 (no Color class override) : could you > clarify that you dont get that black fill rendering when using a Color > constant in the IDE. I don't believe that is related to the above but > feel it may be local due to QT4 installed here, or themes, or > something... > > tia > bruce > With or without a Color class override, the background/forground properties are rendered correctly when using a Color constant in the IDE. I've tried both Qt4 and Qt5, and still no problem. If you think the problem is local, can you provide some more info about the Qt and theme versions you are using ? -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Sat Aug 15 18:14:56 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Aug 2015 18:14:56 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: <55CEF35E.1070100@...3340...> References: <55CEF35E.1070100@...3340...> Message-ID: Le Sat, 15 Aug 2015 10:07:58 +0200, Christof Thalhofer a ?crit: > Hello, > > if I close a project with open class files and reopen that project all > opened files are in the state changed, even if I did not change anything. > > See screenshot of project just opened. > > So I cannot close that project without the dialog to save the files ... > even if nothing changed. > > > Alles Gute > > Christof Thalhofer > I was able to reproduce this problem, it was only occurring when you had the "reformat on load/save" option enabled. It was marking lines as changed even if the line was actually the same. It should be fixed now in revision #7225. -- Adrien Prokopowicz From tercoide at ...67... Sat Aug 15 19:02:42 2015 From: tercoide at ...67... (martin p cristia) Date: Sat, 15 Aug 2015 14:02:42 -0300 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: References: Message-ID: Same issue here. But they get saved. Its just an IDE problem. Also, sometimes, the cursor dissapear from the code. After clicking in another part of the IDE and comming back to the code part, it apears again. Strange behaviour. Run time works perfect. -- Saludos Ing. Martin P Cristia From chrisml at ...3340... Sat Aug 15 21:39:08 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 15 Aug 2015 21:39:08 +0200 Subject: [Gambas-user] Since 3.8 open project with files in state "changed" In-Reply-To: (sfid-) References: <55CEF35E.1070100@...3340...> (sfid-) Message-ID: <55CF955C.6010308@...3340...> Am 15.08.2015 um 18:14 schrieb Adrien Prokopowicz: > I was able to reproduce this problem, it was only occurring when you had > the > "reformat on load/save" option enabled. It was marking lines as changed > even if the line was actually the same. > > It should be fixed now in revision #7225. Cool! Thank you! I do not try it out because I have to work with the Launchpad version. But I could alter the option so that it is gone now. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From adamnt42 at ...626... Sat Aug 15 22:40:15 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 16 Aug 2015 06:10:15 +0930 Subject: [Gambas-user] These new color constants ... In-Reply-To: References: <20150814112832.5e5c87b9e45345a4916bcff8@...626...> <20150815114628.14c38abef4fb4e5f2bc96e4d@...626...> Message-ID: <20150816061015.7deee21fb1521d7db997843d@...626...> On Sat, 15 Aug 2015 18:14:59 +0200 "Adrien Prokopowicz" wrote: > Le Sat, 15 Aug 2015 04:16:28 +0200, adamnt42 at ...626... > a ?crit: > > > Hi Adrien, > > > > Thanks for lookin\g at this. Your response solves problem #2 in that I > > now know what causes it and it is a local issue - I am using a modified > > version of gbx3 and that is definitely why the Read/Write property > > change fouls up. Sorry for the noise. > > > > On the other hand - re problem 1 (no Color class override) : could you > > clarify that you dont get that black fill rendering when using a Color > > constant in the IDE. I don't believe that is related to the above but > > feel it may be local due to QT4 installed here, or themes, or > > something... > > > > tia > > bruce > > > > With or without a Color class override, the background/forground properties > are rendered correctly when using a Color constant in the IDE. > > I've tried both Qt4 and Qt5, and still no problem. > > If you think the problem is local, can you provide some more info about the > Qt and theme versions you are using ? > > -- > Adrien Prokopowicz > Hi Adrien, I found my problem. It is local. I was getting a checksum error when updating from the svn repo and that was preventing two of the IDE files from being updated. I have no idea why that had occurred but I have now cleaned up my local source and everything works properly again. thanks again Bruce -- B Bruen From Karl.Reinl at ...2345... Sat Aug 15 22:58:16 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 15 Aug 2015 22:58:16 +0200 Subject: [Gambas-user] Revision: 7223 problems Message-ID: <1439672296.3590.13.camel@...40...> Salut Adrien, here I am again, after your improvements, the transformation fails and my project crash. Can you please have a look what is wrong now ? Thanks anyway -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XML-testing-0.0.2.tar.gz Type: application/x-compressed-tar Size: 5680 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sat Aug 15 23:33:09 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Aug 2015 23:33:09 +0200 Subject: [Gambas-user] Revision: 7223 problems In-Reply-To: <1439672296.3590.13.camel@...40...> References: <1439672296.3590.13.camel@...40...> Message-ID: Le Sat, 15 Aug 2015 22:58:16 +0200, Charlie Reinl a ?crit: > Salut Adrien, > > here I am again, after your improvements, the transformation fails and > my project crash. Can you please have a look what is wrong now ? > > Thanks anyway This should be fixed in revision #7226, sorry ! -- Adrien Prokopowicz From Karl.Reinl at ...2345... Sat Aug 15 23:54:39 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 15 Aug 2015 23:54:39 +0200 Subject: [Gambas-user] SOLVED Re: Revision: 7223 problems In-Reply-To: References: <1439672296.3590.13.camel@...40...> Message-ID: <1439675679.3590.15.camel@...40...> Am Samstag, den 15.08.2015, 23:33 +0200 schrieb Adrien Prokopowicz: > Le Sat, 15 Aug 2015 22:58:16 +0200, Charlie Reinl > a ?crit: > > > Salut Adrien, > > > > here I am again, after your improvements, the transformation fails and > > my project crash. Can you please have a look what is wrong now ? > > > > Thanks anyway > > This should be fixed in revision #7226, sorry ! > Thanks, reworks again, #7226 did the job. -- Amicalement Charlie From chrisml at ...3340... Sun Aug 16 12:21:31 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 16 Aug 2015 12:21:31 +0200 Subject: [Gambas-user] Since 3.8 window border definition tilted Message-ID: <55D0642B.6050605@...3340...> Hi, this seems to be a small bug: Since 3.8 the border definition of a window is been resetted when a control is inserted into that window via code after border definition. See attached project. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.8-kills-window-border-definition.tar.gz Type: application/gzip Size: 4251 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From abbat.81 at ...787... Sun Aug 16 16:05:35 2015 From: abbat.81 at ...787... (abbat81) Date: Sun, 16 Aug 2015 07:05:35 -0700 (MST) Subject: [Gambas-user] Path to script ": not found" Message-ID: <1439733935441-52251.post@...3046...> How can it be the path to my script is not found but path is 100% correct. I tried Shell and Exec[] Renaming directory and file does not help. Path in 11.desktop: "Exec=/Games2/11/11.sh" Print "/Games2/11/11.sh" Print Len("/Games2/11/11.sh") Print MyArray[IconView1.Key] Print Len(MyArray[IconView1.Key]) /Games2/11/11.sh 16 /Games2/11/11.sh 17 How can I fix it and WHERE to do it? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Path-to-script-not-found-tp52251.html Sent from the gambas-user mailing list archive at Nabble.com. From adrien.prokopowicz at ...626... Sun Aug 16 17:07:36 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 16 Aug 2015 17:07:36 +0200 Subject: [Gambas-user] Path to script ": not found" In-Reply-To: <1439733935441-52251.post@...3046...> References: <1439733935441-52251.post@...3046...> Message-ID: Le Sun, 16 Aug 2015 16:05:35 +0200, abbat81 a ?crit: > How can it be the path to my script is not found but path is 100% > correct. > I tried Shell and Exec[] > > Renaming directory and file does not help. > > Path in 11.desktop: "Exec=/Games2/11/11.sh" > > > Print "/Games2/11/11.sh" > Print Len("/Games2/11/11.sh") > Print MyArray[IconView1.Key] > Print Len(MyArray[IconView1.Key]) > > > /Games2/11/11.sh > 16 > /Games2/11/11.sh > 17 > > > > How can I fix it and WHERE to do it? > > Thanks > This seems to be a very weird bug. Can you send a project that reproduces it ? Regards, -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Sun Aug 16 21:37:02 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 16 Aug 2015 21:37:02 +0200 Subject: [Gambas-user] Since 3.8 window border definition tilted In-Reply-To: <55D0642B.6050605@...3340...> References: <55D0642B.6050605@...3340...> Message-ID: Le Sun, 16 Aug 2015 12:21:31 +0200, Christof Thalhofer a ?crit: > Hi, > > this seems to be a small bug: > > Since 3.8 the border definition of a window is been resetted when a > control is inserted into that window via code after border definition. > > See attached project. > > Alles Gute > > Christof Thalhofer > That was actually due to a very weird bug in X11 (some kind of race condition between background-setting and window properties). I managed to find a workaround in revision #7227, tell us if it works better for you. -- Adrien Prokopowicz From author.ilmi at ...626... Sun Aug 16 21:33:01 2015 From: author.ilmi at ...626... (Zainuddin A) Date: Sun, 16 Aug 2015 12:33:01 -0700 (MST) Subject: [Gambas-user] Path to script ": not found" In-Reply-To: <1439733935441-52251.post@...3046...> References: <1439733935441-52251.post@...3046...> Message-ID: <1439753581084-52257.post@...3046...> do you mean like this Shell File.Load("/tmp/test.sh") abbat81 wrote > How can it be the path to my script is not found but path is 100% correct. > I tried Shell and Exec[] > > Renaming directory and file does not help. > > Path in 11.desktop: "Exec=/Games2/11/11.sh" > > > Print "/Games2/11/11.sh" > Print Len("/Games2/11/11.sh") > Print MyArray[IconView1.Key] > Print Len(MyArray[IconView1.Key]) > > > /Games2/11/11.sh > 16 > /Games2/11/11.sh > 17 > > > > How can I fix it and WHERE to do it? > > Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Path-to-script-not-found-tp52251p52257.html Sent from the gambas-user mailing list archive at Nabble.com. From chrisml at ...3340... Sun Aug 16 23:14:03 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 16 Aug 2015 23:14:03 +0200 Subject: [Gambas-user] Since 3.8 window border definition tilted In-Reply-To: (sfid-) References: <55D0642B.6050605@...3340...> (sfid-) Message-ID: <55D0FD1B.2050409@...3340...> Hello Adrien, Am 16.08.2015 um 21:37 schrieb Adrien Prokopowicz: > That was actually due to a very weird bug in X11 (some kind of > race condition between background-setting and window properties). > > I managed to find a workaround in revision #7227, tell us if it works > better for you. Thanks! I found a workaround for my code (defining borders after definition of controls), so that it is ok now. I am not compiling Gambas Dev all the time, because I have to develop and work on the stable version, which is deployed in my firm. So I can only report bugs when I am aware of, but not confirm your solution ... sorry. I tried to use a virtual machine for that (compiling Gambas Dev) but it took too much time ... unfortunately I have a lot of other things to do. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From rterry at ...1823... Mon Aug 17 12:13:41 2015 From: rterry at ...1823... (richard terry) Date: Mon, 17 Aug 2015 20:13:41 +1000 Subject: [Gambas-user] Documenting a gambas project. Message-ID: <55D1B3D5.7050607@...1823...> Hi List, I wonder if anyone has good advice/method for documenting the code within a gambas project to make it easy to find stuff. Our medical records project which has been in use for a number of years now is really quite huge. the Postgresql backend currently has 33 schema's with many hundreds of tables, that is not so much of an issue. However when one hasn't worked with the gambas code for a long time, though I've been pretty good about documenting it, I still have to scratch my head sometimes to remember where stuff is This is obviously very bad for maintenance. Any ideas appreciated. What do others do? Regards Richard From mike.crean at ...2897... Mon Aug 17 13:28:42 2015 From: mike.crean at ...2897... (Mike Crean) Date: Mon, 17 Aug 2015 11:28:42 +0000 (UTC) Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: <55D1B3D5.7050607@...1823...> References: <55D1B3D5.7050607@...1823...> Message-ID: <1930949133.5815953.1439810922052.JavaMail.yahoo@...3424...> Hey Richard it comes with the grey hair. RegardsMike On Monday, 17 August 2015, 18:14, richard terry wrote: Hi List, I wonder if anyone has good advice/method for documenting the code within a gambas project to make it easy to find stuff. Our medical records project which has been in use for a number of years now is really quite huge. the Postgresql backend currently has 33 schema's with? many hundreds of tables, that is not so much of an issue. However when one hasn't worked with the gambas code for a long time, though I've been pretty good about documenting it, I still? have to scratch my head sometimes to remember where stuff is This is obviously very bad for maintenance. Any ideas appreciated. What do others do? Regards Richard ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon Aug 17 16:04:49 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 17 Aug 2015 17:04:49 +0300 Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: <55D1B3D5.7050607@...1823...> References: <55D1B3D5.7050607@...1823...> Message-ID: In my huge project I have the source code in multiple folders, which are named by the category of what the code does. Also modules, classes, etc have been named as descriptive as possible. Be careful when fixing things like that after wise, it's easy to left some instance renamed or called from old location (always do global search after the edit). What kind of things you have problems to find? If you wonder what some of your function does, just double click on it (or select the text in any other way) and press F2. Jussi On Mon, Aug 17, 2015 at 1:13 PM, richard terry wrote: > Hi List, > > I wonder if anyone has good advice/method for documenting the code > within a gambas project to make it easy to find stuff. > > Our medical records project which has been in use for a number of years > now is really quite huge. > > the Postgresql backend currently has 33 schema's with many hundreds of > tables, that is not so much of an issue. > > However when one hasn't worked with the gambas code for a long time, > though I've been pretty good about documenting it, I still have to > scratch my head sometimes to remember where stuff is > > This is obviously very bad for maintenance. > > Any ideas appreciated. What do others do? > > Regards > > Richard > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Aug 17 16:26:17 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Aug 2015 16:26:17 +0200 Subject: [Gambas-user] Path to script ": not found" In-Reply-To: <1439753581084-52257.post@...3046...> References: <1439733935441-52251.post@...3046...> <1439753581084-52257.post@...3046...> Message-ID: Le 16 ao?t 2015 22:03, "Zainuddin A" a ?crit : > > do you mean like this > > Shell File.Load("/tmp/test.sh") > abbat81 wrote > > How can it be the path to my script is not found but path is 100% correct. > > I tried Shell and Exec[] > > > > Renaming directory and file does not help. > > > > Path in 11.desktop: "Exec=/Games2/11/11.sh" > > > > > > Print "/Games2/11/11.sh" > > Print Len("/Games2/11/11.sh") > > Print MyArray[IconView1.Key] > > Print Len(MyArray[IconView1.Key]) > > > > > > /Games2/11/11.sh > > 16 > > /Games2/11/11.sh > > 17 > > You have a special hidden letter somewhere. For I =1 to Len(MyArray[IconView1.Key]) Print asc( mid(MyArray[IconView1.Key]),I,1)); Print "|"; Next > > > > > > How can I fix it and WHERE to do it? > > > > Thanks > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Path-to-script-not-found-tp52251p52257.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Mon Aug 17 17:32:22 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Aug 2015 17:32:22 +0200 Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: References: <55D1B3D5.7050607@...1823...> Message-ID: Le 17 ao?t 2015 16:06, "Jussi Lahtinen" a ?crit : > > In my huge project I have the source code in multiple folders, which are > named by the category of what the code does. > Also modules, classes, etc have been named as descriptive as possible. > > Be careful when fixing things like that after wise, it's easy to left some > instance renamed or called from old location (always do global search after > the edit). > > What kind of things you have problems to find? > If you wonder what some of your function does, just double click on it (or > select the text in any other way) and press F2. > > > Jussi > > Hi Jussi You must first to know that the folder concept come from a query from Richard :-) For Richard now ... I need to know what you want... You can now document the sources in markdowns style. You can annotate your sources with some key Like TODO:, NOTE:; and another one. These lines are listed in a task tab. You can set some bookmarks too. So To use internal help do that : For a variable : Private myvar as type ''this is a var for that Or ''This _var_ will change ''- The world ''- Time Private mysupervar as type For a class the help must be before any Var declaration For a function the help us like my second way '' myfunction help ''In two lines Public function myfunction () as type End The help declaration is done with two ' If you project is a component this help us used to fill the wiki. All this stuff exist from a long time... On my query (because my memory sometime have big holes) and with my participation but it still not documented. I will do that soon. From jussi.lahtinen at ...626... Mon Aug 17 19:41:20 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 17 Aug 2015 20:41:20 +0300 Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: References: <55D1B3D5.7050607@...1823...> Message-ID: > > You must first to know that the folder concept come from a query from > Richard :-) > Oh, I learned it long time ago from various source codes written in c. Jussi From gambas.fr at ...626... Mon Aug 17 23:57:09 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Aug 2015 23:57:09 +0200 Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: References: <55D1B3D5.7050607@...1823...> Message-ID: 2015-08-17 19:41 GMT+02:00 Jussi Lahtinen : >> >> You must first to know that the folder concept come from a query from >> Richard :-) >> > > Oh, I learned it long time ago from various source codes written in c. i mean in the Gambas IDE > > Jussi > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From jussi.lahtinen at ...626... Tue Aug 18 00:49:41 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 18 Aug 2015 01:49:41 +0300 Subject: [Gambas-user] Documenting a gambas project. In-Reply-To: References: <55D1B3D5.7050607@...1823...> Message-ID: > > Oh, I learned it long time ago from various source codes written in c. i mean in the Gambas IDE > Yes, I understood that. I just meant I had no idea, because the concept is so old. Jussi From adamnt42 at ...626... Tue Aug 18 06:22:33 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 18 Aug 2015 13:52:33 +0930 Subject: [Gambas-user] I am getting really irritated. Message-ID: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> More changes to how packaging needs project names in a specific format, can't use hyphens in our vendor name, everything gets prefixed with "gambas" anyway. WHY????? I dont need all my project directories named "paddys-hill.something" I know who we are. Yes we have a hyphen in the company name. No I want all our autotools packages named "paddys-hill-something-version.tar.gz" so our installer works. WHY ALL THESE CHANGES? IT ALWAYS WORKED BEFORE. NFH! :-( -- B Bruen From jussi.lahtinen at ...626... Tue Aug 18 15:56:48 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 18 Aug 2015 16:56:48 +0300 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> Message-ID: I tested packaging with revision 7222. In vendor name "-" is translated as "_". I have some vague image in my head that this was done to comply with some linux standard. But I don't see *anything *get prefixed with "gambas"?? I dont need all my project directories named "paddys-hill.something" I know > who we are. > I don't understand this. You are free to use any unix name for your directories..? > No I want all our autotools packages named > "paddys-hill-something-version.tar.gz" so our installer works. > I think this is the standard form; "paddys_hill-something-version.tar.gz", but I might be wrong. Jussi From gambas at ...1... Tue Aug 18 21:53:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Aug 2015 21:53:58 +0200 Subject: [Gambas-user] Print preview In-Reply-To: References: Message-ID: <55D38D56.70006@...1...> Le 11/08/2015 05:24, Filippo Casati a ?crit : > how to printer settings remain after viewing the print preview? I want this > because closing the preview automatically printing. Do you have a little project that reproduces the bug? And can you provide information on your system? Regards, -- Beno?t Minisini From olivier.cruilles at ...614... Tue Aug 18 22:49:52 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Tue, 18 Aug 2015 16:49:52 -0400 Subject: [Gambas-user] Bug during Webview Eval() usage Message-ID: Hi Benoit, I have found a bug (Segmentation fault 11) during execution of around 320 Eval() in a short time inside a loop (for each ?) in a Webview. Some time this loop works fine and each Webview1.Eval(cmd) are executed and another time I have this error. I don?t know if it?s important but I run a Linux Mint 17.2 on virtualBox ?machine. I use the latest SVN release 7227 I tried to execute this project as described on Gambas Web Site with gdb but I get the same error text, no more. I tried to compile Gambas SVN manually with only QT5 Webkit => Same error I tried to compile Gambas SVN manually with only QT4 Webkit => Same error Do you need a little project to reproduce the error because in this case I must create it from the main project ? Segmentation Fault 11 FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 308 FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 35 FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline. FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !! FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0 FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 316 FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 37 FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline. FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !! FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0 1 ? 0xb3a300c7 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3WTF11OSAllocator16reserveAndCommitEjNS0_5UsageEbbb+0x137) [0xb3a300c7] 2 ? 0xb3a30120 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18b0120) [0xb3a30120] 3 ? 0xb3a158ba /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18958ba) [0xb3a158ba] 4 ? 0xb3704c62 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1584c62) [0xb3704c62] 5 ? 0xb3705170 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1585170) [0xb3705170] 6 ? 0xb3706429 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1586429) [0xb3706429] 7 ? 0xb3962dd5 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e2dd5) [0xb3962dd5] 8 ? 0xb39698f4 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e98f4) [0xb39698f4] 9 ? 0xb3963fc0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject10putByIndexEPNS_6JSCellEPNS_9ExecStateEjNS_7JSValueEb+0x80) [0xb3963fc0] 10 ?0xb3967e37 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject3putEPNS_6JSCellEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE+0x207) [0xb3967e37] 11 ?0xb3774cde /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x15f4cde) [0xb3774cde] 12 ?0xb3846dd0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16c6dd0) [0xb3846dd0] 13 ?0xb38525d2 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16d25d2) [0xb38525d2] 14 ?0x97476e41 [0x97476e41] 15 ?0xb37eed84 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x166ed84) [0xb37eed84] 16 ?0x2 [0x2] 17 ?0xfffffffb [0xfffffffb] [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.16.0-37-generic Architecture=x86 Distribution=Linux Mint 17.1 Rebecca Desktop=MATE Theme=Gtk Language=fr_CA.UTF-8 Memory=4052M [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.28.0.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9aRBjxeCeo,guid=091e6b223ee678201b2ed1aa55af8da3 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-hfiYfY GNOME_KEYRING_PID=2689 GPG_AGENT_INFO=/tmp/keyring-GnQRJQ/gpg:0:1 GTK_IM_MODULE=ibus HOME=/home/ocruilles LANG=fr_CA.UTF-8 LOGNAME=ocruilles MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-GnQRJQ MDMSESSION=mate MDM_LANG=fr_CA.UTF-8 MDM_XSERVER_LOCATION=local PATH=/home/ocruilles/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ocruilles QT4_IM_MODULE=xim QT_IM_MODULE=ibus SESSION_MANAGER=local/ocruilles-linux:@/tmp/.ICE-unix/2701,unix/ocruilles-linux:/tmp/.ICE-unix/2701 SHELL=/bin/bash SSH_AGENT_PID=2790 SSH_AUTH_SOCK=/tmp/keyring-GnQRJQ/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER=ocruilles USERNAME=ocruilles WINDOWPATH=8 XAUTHORITY=/home/ocruilles/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=7799fc85266d4f0d61afdf215179697f-1437568418.756716-2090956438 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@...3498...=ibus Thank you Cordialement, ?? Olivier Cruilles Email: olivier.cruilles at ...614... From gambas at ...1... Tue Aug 18 23:04:12 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 18 Aug 2015 23:04:12 +0200 Subject: [Gambas-user] Bug during Webview Eval() usage In-Reply-To: References: Message-ID: <55D39DCC.40001@...1...> Le 18/08/2015 22:49, Yahoo a ?crit : > Hi Benoit, > > I have found a bug (Segmentation fault 11) during execution of around > 320 Eval() in a short time inside a loop (for each ?) in a Webview. > > Some time this loop works fine and each Webview1.Eval(cmd) are > executed and another time I have this error. > > I don?t know if it?s important but I run a Linux Mint 17.2 on > virtualBox machine. I use the latest SVN release 7227 I tried to > execute this project as described on Gambas Web Site with gdb but I > get the same error text, no more. > > I tried to compile Gambas SVN manually with only QT5 Webkit => Same > error I tried to compile Gambas SVN manually with only QT4 Webkit => > Same error > > Do you need a little project to reproduce the error because in this > case I must create it from the main project ? Yes, it allows me to reproduce the bug. I can't do anything against bugs inside Qt, which is the case apparently according to your backtrace. But send me the project anyway. Regards, -- Beno?t Minisini From adamnt42 at ...626... Tue Aug 18 23:41:02 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 19 Aug 2015 07:11:02 +0930 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> Message-ID: <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> On Tue, 18 Aug 2015 16:56:48 +0300 Jussi Lahtinen wrote: > I tested packaging with revision 7222. In vendor name "-" is translated as > "_". I have some vague image in my head that this was done to comply with > some linux standard. > But I don't see *anything *get prefixed with "gambas"?? > a) there is no such standard. b) it only happens with component projects - see attached pic > > I dont need all my project directories named "paddys-hill.something" I know > > who we are. > > > > I don't understand this. You are free to use any unix name for your > directories..? > Again see the attached. > > > > No I want all our autotools packages named > > "paddys-hill-something-version.tar.gz" so our installer works. > > > > I think this is the standard form; "paddys_hill-something-version.tar.gz", > but I might be wrong. > > > > Jussi > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user :-( bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Make installation package_102.png Type: image/png Size: 91492 bytes Desc: not available URL: From jussi.lahtinen at ...626... Wed Aug 19 00:10:27 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 19 Aug 2015 01:10:27 +0300 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> Message-ID: > a) there is no such standard. > In Debian naming convention "-" seems to be reserved to mark for following version number, but you are right, this is not it. > b) it only happens with component projects - see attached pic > OK, but that makes sense, since it's gambas component. > I don't understand this. You are free to use any unix name for your > > directories..? > > > Again see the attached. > OK, you are right. That seems to be artificial limitation... I don't see why vendor name couldn't be appended there independently of directory (project) name. Only Benoit can say what is the idea, but I can see how it makes unnecessary complications for you. Jussi From tercoide at ...67... Wed Aug 19 02:46:34 2015 From: tercoide at ...67... (martin p cristia) Date: Tue, 18 Aug 2015 21:46:34 -0300 Subject: [Gambas-user] How to pass a structure to a C routine In-Reply-To: References: Message-ID: Hi: I need to pass a structure to a C routine Public Struct punto3d x As Float Y As Float z As Float End Struct and call it like this: dim p1 as new punto3d fXnew = rotate3D(p1) how to declare? Public Extern rotate3D( point3D as ?????) As Float and how to use the structure in C? struct punto3D { double x; double y; double z; }; double rotate3D( punto3D pp) . . . -- Saludos Ing. Martin P Cristia From kevinfishburne at ...1887... Wed Aug 19 08:22:54 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 19 Aug 2015 02:22:54 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics Message-ID: <55D420BE.40105@...1887...> I need to know how to declare, initialize and add elements to a two-dimensional dynamic array. Using trial-and-error for every possible syntax hasn't been too helpful so far. I'd post my code but it's pretty useless and embarrassing and I think the basic question sums it up. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bagonergi at ...626... Wed Aug 19 10:22:05 2015 From: bagonergi at ...626... (Gianluigi) Date: Wed, 19 Aug 2015 10:22:05 +0200 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <55D420BE.40105@...1887...> References: <55D420BE.40105@...1887...> Message-ID: Hello Kevin, I'm on vacation and I'm not sure I understand the question, I am attaching this example in Italian perhaps with Google Translator can help. Regards Gianluigi 2015-08-19 8:22 GMT+02:00 Kevin Fishburne : > I need to know how to declare, initialize and add elements to a > two-dimensional dynamic array. Using trial-and-error for every possible > syntax hasn't been too helpful so far. I'd post my code but it's pretty > useless and embarrassing and I think the basic question sums it up. > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: StudioMatriceBidimensionaleLibera-0.0.2.tar.gz Type: application/x-gzip Size: 6165 bytes Desc: not available URL: From nando_f at ...951... Wed Aug 19 11:39:12 2015 From: nando_f at ...951... (nando) Date: Wed, 19 Aug 2015 05:39:12 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <55D420BE.40105@...1887...> References: <55D420BE.40105@...1887...> Message-ID: <20150819084629.M77912@...951...> Personally, I like to think of a 2D array of integers as a 1D array of objects, with each element an array of integers I've done something like this with complete success: '------------------------------------ Public rec As New Object[100] 'declare rec as an array of objects and create it. ...then... in Sub _new() Dim i As Integer Dim ia As Integer[] 'This declares what ia is, but doesn't create it yet For i = 0 To 99 ia = New Integer[10] 'This creates a new array of integers[0..9] each loop rec[i] = ia 'Each element of rec[] now contains a created Integer[10] array Next '------------------------------------ ...something else... rec[15][3] = 86400 'just like a 2D integer array rec.delete(7) 'will remove rec[7] (the whole integer array at rec[7]) and bumps down whole arrays rec[8]..rec[99] to be rec[7]..rec[98] rec[20].delete(3) 'will remove the rec[20][3] element. (a single integer) 'so, rec[20] is an Integer[] with 9 (not 10) elements: [0]...[8] rec[46] = rec[45] 'The Integer array at rec[46] pointed to is gone. Poof! Vaporized. 'rec[46] doesn't point to it anymore. 'rec[45] and rec[46] point to the same identical integer[] array 'which originally was created as rec[45] 'Then, if you wrote rec.delete(45), the array would not be gone because 'rec[46] still points to it....however, the .delete moves everything 'down one element: rec[46]..[99] is now rec[45]..[98] Swap rec[40], rec[41] 'the whole integer[] arrays 40 and 41 are swapped. 'data is not copied, just the pointer to the arrays are. '------------------------------------ ..something else... Dim s as String[] s = New String[] rec.add(s,92) 'rec[0..91] each are an Integer[10] array 'rec[92] is a String[] array with 0 elements. 'rec[93..100] each are an Integer[10] array rec[92].add("HELLO) 'rec[92] is now a String[] array with 1 element... 'which is: rec[92][0] = "HELLO" '------------------------------------ ..some where else... ' I want an array of 500 Labels in rec[50] Dim L as Label Dim i as Integer Dim o as New Object[500] 'declare AND create a new Object[] array with 500 elements rec[50].add(o) 'rec[50] Integer[] is now rec[51]. Everything bumped up one [] For i = 0 To 499 '...and rec[50] is an Object[500] L = New Label 'create a New Label rec[50][i] = L 'now rec[50][i] points to the new label Next 'Every one of the 500 Labels in rec[50] are created and unique '..and you could display each of them on a Form. '------------------------------------- It can get quite interesting because this works with any objects including GUI Labels, Timers, Strings, Structs, Panels, and so on. (when doing GUI things, you also have to connect them to event handlers too ...I didn't write that here) The most important part is to understand the difference about DECLARING variable names (for the program to compile) (using DIM or Private or Public) and CREATING new variables at run-time. (like ...As NEW Object[500] ...As NEW Label) I'm pretty sure I got the syntax right. -Nando ---------- Original Message ----------- From: Kevin Fishburne To: mailing list for gambas users Sent: Wed, 19 Aug 2015 02:22:54 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics > I need to know how to declare, initialize and add elements to a > two-dimensional dynamic array. Using trial-and-error for every possible > syntax hasn't been too helpful so far. I'd post my code but it's pretty > useless and embarrassing and I think the basic question sums it up. > > -- > 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 ------- End of Original Message ------- From eilert-sprachen at ...221... Wed Aug 19 11:53:41 2015 From: eilert-sprachen at ...221... (Sprachschule Eilert) Date: Wed, 19 Aug 2015 11:53:41 +0200 Subject: [Gambas-user] Offline documentation - how to activate it? Message-ID: <55D45225.7020203@...221...> Just downloaded the offline documentation, but when I switch to Use Offline, nothing is found. Any other step needed? Thanks for any insight... Rolf From jussi.lahtinen at ...626... Wed Aug 19 14:17:37 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 19 Aug 2015 15:17:37 +0300 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <55D420BE.40105@...1887...> References: <55D420BE.40105@...1887...> Message-ID: You can't do it dynamically with normal syntax: Dim iMyArray As Integer[x, y] Instead use declaration like this: Dim iMyArray As Integer[][] But then, you can't access it as the normal way (iMyArray[x, y]) either, but instead: iMyArray[x][y] = something iMyArray[x].Add(something) iMyArray[x][y].Add(something) So, it's really array of arrays. Jussi On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > I need to know how to declare, initialize and add elements to a > two-dimensional dynamic array. Using trial-and-error for every possible > syntax hasn't been too helpful so far. I'd post my code but it's pretty > useless and embarrassing and I think the basic question sums it up. > > -- > 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 vuott at ...325... Wed Aug 19 15:54:18 2015 From: vuott at ...325... (Ru Vuott) Date: Wed, 19 Aug 2015 14:54:18 +0100 Subject: [Gambas-user] R: How to pass a structure to a C routine In-Reply-To: Message-ID: <1439992458.69953.YahooMailBasic@...3268...> Hello Martin, here an example, so you can see in /tmp the C source-code: ************************************************************ Public Struct punto3d x As Float Y As Float z As Float End Struct ' double rotate3D(punto3D * pp) Public Extern rotate3D(point3D As Punto3d) As Float In "/tmp/my_lib" Public Sub Main() Dim p1 As New Punto3d Dim ris As Float CreaSo() With p1 .x = 1.111 .Y = 2.222 .z = 3.333 End With ris = rotate3D(p1) Print ris End Private Procedure CreaSo() ' Creates C source-code and then file .so of our external C shared library Dim s As String s = "struct punto3D {" & "\n double x;" & "\n double y;" & "\n double z;\n};" & "\n\n" & "\ndouble rotate3D(struct punto3D *pp) {" & "\n\n double d;" & "\n d = pp->x + pp->y + pp->z;" & "\n\n return d;\n}" File.Save("/tmp/my_lib.c", s) Shell "gcc -o /tmp/my_lib.so /tmp/my_lib.c -shared" Wait End ********************************************************************************* -------------------------------------------- Mer 19/8/15, martin p cristia ha scritto: Oggetto: [Gambas-user] How to pass a structure to a C routine A: gambas-user at lists.sourceforge.net Data: Mercoled? 19 agosto 2015, 02:46 Hi: I need to pass a structure to a C routine Public Struct punto3d ? ???x As Float ? ???Y As Float ? ???z As Float End Struct and call it like this: dim p1 as new punto3d fXnew = rotate3D(p1) how to declare? Public Extern rotate3D( point3D as ?????) As Float and how to use the structure in C? struct punto3D { ? ???double x; ? ???double y; ? ???double z; }; double rotate3D( punto3D pp) . . . -- Saludos Ing. Martin P Cristia ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Wed Aug 19 19:16:24 2015 From: charlie at ...2793... (Charlie) Date: Wed, 19 Aug 2015 10:16:24 -0700 (MST) Subject: [Gambas-user] Offline documentation - how to activate it? In-Reply-To: <55D45225.7020203@...221...> References: <55D45225.7020203@...221...> Message-ID: <1440004584586-52281.post@...3046...> Go to *Tools > Preferences > Help & Applications* and switch on *Use offline help* -- View this message in context: http://gambas.8142.n7.nabble.com/Offline-documentation-how-to-activate-it-tp52278p52281.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Wed Aug 19 20:09:30 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Aug 2015 18:09:30 +0000 Subject: [Gambas-user] Issue 632 in gambas: Unable to retrive blob data from MySQL In-Reply-To: <0-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version3.8 Version-3.8.0 Comment #1 on issue 632 by benoit.m... at ...626...: Unable to retrive blob data from MySQL https://code.google.com/p/gambas/issues/detail?id=632 (No comment was entered for this change.) -- 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 ...2524... Thu Aug 20 00:34:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Aug 2015 22:34:11 +0000 Subject: [Gambas-user] Issue 632 in gambas: Unable to retrive blob data from MySQL In-Reply-To: <1-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> <0-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-535743569575968698-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 632 by benoit.m... at ...626...: Unable to retrive blob data from MySQL https://code.google.com/p/gambas/issues/detail?id=632 It should be fixed in revision #7229. -- 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... Thu Aug 20 03:14:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Aug 2015 03:14:00 +0200 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> Message-ID: <55D529D8.50704@...1...> Le 18/08/2015 23:41, adamnt42 at ...626... a ?crit : > On Tue, 18 Aug 2015 16:56:48 +0300 > Jussi Lahtinen wrote: > >> I tested packaging with revision 7222. In vendor name "-" is translated as >> "_". I have some vague image in my head that this was done to comply with >> some linux standard. >> But I don't see *anything *get prefixed with "gambas"?? >> > a) there is no such standard. > b) it only happens with component projects - see attached pic >> >> I dont need all my project directories named "paddys-hill.something" I know >>> who we are. >>> >> >> I don't understand this. You are free to use any unix name for your >> directories..? >> > Again see the attached. Sorry for being too restrictive in the project directory name. It's because the project directory name is directly used in the name of specific component directories. This is actually a limitation in the packager that makes no difference between: - The project directory name. - A unique name that identifies the component. I will try to workaround that restriction by making the packager deal with that difference. Anyway, the following restrictions will still apply: - The package name of a component must be "gambas3---". - You can't put hyphens where you want in a package name. I don't remember if it's because of Debian packager, RedHat packager or both. So they will be replaced by underscores. I think I will do the following: instead of displaying an error message, I will check the project name: if it does not start with the vendor name, I will add it internally to forge the unique component name. Regards, -- Beno?t Minisini From tercoide at ...67... Thu Aug 20 03:24:57 2015 From: tercoide at ...67... (martin p cristia) Date: Wed, 19 Aug 2015 22:24:57 -0300 Subject: [Gambas-user] How to pass a structure to a C routine In-Reply-To: References: Message-ID: nevermind, just found out ;) From bagonergi at ...626... Thu Aug 20 11:16:54 2015 From: bagonergi at ...626... (Gianluigi) Date: Thu, 20 Aug 2015 11:16:54 +0200 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: References: <55D420BE.40105@...1887...> Message-ID: I posted an example (array of arrays) that contains at least this error: In routine: Public Sub Button3_Click() The line: If iR = -1 Then iR = $iContoRighe, should be replaced with: If iR = 0 Then iR = $iContoRighe I apologize (I am on vacation :)) Greetings Gianluigi 2015-08-19 10:22 GMT+02:00 Gianluigi : > Hello Kevin, > I'm on vacation and I'm not sure I understand the question, I am attaching > this example in Italian perhaps with Google Translator can help. > > Regards > > Gianluigi > > 2015-08-19 8:22 GMT+02:00 Kevin Fishburne >: > >> I need to know how to declare, initialize and add elements to a >> two-dimensional dynamic array. Using trial-and-error for every possible >> syntax hasn't been too helpful so far. I'd post my code but it's pretty >> useless and embarrassing and I think the basic question sums it up. >> >> -- >> 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 eilert-sprachen at ...221... Thu Aug 20 11:31:36 2015 From: eilert-sprachen at ...221... (Sprachschule Eilert) Date: Thu, 20 Aug 2015 11:31:36 +0200 Subject: [Gambas-user] Offline documentation - how to activate it? In-Reply-To: <1440004584586-52281.post@...3046...> References: <55D45225.7020203@...221...> <1440004584586-52281.post@...3046...> Message-ID: <55D59E78.9010308@...221...> Sure, this is just what I did. But according to the address line above, the help viewer still expects the texts coming from the internet. Any other idea? Am 19.08.2015 19:16, schrieb Charlie: > Go to *Tools > Preferences > Help & Applications* and switch on *Use offline > help* > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Offline-documentation-how-to-activate-it-tp52278p52281.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ivan-kern at ...308... Thu Aug 20 14:38:17 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 20 Aug 2015 14:38:17 +0200 Subject: [Gambas-user] SQLite problem, data has not been read Message-ID: <001201d0db45$1705d930$45118b90$@freenet.de> Hi, Data read from SQLite database is not possible. Result delivers everything possible but not correct data. Is it a bug? I use Gambas3.8 stable. With earlier versions of Gambas I have no problems. This does not work on Ubuntu14.04 LTS and on Xubuntu14.04 LTS as well. Project example I put in as the system information. Regards, Ivan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: System.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DBTest.tar.gz Type: application/octet-stream Size: 6256 bytes Desc: not available URL: From gambas at ...1... Thu Aug 20 15:23:42 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Aug 2015 15:23:42 +0200 Subject: [Gambas-user] SQLite problem, data has not been read In-Reply-To: <001201d0db45$1705d930$45118b90$@freenet.de> References: <001201d0db45$1705d930$45118b90$@freenet.de> Message-ID: <55D5D4DE.5010208@...1...> Le 20/08/2015 14:38, Ivan Kern a ?crit : > > > Hi, > > > > > > Data read from SQLite database is not possible. > Result delivers everything possible but not correct data. > Is it a bug? > > I use Gambas3.8 stable. > > With earlier versions of Gambas I have no problems. > > This does not work on Ubuntu14.04 LTS and on Xubuntu14.04 LTS as well. > > > > Project example I put in as the system information. > > > > Regards, > > > > Ivan > > What's wrong exactly? -- Beno?t Minisini From gambas at ...1... Thu Aug 20 15:24:42 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Aug 2015 15:24:42 +0200 Subject: [Gambas-user] SQLite problem, data has not been read In-Reply-To: <55D5D4DE.5010208@...1...> References: <001201d0db45$1705d930$45118b90$@freenet.de> <55D5D4DE.5010208@...1...> Message-ID: <55D5D51A.1090308@...1...> Le 20/08/2015 15:23, Beno?t Minisini a ?crit : > Le 20/08/2015 14:38, Ivan Kern a ?crit : >> >> >> Hi, >> >> >> >> >> >> Data read from SQLite database is not possible. >> Result delivers everything possible but not correct data. >> Is it a bug? >> >> I use Gambas3.8 stable. >> >> With earlier versions of Gambas I have no problems. >> >> This does not work on Ubuntu14.04 LTS and on Xubuntu14.04 LTS as well. >> >> >> >> Project example I put in as the system information. >> >> >> >> Regards, >> >> >> >> Ivan >> >> > > What's wrong exactly? > Ha ok, I see. -- Beno?t Minisini From gambas at ...1... Thu Aug 20 15:33:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Aug 2015 15:33:29 +0200 Subject: [Gambas-user] SQLite problem, data has not been read In-Reply-To: <55D5D51A.1090308@...1...> References: <001201d0db45$1705d930$45118b90$@freenet.de> <55D5D4DE.5010208@...1...> <55D5D51A.1090308@...1...> Message-ID: <55D5D729.3060900@...1...> >> What's wrong exactly? >> > > Ha ok, I see. > The main reason is that you use "STRING" as SQL datatype, which is an unknown SQL datatype. The bug is that the new SQLite driver does not react intelligently. This will be fixed in the next release, but do use standard SQL datatypes if you don't want problems. Regards, -- Beno?t Minisini From ivan-kern at ...308... Thu Aug 20 15:46:55 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 20 Aug 2015 15:46:55 +0200 Subject: [Gambas-user] SQLite problem, data has not been read In-Reply-To: <55D5D729.3060900@...1...> References: <001201d0db45$1705d930$45118b90$@freenet.de> <55D5D4DE.5010208@...1...> <55D5D51A.1090308@...1...> <55D5D729.3060900@...1...> Message-ID: <002101d0db4e$ad725e30$08571a90$@freenet.de> Thanks, I'll try tomorrow. Regards, Ivan -----Urspr?ngliche Nachricht----- Von: Beno?t Minisini [mailto:gambas at ...1...] Gesendet: Donnerstag, 20. August 2015 15:33 An: mailing list for gambas users Betreff: Re: [Gambas-user] SQLite problem, data has not been read >> What's wrong exactly? >> > > Ha ok, I see. > The main reason is that you use "STRING" as SQL datatype, which is an unknown SQL datatype. The bug is that the new SQLite driver does not react intelligently. This will be fixed in the next release, but do use standard SQL datatypes if you don't want problems. Regards, -- Beno?t Minisini ---------------------------------------------------------------------------- -- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tercoide at ...67... Thu Aug 20 17:10:26 2015 From: tercoide at ...67... (martin p cristia) Date: Thu, 20 Aug 2015 12:10:26 -0300 Subject: [Gambas-user] Array Resize limits In-Reply-To: References: Message-ID: Hi: I need a huge array of Floats, use: longNumber = 400000000 ' 400M * 8bytes = 3.2GB Resize fArray[longNumber] ' this gives no error !!! fArray[1] = 1000 ' this gives Out of Bounds workaround? -- Saludos Ing. Martin P Cristia From taboege at ...626... Thu Aug 20 17:11:01 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 20 Aug 2015 17:11:01 +0200 Subject: [Gambas-user] Array Resize limits In-Reply-To: References: Message-ID: <20150820151101.GA663@...2774...> On Thu, 20 Aug 2015, martin p cristia wrote: > Hi: > > I need a huge array of Floats, use: > > longNumber = 400000000 ' 400M * 8bytes = 3.2GB > > Resize fArray[longNumber] ' this gives no error !!! > > > fArray[1] = 1000 ' this gives Out of Bounds > > workaround? > How does the code really look? It's hard to imagine that the code Resize fArray[longNumber] would not raise an error as, first of all, there is no "Resize" keyword in Gambas. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Thu Aug 20 21:13:47 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Aug 2015 19:13:47 +0000 Subject: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE Message-ID: <0-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-OpenSUSE Arch-X86-64 Desktop-KDE Usability New issue 633 by justlost... at ...626...: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 When I first start the IDE, The page which starts and lists Recent projects,Examples, has the 3.8.0 release number.. etc, does not respond to mouse, scroll bar does not work, but the input box used to filter displayed recent projects will let me select it, and as I type the filter works. I am unable to select any of the other selections in orange area eg Examples, Installed software. etc. But the top "FILE" menu item works and everything else works for programming, layout, etc in IDE OS openSUSE 13.2 Gambas Version 3.8 r7230 [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.16.7-24-desktop Architecture=x86_64 Distribution= Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=12038M [Libraries] DBus=libdbus-1.so.3.8.11 [Environment] ALSA_CONFIG_PATH=/etc/alsa-pulse.conf AUDIODRIVER=pulseaudio BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh } COLORFGBG=15;0 COLORTERM=1 CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dZ5w0yAR6g,guid=7df5ce28be29c9c50e97bc0d55d552eb DESKTOP_SESSION=default DISPLAY=:0 DM_CONTROL=/var/run/xdmctl FROM_HEADER= GB_GUI=gb.qt4 GPG_AGENT_INFO=/tmp/gpg-WeleXX/S.gpg-agent:2857:1 GPG_TTY=not a tty GS_LIB=/home/brian/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/brian/.gtkrc-2.0:/home/brian/.kde4/share/config/gtkrc-2.0 GTK_IM_MODULE=ibus GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/home/brian/.gtkrc:/home/brian/.kde4/share/config/gtkrc G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME=/home/brian HOST=Westwoodsvr HOSTNAME=Westwoodsvr HOSTTYPE=x86_64 INPUTRC=/home/brian/.inputrc JAVA_BINDIR=/usr/lib64/jvm/java/bin JAVA_HOME=/usr/lib64/jvm/java JAVA_ROOT=/usr/lib64/jvm/java JDK_HOME=/usr/lib64/jvm/java JRE_HOME=/usr/lib64/jvm/java/jre KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=4 KONSOLE_DBUS_SERVICE=:1.630 KONSOLE_DBUS_SESSION=/Sessions/1 KONSOLE_DBUS_WINDOW=/Windows/1 KONSOLE_PROFILE_NAME= LANG=en_US.UTF-8 LANGUAGE= LESS=-M -I -R LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME=brian MACHTYPE=x86_64-suse-linux MAIL=/var/spool/mail/brian MANPATH=/usr/local/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OOO_FORCE_DESKTOP=gnome OSTYPE=linux PAGER=less PATH=/home/brian/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin PILOTPORT=usb: PROFILEHOME= PROFILEREAD=true PWD=/home/brian PYTHONSTARTUP=/etc/pythonstart QEMU_AUDIO_DRV=pa QT_IM_MODULE=ibus QT_IM_SWITCHER=imsw-multi QT_NO_GLIB=1 QT_PLUGIN_PATH=/home/brian/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/ QT_SYSTEM_DIR=/usr/share/desktop-data SDK_HOME=/usr/lib64/jvm/java SDL_AUDIODRIVER=pulse SESSION_MANAGER=local/Westwoodsvr:@/tmp/.ICE-unix/2960,unix/Westwoodsvr:/tmp/.ICE-unix/2960 SHELL=/bin/bash SHELL_SESSION_ID=ce24602fe5d640008a2e5f8f7d352aa3 SHLVL=1 SSH_AGENT_PID=2852 SSH_ASKPASS=/usr/lib/ssh/ksshaskpass SSH_AUTH_SOCK=/tmp/ssh-FeyXWMj7A4m6/agent.2851 TERM=xterm TMPDIR=/tmp TZ=:/etc/localtime USER=brian USE_FAM= WINDOWID=140509210 WINDOWMANAGER=/usr/bin/startkde WINDOWPATH=7 XAUTHLOCALHOSTNAME=Westwoodsvr XCURSOR_THEME=Oxygen_White XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=4ed603cd18304c8d9216b69334cdeb3a-1440043755.387510-1790064295 XDG_SESSION_ID=1 XDG_VTNR=7 XDM_MANAGED=method=classic XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XMODIFIERS=@im=ibus XNLSPATH=/usr/share/X11/nls XSESSION_IS_UP=yes _=/usr/lib64/kde4/libexec/start_kdeinit_wrapper -- 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 ...2524... Thu Aug 20 21:21:16 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Aug 2015 19:21:16 +0000 Subject: [Gambas-user] Issue 603 in gambas: Logging class will not load in project In-Reply-To: <3-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Comment #4 on issue 603 by justlost... at ...626...: Logging class will not load in project https://code.google.com/p/gambas/issues/detail?id=603 Closed. Was fixed -- 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 ...9... Thu Aug 20 23:24:13 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 20 Aug 2015 23:24:13 +0200 Subject: [Gambas-user] me also : Issue 633 in gambas: Opening page Mouse does not work in IDE Message-ID: <1440105853.8357.3.camel@...40...> Salut Beno?t, I remarked that problem also since Gambas r7227, it still persists in r7230 Got back to r7226 -- Amicalement Charlie From karl.reinl at ...9... Thu Aug 20 23:26:04 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 20 Aug 2015 23:26:04 +0200 Subject: [Gambas-user] me also : Issue 633 in gambas: Opening page Mouse does not work in IDE Message-ID: <1440105964.8357.5.camel@...40...> Salut Beno?t, I remarked that problem also since Gambas r7227, it still persists in r7230 Got back to r7226 new version with Sys-infos -- Amicalement Charlie [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.2.0-89-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 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-hGrkUhzm2Q,guid=ff04631a7f147f47b2ac3c41000000c7 DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path DESKTOP_SESSION=gnome-shell DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-shell GDM_LANG=de_DE.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/home/charlie/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=8346 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/tmp/keyring-u35DqL GNOME_KEYRING_PID=3154 GPG_AGENT_INFO=/tmp/keyring-u35DqL/gpg:0:1 GTK_MODULES=canberra-gtk-module HOME=/home/charlie LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME=charlie MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD=/home/charlie QT_ACCESSIBILITY=1 QT_NO_GLIB=1 SESSION_MANAGER=local/Scenic.local:@/tmp/.ICE-unix/3171,unix/Scenic.local:/tmp/.ICE-unix/3171 SHELL=/bin/bash SPEECHD_PORT=7560 SSH_AGENT_PID=3315 SSH_AUTH_SOCK=/tmp/keyring-u35DqL/ssh TZ=:/etc/localtime UBUNTU_MENUPROXY=libappmenu.so USER=charlie USERNAME=charlie WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for-charlie-CE80Kj/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1440102290.540847-2129986425 From gambas at ...2524... Thu Aug 20 23:30:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Aug 2015 21:30:50 +0000 Subject: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE In-Reply-To: <0-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Comment #1 on issue 633 by justlost... at ...626...: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 Update after more testing, debuging IDE The form FWelcome, never receives direct mouse events, Nor does the CCoolButtons on the panButton scroll pannel. mouse actions seem to be working on the Fmain panel.. FWelcome does receive Activate events every time I click on the window, but that appears to be all. No events are received for mouse down, enter leave etc. -- 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 ...2524... Fri Aug 21 00:38:59 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Aug 2015 22:38:59 +0000 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon Message-ID: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.8.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 634 by author.i... at ...626...: can't use the tray icon https://code.google.com/p/gambas/issues/detail?id=634 Hi I do not know why I can't use the tray icon, where is in version 3.7 and older everything is fine. creat new project and I did not find a tray icon control in the toolbox (attach pic). and my application can not use the tray icon too (it's crash now, tray icon is one of the main features in my app). I am not use gb.gui.trayicon component, it should be used gb.gui.trayicon component? This is my sys info [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 Qt5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5mmyJIj1Yo,guid=e6fcf73fb2ba9c24ac9f884800000024 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-oNUslO GNOME_KEYRING_PID=1474 HOME=/home/ahmad LANG=en_US.UTF-8 LOGNAME=ahmad MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD=/home/ahmad SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1465 SSH_AUTH_SOCK=/tmp/keyring-oNUslO/ssh TZ=:/etc/localtime USER=ahmad XAUTHORITY=/home/ahmad/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/home/ahmad/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1439658137.245777-794872975 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1435 Thank you. Attachments: tryicon.png 139 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 tercoide at ...67... Fri Aug 21 00:58:38 2015 From: tercoide at ...67... (martin p cristia) Date: Thu, 20 Aug 2015 19:58:38 -0300 Subject: [Gambas-user] Array Resize limits In-Reply-To: References: Message-ID: 'thi is the actual (just what's important) code Public MatRigEst As New Float[] Function calcular() As Integer Dim longo As Long, longo2 As Long ' longo = 18000 * 6 * 64000 ' = -1677934592 !!! 'correct value longo = CLong(18000) * 6 * 64000 ' = 6912000000 MatRigEst.Resize(longo) '--> no error Debug MatRigEst.Max ' ----> -1677934592 !!! 'test For longo2 = 0 To longo MatRigEst[longo2] = 1000 '---> Out of bounds on first element Next End Function From jussi.lahtinen at ...626... Fri Aug 21 01:21:17 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Aug 2015 02:21:17 +0300 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: This is not bug. Next time please ask help from the mailing list. Use gb.gui.trayicon component, it is created to help compatibility issues with different desktops. Jussi On Fri, Aug 21, 2015 at 1:38 AM, wrote: > Status: New > Owner: ---- > Labels: Version-3.8.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 634 by author.i... at ...626...: can't use the tray icon > https://code.google.com/p/gambas/issues/detail?id=634 > > Hi > > I do not know why I can't use the tray icon, where is in version 3.7 and > older everything is fine. > > creat new project and I did not find a tray icon control in the toolbox > (attach pic). > and my application can not use the tray icon too (it's crash now, tray icon > is one of the main features in my app). > > I am not use gb.gui.trayicon component, it should be used gb.gui.trayicon > component? > > This is my sys info > [System] > Gambas=3.8.0 > OperatingSystem=Linux > Kernel=3.2.0-88-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 LTS > Desktop=LXDE > Theme=Gtk > Language=en_US.UTF-8 > Memory=494M > [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 > GStreamer=libgstreamer-1.0.so.0.7.0 > GTK+3=libgtk-3.so.0.400.2 > GTK+=libgtk-x11-2.0.so.0.2400.10 > OpenGL=libGL.so.96.43.23 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > Qt5=libQt5Core.so.5.0.2 > SDL=libSDL-1.2.so.0.11.3 > [Environment] > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5mmyJIj1Yo,guid=e6fcf73fb2ba9c24ac9f884800000024 > DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path > DESKTOP_SESSION=Lubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=Lubuntu > GNOME_KEYRING_CONTROL=/tmp/keyring-oNUslO > GNOME_KEYRING_PID=1474 > HOME=/home/ahmad > LANG=en_US.UTF-8 > LOGNAME=ahmad > MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path > > PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > PWD=/home/ahmad > SAL_USE_VCLPLUGIN=gtk > SHELL=/bin/bash > SSH_AGENT_PID=1465 > SSH_AUTH_SOCK=/tmp/keyring-oNUslO/ssh > TZ=:/etc/localtime > USER=ahmad > XAUTHORITY=/home/ahmad/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg > XDG_CONFIG_HOME=/home/ahmad/.config > XDG_CURRENT_DESKTOP=LXDE > > XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg > XDG_MENU_PREFIX=lxde- > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1439658137.245777-794872975 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > _LXSESSION_PID=1435 > > > Thank you. > > Attachments: > tryicon.png 139 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 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Aug 21 01:22:48 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Aug 2015 23:22:48 +0000 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Comment #1 on issue 634 by jussi.la... at ...626...: can't use the tray icon https://code.google.com/p/gambas/issues/detail?id=634 This is not bug. Next time please ask help from the mailing list. Use gb.gui.trayicon component, it is created to help compatibility issues with different desktops. -- 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... Fri Aug 21 02:01:39 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Aug 2015 02:01:39 +0200 Subject: [Gambas-user] Array Resize limits In-Reply-To: References: Message-ID: <55D66A63.6090503@...1...> Le 21/08/2015 00:58, martin p cristia a ?crit : > 'thi is the actual (just what's important) code > > Public MatRigEst As New Float[] > > Function calcular() As Integer > > > Dim longo As Long, longo2 As Long > > ' longo = 18000 * 6 * 64000 ' = -1677934592 !!! > > 'correct value > longo = CLong(18000) * 6 * 64000 ' = 6912000000 > > MatRigEst.Resize(longo) '--> no error > Debug MatRigEst.Max ' ----> -1677934592 !!! > > > 'test > For longo2 = 0 To longo > > MatRigEst[longo2] = 1000 '---> Out of bounds on first element > > Next > > > End Function > The Resize argument is a 32 bits integer, so the 64 bits integer is truncated, and may lead to a negative 32 bits integer. Alas, there is a bug where Resize does not raise an error if its argument is negative. I will fix that in the next revision. Regards, -- Beno?t Minisini From gambas at ...1... Fri Aug 21 02:40:28 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Aug 2015 02:40:28 +0200 Subject: [Gambas-user] Array Resize limits In-Reply-To: <55D66A63.6090503@...1...> References: <55D66A63.6090503@...1...> Message-ID: <55D6737C.1010406@...1...> Le 21/08/2015 02:01, Beno?t Minisini a ?crit : > Le 21/08/2015 00:58, martin p cristia a ?crit : >> 'thi is the actual (just what's important) code >> >> Public MatRigEst As New Float[] >> >> Function calcular() As Integer >> >> >> Dim longo As Long, longo2 As Long >> >> ' longo = 18000 * 6 * 64000 ' = -1677934592 !!! >> >> 'correct value >> longo = CLong(18000) * 6 * 64000 ' = 6912000000 >> >> MatRigEst.Resize(longo) '--> no error >> Debug MatRigEst.Max ' ----> -1677934592 !!! >> >> >> 'test >> For longo2 = 0 To longo >> >> MatRigEst[longo2] = 1000 '---> Out of bounds on first element >> >> Next >> >> >> End Function >> > > The Resize argument is a 32 bits integer, so the 64 bits integer is > truncated, and may lead to a negative 32 bits integer. Alas, there is a > bug where Resize does not raise an error if its argument is negative. > > I will fix that in the next revision. > > Regards, > Fixed in revision #7231. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Fri Aug 21 06:00:00 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 21 Aug 2015 00:00:00 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: References: <55D420BE.40105@...1887...> Message-ID: <55D6A240.8050503@...1887...> On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > I need to know how to declare, initialize and add elements to a > two-dimensional dynamic array. Using trial-and-error for every possible > syntax hasn't been too helpful so far. I'd post my code but it's pretty > useless and embarrassing and I think the basic question sums it up. On 08/19/2015 08:17 AM, Jussi Lahtinen wrote: > You can't do it dynamically with normal syntax: > Dim iMyArray As Integer[x, y] > > Instead use declaration like this: > Dim iMyArray As Integer[][] > > But then, you can't access it as the normal way (iMyArray[x, y]) either, > but instead: > iMyArray[x][y] = something > > iMyArray[x].Add(something) > iMyArray[x][y].Add(something) > > So, it's really array of arrays. Thanks everyone for the responses. The whole quadruple bracket thing [][] is what was confusing me. It's all good now. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Aug 21 06:39:05 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 21 Aug 2015 00:39:05 -0400 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files Message-ID: <55D6AB69.7090101@...1887...> Okay Beno?t, you can take me off your list of people to kill now that I've finally gotten around to implementing OpenAL. :) The documentation online is pretty spartan, with much of it being outdated, but I still managed to set things up reasonably well to play a sine wave at a specified frequency and I think I've found the function to load a .wav file into an audio buffer in order to play it. The latter doesn't work, however. The "alure" class seems to be similar to "glu" in that it's a high-level "helper" class to make common functions easy, such as loading sound files directly. This line should load the .wav file into the buffer and allow me to play it, but it returns False: Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) Here's the example project if anyone wants to play with it: http://eightvirtues.com/misc/OpenAL_Example.tar.gz This issue is probably unrelated, but on running the program this message displays in the debug window: "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object file: No such file or directory" libdumb is described as "DUMB is a tracker library with support for IT, XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL support it however, the library might need to be added as a dependency during compilation. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From ivan-kern at ...308... Fri Aug 21 08:00:47 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Fri, 21 Aug 2015 08:00:47 +0200 Subject: [Gambas-user] SQLite problem, data has not been read In-Reply-To: <55D5D729.3060900@...1...> References: <001201d0db45$1705d930$45118b90$@freenet.de> <55D5D4DE.5010208@...1...> <55D5D51A.1090308@...1...> <55D5D729.3060900@...1...> Message-ID: <000c01d0dbd6$b9ab9b20$2d02d160$@freenet.de> Thanks, you are right , it works now. Regards, Ivan -----Urspr?ngliche Nachricht----- Von: Beno?t Minisini [mailto:gambas at ...1...] Gesendet: Donnerstag, 20. August 2015 15:33 An: mailing list for gambas users Betreff: Re: [Gambas-user] SQLite problem, data has not been read >> What's wrong exactly? >> > > Ha ok, I see. > The main reason is that you use "STRING" as SQL datatype, which is an unknown SQL datatype. The bug is that the new SQLite driver does not react intelligently. This will be fixed in the next release, but do use standard SQL datatypes if you don't want problems. Regards, -- Beno?t Minisini ---------------------------------------------------------------------------- -- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From kevinfishburne at ...1887... Fri Aug 21 08:52:20 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 21 Aug 2015 02:52:20 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <55D6A240.8050503@...1887...> References: <55D420BE.40105@...1887...> <55D6A240.8050503@...1887...> Message-ID: <55D6CAA4.2080204@...1887...> On 08/21/2015 12:00 AM, Kevin Fishburne wrote: > On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < > kevinfishburne at ...1887...> wrote: > >> I need to know how to declare, initialize and add elements to a >> two-dimensional dynamic array. Using trial-and-error for every possible >> syntax hasn't been too helpful so far. I'd post my code but it's pretty >> useless and embarrassing and I think the basic question sums it up. > On 08/19/2015 08:17 AM, Jussi Lahtinen wrote: >> You can't do it dynamically with normal syntax: >> Dim iMyArray As Integer[x, y] >> >> Instead use declaration like this: >> Dim iMyArray As Integer[][] >> >> But then, you can't access it as the normal way (iMyArray[x, y]) either, >> but instead: >> iMyArray[x][y] = something >> >> iMyArray[x].Add(something) >> iMyArray[x][y].Add(something) >> >> So, it's really array of arrays. > Thanks everyone for the responses. The whole quadruple bracket thing > [][] is what was confusing me. It's all good now. :) > Okay, I was wrong. I still don't know what I'm doing. I need to dynamically add elements to SomeArray[][] and the syntax eludes me. I start with this: Public StageListWall As ObjModel[][] StageListWall = New ObjModel[][] Then madness and stupidity ensues (this is but one example of dozens of combinations I've tried): StageListWall.Add([Null]) StageListWall[0].Add(Null) Obviously that doesn't work, but at this point I'm trying first to avoid syntax errors and second to actually get it working and understand why. To bring context to the situation, in each stage there are x number of wall positions and y number of wall models per position, so assuming I can add elements to StageListWall[][] when loading the wall model display lists I would be able to access/refer to them like this: StageListWall[Position][DisplayList] There are an arbitrary number of positions and display lists per position. I also can't seem to refer to the length of individual arrays, such as by doing: StageListWall[].Length or StageListWall[][].Length The basic logic is that I would be referring to an individual display list using two numbers, position and list index. The display list itself would be the element value. If it were a static array it would look like this: Public StageListWall[1000, 1000] as ObjModel StageListWall[Position, DisplayList].Draw The logic for the static array is dead simple, yet translating this to a dynamic array is just killing me. Obviously I can just implement it as static and "make it work", but I'd like to do it the proper/efficient way if it's possible. Any help is appreciated. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From taboege at ...626... Fri Aug 21 09:19:47 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Aug 2015 09:19:47 +0200 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <55D6CAA4.2080204@...1887...> References: <55D420BE.40105@...1887...> <55D6A240.8050503@...1887...> <55D6CAA4.2080204@...1887...> Message-ID: <20150821071947.GA647@...2774...> On Fri, 21 Aug 2015, Kevin Fishburne wrote: > On 08/21/2015 12:00 AM, Kevin Fishburne wrote: > > On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < > > kevinfishburne at ...1887...> wrote: > > > >> I need to know how to declare, initialize and add elements to a > >> two-dimensional dynamic array. Using trial-and-error for every possible > >> syntax hasn't been too helpful so far. I'd post my code but it's pretty > >> useless and embarrassing and I think the basic question sums it up. > > On 08/19/2015 08:17 AM, Jussi Lahtinen wrote: > >> You can't do it dynamically with normal syntax: > >> Dim iMyArray As Integer[x, y] > >> > >> Instead use declaration like this: > >> Dim iMyArray As Integer[][] > >> > >> But then, you can't access it as the normal way (iMyArray[x, y]) either, > >> but instead: > >> iMyArray[x][y] = something > >> > >> iMyArray[x].Add(something) > >> iMyArray[x][y].Add(something) > >> > >> So, it's really array of arrays. > > Thanks everyone for the responses. The whole quadruple bracket thing > > [][] is what was confusing me. It's all good now. :) > > > > Okay, I was wrong. I still don't know what I'm doing. > > I need to dynamically add elements to SomeArray[][] and the syntax > eludes me. I start with this: > > Public StageListWall As ObjModel[][] > StageListWall = New ObjModel[][] > > Then madness and stupidity ensues (this is but one example of dozens of > combinations I've tried): > > StageListWall.Add([Null]) > StageListWall[0].Add(Null) > > Obviously that doesn't work, but at this point I'm trying first to avoid > syntax errors and second to actually get it working and understand why. > I don't see why this wouldn't work. It does in my attached project. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: array-test-0.0.1.tar.gz Type: application/octet-stream Size: 4029 bytes Desc: not available URL: From gambas at ...2524... Fri Aug 21 09:38:00 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Aug 2015 07:38:00 +0000 Subject: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE In-Reply-To: <1-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> <0-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Comment #2 on issue 633 by justlost... at ...626...: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 after testing some more fmain.dwgWelcome.Ignore set to false makes it work yes i know it means ignore for arrange, but it resoles my issue set to true -- 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 bagonergi at ...626... Fri Aug 21 09:38:32 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 21 Aug 2015 09:38:32 +0200 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: <20150821071947.GA647@...2774...> References: <55D420BE.40105@...1887...> <55D6A240.8050503@...1887...> <55D6CAA4.2080204@...1887...> <20150821071947.GA647@...2774...> Message-ID: Provided that the Sardinia sun has baked my brain (in fact, since my last post, it would seem) example (I think correctly) that I posted, there is what you need and more. Greetings Gianluigi 2015-08-21 9:19 GMT+02:00 Tobias Boege : > On Fri, 21 Aug 2015, Kevin Fishburne wrote: > > On 08/21/2015 12:00 AM, Kevin Fishburne wrote: > > > On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < > > > kevinfishburne at ...1887...> wrote: > > > > > >> I need to know how to declare, initialize and add elements to a > > >> two-dimensional dynamic array. Using trial-and-error for every > possible > > >> syntax hasn't been too helpful so far. I'd post my code but it's > pretty > > >> useless and embarrassing and I think the basic question sums it up. > > > On 08/19/2015 08:17 AM, Jussi Lahtinen wrote: > > >> You can't do it dynamically with normal syntax: > > >> Dim iMyArray As Integer[x, y] > > >> > > >> Instead use declaration like this: > > >> Dim iMyArray As Integer[][] > > >> > > >> But then, you can't access it as the normal way (iMyArray[x, y]) > either, > > >> but instead: > > >> iMyArray[x][y] = something > > >> > > >> iMyArray[x].Add(something) > > >> iMyArray[x][y].Add(something) > > >> > > >> So, it's really array of arrays. > > > Thanks everyone for the responses. The whole quadruple bracket thing > > > [][] is what was confusing me. It's all good now. :) > > > > > > > Okay, I was wrong. I still don't know what I'm doing. > > > > I need to dynamically add elements to SomeArray[][] and the syntax > > eludes me. I start with this: > > > > Public StageListWall As ObjModel[][] > > StageListWall = New ObjModel[][] > > > > Then madness and stupidity ensues (this is but one example of dozens of > > combinations I've tried): > > > > StageListWall.Add([Null]) > > StageListWall[0].Add(Null) > > > > Obviously that doesn't work, but at this point I'm trying first to avoid > > syntax errors and second to actually get it working and understand why. > > > > I don't see why this wouldn't work. It does in my attached project. > > 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 ...2524... Fri Aug 21 09:41:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Aug 2015 07:41:28 +0000 Subject: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE In-Reply-To: <2-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> <0-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5501410908928397809-gambas=googlecode.com@...2524...> Comment #3 on issue 633 by justlost... at ...626...: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 in svn version it is set to true, got cut off -- 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 taboege at ...626... Fri Aug 21 10:04:50 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Aug 2015 10:04:50 +0200 Subject: [Gambas-user] Segfault with certain array sizes Message-ID: <20150821080450.GB647@...2774...> Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), while testing a project for a thread by martin p cristia yesterday, I saw that segfaults could occur when allocating an array of certain size. Use the attached project to create a Float[] of different numbers of elements. Over here, I have these numbers which yield consistent results: - 200: OK, - 210: Segfault, - 300: Out of memory. gdb and valgrind logs are attached. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: alloc-test-0.0.1.tar.gz Type: application/octet-stream Size: 3841 bytes Desc: not available URL: -------------- next part -------------- (gdb) r -- 210 Program received signal SIGSEGV, Segmentation fault. 0x00000000004064e9 in my_malloc (len=18446744071616593936) at ../share/gb_alloc_temp.h:351 351 ../share/gb_alloc_temp.h: No such file or directory. (gdb) bt #0 0x00000000004064e9 in my_malloc (len=18446744071616593936) at ../share/gb_alloc_temp.h:351 #1 0x0000000000406724 in my_realloc (alloc=0x69c0d8, new_len=18446744071616593936) at ../share/gb_alloc_temp.h:477 #2 0x00000000004068e5 in ARRAY_add_data (p_data=0x69c0a8, num=220200960, zero=1 '\001') at ../share/gb_array_temp.h:74 #3 0x000000000044fa28 in Array_new (_object=0x69c088, _param=0x7ffff65d8080) at gbx_c_array.c:482 #4 0x000000000041273d in EXEC_native () at gbx_exec.c:1366 #5 0x00000000004136ed in EXEC_special (special=0, class=0x695198, object=0x69c088, nparam=1, drop=1 '\001') at gbx_exec.c:1674 #6 0x0000000000413d37 in EXEC_special_inheritance (special=0, class=0x695198, object=0x69c088, nparam=0, drop=1 '\001') at gbx_exec.c:1829 #7 0x00000000004145c9 in EXEC_new () at gbx_exec.c:1947 #8 0x000000000045e76b in EXEC_loop () at gbx_exec_loop.c:907 #9 0x00000000004109dd in EXEC_function_loop () at gbx_exec.c:931 #10 0x000000000041062a in EXEC_function_real () at gbx_exec.c:895 #11 0x0000000000413562 in EXEC_public_desc (class=0x69aed8, object=0x0, desc=0x69bad8, nparam=0) at gbx_exec.c:1616 #12 0x000000000044412c in main (argc=2, argv=0x7fffffffe698) at gbx.c:416 -------------- next part -------------- ==21233== Memcheck, a memory error detector ==21233== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==21233== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==21233== Command: gbx3 -- 210 ==21233== Parent PID: 19928 ==21233== ==21233== Invalid read of size 4 ==21233== at 0x4064E9: my_malloc (gb_alloc_temp.h:351) ==21233== by 0x406723: my_realloc (gb_alloc_temp.h:477) ==21233== by 0x4068E4: ARRAY_add_data (gb_array_temp.h:74) ==21233== by 0x44FA27: Array_new (gbx_c_array.c:482) ==21233== by 0x41273C: EXEC_native (gbx_exec.c:1366) ==21233== by 0x4136EC: EXEC_special (gbx_exec.c:1674) ==21233== by 0x413D36: EXEC_special_inheritance (gbx_exec.c:1829) ==21233== by 0x4145C8: EXEC_new (gbx_exec.c:1947) ==21233== by 0x45E76A: EXEC_loop (gbx_exec_loop.c:907) ==21233== by 0x4109DC: EXEC_function_loop (gbx_exec.c:931) ==21233== by 0x410629: EXEC_function_real (gbx_exec.c:895) ==21233== by 0x413561: EXEC_public_desc (gbx_exec.c:1616) ==21233== Address 0xffffffffe13898a4 is not stack'd, malloc'd or (recently) free'd ==21233== ==21233== ==21233== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==21233== Access not within mapped region at address 0xFFFFFFFFE13898A4 ==21233== at 0x4064E9: my_malloc (gb_alloc_temp.h:351) ==21233== by 0x406723: my_realloc (gb_alloc_temp.h:477) ==21233== by 0x4068E4: ARRAY_add_data (gb_array_temp.h:74) ==21233== by 0x44FA27: Array_new (gbx_c_array.c:482) ==21233== by 0x41273C: EXEC_native (gbx_exec.c:1366) ==21233== by 0x4136EC: EXEC_special (gbx_exec.c:1674) ==21233== by 0x413D36: EXEC_special_inheritance (gbx_exec.c:1829) ==21233== by 0x4145C8: EXEC_new (gbx_exec.c:1947) ==21233== by 0x45E76A: EXEC_loop (gbx_exec_loop.c:907) ==21233== by 0x4109DC: EXEC_function_loop (gbx_exec.c:931) ==21233== by 0x410629: EXEC_function_real (gbx_exec.c:895) ==21233== by 0x413561: EXEC_public_desc (gbx_exec.c:1616) ==21233== If you believe this happened as a result of a stack ==21233== overflow in your program's main thread (unlikely but ==21233== possible), you can try to increase the size of the ==21233== main thread stack using the --main-stacksize= flag. ==21233== The main thread stack size used in this run was 8388608. ==21233== ==21233== HEAP SUMMARY: ==21233== in use at exit: 41,376 bytes in 244 blocks ==21233== total heap usage: 347 allocs, 103 frees, 57,270 bytes allocated ==21233== ==21233== LEAK SUMMARY: ==21233== definitely lost: 80 bytes in 2 blocks ==21233== indirectly lost: 0 bytes in 0 blocks ==21233== possibly lost: 41,264 bytes in 241 blocks ==21233== still reachable: 32 bytes in 1 blocks ==21233== suppressed: 0 bytes in 0 blocks ==21233== Rerun with --leak-check=full to see details of leaked memory ==21233== ==21233== For counts of detected and suppressed errors, rerun with: -v ==21233== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) From vuott at ...325... Fri Aug 21 10:32:17 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 21 Aug 2015 09:32:17 +0100 Subject: [Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D6AB69.7090101@...1887...> Message-ID: <1440145937.18569.YahooMailBasic@...3274...> Hello Kevin, you did a good work. Well, in your code I replaced 'setting up listener' code with this: ' Set up listener. Al.Listenerfv(Al.POSITION, [0, 0, 0]) Al.Listenerfv(Al.VELOCITY, [0, 0, 0]) Al.Listenerfv(Al.ORIENTATION, [0, 0, -1]) and the wav file plays (but NOT sine wave and wav file together ...I do not know if you want it also). I suggest you insert this: Free(DataPointer) after "Close #Mem" Regards vuott -------------------------------------------- Ven 21/8/15, Kevin Fishburne ha scritto: Oggetto: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files A: gambas-user at lists.sourceforge.net Data: Venerd? 21 agosto 2015, 06:39 Okay Beno?t, you can take me off your list of people to kill now that I've finally gotten around to implementing OpenAL. :) The documentation online is pretty spartan, with much of it being outdated, but I still managed to set things up reasonably well to play a sine wave at a specified frequency and I think I've found the function to load a .wav file into an audio buffer in order to play it. The latter doesn't work, however. The "alure" class seems to be similar to "glu" in that it's a high-level "helper" class to make common functions easy, such as loading sound files directly. This line should load the .wav file into the buffer and allow me to play it, but it returns False: Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) Here's the example project if anyone wants to play with it: http://eightvirtues.com/misc/OpenAL_Example.tar.gz This issue is probably unrelated, but on running the program this message displays in the debug window: "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object file: No such file or directory" libdumb is described as "DUMB is a tracker library with support for IT, XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL support it however, the library might need to be added as a dependency during compilation. -- 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 jussi.lahtinen at ...626... Fri Aug 21 19:15:34 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Aug 2015 20:15:34 +0300 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D6AB69.7090101@...1887...> References: <55D6AB69.7090101@...1887...> Message-ID: Fixed code attached. However, one allocation is not freed... I don't know what it is. Jussi On Fri, Aug 21, 2015 at 7:39 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > Okay Beno?t, you can take me off your list of people to kill now that > I've finally gotten around to implementing OpenAL. :) > > The documentation online is pretty spartan, with much of it being > outdated, but I still managed to set things up reasonably well to play a > sine wave at a specified frequency and I think I've found the function > to load a .wav file into an audio buffer in order to play it. The latter > doesn't work, however. The "alure" class seems to be similar to "glu" in > that it's a high-level "helper" class to make common functions easy, > such as loading sound files directly. > > This line should load the .wav file into the buffer and allow me to play > it, but it returns False: > > Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) > > Here's the example project if anyone wants to play with it: > > http://eightvirtues.com/misc/OpenAL_Example.tar.gz > > This issue is probably unrelated, but on running the program this > message displays in the debug window: > > "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object > file: No such file or directory" > > libdumb is described as "DUMB is a tracker library with support for IT, > XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL > support it however, the library might need to be added as a dependency > during compilation. > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: Source-0.0.3.tar.gz Type: application/x-gzip Size: 5216 bytes Desc: not available URL: From vuott at ...325... Fri Aug 21 19:50:35 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 21 Aug 2015 18:50:35 +0100 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: Message-ID: <1440179435.97099.YahooMailBasic@...3268...> > one allocation is not freed... I don't know what it is. ...because we have to destroy also the audio context: Alc.DestroyContext(AudioContext) Regards vuott -------------------------------------------- Ven 21/8/15, Jussi Lahtinen ha scritto: Oggetto: Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files A: "mailing list for gambas users" Data: Venerd? 21 agosto 2015, 19:15 Fixed code attached. However, one allocation is not freed... I don't know what it is. Jussi On Fri, Aug 21, 2015 at 7:39 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > Okay Beno?t, you can take me off your list of people to kill now that > I've finally gotten around to implementing OpenAL. :) > > The documentation online is pretty spartan, with much of it being > outdated, but I still managed to set things up reasonably well to play a > sine wave at a specified frequency and I think I've found the function > to load a .wav file into an audio buffer in order to play it. The latter > doesn't work, however. The "alure" class seems to be similar to "glu" in > that it's a high-level "helper" class to make common functions easy, > such as loading sound files directly. > > This line should load the .wav file into the buffer and allow me to play > it, but it returns False: > > Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) > > Here's the example project if anyone wants to play with it: > > http://eightvirtues.com/misc/OpenAL_Example.tar.gz > > This issue is probably unrelated, but on running the program this > message displays in the debug window: > > "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object > file: No such file or directory" > > libdumb is described as "DUMB is a tracker library with support for IT, > XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL > support it however, the library might need to be added as a dependency > during compilation. > > -- > 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 > -----Segue allegato----- ------------------------------------------------------------------------------ -----Segue allegato----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Aug 21 20:49:57 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Aug 2015 20:49:57 +0200 Subject: [Gambas-user] Segfault with certain array sizes In-Reply-To: <20150821080450.GB647@...2774...> References: <20150821080450.GB647@...2774...> Message-ID: <55D772D5.5090008@...1...> Le 21/08/2015 10:04, Tobias Boege a ?crit : > Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), > > while testing a project for a thread by martin p cristia yesterday, I saw > that segfaults could occur when allocating an array of certain size. Use the > attached project to create a Float[] of different numbers of elements. Over > here, I have these numbers which yield consistent results: > > - 200: OK, > - 210: Segfault, > - 300: Out of memory. > > gdb and valgrind logs are attached. > > Regards, > Tobi > It should be fixed in revision #7232. Regards, -- Beno?t Minisini From gambas at ...1... Fri Aug 21 20:51:12 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 21 Aug 2015 20:51:12 +0200 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D6AB69.7090101@...1887...> References: <55D6AB69.7090101@...1887...> Message-ID: <55D77320.9000309@...1...> Le 21/08/2015 06:39, Kevin Fishburne a ?crit : > Okay Beno?t, you can take me off your list of people to kill now that > I've finally gotten around to implementing OpenAL. :) > > The documentation online is pretty spartan, with much of it being > outdated, but I still managed to set things up reasonably well to play a > sine wave at a specified frequency and I think I've found the function > to load a .wav file into an audio buffer in order to play it. The latter > doesn't work, however. The "alure" class seems to be similar to "glu" in > that it's a high-level "helper" class to make common functions easy, > such as loading sound files directly. > > This line should load the .wav file into the buffer and allow me to play > it, but it returns False: > > Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) > > Here's the example project if anyone wants to play with it: > > http://eightvirtues.com/misc/OpenAL_Example.tar.gz > > This issue is probably unrelated, but on running the program this > message displays in the debug window: > > "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object > file: No such file or directory" > > libdumb is described as "DUMB is a tracker library with support for IT, > XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL > support it however, the library might need to be added as a dependency > during compilation. > You will be the one who will test gb.openal! Don't hesitate to publich the OpenAL example to the Gambas software repository. Regards, -- Beno?t Minisini From taboege at ...626... Fri Aug 21 20:51:42 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Aug 2015 20:51:42 +0200 Subject: [Gambas-user] Segfault with certain array sizes In-Reply-To: <55D772D5.5090008@...1...> References: <20150821080450.GB647@...2774...> <55D772D5.5090008@...1...> Message-ID: <20150821185142.GC647@...2774...> On Fri, 21 Aug 2015, Beno?t Minisini wrote: > Le 21/08/2015 10:04, Tobias Boege a ?crit : > > Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), > > > > while testing a project for a thread by martin p cristia yesterday, I saw > > that segfaults could occur when allocating an array of certain size. Use the > > attached project to create a Float[] of different numbers of elements. Over > > here, I have these numbers which yield consistent results: > > > > - 200: OK, > > - 210: Segfault, > > - 300: Out of memory. > > > > gdb and valgrind logs are attached. > > > > Regards, > > Tobi > > > > It should be fixed in revision #7232. > Yep. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Fri Aug 21 23:53:18 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Aug 2015 00:53:18 +0300 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <1440179435.97099.YahooMailBasic@...3268...> References: <1440179435.97099.YahooMailBasic@...3268...> Message-ID: > ...because we have to destroy also the audio context: > > Alc.DestroyContext(AudioContext) > That was what I suspected, I just couldn't find the function (!?) to do it, and thus I assumed it is done along with other destroy functions. Jussi From vuott at ...325... Sat Aug 22 02:18:32 2015 From: vuott at ...325... (Ru Vuott) Date: Sat, 22 Aug 2015 01:18:32 +0100 Subject: [Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D6AB69.7090101@...1887...> Message-ID: <1440202712.63399.YahooMailBasic@...3275...> > the function to load a .wav file into an audio buffer in order to play it. > The latter doesn't work, however. The "alure" class seems to be similar > to "glu" in that it's a high-level "helper" class to make common functions easy, > such as loading sound files directly. > > This line should load the .wav file into the buffer We can use no Alure Class to load a .wav file into an audio buffer. We can load directly the "row" audio data of a wav file in 3th parameter of Al.BufferData() method. vuott -------------------------------------------- Ven 21/8/15, Kevin Fishburne ha scritto: Oggetto: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files A: gambas-user at lists.sourceforge.net Data: Venerd? 21 agosto 2015, 06:39 Okay Beno?t, you can take me off your list of people to kill now that I've finally gotten around to implementing OpenAL. :) The documentation online is pretty spartan, with much of it being outdated, but I still managed to set things up reasonably well to play a sine wave at a specified frequency and I think I've found the function to load a .wav file into an audio buffer in order to play it. The latter doesn't work, however. The "alure" class seems to be similar to "glu" in that it's a high-level "helper" class to make common functions easy, such as loading sound files directly. This line should load the .wav file into the buffer and allow me to play it, but it returns False: Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) Here's the example project if anyone wants to play with it: http://eightvirtues.com/misc/OpenAL_Example.tar.gz This issue is probably unrelated, but on running the program this message displays in the debug window: "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object file: No such file or directory" libdumb is described as "DUMB is a tracker library with support for IT, XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL support it however, the library might need to be added as a dependency during compilation. -- 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 karl.reinl at ...9... Sat Aug 22 10:31:05 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Aug 2015 10:31:05 +0200 Subject: [Gambas-user] [CRASH REPORT] GambasTester Message-ID: <1440232265.3708.4.camel@...40...> Salut Beno?t, Salut Jussi , Damned, my program crashed Gambas that way : crash on F5 Program received signal SIGFPE, Arithmetic exception. 0x08073d10 in check_size (size=, inc=0, _object=) at gbx_c_array.c:436 436 size = (size + inc - 1) / inc * inc; (gdb) bt #0 0x08073d10 in check_size (size=, inc=0, _object=) at gbx_c_array.c:436 #1 0x08073e9c in Array_new (_object=0x80bc514, _param=0xb74a8030) at gbx_c_array.c:512 #2 0x08051f48 in EXEC_native () at gbx_exec.c:1366 #3 0x0805264b in EXEC_special (special=0, class=0x80ae2d4, object=, nparam=2, drop=1 '') at gbx_exec.c:1674 #4 0x080529d4 in EXEC_special_inheritance (special=0, class=0x80ae2d4, object=0x80bc514, nparam=0, drop=1 '') at gbx_exec.c:1829 #5 0x08052cd5 in EXEC_new () at gbx_exec.c:1947 #6 0x0807f89d in EXEC_loop () at gbx_exec_loop.c:907 #7 0x080511a7 in EXEC_function_loop () at gbx_exec.c:931 #8 0x0805181a in EXEC_function_real () at gbx_exec.c:895 #9 0x08058618 in CLASS_run_inits (class=0x80b215c) at gbx_class_load.c:1287 #10 0x0804b40c in main ( argc=, argv=0xbffff364) at gbx.c:381 (gdb) ------------------------------------------------------------- [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.2.0-89-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 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-3AryKLVH75,guid=6b1f0e5401f474ae2c3fd0a300000043 DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path DESKTOP_SESSION=gnome-shell DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-shell GDM_LANG=de_DE.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/home/charlie/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=27084 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/tmp/keyring-NShJ6d GNOME_KEYRING_PID=3103 GPG_AGENT_INFO=/tmp/keyring-NShJ6d/gpg:0:1 GTK_MODULES=canberra-gtk-module HOME=/home/charlie LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME=charlie MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD=/home/charlie QT_ACCESSIBILITY=1 QT_NO_GLIB=1 SESSION_MANAGER=local/Scenic.local:@/tmp/.ICE-unix/3120,unix/Scenic.local:/tmp/.ICE-unix/3120 SHELL=/bin/bash SPEECHD_PORT=7560 SSH_AGENT_PID=3264 SSH_AUTH_SOCK=/tmp/keyring-NShJ6d/ssh TZ=:/etc/localtime UBUNTU_MENUPROXY=libappmenu.so USER=charlie USERNAME=charlie WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for-charlie-N1bUQv/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1440229134.66506-1539028834 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.46-crash-150822-102626.tar.bz2 Type: application/x-bzip-compressed-tar Size: 18928 bytes Desc: not available URL: From gambas.fr at ...626... Sat Aug 22 12:43:10 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 22 Aug 2015 12:43:10 +0200 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: References: <55D420BE.40105@...1887...> <55D6A240.8050503@...1887...> <55D6CAA4.2080204@...1887...> <20150821071947.GA647@...2774...> Message-ID: Well you need to understand that you make an array of array of models To fill it : Public StageListWall As New ObjModel[][] StageListWall.Resize(200) 'Instanciate each x Level For i = 1 to StageListWall.Max StageListWall[i] = new objModel[] next 'Adding a Model : hModel = new ObjModel StageListWall[0].Add(hModel) 'To get the Model name if you have a property name : StageListWall[0][0].Name To Delete a model StageListWall[0].Delete(0) To clear All model of x level StageListWall[x].Clear Well i prefer far this kind of array and use it more than the multidimentionnal way. At gambas begin there was only Objects and array of objects... so the Array of array was the only way to get multidimentionnal array. I have not found any qualities to the multidimentional way .. maybe the speed ? Le 21 ao?t 2015 09:39, "Gianluigi" a ?crit : > Provided that the Sardinia sun has baked my brain (in fact, since my last > post, it would seem) example (I think correctly) that I posted, there is > what you need and more. > Greetings > Gianluigi > > 2015-08-21 9:19 GMT+02:00 Tobias Boege : > > > On Fri, 21 Aug 2015, Kevin Fishburne wrote: > > > On 08/21/2015 12:00 AM, Kevin Fishburne wrote: > > > > On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < > > > > kevinfishburne at ...1887...> wrote: > > > > > > > >> I need to know how to declare, initialize and add elements to a > > > >> two-dimensional dynamic array. Using trial-and-error for every > > possible > > > >> syntax hasn't been too helpful so far. I'd post my code but it's > > pretty > > > >> useless and embarrassing and I think the basic question sums it up. > > > > On 08/19/2015 08:17 AM, Jussi Lahtinen wrote: > > > >> You can't do it dynamically with normal syntax: > > > >> Dim iMyArray As Integer[x, y] > > > >> > > > >> Instead use declaration like this: > > > >> Dim iMyArray As Integer[][] > > > >> > > > >> But then, you can't access it as the normal way (iMyArray[x, y]) > > either, > > > >> but instead: > > > >> iMyArray[x][y] = something > > > >> > > > >> iMyArray[x].Add(something) > > > >> iMyArray[x][y].Add(something) > > > >> > > > >> So, it's really array of arrays. > > > > Thanks everyone for the responses. The whole quadruple bracket thing > > > > [][] is what was confusing me. It's all good now. :) > > > > > > > > > > Okay, I was wrong. I still don't know what I'm doing. > > > > > > I need to dynamically add elements to SomeArray[][] and the syntax > > > eludes me. I start with this: > > > > > > Public StageListWall As ObjModel[][] > > > StageListWall = New ObjModel[][] > > > > > > Then madness and stupidity ensues (this is but one example of dozens of > > > combinations I've tried): > > > > > > StageListWall.Add([Null]) > > > StageListWall[0].Add(Null) > > > > > > Obviously that doesn't work, but at this point I'm trying first to > avoid > > > syntax errors and second to actually get it working and understand why. > > > > > > > I don't see why this wouldn't work. It does in my attached project. > > > > 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 > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 22 13:04:39 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Aug 2015 13:04:39 +0200 Subject: [Gambas-user] [CRASH REPORT] GambasTester In-Reply-To: <1440232265.3708.4.camel@...40...> References: <1440232265.3708.4.camel@...40...> Message-ID: <55D85747.5030401@...1...> Le 22/08/2015 10:31, Karl Reinl a ?crit : > Salut Beno?t, Salut Jussi , > > Damned, my program crashed Gambas that way : > > crash on F5 > > Program received signal SIGFPE, Arithmetic exception. > 0x08073d10 in check_size (size=, inc=0, _object=) > at gbx_c_array.c:436 > 436 size = (size + inc - 1) / inc * inc; > (gdb) bt > #0 0x08073d10 in check_size (size=, inc=0, > _object=) at gbx_c_array.c:436 > #1 0x08073e9c in Array_new (_object=0x80bc514, _param=0xb74a8030) > at gbx_c_array.c:512 > #2 0x08051f48 in EXEC_native () at gbx_exec.c:1366 > #3 0x0805264b in EXEC_special (special=0, class=0x80ae2d4, > object=, nparam=2, drop=1 '') at gbx_exec.c:1674 > #4 0x080529d4 in EXEC_special_inheritance (special=0, class=0x80ae2d4, > object=0x80bc514, nparam=0, drop=1 '') at gbx_exec.c:1829 > #5 0x08052cd5 in EXEC_new () at gbx_exec.c:1947 > #6 0x0807f89d in EXEC_loop () at gbx_exec_loop.c:907 > #7 0x080511a7 in EXEC_function_loop () at gbx_exec.c:931 > #8 0x0805181a in EXEC_function_real () at gbx_exec.c:895 > #9 0x08058618 in CLASS_run_inits (class=0x80b215c) at gbx_class_load.c:1287 > #10 0x0804b40c in main ( > argc=, argv=0xbffff364) at gbx.c:381 > (gdb) > Fixed in revision #7233. Regards, -- Beno?t Minisini From karl.reinl at ...9... Sat Aug 22 15:29:44 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Aug 2015 15:29:44 +0200 Subject: [Gambas-user] SOLVED Re: [CRASH REPORT] GambasTester In-Reply-To: <55D85747.5030401@...1...> References: <1440232265.3708.4.camel@...40...> <55D85747.5030401@...1...> Message-ID: <1440250184.3599.1.camel@...40...> Am Samstag, den 22.08.2015, 13:04 +0200 schrieb Beno?t Minisini: > Le 22/08/2015 10:31, Karl Reinl a ?crit : > > Salut Beno?t, Salut Jussi , > > > > Damned, my program crashed Gambas that way : > > > > crash on F5 > > > > Program received signal SIGFPE, Arithmetic exception. > > 0x08073d10 in check_size (size=, inc=0, _object=) > > at gbx_c_array.c:436 > > 436 size = (size + inc - 1) / inc * inc; > > (gdb) bt > > #0 0x08073d10 in check_size (size=, inc=0, > > _object=) at gbx_c_array.c:436 > > #1 0x08073e9c in Array_new (_object=0x80bc514, _param=0xb74a8030) > > at gbx_c_array.c:512 > > #2 0x08051f48 in EXEC_native () at gbx_exec.c:1366 > > #3 0x0805264b in EXEC_special (special=0, class=0x80ae2d4, > > object=, nparam=2, drop=1 '') at gbx_exec.c:1674 > > #4 0x080529d4 in EXEC_special_inheritance (special=0, class=0x80ae2d4, > > object=0x80bc514, nparam=0, drop=1 '') at gbx_exec.c:1829 > > #5 0x08052cd5 in EXEC_new () at gbx_exec.c:1947 > > #6 0x0807f89d in EXEC_loop () at gbx_exec_loop.c:907 > > #7 0x080511a7 in EXEC_function_loop () at gbx_exec.c:931 > > #8 0x0805181a in EXEC_function_real () at gbx_exec.c:895 > > #9 0x08058618 in CLASS_run_inits (class=0x80b215c) at gbx_class_load.c:1287 > > #10 0x0804b40c in main ( > > argc=, argv=0xbffff364) at gbx.c:381 > > (gdb) > > > > Fixed in revision #7233. > > Regards, > Solved, reworks again now. -- Amicalement Charlie From mmcg29440 at ...3163... Sat Aug 22 16:49:44 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 22 Aug 2015 10:49:44 -0400 Subject: [Gambas-user] Help with DatGridView programing Message-ID: Hello, I have a form containing a datasource and a datagridview control. Its purpose is to display data and allow for edits and deletions on specific rows in the datagridview. I can fill the datagridview with data. No problem there. I select the row to be edited using the doubleclick event. I want to edit a column on a given row then programmatically set an existing column (Last_Update) to a date as the edit is saved. Also I want to delete a specific row selected by the user. I think I should be able to do this by making my changes to the DataGridView first and then saving the datasource if the user accepts the changes. I'm looking for the proper way to do this. Which one should I be working with? So if you could list the proper sequence of steps I think I can write the code. If your solution includes the data event however, the use of that event still eludes me. So maybe an example here would help. Regards, Marty From kevinfishburne at ...1887... Sat Aug 22 16:56:15 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 22 Aug 2015 10:56:15 -0400 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D77320.9000309@...1...> References: <55D6AB69.7090101@...1887...> <55D77320.9000309@...1...> Message-ID: <55D88D8F.9070004@...1887...> On 08/21/2015 02:51 PM, Beno?t Minisini wrote: > Le 21/08/2015 06:39, Kevin Fishburne a ?crit : >> Okay Beno?t, you can take me off your list of people to kill now that >> I've finally gotten around to implementing OpenAL. :) >> > You will be the one who will test gb.openal! > > Don't hesitate to publich the OpenAL example to the Gambas software > repository. > Heh, yes I will. I test; you fix. :) Thanks everyone for the responses and fix to the code. Now that I got the very basics working (can load and play a sound) I'll start working on getting 3D positioning, doppler, etc. working and will put together a nice demo. When it's polished I'll upload it to the farm so others may benefit. Once that's done I'll begin replacing the SDL audio code in Sylph and put a video up on YouTube to show off the new audio capabilities. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From adrien.prokopowicz at ...626... Sat Aug 22 17:15:31 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 17:15:31 +0200 Subject: [Gambas-user] Gambas Website Mockups Message-ID: (Re-sending because attached files were too big for Sourceforge) Hi everyone, As you may know, Beno?t asked at the beginning of the month if some people could think about redesigning the Gambas website. As i have some spare time, I started to play with it for a few days, and here is a first version ! (Sources attached) Of course, the design is not final, and all the text is basically placeholder (except maybe for the menus). It is also not yet responsive. So, as usual, I'd like some feedback to improve it ! :) Regards, -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v1.tar.gz Type: application/x-gzip Size: 318777 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sat Aug 22 17:20:11 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Aug 2015 18:20:11 +0300 Subject: [Gambas-user] SOLVED Re: [CRASH REPORT] GambasTester In-Reply-To: <1440250184.3599.1.camel@...40...> References: <1440232265.3708.4.camel@...40...> <55D85747.5030401@...1...> <1440250184.3599.1.camel@...40...> Message-ID: Also, please load new version of GambasTester (0.9.47). I had forgotten something from debugging in previous version. Jussi On Sat, Aug 22, 2015 at 4:29 PM, Karl Reinl wrote: > Am Samstag, den 22.08.2015, 13:04 +0200 schrieb Beno?t Minisini: > > Le 22/08/2015 10:31, Karl Reinl a ?crit : > > > Salut Beno?t, Salut Jussi , > > > > > > Damned, my program crashed Gambas that way : > > > > > > crash on F5 > > > > > > Program received signal SIGFPE, Arithmetic exception. > > > 0x08073d10 in check_size (size=, inc=0, > _object=) > > > at gbx_c_array.c:436 > > > 436 size = (size + inc - 1) / inc * inc; > > > (gdb) bt > > > #0 0x08073d10 in check_size (size=, inc=0, > > > _object=) at gbx_c_array.c:436 > > > #1 0x08073e9c in Array_new (_object=0x80bc514, _param=0xb74a8030) > > > at gbx_c_array.c:512 > > > #2 0x08051f48 in EXEC_native () at gbx_exec.c:1366 > > > #3 0x0805264b in EXEC_special (special=0, class=0x80ae2d4, > > > object=, nparam=2, drop=1 ' ') at gbx_exec.c:1674 > > > #4 0x080529d4 in EXEC_special_inheritance (special=0, class=0x80ae2d4, > > > object=0x80bc514, nparam=0, drop=1 ' ') at gbx_exec.c:1829 > > > #5 0x08052cd5 in EXEC_new () at gbx_exec.c:1947 > > > #6 0x0807f89d in EXEC_loop () at gbx_exec_loop.c:907 > > > #7 0x080511a7 in EXEC_function_loop () at gbx_exec.c:931 > > > #8 0x0805181a in EXEC_function_real () at gbx_exec.c:895 > > > #9 0x08058618 in CLASS_run_inits (class=0x80b215c) at > gbx_class_load.c:1287 > > > #10 0x0804b40c in main ( > > > argc= address 0x0>, argv=0xbffff364) at gbx.c:381 > > > (gdb) > > > > > > > Fixed in revision #7233. > > > > Regards, > > > > Solved, reworks again now. > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Sat Aug 22 17:22:42 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 17:22:42 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Le Sat, 22 Aug 2015 17:15:31 +0200, Adrien Prokopowicz a ?crit: > (Re-sending because attached files were too big for Sourceforge) > > Hi everyone, > > As you may know, Beno?t asked at the beginning of the month if some > people > could think about redesigning the Gambas website. > > As i have some spare time, I started to play with it for a few days, and > here is a first version ! (Sources attached) > > Of course, the design is not final, and all the text is basically > placeholder (except maybe for the menus). It is also not yet responsive. > > So, as usual, I'd like some feedback to improve it ! :) > > Regards, And here is a screenshot if you want a quick look at it. -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v1.png Type: image/png Size: 182396 bytes Desc: not available URL: From gambas at ...1... Sat Aug 22 17:28:03 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Aug 2015 17:28:03 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: <55D89503.3070304@...1...> Le 22/08/2015 17:22, Adrien Prokopowicz a ?crit : > Le Sat, 22 Aug 2015 17:15:31 +0200, Adrien Prokopowicz > a ?crit: > >> (Re-sending because attached files were too big for Sourceforge) >> >> Hi everyone, >> >> As you may know, Beno?t asked at the beginning of the month if some >> people >> could think about redesigning the Gambas website. >> >> As i have some spare time, I started to play with it for a few days, and >> here is a first version ! (Sources attached) >> >> Of course, the design is not final, and all the text is basically >> placeholder (except maybe for the menus). It is also not yet responsive. >> >> So, as usual, I'd like some feedback to improve it ! :) >> >> Regards, > > And here is a screenshot if you want a quick look at it. > Great! It is possible to have a version without one pixel frames and borders? :-) -- Beno?t Minisini From taboege at ...626... Sat Aug 22 17:27:21 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 22 Aug 2015 17:27:21 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: <20150822152721.GD952@...2774...> On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: > (Re-sending because attached files were too big for Sourceforge) > > Hi everyone, > > As you may know, Beno??t asked at the beginning of the month if some people > could think about redesigning the Gambas website. > > As i have some spare time, I started to play with it for a few days, and > here is a first version ! (Sources attached) > > Of course, the design is not final, and all the text is basically > placeholder (except maybe for the menus). It is also not yet responsive. > > So, as usual, I'd like some feedback to improve it ! :) > I'll be sending it to the German Gambas forum and redirect feedback. I personally like how it looks and behaves in a graphical browser. The menus are even at the right place when opening the site in `links'. Let's keep this bit that way. Maybe the "Developers" and "Support Gambas" link sections should also move to the top bar... A link to the source code repository is always good to have in a prominent place. Same goes for the donation and bug tracker links there. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From d4t4full at ...626... Sat Aug 22 17:02:44 2015 From: d4t4full at ...626... (zxMarce) Date: Sat, 22 Aug 2015 08:02:44 -0700 (MST) Subject: [Gambas-user] Repost of "ODBC mod needed" message in devel list. Message-ID: <1440255764361-52335.post@...3046...> Hi Beno?t, I apologize for cross-posting in advance, but I made a post in the devel list and I don?t think anyone saw it, so I am reposting it here. Basically, I altered the Gambas 3.8 *gb.db.odbc* component sources so the *Connection*?s *.Host* property can be used either as a Host (an ODBC DSN, actually) as it originally was intended, or an ODBC connection string (DSN-Less connections, in ODBC parlance). Connecting DSN-Less is what I need to do. So, I patched the component sources to do the job (beware - I am not a C programmer, but I can read, try to understand, copy-paste and edit), but I don?t know how to compile it to test it, or whom to send it so it gets in the mainstream packages if it works. The mods are better explained in the devel post. What I?d need is two things: 1- How to compile and install my modded component (prefereably compile it alone having made a backup of the original binary component), and 2- Whom to send the modded sources for further test and publishing. One more thing I?ll be needing help with is a better check of End-Of-Data. It turns out that MS SQL Servers are lazy as hell and for a SELECT record count they (usually) respond *-1 Records Available*. There IS a way to do it right, yet I think it won?t be as easy as being able to connect with a connection string... Anyway this is for later. TIA, zxMarce. -- View this message in context: http://gambas.8142.n7.nabble.com/Repost-of-ODBC-mod-needed-message-in-devel-list-tp52335.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 22 17:43:42 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 22 Aug 2015 17:43:42 +0200 Subject: [Gambas-user] Repost of "ODBC mod needed" message in devel list. In-Reply-To: <1440255764361-52335.post@...3046...> References: <1440255764361-52335.post@...3046...> Message-ID: <55D898AE.10703@...1...> Le 22/08/2015 17:02, zxMarce a ?crit : > Hi Beno?t, > > I apologize for cross-posting in advance, but I made a post in the devel > list > > and I don?t think anyone saw it, so I am reposting it here. > > Basically, I altered the Gambas 3.8 *gb.db.odbc* component sources so the > *Connection*?s *.Host* property can be used either as a Host (an ODBC DSN, > actually) as it originally was intended, or an ODBC connection string > (DSN-Less connections, in ODBC parlance). Connecting DSN-Less is what I need > to do. > > So, I patched the component sources to do the job (beware - I am not a C > programmer, but I can read, try to understand, copy-paste and edit), but I > don?t know how to compile it to test it, or whom to send it so it gets in > the mainstream packages if it works. The mods are better explained in the > devel post. > > What I?d need is two things: > 1- How to compile and install my modded component (prefereably compile it > alone having made a backup of the original binary component), and > 2- Whom to send the modded sources for further test and publishing. > > One more thing I?ll be needing help with is a better check of End-Of-Data. > It turns out that MS SQL Servers are lazy as hell and for a SELECT record > count they (usually) respond *-1 Records Available*. There IS a way to do it > right, yet I think it won?t be as easy as being able to connect with a > connection string... Anyway this is for later. > > TIA, > zxMarce. > I saw it. I will answer you on the dev mailing-list... -- Beno?t Minisini From d4t4full at ...626... Sat Aug 22 17:47:00 2015 From: d4t4full at ...626... (...) Date: Sat, 22 Aug 2015 12:47:00 -0300 Subject: [Gambas-user] Repost of "ODBC mod needed" message in devel list. In-Reply-To: <55D898AE.10703@...1...> References: <1440255764361-52335.post@...3046...> <55D898AE.10703@...1...> Message-ID: Beno?t, Thanks a lot! Regards. On Aug 22, 2015, 12:45, at 12:45, "Beno?t Minisini" wrote: >Le 22/08/2015 17:02, zxMarce a ?crit : >> Hi Beno?t, >> >> I apologize for cross-posting in advance, but I made a post in the >devel >> list >> > >> and I don?t think anyone saw it, so I am reposting it here. >> >> Basically, I altered the Gambas 3.8 *gb.db.odbc* component sources so >the >> *Connection*?s *.Host* property can be used either as a Host (an ODBC >DSN, >> actually) as it originally was intended, or an ODBC connection string >> (DSN-Less connections, in ODBC parlance). Connecting DSN-Less is what >I need >> to do. >> >> So, I patched the component sources to do the job (beware - I am not >a C >> programmer, but I can read, try to understand, copy-paste and edit), >but I >> don?t know how to compile it to test it, or whom to send it so it >gets in >> the mainstream packages if it works. The mods are better explained in >the >> devel post. >> >> What I?d need is two things: >> 1- How to compile and install my modded component (prefereably >compile it >> alone having made a backup of the original binary component), and >> 2- Whom to send the modded sources for further test and publishing. >> >> One more thing I?ll be needing help with is a better check of >End-Of-Data. >> It turns out that MS SQL Servers are lazy as hell and for a SELECT >record >> count they (usually) respond *-1 Records Available*. There IS a way >to do it >> right, yet I think it won?t be as easy as being able to connect with >a >> connection string... Anyway this is for later. >> >> TIA, >> zxMarce. >> > >I saw it. I will answer you on the dev mailing-list... > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From adrien.prokopowicz at ...626... Sat Aug 22 19:02:24 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 19:02:24 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <55D89503.3070304@...1...> References: <55D89503.3070304@...1...> Message-ID: Le Sat, 22 Aug 2015 17:28:03 +0200, Beno?t Minisini a ?crit: > Le 22/08/2015 17:22, Adrien Prokopowicz a ?crit : >> Le Sat, 22 Aug 2015 17:15:31 +0200, Adrien Prokopowicz >> a ?crit: >> >>> (Re-sending because attached files were too big for Sourceforge) >>> >>> Hi everyone, >>> >>> As you may know, Beno?t asked at the beginning of the month if some >>> people >>> could think about redesigning the Gambas website. >>> >>> As i have some spare time, I started to play with it for a few days, >>> and >>> here is a first version ! (Sources attached) >>> >>> Of course, the design is not final, and all the text is basically >>> placeholder (except maybe for the menus). It is also not yet >>> responsive. >>> >>> So, as usual, I'd like some feedback to improve it ! :) >>> >>> Regards, >> >> And here is a screenshot if you want a quick look at it. >> > > Great! It is possible to have a version without one pixel frames and > borders? :-) > Here is an alternative version. I had to keep the borders between the articles, and add a background, because everything floating around without borders looks really weird. -- Adrien Prokopowicz From moviga at ...3488... Sat Aug 22 19:03:01 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 22 Aug 2015 19:03:01 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: It looks nice! Glad to see that you are using HTML5. Could you also implement mediaqueries to allow for mobile browsing, i.e. responsive layout? Charset should be utf-8, and not utf8. You shoul also include a lang attribute to the html-tag From taboege at ...626... Sat Aug 22 19:18:09 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 22 Aug 2015 19:18:09 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: <55D89503.3070304@...1...> Message-ID: <20150822171809.GE952@...2774...> On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: > > Great! It is possible to have a version without one pixel frames and > > borders? :-) > > > > Here is an alternative version. > Where? :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adrien.prokopowicz at ...626... Sat Aug 22 19:41:02 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 19:41:02 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <20150822171809.GE952@...2774...> References: <55D89503.3070304@...1...> <20150822171809.GE952@...2774...> Message-ID: Le Sat, 22 Aug 2015 19:18:09 +0200, Tobias Boege a ?crit: > On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: >> > Great! It is possible to have a version without one pixel frames and >> > borders? :-) >> > >> >> Here is an alternative version. >> > > Where? :-) > I was actually foreseeing the future, predicting that a screenshot will come to you soon. People saying I forgot to attach the file just don't want to acknowledge my powers. (Anyway, here it is). -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v1-noborder.png Type: image/png Size: 155775 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sat Aug 22 19:42:41 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 19:42:41 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <20150822152721.GD952@...2774...> References: <20150822152721.GD952@...2774...> Message-ID: Le Sat, 22 Aug 2015 17:27:21 +0200, Tobias Boege a ?crit: > > I personally like how it looks and behaves in a graphical browser. The > menus are even at the right place when opening the site in `links'. Let's > keep this bit that way. There are a few semantic problems here and there though (like the articles author/date being before the actual article). But I will fix these. > Maybe the "Developers" and "Support Gambas" link sections should also > move > to the top bar... A link to the source code repository is always good to > have in a prominent place. Same goes for the donation and bug tracker > links > there. The problem is the navbar is pretty much full horizontally, and these items don't fit in any existing category. I don't think making a link to the source code very visible is actually interesting, because most of the users don't care about it. The same thing applies to the bug tracker and the donation link, but to a lesser extent (a big part of the users don't care, but we do !). So I think they could get copied to the presentation paragraph. -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Sat Aug 22 19:47:35 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 22 Aug 2015 19:47:35 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Le Sat, 22 Aug 2015 19:03:01 +0200, Moviga Technologies a ?crit: > > It looks nice! Glad to see that you are using HTML5. Could you also > implement mediaqueries to allow for mobile browsing, i.e. responsive > layout? > > Charset should be utf-8, and not utf8. You shoul also include a lang > attribute to the html-tag References: Message-ID: :) From gambas.fr at ...626... Sat Aug 22 20:21:26 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 22 Aug 2015 20:21:26 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: The logo must be on the nav bar and the color maybe less "flashy", the same colors but more sweet... it hurt a little bit my eyes.... 2015-08-22 19:51 GMT+02:00 Moviga Technologies : > > > :) > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From karl.reinl at ...9... Sat Aug 22 20:32:34 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Aug 2015 20:32:34 +0200 Subject: [Gambas-user] GambasTester small problem Message-ID: <1440268354.3599.8.camel@...40...> Salut Jussi, I get an error here: mTest.DoTests.1064 If Access("~", gb.Write Or gb.Exec) = False Or Access("/", gb.Write Or gb.Exec) = True Then Debug "Are you running this as root!!?" Errors.Add(System.Backtrace[0]) Endif For what ever reason on my box I have write and exec rights on /, so test that against /root would be better. -- Amicalement Charlie From vuott at ...325... Sat Aug 22 00:48:03 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 21 Aug 2015 23:48:03 +0100 Subject: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files In-Reply-To: <55D77320.9000309@...1...> Message-ID: <1440197283.64173.YahooMailBasic@...3273...> I wrote this page: http://www.gambas-it.org/wiki/index.php?title=La_gestione_mediante_il_componente_gb.openal -------------------------------------------- Ven 21/8/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files A: "mailing list for gambas users" Data: Venerd? 21 agosto 2015, 20:51 Le 21/08/2015 06:39, Kevin Fishburne a ?crit : > Okay Beno?t, you can take me off your list of people to kill now that > I've finally gotten around to implementing OpenAL. :) > > The documentation online is pretty spartan, with much of it being > outdated, but I still managed to set things up reasonably well to play a > sine wave at a specified frequency and I think I've found the function > to load a .wav file into an audio buffer in order to play it. The latter > doesn't work, however. The "alure" class seems to be similar to "glu" in > that it's a high-level "helper" class to make common functions easy, > such as loading sound files directly. > > This line should load the .wav file into the buffer and allow me to play > it, but it returns False: > > Print Alure.BufferDataFromFile("./test.wav", AudioBuffer[0]) > > Here's the example project if anyone wants to play with it: > > http://eightvirtues.com/misc/OpenAL_Example.tar.gz > > This issue is probably unrelated, but on running the program this > message displays in the debug window: > > "Error loading libdumb.so.1: libdumb.so.1: cannot open shared object > file: No such file or directory" > > libdumb is described as "DUMB is a tracker library with support for IT, > XM, S3M and MOD files." so I don't think that's an issue here. If OpenAL > support it however, the library might need to be added as a dependency > during compilation. > You will be the one who will test gb.openal! Don't hesitate to publich the OpenAL example to the Gambas software repository. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From moviga at ...3488... Sat Aug 22 22:26:34 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 22 Aug 2015 22:26:34 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Why "must" it be on the navbar? From karl.reinl at ...9... Sat Aug 22 23:10:32 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Aug 2015 23:10:32 +0200 Subject: [Gambas-user] Projects sort on welcome screen Message-ID: <1440277832.3599.14.camel@...40...> Salut Beno?t, IDE r7233 the Projects sort on welcome screen is at start up always 'on date' even if the settings say different 'on path' par example. -- Amicalement Charlie From charlie at ...2793... Sat Aug 22 23:29:33 2015 From: charlie at ...2793... (Charlie) Date: Sat, 22 Aug 2015 14:29:33 -0700 (MST) Subject: [Gambas-user] ColorChoser In-Reply-To: <1438179892154-52129.post@...3046...> References: <1438179892154-52129.post@...3046...> Message-ID: <1440278973333-52350.post@...3046...> For anybody who is interested the answer is here http://whiteislandsoftware.com/forum/index.php?page=topicview&id=g3-general-advanced%2Fcolorchooser -- View this message in context: http://gambas.8142.n7.nabble.com/ColorChoser-tp52129p52350.html Sent from the gambas-user mailing list archive at Nabble.com. From adrien.prokopowicz at ...626... Sun Aug 23 00:15:39 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 23 Aug 2015 00:15:39 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Le Sat, 22 Aug 2015 22:26:34 +0200, Moviga Technologies a ?crit: > Le Sat, 22 Aug 2015 20:21:26 +0200, Fabien Bodard > a ?crit: >> >> The logo must be on the nav bar and the color maybe less "flashy", the >> same colors but more sweet... it hurt a little bit my eyes.... >> > > Why "must" it be on the navbar? I think he meant it should be *over* the navbar, so maybe like this (attached) ? (I also unflashified the orange backgrounds a little bit, although I think it depends on the screen too.) -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v2.png Type: image/png Size: 167563 bytes Desc: not available URL: From moviga at ...3488... Sun Aug 23 01:16:34 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 23 Aug 2015 01:16:34 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: <3c4e627d1d7a34faa25052890d5cd26d@...3488...> Makes more sence :) Now the logo is covering the menu though. What browser are you using? The latest headings and text are not aligned with you. They are however here in Chrome... From author.ilmi at ...626... Sun Aug 23 01:37:24 2015 From: author.ilmi at ...626... (Zainuddin A) Date: Sat, 22 Aug 2015 16:37:24 -0700 (MST) Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: <1440286644292-52353.post@...3046...> thank you very much for your answer, that is make me clear how to use tray icon in 3.8 version. exactly I can't use gb.gui.trayicon too, in a first time I think gb.gui.trayicon is for a specific desktop because it's new in gambas. with gb.gui.trayicon I can see the tray icon control in toolbox but when run the project(just form with try icon control) I get message in Stack backtrace ( pic-1.png for message and components used in project) "Cannot load class 'DBus': Unable to load class file". yesterday I know where the problem is. This is not a problem in gambas but in ppa. in PPA has gambas3.dbus.trayicon package ppa-1.png , it should not be exist, gb.gui.trayicon is like gb.data and other internal lib/components ? and the main problem is nothing gb.dbus.gambas binary file ppa-2.png . Thank you sorry for my english -- View this message in context: http://gambas.8142.n7.nabble.com/Issue-634-in-gambas-can-t-use-the-tray-icon-tp52301p52353.html Sent from the gambas-user mailing list archive at Nabble.com. From author.ilmi at ...626... Sun Aug 23 02:12:30 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 23 Aug 2015 07:12:30 +0700 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: thank you very much for your answer, that is make me clear how to use tray icon in 3.8 version. exactly I can't use gb.gui.trayicon too, in a first time I think gb.gui.trayicon is for a specific desktop because it's new in gambas. with gb.gui.trayicon I can see the tray icon control in toolbox but when run the project(just form with try icon control) I get message in Stack backtrace (pic-1.png for message and components used in project) "Cannot load class 'DBus': Unable to load class file". yesterday I know where the problem is. This is not a problem in gambas but in ppa. in PPA has gambas3.dbus.trayicon package ppa-1.png , it should not be exist, gb.gui.trayicon is like gb.data and other internal lib/components ? and the main problem is nothing gb.dbus.gambas binary file ppa-2.png . Thank you sorry for my english On Fri, Aug 21, 2015 at 6:22 AM, wrote: > > Comment #1 on issue 634 by jussi.la... at ...626...: can't use the tray icon > https://code.google.com/p/gambas/issues/detail?id=634 > > This is not bug. Next time please ask help from the mailing list. > Use gb.gui.trayicon component, it is created to help compatibility issues > with different desktops. > > -- > 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 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Sun Aug 23 02:12:51 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 23 Aug 2015 02:12:51 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <3c4e627d1d7a34faa25052890d5cd26d@...3488...> References: <3c4e627d1d7a34faa25052890d5cd26d@...3488...> Message-ID: Le Sun, 23 Aug 2015 01:16:34 +0200, Moviga Technologies a ?crit: > > Makes more sence :) > > Now the logo is covering the menu though. > > What browser are you using? The latest headings and text are not aligned > with you. They are however here in Chrome... But the logo covering it was the point, right ? (Note that the actual link is not covered, only the background, see the attached screenshot). I am using Firefox 40 as my main browser and Chromium 44 for testing. But I changed the alignment when removing the borders, and I didn't update the archive since, so that may be why we have different results. :) -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: linkover.png Type: image/png Size: 33192 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v2.tar.gz Type: application/x-gzip Size: 318966 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Aug 23 02:57:42 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 03:57:42 +0300 Subject: [Gambas-user] GambasTester small problem In-Reply-To: <1440268354.3599.8.camel@...40...> References: <1440268354.3599.8.camel@...40...> Message-ID: What is your system? Is there any good reason to give users write access to /? Isn't that error on your computer? What these two commands say on your system (replace yourusername with your actual user name): grep yourusername /etc/group ls -ld / Jussi On Sat, Aug 22, 2015 at 9:32 PM, Karl Reinl wrote: > Salut Jussi, > > I get an error here: mTest.DoTests.1064 > > If Access("~", gb.Write Or gb.Exec) = False Or Access("/", gb.Write Or > gb.Exec) = True Then > Debug "Are you running this as root!!?" > Errors.Add(System.Backtrace[0]) > Endif > > > For what ever reason on my box I have write and exec rights on /, so > test that against /root would be better. > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sun Aug 23 03:04:13 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 04:04:13 +0300 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Maybe the orange could be just bit less saturated from the original, instead of darker. Jussi On Sun, Aug 23, 2015 at 1:15 AM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Sat, 22 Aug 2015 22:26:34 +0200, Moviga Technologies > a ?crit: > >> Le Sat, 22 Aug 2015 20:21:26 +0200, Fabien Bodard >> a ?crit: >> >>> >>> The logo must be on the nav bar and the color maybe less "flashy", the >>> same colors but more sweet... it hurt a little bit my eyes.... >>> >>> >> Why "must" it be on the navbar? >> > > I think he meant it should be *over* the navbar, so maybe like this > (attached) ? > > (I also unflashified the orange backgrounds a little bit, although I think > it depends on the screen too.) > > > -- > Adrien Prokopowicz > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From adrien.prokopowicz at ...626... Sun Aug 23 03:27:20 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 23 Aug 2015 03:27:20 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: Le Sun, 23 Aug 2015 03:04:13 +0200, Jussi Lahtinen a ?crit: > Maybe the orange could be just bit less saturated from the original, > instead of darker. > > > Jussi > > On Sun, Aug 23, 2015 at 1:15 AM, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> wrote: > >> >> I think he meant it should be *over* the navbar, so maybe like this >> (attached) ? >> >> (I also unflashified the orange backgrounds a little bit, although I >> think >> it depends on the screen too.) >> The problem with desaturating is that it makes colors quickly become faded, and not looking good behind white text (especially on flat design). See by yourself on the attached screenshot. The only problem with the darker background is that the dark links in the footer don't render well on it, but I can fix that easily. -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v2-faded.png Type: image/png Size: 132665 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Aug 23 04:22:52 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 05:22:52 +0300 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: > The problem with desaturating is that it makes colors quickly become faded, > and not looking good behind white text (especially on flat design). > See by yourself on the attached screenshot. > I think it looks good, but it's just one opinion. Jussi From kevinfishburne at ...1887... Sun Aug 23 04:32:52 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 22 Aug 2015 22:32:52 -0400 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: Message-ID: <55D930D4.5010803@...1887...> On 08/22/2015 10:22 PM, Jussi Lahtinen wrote: >> The problem with desaturating is that it makes colors quickly become faded, >> and not looking good behind white text (especially on flat design). >> See by yourself on the attached screenshot. >> > I think it looks good, but it's just one opinion. Well, there's always this as a reference: https://www.google.com/search?safe=off&hl=en&site=imghp&tbm=isch&source=hp&biw=1280&bih=641&q=miami+marlins+colors&oq=miami+marlins+colors&gs_l=img.3..0l2j0i30j0i8i30j0i24.894.4320.0.4499.20.15.0.4.4.0.193.1007.12j2.14.0....0...1ac.1.64.img..2.18.1033.T8epfPu1fqw#safe=off&hl=en&tbm=isch&q=%22miami+marlins%22+official+colors Striking similarity between the Gambas and Marlins colors, and both have aquatic mascots. Biggest difference is Gambas consistently has a winning record, while the Marlins are consistently under .500. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun Aug 23 06:29:44 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 23 Aug 2015 00:29:44 -0400 Subject: [Gambas-user] OpenAL (gb.openal) example code In-Reply-To: <55D88D8F.9070004@...1887...> References: <55D6AB69.7090101@...1887...> <55D77320.9000309@...1...> <55D88D8F.9070004@...1887...> Message-ID: <55D94C38.3000609@...1887...> On 08/22/2015 10:56 AM, Kevin Fishburne wrote: > Heh, yes I will. I test; you fix. :) Thanks everyone for the responses > and fix to the code. Now that I got the very basics working (can load > and play a sound) I'll start working on getting 3D positioning, > doppler, etc. working and will put together a nice demo. When it's > polished I'll upload it to the farm so others may benefit. Once that's > done I'll begin replacing the SDL audio code in Sylph and put a video > up on YouTube to show off the new audio capabilities. Okay, after searching through tons of shitty old web examples, actually reading the frakking manual from 2001 (not the movie) and some experimentation I've made a little progress. Here's the link to the new project revision: http://eightvirtues.com/misc/OpenAL.tar.gz To a limited degree I can get 3D positional audio and doppler based on velocity working, but only by changing the relevant parameters for the audio source and not the listener. I also have to set this to TRUE, not FALSE: Al.Sourcei(AudioSource[0], Al.SOURCE_RELATIVE, Al.TRUE) Ideally it should be FALSE as the "camera" (listener) moves as well as the audio sources (space ships and such), and having audio source positions calculated relative to the listener position doesn't allow me to use global/scene coordinates for both and would be unnatural for most 3D games. I'm wondering if the line: Al.Listenerfv(Al.ORIENTATION, [0, 0, -1]) may be incorrect, as the Gambas documentation says it should have more parameters but online docs say otherwise. Right now I'm testing this using two-channel stereo. Once that's working I'll test it on a 5.1 system. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun Aug 23 06:43:37 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 23 Aug 2015 00:43:37 -0400 Subject: [Gambas-user] OpenAL (gb.openal) example code In-Reply-To: <55D94C38.3000609@...1887...> References: <55D6AB69.7090101@...1887...> <55D77320.9000309@...1...> <55D88D8F.9070004@...1887...> <55D94C38.3000609@...1887...> Message-ID: <55D94F79.105@...1887...> On 08/23/2015 12:29 AM, Kevin Fishburne wrote: > On 08/22/2015 10:56 AM, Kevin Fishburne wrote: >> Heh, yes I will. I test; you fix. :) Thanks everyone for the responses >> and fix to the code. Now that I got the very basics working (can load >> and play a sound) I'll start working on getting 3D positioning, >> doppler, etc. working and will put together a nice demo. When it's >> polished I'll upload it to the farm so others may benefit. Once that's >> done I'll begin replacing the SDL audio code in Sylph and put a video >> up on YouTube to show off the new audio capabilities. > Okay, after searching through tons of shitty old web examples, actually > reading the frakking manual from 2001 (not the movie) and some > experimentation I've made a little progress. Here's the link to the new > project revision: > > http://eightvirtues.com/misc/OpenAL.tar.gz > > To a limited degree I can get 3D positional audio and doppler based on > velocity working, but only by changing the relevant parameters for the > audio source and not the listener. I also have to set this to TRUE, not > FALSE: > > Al.Sourcei(AudioSource[0], Al.SOURCE_RELATIVE, Al.TRUE) > > Ideally it should be FALSE as the "camera" (listener) moves as well as > the audio sources (space ships and such), and having audio source > positions calculated relative to the listener position doesn't allow me > to use global/scene coordinates for both and would be unnatural for most > 3D games. > > I'm wondering if the line: > > Al.Listenerfv(Al.ORIENTATION, [0, 0, -1]) > > may be incorrect, as the Gambas documentation says it should have more > parameters but online docs say otherwise. > > Right now I'm testing this using two-channel stereo. Once that's working > I'll test it on a 5.1 system. > Okay, I found this code: https://hackage.haskell.org/package/OpenAL-1.4.0.1/docs/src/Sound-OpenAL-AL-Listener.html with perhaps this being the pertinent information in its comments: -- | 'orientation' contains an \"at\" vector and an \"up\" vector, where the -- \"at\" vector represents the \"forward\" direction of the listener and the -- orthogonal projection of the \"up\" vector into the subspace perpendicular to -- the \"at\" vector represents the \"up\" direction for the listener. OpenAL -- expects two vectors that are linearly independent. These vectors are not -- expected to be normalized. If the two vectors are linearly dependent, -- behavior is undefined. The initial orientation is ('Vector3' 0 0 (-1), -- 'Vector3' 0 1 0), i.e. looking down the Z axis with the Y axis pointing -- upwards. I changed the listener orientation vector assignment line to this: Al.Listenerfv(Al.ORIENTATION, [0, 0, -1, 0, 1, 0]) and it seems to work with Al.SOURCE_RELATIVE set to FALSE for both listener and source position changes. Yummy. Let me know if any of this sounds correct and I'll continue testing/experimentation. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Sun Aug 23 13:03:13 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2015 13:03:13 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <55D930D4.5010803@...1887...> References: <55D930D4.5010803@...1887...> Message-ID: Well some opinions again. Maybe you can move a little bit the whole menu bar on the right to not cover the logo border. The article part take all the width ... what about having a farm last improved elements ? I think you must decrease the alpha level on article info elements (date & by) 2015-08-23 4:32 GMT+02:00 Kevin Fishburne : > On 08/22/2015 10:22 PM, Jussi Lahtinen wrote: >>> The problem with desaturating is that it makes colors quickly become faded, >>> and not looking good behind white text (especially on flat design). >>> See by yourself on the attached screenshot. >>> >> I think it looks good, but it's just one opinion. > > Well, there's always this as a reference: > > https://www.google.com/search?safe=off&hl=en&site=imghp&tbm=isch&source=hp&biw=1280&bih=641&q=miami+marlins+colors&oq=miami+marlins+colors&gs_l=img.3..0l2j0i30j0i8i30j0i24.894.4320.0.4499.20.15.0.4.4.0.193.1007.12j2.14.0....0...1ac.1.64.img..2.18.1033.T8epfPu1fqw#safe=off&hl=en&tbm=isch&q=%22miami+marlins%22+official+colors > > Striking similarity between the Gambas and Marlins colors, and both have > aquatic mascots. Biggest difference is Gambas consistently has a winning > record, while the Marlins are consistently under .500. > > -- > 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 gambas at ...1... Sun Aug 23 16:06:10 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Aug 2015 16:06:10 +0200 Subject: [Gambas-user] New bug tracker is beta version! Message-ID: <55D9D352.70403@...1...> Hi, The new bug tracker is now in beta version. Google will toggle the old issue tracker into read-only mode in two days. The old issues are saved on my disk. They are not yet imported into the new bug tracker (I have to write an import program for that), but this is planned. In the meantime, all new bugs will start at number #666 (why not?) so that old issues can keep their own id. Please test it and report! Note: this bugtracker is based on the software I developed in Gambas for the company I'm working for. I asked my boss that the part of the code used by the new bug tracker becomes free software. He agreed, but now I will have to make the split, which may takes some time! Regards, -- Beno?t Minisini From gambas at ...1... Sun Aug 23 16:09:01 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Aug 2015 16:09:01 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9D352.70403@...1...> References: <55D9D352.70403@...1...> Message-ID: <55D9D3FD.7050703@...1...> Le 23/08/2015 16:06, Beno?t Minisini a ?crit : > Hi, > > The new bug tracker is now in beta version. > > Google will toggle the old issue tracker into read-only mode in two days. > > The old issues are saved on my disk. They are not yet imported into the > new bug tracker (I have to write an import program for that), but this > is planned. > > In the meantime, all new bugs will start at number #666 (why not?) so > that old issues can keep their own id. > > Please test it and report! > > Note: this bugtracker is based on the software I developed in Gambas for > the company I'm working for. > > I asked my boss that the part of the code used by the new bug tracker > becomes free software. He agreed, but now I will have to make the split, > which may takes some time! > > Regards, > Subject should be "New bug tracker is in beta version!" and "which may take some time". Sigh... -- Beno?t Minisini From gambas at ...2524... Sun Aug 23 16:13:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Aug 2015 14:13:28 +0000 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #2 on issue 634 by benoit.m... at ...626...: can't use the tray icon https://code.google.com/p/gambas/issues/detail?id=634 (No comment was entered for this change.) -- 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 ...2524... Sun Aug 23 16:14:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Aug 2015 14:14:28 +0000 Subject: [Gambas-user] Issue 634 in gambas: can't use the tray icon In-Reply-To: <2-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> <0-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4099217743388787553-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #3 on issue 634 by benoit.m... at ...626...: can't use the tray icon https://code.google.com/p/gambas/issues/detail?id=634 (No comment was entered for this change.) -- 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 jussi.lahtinen at ...626... Sun Aug 23 16:38:36 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 17:38:36 +0300 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9D352.70403@...1...> References: <55D9D352.70403@...1...> Message-ID: Here is the link to the bug tracker: http://gambaswiki.org/bugtracker Benoit, documentation gives link to the old one. http://gambaswiki.org/wiki/doc/report Jussi On Sun, Aug 23, 2015 at 5:06 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > The new bug tracker is now in beta version. > > Google will toggle the old issue tracker into read-only mode in two days. > > The old issues are saved on my disk. They are not yet imported into the > new bug tracker (I have to write an import program for that), but this > is planned. > > In the meantime, all new bugs will start at number #666 (why not?) so > that old issues can keep their own id. > > Please test it and report! > > Note: this bugtracker is based on the software I developed in Gambas for > the company I'm working for. > > I asked my boss that the part of the code used by the new bug tracker > becomes free software. He agreed, but now I will have to make the split, > which may takes some time! > > 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 Aug 23 16:41:25 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Aug 2015 16:41:25 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9D3FD.7050703@...1...> References: <55D9D352.70403@...1...> <55D9D3FD.7050703@...1...> Message-ID: <55D9DB95.7080605@...1...> Le 23/08/2015 16:09, Beno?t Minisini a ?crit : > Le 23/08/2015 16:06, Beno?t Minisini a ?crit : >> Hi, >> >> The new bug tracker is now in beta version. >> >> Google will toggle the old issue tracker into read-only mode in two days. >> >> The old issues are saved on my disk. They are not yet imported into the >> new bug tracker (I have to write an import program for that), but this >> is planned. >> >> In the meantime, all new bugs will start at number #666 (why not?) so >> that old issues can keep their own id. >> >> Please test it and report! >> >> Note: this bugtracker is based on the software I developed in Gambas for >> the company I'm working for. >> >> I asked my boss that the part of the code used by the new bug tracker >> becomes free software. He agreed, but now I will have to make the split, >> which may takes some time! >> >> Regards, >> > > Subject should be "New bug tracker is in beta version!" > > and "which may take some time". > > Sigh... > Maybe I should introduce a "context" for the bug: - Language - Development environmen - Bugtracker - Wiki - Database ... What do you think? -- Beno?t Minisini From gambas at ...1... Sun Aug 23 16:42:18 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Aug 2015 16:42:18 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: References: <55D9D352.70403@...1...> Message-ID: <55D9DBCA.9030908@...1...> Le 23/08/2015 16:38, Jussi Lahtinen a ?crit : > Here is the link to the bug tracker: > http://gambaswiki.org/bugtracker > > Benoit, documentation gives link to the old one. > http://gambaswiki.org/wiki/doc/report > > > Jussi > Yes, but the bugtracker will be activated in two days only. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Aug 23 16:43:49 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 17:43:49 +0300 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9DB95.7080605@...1...> References: <55D9D352.70403@...1...> <55D9D3FD.7050703@...1...> <55D9DB95.7080605@...1...> Message-ID: > Maybe I should introduce a "context" for the bug: > - Language > - Development environmen > - Bugtracker > - Wiki > - Database > ... > > What do you think? > Something like that is good idea. Now it seems it is only for Gambas and not to the related things like bug tracker itself. Jussi From jussi.lahtinen at ...626... Sun Aug 23 16:44:35 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Aug 2015 17:44:35 +0300 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9DBCA.9030908@...1...> References: <55D9D352.70403@...1...> <55D9DBCA.9030908@...1...> Message-ID: > Yes, but the bugtracker will be activated in two days only. > Ah yes, of course. Jussi From Karl.Reinl at ...2345... Sun Aug 23 17:40:20 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 23 Aug 2015 17:40:20 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9D352.70403@...1...> References: <55D9D352.70403@...1...> Message-ID: <1440344420.4736.2.camel@...40...> Am Sonntag, den 23.08.2015, 16:06 +0200 schrieb Beno?t Minisini: > Hi, > > The new bug tracker is now in beta version. > > Google will toggle the old issue tracker into read-only mode in two days. > > The old issues are saved on my disk. They are not yet imported into the > new bug tracker (I have to write an import program for that), but this > is planned. > > In the meantime, all new bugs will start at number #666 (why not?) so > that old issues can keep their own id. > > Please test it and report! > > Note: this bugtracker is based on the software I developed in Gambas for > the company I'm working for. > > I asked my boss that the part of the code used by the new bug tracker > becomes free software. He agreed, but now I will have to make the split, > which may takes some time! > > Regards, > Salut Beno?t, -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto.png Type: image/png Size: 12108 bytes Desc: not available URL: From jmcbride at ...2309... Sun Aug 23 20:46:33 2015 From: jmcbride at ...2309... (Jerry McBride) Date: Sun, 23 Aug 2015 14:46:33 -0400 Subject: [Gambas-user] Hello In-Reply-To: <55D930D4.5010803@...1887...> References: <55D930D4.5010803@...1887...> Message-ID: <55DA1509.4000607@...2309...> Good Day Gambas-Users, I just wanted to say hello and please accept this from a new user. I briefly touched on Gambas way back in the day and now I'm back for a second, closer look. My interest id writing CGI applications to support a company department. I cant' wait to get this project going. I'm currently dissecting the smallwiki sources to get me started. Wow, it'll be a steep climb for me. Benoit Minisni, Thank You. I'm so glade you developed this on Linux. Jerry From taboege at ...626... Mon Aug 24 16:34:37 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 24 Aug 2015 16:34:37 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <55D9D352.70403@...1...> References: <55D9D352.70403@...1...> Message-ID: <20150824143437.GA656@...2774...> On Sun, 23 Aug 2015, Beno??t Minisini wrote: > Note: this bugtracker is based on the software I developed in Gambas for > the company I'm working for. > > I asked my boss that the part of the code used by the new bug tracker > becomes free software. He agreed, but now I will have to make the split, > which may takes some time! > Does that mean that my bugtracker client (which uses a certain, very limited part of your interface) has a chance to be publishable in the near future? Not that I already finished the project -- but only some ncurses gears are still missing... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Aug 24 16:44:46 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Aug 2015 16:44:46 +0200 Subject: [Gambas-user] New bug tracker is beta version! In-Reply-To: <20150824143437.GA656@...2774...> References: <55D9D352.70403@...1...> <20150824143437.GA656@...2774...> Message-ID: <55DB2DDE.6050107@...1...> Le 24/08/2015 16:34, Tobias Boege a ?crit : > On Sun, 23 Aug 2015, Beno??t Minisini wrote: >> Note: this bugtracker is based on the software I developed in Gambas for >> the company I'm working for. >> >> I asked my boss that the part of the code used by the new bug tracker >> becomes free software. He agreed, but now I will have to make the split, >> which may takes some time! >> > > Does that mean that my bugtracker client (which uses a certain, very limited > part of your interface) has a chance to be publishable in the near future? > Not that I already finished the project -- but only some ncurses gears are > still missing... > > Regards, > Tobi > You can use the HTTP protocol to talk to the bugtracker, even if the bugtracker is not yet free software. Regards, -- Beno?t Minisini From 123 at ...3490... Mon Aug 24 18:51:46 2015 From: 123 at ...3490... (Wolfgang) Date: Mon, 24 Aug 2015 18:51:46 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd Message-ID: <55DB4BA2.1080002@...3490...> Hi all! A while ago I upgraded from 3.6.x to 3.8. Today I tried to modify a project that ran great under 3.6 Now all graphical objects seem no longer to fit. Many things seem to be bigger and I got errors on a socket that ran without any problem. The compiled Program is still running exactly as I planned it. Now I tried a very simple graphical program. No Code! Only a form with a TabStrip, which I changed the background color. Now the TabStrip has NO Background color anymore. What has happened??????? a) in 3.8 many things in the graphical area (seem to) have changed. I can have the old behavior if I do (WHAT?) b) I am the only one, whose older code does not work any more. c) I want "my" old 3.6.x back (the last official release) which worked perfectly here. But how? Can anyone help me here???? Wolfgang From gambas at ...1... Mon Aug 24 19:15:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Aug 2015 19:15:58 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DB4BA2.1080002@...3490...> References: <55DB4BA2.1080002@...3490...> Message-ID: <55DB514E.1070901@...1...> Le 24/08/2015 18:51, Wolfgang a ?crit : > Hi all! > A while ago I upgraded from 3.6.x to 3.8. > > Today I tried to modify a project that ran great under 3.6 > > Now all graphical objects seem no longer to fit. Many things seem to be > bigger and I got errors on a socket that ran without any problem. The > compiled Program is still running exactly as I planned it. > > Now I tried a very simple graphical program. No Code! Only a form with a > TabStrip, which I changed the background color. > Now the TabStrip has NO Background color anymore. > > > What has happened??????? > > a) in 3.8 many things in the graphical area (seem to) have changed. I > can have the old behavior if I do (WHAT?) > > b) I am the only one, whose older code does not work any more. > > c) I want "my" old 3.6.x back (the last official release) which worked > perfectly here. But how? > > Can anyone help me here???? > > Wolfgang > I don't know what you are talking about. Please at least give some details: what is your full system information? How did you upgrade? -- Beno?t Minisini From gambas at ...1... Mon Aug 24 19:36:16 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 19:36:16 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <1440277832.3599.14.camel@...40...> References: <1440277832.3599.14.camel@...40...> Message-ID: <55DB5610.30001@...1...> Le 22/08/2015 23:10, Karl Reinl a ?crit : > Salut Beno?t, > > IDE r7233 the Projects sort on welcome screen is at start up always 'on > date' even if the settings say different 'on path' par example. > > > Thanks for fixing that, but your other changes were badly done: - Copying anonymous is a good idea, I made it mandatory. I.e. the copying is now always anonmymous, and I removed the checkbox, beside fixing other mistakes. - You removed the Ignore flag of FMain.dwgWelcome control. That broke the welcome dialog. I undone the change. Regards, -- Beno?t Minisini From karl.reinl at ...9... Mon Aug 24 20:36:27 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 24 Aug 2015 20:36:27 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB5610.30001@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> Message-ID: <1440441387.3744.6.camel@...40...> Am Montag, den 24.08.2015, 19:36 +0200 schrieb Beno?t Minisini: > Le 22/08/2015 23:10, Karl Reinl a ?crit : > > Salut Beno?t, > > > > IDE r7233 the Projects sort on welcome screen is at start up always 'on > > date' even if the settings say different 'on path' par example. > > > > > > > > Thanks for fixing that, but your other changes were badly done: > > - Copying anonymous is a good idea, I made it mandatory. I.e. the > copying is now always anonmymous, and I removed the checkbox, beside > fixing other mistakes. > > - You removed the Ignore flag of FMain.dwgWelcome control. That broke > the welcome dialog. I undone the change. Salut Beno?t, Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: Opening page Mouse does not work in IDE'. Last well working is r7226. [System] Gambas=3.8.0 r7235 OperatingSystem=Linux Kernel=3.2.0-89-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 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-311OR5GPc1,guid=9599ae0cd611f5ecea6fa48200000038 DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path DESKTOP_SESSION=gnome-shell DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-shell GDM_LANG=de_DE.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7282 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/tmp/keyring-VJPiYe GNOME_KEYRING_PID=3150 GPG_AGENT_INFO=/tmp/keyring-VJPiYe/gpg:0:1 GTK_MODULES=canberra-gtk-module HOME= LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= QT_ACCESSIBILITY=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/3167,unix/:/tmp/.ICE-unix/3167 SHELL=/bin/bash SPEECHD_PORT=7560 SSH_AGENT_PID=3311 SSH_AUTH_SOCK=/tmp/keyring-VJPiYe/ssh TZ=:/etc/localtime UBUNTU_MENUPROXY=libappmenu.so USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--vfChtV/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1440433889.152017-1771617599 -- Amicalement Charlie From gambas at ...1... Mon Aug 24 20:39:07 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 20:39:07 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <1440441387.3744.6.camel@...40...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> Message-ID: <55DB64CB.9060707@...1...> Le 24/08/2015 20:36, Karl Reinl a ?crit : > Am Montag, den 24.08.2015, 19:36 +0200 schrieb Beno?t Minisini: >> Le 22/08/2015 23:10, Karl Reinl a ?crit : >>> Salut Beno?t, >>> >>> IDE r7233 the Projects sort on welcome screen is at start up always 'on >>> date' even if the settings say different 'on path' par example. >>> >>> >>> >> >> Thanks for fixing that, but your other changes were badly done: >> >> - Copying anonymous is a good idea, I made it mandatory. I.e. the >> copying is now always anonmymous, and I removed the checkbox, beside >> fixing other mistakes. >> >> - You removed the Ignore flag of FMain.dwgWelcome control. That broke >> the welcome dialog. I undone the change. > > Salut Beno?t, > > Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > Opening page Mouse does not work in IDE'. Last well working is r7226. > Strange, I have no problem here... -- Beno?t Minisini From gambas at ...1... Mon Aug 24 20:41:11 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 20:41:11 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB64CB.9060707@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> Message-ID: <55DB6547.4020000@...1...> Le 24/08/2015 20:39, Beno?t Minisini a ?crit : > Le 24/08/2015 20:36, Karl Reinl a ?crit : >> Am Montag, den 24.08.2015, 19:36 +0200 schrieb Beno?t Minisini: >>> Le 22/08/2015 23:10, Karl Reinl a ?crit : >>>> Salut Beno?t, >>>> >>>> IDE r7233 the Projects sort on welcome screen is at start up always 'on >>>> date' even if the settings say different 'on path' par example. >>>> >>>> >>>> >>> >>> Thanks for fixing that, but your other changes were badly done: >>> >>> - Copying anonymous is a good idea, I made it mandatory. I.e. the >>> copying is now always anonmymous, and I removed the checkbox, beside >>> fixing other mistakes. >>> >>> - You removed the Ignore flag of FMain.dwgWelcome control. That broke >>> the welcome dialog. I undone the change. >> >> Salut Beno?t, >> >> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: >> Opening page Mouse does not work in IDE'. Last well working is r7226. >> > > Strange, I have no problem here... > Are you absolutely sure that it worked with revision #7226, but not with #7227? -- Beno?t Minisini From Karl.Reinl at ...2345... Mon Aug 24 20:52:12 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 24 Aug 2015 20:52:12 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB64CB.9060707@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> Message-ID: <1440442332.3744.9.camel@...40...> Am Montag, den 24.08.2015, 20:39 +0200 schrieb Beno?t Minisini: > Le 24/08/2015 20:36, Karl Reinl a ?crit : > > Am Montag, den 24.08.2015, 19:36 +0200 schrieb Beno?t Minisini: > >> Le 22/08/2015 23:10, Karl Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> IDE r7233 the Projects sort on welcome screen is at start up always 'on > >>> date' even if the settings say different 'on path' par example. > >>> > >>> > >>> > >> > >> Thanks for fixing that, but your other changes were badly done: > >> > >> - Copying anonymous is a good idea, I made it mandatory. I.e. the > >> copying is now always anonmymous, and I removed the checkbox, beside > >> fixing other mistakes. > >> > >> - You removed the Ignore flag of FMain.dwgWelcome control. That broke > >> the welcome dialog. I undone the change. > > > > Salut Beno?t, > > > > Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > > Opening page Mouse does not work in IDE'. Last well working is r7226. > > > > Strange, I have no problem here... > r7227.fixed a QT4 problem [GB.QT4] * BUG: Workaround a race condition in X11 which prevents window attributes from being correctly set when setting a child DrawingArea's background color right afterwards. -- Amicalement Charlie From Karl.Reinl at ...2345... Mon Aug 24 21:35:16 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 24 Aug 2015 21:35:16 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB6547.4020000@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> Message-ID: <1440444916.3744.12.camel@...40...> Am Montag, den 24.08.2015, 20:41 +0200 schrieb Beno?t Minisini: > Le 24/08/2015 20:39, Beno?t Minisini a ?crit : > > Le 24/08/2015 20:36, Karl Reinl a ?crit : > >> Am Montag, den 24.08.2015, 19:36 +0200 schrieb Beno?t Minisini: > >>> Le 22/08/2015 23:10, Karl Reinl a ?crit : > >>>> Salut Beno?t, > >>>> > >>>> IDE r7233 the Projects sort on welcome screen is at start up always 'on > >>>> date' even if the settings say different 'on path' par example. > >>>> > >>>> > >>>> > >>> > >>> Thanks for fixing that, but your other changes were badly done: > >>> > >>> - Copying anonymous is a good idea, I made it mandatory. I.e. the > >>> copying is now always anonmymous, and I removed the checkbox, beside > >>> fixing other mistakes. > >>> > >>> - You removed the Ignore flag of FMain.dwgWelcome control. That broke > >>> the welcome dialog. I undone the change. > >> > >> Salut Beno?t, > >> > >> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > >> Opening page Mouse does not work in IDE'. Last well working is r7226. > >> > > > > Strange, I have no problem here... > > > > Are you absolutely sure that it worked with revision #7226, but not with > #7227? > yes, it works with #7226 and started from #7227 or higher it don't. -- Amicalement Charlie From gambas at ...1... Mon Aug 24 22:45:45 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 22:45:45 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <1440444916.3744.12.camel@...40...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> Message-ID: <55DB8279.7030607@...1...> Le 24/08/2015 21:35, Charlie Reinl a ?crit : >>>> >>>> Salut Beno?t, >>>> >>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: >>>> Opening page Mouse does not work in IDE'. Last well working is r7226. >>>> >>> >>> Strange, I have no problem here... >>> >> >> Are you absolutely sure that it worked with revision #7226, but not with >> #7227? >> > yes, it works with #7226 and started from #7227 or higher it don't. > OK, I will remove the change, and you will tell me. -- Beno?t Minisini From gambas at ...1... Mon Aug 24 22:56:43 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 22:56:43 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB8279.7030607@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> Message-ID: <55DB850B.2090009@...1...> Le 24/08/2015 22:45, Beno?t Minisini a ?crit : > Le 24/08/2015 21:35, Charlie Reinl a ?crit : >>>>> >>>>> Salut Beno?t, >>>>> >>>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: >>>>> Opening page Mouse does not work in IDE'. Last well working is r7226. >>>>> >>>> >>>> Strange, I have no problem here... >>>> >>> >>> Are you absolutely sure that it worked with revision #7226, but not with >>> #7227? >>> >> yes, it works with #7226 and started from #7227 or higher it don't. >> > > OK, I will remove the change, and you will tell me. > Can you try revision #7236? -- Beno?t Minisini From Karl.Reinl at ...2345... Mon Aug 24 22:59:42 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 24 Aug 2015 22:59:42 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB8279.7030607@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> Message-ID: <1440449982.3744.14.camel@...40...> Am Montag, den 24.08.2015, 22:45 +0200 schrieb Beno?t Minisini: > Le 24/08/2015 21:35, Charlie Reinl a ?crit : > >>>> > >>>> Salut Beno?t, > >>>> > >>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > >>>> Opening page Mouse does not work in IDE'. Last well working is r7226. > >>>> > >>> > >>> Strange, I have no problem here... > >>> > >> > >> Are you absolutely sure that it worked with revision #7226, but not with > >> #7227? > >> > > yes, it works with #7226 and started from #7227 or higher it don't. > > > > OK, I will remove the change, and you will tell me. > Salut Beno?t, the devl-version is still 3.8.0 -- Amicalement Charlie From kevinfishburne at ...1887... Mon Aug 24 23:09:36 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 24 Aug 2015 17:09:36 -0400 Subject: [Gambas-user] Multidimensional dynamic array basics In-Reply-To: References: <55D420BE.40105@...1887...> <55D6A240.8050503@...1887...> <55D6CAA4.2080204@...1887...> <20150821071947.GA647@...2774...> Message-ID: <55DB8810.8040502@...1887...> On 08/22/2015 06:43 AM, Fabien Bodard wrote: > Well you need to understand that you make an array of array of models > > To fill it : > > > Public StageListWall As New ObjModel[][] > > StageListWall.Resize(200) > > 'Instanciate each x Level > > For i = 1 to StageListWall.Max > > StageListWall[i] = new objModel[] > > next > > > 'Adding a Model : > > hModel = new ObjModel > > StageListWall[0].Add(hModel) > > 'To get the Model name if you have a property name : > > StageListWall[0][0].Name > > > To Delete a model > > > StageListWall[0].Delete(0) > > > To clear All model of x level > > StageListWall[x].Clear Okay, I think I got the basics here (finally). Here's the modified/simplified code that essentially does what I need: Public Sub Main() Dim a As New String[][] ' Add element to first dimension. a.Add([]) ' Add elements to second dimension. a[0].Add("0Hello") a[0].Add("0Goodbye") a[0].Add("0Marco") a[0].Add("0Polo") Print a[0][0] Print a[0][1] Print a[0][2] Print a[0][3] ' Add element to first dimension. a.Add([]) ' Add elements to second dimension. a[1].Add("1Hello") a[1].Add("1Goodbye") a[1].Add("1Marco") a[1].Add("1Polo") Print a[1][0] Print a[1][1] Print a[1][2] Print a[1][3] End I attached a screenshot showing the output. It's a good thing everyone's brain works a little differently; otherwise we'd all be screwed. :) Thanks everyone immeasurable tons for the help. -- 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: Array Madness.jpg Type: image/jpeg Size: 177033 bytes Desc: not available URL: From gambas at ...1... Mon Aug 24 23:12:04 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Aug 2015 23:12:04 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <1440449982.3744.14.camel@...40...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> <1440449982.3744.14.camel@...40...> Message-ID: <55DB88A4.1090006@...1...> Le 24/08/2015 22:59, Charlie Reinl a ?crit : > Am Montag, den 24.08.2015, 22:45 +0200 schrieb Beno?t Minisini: >> Le 24/08/2015 21:35, Charlie Reinl a ?crit : >>>>>> >>>>>> Salut Beno?t, >>>>>> >>>>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: >>>>>> Opening page Mouse does not work in IDE'. Last well working is r7226. >>>>>> >>>>> >>>>> Strange, I have no problem here... >>>>> >>>> >>>> Are you absolutely sure that it worked with revision #7226, but not with >>>> #7227? >>>> >>> yes, it works with #7226 and started from #7227 or higher it don't. >>> >> >> OK, I will remove the change, and you will tell me. >> > > Salut Beno?t, > > the devl-version is still 3.8.0 > Yes, it should be 3.8.90. But it does not prevent you from testing the change? -- Beno?t Minisini From Karl.Reinl at ...2345... Mon Aug 24 23:14:59 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 24 Aug 2015 23:14:59 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB850B.2090009@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> <55DB850B.2090009@...1...> Message-ID: <1440450899.3744.16.camel@...40...> Am Montag, den 24.08.2015, 22:56 +0200 schrieb Beno?t Minisini: > Le 24/08/2015 22:45, Beno?t Minisini a ?crit : > > Le 24/08/2015 21:35, Charlie Reinl a ?crit : > >>>>> > >>>>> Salut Beno?t, > >>>>> > >>>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > >>>>> Opening page Mouse does not work in IDE'. Last well working is r7226. > >>>>> > >>>> > >>>> Strange, I have no problem here... > >>>> > >>> > >>> Are you absolutely sure that it worked with revision #7226, but not with > >>> #7227? > >>> > >> yes, it works with #7226 and started from #7227 or higher it don't. > >> > > > > OK, I will remove the change, and you will tell me. > > > > Can you try revision #7236? > YES, now it reworks for me like in #7226 -- Amicalement Charlie From ivan-kern at ...308... Tue Aug 25 08:28:54 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Tue, 25 Aug 2015 08:28:54 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DB4BA2.1080002@...3490...> References: <55DB4BA2.1080002@...3490...> Message-ID: <001201d0deff$5102a920$f307fb60$@freenet.de> Hello, No you are not alone. My Gambas3-3.5.2 project which worked very well under Ubuntu10.04 not work with Gambas3-8.0 under Ubuntu14.04 and also Xubuntu14.04. For example: When I click on the menu should appear new form. A few times it works but more often it brings Gambas to crash. Even worse, time to time crashes Linux. I went back to Gambas3-3.5.2 and Xubuntu14.04 and it works perfectly again. Regards, Ivan -----Urspr?ngliche Nachricht----- Von: Wolfgang [mailto:123 at ...3490...] Gesendet: Montag, 24. August 2015 18:52 An: mailing list for gambas users Betreff: [Gambas-user] Gambas 3.8 seems to work odd Hi all! A while ago I upgraded from 3.6.x to 3.8. Today I tried to modify a project that ran great under 3.6 Now all graphical objects seem no longer to fit. Many things seem to be bigger and I got errors on a socket that ran without any problem. The compiled Program is still running exactly as I planned it. Now I tried a very simple graphical program. No Code! Only a form with a TabStrip, which I changed the background color. Now the TabStrip has NO Background color anymore. What has happened??????? a) in 3.8 many things in the graphical area (seem to) have changed. I can have the old behavior if I do (WHAT?) b) I am the only one, whose older code does not work any more. c) I want "my" old 3.6.x back (the last official release) which worked perfectly here. But how? Can anyone help me here???? Wolfgang ---------------------------------------------------------------------------- -- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...2345... Tue Aug 25 08:37:23 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 25 Aug 2015 08:37:23 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DB88A4.1090006@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> <1440449982.3744.14.camel@...40...> <55DB88A4.1090006@...1...> Message-ID: <1440484643.3634.1.camel@...40...> Am Montag, den 24.08.2015, 23:12 +0200 schrieb Beno?t Minisini: > Le 24/08/2015 22:59, Charlie Reinl a ?crit : > > Am Montag, den 24.08.2015, 22:45 +0200 schrieb Beno?t Minisini: > >> Le 24/08/2015 21:35, Charlie Reinl a ?crit : > >>>>>> > >>>>>> Salut Beno?t, > >>>>>> > >>>>>> Ok, now the welcome dialog here is broken. See 'Issue 633 in gambas: > >>>>>> Opening page Mouse does not work in IDE'. Last well working is r7226. > >>>>>> > >>>>> > >>>>> Strange, I have no problem here... > >>>>> > >>>> > >>>> Are you absolutely sure that it worked with revision #7226, but not with > >>>> #7227? > >>>> > >>> yes, it works with #7226 and started from #7227 or higher it don't. > >>> > >> > >> OK, I will remove the change, and you will tell me. > >> > > > > Salut Beno?t, > > > > the devl-version is still 3.8.0 > > > > Yes, it should be 3.8.90. But it does not prevent you from testing the > change? > and it solved Bug-Track report #670, but no way to make it SOLVED there -- Amicalement Charlie From ualex73 at ...626... Tue Aug 25 09:14:03 2015 From: ualex73 at ...626... (Alexie) Date: Tue, 25 Aug 2015 09:14:03 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <001201d0deff$5102a920$f307fb60$@freenet.de> References: <55DB4BA2.1080002@...3490...> <001201d0deff$5102a920$f307fb60$@freenet.de> Message-ID: Can you supply an example project? Normally Benoit fixes these things extremely quick (if he can reproduce it) 2015-08-25 8:28 GMT+02:00 Ivan Kern : > Hello, > No you are not alone. My Gambas3-3.5.2 project which worked very well under > Ubuntu10.04 not work with Gambas3-8.0 under Ubuntu14.04 and also > Xubuntu14.04. For example: When I click on the menu should appear new form. > A few times it works but more often it brings Gambas to crash. Even worse, > time to time crashes Linux. > I went back to Gambas3-3.5.2 and Xubuntu14.04 and it works perfectly again. > > Regards, > > Ivan > > -----Urspr?ngliche Nachricht----- > Von: Wolfgang [mailto:123 at ...3490...] > Gesendet: Montag, 24. August 2015 18:52 > An: mailing list for gambas users > Betreff: [Gambas-user] Gambas 3.8 seems to work odd > > Hi all! > A while ago I upgraded from 3.6.x to 3.8. > > Today I tried to modify a project that ran great under 3.6 > > Now all graphical objects seem no longer to fit. Many things seem to be > bigger and I got errors on a socket that ran without any problem. The > compiled Program is still running exactly as I planned it. > > Now I tried a very simple graphical program. No Code! Only a form with a > TabStrip, which I changed the background color. > Now the TabStrip has NO Background color anymore. > > > What has happened??????? > > a) in 3.8 many things in the graphical area (seem to) have changed. I > can have the old behavior if I do (WHAT?) > > b) I am the only one, whose older code does not work any more. > > c) I want "my" old 3.6.x back (the last official release) which worked > perfectly here. But how? > > Can anyone help me here???? > > Wolfgang > > > ---------------------------------------------------------------------------- > -- > _______________________________________________ > 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 ivan-kern at ...308... Tue Aug 25 10:16:46 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Tue, 25 Aug 2015 10:16:46 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: References: <55DB4BA2.1080002@...3490...> <001201d0deff$5102a920$f307fb60$@freenet.de> Message-ID: <001601d0df0e$623bd950$26b38bf0$@freenet.de> Yes, I could, but the project is quite complex. This includes communication via Modbus with external devices and access to MySQL database. I have to make it a little easier. But if Benoit would like I'll do it. -----Urspr?ngliche Nachricht----- Von: Alexie [mailto:ualex73 at ...626...] Gesendet: Dienstag, 25. August 2015 09:14 An: mailing list for gambas users Betreff: Re: [Gambas-user] Gambas 3.8 seems to work odd Can you supply an example project? Normally Benoit fixes these things extremely quick (if he can reproduce it) 2015-08-25 8:28 GMT+02:00 Ivan Kern : > Hello, > No you are not alone. My Gambas3-3.5.2 project which worked very well > under > Ubuntu10.04 not work with Gambas3-8.0 under Ubuntu14.04 and also > Xubuntu14.04. For example: When I click on the menu should appear new form. > A few times it works but more often it brings Gambas to crash. Even > worse, time to time crashes Linux. > I went back to Gambas3-3.5.2 and Xubuntu14.04 and it works perfectly again. > > Regards, > > Ivan > > -----Urspr?ngliche Nachricht----- > Von: Wolfgang [mailto:123 at ...3490...] > Gesendet: Montag, 24. August 2015 18:52 > An: mailing list for gambas users > Betreff: [Gambas-user] Gambas 3.8 seems to work odd > > Hi all! > A while ago I upgraded from 3.6.x to 3.8. > > Today I tried to modify a project that ran great under 3.6 > > Now all graphical objects seem no longer to fit. Many things seem to > be bigger and I got errors on a socket that ran without any problem. > The compiled Program is still running exactly as I planned it. > > Now I tried a very simple graphical program. No Code! Only a form with > a TabStrip, which I changed the background color. > Now the TabStrip has NO Background color anymore. > > > What has happened??????? > > a) in 3.8 many things in the graphical area (seem to) have changed. I > can have the old behavior if I do (WHAT?) > > b) I am the only one, whose older code does not work any more. > > c) I want "my" old 3.6.x back (the last official release) which worked > perfectly here. But how? > > Can anyone help me here???? > > Wolfgang > > > ---------------------------------------------------------------------- > ------ > -- > _______________________________________________ > 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 123 at ...3490... Tue Aug 25 11:37:10 2015 From: 123 at ...3490... (Wolfgang) Date: Tue, 25 Aug 2015 11:37:10 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DB514E.1070901@...1...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> Message-ID: <55DC3746.6080108@...3490...> Am 24.08.2015 um 19:15 schrieb Beno?t Minisini: > Le 24/08/2015 18:51, Wolfgang a ?crit : >> Hi all! >> A while ago I upgraded from 3.6.x to 3.8. >> >> Today I tried to modify a project that ran great under 3.6 >> >> Now all graphical objects seem no longer to fit. Many things seem to be >> bigger and I got errors on a socket that ran without any problem. The >> compiled Program is still running exactly as I planned it. >> >> Now I tried a very simple graphical program. No Code! Only a form with a >> TabStrip, which I changed the background color. >> Now the TabStrip has NO Background color anymore. >> >> >> What has happened??????? >> >> a) in 3.8 many things in the graphical area (seem to) have changed. I >> can have the old behavior if I do (WHAT?) >> >> b) I am the only one, whose older code does not work any more. >> >> c) I want "my" old 3.6.x back (the last official release) which worked >> perfectly here. But how? >> >> Can anyone help me here???? >> >> Wolfgang >> > I don't know what you are talking about. Please at least give some > details: what is your full system information? How did you upgrade? > Hello Beno?t, this is in the example: To make it step by step I added a very, very short example with SystemInformation. As ZIP-Files are refused, please rename my file! (My original program is a ham-software I programmed over more than a year now - and which is very complex in all the code) This is not in the example, but may be of interest: What I do have (not in the example obove) is that everything is bigger now. The controls, the text etc.. What the example makes: I simply have place a TabStrip and changed the *BackgroundColor*. This worked in 3.6.x (do not know, what exactly the latest official version was. Now only the "headline" besides the tabs shows the desired color. How I upgraded: I upgraded via synoptic (source: http://ppa.launchpad.net/gambas-team/gambas3/ubuntu - Distribution: trusty - Komponents: main) Before: It did this last time to get 3.6.x which worked perfectly!! (Well some minor problems from my side: I had three mistakes in my code concerning database-use; nothing that Gambas caused!!) A last question: Is it possible to go back to the 3.6.x? If so: how? Hope this makes it a bit easier for you, Sorry for wasting your time with last post. Wolfgang -------------- next part -------------- A non-text attachment was scrubbed... Name: probezip Type: application/octet-stream Size: 7858 bytes Desc: not available URL: From gambas at ...1... Tue Aug 25 14:38:15 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 25 Aug 2015 14:38:15 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <1440484643.3634.1.camel@...40...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> <1440449982.3744.14.camel@...40...> <55DB88A4.1090006@...1...> <1440484643.3634.1.camel@...40...> Message-ID: <55DC61B7.5050005@...1...> Le 25/08/2015 08:37, Charlie Reinl a ?crit : >>> Salut Beno?t, >>> >>> the devl-version is still 3.8.0 >>> >> >> Yes, it should be 3.8.90. But it does not prevent you from testing the >> change? >> > > and it solved Bug-Track report #670, but no way to make it SOLVED there > What do you mean? -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Aug 25 14:52:31 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 25 Aug 2015 15:52:31 +0300 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <001201d0deff$5102a920$f307fb60$@freenet.de> References: <55DB4BA2.1080002@...3490...> <001201d0deff$5102a920$f307fb60$@freenet.de> Message-ID: > > Even worse, time to time crashes Linux. > Gambas runs on user space, so this quite hard to believe. Something else has changed. My guess is video card drivers. Jussi From gambas at ...1... Tue Aug 25 14:52:59 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Aug 2015 14:52:59 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DC3746.6080108@...3490...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> <55DC3746.6080108@...3490...> Message-ID: <55DC652B.8010801@...1...> Le 25/08/2015 11:37, Wolfgang a ?crit : > Hello Beno?t, > > this is in the example: > To make it step by step I added a very, very short example with > SystemInformation. As ZIP-Files are refused, please rename my file! > (My original program is a ham-software I programmed over more than a > year now - and which is very complex in all the code) > > This is not in the example, but may be of interest: > What I do have (not in the example obove) is that everything is bigger > now. The controls, the text etc.. It's because your font changed: the size and position of controls and forms defined from the IDE form editor are proportional to the desktop font height. This is a feature, it's there from the very first version of Gambas! > > What the example makes: > I simply have place a TabStrip and changed the *BackgroundColor*. This > worked in 3.6.x (do not know, what exactly the latest official version > was. Now only the "headline" besides the tabs shows the desired color. The basic controls are not drawn by Gambas, but by the underlying widget theme you use. Which is the case for the TabStrip control. First you must know which GUI component you are using: gb.qt4, gb.qt5, gb.gtk or gb.gtk3. If you use gb.gui, then the actual component will be chosen according to your desktop. If you are using Gnome, then it will be gb.gtk. Then you must look at which widget theme you are using. If you are using gb.qt4, according to your system information, you will be using "GTK" which is a special QT theme that tries to use the current GTK+ theme to draw, so that the QT application looks the same as the GTK+ ones. But it's not perfect. Then you must try to change your widget theme to see how the TabStrip is drawn in each case. I hope that I was clear enough! As for your socket error, I need far more details too! Regards, -- Beno?t Minisini From bugtracker at ...3416... Tue Aug 25 15:38:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:38:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #690: just test Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- just test Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- this test from my smartphone and try other. looks nice and easy to use. From bugtracker at ...3416... Tue Aug 25 15:38:49 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:38:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #691: The mails sent by the bugtracker seem to not reach the Gambas mailing-list Message-ID: Beno?t MINISINI reported a new bug. Summary ------- The mails sent by the bugtracker seem to not reach the Gambas mailing-list Type : Bug Priority : Medium Gambas version : Unknown Product : Bugtracker Description ----------- The sender is bugtracker at ...3416..., and it is a member of the mailing-list. From bugtracker at ...3416... Tue Aug 25 15:30:43 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:30:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #687: Shift click to select text in Editor Message-ID: ADMINISTRATOR changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 25 15:32:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:32:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #688: RegExp causes Memory segmentation error 11 Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 25 15:43:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:43:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #691: The mails sent by the bugtracker seem to not reach the Gambas mailing-list Message-ID: Comment #1 by Beno?t MINISINI: Actually it works. It's just slow to arrive... From bugtracker at ...3416... Tue Aug 25 15:43:43 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:43:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #691: The mails sent by the bugtracker seem to not reach the Gambas mailing-list Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 15:24:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:24:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #673: Crash with GTK+ v2, unknown reason Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 15:25:16 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:25:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #670: problems on scrollview Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 15:26:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:26:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #670: problems on scrollview Message-ID: Comment #4 by Beno?t MINISINI: You must be a "developer" bugtracker user to be allowed to change the bug report properties and status. From bugtracker at ...3416... Tue Aug 25 15:26:15 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:26:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #679: Cannot change a submitted item's charcateristics Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 15:24:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:24:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #673: Crash with GTK+ v2, unknown reason Message-ID: Comment #3 by Beno?t MINISINI: This should be fixed in revision #7237. From bugtracker at ...3416... Tue Aug 25 15:45:17 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:45:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #690: just test Message-ID: Comment #1 by Beno?t MINISINI: You can stop testing that way, the bugtracker is now official. :-) From bugtracker at ...3416... Tue Aug 25 15:45:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:45:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #690: just test Message-ID: Beno?t MINISINI changed the state of the bug to: Invalid. From bugtracker at ...3416... Tue Aug 25 15:54:18 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:54:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 25 15:55:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 13:55:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Comment #4 by Beno?t MINISINI: pic4 is fixed too. From bugtracker at ...3416... Tue Aug 25 16:00:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:00:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #685: Emmet support for websites Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 25 16:01:32 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:01:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed Message-ID: Comment #3 by Jussi LAHTINEN: Agreed, cancel implies your are canceling something, when you just want to go back. However, when you are reporting new bug, we do need cancel option. From bugtracker at ...3416... Tue Aug 25 16:02:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:02:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Comment #5 by Zainuddin AHMAD: it's ok now, I can not access it (pic1 & pic2) again. but pic3 & pic4 still france. From gambas at ...1... Tue Aug 25 16:03:34 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 25 Aug 2015 16:03:34 +0200 Subject: [Gambas-user] New bugtracker is now official! Message-ID: <55DC75B6.40805@...1...> We will find some bugs yet for sure... It may send too many mails at the moment... But it's there anyway. The old Google bugtracker is now in read-only mode, and it will me difficult for me to recover the pending bugs of the old bugtracker. So I strongly suggest the reporters to post them again on the new bugtracker. Sorry for the extra work! -- Beno?t Minisini From bugtracker at ...3416... Tue Aug 25 16:05:36 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:05:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Comment #6 by Beno?t MINISINI: For me pic3 & pic4 are fixed now. From bugtracker at ...3416... Tue Aug 25 16:07:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:07:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed Message-ID: Comment #4 by Beno?t MINISINI: Now when you create a new bug report, you stay on the bug page. "Cancel" is a just a clever back button. I could name it "Back" in the case of editing a bug report, and keep it naming "Cancel" for a new bug. From bugtracker at ...3416... Tue Aug 25 16:08:04 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:08:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed Message-ID: Beno?t MINISINI changed the state of the bug to: Pending. From bugtracker at ...3416... Tue Aug 25 16:10:17 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:10:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Comment #7 by Zainuddin AHMAD: it's ok now :) . From gambas at ...1... Tue Aug 25 16:11:11 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 25 Aug 2015 16:11:11 +0200 Subject: [Gambas-user] New bugtracker is now official! In-Reply-To: <55DC75B6.40805@...1...> References: <55DC75B6.40805@...1...> Message-ID: <55DC777F.7030004@...1...> Le 25/08/2015 16:03, Beno?t Minisini a ?crit : > We will find some bugs yet for sure... > > It may send too many mails at the moment... > > But it's there anyway. > > The old Google bugtracker is now in read-only mode, and it will me > difficult for me to recover the pending bugs of the old bugtracker. > > So I strongly suggest the reporters to post them again on the new > bugtracker. > > Sorry for the extra work! > I'm not sure it is useful to mail the comments to all the other bug commentators... If you have subscribed to the mailing-list, you will receive the mails twice. What do you think? -- Beno?t Minisini From gambas at ...1... Tue Aug 25 16:14:31 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 25 Aug 2015 16:14:31 +0200 Subject: [Gambas-user] New bugtracker is now official! In-Reply-To: <55DC777F.7030004@...1...> References: <55DC75B6.40805@...1...> <55DC777F.7030004@...1...> Message-ID: <55DC7847.2030808@...1...> Le 25/08/2015 16:11, Beno?t Minisini a ?crit : > Le 25/08/2015 16:03, Beno?t Minisini a ?crit : >> We will find some bugs yet for sure... >> >> It may send too many mails at the moment... >> >> But it's there anyway. >> >> The old Google bugtracker is now in read-only mode, and it will me >> difficult for me to recover the pending bugs of the old bugtracker. >> >> So I strongly suggest the reporters to post them again on the new >> bugtracker. >> >> Sorry for the extra work! >> > > I'm not sure it is useful to mail the comments to all the other bug > commentators... If you have subscribed to the mailing-list, you will > receive the mails twice. > > What do you think? > And I must find how to make bugtracker comment mails become related to the bug creation mail. If someone faster than google has a clue... -- Beno?t Minisini From gambas at ...1... Tue Aug 25 16:16:06 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 25 Aug 2015 16:16:06 +0200 Subject: [Gambas-user] New bugtracker is now official! In-Reply-To: <55DC777F.7030004@...1...> References: <55DC75B6.40805@...1...> <55DC777F.7030004@...1...> Message-ID: <55DC78A6.4000207@...1...> Le 25/08/2015 16:11, Beno?t Minisini a ?crit : > Le 25/08/2015 16:03, Beno?t Minisini a ?crit : >> We will find some bugs yet for sure... >> >> It may send too many mails at the moment... >> >> But it's there anyway. >> >> The old Google bugtracker is now in read-only mode, and it will me >> difficult for me to recover the pending bugs of the old bugtracker. >> >> So I strongly suggest the reporters to post them again on the new >> bugtracker. >> >> Sorry for the extra work! >> > > I'm not sure it is useful to mail the comments to all the other bug > commentators... If you have subscribed to the mailing-list, you will > receive the mails twice. > > What do you think? > Note that you can remove your mail from your personal information form, and you won't receive mails anymore. -- Beno?t Minisini From bugtracker at ...3416... Tue Aug 25 16:16:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:16:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 16:44:52 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 14:44:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed Message-ID: Comment #5 by Zainuddin AHMAD: (just ignore this comment, is looking for a message in france) sorry. From bugtracker at ...3416... Tue Aug 25 17:07:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 15:07:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- any message using the English language Type : Request Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- I do not remember the message what i get. but the message that in the French language I get the message when will add comment (I think doing in the same time with admin). From bugtracker at ...3416... Tue Aug 25 17:44:10 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 15:44:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #693: Closing brackets/tags added automatically in JS, CSS and HTML Message-ID: Moviga TECHNOLOGIES reported a new bug. Summary ------- Closing brackets/tags added automatically in JS, CSS and HTML Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Requesting option to have closing brackets/tags automatically added for JS, CSS and HTML. And also for ' and ". should have { should have } [ should have ] From bugtracker at ...3416... Tue Aug 25 17:50:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 15:50:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #693: Closing brackets/tags added automatically in JS, CSS and HTML Message-ID: Comment #1 by Tobias BOEGE: Given an HTML string like this: This is the link text, isn't it? How would you decide where to put the closing ? From bugtracker at ...3416... Tue Aug 25 18:00:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 16:00:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #693: Closing brackets/tags added automatically in JS, CSS and HTML Message-ID: Comment #2 by Moviga TECHNOLOGIES: Editors that do this normally inserts the closing bracket as soon as you close the opening one, and then places the cursor in between. You can try Atom or Brackets to see a good example of this being done. From bugtracker at ...3416... Tue Aug 25 18:01:52 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 16:01:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #693: Closing brackets/tags added automatically in JS, CSS and HTML Message-ID: Comment #3 by Moviga TECHNOLOGIES: That is www.atom.io or www.brackets.io From bugtracker at ...3416... Tue Aug 25 18:17:19 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 16:17:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded Message-ID: Tobias BOEGE reported a new bug. Summary ------- Send bugtracker mails threaded Type : Request Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- I like receiving mails from the bugtracker but they don't thread in my client. I.e. they are seen as individual, unconnected mails and thus pollute my overview. My mail client uses the In-Reply-To and References headers[0] to establish threads. Can these be added properly to mails sent from the bugtracker? [0] http://cr.yp.to/immhf/thread.html#references From bugtracker at ...3416... Tue Aug 25 18:20:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 16:20:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded Message-ID: Comment #1 by Beno?t MINISINI: I'm currently working on it... That needs some new properties in the gb.net.smtp component. From bugtracker at ...3416... Tue Aug 25 18:26:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 16:26:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded Message-ID: Comment #2 by Moviga TECHNOLOGIES: I was just thinking the same thing :) My Kmail is stuffed with bug tracker mails now :) From bugtracker at ...3416... Tue Aug 25 19:17:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:17:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 25 19:17:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:17:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now Message-ID: ADMINISTRATOR reported a new bug. Summary ------- This is for checking if bugtracker are really threaded now Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- This is a test From bugtracker at ...3416... Tue Aug 25 19:17:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:17:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now In-Reply-To: References: Message-ID: Comment #1 by ADMINISTRATOR: A test comment From bugtracker at ...3416... Tue Aug 25 19:23:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:23:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now In-Reply-To: References: Message-ID: Comment #2 by Tobias BOEGE: Well done! From bugtracker at ...3416... Tue Aug 25 19:25:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:25:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now In-Reply-To: References: Message-ID: Comment #3 by ADMINISTRATOR: Testing attachment From bugtracker at ...3416... Tue Aug 25 19:25:43 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:25:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now In-Reply-To: References: Message-ID: ADMINISTRATOR added an attachment: icon.png From bugtracker at ...3416... Tue Aug 25 19:26:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:26:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #695: This is for checking if bugtracker are really threaded now In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 19:26:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:26:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded In-Reply-To: References: Message-ID: Comment #3 by ADMINISTRATOR: Fixed! From bugtracker at ...3416... Tue Aug 25 19:26:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:26:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #694: Send bugtracker mails threaded In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Closed. From bugtracker at ...3416... Tue Aug 25 19:27:10 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 17:27:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Comment #1 by ADMINISTRATOR: You should have made a screenshot! From willy at ...3474... Tue Aug 25 21:12:40 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 25 Aug 2015 21:12:40 +0200 Subject: [Gambas-user] Splash sreens in qt4 projects no longer borderless after update to Gambas 3.8.0 Message-ID: Hi all, On a testing system (with NO IDE installed) I have several of my projects installed (using deb packages made with Gambas 3.5.2). When I came back from vacation I upgraded the system to Gambas 3.8.0 (from 3.7.1) using Gambas team PPA. Also note that I didn't change theme on the system. Upon starting the projects I noticed that the splash screens are no longer borderless as they used to be when previous Gambas versions where installed. This seems only to happen in qt4-based projects. I also have one gtk-based project running on the system and the splash screen there is borderless (as is supposed to be). The projects where all developed and packaged with Gambas 3.5.2. Attached two screens: First one is gtk project showing splash screen borderless as should Second one is a qt4 project showing splash screen with border (should be borderless and was with previous Gambas versions). As I have no IDE installed on testing system I can't provide the Systeminfo from IDE. The system is a Linux Mint 13 Maya with Mate 1.6.1 desktop running Gambas 3.8.0. If you need more info, please let me know. gbWilly -------------- next part -------------- A non-text attachment was scrubbed... Name: Splash-gtk.jpg Type: image/jpeg Size: 34773 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Splash-qt4.jpg Type: image/jpeg Size: 44984 bytes Desc: not available URL: From Karl.Reinl at ...2345... Tue Aug 25 21:34:10 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 25 Aug 2015 21:34:10 +0200 Subject: [Gambas-user] Projects sort on welcome screen In-Reply-To: <55DC61B7.5050005@...1...> References: <1440277832.3599.14.camel@...40...> <55DB5610.30001@...1...> <1440441387.3744.6.camel@...40...> <55DB64CB.9060707@...1...> <55DB6547.4020000@...1...> <1440444916.3744.12.camel@...40...> <55DB8279.7030607@...1...> <1440449982.3744.14.camel@...40...> <55DB88A4.1090006@...1...> <1440484643.3634.1.camel@...40...> <55DC61B7.5050005@...1...> Message-ID: <1440531250.3564.11.camel@...40...> Am Dienstag, den 25.08.2015, 14:38 +0200 schrieb Beno?t Minisini: > Le 25/08/2015 08:37, Charlie Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> the devl-version is still 3.8.0 > >>> > >> > >> Yes, it should be 3.8.90. But it does not prevent you from testing the > >> change? > >> > > > > and it solved Bug-Track report #670, but no way to make it SOLVED there > > > > What do you mean? > Ups, I'v got the wrong mail to answer. My answer is in relation to revision #7236 from last night. Bug-Track report #670 have attached three screens with an annormal behave of scrolling. And this problem was also solved with #7236. -- Amicalement Charlie From bugtracker at ...3416... Tue Aug 25 23:32:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 21:32:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #689: requesting the English language (Part 2) In-Reply-To: References: Message-ID: Comment #8 by Zainuddin AHMAD: test From bugtracker at ...3416... Wed Aug 26 00:39:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 25 Aug 2015 22:39:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Comment #2 by Zainuddin AHMAD: I can't because it's not always show, I am forget what I do and condition when getting the message. but the message is in the box and the box is looks nice, it's can hide after show. From gambas at ...1... Wed Aug 26 01:19:23 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Aug 2015 01:19:23 +0200 Subject: [Gambas-user] Splash sreens in qt4 projects no longer borderless after update to Gambas 3.8.0 In-Reply-To: References: Message-ID: <55DCF7FB.2070402@...1...> Le 25/08/2015 21:12, willy at ...3474... a ?crit : > Hi all, > > On a testing system (with NO IDE installed) I have several of my > projects installed (using deb packages made with Gambas 3.5.2). > When I came back from vacation I upgraded the system to Gambas 3.8.0 > (from 3.7.1) using Gambas team PPA. Also note that I didn't change theme > on the system. > > Upon starting the projects I noticed that the splash screens are no > longer borderless as they used to be when previous Gambas versions where > installed. This seems only to happen in qt4-based projects. > > I also have one gtk-based project running on the system and the splash > screen there is borderless (as is supposed to be). > > The projects where all developed and packaged with Gambas 3.5.2. > > Attached two screens: > First one is gtk project showing splash screen borderless as should > Second one is a qt4 project showing splash screen with border (should be > borderless and was with previous Gambas versions). > > As I have no IDE installed on testing system I can't provide the > Systeminfo from IDE. > The system is a Linux Mint 13 Maya with Mate 1.6.1 desktop running > Gambas 3.8.0. > > If you need more info, please let me know. > > gbWilly > Can you try the revision #7241? It should fix your problem. Regards, -- Beno?t Minisini From bugtracker at ...3416... Wed Aug 26 04:24:37 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 02:24:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed Message-ID: Adrien PROKOPOWICZ reported a new bug. Summary ------- Stored passwords are not hashed Type : Bug Priority : High Gambas version : Unknown Product : Bugtracker Description ----------- As the title says, passwords can be retrieved through the "Personal Information" panel, which the server should not be able to get in plaintext. From bugtracker at ...3416... Wed Aug 26 05:20:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 03:20:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #1 by Zainuddin AHMAD: and do not forget to tell all members to change their password. after it be fixed. :D... From bugtracker at ...3416... Wed Aug 26 05:26:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 03:26:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #2 by Zainuddin AHMAD: adrien your password is gk****az :D I hope I am not wrong! From bugtracker at ...3416... Wed Aug 26 05:29:32 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 03:29:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #3 by Zainuddin AHMAD: I get the bug when try to find messagebox. this is the diferent or the same bug ? From bugtracker at ...3416... Wed Aug 26 06:19:15 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 04:19:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #4 by Zainuddin AHMAD: change password is only recommended for who someone has created bug report. because the other members can open personal information from Reported by [member name] link. From bugtracker at ...3416... Wed Aug 26 08:30:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 06:30:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #5 by Beno?t MINISINI: Oops, horrible bug... Passwords are not put in the page anymore, but they are not yet internally hashed. From bugtracker at ...3416... Wed Aug 26 08:30:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 06:30:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Pending. From 123 at ...3490... Wed Aug 26 09:12:16 2015 From: 123 at ...3490... (Wolfgang) Date: Wed, 26 Aug 2015 09:12:16 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DC652B.8010801@...1...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> <55DC3746.6080108@...3490...> <55DC652B.8010801@...1...> Message-ID: <55DD66D0.1050800@...3490...> Hallo Beno?t! I understand what you write, But I can not understand this: ------------------------------------- I have the program installed on my Ubuntu-PC from an Istallation Package created by Gabas3.6.x IT RUNS PERFECTLY. The same code running in Gambas3.8 IDE does not. --------------------------------------- Both times the same Ubuntu-system with same components. If my front-end really had changed then both versions should do the same - but they DO NOT. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x How does my program compiled with 3.6.x run, while the SAME code under 3.8 does not?????? x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x And again: How can I get the old 3.6.x back? x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Thank you for your patience! Wolfgang Am 25.08.2015 um 14:52 schrieb Beno?t Minisini: > Le 25/08/2015 11:37, Wolfgang a ?crit : >> Hello Beno?t, >> >> this is in the example: >> To make it step by step I added a very, very short example with >> SystemInformation. As ZIP-Files are refused, please rename my file! >> (My original program is a ham-software I programmed over more than a >> year now - and which is very complex in all the code) >> >> This is not in the example, but may be of interest: >> What I do have (not in the example obove) is that everything is bigger >> now. The controls, the text etc.. > It's because your font changed: the size and position of controls and > forms defined from the IDE form editor are proportional to the desktop > font height. This is a feature, it's there from the very first version > of Gambas! > >> What the example makes: >> I simply have place a TabStrip and changed the *BackgroundColor*. This >> worked in 3.6.x (do not know, what exactly the latest official version >> was. Now only the "headline" besides the tabs shows the desired color. > The basic controls are not drawn by Gambas, but by the underlying widget > theme you use. Which is the case for the TabStrip control. > > First you must know which GUI component you are using: gb.qt4, gb.qt5, > gb.gtk or gb.gtk3. > > If you use gb.gui, then the actual component will be chosen according to > your desktop. If you are using Gnome, then it will be gb.gtk. > > Then you must look at which widget theme you are using. If you are using > gb.qt4, according to your system information, you will be using "GTK" > which is a special QT theme that tries to use the current GTK+ theme to > draw, so that the QT application looks the same as the GTK+ ones. But > it's not perfect. > > Then you must try to change your widget theme to see how the TabStrip is > drawn in each case. > > I hope that I was clear enough! > > As for your socket error, I need far more details too! > > Regards, > From gambas at ...1... Wed Aug 26 09:18:35 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Aug 2015 09:18:35 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DD66D0.1050800@...3490...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> <55DC3746.6080108@...3490...> <55DC652B.8010801@...1...> <55DD66D0.1050800@...3490...> Message-ID: <55DD684B.8090008@...1...> Le 26/08/2015 09:12, Wolfgang a ?crit : > Hallo Beno?t! > > I understand what you write, But I can not understand this: > ------------------------------------- > I have the program installed on my Ubuntu-PC from an Istallation Package > created by Gabas3.6.x > IT RUNS PERFECTLY. > > The same code running in Gambas3.8 IDE does not. > --------------------------------------- > > Both times the same Ubuntu-system with same components. > If my front-end really had changed then both versions should do the same > - but they DO NOT. > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > x How does my program compiled with 3.6.x run, while the SAME code under > 3.8 does not?????? x > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Because Gambas 3.6 is different from Gambas 3.8. You are *not* running the same code. -- Beno?t Minisini From 123 at ...3490... Wed Aug 26 10:05:12 2015 From: 123 at ...3490... (Wolfgang) Date: Wed, 26 Aug 2015 10:05:12 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DD684B.8090008@...1...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> <55DC3746.6080108@...3490...> <55DC652B.8010801@...1...> <55DD66D0.1050800@...3490...> <55DD684B.8090008@...1...> Message-ID: <55DD7338.1050207@...3490...> Am 26.08.2015 um 09:18 schrieb Beno?t Minisini: > Le 26/08/2015 09:12, Wolfgang a ?crit : >> Hallo Beno?t! >> >> I understand what you write, But I can not understand this: >> ------------------------------------- >> I have the program installed on my Ubuntu-PC from an Istallation Package >> created by Gabas3.6.x >> IT RUNS PERFECTLY. >> >> The same code running in Gambas3.8 IDE does not. >> --------------------------------------- >> >> Both times the same Ubuntu-system with same components. >> If my front-end really had changed then both versions should do the same >> - but they DO NOT. >> >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> x How does my program compiled with 3.6.x run, while the SAME code under >> 3.8 does not?????? x >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > Because Gambas 3.6 is different from Gambas 3.8. You are *not* running > the same code. > OK, then it is so! When I upgraded to 3.6 I did not have big problems, so I did not expect it. My mistake! Now only one thing that remains: how can I go back to 3.6? Is there a link or something else? Wolfgang From Karl.Reinl at ...2345... Wed Aug 26 10:26:03 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 26 Aug 2015 10:26:03 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DD7338.1050207@...3490...> References: <55DB4BA2.1080002@...3490...> <55DB514E.1070901@...1...> <55DC3746.6080108@...3490...> <55DC652B.8010801@...1...> <55DD66D0.1050800@...3490...> <55DD684B.8090008@...1...> <55DD7338.1050207@...3490...> Message-ID: <1440577563.4520.4.camel@...40...> Am Mittwoch, den 26.08.2015, 10:05 +0200 schrieb Wolfgang: > > Am 26.08.2015 um 09:18 schrieb Beno?t Minisini: > > Le 26/08/2015 09:12, Wolfgang a ?crit : > >> Hallo Beno?t! > >> > >> I understand what you write, But I can not understand this: > >> ------------------------------------- > >> I have the program installed on my Ubuntu-PC from an Istallation Package > >> created by Gabas3.6.x > >> IT RUNS PERFECTLY. > >> > >> The same code running in Gambas3.8 IDE does not. > >> --------------------------------------- > >> > >> Both times the same Ubuntu-system with same components. > >> If my front-end really had changed then both versions should do the same > >> - but they DO NOT. > >> > >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > >> x How does my program compiled with 3.6.x run, while the SAME code under > >> 3.8 does not?????? x > >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > >> > > Because Gambas 3.6 is different from Gambas 3.8. You are *not* running > > the same code. > > > OK, then it is so! When I upgraded to 3.6 I did not have big problems, > so I did not expect it. My mistake! > > Now only one thing that remains: how can I go back to 3.6? Is there a > link or something else? > > Wolfgang > Salut Wolfgang, here you will find all gambas3 versions http://sourceforge.net/projects/gambas/files/gambas3/ -- Amicalement Charlie From bugtracker at ...3416... Wed Aug 26 11:33:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 09:33:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #697: Changing(Rename) the e-mail name requires a validation Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- Changing(Rename) the e-mail name requires a validation Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- I had new account and can rename the e-mail name to be "Hello" attach pic From bugtracker at ...3416... Wed Aug 26 11:33:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 09:33:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #697: Changing(Rename) the e-mail name requires a validation In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-info.png From bugtracker at ...3416... Wed Aug 26 11:33:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 09:33:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: Comment #6 by Moviga TECHNOLOGIES: Remember the salt and pepper as well :) From bugtracker at ...3416... Wed Aug 26 15:12:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 13:12:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- request the English language (Part 3) Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- some language still france. attach pic From bugtracker at ...3416... Wed Aug 26 15:12:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 13:12:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Wed Aug 26 15:12:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 13:12:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Wed Aug 26 15:13:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 13:13:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-3.png From bugtracker at ...3416... Wed Aug 26 16:23:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 14:23:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #699: there is no limit for the password and time zone Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- there is no limit for the password and time zone Type : Bug Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- I can edit and save the password only with two character I can fill and save the time zone with 9999 value attach pic From bugtracker at ...3416... Wed Aug 26 16:24:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 14:24:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #699: there is no limit for the password and time zone In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Wed Aug 26 16:24:16 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 14:24:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #699: there is no limit for the password and time zone In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Wed Aug 26 16:32:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 14:32:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Comment #3 by Zainuddin AHMAD: I am only get one. I am wrong, it's must click the cancel button for close the message box. attach pic From bugtracker at ...3416... Wed Aug 26 16:32:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 14:32:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Wed Aug 26 17:24:21 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 15:24:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #700: Comment button omits the last line Message-ID: Moviga TECHNOLOGIES reported a new bug. Summary ------- Comment button omits the last line Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- When you select a text spanning several lines, and then click the comment button, all lines are commented out except for the last one. From bugtracker at ...3416... Wed Aug 26 17:34:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 15:34:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #700: Comment button omits the last line In-Reply-To: References: Message-ID: Comment #1 by Moviga TECHNOLOGIES: It seems to happen only when you start the selection from the bottom. Even the top line is not commented out. It works as expected when selecting from the top and down. From pinozollo at ...626... Wed Aug 26 17:34:53 2015 From: pinozollo at ...626... (Pino Zollo) Date: Wed, 26 Aug 2015 11:34:53 -0400 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: References: Message-ID: <55DDDC9D.1000809@...626...> El 26/08/15 a las 10:24, gambas-user-request at lists.sourceforge.net escribi?: >> Both times the same Ubuntu-system with same components. >> > If my front-end really had changed then both versions should do the same >> > - but they DO NOT. >> > >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > x How does my program compiled with 3.6.x run, while the SAME code under >> > 3.8 does not?????? x >> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> > > Because Gambas 3.6 is different from Gambas 3.8. You are *not* running > the same code. This is the sad reason that keeps me stopped from programming in Gambas ...I was already very shocked because of the change from Gambas2 to Gambas3 .... ... I like Gambas very much, but I cannot cope with incompatibilities from one version to the other... too much effort to learn the new "features". Salud Pino From gambas at ...1... Wed Aug 26 18:06:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Aug 2015 18:06:48 +0200 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DDDC9D.1000809@...626...> References: <55DDDC9D.1000809@...626...> Message-ID: <55DDE418.9050809@...1...> Le 26/08/2015 17:34, Pino Zollo a ?crit : > > > El 26/08/15 a las 10:24, gambas-user-request at lists.sourceforge.net escribi?: >>> Both times the same Ubuntu-system with same components. >>>> If my front-end really had changed then both versions should do the same >>>> - but they DO NOT. >>>> >>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >>>> x How does my program compiled with 3.6.x run, while the SAME code under >>>> 3.8 does not?????? x >>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >>>> > > >> Because Gambas 3.6 is different from Gambas 3.8. You are *not* running >> the same code. > > This is the sad reason that keeps me stopped from programming in Gambas > ...I was already very shocked because of the change from Gambas2 to > Gambas3 .... > > ... I like Gambas very much, but I cannot cope with incompatibilities > from one version to the other... too much effort to learn the new > "features". > > Salud > > Pino > I try to fix incompatibilities when I am aware of, but I can't if they are not reported. Most often, incompatibilities do not come from Gambas directly, but because of changes in the underlying libraries or OS. QT and GTK+ are especially hard to follow with that! Then come MySQL, GStreamer, PostgreSQL. LLVM is the worse at the moment, as the JIT compiler has been deprecated and replaced by a new incompatible one in LLVM 3.6. Pure Gambas incompatibilities are usually very easy to deal with. I have some Gambas 1 code run unchanged in the Gambas 3 IDE. I think you have no idea of the amount of incompatibilites I have hidden for you. Alas I can't hide them all! That's life... -- Beno?t Minisini From bugtracker at ...3416... Wed Aug 26 18:20:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:20:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Aug 26 18:20:20 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:20:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #699: there is no limit for the password and time zone In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Aug 26 18:20:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:20:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Aug 26 18:20:49 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:20:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #700: Comment button omits the last line In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Aug 26 18:20:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:20:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #697: Changing(Rename) the e-mail name requires a validation In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Aug 26 18:49:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 16:49:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer Message-ID: Geoffrey DE BELIE reported a new bug. Summary ------- Ampersand in button text only works in the designer Type : Bug Priority : Medium Gambas version : 3.7 Product : Unknown Description ----------- I made a button with the text "Hi & bye". Because an ampersand creates an underlined char (for shortcut purposes), I used two ampersands in code: "Hi && bye". That works in the designer. However, in runtime this does not work and this still creates an ampersand. I consider this a bug. Or is there another way to escape? From jussi.lahtinen at ...626... Wed Aug 26 20:13:20 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 26 Aug 2015 21:13:20 +0300 Subject: [Gambas-user] Gambas 3.8 seems to work odd In-Reply-To: <55DDE418.9050809@...1...> References: <55DDDC9D.1000809@...626...> <55DDE418.9050809@...1...> Message-ID: This is really odd to me. I haven't notice incompatibility issues since I started to use Gambas (it was Gambas 2 back then, and I ported my big project from Vb6). Only thing I remember was syntax change in file handling when changing from Gambas 2 to 3, but it was really minor issue. Jussi On Wed, Aug 26, 2015 at 7:06 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 26/08/2015 17:34, Pino Zollo a ?crit : > > > > > > El 26/08/15 a las 10:24, gambas-user-request at lists.sourceforge.net > escribi?: > >>> Both times the same Ubuntu-system with same components. > >>>> If my front-end really had changed then both versions should do the > same > >>>> - but they DO NOT. > >>>> > >>>> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > >>>> x How does my program compiled with 3.6.x run, while the SAME code > under > >>>> 3.8 does not?????? x > >>>> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > >>>> > > > > > >> Because Gambas 3.6 is different from Gambas 3.8. You are *not* running > >> the same code. > > > > This is the sad reason that keeps me stopped from programming in Gambas > > ...I was already very shocked because of the change from Gambas2 to > > Gambas3 .... > > > > ... I like Gambas very much, but I cannot cope with incompatibilities > > from one version to the other... too much effort to learn the new > > "features". > > > > Salud > > > > Pino > > > > I try to fix incompatibilities when I am aware of, but I can't if they > are not reported. > > Most often, incompatibilities do not come from Gambas directly, but > because of changes in the underlying libraries or OS. > > QT and GTK+ are especially hard to follow with that! Then come MySQL, > GStreamer, PostgreSQL. LLVM is the worse at the moment, as the JIT > compiler has been deprecated and replaced by a new incompatible one in > LLVM 3.6. > > Pure Gambas incompatibilities are usually very easy to deal with. I have > some Gambas 1 code run unchanged in the Gambas 3 IDE. > > I think you have no idea of the amount of incompatibilites I have hidden > for you. Alas I can't hide them all! > > That's life... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Wed Aug 26 23:17:45 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:17:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: Please provide a project that shows that bug and your system information. From bugtracker at ...3416... Wed Aug 26 23:38:09 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:38:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building Message-ID: Donald ROSS reported a new bug. Summary ------- Installation Package Building Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Tried building a package for Ubuntu. I have tried several program both written from scratch to demo programs in the Gambas package. All fail to complete the package build with dpkg-buildpackage: error: failed to sign .dsc and .changes file. Then The package build has failed. The build can be ran from the deb file in Ubuntu 15.04 and the Ubuntu Software Center will open. To install from that form opens a message box indicating that "The Package is of bad quality. The installation of the package which violates the quality standars isn't allowed. , (etc....). If I Ignore and install the package will install on the system and work. I am transferring some picture and sound files with the program for setup demo. I have no Mimetypes or Additional configurations entered. I have extra dependencies logged and to change them causes a dependency error on package installation so it seems that I have those entered correctly. The picture and sound files install on the final system and operate. There IS a line on the Create package form saying "gpg: skipped "Donald Dwane Ross ": secret key not available. The next line indicating clearsign failed. The Create package form can only be retried, previous or canceled. Last line of the form is Package.MakeDebpackage.868: 'dpkg-buildpackage' has failed. I haven't figured out this one yet, can anyone give me some pointers how to clean the package build up. I am about ready to publish my first Ubuntu Linux program which is a port from my Visual Studio 2010 program. Both programs were written from scratch by me. A view of both programs are on my web site http://rcflyerscu.homeip.net:8081. Thanks..., sorry to have to ask for help but I may need it here..... ddwaner at ...626... [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.19.0-26-generic Architecture=x86_64 Distribution=Ubuntu 15.04 Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7480M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+=libgtk-x11-2.0.so.0.2400.27 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.49.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From bugtracker at ...3416... Wed Aug 26 23:43:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:43:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: pic-1 & pic-3 have been fixed. From bugtracker at ...3416... Wed Aug 26 23:43:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:43:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Pending. From bugtracker at ...3416... Wed Aug 26 23:43:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:43:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Comment #4 by Beno?t MINISINI: Fixed. From bugtracker at ...3416... Wed Aug 26 23:43:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 21:43:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #692: any message using the English language In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Thu Aug 27 00:00:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:00:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Waiting. From bugtracker at ...3416... Thu Aug 27 00:00:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:00:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Waiting. From bugtracker at ...3416... Thu Aug 27 00:00:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:00:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Waiting. From bugtracker at ...3416... Thu Aug 27 00:01:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:01:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #700: Comment button omits the last line In-Reply-To: References: Message-ID: Comment #2 by ADMINISTRATOR: Fixed in revision #7242. From bugtracker at ...3416... Thu Aug 27 00:01:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:01:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #700: Comment button omits the last line In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Closed. From bugtracker at ...3416... Thu Aug 27 00:01:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:01:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Waiting. From bugtracker at ...3416... Thu Aug 27 00:01:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:01:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Working. From bugtracker at ...3416... Thu Aug 27 00:03:06 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:03:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #696: Stored passwords are not hashed In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Working. From bugtracker at ...3416... Thu Aug 27 00:36:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:36:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Comment #2 by ADMINISTRATOR: pic-2 has been fixed. From bugtracker at ...3416... Thu Aug 27 00:36:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:36:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Closed. From bugtracker at ...3416... Thu Aug 27 00:48:17 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:48:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: Please provide the source code of your project so that I can test the package generation. And you can use the ENTER key of your keyboard when entering a message. From bugtracker at ...3416... Thu Aug 27 00:49:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 22:49:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #686: Beautify for CGI, CSS, JS In-Reply-To: References: Message-ID: Comment #3 by Beno?t MINISINI: You mean Gambas Webpage with HTML and Gambas mixed? From bugtracker at ...3416... Thu Aug 27 01:11:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 26 Aug 2015 23:11:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #677: "Back to list" link needed In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Aug 27 02:26:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 00:26:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #686: Beautify for CGI, CSS, JS In-Reply-To: References: Message-ID: Comment #4 by Moviga TECHNOLOGIES: Yes. I am working on a fairly big project, and the code can get pretty messy if I do not keep adding, and removing indentations here and there. CTRL+F would be a lot easier :) From bugtracker at ...3416... Thu Aug 27 11:36:18 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 09:36:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #698: request the English language (Part 3) In-Reply-To: References: Message-ID: Comment #3 by Beno?t MINISINI: (ignore this comment, is to test the same name) @Zainuddin, you should fix your english first. From bugtracker at ...3416... Thu Aug 27 11:49:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 09:49:35 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= Message-ID: Zainuddin AHMAD reported a new bug. Summary ------- confused with others Beno?t MINISINI Type : Bug Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- I don't know how to know the original one. and I don't know detail information who has comment attach pic From bugtracker at ...3416... Thu Aug 27 11:49:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 09:49:54 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= In-Reply-To: References: Message-ID: Zainuddin AHMAD added an attachment: pic-1.png From ivan-kern at ...308... Thu Aug 27 11:50:10 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 27 Aug 2015 11:50:10 +0200 Subject: [Gambas-user] WG: Gambas 3.8 seems to work odd In-Reply-To: <001601d0df0e$623bd950$26b38bf0$@freenet.de> References: <55DB4BA2.1080002@...3490...> <001201d0deff$5102a920$f307fb60$@freenet.de> <001601d0df0e$623bd950$26b38bf0$@freenet.de> Message-ID: <001a01d0e0ad$c3a88670$4af99350$@freenet.de> Hi, With r7237 my problem is solved. Regards, Ivan -----Urspr?ngliche Nachricht----- Von: Ivan Kern [mailto:ivan-kern at ...308...] Gesendet: Dienstag, 25. August 2015 10:17 An: 'mailing list for gambas users' Betreff: Re: [Gambas-user] Gambas 3.8 seems to work odd Yes, I could, but the project is quite complex. This includes communication via Modbus with external devices and access to MySQL database. I have to make it a little easier. But if Benoit would like I'll do it. -----Urspr?ngliche Nachricht----- Von: Alexie [mailto:ualex73 at ...626...] Gesendet: Dienstag, 25. August 2015 09:14 An: mailing list for gambas users Betreff: Re: [Gambas-user] Gambas 3.8 seems to work odd Can you supply an example project? Normally Benoit fixes these things extremely quick (if he can reproduce it) 2015-08-25 8:28 GMT+02:00 Ivan Kern : > Hello, > No you are not alone. My Gambas3-3.5.2 project which worked very well > under > Ubuntu10.04 not work with Gambas3-8.0 under Ubuntu14.04 and also > Xubuntu14.04. For example: When I click on the menu should appear new form. > A few times it works but more often it brings Gambas to crash. Even > worse, time to time crashes Linux. > I went back to Gambas3-3.5.2 and Xubuntu14.04 and it works perfectly again. > > Regards, > > Ivan > > -----Urspr?ngliche Nachricht----- > Von: Wolfgang [mailto:123 at ...3490...] > Gesendet: Montag, 24. August 2015 18:52 > An: mailing list for gambas users > Betreff: [Gambas-user] Gambas 3.8 seems to work odd > > Hi all! > A while ago I upgraded from 3.6.x to 3.8. > > Today I tried to modify a project that ran great under 3.6 > > Now all graphical objects seem no longer to fit. Many things seem to > be bigger and I got errors on a socket that ran without any problem. > The compiled Program is still running exactly as I planned it. > > Now I tried a very simple graphical program. No Code! Only a form with > a TabStrip, which I changed the background color. > Now the TabStrip has NO Background color anymore. > > > What has happened??????? > > a) in 3.8 many things in the graphical area (seem to) have changed. I > can have the old behavior if I do (WHAT?) > > b) I am the only one, whose older code does not work any more. > > c) I want "my" old 3.6.x back (the last official release) which worked > perfectly here. But how? > > Can anyone help me here???? > > Wolfgang > > > ---------------------------------------------------------------------- > ------ > -- > _______________________________________________ > 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 taboege at ...626... Thu Aug 27 12:12:35 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Aug 2015 12:12:35 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <20150822152721.GD952@...2774...> References: <20150822152721.GD952@...2774...> Message-ID: <20150827101235.GA653@...2774...> On Sat, 22 Aug 2015, Tobias Boege wrote: > On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: > > (Re-sending because attached files were too big for Sourceforge) > > > > Hi everyone, > > > > As you may know, Beno??t asked at the beginning of the month if some people > > could think about redesigning the Gambas website. > > > > As i have some spare time, I started to play with it for a few days, and > > here is a first version ! (Sources attached) > > > > Of course, the design is not final, and all the text is basically > > placeholder (except maybe for the menus). It is also not yet responsive. > > > > So, as usual, I'd like some feedback to improve it ! :) > > > > I'll be sending it to the German Gambas forum and redirect feedback. > This is what I got (from Hans). It refers to v1: --8<------------------------------------------------------------------------ If it stays like this, it already looks good. The designer uses 6 colors. Less is more. Example: background color of scroll menus -- the dark blue disturbs. Better would be 3 colors and using "sub color tones" of these. Font color ok. Font size ok. Design ok. Line height ok. Nicely thin... The images should all have the same left inner margin. This strikes the eye at the first image. That's it for now. Great that someone actually takes the initiative to develop a new design. --8<------------------------------------------------------------------------ These things strike the eye at a second glance [ see attached images ]: (1) Either all information left-align (my favourite) or all centered. Apparently the heading will be expanded if the gray-green text is longer. (2) These are apparently different orange tones -- one suffices. (3) Why two colors here? (4) This world is much too colorful! (5) See image. --8<------------------------------------------------------------------------ Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: im1.png Type: image/png Size: 16015 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: im2.png Type: image/png Size: 18953 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: im3.png Type: image/png Size: 11839 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: im4.png Type: image/png Size: 66824 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: im5.png Type: image/png Size: 38763 bytes Desc: not available URL: From bugtracker at ...3416... Thu Aug 27 15:38:21 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 13:38:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly Message-ID: Moviga TECHNOLOGIES reported a new bug. Summary ------- Format does not handle time separator correctly Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Language Description ----------- Print Format(Now, "hh:mm dd/mm/yyyy") 'Prints 15k08 27.08.2015 I would like to see a :, and not a k between hours and minutes :) From bugtracker at ...3416... Thu Aug 27 16:37:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 14:37:51 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: Indeed! At the moment, two different users can have the same name. From bugtracker at ...3416... Thu Aug 27 16:37:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 14:37:51 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Aug 27 16:40:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 14:40:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #1 by Jussi LAHTINEN: That doesn't make any sense, the output should be: 15:08 27/08/2015 I tested this with revision 7243 and the result was what is expected. How exactly you achieved that result? Can you give some more code? From bugtracker at ...3416... Thu Aug 27 16:45:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 14:45:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #2 by Moviga TECHNOLOGIES: It does happen inside the apps, but also just by entering it in the Gambas console. I pasted my system info now. Perhaps it is a locale issue? From bugtracker at ...3416... Thu Aug 27 17:18:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:18:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #3 by Jussi LAHTINEN: It's still odd, because Format() with user-defined format string should ignore localization. Can you uninstall Gambas, then run these (assuming you aren't using custom install path): sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local/bin/gambas3 sudo rm -f /usr/local/bin/gambas3.gambas sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/lib/gambas3 sudo rm -rf /usr/share/gambas3 sudo rm -f /usr/bin/gambas3 sudo rm -f /usr/bin/gambas3.gambas And install Gambas again? Also run command "locale" in your terminal, what does it give as output? From bugtracker at ...3416... Thu Aug 27 17:23:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:23:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #4 by ADMINISTRATOR: On the contrary: Format$() do follow the localization. This is a localization problem I'm trying to fix. From bugtracker at ...3416... Thu Aug 27 17:23:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:23:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Thu Aug 27 17:24:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:24:39 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= In-Reply-To: References: Message-ID: Comment #2 by Beno?t MINISINI: I display the login with the user name now. From bugtracker at ...3416... Thu Aug 27 17:24:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:24:40 GMT Subject: [Gambas-user] =?utf-8?q?=5BGambas_Bug_Tracker=5D_Bug_=23703=3A_co?= =?utf-8?q?nfused_with_others_Beno=C3=AEt_MINISINI?= In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Thu Aug 27 17:45:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:45:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #5 by Jussi LAHTINEN: Then what is the point of user-defined format? And why I see this: Format(Now, "-hh- -mm- -dd- -mm- -yyyy-") -18- -08- -27- -08- -2015- Doesn't seem to follow my or as far as I know ANY localization. From bugtracker at ...3416... Thu Aug 27 17:49:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:49:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #6 by Beno?t MINISINI: The separators are localized. But apparently is some language the notion of separator character is not evident. @JORNMO: can you tell us how you write date and time in norwegian? I want to confirm what I read in the system locale description, which is a bit strange for me. :-) From bugtracker at ...3416... Thu Aug 27 17:57:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:57:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #7 by Moviga TECHNOLOGIES: Aha! Now we are getting somewhere :) We write it like this: 17.55.12 27.08.2015, and this works. The problem with this is when I share my code with someone in the USA, it will not work. From bugtracker at ...3416... Thu Aug 27 17:58:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 15:58:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #8 by Moviga TECHNOLOGIES: that is hh.mm.ss dd.mm.yyyy works From bugtracker at ...3416... Thu Aug 27 18:01:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 16:01:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #705: Random indentation on very long lines Message-ID: Moviga TECHNOLOGIES reported a new bug. Summary ------- Random indentation on very long lines Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Try pasting these lines into a .class file and it gives a seemignly random indentaion on some lines when hitting CTRL+F: Private $sKeywords As String[] = ["APPEND", "AS", "BREAK", "BYREF", "CASE", "CATCH", "CLASS", "CLOSE", "CONST", "CONTINUE", "COPY", "CREATE", "DEBUG", "DEC", "DEFAULT", "DIM", "DO", "EACH", "ELSE", "END", "ENDIF", "ERROR", "EVENT", "EXEC", "EXPORT", "EXTERN", "FALSE", "FINALLY", "FLUSH", "FOR", "FUNCTION", "GOTO", "IF", "IN", "INC", "INHERITS", "INPUT", "FROM", "IS", "KILL", "LAST", "LIBRARY", "LIKE", "LINE INPUT", "LINK", "LOCK", "LOOP", "ME", "MKDIR", "MOVE", "NEW", "NEXT", "NULL", "OPEN", "OPTIONAL", "OUTPUT", "PIPE", "PRINT", "PRIVATE", "PROCEDURE", "PROPERTY", "PUBLIC", "QUIT", "RAISE", "RANDOMIZE", "READ", "REPEAT", "RETURN", "RMDIR", "SEEK", "SELECT", "SHELL", "SLEEP", "STATIC", "STEP", "STOP", "SUB", "SUPER", "SWAP", "THEN", "TO", "TRUE", "TRY", "UNLOCK", "UNTIL", "WAIT", "WATCH", "WEND", "WHILE", "WITH", "WRITE"] Private $sFunctions As String[] = ["Abs", "Access", "Acos", "Acosh", "Alloc", "Ang", "Asc", "ASin", "ASinh", "Asl", "Asr", "Assign", "Atan", "ATan2", "ATanh", "BChg", "BClr", "Bin", "BSet", "BTst", "CBool", "Cbr", "CByte", "CDate", "CFloat", "Choose", "Chr", "CInt", "CLong", "Comp", "Conv", "Cos", "Cosh", "CShort", "CSng", "CStr", "DateAdd", "DateDiff", "Day", "DConv", "Deg", "DFree", "Dir", "Eof", "Eval", "Exist", "Exp", "Exp10", "Exp2", "Expm", "Fix", "Format", "Frac", "Free", "Hex", "Hour", "Hyp", "Iif", "InStr", "Int", "IsAscii", "IsBlank", "IsBoolean", "IsByte", "IsDate", "IsDigit", "IsDir", "IsFloat", "IsHexa", "IsInteger", "IsLCase", "IsLetter", "IsLong", "IsNull", "IsNumber", "IsObject", "IsPunct", "IsShort", "IsSingle", "IsSpace", "IsString", "IsUCase", "IsVariant", "LCase", "Left", "Len", "Lof", "Log", "Log10", "Log2", "Logp", "Lsl", "Lsr", "LTrim", "Mag", "Max", "Mid", "Min", "Minute", "Month", "Now", "Quote", "Rad", "RDir", "Realloc", "Replace", "Right", "RInStr", "Rnd", "Rol", "Ror", "Round", "RTrim", "Scan", "SConv", "Second", "Seek", "Sgn", "Shl", "Shr", "Sin", "Sinh", "Space", "Split", "Sqr", "Stat", "Str", "StrPtr", "Subst", "Tan", "Tanh", "Temp$", "Time", "Timer", "Tr", "Trim", "TypeOf", "UCase", "Unquote", "Val", "VarPtr", "Week", "WeekDay", "Year"] Private $sStringFunctions As String[] = ["Bin$", "Chr$", "Conv$", "DConv$", "Format$", "Hex$", "LCase$", "Left$", "LTrim$", "Mid$", "Quote$", "Replace$", "Right$", "SConv$", "Space$", "Str$", "String$", "Subst$", "Tr$", "Trim$", "UCase$", "Unquote$"] Private $sDatatypes As String[] = ["Boolean", "Byte", "Short", "Integer", "Long", "Single", "Float", "Date", "String", "Variant", "Object", "Pointer", "File"] Private $sOperators As String[] = ["AND", "DIV", "MOD", "NOT", "OR", "XOR"] Private $sObjClss As String[] = ["Application", "Array", "Byte[]", "Collection", "Component", "Enum", "Observer", "Param", "Process", "Stream", "System", "User", "Chart", "Compress", "Crypt", "Blob", "Connection", "DB", "Database", "DatabaseUser", "Field", "Index", "Result", "ResultField", "Table", "DataBrowser", "DataCombo", "DataControl", "DataSource", "DataView", "Desktop", "DesktopFile", "Balloon", "ColorButton", "ColorChooser", "DateChooser", "DirChooser", "DirView", "Expander", "FileChooser", "FileView", "FontChooser", "InputBox", "ListContainer", "SidePanel", "Stock", "TableView", "ToolPanel", "ValueBox", "Wizard", "Dialog", "ToolBar", "WorkSpace", "DnsClient", "SerialPort", "ServerSocket", "Socket", "UdpSocket", "FtpClient", "HttpClient", "SmtpClient", "Regexp", "Action", "Button", "CheckBox", "ColumnView", "ComboBox", "Draw", "Container", "Control", "Cursor", "DrawingArea", "Embedder", "Font", "Form", "Frame", "GridView", "HBox", "HPanel", "HSplit", "IconView", "Image", "Key", "Label", "Line", "ListBox", "ListView", "Menu", "Message", "Mouse", "MovieBox", "Panel", "Picture", "PictureBox", "ProgressBar", "RadioButton", "ScrollBar", "ScrollView", "Separator", "Slider", "SpinBox", "TabStrip", "TextArea", "TextBox", "TextLabel", "ToggleButton", "TrayIcon", "TreeView", "VBox", "VPanel", "VSplit", "Watcher", "Window", "Dial", "Editor", "LCDNumber", "Printer", "TextEdit", "WebBrowser", "GLarea", "Report", "ReportCloner", "ReportContainer", "ReportControl", "ReportDrawing", "ReportField", "ReportHBox", "ReportImage", "ReportLabel", "ReportSection", "ReportSpecialField", "ReportTextLabel", "ReportVBox", "CDRom", "Channel", "Music", "Sound", "Settings", "VideoDevice", "Vb", "CGI", "HTML", "Request", "Response", "Session", "XmlDocument", "XmlNode", "XmlReader", "XmlReaderNodeType", "XmlWriter", "RpcArray", "RpcClient", "RpcFunction", "RpcServer", "RpcStruct", "RpcType", "XmlRpc", "Xslt"] Private $sConstants As String[] = ["Pi"] Private $sSymbols As String[] = ["&", "&=", "&/", "*", "*=", "+", "+=", "-", "-=", "//", "/", "/=", "=", "==", "\\", "\\=", "^", "^=", "[", "]", "{", "}", "<", ">", "<>", "<=", ">="] From bugtracker at ...3416... Thu Aug 27 18:01:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 16:01:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #705: Random indentation on very long lines In-Reply-To: References: Message-ID: Moviga TECHNOLOGIES added an attachment: random_indentation.png From bugtracker at ...3416... Thu Aug 27 18:05:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 16:05:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #9 by Beno?t MINISINI: So you say: 17.55.12 27.08.2015 And the glibc locale says that: kl. 18.03 +0200 27. aug. 2015 The Gambas interpreter tries to analyze the previous string to find the date and time separators, and in which order the date and time components must be printed. And it fails... I will try to write a more clever routine and will tell you... From bugtracker at ...3416... Thu Aug 27 18:14:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 16:14:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #10 by Jussi LAHTINEN: Would it be more intuitive if user-defined format would ignore localization, since there are already options gb.longdate, gb.shortdate etc for to follow different localizations? From bugtracker at ...3416... Thu Aug 27 19:20:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 17:20:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #11 by Beno?t MINISINI: I don't see where it is no intuitive. Anyway, nothing can be changed because of backward-compatibility principle. From bugtracker at ...3416... Thu Aug 27 19:21:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 17:21:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #12 by Beno?t MINISINI: I have implemented a new time and date format analyze routine in revision #7244. It fixes the norwegian case. But now how could I test all possible localization? At least it still works with french and english. :-) From bugtracker at ...3416... Thu Aug 27 19:21:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 17:21:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Thu Aug 27 19:33:10 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 17:33:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #13 by Moviga TECHNOLOGIES: Thank you :) From bugtracker at ...3416... Thu Aug 27 21:08:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 19:08:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #14 by Jussi LAHTINEN: Non-intuitive part comes from the fact that there is no way to know the result of Format function. Print Format(Now, "hh:mm dd/mm/yyyy") Gives either: 15.08 27/08/2015 15:08 27/08/2015 15.08 27.08.2015 15:08 27.08.2015 Or who knows what! Instead it would be logical that it gives what you describe it to give, which is without any ambiguity: 15:08 27/08/2015 From bugtracker at ...3416... Thu Aug 27 22:34:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 27 Aug 2015 20:34:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: Message-ID: Comment #15 by Beno?t MINISINI: It's because "/" and ":" are replaced by localizes separators. If you want only these characters, you have to quote them. Read the documentation of Format$() on the wiki: http://gambaswiki.org/wiki/cat/userformat From jussi.lahtinen at ...626... Fri Aug 28 00:35:29 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 01:35:29 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: I have a feeling this is not first time I get confused with that... So, this: Format(Now, "hh\\:mm dd\\/mm\\/yyyy") Yields this, ignoring localization: 15:08 27/08/2015 Documentation could be bit more specific how to quote the characters, there are other non-working options like \:\, or \:. Maybe the above could be one of the examples. Jussi On Thu, Aug 27, 2015 at 11:34 PM, wrote: > Comment #15 by Beno?t MINISINI: > > It's because "/" and ":" are replaced by localizes separators. If you want > only these characters, you have to quote them. > Read the documentation of Format$() on the wiki: > http://gambaswiki.org/wiki/cat/userformat > > > From Karl.Reinl at ...2345... Fri Aug 28 10:05:44 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 28 Aug 2015 10:05:44 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <1440749144.3622.7.camel@...40...> Am Freitag, den 28.08.2015, 01:35 +0300 schrieb Jussi Lahtinen: > I have a feeling this is not first time I get confused with that... > > So, this: > Format(Now, "hh\\:mm dd\\/mm\\/yyyy") > > Yields this, ignoring localization: > 15:08 27/08/2015 > > Documentation could be bit more specific how to quote the characters, there > are other non-working options like \:\, or \:. > Maybe the above could be one of the examples. > > > Jussi Salut Jussi, you made that GambasTester, why not strip down to a version which checks only the Date-Format, and ask to the list to send a list with their localisation string + Format(Now, "") + the expected result. So Beno?t can check easier the function. -- Amicalement Charlie From gambas at ...1... Fri Aug 28 12:30:13 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 28 Aug 2015 12:30:13 +0200 Subject: [Gambas-user] Different behaviour of Gambas 3.6.2 and Gambas 3.8 In-Reply-To: <55E00BD2.50303@...3490...> References: <55E00BD2.50303@...3490...> Message-ID: <55E03835.4050205@...1...> Le 28/08/2015 09:20, Wolfgang a ?crit : > Salut Beno?t! > > After intensive research I now have my program running again. I had some > purely written code, that worked in 3.6 and I could find the problems. > That was that my many windows could be resized and I was not correct in > my code there. That I could correct easily. I filled some arrays with > some wrong numbers and mixed something up. So the fault was clearly on > my side. Sorry for wasting your time there!! > > But I found 3 things (TabStrip, Socket and Print/Debug) that were done > in 3.6.2 different from 3.8. I have added a PDF which can show better > (and formatted) the differences. > > As explained there I used 3.6.2 AND 3.8 on identically Ubuntu 14.04 > machines. > > > Greetings from Bavaria/Germany > > Wolfgang Baumg?rtel Thanks, even if a mail is better than a PDF. 1) The background color behaviour is normally handled by the widget style, so I guess it's a change in the widget style, not in Gambas. 2) WAIT calls the event loop! So it can create any infinite recursion and/or undefined behaviour as soon as you call it inside an event handler. You should *never* use it in *any* event handler, unless you know exactly what you are doing. Which is never the case even with me. :-) You said that your stream is slow, and you want to wait half a second (!) before reading. You can use the SLEEP instruction instead, but it will stall your program during that period (read the doc.). Anyway you should not have to wait, the slowness of the stream should be handled by the OS. But maybe it depends on which device you read exactly. Without more details, I can't tell. 3) This is a bug in the console that prints ^I instead of a real tab character. It will be fixed in the next minor release. You can use a real console in the meantime. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 28 14:34:45 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 15:34:45 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <1440749144.3622.7.camel@...40...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> Message-ID: > you made that GambasTester, why not strip down to a version which checks > only the Date-Format, and ask to the list to send a list with their > localisation string + Format(Now, "") + the expected > result. > So Beno?t can check easier the function. > I would like GambasTester to test localizations, but I haven't find easy way to do that. Maybe some website has listed all the localizations... then I could: Select Case Application.Env["LC_TIME"] Case "en_US.UTF-8" If Format(Date(2000, 12, 24, 11, 40), "hh:nn dd/mm/yyyy") <> "11:40 24/12/2000" Then ... End Select But this kind of code could only test the localization you are currently using. However, it would be better than nothing... @ Moviga TECHNOLOGIES Your format string is malformed, it should be "hh:nn dd/mm/yyyy", not "hh:mm dd/mm/yyyy". Jussi From bugtracker at ...3416... Fri Aug 28 15:15:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 13:15:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #697: Changing(Rename) the e-mail name requires a validation In-Reply-To: References: Message-ID: Comment #1 by ADMINISTRATOR: Now I let the browser check the e-mail field. It's an HTML5 thing, so if your browser is too old, you will still able to enter what you want. Maybe I will add a server check later (which is the right thing to do anyway). From bugtracker at ...3416... Fri Aug 28 15:15:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 13:15:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #697: Changing(Rename) the e-mail name requires a validation In-Reply-To: References: Message-ID: ADMINISTRATOR changed the state of the bug to: Closed. From bugtracker at ...3416... Fri Aug 28 15:18:37 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 13:18:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Waiting. From bugtracker at ...3416... Fri Aug 28 15:20:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 13:20:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #705: Random indentation on very long lines In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Aug 28 15:21:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 13:21:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #705: Random indentation on very long lines In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: And there is another bug you didn't catch! The long lines are not correctly highlighted at their end. From Karl.Reinl at ...2345... Fri Aug 28 18:19:09 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 28 Aug 2015 18:19:09 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> Message-ID: <1440778749.3702.20.camel@...40...> > But this kind of code could only test the localization you are currently > using. However, it would be better than nothing... > Salut Jussi, do we need the localization ? We do not test the localization, we want testing the ability of the Format function. So we need a list of used Date/Time formats with the specific separators. The only problem will be to test written month names ex. 1. September 2015, because that depends of localization. Or am I totally wrong? -- Amicalement Charlie From jussi.lahtinen at ...626... Fri Aug 28 18:43:30 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 19:43:30 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <1440778749.3702.20.camel@...40...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> Message-ID: The point was, how do I test whether Format function works in some other language than what I'm currently using? Month names are not any bigger problem than the separators. How do I know which is the correct separator? Jussi On Fri, Aug 28, 2015 at 7:19 PM, Charlie Reinl wrote: > > But this kind of code could only test the localization you are currently > > using. However, it would be better than nothing... > > > Salut Jussi, > > do we need the localization ? We do not test the localization, we want > testing the ability of the Format function. So we need a list of used > Date/Time formats with the specific separators. > The only problem will be to test written month names ex. 1. September > 2015, because that depends of localization. > Or am I totally wrong? > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Aug 28 18:52:04 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 16:52:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #705: Random indentation on very long lines In-Reply-To: References: Message-ID: Comment #2 by Moviga TECHNOLOGIES: Aha :) Goodd catch! From taboege at ...626... Fri Aug 28 18:52:55 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 28 Aug 2015 18:52:55 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> Message-ID: <20150828165255.GB1123@...2774...> On Fri, 28 Aug 2015, Jussi Lahtinen wrote: > The point was, how do I test whether Format function works in some other > language than what I'm currently using? > Month names are not any bigger problem than the separators. How do I know > which is the correct separator? > (Sorry, I haven't really paid attention to the whole thread here and I'm no locale expert, so what I say may miss the point.) AFAICS you can use the C library's setlocale(3) function to set the locale of the Gambas process. If that doesn't work (haven't tested in a long time and remember I had some problems last time I tried that), you can at least set the LC_ALL environment variable prior to starting the Gambas project. As soon as the locale is set, you can use localeconv(3) to get a struct lconv which, according to locale(7), contains a field `decimal_point' where you find the decimal separator among lots of other information. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Aug 28 19:04:15 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Aug 2015 19:04:15 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <20150828165255.GB1123@...2774...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <20150828165255.GB1123@...2774...> Message-ID: <55E0948F.9050401@...1...> Le 28/08/2015 18:52, Tobias Boege a ?crit : > On Fri, 28 Aug 2015, Jussi Lahtinen wrote: >> The point was, how do I test whether Format function works in some other >> language than what I'm currently using? >> Month names are not any bigger problem than the separators. How do I know >> which is the correct separator? >> > > (Sorry, I haven't really paid attention to the whole thread here and I'm no > locale expert, so what I say may miss the point.) > > AFAICS you can use the C library's setlocale(3) function to set the locale > of the Gambas process. If that doesn't work (haven't tested in a long time > and remember I had some problems last time I tried that), you can at least > set the LC_ALL environment variable prior to starting the Gambas project. > > As soon as the locale is set, you can use localeconv(3) to get a struct > lconv which, according to locale(7), contains a field `decimal_point' where > you find the decimal separator among lots of other information. > > Regards, > Tobi > There is no concept of date/time separator in glibc locales. Moreover, if you write a date/time following a glibc language locale ABC, you will be often surprised by people speaking the ABC language tellign you that they do not write date/time that way. First example: French. Second recent example: Norwegian. Maybe this is the reason why KDE does not use glibc locales, but its own system. As for Gambas, I don't think you can automate date/format testing. You have to: - Install every language support package possible! - Find one person for each language that will check if the date/time printed by Gambas has a sense for it. So it will be as until now: I will wait for bug reports... Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 28 19:21:54 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 20:21:54 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <55E0948F.9050401@...1...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <20150828165255.GB1123@...2774...> <55E0948F.9050401@...1...> Message-ID: On Fri, Aug 28, 2015 at 8:04 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 28/08/2015 18:52, Tobias Boege a ?crit : > > On Fri, 28 Aug 2015, Jussi Lahtinen wrote: > >> The point was, how do I test whether Format function works in some other > >> language than what I'm currently using? > >> Month names are not any bigger problem than the separators. How do I > know > >> which is the correct separator? > >> > > > > (Sorry, I haven't really paid attention to the whole thread here and I'm > no > > locale expert, so what I say may miss the point.) > > > > AFAICS you can use the C library's setlocale(3) function to set the > locale > > of the Gambas process. If that doesn't work (haven't tested in a long > time > > and remember I had some problems last time I tried that), you can at > least > > set the LC_ALL environment variable prior to starting the Gambas project. > > > > As soon as the locale is set, you can use localeconv(3) to get a struct > > lconv which, according to locale(7), contains a field `decimal_point' > where > > you find the decimal separator among lots of other information. > > > > Regards, > > Tobi > > > > There is no concept of date/time separator in glibc locales. > > Moreover, if you write a date/time following a glibc language locale > ABC, you will be often surprised by people speaking the ABC language > tellign you that they do not write date/time that way. > > First example: French. > Second recent example: Norwegian. > > Maybe this is the reason why KDE does not use glibc locales, but its own > system. > > As for Gambas, I don't think you can automate date/format testing. > > You have to: > > - Install every language support package possible! > > - Find one person for each language that will check if the date/time > printed by Gambas has a sense for it. > > So it will be as until now: I will wait for bug reports... > Yes exactly. I think I will do some general sanity check for the Format function. So at least we would catch k's etc as a separator, if enough people would install the GambasTester. Jussi From jussi.lahtinen at ...626... Fri Aug 28 19:47:29 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 20:47:29 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <20150828165255.GB1123@...2774...> <55E0948F.9050401@...1...> Message-ID: OK, new version of GambasTester will check the separators. Now accepted are ";" and "." for time, and "/" and "." for date. Is there any other valid separators? Jussi On Fri, Aug 28, 2015 at 8:21 PM, Jussi Lahtinen wrote: > > > On Fri, Aug 28, 2015 at 8:04 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 28/08/2015 18:52, Tobias Boege a ?crit : >> > On Fri, 28 Aug 2015, Jussi Lahtinen wrote: >> >> The point was, how do I test whether Format function works in some >> other >> >> language than what I'm currently using? >> >> Month names are not any bigger problem than the separators. How do I >> know >> >> which is the correct separator? >> >> >> > >> > (Sorry, I haven't really paid attention to the whole thread here and >> I'm no >> > locale expert, so what I say may miss the point.) >> > >> > AFAICS you can use the C library's setlocale(3) function to set the >> locale >> > of the Gambas process. If that doesn't work (haven't tested in a long >> time >> > and remember I had some problems last time I tried that), you can at >> least >> > set the LC_ALL environment variable prior to starting the Gambas >> project. >> > >> > As soon as the locale is set, you can use localeconv(3) to get a struct >> > lconv which, according to locale(7), contains a field `decimal_point' >> where >> > you find the decimal separator among lots of other information. >> > >> > Regards, >> > Tobi >> > >> >> There is no concept of date/time separator in glibc locales. >> >> Moreover, if you write a date/time following a glibc language locale >> ABC, you will be often surprised by people speaking the ABC language >> tellign you that they do not write date/time that way. >> >> First example: French. >> Second recent example: Norwegian. >> >> Maybe this is the reason why KDE does not use glibc locales, but its own >> system. >> >> As for Gambas, I don't think you can automate date/format testing. >> >> You have to: >> >> - Install every language support package possible! >> >> - Find one person for each language that will check if the date/time >> printed by Gambas has a sense for it. >> >> So it will be as until now: I will wait for bug reports... >> > > > Yes exactly. > I think I will do some general sanity check for the Format function. So at > least we would catch k's etc as a separator, if enough people would install > the GambasTester. > > > > Jussi > > From jussi.lahtinen at ...626... Fri Aug 28 19:48:01 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Aug 2015 20:48:01 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <20150828165255.GB1123@...2774...> <55E0948F.9050401@...1...> Message-ID: Sorry, not ";", but ":". Jussi On Fri, Aug 28, 2015 at 8:47 PM, Jussi Lahtinen wrote: > OK, new version of GambasTester will check the separators. Now accepted > are ";" and "." for time, and "/" and "." for date. > Is there any other valid separators? > > > Jussi > > > > On Fri, Aug 28, 2015 at 8:21 PM, Jussi Lahtinen > wrote: > >> >> >> On Fri, Aug 28, 2015 at 8:04 PM, Beno?t Minisini < >> gambas at ...1...> wrote: >> >>> Le 28/08/2015 18:52, Tobias Boege a ?crit : >>> > On Fri, 28 Aug 2015, Jussi Lahtinen wrote: >>> >> The point was, how do I test whether Format function works in some >>> other >>> >> language than what I'm currently using? >>> >> Month names are not any bigger problem than the separators. How do I >>> know >>> >> which is the correct separator? >>> >> >>> > >>> > (Sorry, I haven't really paid attention to the whole thread here and >>> I'm no >>> > locale expert, so what I say may miss the point.) >>> > >>> > AFAICS you can use the C library's setlocale(3) function to set the >>> locale >>> > of the Gambas process. If that doesn't work (haven't tested in a long >>> time >>> > and remember I had some problems last time I tried that), you can at >>> least >>> > set the LC_ALL environment variable prior to starting the Gambas >>> project. >>> > >>> > As soon as the locale is set, you can use localeconv(3) to get a struct >>> > lconv which, according to locale(7), contains a field `decimal_point' >>> where >>> > you find the decimal separator among lots of other information. >>> > >>> > Regards, >>> > Tobi >>> > >>> >>> There is no concept of date/time separator in glibc locales. >>> >>> Moreover, if you write a date/time following a glibc language locale >>> ABC, you will be often surprised by people speaking the ABC language >>> tellign you that they do not write date/time that way. >>> >>> First example: French. >>> Second recent example: Norwegian. >>> >>> Maybe this is the reason why KDE does not use glibc locales, but its own >>> system. >>> >>> As for Gambas, I don't think you can automate date/format testing. >>> >>> You have to: >>> >>> - Install every language support package possible! >>> >>> - Find one person for each language that will check if the date/time >>> printed by Gambas has a sense for it. >>> >>> So it will be as until now: I will wait for bug reports... >>> >> >> >> Yes exactly. >> I think I will do some general sanity check for the Format function. So >> at least we would catch k's etc as a separator, if enough people would >> install the GambasTester. >> >> >> >> Jussi >> >> > From bugtracker at ...3416... Fri Aug 28 20:11:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 18:11:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Comment #2 by Jussi LAHTINEN: It seems to apply to both GTK+ v2 and Qt4. [System] Gambas=3.8.90 r7243 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=7985M [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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5kupgu7GYY,guid=c7ece75189f7cb14464eab7555e04db8 DEFAULTS_PATH=/usr/share/gconf/default.default.path DESKTOP_SESSION=default DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=default GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=19235 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-q8iksZ GPG_AGENT_INFO=/run/user/1000/keyring-q8iksZ/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/default.mandatory.path MDMSESSION=default MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim SESSION_MANAGER=local/:@/tmp/.ICE-unix/1576,unix/:/tmp/.ICE-unix/1576 SHELL=/bin/bash SSH_AGENT_PID=1650 SSH_AUTH_SOCK=/run/user/1000/keyring-q8iksZ/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1440763319.758703-1355007866 XDG_SESSION_DESKTOP=default XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@...3498...=none From bugtracker at ...3416... Fri Aug 28 20:12:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 18:12:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Jussi LAHTINEN added an attachment: Ampersand-0.0.1.tar.gz From bugtracker at ...3416... Fri Aug 28 22:56:20 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 20:56:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Comment #3 by Beno?t MINISINI: What's wrong with this project exactly? From bugtracker at ...3416... Sat Aug 29 00:10:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 22:10:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Comment #4 by Jussi LAHTINEN: It looks different in design mode (IDE) than in run time. Look attached picture (ignore green tint). But for some reason when I close the project and re-open it, the button texts have changed... Texts were "hi & bye", "hi && bye" and "hi &&& bye". From bugtracker at ...3416... Sat Aug 29 00:10:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Aug 2015 22:10:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Jussi LAHTINEN added an attachment: Screenshot from 2015-08-29 01:07:13.png From Karl.Reinl at ...2345... Sat Aug 29 00:10:46 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 29 Aug 2015 00:10:46 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> Message-ID: <1440799846.7297.6.camel@...40...> Am Freitag, den 28.08.2015, 19:43 +0300 schrieb Jussi Lahtinen: > The point was, how do I test whether Format function works in some other > language than what I'm currently using? > Month names are not any bigger problem than the separators. How do I know > which is the correct separator? > > > Jussi > Salut Jussi, correct me if I go wrong, I still don't see for what we need the localization. Having a Date or Date/Time and we want to format it, where we need localisation there for. Using german date is Format(now(),"dd.mm.yyyy") but I also can write Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') Please enlighten me, I can't see the usage of localization in that converting. -- Amicalement Charlie From gambas at ...1... Sat Aug 29 01:04:37 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 01:04:37 +0200 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> Message-ID: <55E0E905.7070506@...1...> Le 18/08/2015 23:41, adamnt42 at ...626... a ?crit : > On Tue, 18 Aug 2015 16:56:48 +0300 > Jussi Lahtinen wrote: > >> I tested packaging with revision 7222. In vendor name "-" is translated as >> "_". I have some vague image in my head that this was done to comply with >> some linux standard. >> But I don't see *anything *get prefixed with "gambas"?? >> > a) there is no such standard. > b) it only happens with component projects - see attached pic >> >> I dont need all my project directories named "paddys-hill.something" I know >>> who we are. >>> >> >> I don't understand this. You are free to use any unix name for your >> directories..? >> > Again see the attached. Hi, Can you try revision #7245 and tell me if it is fine for you? Now a component project can have any name you want. Then the packager will internally prefix the project name with the vendor name if not present, so that he is sure to create a component name and a package name that do not collide with another one from a different vendor. The other requirement on hyphens still remains. For example, if your project is "newgrid2" and your vendor name is "Paddys-Hill", then: - The component will be visible as "paddys-hill.newgrid2" - The package name will be "gambas3-paddys_hill-newgrid2" Regards, -- Beno?t Minisini From gambas at ...1... Sat Aug 29 01:05:12 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 01:05:12 +0200 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <55E0E905.7070506@...1...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> <55E0E905.7070506@...1...> Message-ID: <55E0E928.1020603@...1...> Le 29/08/2015 01:04, Beno?t Minisini a ?crit : > Le 18/08/2015 23:41, adamnt42 at ...626... a ?crit : >> On Tue, 18 Aug 2015 16:56:48 +0300 >> Jussi Lahtinen wrote: >> >>> I tested packaging with revision 7222. In vendor name "-" is >>> translated as >>> "_". I have some vague image in my head that this was done to comply >>> with >>> some linux standard. >>> But I don't see *anything *get prefixed with "gambas"?? >>> >> a) there is no such standard. >> b) it only happens with component projects - see attached pic >>> >>> I dont need all my project directories named "paddys-hill.something" >>> I know >>>> who we are. >>>> >>> >>> I don't understand this. You are free to use any unix name for your >>> directories..? >>> >> Again see the attached. > > Hi, > > Can you try revision #7245 and tell me if it is fine for you? > > Now a component project can have any name you want. > > Then the packager will internally prefix the project name with the > vendor name if not present, so that he is sure to create a component > name and a package name that do not collide with another one from a > different vendor. > > The other requirement on hyphens still remains. > > For example, if your project is "newgrid2" and your vendor name is > "Paddys-Hill", then: > > - The component will be visible as "paddys-hill.newgrid2" > - The package name will be "gambas3-paddys_hill-newgrid2" > > Regards, > If it is ok for you, I will make a Gambas 3.8.1 release as soon as possible. -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 29 03:22:43 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Aug 2015 04:22:43 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <1440799846.7297.6.camel@...40...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> Message-ID: > correct me if I go wrong, I still don't see for what we need the > localization. > Having a Date or Date/Time and we want to format it, where we need > localisation there for. > > Using german date is Format(now(),"dd.mm.yyyy") but I also can write > Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also > Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') > Please enlighten me, I can't see the usage of localization in that > converting. > How I supposed to verify output of Format(now(),"mm/dd/yyyy") ? Correct result can be 08.29.2015 or 08/29/2015 depending on the localization (or even something completely different). Jussi From Karl.Reinl at ...2345... Sat Aug 29 11:08:16 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 29 Aug 2015 11:08:16 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> Message-ID: <1440839296.3607.3.camel@...40...> Am Samstag, den 29.08.2015, 04:22 +0300 schrieb Jussi Lahtinen: > > correct me if I go wrong, I still don't see for what we need the > > localization. > > Having a Date or Date/Time and we want to format it, where we need > > localisation there for. > > > > Using german date is Format(now(),"dd.mm.yyyy") but I also can write > > Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also > > Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') > > Please enlighten me, I can't see the usage of localization in that > > converting. > > > > How I supposed to verify output of Format(now(),"mm/dd/yyyy") ? > Correct result can be 08.29.2015 or 08/29/2015 depending on the > localization (or even something completely different). > > > Jussi Salut Jussi, attached you a quick hack who shows that the Format don't use the localization. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: DateTimeChk-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4305 bytes Desc: not available URL: From gambas at ...1... Sat Aug 29 11:55:05 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 11:55:05 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <1440839296.3607.3.camel@...40...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> <1440839296.3607.3.camel@...40...> Message-ID: <55E18179.4050207@...1...> Le 29/08/2015 11:08, Charlie Reinl a ?crit : > Am Samstag, den 29.08.2015, 04:22 +0300 schrieb Jussi Lahtinen: >>> correct me if I go wrong, I still don't see for what we need the >>> localization. >>> Having a Date or Date/Time and we want to format it, where we need >>> localisation there for. >>> >>> Using german date is Format(now(),"dd.mm.yyyy") but I also can write >>> Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also >>> Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') >>> Please enlighten me, I can't see the usage of localization in that >>> converting. >>> >> >> How I supposed to verify output of Format(now(),"mm/dd/yyyy") ? >> Correct result can be 08.29.2015 or 08/29/2015 depending on the >> localization (or even something completely different). >> >> >> Jussi > > Salut Jussi, > > attached you a quick hack who shows that the Format don't > use the localization. > For the last time, Format$() *does* use the localization settings, as explicitly stated in the documentation. But it uses them for its special formatting characters only. Non-special characters are just inserted as is in the resulting string. If you want to write translatable date/time code, you have to use pre-defined date formats (gb.GeneralDate and ). If none of the pre-defined formats fit your needs, then you have to create your own by: 1) Determining the order of date and time components by analysing the formatting of a cleverly chosen date with gb.ShortDate and gb.ShortTime. See the source code of DateChooser control for the details. 2) Using the "/" and ":" formatting characters in the format string. Regards, -- Beno?t Minisini From gambas at ...1... Sat Aug 29 12:15:23 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 12:15:23 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <55E18179.4050207@...1...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> <1440839296.3607.3.camel@...40...> <55E18179.4050207@...1...> Message-ID: <55E1863B.4000200@...1...> Le 29/08/2015 11:55, Beno?t Minisini a ?crit : > > For the last time, Format$() *does* use the localization settings, as > explicitly stated in the documentation. > > But it uses them for its special formatting characters only. Non-special > characters are just inserted as is in the resulting string. > > If you want to write translatable date/time code, you have to use > pre-defined date formats (gb.GeneralDate and ). > > If none of the pre-defined formats fit your needs, then you have to > create your own by: > > 1) Determining the order of date and time components by analysing the > formatting of a cleverly chosen date with gb.ShortDate and gb.ShortTime. > See the source code of DateChooser control for the details. > > 2) Using the "/" and ":" formatting characters in the format string. > > Regards, > I have update the wiki with that information. http://gambaswiki.org/wiki/doc/locale Regards, -- Beno?t Minisini From adamnt42 at ...626... Sat Aug 29 14:08:38 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 29 Aug 2015 21:38:38 +0930 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <55E0E928.1020603@...1...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> <55E0E905.7070506@...1...> <55E0E928.1020603@...1...> Message-ID: <20150829213838.f76b2f34738c84f44f981ec7@...626...> On Sat, 29 Aug 2015 01:05:12 +0200 Beno?t Minisini wrote: > > Hi, > > > > Can you try revision #7245 and tell me if it is fine for you? > > > > Now a component project can have any name you want. > > > > Then the packager will internally prefix the project name with the > > vendor name if not present, so that he is sure to create a component > > name and a package name that do not collide with another one from a > > different vendor. > > > > The other requirement on hyphens still remains. > > > > For example, if your project is "newgrid2" and your vendor name is > > "Paddys-Hill", then: > > > > - The component will be visible as "paddys-hill.newgrid2" > > - The package name will be "gambas3-paddys_hill-newgrid2" > > > > Regards, > > > > If it is ok for you, I will make a Gambas 3.8.1 release as soon as possible. > > -- > Beno?t Minisini > Of course, it is up to you. The package naming we can cope with. (Our installer now reverses the underscores to hyphens). The only concern I have is the component naming scheme. I understand the rationale - so our "newgrid2" doesn't collide with say Tobi's "newgrid2". However, I have some fear that due to the internal naming of the component (within the installed library) that we will be up for some serious effort supporting existing clients. This is because, as I understand it at present, if we make a change to "newgrid2" and release it, then all the application level projects at all client sites will need to be changed to use the "paddys-hill.newgrid2" component. Such is life. I can see how this will be beneficial should such naming collisions occur. I will adjust our thinking to comply. best regards bruce p.s. BUT! Be aware that I have now filed a patent application to the MegaDodo Publications Bureau Corporation claiming all rights to the "ph." prefix (apparently there is prior art on the "gb." prefix.) Any violations will result in the usual Vogon poetical justice! -- B Bruen From gambas at ...1... Sat Aug 29 14:29:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 14:29:48 +0200 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <20150829213838.f76b2f34738c84f44f981ec7@...626...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> <55E0E905.7070506@...1...> <55E0E928.1020603@...1...> <20150829213838.f76b2f34738c84f44f981ec7@...626...> Message-ID: <55E1A5BC.4060407@...1...> Le 29/08/2015 14:08, adamnt42 at ...626... a ?crit : > On Sat, 29 Aug 2015 01:05:12 +0200 Beno?t Minisini > wrote: > > >>> Hi, >>> >>> Can you try revision #7245 and tell me if it is fine for you? >>> >>> Now a component project can have any name you want. >>> >>> Then the packager will internally prefix the project name with >>> the vendor name if not present, so that he is sure to create a >>> component name and a package name that do not collide with >>> another one from a different vendor. >>> >>> The other requirement on hyphens still remains. >>> >>> For example, if your project is "newgrid2" and your vendor name >>> is "Paddys-Hill", then: >>> >>> - The component will be visible as "paddys-hill.newgrid2" - The >>> package name will be "gambas3-paddys_hill-newgrid2" >>> >>> Regards, >>> >> >> If it is ok for you, I will make a Gambas 3.8.1 release as soon as >> possible. >> >> -- Beno?t Minisini >> > > > Of course, it is up to you. The package naming we can cope with. (Our > installer now reverses the underscores to hyphens). > > The only concern I have is the component naming scheme. I understand > the rationale - so our "newgrid2" doesn't collide with say Tobi's > "newgrid2". However, I have some fear that due to the internal naming > of the component (within the installed library) that we will be up > for some serious effort supporting existing clients. This is because, > as I understand it at present, if we make a change to "newgrid2" and > release it, then all the application level projects at all client > sites will need to be changed to use the "paddys-hill.newgrid2" > component. > > Such is life. I can see how this will be beneficial should such > naming collisions occur. I will adjust our thinking to comply. > > best regards bruce > > p.s. BUT! Be aware that I have now filed a patent application to the > MegaDodo Publications Bureau Corporation claiming all rights to the > "ph." prefix (apparently there is prior art on the "gb." prefix.) Any > violations will result in the usual Vogon poetical justice! > It was a bug that you could name a component just "newgrid2". PRefixing component with the vendor name was always the goal, to avoid collision. And yes, maybe I should make a distinction between the vendor full name ("gambas" / "paddys-hill") and the vendor prefix ("gb", "ph") for component and package names. If I have time I will add it. As for the use of "ph" prefix, just claim it so that nobody else uses it for its own public binary component packages. Regards, -- Beno?t Minisini From moviga at ...3488... Sat Aug 29 15:07:48 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 29 Aug 2015 15:07:48 +0200 Subject: [Gambas-user] =?utf-8?q?Mistake_in_Datasource=2Efilter_help=3F?= Message-ID: http://gambaswiki.org/wiki/comp/gb.db.form/datasource/filter says: Datasource.Filter = DB.Subst("Field &1", Text) Should it not be Field=&1 ??? From gambas at ...1... Sat Aug 29 15:28:08 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Aug 2015 15:28:08 +0200 Subject: [Gambas-user] Mistake in Datasource.filter help? In-Reply-To: References: Message-ID: <55E1B368.1010104@...1...> Le 29/08/2015 15:07, Moviga Technologies a ?crit : > http://gambaswiki.org/wiki/comp/gb.db.form/datasource/filter says: > > Datasource.Filter = DB.Subst("Field &1", Text) > > Should it not be Field=&1 ??? > Fixed. -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Aug 29 15:51:20 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 29 Aug 2015 15:51:20 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <55E18179.4050207@...1...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> <1440839296.3607.3.camel@...40...> <55E18179.4050207@...1...> Message-ID: <1440856280.3605.17.camel@...40...> Am Samstag, den 29.08.2015, 11:55 +0200 schrieb Beno?t Minisini: > Le 29/08/2015 11:08, Charlie Reinl a ?crit : > > Am Samstag, den 29.08.2015, 04:22 +0300 schrieb Jussi Lahtinen: > >>> correct me if I go wrong, I still don't see for what we need the > >>> localization. > >>> Having a Date or Date/Time and we want to format it, where we need > >>> localisation there for. > >>> > >>> Using german date is Format(now(),"dd.mm.yyyy") but I also can write > >>> Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also > >>> Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') > >>> Please enlighten me, I can't see the usage of localization in that > >>> converting. > >>> > >> > >> How I supposed to verify output of Format(now(),"mm/dd/yyyy") ? > >> Correct result can be 08.29.2015 or 08/29/2015 depending on the > >> localization (or even something completely different). > >> > >> > >> Jussi > > > > Salut Jussi, > > > > attached you a quick hack who shows that the Format don't > > use the localization. > > > > For the last time, Format$() *does* use the localization settings, as > explicitly stated in the documentation. > > But it uses them for its special formatting characters only. Non-special > characters are just inserted as is in the resulting string. > > If you want to write translatable date/time code, you have to use > pre-defined date formats (gb.GeneralDate and ). > > If none of the pre-defined formats fit your needs, then you have to > create your own by: > > 1) Determining the order of date and time components by analysing the > formatting of a cleverly chosen date with gb.ShortDate and gb.ShortTime. > See the source code of DateChooser control for the details. > > 2) Using the "/" and ":" formatting characters in the format string. > > Regards, > Ok, understood. Both Format$() and Format() use it Debug sLangu;; "Now()="; Now();; "Format$="; Format$(Now(), "dd/mm/yyyy hh:nn:ss.uu");; " Format="; Format(Now(), "dd/mm/yyyy hh:nn:ss.uu") MMain.Main.19: en_CA.UTF-8 Now()=2015-08-29 15:38:55 Format$=29-08-2015 15:38:55.457 Format=29-08-2015 15:38:55.457 ------------------------------------ Debug sLangu; gb.NewLine & gb.Tab; "Now()="; Now(); gb.NewLine & gb.Tab; "Format$="; Format$(Now(), "dd/mm/yyyy hh:nn:ss.uu"); gb.NewLine & gb.Tab; " Format="; Format(Now(), "dd/mm/yyyy hh:nn:ss.uu") MMain.Main.20: en_CA.UTF-8 Now()=2015-08-29 15:38:55 Format$=29-08-2015 15:38:55.457 Format=29-08-2015 15:38:55.457 -- Amicalement Charlie From jussi.lahtinen at ...626... Sat Aug 29 16:30:05 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Aug 2015 17:30:05 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly In-Reply-To: <1440856280.3605.17.camel@...40...> References: <55df7457.05b8c20a.e78ab.fffff00eSMTPIN_ADDED_BROKEN@...2392...> <1440749144.3622.7.camel@...40...> <1440778749.3702.20.camel@...40...> <1440799846.7297.6.camel@...40...> <1440839296.3607.3.camel@...40...> <55E18179.4050207@...1...> <1440856280.3605.17.camel@...40...> Message-ID: > Ok, understood. Both Format$() and Format() use it > > Debug sLangu;; "Now()="; Now();; "Format$="; Format$(Now(), "dd/mm/yyyy > hh:nn:ss.uu");; " Format="; Format(Now(), "dd/mm/yyyy hh:nn:ss.uu") > > MMain.Main.19: en_CA.UTF-8 Now()=2015-08-29 15:38:55 Format$=29-08-2015 > 15:38:55.457 Format=29-08-2015 15:38:55.457 > ------------------------------------ > Debug sLangu; gb.NewLine & gb.Tab; "Now()="; Now(); gb.NewLine & gb.Tab; > "Format$="; Format$(Now(), "dd/mm/yyyy hh:nn:ss.uu"); gb.NewLine & > gb.Tab; " Format="; Format(Now(), "dd/mm/yyyy hh:nn:ss.uu") > > > MMain.Main.20: en_CA.UTF-8 > Now()=2015-08-29 15:38:55 > Format$=29-08-2015 15:38:55.457 > Format=29-08-2015 15:38:55.457 > Format() and Format$() are actually the same function (synonym). See latest GambasTester if you like to see how I implemented localization independent test for date formats (begins from row 999). Not perfect but it will catch rubbish outputs for the separators. Jussi From moviga at ...3488... Sat Aug 29 19:35:24 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 29 Aug 2015 19:35:24 +0200 Subject: [Gambas-user] =?utf-8?q?Files_=22missing=3F=22_when_compiling_Gam?= =?utf-8?q?bas=2E?= Message-ID: Hi! When I compile Gambas I notice that the following files are missing: usr/lib/gambas3/gb.desktop.gnome.* usr/share/gambas3/info/gb.desktop.gnome.* usr/lib/gambas3/gb.sdl2.audio.* usr/share/gambas3/info/gb.sdl2.audio.* usr/share/gambas3/info/gb.{geom,draw}.* Could I possibly have missed some dependencies, or is something wrong going on with compilation? From jussi.lahtinen at ...626... Sat Aug 29 21:05:08 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Aug 2015 22:05:08 +0300 Subject: [Gambas-user] Files "missing?" when compiling Gambas. In-Reply-To: References: Message-ID: Please follow the instructions to report compiling problems. http://gambaswiki.org/wiki/doc/report#t3 Jussi On Sat, Aug 29, 2015 at 8:35 PM, Moviga Technologies wrote: > Hi! > > When I compile Gambas I notice that the following files are missing: > > usr/lib/gambas3/gb.desktop.gnome.* > usr/share/gambas3/info/gb.desktop.gnome.* > > usr/lib/gambas3/gb.sdl2.audio.* > usr/share/gambas3/info/gb.sdl2.audio.* > > usr/share/gambas3/info/gb.{geom,draw}.* > > Could I possibly have missed some dependencies, or is something wrong > going on with compilation? > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Sun Aug 30 00:20:09 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 30 Aug 2015 00:20:09 +0200 Subject: [Gambas-user] =?utf-8?q?Files_=22missing=3F=22_when_compiling_Gam?= =?utf-8?q?bas=2E?= In-Reply-To: References: Message-ID: Well, I just wanted to make sure that this is not normal behaviour before reporting a bug. For example that the wiki is not up to date with regards to the files listed. From moviga at ...3488... Sun Aug 30 01:33:17 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 30 Aug 2015 01:33:17 +0200 Subject: [Gambas-user] =?utf-8?q?Files_=22missing=3F=22_when_compiling_Gam?= =?utf-8?q?bas=2E?= In-Reply-To: References: Message-ID: For some reason unbeknownst to me, the sdl2.audio files now came a live. As for the gb.desktop.gnome.*, I think that should be a mistake with the Wiki, as it is not listed amongst the components here: http://gambaswiki.org/wiki/comp For the geom and draw's .list and .info, I guess Beno?t must answer if they should be present? From bugtracker at ...3416... Sun Aug 30 02:58:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Aug 2015 00:58:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #688: RegExp causes Memory segmentation error 11 In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: Fixed in revision #7251. From bugtracker at ...3416... Sun Aug 30 02:58:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Aug 2015 00:58:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #688: RegExp causes Memory segmentation error 11 In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From bugtracker at ...3416... Sun Aug 30 04:09:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Aug 2015 02:09:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Comment #5 by Beno?t MINISINI: It should be fixed in revision #7253. "&&" and "& " are not considered as shortcuts anymore by the IDE, and so they are correctly saved. But the GUI toolkit will, and so "& " will display a space with an underscore, and "&&" will display a "&". From bugtracker at ...3416... Sun Aug 30 04:09:18 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Aug 2015 02:09:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #701: Ampersand in button text only works in the designer In-Reply-To: References: Message-ID: Beno?t MINISINI changed the state of the bug to: Closed. From gambas at ...1... Sun Aug 30 15:21:35 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Aug 2015 15:21:35 +0200 Subject: [Gambas-user] I am getting really irritated. In-Reply-To: <55E1A5BC.4060407@...1...> References: <20150818135233.7f2ae32a6548fc5614a758d5@...626...> <20150819071102.240b15aa4cc8526f8c3ae19e@...626...> <55E0E905.7070506@...1...> <55E0E928.1020603@...1...> <20150829213838.f76b2f34738c84f44f981ec7@...626...> <55E1A5BC.4060407@...1...> Message-ID: <55E3035F.4070109@...1...> Hi, I have added support for vendor prefix in revision #7256. Moreover, I rewrote the package naming algorithm, so that it can be build differently for each distribution. At the moment, the routine is the same for all: everything is converted to lower case, every diacritic is removed, and all non alphanumeric characters are replaced by hyphens. Not underscore anymore! This was a RPM-only requirement that actually seems not to be a requirement. So I think I can use hyphens everywhere. Please tell me if everything works for you. I have tested every package type but Arch. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sun Aug 30 23:04:32 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Aug 2015 21:04:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #706: Drag&Drop in Project view Message-ID: Moviga TECHNOLOGIES reported a new bug. Summary ------- Drag&Drop in Project view Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Requesting Drag&Drop in Project View for folders, classes, modules, files, etc. for the purpose of rearranging them. From rterry at ...1823... Mon Aug 31 00:39:37 2015 From: rterry at ...1823... (richard terry) Date: Mon, 31 Aug 2015 08:39:37 +1000 Subject: [Gambas-user] Gambas 3.8 ?safe to use in production env Message-ID: <55E38629.2060407@...1823...> Hi List, I'm running 3.7.1 at work on my network Mint 17.1 or 17.2. The update manager tells me 3.8.x is available for download, is it safe to use this? anyone experienced any problems. Regards Richard From adrien.prokopowicz at ...626... Mon Aug 31 00:48:39 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 31 Aug 2015 00:48:39 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: <20150827101235.GA653@...2774...> References: <20150822152721.GD952@...2774...> <20150827101235.GA653@...2774...> Message-ID: So, with all this feedback, I refined the design a little bit, and here is the result. :) I focused mainly on fixing the colors used on the page. As Hans pointed out, they weren't very coherent. I now only use tones of the three main colors (blue, orange and white), and I also tweaked the orange again, so tell me if it hurts your eyes too much. Also, rather than completely removing the borders (as Beno?t suggested), I tried another approach using shadows instead, which definitely look better (at least to me). I reworked the semantics a bit, which fixed the rendering on text-based browsers. But keep in mind that as this is just a mockup, metadata and media queries will be fully implemented later. ;) > (3) Why two colors here? The two colors were here to help distinguishing the first "pinned" article, and the others. But I refined the design in the latest version, so it should look better now. > (5) See image. I don't see any problem here, so I'm assuming that you don't like the border-hover-effect ? I personally find it nice, it helps seeing what row we're clicking on. > The article part take all the width ... what about having a farm last > improved elements ? I thought about that, and I tried having a "farm spotlight" section, but it caused two problems : - Because it halves the size of both sections, there is way less space for the content. It looks okay-ish on my 1366px-wide screen, bad on my 4:3 1280px-wide screen, and ridiculous below. And I made the design so I could target 900px as the minimal width before switching to mobile mode, so that was actually a big problem. - It just makes too much content on the page. The amount of text there is currently is okay I think, if I put more I feel like I'm looking at a dashboard rather than a presentation page. > I think you must decrease the alpha level on article info elements(date > & by) I remade these, but I removed the background and used a brighter font color instead. Tell me what you think. That's it for this revision. If you have any more feedback I will gladly take it, in the meantime I'm going back to work on my back-end components. :) Regards, -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v3.tar.gz Type: application/x-gzip Size: 319257 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Mon Aug 31 00:52:36 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 31 Aug 2015 00:52:36 +0200 Subject: [Gambas-user] Gambas Website Mockups In-Reply-To: References: <20150822152721.GD952@...2774...> <20150827101235.GA653@...2774...> Message-ID: And here is the usual screenshot ! -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-website-v3.png Type: image/png Size: 180350 bytes Desc: not available URL: From gambas at ...1... Mon Aug 31 01:07:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 31 Aug 2015 01:07:48 +0200 Subject: [Gambas-user] Gambas 3.8 ?safe to use in production env In-Reply-To: <55E38629.2060407@...1823...> References: <55E38629.2060407@...1823...> Message-ID: <55E38CC4.8050404@...1...> Le 31/08/2015 00:39, richard terry a ?crit : > Hi List, > > I'm running 3.7.1 at work on my network Mint 17.1 or 17.2. > > The update manager tells me 3.8.x is available for download, is it safe > to use this? anyone experienced any problems. > > Regards > > Richard > If you are not in a hurry, there will be a Gambas 3.8.1 soon. Regards, -- Beno?t Minisini From adamnt42 at ...626... Mon Aug 31 02:07:14 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 31 Aug 2015 09:37:14 +0930 Subject: [Gambas-user] Svn update problem: Checksum mismatch Message-ID: <20150831093714.00f9b7381787a7b34b5696db@...626...> Hi, Tried updating today and the following error occurred. svn update gbsrcclean --username brucebruen --password ****** --non-interactive Updating 'gbsrcclean': Restored 'gbsrcclean/gb.net.curl/src/gb.net.curl/.gambas' Restored 'gbsrcclean/comp/src/gb.util/.gambas' Restored 'gbsrcclean/comp/src/gb.dbus.trayicon/.gambas' Restored 'gbsrcclean/comp/src/gb.form.editor/.gambas' Restored 'gbsrcclean/comp/src/gb.util.web/.gambas' U gbsrcclean/acinclude.m4 U gbsrcclean/gb.db.mysql/src/main.c U gbsrcclean/comp/src/gb.report2/.component U gbsrcclean/comp/src/gb.report2/.startup U gbsrcclean/comp/src/gb.report2/.project U gbsrcclean/comp/src/gb.report2/.src/Viewer/FPreview.form U gbsrcclean/comp/src/gb.report2/.src/Viewer/ReportView.class U gbsrcclean/comp/src/gb.report2/.src/Viewer/FPreview.class U gbsrcclean/comp/src/gb.report2/.src/Tests/Report8.report U gbsrcclean/comp/src/gb.eval.highlight/.component U gbsrcclean/comp/src/gb.eval.highlight/.project U gbsrcclean/comp/src/gb.gui.base/.component U gbsrcclean/comp/src/gb.gui.base/.startup U gbsrcclean/comp/src/gb.gui.base/.project U gbsrcclean/comp/src/gb.gui.base/.src/Shortcut.class U gbsrcclean/comp/src/gb.gui.base/.src/TreeView/_TreeView.class G gbsrcclean/comp/src/gb.gui.base/.info U gbsrcclean/comp/src/gb.form/.lang/fr.po U gbsrcclean/comp/src/gb.form/.component U gbsrcclean/comp/src/gb.form/.project U gbsrcclean/comp/src/gb.form/.src/Test/FTestDateChooser.form U gbsrcclean/comp/src/gb.form/.src/Stock.class U gbsrcclean/comp/src/gb.form/.src/Wizard/Wizard.class U gbsrcclean/comp/src/gb.form/.src/Button/ButtonBox.class U gbsrcclean/comp/src/gb.form/.src/ImageView/ImageView.class U gbsrcclean/comp/src/gb.form/.src/Message/MessageView.class U gbsrcclean/comp/src/gb.form/.hidden/CHANGELOG U gbsrcclean/comp/src/gb.net.smtp/.component U gbsrcclean/comp/src/gb.net.smtp/.startup U gbsrcclean/comp/src/gb.net.smtp/.project U gbsrcclean/comp/src/gb.net.smtp/.src/SmtpClient.class U gbsrcclean/comp/src/gb.net.smtp/.src/Main.module U gbsrcclean/comp/src/gb.net.smtp/.info svn: E155017: Checksum mismatch while updating '/home/bb/gbsrcclean/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class': expected: 4daa47ce367cf1d4db2b3e469a78bacb actual: 85d3e7e427c69203cb7f4d5c5c5b8c1a svn: E200003: Delta source ended unexpectedly error (1) I tried reverting it, clenups and even deleting the local source copy to force a reload, but the error still occurs. Any clues? tia bruce -- B Bruen From gambas at ...1... Mon Aug 31 02:37:59 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 31 Aug 2015 02:37:59 +0200 Subject: [Gambas-user] Svn update problem: Checksum mismatch In-Reply-To: <20150831093714.00f9b7381787a7b34b5696db@...626...> References: <20150831093714.00f9b7381787a7b34b5696db@...626...> Message-ID: <55E3A1E7.3090602@...1...> Le 31/08/2015 02:07, adamnt42 at ...626... a ?crit : > Hi, > > Tried updating today and the following error occurred. > > svn update gbsrcclean --username brucebruen --password ****** --non-interactive > Updating 'gbsrcclean': > Restored 'gbsrcclean/gb.net.curl/src/gb.net.curl/.gambas' > Restored 'gbsrcclean/comp/src/gb.util/.gambas' > Restored 'gbsrcclean/comp/src/gb.dbus.trayicon/.gambas' > Restored 'gbsrcclean/comp/src/gb.form.editor/.gambas' > Restored 'gbsrcclean/comp/src/gb.util.web/.gambas' > U gbsrcclean/acinclude.m4 > U gbsrcclean/gb.db.mysql/src/main.c > U gbsrcclean/comp/src/gb.report2/.component > U gbsrcclean/comp/src/gb.report2/.startup > U gbsrcclean/comp/src/gb.report2/.project > U gbsrcclean/comp/src/gb.report2/.src/Viewer/FPreview.form > U gbsrcclean/comp/src/gb.report2/.src/Viewer/ReportView.class > U gbsrcclean/comp/src/gb.report2/.src/Viewer/FPreview.class > U gbsrcclean/comp/src/gb.report2/.src/Tests/Report8.report > U gbsrcclean/comp/src/gb.eval.highlight/.component > U gbsrcclean/comp/src/gb.eval.highlight/.project > U gbsrcclean/comp/src/gb.gui.base/.component > U gbsrcclean/comp/src/gb.gui.base/.startup > U gbsrcclean/comp/src/gb.gui.base/.project > U gbsrcclean/comp/src/gb.gui.base/.src/Shortcut.class > U gbsrcclean/comp/src/gb.gui.base/.src/TreeView/_TreeView.class > G gbsrcclean/comp/src/gb.gui.base/.info > U gbsrcclean/comp/src/gb.form/.lang/fr.po > U gbsrcclean/comp/src/gb.form/.component > U gbsrcclean/comp/src/gb.form/.project > U gbsrcclean/comp/src/gb.form/.src/Test/FTestDateChooser.form > U gbsrcclean/comp/src/gb.form/.src/Stock.class > U gbsrcclean/comp/src/gb.form/.src/Wizard/Wizard.class > U gbsrcclean/comp/src/gb.form/.src/Button/ButtonBox.class > U gbsrcclean/comp/src/gb.form/.src/ImageView/ImageView.class > U gbsrcclean/comp/src/gb.form/.src/Message/MessageView.class > U gbsrcclean/comp/src/gb.form/.hidden/CHANGELOG > U gbsrcclean/comp/src/gb.net.smtp/.component > U gbsrcclean/comp/src/gb.net.smtp/.startup > U gbsrcclean/comp/src/gb.net.smtp/.project > U gbsrcclean/comp/src/gb.net.smtp/.src/SmtpClient.class > U gbsrcclean/comp/src/gb.net.smtp/.src/Main.module > U gbsrcclean/comp/src/gb.net.smtp/.info > svn: E155017: Checksum mismatch while updating '/home/bb/gbsrcclean/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class': > expected: 4daa47ce367cf1d4db2b3e469a78bacb > actual: 85d3e7e427c69203cb7f4d5c5c5b8c1a > svn: E200003: Delta source ended unexpectedly > error (1) > > > I tried reverting it, clenups and even deleting the local source copy to force a reload, but the error still occurs. > > Any clues? > > tia > bruce > No idea. Did you try a checkout from scratch? -- Beno?t Minisini From bugtracker at ...3416... Mon Aug 31 02:42:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Aug 2015 00:42:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #706: Drag&Drop in Project view In-Reply-To: References: Message-ID: Comment #1 by Beno?t MINISINI: You can already drag & drop classes, modules & files, but not folders. What do you mean exactly? From bugtracker at ...3416... Mon Aug 31 11:20:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Aug 2015 09:20:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #706: Drag&Drop in Project view In-Reply-To: References: Message-ID: Comment #2 by Moviga TECHNOLOGIES: You are right... For some reason I missed that the files could be moved. But dragging and dropping folders would still be very useful when having lots of sub folders and many files. From bugtracker at ...3416... Mon Aug 31 13:06:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Aug 2015 11:06:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #706: Drag&Drop in Project view In-Reply-To: References: Message-ID: Comment #3 by Beno?t MINISINI: For directories there is limitation related to svn, but I don't remember which one exactly. Maybe I should allow moving directories when the project is not under version control... From bugtracker at ...3416... Mon Aug 31 15:27:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Aug 2015 13:27:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #706: Drag&Drop in Project view In-Reply-To: References: Message-ID: Comment #4 by Moviga TECHNOLOGIES: Yes, that would be good!