From willy at ...2734... Sat Dec 1 01:13:46 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Dec 2012 01:13:46 +0100 Subject: [Gambas-user] Trouble removing menu item during run time Message-ID: <1354320826.2611.36.camel@...3024...> I have this piece of code (in a rather big project) that build op a menu during run time in case AddOns get installed. Each installed AddOn gets it own Menu Item upon installation for launching the AddOn. THis all works like clockwork. This is the code that creates the menu items for each Add On installed: For iNdex = 1 To AddOnNumber hMenuItem = New Menu(hMenu) As "_MenuEvent" With hMenuItem .Name = "mnu" & AddOnName[iNdex] .Enabled = True .Caption = AddOnName[iNdex] .Text = AddOnName[iNdex] & "..." .Picture = Picture.Load(AddOnPath & "/" & AddOnName[iNdex] & ".png") End With Next Now I write code to remove the installed AddOns if users want to. Removing is no problem and works well. Only problem that remains is how to remove the menu item that starts the AddOn during run time? In my Subroutine Remove() the name of the AddOn menu item to be removed is: "mnu" & AvailableName[Index] AvailableName[Index] is the name of the AddOn that has been removed a few lines of code before. How do I remove this menu item? Any suggestions? Thanks, Willy From willy at ...2734... Sat Dec 1 01:15:24 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Dec 2012 01:15:24 +0100 Subject: [Gambas-user] Group property of controls in IDE In-Reply-To: <20121130155114.GB892@...2774...> References: <1354289802.2611.21.camel@...3024...> <20121130155114.GB892@...2774...> Message-ID: <1354320924.2611.38.camel@...3024...> On Fri, 2012-11-30 at 16:51 +0100, Tobias Boege wrote: > On Fri, 30 Nov 2012, Willy Raets wrote: > > Hi, > > > > Is there any documentation on how to use the group property for controls > > in IDE? > > > > How do I use this feature? > > Is it possible to make things happen to all controls part to the same > > group at once? That is what I hope it does, but I can't find anything in > > the documentation. > > > > Willy > > If the documentation fails, look in the mailing list archive. I remember > several questions about Group. > > Anyway, you must know that this cannot be documented in any component > because it is a virtual property existing only in the IDE. > > What does it do? It makes all the controls in the same group raise events > with the same name, i.e. a Group of buttons with the group name "mybuttons" > will all raise their Click() event, e.g., as mybuttons_Click(). > > Where did I read this? In the IDE, you can click on the Group property field > in the properties window. In the default configuration, you should see a > help box explaining all this just below that properties grid. Oops, forgot the IDE help :-) Anyway thanks for the help. It's cleared up some confusion in my mind about Group property :) > > Regards, > Tobi Willy From bbruen at ...2308... Sat Dec 1 01:30:42 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 01 Dec 2012 11:00:42 +1030 Subject: [Gambas-user] Trouble removing menu item during run time In-Reply-To: <1354320826.2611.36.camel@...3024...> References: <1354320826.2611.36.camel@...3024...> Message-ID: <1354321842.3104.35.camel@...2688...> On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: > I have this piece of code (in a rather big project) that build op a menu > during run time in case AddOns get installed. Each installed AddOn gets > it own Menu Item upon installation for launching the AddOn. THis all > works like clockwork. > > This is the code that creates the menu items for each Add On installed: > > For iNdex = 1 To AddOnNumber > hMenuItem = New Menu(hMenu) As "_MenuEvent" > With hMenuItem > .Name = "mnu" & AddOnName[iNdex] > .Enabled = True > .Caption = AddOnName[iNdex] > .Text = AddOnName[iNdex] & "..." > .Picture = Picture.Load(AddOnPath & "/" & AddOnName[iNdex] & ".png") > End With > Next > > Now I write code to remove the installed AddOns if users want to. > Removing is no problem and works well. > > Only problem that remains is how to remove the menu item that starts the > AddOn during run time? > > In my Subroutine Remove() the name of the AddOn menu item to be removed > is: "mnu" & AvailableName[Index] > > AvailableName[Index] is the name of the AddOn that has been removed a > few lines of code before. > > How do I remove this menu item? Any suggestions? > > Thanks, > > Willy > (Quick answer) You could just set its' .Visible to false B From willy at ...2734... Sat Dec 1 05:20:49 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Dec 2012 05:20:49 +0100 Subject: [Gambas-user] Trouble removing menu item during run time In-Reply-To: <1354321842.3104.35.camel@...2688...> References: <1354320826.2611.36.camel@...3024...> <1354321842.3104.35.camel@...2688...> Message-ID: <1354335649.2611.60.camel@...3024...> On Sat, 2012-12-01 at 11:00 +1030, Bruce wrote: > On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: > > I have this piece of code (in a rather big project) that build op a menu > > during run time in case AddOns get installed. Each installed AddOn gets > > it own Menu Item upon installation for launching the AddOn. THis all > > works like clockwork. > > > > This is the code that creates the menu items for each Add On installed: > > > > For iNdex = 1 To AddOnNumber > > hMenuItem = New Menu(hMenu) As "_MenuEvent" > > With hMenuItem > > .Name = "mnu" & AddOnName[iNdex] > > .Enabled = True > > .Caption = AddOnName[iNdex] > > .Text = AddOnName[iNdex] & "..." > > .Picture = Picture.Load(AddOnPath & "/" & AddOnName[iNdex] & ".png") > > End With > > Next > > > > Now I write code to remove the installed AddOns if users want to. > > Removing is no problem and works well. > > > > Only problem that remains is how to remove the menu item that starts the > > AddOn during run time? > > > > In my Subroutine Remove() the name of the AddOn menu item to be removed > > is: "mnu" & AvailableName[Index] > > > > AvailableName[Index] is the name of the AddOn that has been removed a > > few lines of code before. > > > > How do I remove this menu item? Any suggestions? > > > > Thanks, > > > > Willy > > > > (Quick answer) > You could just set its' .Visible to false Even better .Delete exists for menu items, but that isn't the problem. When I remove AddOn1 I need: mnuAddOn1.Delete (or .Visible = False) When I remove AddOn2 I need: mnuAddOn2.Delete (or .Visible = False) When I remove MyAddOn I need: mnuAddOn.Delete (or .Visible = False) Problem: When removing AddOn1 when running the application the name of the menu to remove "mnuAddOn1" is in a string variable When removing AddOn2 when running the application the name of the menu to remove "mnuAddOn2" is in a string variable How to tell Gambas that the String content is the name of the menu? Example: Dim sMenuNAme As String sMenuName = "mnu" & AvailableName[Index] And now? I can't do: mnuAddOn1.Delete in my code as I don't know that it is named mnuAddOn1 at coding time since that is determined during run time. AvailableName[Index] is the name of the AddOn being removed at that time. Remember menus of add ons are made during runtime when the Addon is installed and menu items are named "mnu" & AddOnName that just got installed. Seemed logic at the time but not that sure anymore. Thanks anyway, Willy From gambas.fr at ...626... Sat Dec 1 07:28:32 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Dec 2012 07:28:32 +0100 Subject: [Gambas-user] Trouble removing menu item during run time In-Reply-To: <1354335649.2611.60.camel@...3024...> References: <1354320826.2611.36.camel@...3024...> <1354321842.3104.35.camel@...2688...> <1354335649.2611.60.camel@...3024...> Message-ID: Simply tous need to store the menu instance in an array or a collection. Collection is usefully as you can retrieve menu from a name So in your form header Private $colMenu as new collection In the menu creation: ... $colMenu[AddonName.index]=hmenu ... For delete $colMenu[AddonName.index] .delete $colMenu[AddonName.index]=NULL THAT'S ALL :-) Le 1 d?c. 2012 05:22, "Willy Raets" a ?crit : > On Sat, 2012-12-01 at 11:00 +1030, Bruce wrote: > > On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: > > > I have this piece of code (in a rather big project) that build op a > menu > > > during run time in case AddOns get installed. Each installed AddOn gets > > > it own Menu Item upon installation for launching the AddOn. THis all > > > works like clockwork. > > > > > > This is the code that creates the menu items for each Add On installed: > > > > > > For iNdex = 1 To AddOnNumber > > > hMenuItem = New Menu(hMenu) As "_MenuEvent" > > > With hMenuItem > > > .Name = "mnu" & AddOnName[iNdex] > > > .Enabled = True > > > .Caption = AddOnName[iNdex] > > > .Text = AddOnName[iNdex] & "..." > > > .Picture = Picture.Load(AddOnPath & "/" & AddOnName[iNdex] & > ".png") > > > End With > > > Next > > > > > > Now I write code to remove the installed AddOns if users want to. > > > Removing is no problem and works well. > > > > > > Only problem that remains is how to remove the menu item that starts > the > > > AddOn during run time? > > > > > > In my Subroutine Remove() the name of the AddOn menu item to be removed > > > is: "mnu" & AvailableName[Index] > > > > > > AvailableName[Index] is the name of the AddOn that has been removed a > > > few lines of code before. > > > > > > How do I remove this menu item? Any suggestions? > > > > > > Thanks, > > > > > > Willy > > > > > > > (Quick answer) > > You could just set its' .Visible to false > > Even better .Delete exists for menu items, but that isn't the problem. > > When I remove AddOn1 I need: mnuAddOn1.Delete (or .Visible = False) > When I remove AddOn2 I need: mnuAddOn2.Delete (or .Visible = False) > When I remove MyAddOn I need: mnuAddOn.Delete (or .Visible = False) > > Problem: > When removing AddOn1 when running the application the name of the menu > to remove "mnuAddOn1" is in a string variable > When removing AddOn2 when running the application the name of the menu > to remove "mnuAddOn2" is in a string variable > > How to tell Gambas that the String content is the name of the menu? > > Example: > > Dim sMenuNAme As String > sMenuName = "mnu" & AvailableName[Index] > > And now? I can't do: > > mnuAddOn1.Delete > > in my code as I don't know that it is named mnuAddOn1 at coding time > since that is determined during run time. AvailableName[Index] is the > name of the AddOn being removed at that time. > > Remember menus of add ons are made during runtime when the Addon is > installed and menu items are named "mnu" & AddOnName that just got > installed. Seemed logic at the time but not that sure anymore. > > Thanks anyway, > > Willy > > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Dec 1 07:29:34 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Dec 2012 07:29:34 +0100 Subject: [Gambas-user] Trouble removing menu item during run time In-Reply-To: References: <1354320826.2611.36.camel@...3024...> <1354321842.3104.35.camel@...2688...> <1354335649.2611.60.camel@...3024...> Message-ID: Not addonname.index but addonname[index] Le 1 d?c. 2012 07:28, "Fabien Bodard" a ?crit : > Simply tous need to store the menu instance in an array or a collection. > > Collection is usefully as you can retrieve menu from a name > So in your form header > Private $colMenu as new collection > > In the menu creation: > ... > $colMenu[AddonName.index]=hmenu > ... > > For delete > $colMenu[AddonName.index] .delete > $colMenu[AddonName.index]=NULL > > THAT'S ALL :-) > Le 1 d?c. 2012 05:22, "Willy Raets" a ?crit : > >> On Sat, 2012-12-01 at 11:00 +1030, Bruce wrote: >> > On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: >> > > I have this piece of code (in a rather big project) that build op a >> menu >> > > during run time in case AddOns get installed. Each installed AddOn >> gets >> > > it own Menu Item upon installation for launching the AddOn. THis all >> > > works like clockwork. >> > > >> > > This is the code that creates the menu items for each Add On >> installed: >> > > >> > > For iNdex = 1 To AddOnNumber >> > > hMenuItem = New Menu(hMenu) As "_MenuEvent" >> > > With hMenuItem >> > > .Name = "mnu" & AddOnName[iNdex] >> > > .Enabled = True >> > > .Caption = AddOnName[iNdex] >> > > .Text = AddOnName[iNdex] & "..." >> > > .Picture = Picture.Load(AddOnPath & "/" & AddOnName[iNdex] & >> ".png") >> > > End With >> > > Next >> > > >> > > Now I write code to remove the installed AddOns if users want to. >> > > Removing is no problem and works well. >> > > >> > > Only problem that remains is how to remove the menu item that starts >> the >> > > AddOn during run time? >> > > >> > > In my Subroutine Remove() the name of the AddOn menu item to be >> removed >> > > is: "mnu" & AvailableName[Index] >> > > >> > > AvailableName[Index] is the name of the AddOn that has been removed a >> > > few lines of code before. >> > > >> > > How do I remove this menu item? Any suggestions? >> > > >> > > Thanks, >> > > >> > > Willy >> > > >> > >> > (Quick answer) >> > You could just set its' .Visible to false >> >> Even better .Delete exists for menu items, but that isn't the problem. >> >> When I remove AddOn1 I need: mnuAddOn1.Delete (or .Visible = False) >> When I remove AddOn2 I need: mnuAddOn2.Delete (or .Visible = False) >> When I remove MyAddOn I need: mnuAddOn.Delete (or .Visible = False) >> >> Problem: >> When removing AddOn1 when running the application the name of the menu >> to remove "mnuAddOn1" is in a string variable >> When removing AddOn2 when running the application the name of the menu >> to remove "mnuAddOn2" is in a string variable >> >> How to tell Gambas that the String content is the name of the menu? >> >> Example: >> >> Dim sMenuNAme As String >> sMenuName = "mnu" & AvailableName[Index] >> >> And now? I can't do: >> >> mnuAddOn1.Delete >> >> in my code as I don't know that it is named mnuAddOn1 at coding time >> since that is determined during run time. AvailableName[Index] is the >> name of the AddOn being removed at that time. >> >> Remember menus of add ons are made during runtime when the Addon is >> installed and menu items are named "mnu" & AddOnName that just got >> installed. Seemed logic at the time but not that sure anymore. >> >> Thanks anyway, >> >> Willy >> >> >> >> >> ------------------------------------------------------------------------------ >> Keep yourself connected to Go Parallel: >> INSIGHTS What's next for parallel hardware, programming and related areas? >> Interviews and blogs by thought leaders keep you ahead of the curve. >> http://goparallel.sourceforge.net >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From johny.provoost at ...27... Sat Dec 1 11:25:32 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 01 Dec 2012 11:25:32 +0100 Subject: [Gambas-user] gb .raport broken Message-ID: <50B9DB1C.7090604@...27...> I changed form version 3.1.90 (don't know the trunk version anymore) to 3.3.90 Trunk version 5387. Since that version I get errors on gb.report. On Report.Preview I get the error: 'gb.qt4:DrawingArea.Painted is deprecated. Do not use it anymore.' Probably have something to do with the change of painted and draw in the new version. It's not to imported, I got my way around and made the report without gb.report (had to study the printing example for a while to print more than one page, but I managed.). I think Fabien is the creator of gb.report. I just want to report the problem, or is it something on my PC? Johny Provoost From gambas.fr at ...626... Sat Dec 1 12:43:37 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Dec 2012 12:43:37 +0100 Subject: [Gambas-user] gb .raport broken In-Reply-To: <50B9DB1C.7090604@...27...> References: <50B9DB1C.7090604@...27...> Message-ID: I will look for that this afternoon... it's because of the recent change on the draw class Le 1 d?c. 2012 11:27, "Johny Provoost" a ?crit : > I changed form version 3.1.90 (don't know the trunk version anymore) to > 3.3.90 Trunk version 5387. > Since that version I get errors on gb.report. On Report.Preview I get > the error: > 'gb.qt4:DrawingArea.Painted is deprecated. Do not use it anymore.' > > Probably have something to do with the change of painted and draw in the > new version. > > It's not to imported, I got my way around and made the report without > gb.report (had to study the printing example for a while to print more > than one page, but I managed.). > I think Fabien is the creator of gb.report. I just want to report the > problem, or is it something on my PC? > > Johny Provoost > > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Dec 1 12:49:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Dec 2012 12:49:52 +0100 Subject: [Gambas-user] gb .raport broken In-Reply-To: References: <50B9DB1C.7090604@...27...> Message-ID: <50B9EEE0.5000809@...1...> Le 01/12/2012 12:43, Fabien Bodard a ?crit : > I will look for that this afternoon... it's because of the recent change on > the draw class > Le 1 d?c. 2012 11:27, "Johny Provoost" a ?crit : > It's not a big problem. Just a matter or removing any use of the Painted property that does nothing anymore. -- Beno?t Minisini From willy at ...2734... Sat Dec 1 13:16:56 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Dec 2012 13:16:56 +0100 Subject: [Gambas-user] Trouble removing menu item during run time In-Reply-To: References: <1354320826.2611.36.camel@...3024...> <1354321842.3104.35.camel@...2688...> <1354335649.2611.60.camel@...3024...> Message-ID: <1354364216.2043.1.camel@...3024...> On Sat, 2012-12-01 at 07:29 +0100, Fabien Bodard wrote: > Not addonname.index but addonname[index] > > Le 1 d?c. 2012 07:28, "Fabien Bodard" a ?crit : > Simply tous need to store the menu instance in an array or a > collection. > > Collection is usefully as you can retrieve menu from a name > So in your form header > Private $colMenu as new collection > > > In the menu creation: > ... > $colMenu[AddonName.index]=hmenu > ... > > > > For delete > $colMenu[AddonName.index] .delete > $colMenu[AddonName.index]=NULL > > THAT'S ALL :-) Thank you so much, it works like a charm. The collection is indeed very useful. Willy From johny.provoost at ...27... Sat Dec 1 14:17:46 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 01 Dec 2012 14:17:46 +0100 Subject: [Gambas-user] gb .raport broken In-Reply-To: References: <50B9DB1C.7090604@...27...> Message-ID: <50BA037A.1090303@...27...> Op 01-12-12 12:43, Fabien Bodard schreef: > I will look for that this afternoon... it's because of the recent change on > the draw class > Le 1 d?c. 2012 11:27, "Johny Provoost" a ?crit : > >> I changed form version 3.1.90 (don't know the trunk version anymore) to >> 3.3.90 Trunk version 5387. >> Since that version I get errors on gb.report. On Report.Preview I get >> the error: >> 'gb.qt4:DrawingArea.Painted is deprecated. Do not use it anymore.' >> >> Probably have something to do with the change of painted and draw in the >> new version. >> >> It's not to imported, I got my way around and made the report without >> gb.report (had to study the printing example for a while to print more >> than one page, but I managed.). >> I think Fabien is the creator of gb.report. I just want to report the >> problem, or is it something on my PC? >> >> Johny Provoost >> >> >> >> >> ------------------------------------------------------------------------------ >> Keep yourself connected to Go Parallel: >> INSIGHTS What's next for parallel hardware, programming and related areas? >> Interviews and blogs by thought leaders keep you ahead of the curve. >> http://goparallel.sourceforge.net >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Thank you, but don't need to hurry for me. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From mohareve at ...626... Sat Dec 1 23:21:10 2012 From: mohareve at ...626... (M. Cs.) Date: Sat, 1 Dec 2012 23:21:10 +0100 Subject: [Gambas-user] Installing KDE on Cinnamon Message-ID: Hi, I've installed KDE on LinuxMint 14 64-bit Cinnamon, since the Cinnamon desktop is quite buggy. The Gambas KDE applications are still looking Gnomish. I don't know which are the missing KDE libraries, so I need your help. Thanks! Csaba From gregor at ...2441... Sun Dec 2 14:25:00 2012 From: gregor at ...2441... (Gregor Burck) Date: Sun, 02 Dec 2012 14:25 +0100 Subject: [Gambas-user] Installing KDE on Cinnamon In-Reply-To: References: Message-ID: <3189158.DcGpSWPfmT@...3047...> Hi, qt4-qtconfig will help you. Bye Gregor From jussi.lahtinen at ...626... Sun Dec 2 22:59:44 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 2 Dec 2012 23:59:44 +0200 Subject: [Gambas-user] Drawing sector Message-ID: At least latest revision has changed behaviour of circle keyword (in Qt4). This doesn't draw red sector, instead it seems to draw some part of it which doesn't start from x,y: Draw.Foreground = Color.Black Draw.LineWidth = 1 Draw.FillStyle = Fill.Solid Draw.FillColor = Color.Red Draw.Circle(x, y, iSize, fStartAngle, fAngle) Jussi From eilert-sprachen at ...221... Mon Dec 3 15:46:34 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 03 Dec 2012 15:46:34 +0100 Subject: [Gambas-user] Paginate doesn't clear page Message-ID: <50BCBB4A.4040402@...221...> Hi, With a little bit of testing code, I tried to find out how Paginate works. Public Sub drucker_Paginate() Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), 300 + (seiten * 100)) Inc seiten If seiten = 4 Then drucker.Count = 3 End Public Sub drucker_Draw() Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) End "drucker" is the printer object, and "seiten" counts the pages. When "drucker.Count = 3" is called, Paginate ends and Draw is called. I think this is correct. But the resulting three pages show this: Page 1: 4 x "Hallo 0" and "Hallo 1" Page 2: "Hallo 2" Page 3: "Hallo 3" So obviously, Paginate doesn't clear the page when it ends and the first page of the "real" printing is printed on everything Paginate has left behind. If this is a feature, how can I clear the page before I start printing? Regards Rolf From taboege at ...626... Tue Dec 4 17:54:38 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 4 Dec 2012 17:54:38 +0100 Subject: [Gambas-user] Spinbox.Text pre-/suffix Message-ID: <20121204165438.GA1094@...2774...> Hi, in the doc it is said that Spinbox.Text "[r]eturns the text displayed by the spinbox, without the prefix and suffix". What do "prefix and suffix" come from? I can only enter integers. Regards, Tobi From shanep1967 at ...169... Wed Dec 5 06:22:45 2012 From: shanep1967 at ...169... (Shane) Date: Wed, 05 Dec 2012 16:22:45 +1100 Subject: [Gambas-user] Grid view data event Message-ID: <50BEDA25.9010905@...169...> Hi i'm trying to use the Gridview data Event using this code Res.moveTo(Row) GridView1.Data.text = Str(res[Column]) and all works fine now is there a way to get only some of the fields from the data base eg if i had code, price, cost, picture, fields and i didnt want to show the cost field how would i do this. thanks shane. From gambas.fr at ...626... Wed Dec 5 10:35:32 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 5 Dec 2012 10:35:32 +0100 Subject: [Gambas-user] Grid view data event In-Reply-To: <50BEDA25.9010905@...169...> References: <50BEDA25.9010905@...169...> Message-ID: You have two choices you can manage the columns you show in the data event or in theDB query. Maybe you can use databound control such as dataview.... all this stuff isalready done Le 5 d?c. 2012 06:23, "Shane" a ?crit : > Hi i'm trying to use the Gridview data Event using this code > > Res.moveTo(Row) > GridView1.Data.text = Str(res[Column]) > and all works fine now is there a way to get only some of the fields > from the data base > eg if i had > > code, > price, > cost, > picture, > > fields and i didnt want to show the cost field how would i do this. > > thanks shane. > > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Wed Dec 5 10:56:32 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 10:56:32 +0100 Subject: [Gambas-user] Paginate doesn't clear page Message-ID: <50BF1A50.8000805@...221...> Hi, -- I sent this mail on Monday, but it seems that the mailing list has been sleeping since then. So, I send it again and hope it is received by you. Sorry if double-quoted... -- With a little bit of testing code, I tried to find out how Paginate works. Public Sub drucker_Paginate() Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), 300 + (seiten * 100)) Inc seiten If seiten = 4 Then drucker.Count = 3 End Public Sub drucker_Draw() Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) End "drucker" is the printer object, and "seiten" counts the pages. When "drucker.Count = 3" is called, Paginate ends and Draw is called. I think this is correct. But the resulting three pages show this: Page 1: 4 x "Hallo 0" and "Hallo 1" Page 2: "Hallo 2" Page 3: "Hallo 3" So obviously, Paginate doesn't clear the page when it ends and the first page of the "real" printing is printed on everything Paginate has left behind. If this is a feature, how can I clear the page before I start printing? Regards Rolf ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Dec 5 11:04:21 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 11:04:21 +0100 Subject: [Gambas-user] Gambas 3 on Website Server Message-ID: <50BF1C25.1090204@...221...> Hi, If I want to build scripts with Gambas 3 on my website's server, how would you install Gambas 3 there: Downloading and compiling the source, or apt-get via Kendek's PPA? Or would you deprecate Gambas 3 here and rather use Gambas 2 for it? Thanks for your opinions... Regards Rolf From gambas at ...1... Wed Dec 5 12:49:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Dec 2012 12:49:56 +0100 Subject: [Gambas-user] Spinbox.Text pre-/suffix In-Reply-To: <20121204165438.GA1094@...2774...> References: <20121204165438.GA1094@...2774...> Message-ID: <50BF34E4.1090101@...1...> Le 04/12/2012 17:54, Tobias Boege a ?crit : > Hi, > > in the doc it is said that Spinbox.Text "[r]eturns the text displayed by > the spinbox, without the prefix and suffix". > > What do "prefix and suffix" come from? I can only enter integers. > > Regards, > Tobi > The documentation is not up to date. There is no prefix and suffix anymore. -- Beno?t Minisini From gambas at ...1... Wed Dec 5 12:51:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Dec 2012 12:51:06 +0100 Subject: [Gambas-user] Paginate doesn't clear page In-Reply-To: <50BCBB4A.4040402@...221...> References: <50BCBB4A.4040402@...221...> Message-ID: <50BF352A.5080500@...1...> Le 03/12/2012 15:46, Rolf-Werner Eilert a ?crit : > Hi, > > With a little bit of testing code, I tried to find out how Paginate works. > > Public Sub drucker_Paginate() > > Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), > 300 + (seiten * 100)) > > Inc seiten > > If seiten = 4 Then drucker.Count = 3 > > End > > > Public Sub drucker_Draw() > > Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) > > End > > "drucker" is the printer object, and "seiten" counts the pages. When > "drucker.Count = 3" is called, Paginate ends and Draw is called. I think > this is correct. But the resulting three pages show this: > > Page 1: 4 x "Hallo 0" and "Hallo 1" > Page 2: "Hallo 2" > Page 3: "Hallo 3" > > So obviously, Paginate doesn't clear the page when it ends and the first > page of the "real" printing is printed on everything Paginate has left > behind. > > If this is a feature, how can I clear the page before I start printing? > > Regards > > Rolf > Paginate is for computing the number of pages, not for drawing anything. You don't have to clear the page, it is done automatically before calling the Draw event handler. Regards, -- Beno?t Minisini From gambas at ...1... Wed Dec 5 12:51:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Dec 2012 12:51:49 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: Message-ID: <50BF3555.4060205@...1...> Le 02/12/2012 22:59, Jussi Lahtinen a ?crit : > At least latest revision has changed behaviour of circle keyword (in Qt4). > > This doesn't draw red sector, instead it seems to draw some part of it > which doesn't start from x,y: > > Draw.Foreground = Color.Black > Draw.LineWidth = 1 > Draw.FillStyle = Fill.Solid > Draw.FillColor = Color.Red > Draw.Circle(x, y, iSize, fStartAngle, fAngle) > > > Jussi I confirm the regression. I will look at it... -- Beno?t Minisini From eilert-sprachen at ...221... Wed Dec 5 13:09:15 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 13:09:15 +0100 Subject: [Gambas-user] Paginate doesn't clear page In-Reply-To: <50BF352A.5080500@...1...> References: <50BCBB4A.4040402@...221...> <50BF352A.5080500@...1...> Message-ID: <50BF396B.8040609@...221...> Am 05.12.2012 12:51, schrieb Beno?t Minisini: > Le 03/12/2012 15:46, Rolf-Werner Eilert a ?crit : >> Hi, >> >> With a little bit of testing code, I tried to find out how Paginate works. >> >> Public Sub drucker_Paginate() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), >> 300 + (seiten * 100)) >> >> Inc seiten >> >> If seiten = 4 Then drucker.Count = 3 >> >> End >> >> >> Public Sub drucker_Draw() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) >> >> End >> >> "drucker" is the printer object, and "seiten" counts the pages. When >> "drucker.Count = 3" is called, Paginate ends and Draw is called. I think >> this is correct. But the resulting three pages show this: >> >> Page 1: 4 x "Hallo 0" and "Hallo 1" >> Page 2: "Hallo 2" >> Page 3: "Hallo 3" >> >> So obviously, Paginate doesn't clear the page when it ends and the first >> page of the "real" printing is printed on everything Paginate has left >> behind. >> >> If this is a feature, how can I clear the page before I start printing? >> >> Regards >> >> Rolf >> > > Paginate is for computing the number of pages, not for drawing anything. > > You don't have to clear the page, it is done automatically before > calling the Draw event handler. > > Regards, > Yep, and as the example showed, this is exactly what it does not do :-) The page isn't cleared before Draw is called, so there remain 4 "Hallo 0" and the "Hallo 1" on the first page. Rolf From jussi.lahtinen at ...626... Wed Dec 5 16:34:54 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Dec 2012 17:34:54 +0200 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: <50BF1C25.1090204@...221...> References: <50BF1C25.1090204@...221...> Message-ID: > If I want to build scripts with Gambas 3 on my website's server, how > would you install Gambas 3 there: Downloading and compiling the source, > or apt-get via Kendek's PPA? > Maybe I didn't quite understand the question, but what is the difference? Both works fine. > Or would you deprecate Gambas 3 here and rather use Gambas 2 for it? > I would prefer Gambas 3 for everything. Jussi From eilert-sprachen at ...221... Wed Dec 5 16:55:09 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 16:55:09 +0100 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: References: <50BF1C25.1090204@...221...> Message-ID: <50BF6E5D.4010600@...221...> Am 05.12.2012 16:34, schrieb Jussi Lahtinen: >> If I want to build scripts with Gambas 3 on my website's server, how >> would you install Gambas 3 there: Downloading and compiling the source, >> or apt-get via Kendek's PPA? >> > > Maybe I didn't quite understand the question, but what is the difference? > Both works fine. > > Well - I don't know so much about Ubuntu. When the PPA just contains the source, it's the same, you're right. I thought it contains a ready-made deb package. > > >> Or would you deprecate Gambas 3 here and rather use Gambas 2 for it? >> > > I would prefer Gambas 3 for everything. Just found it's 8.04, do you know if Gambas 3 will compile there anyway? Rolf From jussi.lahtinen at ...626... Wed Dec 5 17:14:15 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Dec 2012 18:14:15 +0200 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: <50BF6E5D.4010600@...221...> References: <50BF1C25.1090204@...221...> <50BF6E5D.4010600@...221...> Message-ID: > > Maybe I didn't quite understand the question, but what is the difference? > > Both works fine. > > Well - I don't know so much about Ubuntu. When the PPA just contains the > source, it's the same, you're right. I thought it contains a ready-made > deb package. > Yes, it is ready made package with binaries. I meant the end result is same. >> Or would you deprecate Gambas 3 here and rather use Gambas 2 for it? > >> > > > > I would prefer Gambas 3 for everything. > > Just found it's 8.04, do you know if Gambas 3 will compile there anyway? > You are trying to compile Gambas 3 on Ubuntu 8.04? Not sure if it is possible... You cannot upgrade the server first (example to next LTS version)? Jussi From taboege at ...626... Wed Dec 5 17:26:55 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 5 Dec 2012 17:26:55 +0100 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: <50BF6E5D.4010600@...221...> References: <50BF1C25.1090204@...221...> <50BF6E5D.4010600@...221...> Message-ID: <20121205162655.GB732@...2774...> On Wed, 05 Dec 2012, Rolf-Werner Eilert wrote: > > > Am 05.12.2012 16:34, schrieb Jussi Lahtinen: > >> If I want to build scripts with Gambas 3 on my website's server, how > >> would you install Gambas 3 there: Downloading and compiling the source, > >> or apt-get via Kendek's PPA? > >> > > ... > Just found it's 8.04, do you know if Gambas 3 will compile there anyway? > > Rolf > I remade our school's computer cabinet which ran 8.04, too, during summer holidays because the software repositories are finally down for that LTS (server) version - IIRC, the ubuntu users must help me out here. Almost everything was too old there to install gambas3 from source (packages didn't exist, of course) and couldn't be upgraded. If it is _at all_ possible to build all the dependencies for gambas3, you'd have to do it from the packages' sources and I'm sure it will be a pain. This is the conclusion I came to make. Maybe there are other ways but I couldn't see them. Regards, Tobi From eilert-sprachen at ...221... Wed Dec 5 18:04:04 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 18:04:04 +0100 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: References: <50BF1C25.1090204@...221...> <50BF6E5D.4010600@...221...> Message-ID: <50BF7E84.90404@...221...> Am 05.12.2012 17:14, schrieb Jussi Lahtinen: >>> Maybe I didn't quite understand the question, but what is the difference? >>> Both works fine. >> >> Well - I don't know so much about Ubuntu. When the PPA just contains the >> source, it's the same, you're right. I thought it contains a ready-made >> deb package. >> > > Yes, it is ready made package with binaries. > I meant the end result is same. > Ok, then I had understood right. > > > >> Or would you deprecate Gambas 3 here and rather use Gambas 2 for it? >>>> >>> >>> I would prefer Gambas 3 for everything. >> >> Just found it's 8.04, do you know if Gambas 3 will compile there anyway? >> > > You are trying to compile Gambas 3 on Ubuntu 8.04? > Not sure if it is possible... > > You cannot upgrade the server first (example to next LTS version)? > I don't know if that is possible on our website. But it isn't so important, I just want to write a simple cgi-script, so Gambas 2 will do anyway. Regards Rolf From eilert-sprachen at ...221... Wed Dec 5 18:07:08 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Dec 2012 18:07:08 +0100 Subject: [Gambas-user] Gambas 3 on Website Server In-Reply-To: <20121205162655.GB732@...2774...> References: <50BF1C25.1090204@...221...> <50BF6E5D.4010600@...221...> <20121205162655.GB732@...2774...> Message-ID: <50BF7F3C.9050503@...221...> Am 05.12.2012 17:26, schrieb Tobias Boege: > On Wed, 05 Dec 2012, Rolf-Werner Eilert wrote: >> >> >> Am 05.12.2012 16:34, schrieb Jussi Lahtinen: >>>> If I want to build scripts with Gambas 3 on my website's server, how >>>> would you install Gambas 3 there: Downloading and compiling the source, >>>> or apt-get via Kendek's PPA? >>>> >>> > > ... > >> Just found it's 8.04, do you know if Gambas 3 will compile there anyway? >> >> Rolf >> > > I remade our school's computer cabinet which ran 8.04, too, during summer > holidays because the software repositories are finally down for that LTS > (server) version - IIRC, the ubuntu users must help me out here. > > Almost everything was too old there to install gambas3 from source (packages > didn't exist, of course) and couldn't be upgraded. If it is _at all_ > possible to build all the dependencies for gambas3, you'd have to do it from > the packages' sources and I'm sure it will be a pain. > > This is the conclusion I came to make. Maybe there are other ways but I > couldn't see them. > > Regards, > Tobi > Yes, but on our website? I think this would be too dangerous to me, maybe not even possible, as it's a virtual server. I guess I would have to order another/new server and pull everything over there. Too much hazzle. I don't see the point. For my little cgi-script Gambas2 will suffice. Regards Rolf From gambas at ...2524... Wed Dec 5 21:20:43 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Dec 2012 20:20:43 +0000 Subject: [Gambas-user] Issue 362 in gambas: Gambas 3.3.3: Socket.RemoteHost returns an empty string Message-ID: <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 362 by aristide... at ...626...: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 1) Even in the gb.net sample code Socket.RemoteHost returns an empty string (in the Server Socket example), when the Server Socket connection arrives we know the other peer IP address because is a parameter when the event is fired. But, when the ServerSocket accepts the connection, it returns a Socket Object. And "here is the problem" Socket.RemoteHost returns an empty string 2) [System] OperatingSystem=Linux Kernel=3.2.0-33-generic Architecture=x86_64 Memory=8088988 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=Gnome [Gambas 3] Version=3.3.3 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Test the ServerSocket project in the Samples folder provided with Gambas 4) No databases 5) Start the project, select any port and make it listen. open a telnet connection to that port (In my system) i get the following Connection request from : 127.0.0.1 Connection from :0 accepted (local port 0) -- Client working -- the client connects the 127.0.0.1 comes from de event parameter, but in the second line, [Connection from :0 accepted (local port 0)] the info comes from the Socket.RemoteHost:Socket.RemotePort info. 6) it would be great to solve this bug. but if you are busy with bigger priority bugs i'll still be running my programs on Gambas2. thanx for your time and your efforts on doing our life comfortable whith GamBas!!! From gambas at ...2524... Wed Dec 5 21:23:42 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Dec 2012 20:23:42 +0000 Subject: [Gambas-user] Issue 362 in gambas: Gambas 3.3.3: Socket.RemoteHost returns an empty string In-Reply-To: <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Comment #1 on issue 362 by aristide... at ...626...: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 Excuse my poor English!!! From vuott at ...325... Wed Dec 5 22:27:18 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 5 Dec 2012 21:27:18 +0000 (GMT) Subject: [Gambas-user] gb.sdl.sound disabled with rev. #5412 ! Message-ID: <1354742838.80655.YahooMailClassic@...3036...> Hello, I updated my Gambas 3 with rev. #5412, and I obtained this problem: || || THESE COMPONENTS ARE DISABLED: || - gb.sdl.sound || ???? regards vuott From vuott at ...325... Wed Dec 5 22:50:37 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 5 Dec 2012 21:50:37 +0000 (GMT) Subject: [Gambas-user] gb.sdl.sound disabled with rev. #5412 - BIS Message-ID: <1354744237.37533.YahooMailClassic@...3033...> I'ld like to add that I unistalled Gambas sources and then re-installed them, but the problem persists. Regards vuott From lordheavym at ...626... Wed Dec 5 22:57:01 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Wed, 05 Dec 2012 22:57:01 +0100 Subject: [Gambas-user] gb.sdl.sound disabled with rev. #5412 - BIS In-Reply-To: <1354744237.37533.YahooMailClassic@...3033...> References: <1354744237.37533.YahooMailClassic@...3033...> Message-ID: <1846540.0g9TImyiBx@...2592...> Le mercredi 5 d?cembre 2012 21:50:37 Ru Vuott a ?crit : > I'ld like to add that I unistalled Gambas sources and then re-installed > them, but the problem persists. > > Regards > vuott > ---------------------------------------------------------------------------- > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support Improve > your efficiency, and focus on delivering more value-add services Discover > what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Please, see http://gambasdoc.org/help/install?v3#t8 Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: From vuott at ...325... Wed Dec 5 23:15:19 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 5 Dec 2012 22:15:19 +0000 (GMT) Subject: [Gambas-user] gb.sdl.sound disabled with rev. #5412 - BIS In-Reply-To: <1846540.0g9TImyiBx@...2592...> Message-ID: <1354745719.63608.YahooMailClassic@...3037...> Hello Laurent, well, I have had to re-install "libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2" sources. Now, It's OK. Thank you, very much. vuotttttt --- Mer 5/12/12, Laurent Carlier ha scritto: Da: Laurent Carlier Oggetto: Re: [Gambas-user] gb.sdl.sound disabled with rev. #5412 - BIS A: "mailing list for gambas users" Data: Mercoled? 5 dicembre 2012, 22:57 Le mercredi 5 d?cembre 2012 21:50:37 Ru Vuott a ?crit : > I'ld like to add that I unistalled Gambas sources and then re-installed > them, but the problem persists. > > Regards > vuott > ---------------------------------------------------------------------------- > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support Improve > your efficiency, and focus on delivering more value-add services Discover > what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Please, see http://gambasdoc.org/help/install?v3#t8 Regards, -----Segue allegato----- ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d -----Segue allegato----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Dec 6 01:21:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Dec 2012 01:21:28 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: <50BF3555.4060205@...1...> References: <50BF3555.4060205@...1...> Message-ID: <50BFE508.9080100@...1...> Le 05/12/2012 12:51, Beno?t Minisini a ?crit : > Le 02/12/2012 22:59, Jussi Lahtinen a ?crit : >> At least latest revision has changed behaviour of circle keyword (in >> Qt4). >> >> This doesn't draw red sector, instead it seems to draw some part of it >> which doesn't start from x,y: >> >> Draw.Foreground = Color.Black >> Draw.LineWidth = 1 >> Draw.FillStyle = Fill.Solid >> Draw.FillColor = Color.Red >> Draw.Circle(x, y, iSize, fStartAngle, fAngle) >> >> >> Jussi > > I confirm the regression. I will look at it... > OK, it should be fixed in revision #5413. Regards, -- Beno?t Minisini From ea7dfh at ...2382... Thu Dec 6 12:22:56 2012 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Dec 2012 12:22:56 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls Message-ID: <50C08010.2070201@...2382...> Hi Using gambas3, gb.gui on Gnome (Unity). A friend of mine reports this annoying bug in controls which have round corners, having a visible little white triangle, instead of a transparent one. Is there a solution to this? Attached screenshot and system info: [System] OperatingSystem=Linux Kernel=3.5.0-13-generic Architecture=i686 Memory=8184868 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 I think he's using the default theme on Ubuntu, but not sure. Best regards -- Jesus Guardon -------------- next part -------------- A non-text attachment was scrubbed... Name: corners_progress.png Type: image/png Size: 101511 bytes Desc: not available URL: From antonio.j.teixeira at ...626... Thu Dec 6 12:27:16 2012 From: antonio.j.teixeira at ...626... (Antonio Teixeira) Date: Thu, 6 Dec 2012 11:27:16 +0000 Subject: [Gambas-user] Gambas 2 and Ubuntu 12.10 Message-ID: Hi everyone. We are having a problem trying to use gambas 2 and Ubuntu 12.10. We cant find qt3 (Ubuntu 12.10 uses qt4) and the distro uses Gambas 3. We try to compile gambas 2 and we cant. Any ideas about this? Thanks in advance Ant?nio Teixeira From gambas at ...1... Thu Dec 6 12:28:04 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Dec 2012 12:28:04 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls In-Reply-To: <50C08010.2070201@...2382...> References: <50C08010.2070201@...2382...> Message-ID: <50C08144.6040600@...1...> Le 06/12/2012 12:22, Jesus a ?crit : > Hi > > Using gambas3, gb.gui on Gnome (Unity). > > A friend of mine reports this annoying bug in controls which have round > corners, having a visible little white triangle, instead of a > transparent one. > > Is there a solution to this? Attached screenshot and system info: > > [System] > OperatingSystem=Linux > Kernel=3.5.0-13-generic > Architecture=i686 > Memory=8184868 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 12.04.1 LTS" > Desktop=Gnome > > [gambas 3] > Version=3.3.4 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > I think he's using the default theme on Ubuntu, but not sure. > > Best regards > What's that control (the rectangle with the round corners)? -- Beno?t Minisini From ea7dfh at ...2382... Thu Dec 6 12:53:21 2012 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Dec 2012 12:53:21 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls In-Reply-To: <50C08144.6040600@...1...> References: <50C08010.2070201@...2382...> <50C08144.6040600@...1...> Message-ID: <50C08731.101@...2382...> El 06/12/12 12:28, Beno?t Minisini escribi?: > Le 06/12/2012 12:22, Jesus a ?crit : >> Hi >> >> Using gambas3, gb.gui on Gnome (Unity). >> >> A friend of mine reports this annoying bug in controls which have round >> corners, having a visible little white triangle, instead of a >> transparent one. >> >> Is there a solution to this? Attached screenshot and system info: >> >> [System] >> OperatingSystem=Linux >> Kernel=3.5.0-13-generic >> Architecture=i686 >> Memory=8184868 kB >> DistributionVendor=Ubuntu >> DistributionRelease="Ubuntu 12.04.1 LTS" >> Desktop=Gnome >> >> [gambas 3] >> Version=3.3.4 >> Path=/usr/bin/gbx3 >> >> [Libraries] >> Qt4=libQtCore.so.4.8.1 >> GTK+=libgtk-x11-2.0.so.0.2400.10 >> >> >> I think he's using the default theme on Ubuntu, but not sure. >> >> Best regards >> > > What's that control (the rectangle with the round corners)? > It's a progress bar, sorry if not stated before. -- Jesus Guardon From gambas at ...1... Thu Dec 6 13:39:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Dec 2012 13:39:41 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls In-Reply-To: <50C08731.101@...2382...> References: <50C08010.2070201@...2382...> <50C08144.6040600@...1...> <50C08731.101@...2382...> Message-ID: <50C0920D.3070101@...1...> Le 06/12/2012 12:53, Jesus a ?crit : > El 06/12/12 12:28, Beno?t Minisini escribi?: >> Le 06/12/2012 12:22, Jesus a ?crit : >>> Hi >>> >>> Using gambas3, gb.gui on Gnome (Unity). >>> >>> A friend of mine reports this annoying bug in controls which have round >>> corners, having a visible little white triangle, instead of a >>> transparent one. >>> >>> Is there a solution to this? Attached screenshot and system info: >>> >>> ... >>> >>> I think he's using the default theme on Ubuntu, but not sure. >>> >>> Best regards >>> >> >> What's that control (the rectangle with the round corners)? >> > > It's a progress bar, sorry if not stated before. > I can't reproduce that with Ubuntu GTK+ theme on my computer. And the progressbar has no border at all in the code, so I don't understand how he could get one! -- Beno?t Minisini From gambas at ...1... Thu Dec 6 13:43:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Dec 2012 13:43:53 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls In-Reply-To: <50C0920D.3070101@...1...> References: <50C08010.2070201@...2382...> <50C08144.6040600@...1...> <50C08731.101@...2382...> <50C0920D.3070101@...1...> Message-ID: <50C09309.7070906@...1...> Le 06/12/2012 13:39, Beno?t Minisini a ?crit : > Le 06/12/2012 12:53, Jesus a ?crit : >> El 06/12/12 12:28, Beno?t Minisini escribi?: >>> Le 06/12/2012 12:22, Jesus a ?crit : >>>> Hi >>>> >>>> Using gambas3, gb.gui on Gnome (Unity). >>>> >>>> A friend of mine reports this annoying bug in controls which have round >>>> corners, having a visible little white triangle, instead of a >>>> transparent one. >>>> >>>> Is there a solution to this? Attached screenshot and system info: >>>> > >>> ... >>>> >>>> I think he's using the default theme on Ubuntu, but not sure. >>>> >>>> Best regards >>>> >>> >>> What's that control (the rectangle with the round corners)? >>> >> >> It's a progress bar, sorry if not stated before. >> > > I can't reproduce that with Ubuntu GTK+ theme on my computer. And the > progressbar has no border at all in the code, so I don't understand how > he could get one! > Mmm sorry, I told rubbish. I have the same glitch. Apparently this comes directly from GTK+, that draws a background to its progress bar. I don't draw any background in the Gambas code. So I'm afraid he can't do nothing against that. Note that GTK+ is very bad at stacking controls. -- Beno?t Minisini From ea7dfh at ...2382... Thu Dec 6 15:20:19 2012 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Dec 2012 15:20:19 +0100 Subject: [Gambas-user] Graphic glitch - Corners in some controls In-Reply-To: <50C09309.7070906@...1...> References: <50C08010.2070201@...2382...> <50C08144.6040600@...1...> <50C08731.101@...2382...> <50C0920D.3070101@...1...> <50C09309.7070906@...1...> Message-ID: <50C0A9A3.8050904@...2382...> El 06/12/12 13:43, Beno?t Minisini escribi?: > I have the same glitch. Apparently this comes > directly from GTK+, that draws a background to its progress bar. I don't > draw any background in the Gambas code. > > So I'm afraid he can't do nothing against that. Note that GTK+ is very > bad at stacking controls. > > -- Beno?t Minisini Yes. I thought so, too. IIRC, this is not only in gambas applications, but in general. Well, thanks for give it a shot. Regards -- Jesus Guardon From jussi.lahtinen at ...626... Thu Dec 6 23:51:42 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 7 Dec 2012 00:51:42 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: <50BFE508.9080100@...1...> References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> Message-ID: Still something wrong... By this code I would expect to see two sectors each of them quarter of whole circle, now second one (blue) is half of circle. Draw.FillColor = Color.Red Draw.Circle(106, 106, 105, 0, Rad(90)) Draw.FillColor = Color.Blue Draw.Circle(106, 106, 105, Rad(90), Rad(180)) Jussi On Thu, Dec 6, 2012 at 2:21 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 05/12/2012 12:51, Beno?t Minisini a ?crit : > > Le 02/12/2012 22:59, Jussi Lahtinen a ?crit : > >> At least latest revision has changed behaviour of circle keyword (in > >> Qt4). > >> > >> This doesn't draw red sector, instead it seems to draw some part of it > >> which doesn't start from x,y: > >> > >> Draw.Foreground = Color.Black > >> Draw.LineWidth = 1 > >> Draw.FillStyle = Fill.Solid > >> Draw.FillColor = Color.Red > >> Draw.Circle(x, y, iSize, fStartAngle, fAngle) > >> > >> > >> Jussi > > > > I confirm the regression. I will look at it... > > > > OK, it should be fixed in revision #5413. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Dec 7 02:44:03 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 07 Dec 2012 02:44:03 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> Message-ID: <50C149E3.6030000@...1...> Le 06/12/2012 23:51, Jussi Lahtinen a ?crit : > Still something wrong... > > By this code I would expect to see two sectors each of them quarter of > whole circle, > now second one (blue) is half of circle. > > Draw.FillColor = Color.Red > Draw.Circle(106, 106, 105, 0, Rad(90)) > Draw.FillColor = Color.Blue > Draw.Circle(106, 106, 105, Rad(90), Rad(180)) > > > Jussi > Fixed in revision #5415. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Dec 7 03:27:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Dec 2012 02:27:46 +0000 Subject: [Gambas-user] Issue 362 in gambas: Gambas 3.3.3: Socket.RemoteHost returns an empty string In-Reply-To: <1-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.3.0 Comment #2 on issue 362 by benoit.m... at ...626...: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 (No comment was entered for this change.) From gambas at ...2524... Fri Dec 7 03:28:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Dec 2012 02:28:46 +0000 Subject: [Gambas-user] Issue 362 in gambas: Gambas 3.3.3: Socket.RemoteHost returns an empty string In-Reply-To: <2-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 362 by benoit.m... at ...626...: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 Fixed in revision #5416. The bug will be backported to Gambas 3.3.5. From allegfede at ...626... Fri Dec 7 10:47:33 2012 From: allegfede at ...626... (Federico Allegretti) Date: Fri, 7 Dec 2012 10:47:33 +0100 Subject: [Gambas-user] gs.media implement vumeter Message-ID: hello. starting writing my code (personal radio station open source edition, on sourceforge), mainly using gm.media and gstreamer multimedia framework. now i was plamming to add a pure estetic vumeter for the media playback and a waveform plot for that media. any way to access those data from gstreamer? thanks, Federico -- Messagenet VOIP: 5338759 My blogs: http://altri-media.blogspot.com/ http://subbaqquerie.blogspot.com/ YouTube Channel: AllegFede VIMEO HD videos: http://www.vimeo.com/user1912745/videos From jussi.lahtinen at ...626... Fri Dec 7 14:28:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 7 Dec 2012 15:28:32 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: <50C149E3.6030000@...1...> References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> Message-ID: > Fixed in revision #5415. > Something is still different from the original behaviour. I use same circle commands to draw pie chart and it still fails... Test output: Area num. 0: in rads; 0 to 0.89759700342775 Area num. 1: in rads; 0.89759700342775 to 1.79519400685551 Area num. 2: in rads; 1.79519400685551 to 2.69279101028326 Area num. 3: in rads; 2.69279101028326 to 3.59038801371102 Area num. 4: in rads; 3.59038801371102 to 4.48798501713877 Area num. 5: in rads; 4.48798501713877 to 5.38558202056653 Area num. 6: in rads; 5.38558202056653 to 6.28317902399428 Area num. 7: in rads; 6.28317902399428 to 0 It seems that drawing area 7 cover the whole chart. So it would be: Draw.Circle(106, 106, 105, 6.28317902399428, 0) 6.28317902399428 is same as Pi(2) or 360 degrees, which means start is same as end. I think whole circle should be drawn with this: Draw.Circle(106, 106, 105, 0, 6.28317902399428) And this shouldn't draw anything: Draw.Circle(106, 106, 105, 6.28317902399428, 0) Jussi From bill-lancaster at ...2231... Fri Dec 7 15:13:28 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Fri, 7 Dec 2012 06:13:28 -0800 (PST) Subject: [Gambas-user] Dialog.OpenFile raises signal #6 In-Reply-To: <1354263282656-40165.post@...3046...> References: <1354028678002-40108.post@...3046...> <50B4E034.4010307@...1...> <1354054982174-40123.post@...3046...> <50B53E8E.8050301@...1...> <1354095800651-40132.post@...3046...> <50B628B4.3010609@...1...> <1354122990631-40144.post@...3046...> <50B65179.4070208@...1...> <1354177055424-40154.post@...3046...> <1354263282656-40165.post@...3046...> Message-ID: <1354889608269-40272.post@...3046...> Sorry for the delay. Have recompiled GB3. Here is the bug report:- Starting program: /usr/local/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". gb.qt4: warning: unable to load Qt translation: en_GB.UTF-8 Got bus address: "unix:abstract=/tmp/dbus-5wVnJsr0X8,guid=593b67c0f21bfb4117da3f3800000024" Connected to accessibility bus at: "unix:abstract=/tmp/dbus-5wVnJsr0X8,guid=593b67c0f21bfb4117da3f3800000024" Registered DEC: true Registered event listener change listener: true ^[[B^[[B^[[B[New Thread 0xb1ca9b40 (LWP 4298)] QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!" QSpiAccessible::accessibleEvent not handled: "8008" obj: QSidebar(0x8385218, name = "sidebar") "sidebar" [New Thread 0xb124fb40 (LWP 4299)] FIXME: handle dialog start. [New Thread 0xb02a0b40 (LWP 4300)] Interface is not valid ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899 Program received signal SIGABRT, Aborted. 0xb7fdd424 in __kernel_vsyscall () Regards Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Dialog-OpenFile-raises-signal-6-tp40108p40272.html Sent from the gambas-user mailing list archive at Nabble.com. From math.eber at ...221... Fri Dec 7 21:53:20 2012 From: math.eber at ...221... (Matti) Date: Fri, 07 Dec 2012 21:53:20 +0100 Subject: [Gambas-user] FTranslate / btnNext works strange Message-ID: <50C25740.80405@...221...> When I open a project translation, the cursor jumps at random to some not-translated string, not the first one. Same when I use btnNext: mostly not the next one is shown, but the last one. It gets better the more % are translated, but it's irritating. btnPrevious seems to work correctly. Matti From gambas at ...2524... Fri Dec 7 23:07:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Dec 2012 22:07:48 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found Message-ID: <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 363 by t4769_a... at ...2320...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 1) Describe the problem. Command button background disappears (not visible) after cron job or screensaver use. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=3095920 kB DistributionVendor=Ubuntu DistributionRelease="Kubuntu 12.04.1 LTS" Desktop=KDE4 [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.3.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. graphics attached / before & after - I created a Gambas project with a number of command buttons. The 'Today' button retrieves a 48x48 icon with today's date in the icon so when the project runs today's date is shown in the icon of 'Today.' This works well in IDE. Works well in starting the compiled version. Unfortunately it doesn't work from a cron job or when the visible window goes away after the screensaver activity. The background of the command button does not show. Nothing. Rien. This is a good effect if it can be controlled unfortunately when the background goes, I cannot bring it back. I cannot find an option for command button transparency but I may have inadvertently found it! This is a definite bug but who wants to claim ownership. I'll start with Gambas and then move on. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: gambas-good.png 43.4 KB gambas-bad.png 49.1 KB From gambas at ...1... Sat Dec 8 02:30:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 08 Dec 2012 02:30:26 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade Message-ID: <50C29832.9040000@...1...> Hi, Sourceforge has upgraded the Gambas project from its old management software to the new one. Consequently, the subversion repository has been migrated to a new place, and then all the "checkout" you have done on your local computer is now invalid, and you must do a full "checkout" again. Alas, this process took a long time, and I forgot to send a mail to the user mailing-list to warn people *not* to do any commit. (I did on the developer maling-list) So I'm afraid that the revision #5417 with German translations has been lost and must be committed again to the new repository. Here is the new command for doing the checkout. I will try it soon on my own machine... The information is on https://sourceforge.net/p/gambas/code/ For a read-only access: $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk For a read-write access: (I don't know why there is a difference!) $ svn checkout --username= svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk Regards, -- Beno?t Minisini From sebikul at ...626... Sat Dec 8 03:36:25 2012 From: sebikul at ...626... (Sebi) Date: Sat, 8 Dec 2012 02:36:25 +0000 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <534288994-1354934193-cardhu_decombobulator_blackberry.rim.net-1571410494-@...3030...> Until I sort out the automatic import of the SVN repository, the Daily Builds PPA will be stuck at revision #5418 (somehow it got imported). I'm not sure if I can just change the repository URL, so the reimport is most likely going to take some time. -----Original Message----- From: Beno?t Minisini Date: Sat, 08 Dec 2012 02:30:26 To: mailing list for gambas users Reply-To: mailing list for gambas users Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade Hi, Sourceforge has upgraded the Gambas project from its old management software to the new one. Consequently, the subversion repository has been migrated to a new place, and then all the "checkout" you have done on your local computer is now invalid, and you must do a full "checkout" again. Alas, this process took a long time, and I forgot to send a mail to the user mailing-list to warn people *not* to do any commit. (I did on the developer maling-list) So I'm afraid that the revision #5417 with German translations has been lost and must be committed again to the new repository. Here is the new command for doing the checkout. I will try it soon on my own machine... The information is on https://sourceforge.net/p/gambas/code/ For a read-only access: $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk For a read-write access: (I don't know why there is a difference!) $ svn checkout --username= svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Dec 8 03:42:18 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 08 Dec 2012 03:42:18 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <534288994-1354934193-cardhu_decombobulator_blackberry.rim.net-1571410494-@...3030...> References: <50C29832.9040000@...1...> <534288994-1354934193-cardhu_decombobulator_blackberry.rim.net-1571410494-@...3030...> Message-ID: <50C2A90A.5090107@...1...> Le 08/12/2012 03:36, Sebi a ?crit : > Until I sort out the automatic import of the SVN repository, the > Daily Builds PPA will be stuck at revision #5418 (somehow it got > imported). I'm not sure if I can just change the repository URL, so > the reimport is most likely going to take some time. I don't know. Sourceforge to do a fresh checkout from the new URL. If the Daily Builds do that, you just have to change the SVN url and that's all (the read-only access url needs no user name and no password). Regards, -- Beno?t Minisini From bbruen at ...2308... Sat Dec 8 10:41:33 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 08 Dec 2012 20:11:33 +1030 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <1354959694.4483.5.camel@...2688...> On Sat, 2012-12-08 at 02:30 +0100, Beno?t Minisini wrote: > Hi, > > Sourceforge has upgraded the Gambas project from its old management > software to the new one. > > Consequently, the subversion repository has been migrated to a new > place, and then all the "checkout" you have done on your local computer > is now invalid, and you must do a full "checkout" again. > > Alas, this process took a long time, and I forgot to send a mail to the > user mailing-list to warn people *not* to do any commit. (I did on the > developer maling-list) > > So I'm afraid that the revision #5417 with German translations has been > lost and must be committed again to the new repository. > > Here is the new command for doing the checkout. I will try it soon on my > own machine... > > The information is on https://sourceforge.net/p/gambas/code/ > > For a read-only access: > > $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > For a read-write access: (I don't know why there is a difference!) > > $ svn checkout --username= > svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk > > Regards, > Hi Beno?t and all, I have added 5418 simply as a checkpoint so people can see that they are using the new sourceforge links. (I had no problems but we use eSVN, which seems to have resolved all the neccessaries without any intervention.) hth Bruce From bill-lancaster at ...2231... Sat Dec 8 11:14:55 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 8 Dec 2012 02:14:55 -0800 (PST) Subject: [Gambas-user] Tableview combobox Message-ID: <1354961695098-40279.post@...3046...> I know this is simple but. . . When editing a cell in a TableView how do I make a combobox/dropdown for a cell? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Tableview-combobox-tp40279.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Sat Dec 8 12:58:45 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 08 Dec 2012 12:58:45 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <1354967925.8995.7.camel@...40...> Am Samstag, den 08.12.2012, 02:30 +0100 schrieb Beno?t Minisini: > Hi, > > Sourceforge has upgraded the Gambas project from its old management > software to the new one. > > Consequently, the subversion repository has been migrated to a new > place, and then all the "checkout" you have done on your local computer > is now invalid, and you must do a full "checkout" again. > > Alas, this process took a long time, and I forgot to send a mail to the > user mailing-list to warn people *not* to do any commit. (I did on the > developer maling-list) > > So I'm afraid that the revision #5417 with German translations has been > lost and must be committed again to the new repository. > > Here is the new command for doing the checkout. I will try it soon on my > own machine... > > The information is on https://sourceforge.net/p/gambas/code/ > > For a read-only access: > > $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > For a read-write access: (I don't know why there is a difference!) > > $ svn checkout --username= > svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk > > Regards, > Salut, just before doing all the changes, I started my svn-script to see what happens. Nothing unusual happened, I had 5409, now I have 5418 Here the output xxxxxxx at ...3049...:~/src/gambas/3$ ./update30 == local ================================================================= Revision: 5409 == server ================================================================= Revision: 5418 =========================================================================== gambas-svn30 compile from scratch (y/[n]/q)? n U app/other/MakeWebSite/.lang/de.po U app/other/MakeWebSite/.settings U app/src/doc.cgi/.lang/.pot U app/src/doc.cgi/.src/CClassInfo.class U app/src/doc.cgi/.src/CSymbolInfo.class U app/src/doc.cgi/.src/Main.module U app/src/doc.cgi/.src/CComponent.class U app/src/gambas3/support.txt U app/src/gambas3/.lang/de.mo U app/src/gambas3/.lang/.pot U app/src/gambas3/.lang/de.po U app/src/gambas3/.src/Editor/Other/FTextEditor.form U app/src/gambas3/.src/Editor/Code/FEditor.form U app/src/gambas3/.src/Help/Markup.module U app/src/gambas3/.src/Component/CPropertyInfo.classcharlie U app/src/gambas3/.src/Project.module U app/src/gambas3/.src/Welcome/FAbout.form U app/src/gambas3/.src/Project/CProjectTree.class U gb.media/src/c_mediaplayer.c U gb.media/src/c_media.c U gb.gtk/src/gcontrol.cpp U gb.gtk/src/cpaint_impl.cpp U NEWS U main/gbx/gbx_api.c U main/gbx/gbx_c_class.c U main/gbx/gbx_extern.c U main/gbx/gbx_local.c U main/gbx/gbx_class_native.c U main/lib/draw/gb.paint.h U main/lib/draw/cpaint.c U main/lib/draw/cpoint_temp.h U comp/src/gb.gui.base/.src/GridView/GridView.class U comp/src/gb.gui.base/.src/GridView/_GridView_Data.class U comp/src/gb.gui.base/.src/Draw.module U comp/src/gb.gui.base/.src/TreeView/_TreeView_Item.class U comp/src/gb.gui.base/.src/TreeView/_TreeView.class U comp/src/gb.gui.base/.info U comp/src/gb.form.dialog/.lang/de.po U comp/src/gb.form/.lang/.pot U comp/src/gb.form/.lang/de.po U comp/src/gb.form/.project U comp/src/gb.form/.src/Test/FMain.form A comp/src/gb.form/.src/Test/FLCDLabel.form A comp/src/gb.form/.src/Test/FLCDLabel.class A comp/src/gb.form/.src/LCDLabel.class A comp/src/gb.form/.hidden/control/lcdlabel.png U comp/src/gb.form/.info U comp/src/gb.form/.list U comp/src/gb.form.mdi/.lang/de.po U comp/src/gb.map/.info U comp/src/gb.db.form/.lang/.pot U comp/src/gb.db.form/.lang/de.po U gb.qt4/src/webkit/cwebelement.cpp U gb.qt4/src/cpaint_impl.cpp U gb.qt4/src/CDraw.cpp U gb.net/src/CServerSocket.c U examples/examples/Control/Wizard/.lang/de.po U examples/examples/Control/ArrayOfControls/.lang/de.po U examples/examples/Control/Embedder/.lang/de.po U examples/examples/Control/TextEdit/.lang/de.po U examples/examples/Control/TreeView/.lang/de.mo U examples/examples/Control/TreeView/.lang/de.po U examples/examples/Control/HighlightEditor/.lang/de.mo U examples/examples/Control/HighlightEditor/.lang/de.po U examples/examples/Basic/Timer/.lang/de.mo U examples/examples/Basic/Timer/.lang/de.po U examples/examples/Basic/Object/.lang/de.mo U examples/examples/Basic/Object/.lang/de.po U examples/examples/Basic/Collection/.lang/de.mo U examples/examples/Basic/Collection/.lang/de.po U examples/examples/Basic/Blights/.lang/de.mo U examples/examples/Basic/Blights/.lang/de.po U examples/examples/Image/Lighttable/.lang/de.po U examples/examples/Image/Lighttable/.settings U examples/examples/Image/ImageViewer/.lang/de.mo U examples/examples/Image/ImageViewer/.lang/de.po U examples/examples/Database/PictureDatabase/.lang/de.po U examples/examples/Database/MySQLExample/.lang/de.po U examples/examples/Database/Database/.lang/de.mo U examples/examples/Database/Database/.lang/de.po U examples/examples/Multimedia/MediaPlayer/.projectcharlie U examples/examples/Multimedia/MediaPlayer/.startup U examples/examples/Multimedia/MediaPlayer/.src/FControl.class U examples/examples/Drawing/Barcode/.lang/de.po U examples/examples/Drawing/Chart/.lang/de.mo U examples/examples/Drawing/Chart/.lang/de.po U examples/examples/Drawing/OnScreenDisplay/.lang/de.mo U examples/examples/Drawing/OnScreenDisplay/.lang/de.po U examples/examples/Drawing/Gravity/.lang/de.mo U examples/examples/Drawing/Gravity/.lang/de.po U examples/examples/Drawing/Painting/.lang/de.mo U examples/examples/Drawing/Painting/.lang/de.po U examples/examples/Drawing/Clock/.lang/de.mo U examples/examples/Drawing/Clock/.lang/de.po U examples/examples/Misc/Explorer/.lang/de.mo U examples/examples/Misc/Explorer/.lang/de.po U examples/examples/Misc/Evaluator/.lang/de.mo U examples/examples/Misc/Evaluator/.lang/de.po U examples/examples/Misc/Notepad/.lang/de.mo U examples/examples/Misc/Notepad/.lang/de.po U examples/examples/Misc/PDFViewer/.lang/de.mo U examples/examples/Misc/PDFViewer/.lang/de.po U examples/examples/Games/Snake/.lang/de.mo U examples/examples/Games/Snake/.lang/de.po U examples/examples/Games/Puzzle1To8/.lang/de.po U examples/examples/Games/RobotFindsKitten/.lang/de.po U examples/examples/Games/Concent/.lang/en.po U examples/examples/Games/Concent/.lang/de.mo U examples/examples/Games/Concent/.lang/de.po U examples/examples/Games/DeepSpace/.lang/de.po U examples/examples/Games/GNUBoxWorld/.lang/de.mo U examples/examples/Games/GNUBoxWorld/.lang/de.po U examples/examples/Games/Solitaire/.lang/de.mo U examples/examples/Games/Solitaire/.lang/de.po U examples/examples/Games/GameOfLife/.lang/de.mo U examples/examples/Games/GameOfLife/.lang/de.po Aktualisiert zu Revision 5418. ********************************* ./reconf-all > ../reconf-all.log 2>&1 ********************************* ********************************* ./configure -C > ../configure.log 2>&1 ********************************* ********************************* make -j2 > ../make.log 2>&1 ********************************* ********************************* sudo make install > ../make_install.log 2>&1 ********************************* [sudo] password for xxxxxxxxxx: ********************************* svnMake finished ********************************* -- Karl Reinl Softwareentwicklung & EDV-Dienstleistungen Rennweg 72 90489 N?rnberg Tel 0911 53 905 222 Fax 0911 53 905 223 eMail Karl.Reinl at ...2345... From taboege at ...626... Sat Dec 8 13:41:53 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 8 Dec 2012 13:41:53 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <20121208124153.GC543@...2774...> On Sat, 08 Dec 2012, Beno?t Minisini wrote: > For a read-write access: (I don't know why there is a difference!) I think because you have to be authenticated via SSH to commit? > > $ svn checkout --username= > svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk From bill-lancaster at ...2231... Sat Dec 8 14:35:20 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 8 Dec 2012 05:35:20 -0800 (PST) Subject: [Gambas-user] Tableview combobox In-Reply-To: <1354961695098-40279.post@...3046...> References: <1354961695098-40279.post@...3046...> Message-ID: <1354973720061-40282.post@...3046...> In the tableview_Click() event, call tableview.Edit(sMySqlFieldTypes, True) if the cell is in the column where the drop down is wanted -- View this message in context: http://gambas.8142.n7.nabble.com/Tableview-combobox-tp40279p40282.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Sat Dec 8 14:51:52 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 08 Dec 2012 14:51:52 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <1354974712.3122.3.camel@...3024...> On Sat, 2012-12-08 at 02:30 +0100, Beno?t Minisini wrote: > Hi, > > Sourceforge has upgraded the Gambas project from its old management > software to the new one. > > Consequently, the subversion repository has been migrated to a new > place, and then all the "checkout" you have done on your local computer > is now invalid, and you must do a full "checkout" again. > > Alas, this process took a long time, and I forgot to send a mail to the > user mailing-list to warn people *not* to do any commit. (I did on the > developer maling-list) > > So I'm afraid that the revision #5417 with German translations has been > lost and must be committed again to the new repository. > > Here is the new command for doing the checkout. I will try it soon on my > own machine... > > The information is on https://sourceforge.net/p/gambas/code/ > > For a read-only access: > > $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk So for installing the trunk version Gambas documentation says to do: svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ This old link has to be replaced by svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk ? Willy From gambas at ...1... Sat Dec 8 15:58:50 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 08 Dec 2012 15:58:50 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <1354974712.3122.3.camel@...3024...> References: <50C29832.9040000@...1...> <1354974712.3122.3.camel@...3024...> Message-ID: <50C355AA.6090302@...1...> Le 08/12/2012 14:51, Willy Raets a ?crit : > > So for installing the trunk version Gambas documentation says to do: svn > checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ > > This old link has to be replaced by svn checkout > svn://svn.code.sf.net/p/gambas/code/gambas/trunk ? > > Willy > Yes. -- Beno?t Minisini From gambas at ...1... Sat Dec 8 16:12:39 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 08 Dec 2012 16:12:39 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <1354959694.4483.5.camel@...2688...> References: <50C29832.9040000@...1...> <1354959694.4483.5.camel@...2688...> Message-ID: <50C358E7.7010700@...1...> Le 08/12/2012 10:41, Bruce a ?crit : > > Hi Beno?t and all, > > I have added 5418 simply as a checkpoint so people can see that they are > using the new sourceforge links. > > (I had no problems but we use eSVN, which seems to have resolved all the > neccessaries without any intervention.) > > hth > Bruce > Good idea, but you are false: you made your commit to the old repository! -- Beno?t Minisini From gambas at ...1... Sat Dec 8 16:16:10 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 08 Dec 2012 16:16:10 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C358E7.7010700@...1...> References: <50C29832.9040000@...1...> <1354959694.4483.5.camel@...2688...> <50C358E7.7010700@...1...> Message-ID: <50C359BA.5010902@...1...> Le 08/12/2012 16:12, Beno?t Minisini a ?crit : > Le 08/12/2012 10:41, Bruce a ?crit : >> >> Hi Beno?t and all, >> >> I have added 5418 simply as a checkpoint so people can see that they are >> using the new sourceforge links. >> >> (I had no problems but we use eSVN, which seems to have resolved all the >> neccessaries without any intervention.) >> >> hth >> Bruce >> > > Good idea, but you are false: you made your commit to the old repository! > Just check that by looking at the subversion commit mail, or by checking the "Browse source code" page on the website! -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Dec 8 16:35:43 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 08 Dec 2012 16:35:43 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C359BA.5010902@...1...> References: <50C29832.9040000@...1...> <1354959694.4483.5.camel@...2688...> <50C358E7.7010700@...1...> <50C359BA.5010902@...1...> Message-ID: <1354980943.2561.1.camel@...40...> Am Samstag, den 08.12.2012, 16:16 +0100 schrieb Beno?t Minisini: > Le 08/12/2012 16:12, Beno?t Minisini a ?crit : > > Le 08/12/2012 10:41, Bruce a ?crit : > >> > >> Hi Beno?t and all, > >> > >> I have added 5418 simply as a checkpoint so people can see that they are > >> using the new sourceforge links. > >> > >> (I had no problems but we use eSVN, which seems to have resolved all the > >> neccessaries without any intervention.) > >> > >> hth > >> Bruce > >> > > > > Good idea, but you are false: you made your commit to the old repository! > > > > Just check that by looking at the subversion commit mail, or by checking > the "Browse source code" page on the website! > Yes, now the script fails. -- Amicalement Charlie From ron at ...1740... Sat Dec 8 17:04:11 2012 From: ron at ...1740... (Ron) Date: Sat, 8 Dec 2012 17:04:11 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <1354980943.2561.1.camel@...40...> References: <50C29832.9040000@...1...> <1354959694.4483.5.camel@...2688...> <50C358E7.7010700@...1...> <50C359BA.5010902@...1...> <1354980943.2561.1.camel@...40...> Message-ID: This is why I host my own svn... What a mess sourceforge makes of this.. Op 8 dec. 2012 16:36 schreef "Charlie Reinl" het volgende: > Am Samstag, den 08.12.2012, 16:16 +0100 schrieb Beno?t Minisini: > > Le 08/12/2012 16:12, Beno?t Minisini a ?crit : > > > Le 08/12/2012 10:41, Bruce a ?crit : > > >> > > >> Hi Beno?t and all, > > >> > > >> I have added 5418 simply as a checkpoint so people can see that they > are > > >> using the new sourceforge links. > > >> > > >> (I had no problems but we use eSVN, which seems to have resolved all > the > > >> neccessaries without any intervention.) > > >> > > >> hth > > >> Bruce > > >> > > > > > > Good idea, but you are false: you made your commit to the old > repository! > > > > > > > Just check that by looking at the subversion commit mail, or by checking > > the "Browse source code" page on the website! > > > > Yes, now the script fails. > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavym at ...626... Sat Dec 8 18:04:18 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 08 Dec 2012 18:04:18 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C29832.9040000@...1...> References: <50C29832.9040000@...1...> Message-ID: <6208511.YXlHVcY6m4@...2592...> Le samedi 8 d?cembre 2012 02:30:26 Beno?t Minisini a ?crit : > > The information is on https://sourceforge.net/p/gambas/code/ > > For a read-only access: > > $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > For a read-write access: (I don't know why there is a difference!) > > $ svn checkout --username= > svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk > The proper URL seem to be svn checkout --username= svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk For migrating from the old repo, you can try (not tested) the command svn relocate like this: svn relocate --username= svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Sat Dec 8 18:07:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 08 Dec 2012 18:07:13 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <6208511.YXlHVcY6m4@...2592...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> Message-ID: <50C373C1.8070700@...1...> Le 08/12/2012 18:04, Laurent Carlier a ?crit : > > The proper URL seem to be svn checkout --username= > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk > > For migrating from the old repo, you can try (not tested) the command svn > relocate like this: > > svn relocate --username= > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk > > ++ > Thanks Laurent! "gambas" was my user name, and I thought stupidly that it was the project name... -- Beno?t Minisini From gambas at ...2524... Sat Dec 8 18:35:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 08 Dec 2012 17:35:01 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 363 by benoit.m... at ...626...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 Please provide a little project that reproduces the bug! From gambas at ...2524... Sat Dec 8 20:05:27 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 08 Dec 2012 19:05:27 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <1-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Comment #2 on issue 363 by t4769_a... at ...2320...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 Used Gambas3 A small project is attached. I am attaching another bug report as a spinoff from this testing project. Attachments: testing.tar.gz 7.6 KB From gambas at ...2524... Sat Dec 8 20:18:18 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 08 Dec 2012 19:18:18 +0000 Subject: [Gambas-user] Issue 364 in gambas: Gambas3 - Make Executable Error Message-ID: <0-6813199134517018827-7832616726510976982-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 364 by t4769_a... at ...2320...: Gambas3 - Make Executable Error http://code.google.com/p/gambas/issues/detail?id=364 1) Describe the problem. Gambas3 - gba Error (see attached graphic) when trying to make executable 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=3095920 kB DistributionVendor=Ubuntu DistributionRelease="Kubuntu 12.04.1 LTS" Desktop=KDE 4.9.4 [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.3.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. Tried to create a small project for a previous bug and clicked Make > Executable. "testing.gambas" was displayed as a filename in the Make Executable form. Instead of navigating to the saving directory, I changed the text to "/home/????/bin/testing.gambas". The attached graphic error message displayed. The directory exists as a storage area for my executables. I tried it again by navigating to the saving directory and the executable was created successfully. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: gambas.bug.png 28.8 KB From gambas.fr at ...626... Sat Dec 8 22:01:12 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 8 Dec 2012 22:01:12 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C373C1.8070700@...1...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C373C1.8070700@...1...> Message-ID: Hi , For svn relocate you need to give the old url too Go in the trunk folder and then type: $ svn info take the url line : URL : svn://svn.code.sf.net/p/gambas/code/gambas/trunk then do : $ svn relocate --username= svn+ssh://@ svn.code.sf.net/p/gambas/code/gambas/trunk It have worked for me to migrate from Read Only to RW mode 2012/12/8 Beno?t Minisini > Le 08/12/2012 18:04, Laurent Carlier a ?crit : > > > > The proper URL seem to be svn checkout --username= > > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk > > > > For migrating from the old repo, you can try (not tested) the command svn > > relocate like this: > > > > svn relocate --username= > > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk > > > > ++ > > > > Thanks Laurent! "gambas" was my user name, and I thought stupidly that > it was the project name... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From willy at ...2734... Sat Dec 8 22:01:40 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 08 Dec 2012 22:01:40 +0100 Subject: [Gambas-user] DrawArea problems with gtk in 3.3.90 - rev. #5417 Message-ID: <1355000500.6022.6.camel@...3024...> Problem occurred on Gambas 3.3.90 - rev. #5417 Works correctly on Gambas 3.3.4 Must be caused by new implementation of DrawArea. DrawArea behaves correctly with qt4, gives trouble with gtk Attached source archive to see the problem. Step 1: Run the application to see what the intention is (it uses qt4) Step 2: Change component qt4 to gtk and run again to see the problem. Thanks, Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawArea-gtk-qt4-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5450 bytes Desc: not available URL: From gambas at ...2524... Sun Dec 9 04:54:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Dec 2012 03:54:54 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <2-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Comment #3 on issue 363 by t4769_a... at ...2320...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 One more bit of information that MAY be important(?). The project has 11 command buttons, 10 have icons attached through the Properties option of Picture. These are stock 32x32 icons. There are no problems with the display of these buttons. The transparent command button gets it's icon from code. A different icon is chosen each day. Each icon has a number from 1 to 31 displayed on a pseudo calendar page. The code looks like this: ' load a calendar icon for the day of the month for the today button btnToday.Picture = Picture.Load("img/cal-" & Format(Day(Now), "00") & ".png") It does seem a coincidence that this happens from code and not a menu option. From demosthenesk at ...626... Sun Dec 9 05:03:54 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 09 Dec 2012 06:03:54 +0200 Subject: [Gambas-user] Ubuntu for Android and Gambas Message-ID: <50C40DAA.70907@...626...> Hello, According Canonical we will be able to run ubuntu in any android device like phones and tablets. http://www.ubuntu.com/devices/android Does this mean that we can run Gambas in Ubuntu in a Phone or Tablet? From gp at ...3050... Sun Dec 9 11:26:00 2012 From: gp at ...3050... (Gianni Piccini) Date: Sun, 09 Dec 2012 11:26:00 +0100 Subject: [Gambas-user] Small problem with .insert Message-ID: <50C46738.5070904@...3050...> I would to put in an array lists of some kinds of files. Code is similar to following lines, "prints" are there to check what's happening.. question is, there is any way to use "insert" and read those hidden files? This, on Gambas 3.1.1 and Debian. dim files as string[] files = RDir(directory, "*.html", gb.file) print files.length ' prints 12250, correct files.Insert(RDir(directory, "*.css", gb.file)) print files.length 'prints 12255, 5 new files added, correct files.Insert(RDir(directory, "robots.txt", gb.file)) print files.length ' prints 12256, one new file, correct files.Insert(RDir(directory, ".ht*", gb.file)) print files.length ' prints 12256, but there were two files to add files.Insert(RDir(directory, ".htaccess", gb.file)) print files.length ' prints 12256, but there was one file to add From gp at ...3050... Sun Dec 9 13:52:13 2012 From: gp at ...3050... (Gianni Piccini) Date: Sun, 09 Dec 2012 13:52:13 +0100 Subject: [Gambas-user] Small problem with .insert Message-ID: <50C4897D.7030808@...3050...> I would to put in an array lists of some kinds of files. Code is similar to following lines, "prints" are there to check what's happening.. question is, there is any way to use "insert" and read those hidden files? This, on Gambas 3.1.1 and Debian. dim files as string[] files = RDir(directory, "*.html", gb.file) print files.length ' prints 12250, correct files.Insert(RDir(directory, "*.css", gb.file)) print files.length 'prints 12255, 5 new files added, correct files.Insert(RDir(directory, "robots.txt", gb.file)) print files.length ' prints 12256, one new file, correct files.Insert(RDir(directory, ".ht*", gb.file)) print files.length ' prints 12256, but there were two files to add files.Insert(RDir(directory, ".htaccess", gb.file)) print files.length ' prints 12256, but there was one file to add From gambas at ...1... Sun Dec 9 16:05:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 16:05:19 +0100 Subject: [Gambas-user] DrawArea problems with gtk in 3.3.90 - rev. #5417 In-Reply-To: <1355000500.6022.6.camel@...3024...> References: <1355000500.6022.6.camel@...3024...> Message-ID: <50C4A8AF.90301@...1...> Le 08/12/2012 22:01, Willy Raets a ?crit : > Problem occurred on Gambas 3.3.90 - rev. #5417 > Works correctly on Gambas 3.3.4 > > Must be caused by new implementation of DrawArea. > > DrawArea behaves correctly with qt4, gives trouble with gtk > > Attached source archive to see the problem. > > Step 1: Run the application to see what the intention is (it uses qt4) > Step 2: Change component qt4 to gtk and run again to see the problem. > > Thanks, > > Willy > It is fixed in revision #5420. But note the way you are doing animation is not good: - You are drawing on a non-cached DrawingArea outside of a Draw event. You must not do that, even if at the moment it works because you are using X-Window. Use a cached DrawingArea, or paint only inside the Draw event handler. - You are using the WAIT instruction. You should use a Timer instead. For example, to make animations in the MediaPlayer example, I have implemented a little class named CAnimation. I suggest you look at it and steal it. Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 9 16:12:40 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 16:12:40 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> Message-ID: <50C4AA68.6060908@...1...> Le 07/12/2012 14:28, Jussi Lahtinen a ?crit : >> Fixed in revision #5415. >> > > Something is still different from the original behaviour. > I use same circle commands to draw pie chart and it still fails... > > Test output: > > Area num. 0: in rads; 0 to 0.89759700342775 > Area num. 1: in rads; 0.89759700342775 to 1.79519400685551 > Area num. 2: in rads; 1.79519400685551 to 2.69279101028326 > Area num. 3: in rads; 2.69279101028326 to 3.59038801371102 > Area num. 4: in rads; 3.59038801371102 to 4.48798501713877 > Area num. 5: in rads; 4.48798501713877 to 5.38558202056653 > Area num. 6: in rads; 5.38558202056653 to 6.28317902399428 > Area num. 7: in rads; 6.28317902399428 to 0 > > It seems that drawing area 7 cover the whole chart. > So it would be: > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > 6.28317902399428 is same as Pi(2) or 360 degrees, which means start is same > as end. > > I think whole circle should be drawn with this: > Draw.Circle(106, 106, 105, 0, 6.28317902399428) > > And this shouldn't draw anything: > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > Jussi Actually the old Draw class was wrong, because you can draw a pie clockwise (End > Start) or counter-clockwise (End < Start). So only Start = End should not draw anything (or just a line between the center and the point at the specified angle). -- Beno?t Minisini From willy at ...2734... Sun Dec 9 16:30:53 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Dec 2012 16:30:53 +0100 Subject: [Gambas-user] DrawArea problems with gtk in 3.3.90 - rev. #5417 In-Reply-To: <50C4A8AF.90301@...1...> References: <1355000500.6022.6.camel@...3024...> <50C4A8AF.90301@...1...> Message-ID: <1355067053.2104.4.camel@...3024...> > It is fixed in revision #5420. Thanks, I'll have a look at it as soon as I have rev #5420 installed > > But note the way you are doing animation is not good: > - You are drawing on a non-cached DrawingArea outside of a Draw event. > You must not do that, even if at the moment it works because you are > using X-Window. Use a cached DrawingArea, or paint only inside the Draw > event handler. DrawingArea in example is named drwAbout First line of code in Form_Activate() after the Dim is drwAbout.Cached = True Next I start drawing all. Doesn't that mean I'm drawing on a cached DrawingArea? Or am I completely misunderstanding? > > - You are using the WAIT instruction. You should use a Timer instead. > For example, to make animations in the MediaPlayer example, I have > implemented a little class named CAnimation. I suggest you look at it > and steal it. I'll have a look at the Timer and steal it :-) > > Regards, > Thanks again, Willy From gambas at ...1... Sun Dec 9 16:50:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 16:50:09 +0100 Subject: [Gambas-user] DrawArea problems with gtk in 3.3.90 - rev. #5417 In-Reply-To: <1355067053.2104.4.camel@...3024...> References: <1355000500.6022.6.camel@...3024...> <50C4A8AF.90301@...1...> <1355067053.2104.4.camel@...3024...> Message-ID: <50C4B331.80303@...1...> Le 09/12/2012 16:30, Willy Raets a ?crit : > >> It is fixed in revision #5420. > > Thanks, I'll have a look at it as soon as I have rev #5420 installed >> >> But note the way you are doing animation is not good: >> - You are drawing on a non-cached DrawingArea outside of a Draw event. >> You must not do that, even if at the moment it works because you are >> using X-Window. Use a cached DrawingArea, or paint only inside the Draw >> event handler. > > DrawingArea in example is named drwAbout > > First line of code in Form_Activate() after the Dim is > drwAbout.Cached = True > Next I start drawing all. Sorry, didn't see that line! :-) -- Beno?t Minisini From math.eber at ...221... Sun Dec 9 19:17:47 2012 From: math.eber at ...221... (Matti) Date: Sun, 09 Dec 2012 19:17:47 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <6208511.YXlHVcY6m4@...2592...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> Message-ID: <50C4D5CB.4080007@...221...> I tried both commands, but I still get the message: /..../gambas3/5421/trunk' is already a working copy for a different URL svn checkout works, but the old URL isn't changed. 'svn update' and 'svn info' still point to the old URL. Does somebody know how to tell svn to save the new URL? Matti Am 08.12.2012 18:04, schrieb Laurent Carlier: > Le samedi 8 d?cembre 2012 02:30:26 Beno?t Minisini a ?crit : >> >> The information is on https://sourceforge.net/p/gambas/code/ >> >> For a read-only access: >> >> $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >> >> For a read-write access: (I don't know why there is a difference!) >> >> $ svn checkout --username= >> svn+ssh://gambas at ...3048.../p/gambas/code/gambas/trunk >> > > The proper URL seem to be svn checkout --username= > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk > > For migrating from the old repo, you can try (not tested) the command svn > relocate like this: > > svn relocate --username= > svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk From gambas at ...1... Sun Dec 9 19:37:37 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 19:37:37 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C4D5CB.4080007@...221...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> Message-ID: <50C4DA71.8020209@...1...> Le 09/12/2012 19:17, Matti a ?crit : > I tried both commands, but I still get the message: > /..../gambas3/5421/trunk' is already a working copy for a different URL > > svn checkout works, but the old URL isn't changed. > 'svn update' and 'svn info' still point to the old URL. > > Does somebody know how to tell svn to save the new URL? > > Matti > Remove the old /trunk completely and do a checkout from scratch with the new url. Regards, -- Beno?t Minisini From math.eber at ...221... Sun Dec 9 19:46:11 2012 From: math.eber at ...221... (Matti) Date: Sun, 09 Dec 2012 19:46:11 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C4DA71.8020209@...1...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> Message-ID: <50C4DC73.5050009@...221...> But then all my recent translations (that have been sent to theo old URL) would be lost. Would it be possible to save all those *.po and *.mo files somewhere, do the checkout from scatch, copy them to the new trunk directory and do a commit again? M. Am 09.12.2012 19:37, schrieb Beno?t Minisini: > Le 09/12/2012 19:17, Matti a ?crit : >> I tried both commands, but I still get the message: >> /..../gambas3/5421/trunk' is already a working copy for a different URL >> >> svn checkout works, but the old URL isn't changed. >> 'svn update' and 'svn info' still point to the old URL. >> >> Does somebody know how to tell svn to save the new URL? >> >> Matti >> > > Remove the old /trunk completely and do a checkout from scratch with the > new url. > > Regards, > From gambas at ...1... Sun Dec 9 19:52:15 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 19:52:15 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C4DC73.5050009@...221...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> <50C4DC73.5050009@...221...> Message-ID: <50C4DDDF.8030604@...1...> Le 09/12/2012 19:46, Matti a ?crit : > But then all my recent translations (that have been sent to theo old URL) would > be lost. > > Would it be possible to save all those *.po and *.mo files somewhere, do the > checkout from scatch, copy them to the new trunk directory and do a commit again? > > M. > Don't remove the old /trunk then, just rename the directory, or put it elsewhere. Once you have done the new checkout, you will have to get the new translation from the old trunk and put it into the new one. A file copy will be enough. -- Beno?t Minisini From sebikul at ...626... Sun Dec 9 19:52:51 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 9 Dec 2012 15:52:51 -0300 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C4DC73.5050009@...221...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> <50C4DC73.5050009@...221...> Message-ID: On Sun, Dec 9, 2012 at 3:46 PM, Matti wrote: > But then all my recent translations (that have been sent to theo old URL) > would > be lost. > > Would it be possible to save all those *.po and *.mo files somewhere, do > the > checkout from scatch, copy them to the new trunk directory and do a commit > again? > > M. > > Am 09.12.2012 19:37, schrieb Beno?t Minisini: > > Le 09/12/2012 19:17, Matti a ?crit : > >> I tried both commands, but I still get the message: > >> /..../gambas3/5421/trunk' is already a working copy for a > different URL > >> > >> svn checkout works, but the old URL isn't changed. > >> 'svn update' and 'svn info' still point to the old URL. > >> > >> Does somebody know how to tell svn to save the new URL? > >> > >> Matti > >> > > > > Remove the old /trunk completely and do a checkout from scratch with the > > new url. > > > > Regards, > > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I have a backup of the old repository. If you want, i can import your commit to the new repository, then you can just do a fresh checkout. From math.eber at ...221... Sun Dec 9 20:13:07 2012 From: math.eber at ...221... (Matti) Date: Sun, 09 Dec 2012 20:13:07 +0100 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> <50C4DC73.5050009@...221...> Message-ID: <50C4E2C3.7050205@...221...> Whow! That would be great. Let's try! M. Am 09.12.2012 19:52, schrieb Sebastian Kulesz: > On Sun, Dec 9, 2012 at 3:46 PM, Matti wrote: > > I have a backup of the old repository. If you want, i can import your > commit to the new repository, then you can just do a fresh checkout. From sebikul at ...626... Sun Dec 9 20:53:09 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 9 Dec 2012 16:53:09 -0300 Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade In-Reply-To: <50C4E2C3.7050205@...221...> References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> <50C4DC73.5050009@...221...> <50C4E2C3.7050205@...221...> Message-ID: Please check revision #5423. BTW, the Daily Builds PPA is up again, please give it a few hours for the new updates to show up! On Sun, Dec 9, 2012 at 4:13 PM, Matti wrote: > Whow! That would be great. Let's try! > M. > > Am 09.12.2012 19:52, schrieb Sebastian Kulesz: > > On Sun, Dec 9, 2012 at 3:46 PM, Matti wrote: > > > > I have a backup of the old repository. If you want, i can import your > > commit to the new repository, then you can just do a fresh checkout. > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Dec 9 21:25:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Dec 2012 21:25:33 +0100 Subject: [Gambas-user] Small problem with .insert In-Reply-To: <50C4897D.7030808@...3050...> References: <50C4897D.7030808@...3050...> Message-ID: <50C4F3BD.3090802@...1...> Le 09/12/2012 13:52, Gianni Piccini a ?crit : > I would to put in an array lists of some kinds of files. Code is similar > to following lines, "prints" are there to check what's happening.. > question is, there is any way to use "insert" and read those hidden > files? This, on Gambas 3.1.1 and Debian. > > dim files as string[] > > files = RDir(directory, "*.html", gb.file) > print files.length > ' prints 12250, correct > > files.Insert(RDir(directory, "*.css", gb.file)) > print files.length > 'prints 12255, 5 new files added, correct > > files.Insert(RDir(directory, "robots.txt", gb.file)) > print files.length > ' prints 12256, one new file, correct > > files.Insert(RDir(directory, ".ht*", gb.file)) > print files.length > ' prints 12256, but there were two files to add > > files.Insert(RDir(directory, ".htaccess", gb.file)) > print files.length > ' prints 12256, but there was one file to add > I don't know... There is no reason why RDir() should not see a file. Except maybe if you don't have the rights to read the .ht* files? -- Beno?t Minisini From gp at ...3050... Mon Dec 10 01:12:15 2012 From: gp at ...3050... (Gianni Piccini) Date: Mon, 10 Dec 2012 01:12:15 +0100 Subject: [Gambas-user] Small problem with .insert In-Reply-To: <50C4F3BD.3090802@...1...> References: <50C4897D.7030808@...3050...> <50C4F3BD.3090802@...1...> Message-ID: <50C528DF.9040309@...3050...> On 09/12/2012 21:25, Beno?t Minisini wrote: > I don't know... There is no reason why RDir() should not see a file. > Except maybe if you don't have the rights to read the .ht* files? Rights are correct: and, at the same time, if I write files = RDir(directory, "*.*", gb.file) I've the correct number of files in the array. Not so important for me - I've done the thing in another way, and Gambas version is not too recent - but I know that code works as expected for some friends. From gambas at ...1... Mon Dec 10 02:27:17 2012 From: gambas at ...1... (=?ISO-8859-15?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Dec 2012 02:27:17 +0100 Subject: [Gambas-user] Small problem with .insert In-Reply-To: <50C528DF.9040309@...3050...> References: <50C4897D.7030808@...3050...> <50C4F3BD.3090802@...1...> <50C528DF.9040309@...3050...> Message-ID: <50C53A75.5070807@...1...> Le 10/12/2012 01:12, Gianni Piccini a ?crit : > On 09/12/2012 21:25, Beno?t Minisini wrote: > >> I don't know... There is no reason why RDir() should not see a file. >> Except maybe if you don't have the rights to read the .ht* files? > > Rights are correct: and, at the same time, if I write > > files = RDir(directory, "*.*", gb.file) > > I've the correct number of files in the array. Not so important for me - > I've done the thing in another way, and Gambas version is not too recent > - but I know that code works as expected for some friends. > Fine, but it's weird if RDir() cannot see some files! If eventually you upgrade to a recent version of Gambas, please try the same code and tell me if it works as expected... Regards, -- Beno?t Minisini From gambas at ...2524... Mon Dec 10 02:57:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 01:57:49 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <3-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #4 on issue 363 by benoit.m... at ...626...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 I cannot reproduce the problem. Maybe it is a bug in the widget theme. Which widget theme do you use? From gambas at ...2524... Mon Dec 10 04:04:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 03:04:37 +0000 Subject: [Gambas-user] Issue 364 in gambas: Gambas3 - Make Executable Error In-Reply-To: <0-6813199134517018827-7832616726510976982-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7832616726510976982-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7832616726510976982-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 364 by benoit.m... at ...626...: Gambas3 - Make Executable Error http://code.google.com/p/gambas/issues/detail?id=364 I have modified the FileChooser in revision #5425 so that if you enter a full path in the file text field, the Activate event is not raised when clicking on the OK button. Instead, the file text field is split in a directory and a file name. The FileChooser then jumps to the directory, and the file text field contents is replaced by the file name. From gambas at ...2524... Mon Dec 10 04:05:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 03:05:37 +0000 Subject: [Gambas-user] Issue 359 in gambas: ScrollBar fails in the new version In-Reply-To: <5-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> <0-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #6 on issue 359 by benoit.m... at ...626...: ScrollBar fails in the new version http://code.google.com/p/gambas/issues/detail?id=359 (No comment was entered for this change.) From abbat.81 at ...787... Mon Dec 10 12:09:37 2012 From: abbat.81 at ...787... (abbat81) Date: Mon, 10 Dec 2012 03:09:37 -0800 (PST) Subject: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example Message-ID: <1355137777417-40318.post@...3046...> Hi, I have a problems with Ubuntu 12.04 but the same example is working good in Ubuntu 11.04. I get next: "Cannot open serial port (5) in FSerialPort:39." Can you help me? -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-with-Ubuntu-12-04-SerialPort-Example-tp40318.html Sent from the gambas-user mailing list archive at Nabble.com. From robynsveil at ...626... Mon Dec 10 12:20:28 2012 From: robynsveil at ...626... (Robyns Veil) Date: Mon, 10 Dec 2012 21:20:28 +1000 Subject: [Gambas-user] My email for posting to Gambas-users Message-ID: -- *Wir sind gewohnt, da? die Menschen verh?hnen was sie nicht verstehen* From robynsveil at ...626... Mon Dec 10 12:41:23 2012 From: robynsveil at ...626... (Robynsveil) Date: Mon, 10 Dec 2012 03:41:23 -0800 (PST) Subject: [Gambas-user] Question about a Qt translation warning Message-ID: <1355139683690-40320.post@...3046...> Hi, I'm running Gambas 3.3.4 in Linux Mint 13 64-bit, with the Qt4 development set installed (hoping I'm describing this adequately). Oh, and I live in Australia. I've created a form... when I "Run" it, Console reports: gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8 I've installed qt4-linguist-tools: /This package contains lupdate and lrelease. lupdate is a command line tool that finds the translatable strings in the specified source, header and Qt Designer interface files, and produces or updates .ts translation files. lrelease is a command line tool that produces QM files out of TS files./ I've also installed gettext (including -base, po-debconf) ... just about anything that looked like it might satisfy the "GNU Translation Tools" requirement as suggested by Benoit Minisini in another thread/post. I have searched everything I could on this forum and have googled the issue as well, but with no definitive answers. I guess my question is: is this warning going to eventually be a show-stopper or is it safe to ignore? At this point, the form that generates the warning doesn't do much besides look pretty :-/ - eventually, it will be driven by a little SQLite database. Open to any and all suggestions... thanks in advance. Oh and: Gambas is a fantastic program!! I made my little form in *no time* flat... the GUI is very clean and works a treat, and the docs available are clear and generously detailed. Thank you!! -- View this message in context: http://gambas.8142.n7.nabble.com/Question-about-a-Qt-translation-warning-tp40320.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Dec 10 12:55:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Dec 2012 12:55:47 +0100 Subject: [Gambas-user] Question about a Qt translation warning In-Reply-To: <1355139683690-40320.post@...3046...> References: <1355139683690-40320.post@...3046...> Message-ID: <50C5CDC3.3000207@...1...> Le 10/12/2012 12:41, Robynsveil a ?crit : > Hi, I'm running Gambas 3.3.4 in Linux Mint 13 64-bit, with the Qt4 > development set installed (hoping I'm describing this adequately). Oh, and I > live in Australia. > I've created a form... when I "Run" it, Console reports: > > gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8 > > I've installed qt4-linguist-tools: > /This package contains lupdate and lrelease. lupdate is a command line tool > that finds the translatable strings in the specified source, header and > Qt Designer interface files, and produces or updates .ts translation files. > lrelease is a command line tool that produces QM files out of TS files./ > > I've also installed gettext (including -base, po-debconf) ... just about > anything that looked like it might satisfy the "GNU Translation Tools" > requirement as suggested by Benoit Minisini in another thread/post. I have > searched everything I could on this forum and have googled the issue as > well, but with no definitive answers. > > I guess my question is: is this warning going to eventually be a > show-stopper or is it safe to ignore? Yes. It is just that Qt is not provided with all possible translations. When the Gambas programs starts and loads the Qt library, it tells it which is the system language, then I try to find the corresponding Qt translation, I don't find it, and I print that message. The Qt translation is mainly used for standard Qt dialogs, or the popup menu of a TextBox... Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Dec 10 15:52:38 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Dec 2012 16:52:38 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: <50C4AA68.6060908@...1...> References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> Message-ID: OK, makes sense. One tiny thing more... Draw.Foreground = Color.Black Draw.LineWidth = 3 Draw.Circle(106, 106, 105) Draw.LineWidth = 1 Draw.FillStyle = Fill.Solid 'this draws very narrow sector Draw.FillColor = Color.Black Draw.Circle(106, 106, 105, Rad(359), Rad(360)) 'this draws little red cross at center point of the sector. Draw.Foreground = Color.Red Draw.Line(104, 106, 108, 106) Draw.Line(106, 104, 106, 108) However sector is off from center point. See attachment. Jussi On Sun, Dec 9, 2012 at 5:12 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 07/12/2012 14:28, Jussi Lahtinen a ?crit : > >> Fixed in revision #5415. > >> > > > > Something is still different from the original behaviour. > > I use same circle commands to draw pie chart and it still fails... > > > > Test output: > > > > Area num. 0: in rads; 0 to 0.89759700342775 > > Area num. 1: in rads; 0.89759700342775 to 1.79519400685551 > > Area num. 2: in rads; 1.79519400685551 to 2.69279101028326 > > Area num. 3: in rads; 2.69279101028326 to 3.59038801371102 > > Area num. 4: in rads; 3.59038801371102 to 4.48798501713877 > > Area num. 5: in rads; 4.48798501713877 to 5.38558202056653 > > Area num. 6: in rads; 5.38558202056653 to 6.28317902399428 > > Area num. 7: in rads; 6.28317902399428 to 0 > > > > It seems that drawing area 7 cover the whole chart. > > So it would be: > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > 6.28317902399428 is same as Pi(2) or 360 degrees, which means start is > same > > as end. > > > > I think whole circle should be drawn with this: > > Draw.Circle(106, 106, 105, 0, 6.28317902399428) > > > > And this shouldn't draw anything: > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > > > Jussi > > Actually the old Draw class was wrong, because you can draw a pie > clockwise (End > Start) or counter-clockwise (End < Start). So only > Start = End should not draw anything (or just a line between the center > and the point at the specified angle). > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > 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: Screenshot.png Type: image/png Size: 1925 bytes Desc: not available URL: From taboege at ...626... Mon Dec 10 16:47:54 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 10 Dec 2012 16:47:54 +0100 Subject: [Gambas-user] Feature request: Separator.Foreground Message-ID: <20121210154754.GA605@...2774...> Hi Benoit, for aesthetic reasons, we would like to set the line colour of the Separator control. AFAICS, Separator.Foreground has no function, is just an inherited symbol from Control, so the feature could be implemented with this property. Looking at the gb.qt4 sources, this seems to be no more than a few LOC (don't know about gb.gtk, though). Will you do it? Regards, Tobi From gambas.fr at ...626... Mon Dec 10 19:19:18 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 10 Dec 2012 19:19:18 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> Message-ID: haaa vector ... what a great thing for great things ... but not for small ones... does it do the same with a smaller linewidth ? 2012/12/10 Jussi Lahtinen > OK, makes sense. > One tiny thing more... > > Draw.Foreground = Color.Black > Draw.LineWidth = 3 > Draw.Circle(106, 106, 105) > > Draw.LineWidth = 1 > Draw.FillStyle = Fill.Solid > > > 'this draws very narrow sector > > Draw.FillColor = Color.Black > Draw.Circle(106, 106, 105, Rad(359), Rad(360)) > > > 'this draws little red cross at center point of the sector. > > Draw.Foreground = Color.Red > Draw.Line(104, 106, 108, 106) > Draw.Line(106, 104, 106, 108) > > > However sector is off from center point. > See attachment. > > > Jussi > > > > > On Sun, Dec 9, 2012 at 5:12 PM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Le 07/12/2012 14:28, Jussi Lahtinen a ?crit : > > >> Fixed in revision #5415. > > >> > > > > > > Something is still different from the original behaviour. > > > I use same circle commands to draw pie chart and it still fails... > > > > > > Test output: > > > > > > Area num. 0: in rads; 0 to 0.89759700342775 > > > Area num. 1: in rads; 0.89759700342775 to 1.79519400685551 > > > Area num. 2: in rads; 1.79519400685551 to 2.69279101028326 > > > Area num. 3: in rads; 2.69279101028326 to 3.59038801371102 > > > Area num. 4: in rads; 3.59038801371102 to 4.48798501713877 > > > Area num. 5: in rads; 4.48798501713877 to 5.38558202056653 > > > Area num. 6: in rads; 5.38558202056653 to 6.28317902399428 > > > Area num. 7: in rads; 6.28317902399428 to 0 > > > > > > It seems that drawing area 7 cover the whole chart. > > > So it would be: > > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > > > 6.28317902399428 is same as Pi(2) or 360 degrees, which means start is > > same > > > as end. > > > > > > I think whole circle should be drawn with this: > > > Draw.Circle(106, 106, 105, 0, 6.28317902399428) > > > > > > And this shouldn't draw anything: > > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > > > > > > Jussi > > > > Actually the old Draw class was wrong, because you can draw a pie > > clockwise (End > Start) or counter-clockwise (End < Start). So only > > Start = End should not draw anything (or just a line between the center > > and the point at the specified angle). > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > > Remotely access PCs and mobile devices and provide instant support > > Improve your efficiency, and focus on delivering more value-add services > > Discover what IT Professionals Know. Rescue delivers > > http://p.sf.net/sfu/logmein_12329d2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Fabien Bodard From gambas at ...2524... Mon Dec 10 19:29:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 18:29:19 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <4-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Comment #5 on issue 363 by t4769_a... at ...2320...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 I tried each and every theme on my stock Kubuntu KDE for styles and icons and the issue is reproducible. Specifically, Oxygen theme and icons reproduce the problem. I even downloaded some extra themes and icons and tried them. One extra point. If I assign a picture from the properties menu to the command button then the issue goes away. If I use code then the issue returns. It maybe my general KDE setup so I used a live cd to rename .kde and I rebooted. Surprise. Surprise. Look at the image from a new .kde install. Everyone of the command buttons are now a transparent. I also tried the transparent command button for clicking and it works as expected. When the mousepointer moves over the button, an outline can be seen. The issue is mostly at my end not yours. A bug exists somewhere but it is not totally Gambas's fault. So . . . please mark this issue closed. Thank You Attachments: gambas.new_kde.png 184 KB From jussi.lahtinen at ...626... Mon Dec 10 19:34:06 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Dec 2012 20:34:06 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> Message-ID: Yes, it makes difference. See screenshots. Jussi On Mon, Dec 10, 2012 at 8:19 PM, Fabien Bodard wrote: > haaa vector ... what a great thing for great things ... but not for small > ones... > > does it do the same with a smaller linewidth ? > > > > 2012/12/10 Jussi Lahtinen > > > OK, makes sense. > > One tiny thing more... > > > > Draw.Foreground = Color.Black > > Draw.LineWidth = 3 > > Draw.Circle(106, 106, 105) > > > > Draw.LineWidth = 1 > > Draw.FillStyle = Fill.Solid > > > > > > 'this draws very narrow sector > > > > Draw.FillColor = Color.Black > > Draw.Circle(106, 106, 105, Rad(359), Rad(360)) > > > > > > 'this draws little red cross at center point of the sector. > > > > Draw.Foreground = Color.Red > > Draw.Line(104, 106, 108, 106) > > Draw.Line(106, 104, 106, 108) > > > > > > However sector is off from center point. > > See attachment. > > > > > > Jussi > > > > > > > > > > On Sun, Dec 9, 2012 at 5:12 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > > > Le 07/12/2012 14:28, Jussi Lahtinen a ?crit : > > > >> Fixed in revision #5415. > > > >> > > > > > > > > Something is still different from the original behaviour. > > > > I use same circle commands to draw pie chart and it still fails... > > > > > > > > Test output: > > > > > > > > Area num. 0: in rads; 0 to 0.89759700342775 > > > > Area num. 1: in rads; 0.89759700342775 to 1.79519400685551 > > > > Area num. 2: in rads; 1.79519400685551 to 2.69279101028326 > > > > Area num. 3: in rads; 2.69279101028326 to 3.59038801371102 > > > > Area num. 4: in rads; 3.59038801371102 to 4.48798501713877 > > > > Area num. 5: in rads; 4.48798501713877 to 5.38558202056653 > > > > Area num. 6: in rads; 5.38558202056653 to 6.28317902399428 > > > > Area num. 7: in rads; 6.28317902399428 to 0 > > > > > > > > It seems that drawing area 7 cover the whole chart. > > > > So it would be: > > > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > > > > > 6.28317902399428 is same as Pi(2) or 360 degrees, which means start > is > > > same > > > > as end. > > > > > > > > I think whole circle should be drawn with this: > > > > Draw.Circle(106, 106, 105, 0, 6.28317902399428) > > > > > > > > And this shouldn't draw anything: > > > > Draw.Circle(106, 106, 105, 6.28317902399428, 0) > > > > > > > > > > > > Jussi > > > > > > Actually the old Draw class was wrong, because you can draw a pie > > > clockwise (End > Start) or counter-clockwise (End < Start). So only > > > Start = End should not draw anything (or just a line between the center > > > and the point at the specified angle). > > > > > > -- > > > Beno?t Minisini > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > > > Remotely access PCs and mobile devices and provide instant support > > > Improve your efficiency, and focus on delivering more value-add > services > > > Discover what IT Professionals Know. Rescue delivers > > > http://p.sf.net/sfu/logmein_12329d2d > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > > Remotely access PCs and mobile devices and provide instant support > > Improve your efficiency, and focus on delivering more value-add services > > Discover what IT Professionals Know. Rescue delivers > > http://p.sf.net/sfu/logmein_12329d2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > 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: linewidth0.5.png Type: image/png Size: 1822 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: linewidth6.png Type: image/png Size: 1899 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Mon Dec 10 19:34:52 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 10 Dec 2012 13:34:52 -0500 Subject: [Gambas-user] Ubuntu for Android and Gambas In-Reply-To: <50C40DAA.70907@...626...> References: <50C40DAA.70907@...626...> Message-ID: <50C62B4C.1020405@...94...> On 12/08/2012 11:03 PM, Demosthenes Koptsis wrote: > According Canonical we will be able to run ubuntu in any android device > like phones and tablets. > http://www.ubuntu.com/devices/android > Does this mean that we can run Gambas in Ubuntu in a Phone or Tablet? Any multi-core ARM-based phone or tablet, in theory, yes. As far as I know Gambas builds on ARM and there are armel and armhf packages for both gambas2 and gambas3 in the Ubuntu repositories. I won't be trying it myself until there's accelerated video playback support (very few ARM chipsets have usable video drivers for X, just Android) but it seems possible, and maybe you don't need 3D or video playback. Rob From math.eber at ...221... Mon Dec 10 21:10:00 2012 From: math.eber at ...221... (Matti) Date: Mon, 10 Dec 2012 21:10:00 +0100 Subject: [Gambas-user] Sourceforge upgrade In-Reply-To: References: <50C29832.9040000@...1...> <6208511.YXlHVcY6m4@...2592...> <50C4D5CB.4080007@...221...> <50C4DA71.8020209@...1...> <50C4DC73.5050009@...221...> Message-ID: <50C64198.2070204@...221...> Thank you so much. The import has worked. Would have been boring to do all those translations again... Matti Am 09.12.2012 19:52, schrieb Sebastian Kulesz: > > I have a backup of the old repository. If you want, i can import your > commit to the new repository, then you can just do a fresh checkout. From gambas at ...2524... Mon Dec 10 21:52:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 20:52:30 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <5-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 363 by benoit.m... at ...626...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 OK. I close the issue. Check in the KDE control panel if you are using the "raster" or the "native" QT graphics system. From gambas at ...2524... Mon Dec 10 21:53:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Dec 2012 20:53:40 +0000 Subject: [Gambas-user] Issue 337 in gambas: Histo channels Red & Blue are swapped over? In-Reply-To: <4-6813199134517018827-14508894530015728262-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14508894530015728262-gambas=googlecode.com@...2524...> <0-6813199134517018827-14508894530015728262-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14508894530015728262-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 337 by benoit.m... at ...626...: Histo channels Red & Blue are swapped over? http://code.google.com/p/gambas/issues/detail?id=337 It is fixed in revision #5417, and will be backported to Gambas 3.3.5. From gambas at ...1... Mon Dec 10 21:56:22 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Dec 2012 21:56:22 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> Message-ID: <50C64C76.1040809@...1...> Le 10/12/2012 19:34, Jussi Lahtinen a ?crit : > Yes, it makes difference. See screenshots. > > Jussi > > > > On Mon, Dec 10, 2012 at 8:19 PM, Fabien Bodard wrote: > >> haaa vector ... what a great thing for great things ... but not for small >> ones... >> >> does it do the same with a smaller linewidth ? >> >> >> I think this issue is related to the Paint.LineCap and Paint.LineJoin properties. Try to play with them before drawing the pie, I think it will fix the drawing artifacts. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Dec 10 22:23:38 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Dec 2012 23:23:38 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: <50C64C76.1040809@...1...> References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> <50C64C76.1040809@...1...> Message-ID: > I think this issue is related to the Paint.LineCap and Paint.LineJoin > properties. Try to play with them before drawing the pie, I think it > will fix the drawing artifacts. > Yes, either with Paint.Linejoin = Paint.LineJoinBevel or Paint.LineJoinRound everything works as expected. However Paint.LineCap doesn't seem to do anything at all. Thanks! Jussi From robynsveil at ...626... Mon Dec 10 23:02:05 2012 From: robynsveil at ...626... (Robynsveil) Date: Mon, 10 Dec 2012 14:02:05 -0800 (PST) Subject: [Gambas-user] Question about a Qt translation warning In-Reply-To: <50C5CDC3.3000207@...1...> References: <1355139683690-40320.post@...3046...> <50C5CDC3.3000207@...1...> Message-ID: <1355176925123-40338.post@...3046...> Oh, okay - well, if it's not a critical issue, I won't worry about it. Thanks for that. Might get on the Qt forums at some point to see if there actually is a translation file or configuration I'm missing or if it's something Qt devs don't really see as essential, either. -- View this message in context: http://gambas.8142.n7.nabble.com/Question-about-a-Qt-translation-warning-tp40320p40338.html Sent from the gambas-user mailing list archive at Nabble.com. From mike.crean at ...2897... Tue Dec 11 11:46:43 2012 From: mike.crean at ...2897... (Mike Crean) Date: Tue, 11 Dec 2012 02:46:43 -0800 (PST) Subject: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example In-Reply-To: <1355137777417-40318.post@...3046...> References: <1355137777417-40318.post@...3046...> Message-ID: <1355222803.75545.YahooMailNeo@...3052...> Hi abbat81, Usually this indicates you are trying to open the wrong device . Perhaps this code snip will help. If you are connecting to an Ardunio with USB look in /dev/ to see if ttyACM0 is there. Remember the file names are case sensitive. Regards Mike Label2.Text = " ttyACM0,57600,N,8,1" Sport = New SerialPort As "Sport" Sport.PortName = "/dev/ttyACM0" Sport.Speed = "57600" Sport.Parity = 0 Sport.DataBits = "8" Sport.StopBits = "1" Sport.FlowControl = 0 Try Sport.Open() Goto PortOpen SkipAcm: If Error Then Label2.Text = " ttyUSB0,57600,N,8,1" Sport = New SerialPort As "Sport" Sport.PortName = "/dev/ttyUSB0" Sport.Speed = "57600" Sport.Parity = 0 Sport.DataBits = "8" Sport.StopBits = "1" Sport.FlowControl = 0 End If Try Sport.Open() Goto PortOpen If Error Then Label2.Text = " ttyS0,57600,N,8,1" Try Sport.PortName = "/dev/ttyS0" Sport.Speed = "57600" Sport.Parity = 0 Sport.DataBits = "8" Sport.StopBits = "1" Sport.FlowControl = 0 Sport.Open() If Error Then Message(" Onboard Uart Comm 1 not found -- PROGRAM TERMINATING") Quit Endif Endif PortOpen: ________________________________ From: abbat81 To: gambas-user at lists.sourceforge.net Sent: Monday, 10 December 2012 7:09 PM Subject: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example Hi, I have a problems with Ubuntu 12.04 but the same example is working good in Ubuntu 11.04. I get next: "Cannot open serial port (5) in FSerialPort:39." Can you help me? -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-with-Ubuntu-12-04-SerialPort-Example-tp40318.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Tue Dec 11 16:31:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 11 Dec 2012 15:31:26 +0000 Subject: [Gambas-user] Issue 362 in gambas: Gambas 3.3.3: Socket.RemoteHost returns an empty string In-Reply-To: <3-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> <0-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-12670853072576365142-gambas=googlecode.com@...2524...> Comment #4 on issue 362 by aristide... at ...626...: Gambas 3.3.3: Socket.RemoteHost returns an empty string http://code.google.com/p/gambas/issues/detail?id=362 Thank you very much! I'll keep waiting! From willy at ...2734... Tue Dec 11 20:13:14 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Dec 2012 20:13:14 +0100 Subject: [Gambas-user] DrawArea problems with gtk in 3.3.90 - rev. #5417 In-Reply-To: <50C4A8AF.90301@...1...> References: <1355000500.6022.6.camel@...3024...> <50C4A8AF.90301@...1...> Message-ID: <1355253194.2445.0.camel@...3024...> On Sun, 2012-12-09 at 16:05 +0100, Beno?t Minisini wrote: > Le 08/12/2012 22:01, Willy Raets a ?crit : > > Problem occurred on Gambas 3.3.90 - rev. #5417 > > Works correctly on Gambas 3.3.4 > > > > Must be caused by new implementation of DrawArea. > > > > DrawArea behaves correctly with qt4, gives trouble with gtk > > > > Attached source archive to see the problem. > > > > Step 1: Run the application to see what the intention is (it uses qt4) > > Step 2: Change component qt4 to gtk and run again to see the problem. > > > > Thanks, > > > > Willy > > > > It is fixed in revision #5420. Checked with revision 5422 and I can confirm it is fixed. Thanks, Willy From demosthenesk at ...626... Tue Dec 11 21:59:11 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 11 Dec 2012 22:59:11 +0200 Subject: [Gambas-user] Ubuntu for Android and Gambas In-Reply-To: <50C62B4C.1020405@...94...> References: <50C40DAA.70907@...626...> <50C62B4C.1020405@...94...> Message-ID: <50C79E9F.3040002@...626...> Thanks Rob, i will wait to see how it goes .... ???? 10/12/2012 8:34 ??, ?/? Rob Kudla ??????: > On 12/08/2012 11:03 PM, Demosthenes Koptsis wrote: >> According Canonical we will be able to run ubuntu in any android device >> like phones and tablets. >> http://www.ubuntu.com/devices/android >> Does this mean that we can run Gambas in Ubuntu in a Phone or Tablet? > Any multi-core ARM-based phone or tablet, in theory, yes. As far as I know > Gambas builds on ARM and there are armel and armhf packages for both > gambas2 and gambas3 in the Ubuntu repositories. > > I won't be trying it myself until there's accelerated video playback > support (very few ARM chipsets have usable video drivers for X, just > Android) but it seems possible, and maybe you don't need 3D or video playback. > > Rob > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Dec 12 00:48:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Dec 2012 00:48:35 +0100 Subject: [Gambas-user] Drawing sector In-Reply-To: References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> <50C64C76.1040809@...1...> Message-ID: <50C7C653.5000804@...1...> Le 10/12/2012 22:23, Jussi Lahtinen a ?crit : >> I think this issue is related to the Paint.LineCap and Paint.LineJoin >> properties. Try to play with them before drawing the pie, I think it >> will fix the drawing artifacts. >> > > Yes, either with Paint.Linejoin = Paint.LineJoinBevel or > Paint.LineJoinRound everything works as expected. > However Paint.LineCap doesn't seem to do anything at all. > > Thanks! > > Jussi OK, it should be fixed in revision #5431. You don't have to play with Paint.LineJoin anymore. -- Beno?t Minisini From gambas at ...1... Wed Dec 12 01:02:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Dec 2012 01:02:56 +0100 Subject: [Gambas-user] Feature request: Separator.Foreground In-Reply-To: <20121210154754.GA605@...2774...> References: <20121210154754.GA605@...2774...> Message-ID: <50C7C9B0.6030003@...1...> Le 10/12/2012 16:47, Tobias Boege a ?crit : > Hi Benoit, > > for aesthetic reasons, we would like to set the line colour of the Separator > control. AFAICS, Separator.Foreground has no function, is just an inherited > symbol from Control, so the feature could be implemented with this property. > > Looking at the gb.qt4 sources, this seems to be no more than a few LOC > (don't know about gb.gtk, though). Will you do it? > > Regards, > Tobi > Done in revision #5432. But only if the Separator width or height is one pixel. Otherwise it is drawn by the underlying tookit widget theme. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Dec 12 20:19:06 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Dec 2012 21:19:06 +0200 Subject: [Gambas-user] Drawing sector In-Reply-To: <50C7C653.5000804@...1...> References: <50BF3555.4060205@...1...> <50BFE508.9080100@...1...> <50C149E3.6030000@...1...> <50C4AA68.6060908@...1...> <50C64C76.1040809@...1...> <50C7C653.5000804@...1...> Message-ID: > > OK, it should be fixed in revision #5431. You don't have to play with > Paint.LineJoin anymore. > Yes, it works! Thanks! Jussi From taboege at ...626... Wed Dec 12 20:45:48 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 12 Dec 2012 20:45:48 +0100 Subject: [Gambas-user] Feature request: Separator.Foreground In-Reply-To: <50C7C9B0.6030003@...1...> References: <20121210154754.GA605@...2774...> <50C7C9B0.6030003@...1...> Message-ID: <20121212194548.GG541@...2774...> On Wed, 12 Dec 2012, Beno?t Minisini wrote: > Le 10/12/2012 16:47, Tobias Boege a ?crit : > > Hi Benoit, > > > > for aesthetic reasons, we would like to set the line colour of the Separator > > control. AFAICS, Separator.Foreground has no function, is just an inherited > > symbol from Control, so the feature could be implemented with this property. > > > > Looking at the gb.qt4 sources, this seems to be no more than a few LOC > > (don't know about gb.gtk, though). Will you do it? > > > > Regards, > > Tobi > > > > Done in revision #5432. But only if the Separator width or height is one > pixel. Otherwise it is drawn by the underlying tookit widget theme. > It works and is cool. Thanks. From kevinfishburne at ...1887... Wed Dec 12 23:33:43 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 12 Dec 2012 17:33:43 -0500 Subject: [Gambas-user] function to "wrap" a number between upper and lower bounds Message-ID: <50C90647.2080201@...1887...> I need a function like: Wrap(number, lowerbound, upperbound) such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the number around the supplied bounds and returns where it "lands". I believe it would work similarly to assigning a value to a datatype outside its scope, like assigning 300 to a Byte type. I looked up some solutions online and none of them really seemed to work properly and their comments were surrounded by debate. Is there an efficient way to do this, and does anyone think it would be a useful function to add to Gambas itself? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Wed Dec 12 23:40:00 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Dec 2012 23:40:00 +0100 Subject: [Gambas-user] function to "wrap" a number between upper and lower bounds In-Reply-To: <50C90647.2080201@...1887...> References: <50C90647.2080201@...1887...> Message-ID: <50C907C0.70501@...1...> Le 12/12/2012 23:33, Kevin Fishburne a ?crit : > I need a function like: > > Wrap(number, lowerbound, upperbound) > > such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the > number around the supplied bounds and returns where it "lands". I > believe it would work similarly to assigning a value to a datatype > outside its scope, like assigning 300 to a Byte type. > > I looked up some solutions online and none of them really seemed to work > properly and their comments were surrounded by debate. Is there an > efficient way to do this, and does anyone think it would be a useful > function to add to Gambas itself? > Wrap(x, y, z) = y + ((x - y) MOD (z - y + 1)) -- Beno?t Minisini From kevinfishburne at ...1887... Thu Dec 13 00:50:30 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 12 Dec 2012 18:50:30 -0500 Subject: [Gambas-user] function to "wrap" a number between upper and lower bounds In-Reply-To: <50C90647.2080201@...1887...> References: <50C90647.2080201@...1887...> Message-ID: <50C91846.4080306@...1887...> On 12/12/2012 05:33 PM, Kevin Fishburne wrote: > I need a function like: > > Wrap(number, lowerbound, upperbound) > > such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the > number around the supplied bounds and returns where it "lands". I > believe it would work similarly to assigning a value to a datatype > outside its scope, like assigning 300 to a Byte type. > > I looked up some solutions online and none of them really seemed to work > properly and their comments were surrounded by debate. Is there an > efficient way to do this, and does anyone think it would be a useful > function to add to Gambas itself? > I found this: |int Wrap(int kX, int const kLowerBound, int const kUpperBound) { int range_size= kUpperBound- kLowerBound+ 1; if (kX< kLowerBound) kX+= range_size* ((kLowerBound- kX) / range_size+ 1); return kLowerBound+ (kX- kLowerBound) % range_size; }| however it relies on the Mod operator (%), which I think means it will only work for integers. Is there a way to do this for singles/floats? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From nospam.nospam.nospam at ...626... Thu Dec 13 09:55:40 2012 From: nospam.nospam.nospam at ...626... (Dr Pat) Date: Thu, 13 Dec 2012 00:55:40 -0800 (PST) Subject: [Gambas-user] Bug: Message box is resizable Message-ID: <1355388940605-40354.post@...3046...> Hi, was just trying out Gambas and created a GTK project (Mint 14 Cinnamon). The following code creates a resizable message box in a GTK project but not in a Qt project: Message.Info("Hello world!!!", "OK") Also, Message isn't listed in the documentation index. I had to search for it. Thanks for reading. -- View this message in context: http://gambas.8142.n7.nabble.com/Bug-Message-box-is-resizable-tp40354.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Thu Dec 13 09:58:30 2012 From: abbat.81 at ...787... (abbat81) Date: Thu, 13 Dec 2012 00:58:30 -0800 (PST) Subject: [Gambas-user] GridView+GTK+Scrollbar Message-ID: <1355389110028-40355.post@...3046...> I have a problem with scrollbar in GridView on GTK+. On QT4 I have the same problem if my system font size in QT4 is 8. But in GTK+ I cant get scrollbar for any font size in GTK+. Is there any solution? Thanks. Peter Savchuk. -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-GTK-Scrollbar-tp40355.html Sent from the gambas-user mailing list archive at Nabble.com. From nospam.nospam.nospam at ...626... Thu Dec 13 10:51:35 2012 From: nospam.nospam.nospam at ...626... (Dr Pat) Date: Thu, 13 Dec 2012 01:51:35 -0800 (PST) Subject: [Gambas-user] GridView+GTK+Scrollbar In-Reply-To: <1355389110028-40355.post@...3046...> References: <1355389110028-40355.post@...3046...> Message-ID: <1355392295321-40356.post@...3046...> I think that's recently been reported: http://gambas.8142.n7.nabble.com/Issue-359-in-gambas-ScrollBar-fails-in-the-new-version-td39982.html -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-GTK-Scrollbar-tp40355p40356.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Thu Dec 13 13:11:09 2012 From: abbat.81 at ...787... (abbat81) Date: Thu, 13 Dec 2012 04:11:09 -0800 (PST) Subject: [Gambas-user] GridView+GTK+Scrollbar In-Reply-To: <1355392295321-40356.post@...3046...> References: <1355389110028-40355.post@...3046...> <1355392295321-40356.post@...3046...> Message-ID: <1355400669745-40357.post@...3046...> Yes, but I could't find there any solution. I even have instaled Oxygen theme. Not works. -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-GTK-Scrollbar-tp40355p40357.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Thu Dec 13 13:41:08 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 13 Dec 2012 23:11:08 +1030 Subject: [Gambas-user] A tricky requirement for SpinBox range : any ideas? Message-ID: <1355402468.31145.25.camel@...2688...> The situation is: We either know that a particular horse was foaled (born) on or after year 2000 or we don't know which year it was foaled in, i.e. the value on the database for the foaled year is either something >=2000 or zero. The problem is: I am trying to use a spinbox to allow the user to enter the foaled year. To make it "easier" or "go faster" the minimum value of the spinbox should be 2000 and the maximum should be Year(Now()). But there is a requirement that if the horse's foaling date is not known then the user should be able to select 0 in the spinbox. Obviously, setting the spinbox minumum to 0 doesn't help when the foaling year is 2010 as they have to mouse wheel for a considerable time before setting it to a known value. I've tried using a checkbox next to the spinbox for "unknown" but it at best it looks messy (and the resultant code stinks). By the way, I choose not use a date picker or a calendar control as the only data of interest is the year. As per the subject, anyone got any good ideas? tia -- Bruce Paddys-Hill dot net From taboege at ...626... Thu Dec 13 14:19:02 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Dec 2012 14:19:02 +0100 Subject: [Gambas-user] function to "wrap" a number between upper and lower bounds In-Reply-To: <50C91846.4080306@...1887...> References: <50C90647.2080201@...1887...> <50C91846.4080306@...1887...> Message-ID: <20121213131902.GB544@...2774...> On Wed, 12 Dec 2012, Kevin Fishburne wrote: > On 12/12/2012 05:33 PM, Kevin Fishburne wrote: > > I need a function like: > > > > Wrap(number, lowerbound, upperbound) > > > > such that Wrap(5,1, 3) will return 2. In other words, it "wraps" the > > number around the supplied bounds and returns where it "lands". I > > believe it would work similarly to assigning a value to a datatype > > outside its scope, like assigning 300 to a Byte type. > > > > I looked up some solutions online and none of them really seemed to work > > properly and their comments were surrounded by debate. Is there an > > efficient way to do this, and does anyone think it would be a useful > > function to add to Gambas itself? > > > > I found this: > > |int Wrap(int kX, int const kLowerBound, int const kUpperBound) > { > int range_size= kUpperBound- kLowerBound+ 1; > > if (kX< kLowerBound) > kX+= range_size* ((kLowerBound- kX) / range_size+ 1); > > return kLowerBound+ (kX- kLowerBound) % range_size; > }| > > > however it relies on the Mod operator (%), which I think means it will > only work for integers. Is there a way to do this for singles/floats? > Maybe the best thing you can do is to use the C math library function fmod() which does modulo for Float. Then use Benoits algorithm. fmod() - I'm almost certain - knows how to optimise the calculations, e.g. if your FPU has support for that operation, etc. If you look at the manpage, have in mind that Gambas' "Float" is C's "double" and Gambas' "Single" is C's "float". Regards, Tobi From taboege at ...626... Thu Dec 13 14:40:11 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Dec 2012 14:40:11 +0100 Subject: [Gambas-user] A tricky requirement for SpinBox range : any ideas? In-Reply-To: <1355402468.31145.25.camel@...2688...> References: <1355402468.31145.25.camel@...2688...> Message-ID: <20121213134011.GC544@...2774...> On Thu, 13 Dec 2012, Bruce wrote: > The situation is: > > We either know that a particular horse was foaled (born) on or > after year 2000 or we don't know which year it was foaled in, > i.e. the value on the database for the foaled year is either > something >=2000 or zero. > > The problem is: > I am trying to use a spinbox to allow the user to enter the > foaled year. To make it "easier" or "go faster" the minimum > value of the spinbox should be 2000 and the maximum should be > Year(Now()). But there is a requirement that if the horse's > foaling date is not known then the user should be able to select > 0 in the spinbox. > > Obviously, setting the spinbox minumum to 0 doesn't help when > the foaling year is 2010 as they have to mouse wheel for a > considerable time before setting it to a known value. I've > tried using a checkbox next to the spinbox for "unknown" but it > at best it looks messy (and the resultant code stinks). > They wouldn't have to wheel if they could _type_ ;-) > By the way, I choose not use a date picker or a calendar control as the > only data of interest is the year. > > As per the subject, anyone got any good ideas? Let's face the truth: if you want to display "0" the [MinValue; MaxValue] must include 0 as it would otherwise be rejected and you can't force any text via the Text property or suchlike. So I suggest MinValue = 0, MaxValue = Year(Now()) and this (hopefully not too messy) code: Public Sub SpinBox1_Change() If SpinBox1.Value = 1999 Then SpinBox1.Value = 0 Endif If SpinBox1.Value And SpinBox1.Value < 2000 Then SpinBox1.Value = 2000 Endif End But no, I don't know any cool trick... Regards, Tobi From taboege at ...626... Thu Dec 13 14:50:56 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Dec 2012 14:50:56 +0100 Subject: [Gambas-user] A tricky requirement for SpinBox range : any ideas? In-Reply-To: <20121213134011.GC544@...2774...> References: <1355402468.31145.25.camel@...2688...> <20121213134011.GC544@...2774...> Message-ID: <20121213135056.GD544@...2774...> On Thu, 13 Dec 2012, Tobias Boege wrote: > On Thu, 13 Dec 2012, Bruce wrote: > > The situation is: > > > > We either know that a particular horse was foaled (born) on or > > after year 2000 or we don't know which year it was foaled in, > > i.e. the value on the database for the foaled year is either > > something >=2000 or zero. > > > > The problem is: > > I am trying to use a spinbox to allow the user to enter the > > foaled year. To make it "easier" or "go faster" the minimum > > value of the spinbox should be 2000 and the maximum should be > > Year(Now()). But there is a requirement that if the horse's > > foaling date is not known then the user should be able to select > > 0 in the spinbox. > > > > Obviously, setting the spinbox minumum to 0 doesn't help when > > the foaling year is 2010 as they have to mouse wheel for a > > considerable time before setting it to a known value. I've > > tried using a checkbox next to the spinbox for "unknown" but it > > at best it looks messy (and the resultant code stinks). > > > > They wouldn't have to wheel if they could _type_ ;-) > > > By the way, I choose not use a date picker or a calendar control as the > > only data of interest is the year. > > > > As per the subject, anyone got any good ideas? > > Let's face the truth: if you want to display "0" the [MinValue; MaxValue] > must include 0 as it would otherwise be rejected and you can't force any > text via the Text property or suchlike. > > So I suggest MinValue = 0, MaxValue = Year(Now()) and this (hopefully not > too messy) code: > > Public Sub SpinBox1_Change() > If SpinBox1.Value = 1999 Then > SpinBox1.Value = 0 > Endif > If SpinBox1.Value And SpinBox1.Value < 2000 Then > SpinBox1.Value = 2000 > Endif > End Errm, that code had leftovers from a different, non-working approach. This may be better: If SpinBox1.Value = 1999 Then SpinBox1.Value = 0 Else If SpinBox1.Value = 1 Then SpinBox1.Value = 2000 Endif From adrien.prokopowicz at ...626... Thu Dec 13 16:18:15 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 13 Dec 2012 15:18:15 -0000 Subject: [Gambas-user] Bugs on gb.compress Message-ID: Hi Beno?t, I'm trying the compress component in order to compress/uncompress XML files on the fly, but I have some problems with it (see attached example) : The first module (zlib) gives a weird error : MMain.Main.10: #42: System error #0: Succ?s. The second one crashes with a #11 signal (the gdb/valgrind logs are in the crash.txt file inside the project). Regards, -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: TestCompress-0.0.1.tar.gz Type: application/x-gzip Size: 6486 bytes Desc: not available URL: From gambas at ...2524... Thu Dec 13 17:48:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Dec 2012 16:48:38 +0000 Subject: [Gambas-user] Issue 359 in gambas: ScrollBar fails in the new version In-Reply-To: <6-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> <0-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Comment #7 on issue 359 by abbat... at ...626...: ScrollBar fails in the new version http://code.google.com/p/gambas/issues/detail?id=359 Hi, I need a fix of this problem very much. Unfortunatly, I can't get scrollbar even after resizing of a columns or rows. Maybe, because of using Lubuntu. Thanks anyway. Best Regards, Peter From gambas at ...2524... Thu Dec 13 18:15:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Dec 2012 17:15:54 +0000 Subject: [Gambas-user] Issue 359 in gambas: ScrollBar fails in the new version In-Reply-To: <7-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> <0-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Comment #8 on issue 359 by abbat... at ...626...: ScrollBar fails in the new version http://code.google.com/p/gambas/issues/detail?id=359 I tested better and got one way to resolve this problem. Public Sub Form_Open() With GridView1 .Columns[0].Width = 250 .Columns[0].Width = 0 End With End From gambas at ...2524... Thu Dec 13 22:44:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Dec 2012 21:44:49 +0000 Subject: [Gambas-user] Issue 365 in gambas: Gambas creates hijackable directory in /tmp Message-ID: <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Low OpSys-Linux Dist-Any Arch-Any Desktop-Any GUI-Any New issue 365 by lcash... at ...626...: Gambas creates hijackable directory in /tmp http://code.google.com/p/gambas/issues/detail?id=365 1) Describe the problem. Gambas creates a directory in /tmp called gambas.UID where UID is the user id of the person running the software. Gambas doesn't check to see if a malicious user has already created that directory. A malicious user can then manipulate (mv or remove) that directory once gambas has created files under it. larry at ...3053...:/tmp$ mkdir gambas.0 larry at ...3053...:/tmp$ ls -ld gambas.0 drwxr-xr-x 2 larry staff 4096 2012-12-13 16:37 gambas.0 larry at ...3053...:/tmp$ cd gambas.0 larry at ...3053...:/tmp/gambas.0$ ls larry at ...3053...:/tmp/gambas.0$ ls -l total 4 drwx------ 2 root root 4096 2012-12-13 16:37 25257 larry at ...3053...:/tmp/gambas.0$ rm -rf 25257 larry at ...3053...:/tmp/gambas.0$ User larry was able to remove the directory gambas created as root. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: gambas3-runtime-3.3.4~lucid2 Revision: Operating system: Linux Distribution: Ubunt Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. ubuntu-builder runs as root 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...1... Fri Dec 14 02:13:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 14 Dec 2012 02:13:41 +0100 Subject: [Gambas-user] GridView+GTK+Scrollbar In-Reply-To: <1355400669745-40357.post@...3046...> References: <1355389110028-40355.post@...3046...> <1355392295321-40356.post@...3046...> <1355400669745-40357.post@...3046...> Message-ID: <50CA7D45.6050005@...1...> Le 13/12/2012 13:11, abbat81 a ?crit : > Yes, but I could't find there any solution. > I even have instaled Oxygen theme. > Not works. > Please at least provide details on your system and which version of Gambas you are using. I can't guess it! Regards, -- Beno?t Minisini From gambas at ...1... Fri Dec 14 02:48:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 14 Dec 2012 02:48:07 +0100 Subject: [Gambas-user] Bugs on gb.compress In-Reply-To: References: Message-ID: <50CA8557.6080208@...1...> Le 13/12/2012 16:18, Adrien Prokopowicz a ?crit : > Hi Beno?t, > > I'm trying the compress component in order to compress/uncompress XML > files on the fly, but I have some problems with it (see attached example) : > > The first module (zlib) gives a weird error : MMain.Main.10: #42: System > error #0: Succ?s. > The second one crashes with a #11 signal (the gdb/valgrind logs are in > the crash.txt file inside the project). > > Regards, > It should be fixed in revision #5435. I will backport the fix to Gambas 3.3.5. Regards, -- Beno?t Minisini From gambas at ...1... Fri Dec 14 02:49:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 14 Dec 2012 02:49:10 +0100 Subject: [Gambas-user] FTranslate / btnNext works strange In-Reply-To: <50C25740.80405@...221...> References: <50C25740.80405@...221...> Message-ID: <50CA8596.2000204@...1...> Le 07/12/2012 21:53, Matti a ?crit : > When I open a project translation, the cursor jumps at random to some > not-translated string, not the first one. > Same when I use btnNext: mostly not the next one is shown, but the last one. > It gets better the more % are translated, but it's irritating. > btnPrevious seems to work correctly. > Matti > It should be fixed in revision #5435. Regards, -- Beno?t Minisini From abbat.81 at ...787... Fri Dec 14 15:29:57 2012 From: abbat.81 at ...787... (abbat81) Date: Fri, 14 Dec 2012 06:29:57 -0800 (PST) Subject: [Gambas-user] GridView+GTK+Scrollbar In-Reply-To: <50CA7D45.6050005@...1...> References: <1355389110028-40355.post@...3046...> <1355392295321-40356.post@...3046...> <1355400669745-40357.post@...3046...> <50CA7D45.6050005@...1...> Message-ID: <1355495397519-40369.post@...3046...> Sorry for missing info. Here it is: [System] OperatingSystem=Linux Kernel=3.2.0-34-generic Architecture=i686 Memory=1024516 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Unknown [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 //////////////////////// I've already wrote on google.code about best solution for now I could find. If GridView is overloaded then resize any column to size more of GridView.Width and after that turn it back to needed size. The ScrollBar appears on. Thank you -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-GTK-Scrollbar-tp40355p40369.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Fri Dec 14 16:02:17 2012 From: abbat.81 at ...787... (abbat81) Date: Fri, 14 Dec 2012 07:02:17 -0800 (PST) Subject: [Gambas-user] BUS Error(7) Message-ID: <1355497337308-40370.post@...3046...> I got this: I can guess only for what I got it. Trying to give PictureBox a picture on remote computer. It works, but sometimes I get this Error. Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/BUS-Error-7-tp40370.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Dec 14 16:14:46 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 14 Dec 2012 16:14:46 +0100 Subject: [Gambas-user] BUS Error(7) In-Reply-To: <1355497337308-40370.post@...3046...> References: <1355497337308-40370.post@...3046...> Message-ID: <50CB4266.5030506@...1...> Le 14/12/2012 16:02, abbat81 a ?crit : > I got this: > > > > I can guess only for what I got it. > Trying to give PictureBox a picture on remote computer. > It works, but sometimes I get this Error. > > > Thanks > Can you make a little project that reproduces the bug ? -- Beno?t Minisini From abbat.81 at ...787... Fri Dec 14 16:42:18 2012 From: abbat.81 at ...787... (abbat81) Date: Fri, 14 Dec 2012 07:42:18 -0800 (PST) Subject: [Gambas-user] BUS Error(7) In-Reply-To: <50CB4266.5030506@...1...> References: <1355497337308-40370.post@...3046...> <50CB4266.5030506@...1...> Message-ID: <1355499738473-40372.post@...3046...> ErrBus(7).tar.gz -- View this message in context: http://gambas.8142.n7.nabble.com/BUS-Error-7-tp40370p40372.html Sent from the gambas-user mailing list archive at Nabble.com. From adrien.prokopowicz at ...626... Fri Dec 14 20:04:35 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 14 Dec 2012 19:04:35 -0000 Subject: [Gambas-user] Bugs on gb.compress In-Reply-To: <50CA8557.6080208@...1...> References: <50CA8557.6080208@...1...> Message-ID: Le Fri, 14 Dec 2012 01:48:07 -0000, Beno?t Minisini a ?crit: > Le 13/12/2012 16:18, Adrien Prokopowicz a ?crit : >> Hi Beno?t, >> >> I'm trying the compress component in order to compress/uncompress XML >> files on the fly, but I have some problems with it (see attached >> example) : >> >> The first module (zlib) gives a weird error : MMain.Main.10: #42: System >> error #0: Succ?s. >> The second one crashes with a #11 signal (the gdb/valgrind logs are in >> the crash.txt file inside the project). >> >> Regards, >> > > It should be fixed in revision #5435. I will backport the fix to Gambas > 3.3.5. > > Regards, > Yes, it works fine now. Thanks. -- Adrien Prokopowicz From gambas at ...1... Fri Dec 14 21:39:38 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 14 Dec 2012 21:39:38 +0100 Subject: [Gambas-user] BUS Error(7) In-Reply-To: <1355499738473-40372.post@...3046...> References: <1355497337308-40370.post@...3046...> <50CB4266.5030506@...1...> <1355499738473-40372.post@...3046...> Message-ID: <50CB8E8A.9080406@...1...> Le 14/12/2012 16:42, abbat81 a ?crit : > ErrBus(7).tar.gz > > I can't reproduce the crash, but I just tested with a ssh connection, not a smb one as I have no Windows server to access. Can you run your project with valgrind as explained on the "Reporting a problem" page on the web site? Note that the indirect cause of the crash may be that you forgot the WAIT keyword with the SHELL instruction, and so the gvfs-mount command may not be terminated when you try to access ~/.gvfs. Regards, -- Beno?t Minisini From bbruen at ...2308... Sat Dec 15 00:50:15 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 15 Dec 2012 10:20:15 +1030 Subject: [Gambas-user] FileChooser filter patterns: exclude pattern Message-ID: <1355529016.24656.2.camel@...2688...> Hi guys, Is it possible to set a filter for a FileChooser such that it will exclude files matching the pattern? For example, so that all the png files are not listed I've tried ["!*.png","No pngs"] but that doesn't work. tia Bruce From adrien.prokopowicz at ...626... Sat Dec 15 03:28:46 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Dec 2012 02:28:46 -0000 Subject: [Gambas-user] Bug on MediaTagList with some files Message-ID: Hi Beno?t, I'm trying to get the tags on each audio file on my music library, but some files make the MediaTagList._get() function crash with the error "No return value". As an example, you can try to open and play the following file with the MediaPlayer example : http://dl.free.fr/isvWMm7mq Regards, -- Adrien Prokopowicz From gambas at ...2524... Sat Dec 15 03:13:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 15 Dec 2012 02:13:06 +0000 Subject: [Gambas-user] Issue 365 in gambas: Gambas creates hijackable directory in /tmp In-Reply-To: <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.3.0 Comment #1 on issue 365 by benoit.m... at ...626...: Gambas creates hijackable directory in /tmp http://code.google.com/p/gambas/issues/detail?id=365 Indeed. I think I will do an accurate chown() and a chmod() on the directory, and if it fails, I abort the program. From gambas at ...1... Sat Dec 15 03:28:13 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 15 Dec 2012 03:28:13 +0100 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: References: Message-ID: <50CBE03D.10802@...1...> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : > Hi Beno?t, > > I'm trying to get the tags on each audio file on my music library, but > some files make the MediaTagList._get() function crash with the error "No > return value". > > As an example, you can try to open and play the following file with the > MediaPlayer example : > > http://dl.free.fr/isvWMm7mq > > Regards, > It should be fixed in revision #5436. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Dec 15 03:28:58 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 15 Dec 2012 02:28:58 +0000 Subject: [Gambas-user] Issue 365 in gambas: Gambas creates hijackable directory in /tmp In-Reply-To: <1-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 365 by benoit.m... at ...626...: Gambas creates hijackable directory in /tmp http://code.google.com/p/gambas/issues/detail?id=365 Fixed in revision #5438. The fix will be backported to gambas 3.3.5. From adrien.prokopowicz at ...626... Sat Dec 15 15:46:27 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Dec 2012 14:46:27 -0000 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: <50CBE03D.10802@...1...> References: <50CBE03D.10802@...1...> Message-ID: Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini a ?crit: > Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >> Hi Beno?t, >> >> I'm trying to get the tags on each audio file on my music library, but >> some files make the MediaTagList._get() function crash with the error >> "No >> return value". >> >> As an example, you can try to open and play the following file with the >> MediaPlayer example : >> >> http://dl.free.fr/isvWMm7mq >> >> Regards, >> > > It should be fixed in revision #5436. > > Regards, > It works for that file, but with another one I have a new error message now : "Unsupported property datatype". Here is the file : http://dl.free.fr/niWYCQNM3 Regards, -- Adrien Prokopowicz From bill-lancaster at ...2231... Sat Dec 15 18:34:49 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 15 Dec 2012 09:34:49 -0800 (PST) Subject: [Gambas-user] Text width in tableview Message-ID: <1355592889570-40381.post@...3046...> How can I determine if the text displayed in a cell is wider than the cell? Any ideas would be very welcome. Gambas 3.3.4 -- View this message in context: http://gambas.8142.n7.nabble.com/Text-width-in-tableview-tp40381.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Dec 15 20:51:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 15 Dec 2012 20:51:06 +0100 Subject: [Gambas-user] Text width in tableview In-Reply-To: <1355592889570-40381.post@...3046...> References: <1355592889570-40381.post@...3046...> Message-ID: <50CCD4AA.4010409@...1...> Le 15/12/2012 18:34, bill-lancaster a ?crit : > How can I determine if the text displayed in a cell is wider than the cell? > Any ideas would be very welcome. > > Gambas 3.3.4 > You have Font.TextWidth() and Font.RichTextWidth() for that. And if you are drawing something (i.e. you have called Paint.Begin or you are in a Draw event handler), you can use Paint.TextSize() and Paint.RichTextSize(). Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Dec 15 21:16:58 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 15 Dec 2012 21:16:58 +0100 Subject: [Gambas-user] #11 with Debug-Watch Window for 'Paint' Message-ID: <1355602618.2287.17.camel@...40...> Salut, I get a #11 when start via F8 the Painting-Example (Anti-Aliased Drawing) and a Debug-Watch Window for 'Paint' is open(opens). But I can start with F5 and close that Debug-Watch Window. If no Debug-Watch Window for 'Paint' is open, you can do a F8 and dbl-click on the first Paint you find, that also crashes the gbx. -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-28-generic Architecture=i686 Memory=3098188 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome Language=de_DE.UTF-8 [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Revision 5438 Version=3.3.90 Path=/usr/bin/gbx3 [Libraries] Poppler=libpoppler.so.5.0.0 GTK+=libgtk-x11-2.0.so.0.2000.1 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 GStreamer=libgstreamer-0.10.so.0.24.1 From math.eber at ...221... Sat Dec 15 21:40:43 2012 From: math.eber at ...221... (Matti) Date: Sat, 15 Dec 2012 21:40:43 +0100 Subject: [Gambas-user] FTranslate / btnNext works strange In-Reply-To: <50CA8596.2000204@...1...> References: <50C25740.80405@...221...> <50CA8596.2000204@...1...> Message-ID: <50CCE04B.8080705@...221...> It is better now, btnNext works ok. But when opening a project translation, the cursor now jumps to the last untranslated string. This is no real bug (with btnNext you get to the first one), but not perfect. Matti Am 14.12.2012 02:49, schrieb Beno?t Minisini: > Le 07/12/2012 21:53, Matti a ?crit : >> When I open a project translation, the cursor jumps at random to some >> not-translated string, not the first one. >> Same when I use btnNext: mostly not the next one is shown, but the last one. >> It gets better the more % are translated, but it's irritating. >> btnPrevious seems to work correctly. >> Matti >> > > It should be fixed in revision #5435. > > Regards, > From math.eber at ...221... Sat Dec 15 21:51:47 2012 From: math.eber at ...221... (Matti) Date: Sat, 15 Dec 2012 21:51:47 +0100 Subject: [Gambas-user] FTranslate / btnNext works strange - correction In-Reply-To: <50CA8596.2000204@...1...> References: <50C25740.80405@...221...> <50CA8596.2000204@...1...> Message-ID: <50CCE2E3.7080505@...221...> No. when opening a project translation, the cursor still jumps to some untranslated or translated string, I can see no pattern. Am 14.12.2012 02:49, schrieb Beno?t Minisini: > Le 07/12/2012 21:53, Matti a ?crit : >> When I open a project translation, the cursor jumps at random to some >> not-translated string, not the first one. >> Same when I use btnNext: mostly not the next one is shown, but the last one. >> It gets better the more % are translated, but it's irritating. >> btnPrevious seems to work correctly. >> Matti >> > > It should be fixed in revision #5435. > > Regards, > From gambas at ...1... Sat Dec 15 23:09:31 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 15 Dec 2012 23:09:31 +0100 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: References: <50CBE03D.10802@...1...> Message-ID: <50CCF51B.1050502@...1...> Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : > Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini > a ?crit: > >> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>> Hi Beno?t, >>> >>> I'm trying to get the tags on each audio file on my music library, but >>> some files make the MediaTagList._get() function crash with the error >>> "No >>> return value". >>> >>> As an example, you can try to open and play the following file with the >>> MediaPlayer example : >>> >>> http://dl.free.fr/isvWMm7mq >>> >>> Regards, >>> >> >> It should be fixed in revision #5436. >> >> Regards, >> > > It works for that file, but with another one I have a new error message > now : "Unsupported property datatype". > > Here is the file : http://dl.free.fr/niWYCQNM3 > > Regards, > Is it better with revision #5439? -- Beno?t Minisini From adrien.prokopowicz at ...626... Sun Dec 16 00:34:54 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Dec 2012 23:34:54 -0000 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: <50CCF51B.1050502@...1...> References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> Message-ID: Le Sat, 15 Dec 2012 22:09:31 -0000, Beno?t Minisini a ?crit: > Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : >> Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini >> a ?crit: >> >>> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>>> Hi Beno?t, >>>> >>>> I'm trying to get the tags on each audio file on my music library, but >>>> some files make the MediaTagList._get() function crash with the error >>>> "No >>>> return value". >>>> >>>> As an example, you can try to open and play the following file with >>>> the >>>> MediaPlayer example : >>>> >>>> http://dl.free.fr/isvWMm7mq >>>> >>>> Regards, >>>> >>> >>> It should be fixed in revision #5436. >>> >>> Regards, >>> >> >> It works for that file, but with another one I have a new error message >> now : "Unsupported property datatype". >> >> Here is the file : http://dl.free.fr/niWYCQNM3 >> >> Regards, >> > > Is it better with revision #5439? > Much better, thanks. :-) Just a last little question on gb.media (I'm discovering GStreamer) : I'd like to get the tags of all the files in my music folder, and to store them into a compressed XML file, so that I won't have to fully rescan the folder each time I start my app. The only way I found to retreive the tags is to have a second MediaPlayer in background, to set its URL property and to call its Pause() method. When I see that the player has reached the Pause state (with the State event), I stop the player and then repeat the process for the next file. Do you know if there is a "cleaner" method (that doesn't open and close an audio stream for each file and make PulseAudio overloaded) ? Thanks in advance (and for your work). :-) Regards, -- Adrien Prokopowicz From gambas at ...1... Sat Dec 15 23:42:29 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 15 Dec 2012 23:42:29 +0100 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> Message-ID: <50CCFCD5.1060602@...1...> Le 16/12/2012 00:34, Adrien Prokopowicz a ?crit : > Le Sat, 15 Dec 2012 22:09:31 -0000, Beno?t Minisini > a ?crit: > >> Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : >>> Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini >>> a ?crit: >>> >>>> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>>>> Hi Beno?t, >>>>> >>>>> I'm trying to get the tags on each audio file on my music library, but >>>>> some files make the MediaTagList._get() function crash with the error >>>>> "No >>>>> return value". >>>>> >>>>> As an example, you can try to open and play the following file with >>>>> the >>>>> MediaPlayer example : >>>>> >>>>> http://dl.free.fr/isvWMm7mq >>>>> >>>>> Regards, >>>>> >>>> >>>> It should be fixed in revision #5436. >>>> >>>> Regards, >>>> >>> >>> It works for that file, but with another one I have a new error message >>> now : "Unsupported property datatype". >>> >>> Here is the file : http://dl.free.fr/niWYCQNM3 >>> >>> Regards, >>> >> >> Is it better with revision #5439? >> > > Much better, thanks. :-) > > Just a last little question on gb.media (I'm discovering GStreamer) : I'd > like to get the tags of all the files in my music folder, and to store > them into a compressed XML file, so that I won't have to fully rescan the > folder each time I start my app. > > The only way I found to retreive the tags is to have a second MediaPlayer > in background, to set its URL property and to call its Pause() method. > When I see that the player has reached the Pause state (with the State > event), I stop the player and then repeat the process for the next file. > > Do you know if there is a "cleaner" method (that doesn't open and close an > audio stream for each file and make PulseAudio overloaded) ? > > Thanks in advance (and for your work). :-) > > Regards, > The tags are emitted while the media is playing in GStreamer, so try to replace the audio output of the MediaPlayer by some GStreamer element that does nothing (look in the documentation, it must exist). That way, you won't send any sound anywhere. Otherwise I don't know if there is another way with GStreamer. Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 16 00:00:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 00:00:08 +0100 Subject: [Gambas-user] #11 with Debug-Watch Window for 'Paint' In-Reply-To: <1355602618.2287.17.camel@...40...> References: <1355602618.2287.17.camel@...40...> Message-ID: <50CD00F8.6040804@...1...> Le 15/12/2012 21:16, Charlie Reinl a ?crit : > Salut, > > I get a #11 when start via F8 the Painting-Example (Anti-Aliased > Drawing) and a Debug-Watch Window for 'Paint' is open(opens). > > But I can start with F5 and close that Debug-Watch Window. > > If no Debug-Watch Window for 'Paint' is open, you can do a F8 and > dbl-click on the first Paint you find, that also crashes the gbx. > Fixed in revision #5440. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Sun Dec 16 04:27:57 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 16 Dec 2012 03:27:57 -0000 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: <50CCFCD5.1060602@...1...> References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> <50CCFCD5.1060602@...1...> Message-ID: Le Sat, 15 Dec 2012 22:42:29 -0000, Beno?t Minisini a ?crit: > Le 16/12/2012 00:34, Adrien Prokopowicz a ?crit : >> Le Sat, 15 Dec 2012 22:09:31 -0000, Beno?t Minisini >> a ?crit: >> >>> Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : >>>> Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>>>>> Hi Beno?t, >>>>>> >>>>>> I'm trying to get the tags on each audio file on my music library, >>>>>> but >>>>>> some files make the MediaTagList._get() function crash with the >>>>>> error >>>>>> "No >>>>>> return value". >>>>>> >>>>>> As an example, you can try to open and play the following file with >>>>>> the >>>>>> MediaPlayer example : >>>>>> >>>>>> http://dl.free.fr/isvWMm7mq >>>>>> >>>>>> Regards, >>>>>> >>>>> >>>>> It should be fixed in revision #5436. >>>>> >>>>> Regards, >>>>> >>>> >>>> It works for that file, but with another one I have a new error >>>> message >>>> now : "Unsupported property datatype". >>>> >>>> Here is the file : http://dl.free.fr/niWYCQNM3 >>>> >>>> Regards, >>>> >>> >>> Is it better with revision #5439? >>> >> >> Much better, thanks. :-) >> >> Just a last little question on gb.media (I'm discovering GStreamer) : >> I'd >> like to get the tags of all the files in my music folder, and to store >> them into a compressed XML file, so that I won't have to fully rescan >> the >> folder each time I start my app. >> >> The only way I found to retreive the tags is to have a second >> MediaPlayer >> in background, to set its URL property and to call its Pause() method. >> When I see that the player has reached the Pause state (with the State >> event), I stop the player and then repeat the process for the next file. >> >> Do you know if there is a "cleaner" method (that doesn't open and close >> an >> audio stream for each file and make PulseAudio overloaded) ? >> >> Thanks in advance (and for your work). :-) >> >> Regards, >> > > The tags are emitted while the media is playing in GStreamer, so try to > replace the audio output of the MediaPlayer by some GStreamer element > that does nothing (look in the documentation, it must exist). That way, > you won't send any sound anywhere. > > Otherwise I don't know if there is another way with GStreamer. > > Regards, > Yes, that works much faster (with the "fakesink" element), thank you ! Just a note : I can't create a MediaControl without a parent (it gives me a Null Object error) but the parent parameter is marked as optional. So as a workaround I have to create a "dummy" mediaplayer that will actually contain my fake output element. And in the IDE (I don't know either if this is a bug), when the Null object occurs into the declaration part of the class (or outside of any function/procedure), the balloon pops out somewhere inside the stack backtrace panel. (I first thought that the IDE itself was crashing ...) Regards, -- Adrien Prokopowicz From gambas at ...2524... Sun Dec 16 05:00:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 16 Dec 2012 04:00:29 +0000 Subject: [Gambas-user] Issue 366 in gambas: Button BackGround Transparency - Gambas 3.3.4 Message-ID: <0-6813199134517018827-7667670646149987950-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 366 by t4769_a... at ...2320...: Button BackGround Transparency - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=366 1) Describe the problem. Further to closed bug which I cannot find from about a week ago on transparent command button backgrounds. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=3095920 kB DistributionVendor=Ubuntu DistributionRelease="Kubuntu 12.04.1 LTS" Desktop=KDE4 [Gambas 3] Version=3.3.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 I reported a bug about this a week ago(?) but I am unable to locate the closed bug so I will submit a new bug and someone can attach it to the closed bug. Please and Thank You. I have the cause of the problem. I created a new icon for a new button and it too along with the original button had a transparent background when run by cron (loaded by Scheduled tasks). The new icon was 48x48. I downsized it to 32x32 because it did not look good then no transparency problem. I took the 31 day calendar icons for the original button which were 48x48 and downsized all of them to 32x32. Voila, no transparencies. The size of the icon is relative to the height(?) of the button so isolating a problem size is not possible. My buttons are 45 in height and 48x48 causes a problem. The cause of the problem is putting too large an icon onto a button. It was reproducable in all my KDE styles and icons so I believe it to be a problem at your end. Hope this helps. From taboege at ...626... Sun Dec 16 11:35:45 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Dec 2012 11:35:45 +0100 Subject: [Gambas-user] Architecture page on gambasdoc.org Message-ID: <20121216103544.GA537@...2774...> Hi Benoit and gambasdoc.org people, Hans would like to propose his version of the Gambas architecture diagram for gambasdoc.org. The original is found at [0] and a picture of his is at [1] -- you're right, it's inside a program but only look at it. He has the sources and I'd translate it into Englisch and put it up. What do you think? BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I don't know what magic you normally use there but I couldn't even find a picture in the sources of that page (neither nor a named
or so). Regards, Tobi [0] http://gambasdoc.org/help/doc/arch?v3 [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt From taboege at ...626... Sun Dec 16 11:38:16 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Dec 2012 11:38:16 +0100 Subject: [Gambas-user] Architecture page on gambasdoc.org In-Reply-To: <20121216103544.GA537@...2774...> References: <20121216103544.GA537@...2774...> Message-ID: <20121216103816.GB537@...2774...> On Sun, 16 Dec 2012, Tobias Boege wrote: > Hi Benoit and gambasdoc.org people, > > Hans would like to propose his version of the Gambas architecture diagram > for gambasdoc.org. The original is found at [0] and a picture of his is at > [1] -- you're right, it's inside a program but only look at it. He has the > sources and I'd translate it into Englisch and put it up. What do you think? > > BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on > Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I > don't know what magic you normally use there but I couldn't even find a > picture in the sources of that page (neither nor a named
or so). > > Regards, > Tobi > > [0] http://gambasdoc.org/help/doc/arch?v3 > [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt Heh, actually Hans' text is a translation of the official page I made a few days ago. So only look at the colours ;-) From Karl.Reinl at ...2345... Sun Dec 16 12:42:42 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 16 Dec 2012 12:42:42 +0100 Subject: [Gambas-user] #11 with Debug-Watch Window for 'Paint' In-Reply-To: <50CD00F8.6040804@...1...> References: <1355602618.2287.17.camel@...40...> <50CD00F8.6040804@...1...> Message-ID: <1355658162.2253.0.camel@...40...> Am Sonntag, den 16.12.2012, 00:00 +0100 schrieb Beno?t Minisini: > Le 15/12/2012 21:16, Charlie Reinl a ?crit : > > Salut, > > > > I get a #11 when start via F8 the Painting-Example (Anti-Aliased > > Drawing) and a Debug-Watch Window for 'Paint' is open(opens). > > > > But I can start with F5 and close that Debug-Watch Window. > > > > If no Debug-Watch Window for 'Paint' is open, you can do a F8 and > > dbl-click on the first Paint you find, that also crashes the gbx. > > > > Fixed in revision #5440. > > Regards, > Thanks., no more crash. -- Amicalement Charlie From Karl.Reinl at ...2345... Sun Dec 16 14:11:45 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 16 Dec 2012 14:11:45 +0100 Subject: [Gambas-user] Paint again Message-ID: <1355663505.2253.10.camel@...40...> Salut, as you can see on Bildschirmfoto.png the Paint.Background is changed to Color.Cyan (65535) then on Bildschirmfoto-1.png with Paint.Brush = Paint.Color(0) the Paint.Brush has changed, but also the Paint.Background was set to 0. Bildschirmfoto-2.png is the result. So what is it, a bug in Paint, in Debug-Window or bad use ? -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-28-generic Architecture=i686 Memory=3098188 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome Language=de_DE.UTF-8 [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.90 Revision 5440 Path=/usr/bin/gbx3 [Libraries] Poppler=libpoppler.so.5.0.0 GTK+=libgtk-x11-2.0.so.0.2000.1 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 GStreamer=libgstreamer-0.10.so.0.24.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-2.png Type: image/png Size: 24815 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-1.png Type: image/png Size: 38824 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto.png Type: image/png Size: 40867 bytes Desc: not available URL: From willy at ...2734... Sun Dec 16 14:47:07 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 16 Dec 2012 14:47:07 +0100 Subject: [Gambas-user] Gambas IDE application packager and dependency issue Message-ID: <1355665627.17542.16.camel@...3024...> I packaged an application that requires one of my Gambas libraries. Upon packaging I set min. version of library required to 0.3.7 (see screen01.png). I did NOT set max. required version. Upon installing on another system I got a screenshot returned where you can see min. req. version being 0.3.7. But it also states that max. required version has to be lower than 0.3.90!! (see screen02.png) Problem is my next library version (1.0.0) now doesn't install because application dependencies is set to 0.3.90 in the packaging process without me knowing of it if I didn't get screen02.png returned by someone!! I assume that leaving max dependency version empty means any other higher version will be accepted and that ONLY when I set a max. version that one will be taken. But that doesn't seem to be the case. As I said I now run into a kind of chicken and egg situation with the application update. Old application needs min. 0.3.7 and max. has been set to 0.3.90 by packager. New application needs min. 1.0.0, but 1.0.0 library version will NOT install because of old version req. max. 0.3.90!! If packager hadn't set max. version I could simply first update library next update application. * Now I need to remove application, update library and install new version application (and have to get the message out to all that have the old version application installed!!) So my main question: Shouldn't leaving max. version dependency empty result in NO max. version dependency instead of packager filling in something? Is this a bug or intentional? Thanks, Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen01.png Type: image/png Size: 85517 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen02.png Type: image/png Size: 25292 bytes Desc: not available URL: From willy at ...2734... Sun Dec 16 15:01:26 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 16 Dec 2012 15:01:26 +0100 Subject: [Gambas-user] Gambas IDE application packager and dependency issue In-Reply-To: <1355665627.17542.16.camel@...3024...> References: <1355665627.17542.16.camel@...3024...> Message-ID: <1355666486.17542.19.camel@...3024...> On Sun, 2012-12-16 at 14:47 +0100, Willy Raets wrote: > So my main question: > Shouldn't leaving max. version dependency empty result in NO max. > version dependency instead of packager filling in something? > Is this a bug or intentional? Little extra note: - I used Gambas 3.3.4 to package the application mentioned in previous mail. Question: - If it is a bug can the fix please be back ported to 3.3.5? Thanks again, Willy From gambas at ...1... Sun Dec 16 19:02:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 19:02:07 +0100 Subject: [Gambas-user] Paint again In-Reply-To: <1355663505.2253.10.camel@...40...> References: <1355663505.2253.10.camel@...40...> Message-ID: <50CE0C9F.2070007@...1...> Le 16/12/2012 14:11, Charlie Reinl a ?crit : > Salut, > > as you can see on Bildschirmfoto.png the Paint.Background is changed to > Color.Cyan (65535) then on Bildschirmfoto-1.png with Paint.Brush = > Paint.Color(0) the Paint.Brush has changed, but also the > Paint.Background was set to 0. > Bildschirmfoto-2.png is the result. > > So what is it, a bug in Paint, in Debug-Window or bad use ? > Paint.Background is a synonymous of Paint.Brush with a single color. -- Beno?t Minisini From mohareve at ...626... Sun Dec 16 19:18:08 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 16 Dec 2012 19:18:08 +0100 Subject: [Gambas-user] Expander conditional Show Message-ID: Hello! I am curious to know whether there are possibilities to make Expander's expanding conditional. There are defined event _Show(), which is happening between the mouse's click and Expander's expand, and similarly the event _Hide(). But none of them offer possibility to intercept the opening/closure conditionaly, E.G: I would like to let Expander expand with click if exactly one item of a list is selected. How to solve this? Csaba From mohareve at ...626... Sun Dec 16 19:21:47 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 16 Dec 2012 19:21:47 +0100 Subject: [Gambas-user] Expander cannot be disabled. Message-ID: I think this may be a bug: I have the Expander initially disabled by IDE, yet during runtime it accepts mouse clicks. Csaba From mohareve at ...626... Sun Dec 16 19:36:31 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 16 Dec 2012 19:36:31 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler Message-ID: Hello Benoit, I would like to ask you to set a default behavior for the Gambas3 IDE: When I do some changes either in code editor in let say Public Sub MyAct(), or in form designer on a component Combobox1 after hitting F5 and checking the difference, the IDE drops me either to a random part of code or to FMain's properties. This is very annoying and can take quite a lot of time to search for the code I've just edited or to find a component in Hierarchy tree. Can this kind of behavior be healed. I would like to continue the code writing/ designing right there where I was before the Compile&Run. Thanks! Csaba From gambas at ...1... Sun Dec 16 20:58:56 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 16 Dec 2012 20:58:56 +0100 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> <50CCFCD5.1060602@...1...> Message-ID: <50CE2800.2070302@...1...> Le 16/12/2012 04:27, Adrien Prokopowicz a ?crit : > Le Sat, 15 Dec 2012 22:42:29 -0000, Beno?t Minisini > a ?crit: > >> Le 16/12/2012 00:34, Adrien Prokopowicz a ?crit : >>> Le Sat, 15 Dec 2012 22:09:31 -0000, Beno?t Minisini >>> a ?crit: >>> >>>> Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : >>>>> Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini >>>>> a ?crit: >>>>> >>>>>> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>>>>>> Hi Beno?t, >>>>>>> >>>>>>> I'm trying to get the tags on each audio file on my music library, >>>>>>> but >>>>>>> some files make the MediaTagList._get() function crash with the >>>>>>> error >>>>>>> "No >>>>>>> return value". >>>>>>> >>>>>>> As an example, you can try to open and play the following file with >>>>>>> the >>>>>>> MediaPlayer example : >>>>>>> >>>>>>> http://dl.free.fr/isvWMm7mq >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> >>>>>> It should be fixed in revision #5436. >>>>>> >>>>>> Regards, >>>>>> >>>>> >>>>> It works for that file, but with another one I have a new error >>>>> message >>>>> now : "Unsupported property datatype". >>>>> >>>>> Here is the file : http://dl.free.fr/niWYCQNM3 >>>>> >>>>> Regards, >>>>> >>>> >>>> Is it better with revision #5439? >>>> >>> >>> Much better, thanks. :-) >>> >>> Just a last little question on gb.media (I'm discovering GStreamer) : >>> I'd >>> like to get the tags of all the files in my music folder, and to store >>> them into a compressed XML file, so that I won't have to fully rescan >>> the >>> folder each time I start my app. >>> >>> The only way I found to retreive the tags is to have a second >>> MediaPlayer >>> in background, to set its URL property and to call its Pause() method. >>> When I see that the player has reached the Pause state (with the State >>> event), I stop the player and then repeat the process for the next file. >>> >>> Do you know if there is a "cleaner" method (that doesn't open and close >>> an >>> audio stream for each file and make PulseAudio overloaded) ? >>> >>> Thanks in advance (and for your work). :-) >>> >>> Regards, >>> >> >> The tags are emitted while the media is playing in GStreamer, so try to >> replace the audio output of the MediaPlayer by some GStreamer element >> that does nothing (look in the documentation, it must exist). That way, >> you won't send any sound anywhere. >> >> Otherwise I don't know if there is another way with GStreamer. >> >> Regards, >> > > Yes, that works much faster (with the "fakesink" element), thank you ! > Just a note : I can't create a MediaControl without a parent (it gives me > a Null Object error) but the parent parameter is marked as optional. So as > a workaround I have to create a "dummy" mediaplayer that will actually > contain my fake output element. Why don't you create the fakesink element directly into the MediaPlayer instead of using another one? > > And in the IDE (I don't know either if this is a bug), when the Null > object occurs into the declaration part of the class (or outside of any > function/procedure), the balloon pops out somewhere inside the stack > backtrace panel. (I first thought that the IDE itself was crashing ...) > > Regards, > Do you have a screenshot ? Or send me a mail in french with more details... -- Beno?t Minisini From adrien.prokopowicz at ...626... Sun Dec 16 22:20:10 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 16 Dec 2012 21:20:10 -0000 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: <50CE2800.2070302@...1...> References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> <50CCFCD5.1060602@...1...> <50CE2800.2070302@...1...> Message-ID: Le Sun, 16 Dec 2012 19:58:56 -0000, Beno?t Minisini a ?crit: > Le 16/12/2012 04:27, Adrien Prokopowicz a ?crit : >> Le Sat, 15 Dec 2012 22:42:29 -0000, Beno?t Minisini >> a ?crit: >> >>> Le 16/12/2012 00:34, Adrien Prokopowicz a ?crit : >>>> Le Sat, 15 Dec 2012 22:09:31 -0000, Beno?t Minisini >>>> a ?crit: >>>> >>>>> Le 15/12/2012 15:46, Adrien Prokopowicz a ?crit : >>>>>> Le Sat, 15 Dec 2012 02:28:13 -0000, Beno?t Minisini >>>>>> a ?crit: >>>>>> >>>>>>> Le 15/12/2012 03:28, Adrien Prokopowicz a ?crit : >>>>>>>> Hi Beno?t, >>>>>>>> >>>>>>>> I'm trying to get the tags on each audio file on my music library, >>>>>>>> but >>>>>>>> some files make the MediaTagList._get() function crash with the >>>>>>>> error >>>>>>>> "No >>>>>>>> return value". >>>>>>>> >>>>>>>> As an example, you can try to open and play the following file >>>>>>>> with >>>>>>>> the >>>>>>>> MediaPlayer example : >>>>>>>> >>>>>>>> http://dl.free.fr/isvWMm7mq >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>> >>>>>>> It should be fixed in revision #5436. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> >>>>>> It works for that file, but with another one I have a new error >>>>>> message >>>>>> now : "Unsupported property datatype". >>>>>> >>>>>> Here is the file : http://dl.free.fr/niWYCQNM3 >>>>>> >>>>>> Regards, >>>>>> >>>>> >>>>> Is it better with revision #5439? >>>>> >>>> >>>> Much better, thanks. :-) >>>> >>>> Just a last little question on gb.media (I'm discovering GStreamer) : >>>> I'd >>>> like to get the tags of all the files in my music folder, and to store >>>> them into a compressed XML file, so that I won't have to fully rescan >>>> the >>>> folder each time I start my app. >>>> >>>> The only way I found to retreive the tags is to have a second >>>> MediaPlayer >>>> in background, to set its URL property and to call its Pause() method. >>>> When I see that the player has reached the Pause state (with the State >>>> event), I stop the player and then repeat the process for the next >>>> file. >>>> >>>> Do you know if there is a "cleaner" method (that doesn't open and >>>> close >>>> an >>>> audio stream for each file and make PulseAudio overloaded) ? >>>> >>>> Thanks in advance (and for your work). :-) >>>> >>>> Regards, >>>> >>> >>> The tags are emitted while the media is playing in GStreamer, so try to >>> replace the audio output of the MediaPlayer by some GStreamer element >>> that does nothing (look in the documentation, it must exist). That way, >>> you won't send any sound anywhere. >>> >>> Otherwise I don't know if there is another way with GStreamer. >>> >>> Regards, >>> >> >> Yes, that works much faster (with the "fakesink" element), thank you ! >> Just a note : I can't create a MediaControl without a parent (it gives >> me >> a Null Object error) but the parent parameter is marked as optional. So >> as >> a workaround I have to create a "dummy" mediaplayer that will actually >> contain my fake output element. > > Why don't you create the fakesink element directly into the MediaPlayer > instead of using another one? > I forgot to mention that when I do that, this make the mediaplayer unable to give the tags (the Tag event is not raised anymore). >> >> And in the IDE (I don't know either if this is a bug), when the Null >> object occurs into the declaration part of the class (or outside of any >> function/procedure), the balloon pops out somewhere inside the stack >> backtrace panel. (I first thought that the IDE itself was crashing ...) >> >> Regards, >> > > Do you have a screenshot ? Or send me a mail in french with more > details... > In a new project, put this into your MMain : Private $array As Integer[] = Null Private $copy As Integer[] = $array.Copy() Public Sub Main() End Instead of popping into the editor, the error message pops inside the stack backtrace panel. See attached screenshot. -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran6.png Type: image/png Size: 58734 bytes Desc: not available URL: From gambas at ...1... Sun Dec 16 22:37:34 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 22:37:34 +0100 Subject: [Gambas-user] FTranslate / btnNext works strange - correction In-Reply-To: <50CCE2E3.7080505@...221...> References: <50C25740.80405@...221...> <50CA8596.2000204@...1...> <50CCE2E3.7080505@...221...> Message-ID: <50CE3F1E.5020500@...1...> Le 15/12/2012 21:51, Matti a ?crit : > No. when opening a project translation, the cursor still jumps to some > untranslated or translated string, I can see no pattern. > Normally the cursor jumps to the last position (where it was when the dialog was closed), or to the first translation string. Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 16 23:01:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 23:01:53 +0100 Subject: [Gambas-user] Expander cannot be disabled. In-Reply-To: References: Message-ID: <50CE44D1.8070501@...1...> Le 16/12/2012 19:21, M. Cs. a ?crit : > I think this may be a bug: > I have the Expander initially disabled by IDE, yet during runtime it > accepts mouse clicks. > > Csaba It's fixed in revision #5441. Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 16 23:02:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 23:02:32 +0100 Subject: [Gambas-user] Expander conditional Show In-Reply-To: References: Message-ID: <50CE44F8.505@...1...> Le 16/12/2012 19:18, M. Cs. a ?crit : > Hello! > I am curious to know whether there are possibilities to make Expander's > expanding conditional. > There are defined event _Show(), which is happening between the mouse's > click and Expander's expand, and similarly the event _Hide(). > But none of them offer possibility to intercept the opening/closure > conditionaly, > > E.G: I would like to let Expander expand with click if exactly one item of > a list is selected. How to solve this? > > Csaba Now that a disabled Expander is really disabled, doesn't it solve your problem? -- Beno?t Minisini From gambas at ...1... Sun Dec 16 23:34:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 23:34:33 +0100 Subject: [Gambas-user] Gambas IDE application packager and dependency issue In-Reply-To: <1355665627.17542.16.camel@...3024...> References: <1355665627.17542.16.camel@...3024...> Message-ID: <50CE4C79.8020601@...1...> Le 16/12/2012 14:47, Willy Raets a ?crit : > I packaged an application that requires one of my Gambas libraries. > Upon packaging I set min. version of library required to 0.3.7 (see > screen01.png). I did NOT set max. required version. > > Upon installing on another system I got a screenshot returned where you > can see min. req. version being 0.3.7. > But it also states that max. required version has to be lower than > 0.3.90!! (see screen02.png) > > Problem is my next library version (1.0.0) now doesn't install because > application dependencies is set to 0.3.90 in the packaging process > without me knowing of it if I didn't get screen02.png returned by > someone!! > > I assume that leaving max dependency version empty means any other > higher version will be accepted and that ONLY when I set a max. version > that one will be taken. But that doesn't seem to be the case. > > As I said I now run into a kind of chicken and egg situation with the > application update. > Old application needs min. 0.3.7 and max. has been set to 0.3.90 by > packager. > New application needs min. 1.0.0, but 1.0.0 library version will NOT > install because of old version req. max. 0.3.90!! > > If packager hadn't set max. version I could simply first update library > next update application. > * Now I need to remove application, update library and install new > version application (and have to get the message out to all that > have the old version application installed!!) > > So my main question: > Shouldn't leaving max. version dependency empty result in NO max. > version dependency instead of packager filling in something? > Is this a bug or intentional? > > Thanks, > > Willy > Normally, the dependency <= 0.3.90 appears only if "libgb3devaid" is also a library (there is the assumption that the library will follow the version scheme of the component). Is it the case? Can you send me your project so that I analyze the behaviour of the packager with it? Thanks. -- Beno?t Minisini From gambas at ...1... Sun Dec 16 23:38:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 23:38:31 +0100 Subject: [Gambas-user] Architecture page on gambasdoc.org In-Reply-To: <20121216103816.GB537@...2774...> References: <20121216103544.GA537@...2774...> <20121216103816.GB537@...2774...> Message-ID: <50CE4D67.3040609@...1...> Le 16/12/2012 11:38, Tobias Boege a ?crit : > On Sun, 16 Dec 2012, Tobias Boege wrote: >> Hi Benoit and gambasdoc.org people, >> >> Hans would like to propose his version of the Gambas architecture diagram >> for gambasdoc.org. The original is found at [0] and a picture of his is at >> [1] -- you're right, it's inside a program but only look at it. He has the >> sources and I'd translate it into Englisch and put it up. What do you think? >> >> BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on >> Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I >> don't know what magic you normally use there but I couldn't even find a >> picture in the sources of that page (neither nor a named
or so). >> >> Regards, >> Tobi >> >> [0] http://gambasdoc.org/help/doc/arch?v3 >> [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt > > Heh, actually Hans' text is a translation of the official page I made a few > days ago. So only look at the colours ;-) > That page is only the legend of different part of the picture, which is on the web site (search for "HTML image maps" on google). I just put that text on the wiki to ease the translation process. Otherwise, yes, the diagram is nicer in colors. But I need it in english, and/or better in a vectorial format (for example an OpenOffice drawing), so that anybody can translate it. Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 16 23:41:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Dec 2012 23:41:16 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: References: Message-ID: <50CE4E0C.5020907@...1...> Le 16/12/2012 19:36, M. Cs. a ?crit : > Hello Benoit, > I would like to ask you to set a default behavior for the Gambas3 IDE: > > When I do some changes either in code editor in let say Public Sub MyAct(), > or in form designer on a component Combobox1 after hitting F5 and checking > the difference, the IDE drops me either to a random part of code or to > FMain's properties. This is very annoying and can take quite a lot of time > to search for the code I've just edited or to find a component in Hierarchy > tree. Can this kind of behavior be healed. I would like to continue the > code writing/ designing right there where I was before the Compile&Run. > > Thanks! > > Csaba Sorry, I don't understand: if I start or stop a program, the current editor and the current cursor do not change. Can you explain differently, eventually with screenshots? -- Beno?t Minisini From gambas at ...2524... Mon Dec 17 04:45:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Dec 2012 03:45:46 +0000 Subject: [Gambas-user] Issue 367 in gambas: Crash in Properties...Environment - Gambas 3.3.4 Message-ID: <0-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 367 by t4769_a... at ...2320...: Crash in Properties...Environment - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=367 1) Describe the problem. I added 3 items to Project > Properties > Environment while building an app. At the end I did not need two of them so I removed two items via the Remove button. After the second remove, Gambas3 crashed with the following messages: ????:~$ gambas3 gb.qt4: warning: unable to load Qt translation: en_GB.UTF-8 GridView._CheckCell.932: Bad row index 1: FPropertyProject.Run.29 2: FMain.Action_Activate.1211 3: >Action.Raise.200 This is consistently reproducible. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=3095920 kB DistributionVendor=Ubuntu DistributionRelease="Kubuntu 12.04.1 LTS" Desktop=KDE4 [Gambas 3] Version=3.3.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 5) Explain clearly how to reproduce the bug or the crash. Remove two previously added items from the Environment area - crash after the second remove 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From bill-lancaster at ...2231... Mon Dec 17 09:11:12 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 17 Dec 2012 00:11:12 -0800 (PST) Subject: [Gambas-user] Text width in tableview In-Reply-To: <50CCD4AA.4010409@...1...> References: <1355592889570-40381.post@...3046...> <50CCD4AA.4010409@...1...> Message-ID: <1355731872942-40411.post@...3046...> Thank you Beno?t -- View this message in context: http://gambas.8142.n7.nabble.com/Text-width-in-tableview-tp40381p40411.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Mon Dec 17 11:49:07 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 17 Dec 2012 11:49:07 +0100 Subject: [Gambas-user] Paint again In-Reply-To: <50CE0C9F.2070007@...1...> References: <1355663505.2253.10.camel@...40...> <50CE0C9F.2070007@...1...> Message-ID: <1355741347.2253.8.camel@...40...> Am Sonntag, den 16.12.2012, 19:02 +0100 schrieb Beno?t Minisini: > Le 16/12/2012 14:11, Charlie Reinl a ?crit : > > Salut, > > > > as you can see on Bildschirmfoto.png the Paint.Background is changed to > > Color.Cyan (65535) then on Bildschirmfoto-1.png with Paint.Brush = > > Paint.Color(0) the Paint.Brush has changed, but also the > > Paint.Background was set to 0. > > Bildschirmfoto-2.png is the result. > > > > So what is it, a bug in Paint, in Debug-Window or bad use ? > > > > Paint.Background is a synonymous of Paint.Brush with a single color. > Oh, thats right. But sorry, that I don't understand. By coding Paint.Background = Color.Cyan ' set the Background Color Paint.Brush = Paint.Color(0) ' set the Foreground Color Paint.ClipRect(10, 135,50,22) ' draw Cyan Rectangle Paint.Text("Hello",10,135,50,22,3) ' write Hallo into the Rectangle Paint.Fill Paint.Background is really confusing for setting a 'Foreground' -- Amicalement Charlie From eilert-sprachen at ...221... Mon Dec 17 12:18:44 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Dec 2012 12:18:44 +0100 Subject: [Gambas-user] Fwd: Re: Paginate doesn't clear page In-Reply-To: <50BF396B.8040609@...221...> References: <50BF396B.8040609@...221...> Message-ID: <50CEFF94.3070903@...221...> Benoit, Have you found time to verify this? Am I doing something wrong, or is it a feature? :-) Regards Rolf -------- Original-Nachricht -------- Betreff: Re: [Gambas-user] Paginate doesn't clear page Datum: Wed, 05 Dec 2012 13:09:15 +0100 Von: Rolf-Werner Eilert Antwort an: info at ...394..., mailing list for gambas users An: gambas-user at lists.sourceforge.net Am 05.12.2012 12:51, schrieb Beno?t Minisini: > Le 03/12/2012 15:46, Rolf-Werner Eilert a ?crit : >> Hi, >> >> With a little bit of testing code, I tried to find out how Paginate works. >> >> Public Sub drucker_Paginate() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), >> 300 + (seiten * 100)) >> >> Inc seiten >> >> If seiten = 4 Then drucker.Count = 3 >> >> End >> >> >> Public Sub drucker_Draw() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) >> >> End >> >> "drucker" is the printer object, and "seiten" counts the pages. When >> "drucker.Count = 3" is called, Paginate ends and Draw is called. I think >> this is correct. But the resulting three pages show this: >> >> Page 1: 4 x "Hallo 0" and "Hallo 1" >> Page 2: "Hallo 2" >> Page 3: "Hallo 3" >> >> So obviously, Paginate doesn't clear the page when it ends and the first >> page of the "real" printing is printed on everything Paginate has left >> behind. >> >> If this is a feature, how can I clear the page before I start printing? >> >> Regards >> >> Rolf >> > > Paginate is for computing the number of pages, not for drawing anything. > > You don't have to clear the page, it is done automatically before > calling the Draw event handler. > > Regards, > Yep, and as the example showed, this is exactly what it does not do :-) The page isn't cleared before Draw is called, so there remain 4 "Hallo 0" and the "Hallo 1" on the first page. Rolf ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Dec 17 14:29:55 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 17 Dec 2012 14:29:55 +0100 Subject: [Gambas-user] Paint again In-Reply-To: <1355741347.2253.8.camel@...40...> References: <1355663505.2253.10.camel@...40...> <50CE0C9F.2070007@...1...> <1355741347.2253.8.camel@...40...> Message-ID: <50CF1E53.4040709@...1...> Le 17/12/2012 11:49, Charlie Reinl a ?crit : > > Oh, thats right. > But sorry, that I don't understand. > By coding > > Paint.Background = Color.Cyan ' set the Background Color > Paint.Brush = Paint.Color(0) ' set the Foreground Color > Paint.ClipRect(10, 135,50,22) ' draw Cyan Rectangle > Paint.Text("Hello",10,135,50,22,3) ' write Hallo into the Rectangle > Paint.Fill > > Paint.Background is really confusing for setting a 'Foreground' > Again: Paint.Background and Paint.Brush are the same property, with a different syntax. There is no "foreground" or "background" color with the Paint class. Paint.Background is there only to ease the implementation of the Draw class on top of the Paint class. Please read the Paint class documentation carefully, and/or the cairo documentation, to understand the concept of path. In your code, Paint.Fill() fills the path defined by Paint.Text with the black color affected to Paint.Brush(), that's all. Regards, -- Beno?t Minisini From karl.reinl at ...9... Mon Dec 17 14:38:45 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 17 Dec 2012 14:38:45 +0100 Subject: [Gambas-user] Paint again and Print In-Reply-To: <50CE0C9F.2070007@...1...> References: <1355663505.2253.10.camel@...40...> <50CE0C9F.2070007@...1...> Message-ID: <1355751525.2253.18.camel@...40...> Salut, this tiny printing project is based on the question of Rolf-Werner Eilert. I can not reproduce his printing problem, but I have another. While I'm printing into a PDF, if you use it several times the Font.Size change, even with a Print.Font set. The changes go from tiny points on the page, to one huge letter on. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: prnter-0.0.1.tar.bz2 Type: application/x-bzip-compressed-tar Size: 5867 bytes Desc: not available URL: From john.aaron.rose at ...626... Mon Dec 17 15:40:19 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 17 Dec 2012 14:40:19 +0000 Subject: [Gambas-user] Return & Finally Message-ID: <50CF2ED3.70708@...626...> I've just moved to Ubuntu Precise from Lucid so my brain is in a whirl! I have at the start of a sub: Inc Application.Busy I have at the end of a Sub: Finally Dec Application.Busy However, sometimes the Sub, a Return statement is executed. This appears to result in the "Dec Application.Busy" statement not being executed. What is the best method of ensuring that the "Dec Application.Busy" statement is executed -- Regards, John 01902 331266 From john.aaron.rose at ...626... Mon Dec 17 15:43:50 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 17 Dec 2012 14:43:50 +0000 Subject: [Gambas-user] RaspberryPi Message-ID: <50CF2FA6.1020901@...626...> Could anyone tell me what the best method of installing Gambas3 on a RaspberryPi is? When I get my RaspberryPi, I assuming that it will have Debian Squeeze installed on it. -- Regards, John 01902 331266 From taboege at ...626... Mon Dec 17 15:43:23 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Dec 2012 15:43:23 +0100 Subject: [Gambas-user] Return & Finally In-Reply-To: <50CF2ED3.70708@...626...> References: <50CF2ED3.70708@...626...> Message-ID: <20121217144323.GB524@...2774...> On Mon, 17 Dec 2012, John Rose wrote: > I've just moved to Ubuntu Precise from Lucid so my brain is in a whirl! > > I have at the start of a sub: > Inc Application.Busy > > I have at the end of a Sub: > Finally > Dec Application.Busy > > However, sometimes the Sub, a Return statement is executed. This appears > to result in the > "Dec Application.Busy" statement not being executed. What is the best > method of ensuring that the > "Dec Application.Busy" statement is executed > Putting it before the Return? Regards, Tobi From emil.lenngren at ...626... Mon Dec 17 15:59:14 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 17 Dec 2012 15:59:14 +0100 Subject: [Gambas-user] RaspberryPi In-Reply-To: <50CF2FA6.1020901@...626...> References: <50CF2FA6.1020901@...626...> Message-ID: I compiled from source, that worked fine. Maybe there are binary packages for armhf now, they didn't exist when I tested... /Emil 2012/12/17 John Rose > Could anyone tell me what the best method of installing Gambas3 on a > RaspberryPi is? When I get my RaspberryPi, I assuming that it will have > Debian Squeeze installed on it. > > -- > Regards, > John > 01902 331266 > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Mon Dec 17 17:04:09 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 17 Dec 2012 11:04:09 -0500 Subject: [Gambas-user] RaspberryPi In-Reply-To: References: <50CF2FA6.1020901@...626...> Message-ID: <50CF4279.3080104@...94...> On 12/17/2012 09:59 AM, Emil Lenngren wrote: > I compiled from source, that worked fine. Maybe there are binary packages > for armhf now, they didn't exist when I tested... Yes, there are gambas2/3 packages for both armhf and armel in the universe repositories now. http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/ http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas2/ I have no idea what the current versions of each are, nor have I tested any ARM version of Gambas, but the most current release in each of those directories has armhf packages. Rob From john.aaron.rose at ...626... Mon Dec 17 17:23:03 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 17 Dec 2012 16:23:03 +0000 Subject: [Gambas-user] Return & Finally Message-ID: <50CF46E7.6080004@...626...> Thanks, Tobias. I've put a copy of the "Dec Application.Busy" statement before the "Return" statement and it now works fine. I'm also trying to cope with switching to Thunderbird from Evolution as well as adjusting to Unity! At least, that's my excuse for not seeing the obvious! From john.aaron.rose at ...626... Mon Dec 17 17:31:52 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 17 Dec 2012 16:31:52 +0000 Subject: [Gambas-user] RaspberryPi Message-ID: <50CF48F8.1000107@...626...> Emil & Rob, Thanks for your replies. I presume that armhf is appropriate for RaspberryPi. I assume that Ubuntu repos will be fine for Debian Squeeze. I'll let you know how I get on. From sourceforge-raindog2 at ...94... Mon Dec 17 17:42:27 2012 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 17 Dec 2012 11:42:27 -0500 Subject: [Gambas-user] RaspberryPi In-Reply-To: <50CF48F8.1000107@...626...> References: <50CF48F8.1000107@...626...> Message-ID: <50CF4B73.2080209@...94...> On 12/17/2012 11:31 AM, John Rose wrote: > Emil & Rob, > Thanks for your replies. I presume that armhf is appropriate for > RaspberryPi. I assume that Ubuntu repos will be fine for Debian Squeeze. > I'll let you know how I get on. Sorry for the confusion. I just answered that question for someone on an ARM forum and forgot they ship with Debian and not Ubuntu. It may pull in a lot of dependencies from Ubuntu repos that make life difficult in the rest of Debian. But I'd probably still try it; Gambas seems made for an educational device like the Pi. Rob From math.eber at ...221... Mon Dec 17 20:13:57 2012 From: math.eber at ...221... (Matti) Date: Mon, 17 Dec 2012 20:13:57 +0100 Subject: [Gambas-user] Strange behaviour of Frames Message-ID: <50CF6EF5.4010905@...221...> Here is a very strange thing in the Form editor, happening only with Frames (as it seems to me now): The form has the focus. a) I click on a Frame, hold the mouse button down and move the mouse: works as expected, the Frame is being moved. b) I click on a Frame to give it the focus, then click again, hold the mouse button down and move the mouse: the Gambas window gets the focus, gets resized (the middle window button), and I move the Gambas window! Very funny. Always reproducable. Regards Matti [System] OperatingSystem=Linux Kernel=3.4.11-2.16-desktop Architecture=i686 Memory=3052876 kB DistributionVendor=SuSE DistributionRelease=openSUSE 12.2 (i586) VERSION = 12.2 CODENAME = Mantis Desktop=KDE4 Language=de_DE.UTF-8 [Gambas 3] Version=3.3.90 rev. 5438 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 Poppler=libpoppler.so.27.0.0 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 SDL=libSDL-1.2.so.0.11.4 From taboege at ...626... Mon Dec 17 20:15:43 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Dec 2012 20:15:43 +0100 Subject: [Gambas-user] Architecture page on gambasdoc.org In-Reply-To: <50CE4D67.3040609@...1...> References: <20121216103544.GA537@...2774...> <20121216103816.GB537@...2774...> <50CE4D67.3040609@...1...> Message-ID: <20121217191543.GA528@...2774...> On Sun, 16 Dec 2012, Beno?t Minisini wrote: > Le 16/12/2012 11:38, Tobias Boege a ?crit : > > On Sun, 16 Dec 2012, Tobias Boege wrote: > >> Hi Benoit and gambasdoc.org people, > >> > >> Hans would like to propose his version of the Gambas architecture diagram > >> for gambasdoc.org. The original is found at [0] and a picture of his is at > >> [1] -- you're right, it's inside a program but only look at it. He has the > >> sources and I'd translate it into Englisch and put it up. What do you think? > >> > >> BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on > >> Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I > >> don't know what magic you normally use there but I couldn't even find a > >> picture in the sources of that page (neither nor a named
or so). > >> > >> Regards, > >> Tobi > >> > >> [0] http://gambasdoc.org/help/doc/arch?v3 > >> [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt > > > > Heh, actually Hans' text is a translation of the official page I made a few > > days ago. So only look at the colours ;-) > > > > That page is only the legend of different part of the picture, which is > on the web site (search for "HTML image maps" on google). > > I just put that text on the wiki to ease the translation process. > > Otherwise, yes, the diagram is nicer in colors. But I need it in > english, and/or better in a vectorial format (for example an OpenOffice > drawing), so that anybody can translate it. > Hans sent me his ppt presentation and a png file. Hope you can use these somehow? Thanks for your interest. Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: architektur_en.tar.gz Type: application/octet-stream Size: 135471 bytes Desc: not available URL: From mohareve at ...626... Mon Dec 17 21:20:38 2012 From: mohareve at ...626... (M. Cs.) Date: Mon, 17 Dec 2012 21:20:38 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: <50CE4E0C.5020907@...1...> References: <50CE4E0C.5020907@...1...> Message-ID: Why, I could not reproduce the error! 2012/12/16 Beno?t Minisini > Le 16/12/2012 19:36, M. Cs. a ?crit : > > Hello Benoit, > > I would like to ask you to set a default behavior for the Gambas3 IDE: > > > > When I do some changes either in code editor in let say Public Sub > MyAct(), > > or in form designer on a component Combobox1 after hitting F5 and > checking > > the difference, the IDE drops me either to a random part of code or to > > FMain's properties. This is very annoying and can take quite a lot of > time > > to search for the code I've just edited or to find a component in > Hierarchy > > tree. Can this kind of behavior be healed. I would like to continue the > > code writing/ designing right there where I was before the Compile&Run. > > > > Thanks! > > > > Csaba > > Sorry, I don't understand: if I start or stop a program, the current > editor and the current cursor do not change. > > Can you explain differently, eventually with screenshots? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mohareve at ...626... Mon Dec 17 21:23:27 2012 From: mohareve at ...626... (M. Cs.) Date: Mon, 17 Dec 2012 21:23:27 +0100 Subject: [Gambas-user] Setting all RadioButton's values to false Message-ID: Is there a possibility to set all the RadioButton's values to false? E.G: RadioButton1.Value = False RadioButton2.Value = False RadioButton3.Value = False RadioButton4.Value = False RadioButton5.Value = False RadioButton6.Value = False Will still leave the last clicked RadioButton's value True. Thanks! Csaba From math.eber at ...221... Mon Dec 17 21:33:01 2012 From: math.eber at ...221... (Matti) Date: Mon, 17 Dec 2012 21:33:01 +0100 Subject: [Gambas-user] Setting all RadioButton's values to false In-Reply-To: References: Message-ID: <50CF817D.9040702@...221...> Don't think so. See http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 RadioButtons are for choosing only one in a group, but always choosing one. If you want to deselect all, you should use CheckBoxes. Am 17.12.2012 21:23, schrieb M. Cs.: > Is there a possibility to set all the RadioButton's values to false? > > E.G: > RadioButton1.Value = False > RadioButton2.Value = False > RadioButton3.Value = False > RadioButton4.Value = False > RadioButton5.Value = False > RadioButton6.Value = False > > Will still leave the last clicked RadioButton's value True. > > Thanks! > > Csaba From gambas at ...1... Mon Dec 17 21:36:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Dec 2012 21:36:44 +0100 Subject: [Gambas-user] Fwd: Re: Paginate doesn't clear page In-Reply-To: <50CEFF94.3070903@...221...> References: <50BF396B.8040609@...221...> <50CEFF94.3070903@...221...> Message-ID: <50CF825C.9080000@...1...> Le 17/12/2012 12:18, Rolf-Werner Eilert a ?crit : > Benoit, > > Have you found time to verify this? Am I doing something wrong, or is it > a feature? :-) > > Regards > > Rolf > Maybe we misunderstood there. You must remove the drawing code from the Paginate event. Did you do that? Paginate has nothing to do with actual drawing. Everything is done in the Draw event handler, which is called once for each page. Each time the Draw event is raised, a new page is started on the printer (except for the first one of course). If your page is not blank at drawing start, only then this is a bug/ So if you have a non-wanted behaviour after removing the drawing code from the Paginate event handler, please send me a little project that reproduces it, and tell me if you are using GTK+ or QT. Thanks. -- Beno?t Minisini From rterry at ...1823... Mon Dec 17 21:49:25 2012 From: rterry at ...1823... (Richard Terry) Date: Tue, 18 Dec 2012 07:49:25 +1100 Subject: [Gambas-user] Setting all RadioButton's values to false In-Reply-To: <50CF817D.9040702@...221...> References: <50CF817D.9040702@...221...> Message-ID: <50CF8555.20902@...1823...> You can in an emulated way, simply add an extra radiobutton in the series but make its visible property false and don't allow setting focus or tabbing to it. When you want to clear the 'visible ones' set the invisible one to True. I use it all the time throughout my program Regards richard > Don't think so. See > http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 > > RadioButtons are for choosing only one in a group, but always choosing one. > > If you want to deselect all, you should use CheckBoxes. > > > Am 17.12.2012 21:23, schrieb M. Cs.: > >> Is there a possibility to set all the RadioButton's values to false? >> >> E.G: >> RadioButton1.Value = False >> RadioButton2.Value = False >> RadioButton3.Value = False >> RadioButton4.Value = False >> RadioButton5.Value = False >> RadioButton6.Value = False >> >> Will still leave the last clicked RadioButton's value True. >> >> Thanks! >> >> Csaba >> > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From math.eber at ...221... Mon Dec 17 22:21:46 2012 From: math.eber at ...221... (Matti) Date: Mon, 17 Dec 2012 22:21:46 +0100 Subject: [Gambas-user] Setting all RadioButton's values to false In-Reply-To: <50CF8555.20902@...1823...> References: <50CF817D.9040702@...221...> <50CF8555.20902@...1823...> Message-ID: <50CF8CEA.7050502@...221...> Clever. But I don't understand: the RadioBoxes in a container are made for deciding between some defined options. In which situation you could decide to 'none'? E.g. send a document to a printer or export it as a .pdf or something, set the page layout to landscape or portrait, choose between currencies, set a timezone... Am 17.12.2012 21:49, schrieb Richard Terry: > > You can in an emulated way, simply add an extra radiobutton in the > series but make its visible property false and don't allow setting focus > or tabbing to it. > > When you want to clear the 'visible ones' set the invisible one to True. > > I use it all the time throughout my program > > Regards > > richard > >> Don't think so. See >> http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 >> >> RadioButtons are for choosing only one in a group, but always choosing one. >> >> If you want to deselect all, you should use CheckBoxes. >> >> >> Am 17.12.2012 21:23, schrieb M. Cs.: >> >>> Is there a possibility to set all the RadioButton's values to false? >>> >>> E.G: >>> RadioButton1.Value = False >>> RadioButton2.Value = False >>> RadioButton3.Value = False >>> RadioButton4.Value = False >>> RadioButton5.Value = False >>> RadioButton6.Value = False >>> >>> Will still leave the last clicked RadioButton's value True. >>> >>> Thanks! >>> >>> Csaba >>> >> >> ------------------------------------------------------------------------------ >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> Remotely access PCs and mobile devices and provide instant support >> Improve your efficiency, and focus on delivering more value-add services >> Discover what IT Professionals Know. Rescue delivers >> http://p.sf.net/sfu/logmein_12329d2d >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Mon Dec 17 23:08:54 2012 From: math.eber at ...221... (Matti) Date: Mon, 17 Dec 2012 23:08:54 +0100 Subject: [Gambas-user] Setting all RadioButton's values to false In-Reply-To: <50CF8CEA.7050502@...221...> References: <50CF817D.9040702@...221...> <50CF8555.20902@...1823...> <50CF8CEA.7050502@...221...> Message-ID: <50CF97F6.4030800@...221...> ... or you just could add an 'other' RadioBox: Pet: - Dog - Cat - Parrot - Turtle - Other Am 17.12.2012 22:21, schrieb Matti: > Clever. > But I don't understand: the RadioBoxes in a container are made for deciding > between some defined options. > In which situation you could decide to 'none'? > E.g. send a document to a printer or export it as a .pdf or something, > set the page layout to landscape or portrait, > choose between currencies, > set a timezone... > > From adrien.prokopowicz at ...626... Tue Dec 18 01:01:14 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 18 Dec 2012 00:01:14 -0000 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: <50CE4E0C.5020907@...1...> References: <50CE4E0C.5020907@...1...> Message-ID: Hi Beno?t, I have the same problem since a few weeks now, and I just understood what it was. Actually, when I get a compilation warning, the IDE automatically jumps to the position of the warning, and makes these "messy jumps". I know that I should write my code so that I won't have any warning, but this is really annoying. Regards, -- Adrien Prokopowicz From gambas at ...1... Tue Dec 18 00:09:54 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 18 Dec 2012 00:09:54 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: References: <50CE4E0C.5020907@...1...> Message-ID: <50CFA642.7060705@...1...> Le 18/12/2012 01:01, Adrien Prokopowicz a ?crit : > > Hi Beno?t, > > I have the same problem since a few weeks now, and I just understood what > it was. > Actually, when I get a compilation warning, the IDE automatically jumps to > the position of the warning, and makes these "messy jumps". > I know that I should write my code so that I won't have any warning, but > this is really annoying. > > > Regards, > Warnings can be disabled in the project property dialog if they are unwanted. Regards, -- Beno?t Minisini From vuott at ...325... Tue Dec 18 00:49:07 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Dec 2012 23:49:07 +0000 (GMT) Subject: [Gambas-user] R: Setting all RadioButton's values to false In-Reply-To: Message-ID: <1355788147.77211.YahooMailClassic@...3054...> Public Sub Button1_Click() Dim obj As Object For Each obj In FMain.Children If Object.Type(obj) = "RadioButton" Then obj.Value = False Endif Next End --- Lun 17/12/12, M. Cs. ha scritto: > Da: M. Cs. > Oggetto: [Gambas-user] Setting all RadioButton's values to false > A: "mailing list for gambas users" > Data: Luned? 17 dicembre 2012, 21:23 > Is there a possibility to set all the > RadioButton's values to false? > > E.G: > RadioButton1.Value = False > RadioButton2.Value = False > RadioButton3.Value = False > RadioButton4.Value = False > RadioButton5.Value = False > RadioButton6.Value = False > > Will still leave the last clicked RadioButton's value True. > > Thanks! > > Csaba > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. > Free Trial > Remotely access PCs and mobile devices and provide instant > support > Improve your efficiency, and focus on delivering more > value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Dec 18 08:17:34 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 18 Dec 2012 08:17:34 +0100 Subject: [Gambas-user] Fwd: Re: Paginate doesn't clear page In-Reply-To: <50CF825C.9080000@...1...> References: <50BF396B.8040609@...221...> <50CEFF94.3070903@...221...> <50CF825C.9080000@...1...> Message-ID: <50D0188E.4090205@...221...> Am 17.12.2012 21:36, schrieb Beno?t Minisini: > Le 17/12/2012 12:18, Rolf-Werner Eilert a ?crit : >> Benoit, >> >> Have you found time to verify this? Am I doing something wrong, or is it >> a feature? :-) >> >> Regards >> >> Rolf >> > > Maybe we misunderstood there. You must remove the drawing code from the > Paginate event. Did you do that? > > Paginate has nothing to do with actual drawing. Everything is done in > the Draw event handler, which is called once for each page. > > Each time the Draw event is raised, a new page is started on the printer > (except for the first one of course). If your page is not blank at > drawing start, only then this is a bug/ > > So if you have a non-wanted behaviour after removing the drawing code > from the Paginate event handler, please send me a little project that > reproduces it, and tell me if you are using GTK+ or QT. > > Thanks. > Yes I did misunderstand the meaning of paginate here, I think. What is paginate good for, if I cannot try printing PRIOR TO actually printing and see how many pages I will get? So this is what I expected: When it is unclear how many pages my document will produce (maybe I want to print a longer list), I make a dry run using paginate, writing everything into the paginate "null device" to see "ok, we will get 4 pages out of it", so I can make things like "page 3/4" etc. But as you said, this is not what it is meant to be for, so please enlighten me about its real use, because I don't see any :-)) Thank you! Rolf From john.aaron.rose at ...626... Tue Dec 18 11:16:37 2012 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 18 Dec 2012 10:16:37 +0000 Subject: [Gambas-user] RaspberryPi Message-ID: <50D04285.3000008@...626...> Rob & Emil, It would be better if the armhf packages could be put into a ppa like nemh has done for Gambas3 with the relevant Ubuntu packages. I've noticed on someone's blog (http://blog.anantshri.info/howto-add-ppa-in-debian/) that a ppa repo can be accessed in Debian Squeeze. Do you think it's worth asking kendek (i.e. nemh) if he would be willing to host the armhf packages and transfer them from http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/ ? -- Regards, John 01902 331266 From mohareve at ...626... Tue Dec 18 11:26:21 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 18 Dec 2012 11:26:21 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: <50CFA642.7060705@...1...> References: <50CE4E0C.5020907@...1...> <50CFA642.7060705@...1...> Message-ID: In fact I cannot catch the error, although it occurs randomly. I've tried several times to create screenshots, but at that moment the error didn't come up. Csaba 2012/12/18 Beno?t Minisini > Le 18/12/2012 01:01, Adrien Prokopowicz a ?crit : > > > > Hi Beno?t, > > > > I have the same problem since a few weeks now, and I just understood what > > it was. > > Actually, when I get a compilation warning, the IDE automatically jumps > to > > the position of the warning, and makes these "messy jumps". > > I know that I should write my code so that I won't have any warning, but > > this is really annoying. > > > > > > Regards, > > > > Warnings can be disabled in the project property dialog if they are > unwanted. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mohareve at ...626... Tue Dec 18 12:19:43 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 18 Dec 2012 12:19:43 +0100 Subject: [Gambas-user] Another possible bug with GridView Message-ID: If clr = "green" Then filer[i, 1].Background = Color.Green If clr = "yellow" Then filer[i, 1].Background = Color.Yellow If clr = "red" Then filer[i, 1].Background = Color.Red This code clears the content of filer[i.1].Text instead of painting the background into green, yellow or red. The filer[i,1] column is fed through another string array with Data event. I think this fact should not affect the content of the cell, since the array is intact. Csaba From bbruen at ...2308... Tue Dec 18 13:13:40 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 18 Dec 2012 22:43:40 +1030 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: References: <50CE4E0C.5020907@...1...> <50CFA642.7060705@...1...> Message-ID: <1355832821.30859.46.camel@...2688...> On Tue, 2012-12-18 at 11:26 +0100, M. Cs. wrote: > In fact I cannot catch the error, although it occurs randomly. I've tried > several times to create screenshots, but at that moment the error didn't > come up. > > Csaba > Beno?t, I can confirm that this issue is true. One instance I see it in is if a procedure does not use a passed parameter value then a warning is properly raised and the IDE either opens the source concerned or resets the current line to "somewhere" in that class. This seems to happen whether or not warnings are activated. More tomorrow. -- Bruce Paddys-Hill dot net From gambas at ...1... Tue Dec 18 15:11:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Dec 2012 15:11:59 +0100 Subject: [Gambas-user] Fwd: Re: Paginate doesn't clear page In-Reply-To: <50D0188E.4090205@...221...> References: <50BF396B.8040609@...221...> <50CEFF94.3070903@...221...> <50CF825C.9080000@...1...> <50D0188E.4090205@...221...> Message-ID: <50D079AF.7020603@...1...> Le 18/12/2012 08:17, Rolf-Werner Eilert a ?crit : > > > Am 17.12.2012 21:36, schrieb Beno?t Minisini: >> Le 17/12/2012 12:18, Rolf-Werner Eilert a ?crit : >>> Benoit, >>> >>> Have you found time to verify this? Am I doing something wrong, or is it >>> a feature? :-) >>> >>> Regards >>> >>> Rolf >>> >> >> Maybe we misunderstood there. You must remove the drawing code from the >> Paginate event. Did you do that? >> >> Paginate has nothing to do with actual drawing. Everything is done in >> the Draw event handler, which is called once for each page. >> >> Each time the Draw event is raised, a new page is started on the printer >> (except for the first one of course). If your page is not blank at >> drawing start, only then this is a bug/ >> >> So if you have a non-wanted behaviour after removing the drawing code >> from the Paginate event handler, please send me a little project that >> reproduces it, and tell me if you are using GTK+ or QT. >> >> Thanks. >> > > Yes I did misunderstand the meaning of paginate here, I think. > > What is paginate good for, if I cannot try printing PRIOR TO actually > printing and see how many pages I will get? > > So this is what I expected: When it is unclear how many pages my > document will produce (maybe I want to print a longer list), I make a > dry run using paginate, writing everything into the paginate "null > device" to see "ok, we will get 4 pages out of it", so I can make things > like "page 3/4" etc. > > But as you said, this is not what it is meant to be for, so please > enlighten me about its real use, because I don't see any :-)) > > Thank you! > > Rolf > Computing the number of pages depends on what you draw exactly. If you are drawing text, you usually use the Paint.TextSize() and Paint.RichTextSize() methods. So you don't draw anything. You just compute the size of things you are going to draw. Regards, -- Beno?t Minisini From gambas at ...1... Tue Dec 18 15:13:23 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Dec 2012 15:13:23 +0100 Subject: [Gambas-user] Another possible bug with GridView In-Reply-To: References: Message-ID: <50D07A03.30706@...1...> Le 18/12/2012 12:19, M. Cs. a ?crit : > If clr = "green" Then filer[i, 1].Background = Color.Green > If clr = "yellow" Then filer[i, 1].Background = Color.Yellow > If clr = "red" Then filer[i, 1].Background = Color.Red > > This code clears the content of filer[i.1].Text instead of painting the > background into green, yellow or red. The filer[i,1] column is fed through > another string array with Data event. I think this fact should not affect > the content of the cell, since the array is intact. > > Csaba Yep. At the moment, if you fill any property of a cell explicitely, then its Draw event is not raised. This is mutually exclusive. As a workaround, you have to define the background inside the Draw event handler. Regards, -- Beno?t Minisini From mohareve at ...626... Tue Dec 18 15:59:29 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 18 Dec 2012 15:59:29 +0100 Subject: [Gambas-user] Another possible bug with GridView In-Reply-To: <50D07A03.30706@...1...> References: <50D07A03.30706@...1...> Message-ID: Public Sub filer_Data(i As Integer, j As Integer) Dim szin As String Select Case j Case 0 filer.Data.Text = content[i] Case 1 filer.Data.Text = preview[i] If scheck.Value = True Then szin = SecurityCheck(preview[i], i) If szin = "green" Then filer.Data.Background = Color.White If szin = "yellow" Then filer.Data.Background = Color.Yellow If szin = "red" Then filer.Data.Background = Color.Red Endif If bolder = True Then filer.Data.Font.Bold = True Else filer.Data.Font.Bold = False Endif End Select End This is the Data event which fixes the issues as you told me. Yet there is another problem. As you see, I've tried to set the cell's Font property to bold (if this is a directory and not a file, just to understand the reason why). Bolder is a global boolean which is set in another sub. Why do I have only normal font thickness with both bolder values? Csaba From sebikul at ...626... Tue Dec 18 16:08:38 2012 From: sebikul at ...626... (Sebi) Date: Tue, 18 Dec 2012 15:08:38 +0000 Subject: [Gambas-user] RaspberryPi In-Reply-To: <50D04285.3000008@...626...> References: <50D04285.3000008@...626...> Message-ID: <1760346476-1355843318-cardhu_decombobulator_blackberry.rim.net-697546585-@...2864...> It's not possible to just upload a package to Launchpad, it has to be built there. PPAs can't built armhf by default, it must be enabled, and they only do it for official projects. I already asked them to enable arm builds for the Daily PPA and they wouldn't do it. -----Original Message----- From: John Rose Date: Tue, 18 Dec 2012 10:16:37 To: GambasUsers, MailingList Reply-To: mailing list for gambas users Subject: Re: [Gambas-user] RaspberryPi Rob & Emil, It would be better if the armhf packages could be put into a ppa like nemh has done for Gambas3 with the relevant Ubuntu packages. I've noticed on someone's blog (http://blog.anantshri.info/howto-add-ppa-in-debian/) that a ppa repo can be accessed in Debian Squeeze. Do you think it's worth asking kendek (i.e. nemh) if he would be willing to host the armhf packages and transfer them from http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/ ? -- Regards, John 01902 331266 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mohareve at ...626... Tue Dec 18 16:23:55 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 18 Dec 2012 16:23:55 +0100 Subject: [Gambas-user] Another possible bug with GridView In-Reply-To: References: <50D07A03.30706@...1...> Message-ID: I've discovered that there cannot be mixed usage of bold and non-bold fonts in the same column of a gridView at the same time. Is this correct? I mean like: text1 *text2* *text3* text4 Can this be enabled somehow? Thanks! Csaba 2012/12/18 M. Cs. > Public Sub filer_Data(i As Integer, j As Integer) > Dim szin As String > Select Case j > Case 0 > filer.Data.Text = content[i] > Case 1 > filer.Data.Text = preview[i] > If scheck.Value = True Then > szin = SecurityCheck(preview[i], i) > If szin = "green" Then filer.Data.Background = Color.White > If szin = "yellow" Then filer.Data.Background = Color.Yellow > If szin = "red" Then filer.Data.Background = Color.Red > Endif > If bolder = True Then > filer.Data.Font.Bold = True > Else > filer.Data.Font.Bold = False > Endif > End Select > End > > This is the Data event which fixes the issues as you told me. Yet there is > another problem. As you see, I've tried to set the cell's Font property to > bold (if this is a directory and not a file, just to understand the reason > why). Bolder is a global boolean which is set in another sub. Why do I have > only normal font thickness with both bolder values? > > Csaba > From eilert-sprachen at ...221... Tue Dec 18 16:29:16 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 18 Dec 2012 16:29:16 +0100 Subject: [Gambas-user] Fwd: Re: Paginate doesn't clear page In-Reply-To: <50D079AF.7020603@...1...> References: <50BF396B.8040609@...221...> <50CEFF94.3070903@...221...> <50CF825C.9080000@...1...> <50D0188E.4090205@...221...> <50D079AF.7020603@...1...> Message-ID: <50D08BCC.6020504@...221...> Am 18.12.2012 15:11, schrieb Beno?t Minisini: > Le 18/12/2012 08:17, Rolf-Werner Eilert a ?crit : >> >> >> Am 17.12.2012 21:36, schrieb Beno?t Minisini: >>> Le 17/12/2012 12:18, Rolf-Werner Eilert a ?crit : >>>> Benoit, >>>> >>>> Have you found time to verify this? Am I doing something wrong, or is it >>>> a feature? :-) >>>> >>>> Regards >>>> >>>> Rolf >>>> >>> >>> Maybe we misunderstood there. You must remove the drawing code from the >>> Paginate event. Did you do that? >>> >>> Paginate has nothing to do with actual drawing. Everything is done in >>> the Draw event handler, which is called once for each page. >>> >>> Each time the Draw event is raised, a new page is started on the printer >>> (except for the first one of course). If your page is not blank at >>> drawing start, only then this is a bug/ >>> >>> So if you have a non-wanted behaviour after removing the drawing code >>> from the Paginate event handler, please send me a little project that >>> reproduces it, and tell me if you are using GTK+ or QT. >>> >>> Thanks. >>> >> >> Yes I did misunderstand the meaning of paginate here, I think. >> >> What is paginate good for, if I cannot try printing PRIOR TO actually >> printing and see how many pages I will get? >> >> So this is what I expected: When it is unclear how many pages my >> document will produce (maybe I want to print a longer list), I make a >> dry run using paginate, writing everything into the paginate "null >> device" to see "ok, we will get 4 pages out of it", so I can make things >> like "page 3/4" etc. >> >> But as you said, this is not what it is meant to be for, so please >> enlighten me about its real use, because I don't see any :-)) >> >> Thank you! >> >> Rolf >> > > Computing the number of pages depends on what you draw exactly. If you > are drawing text, you usually use the Paint.TextSize() and > Paint.RichTextSize() methods. > > So you don't draw anything. You just compute the size of things you are > going to draw. > > Regards, > Sure, that way it is possible, too. But then, what is paginate actually good for? I simply wish to understand... :-) Rolf From taboege at ...626... Tue Dec 18 18:12:31 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 18 Dec 2012 18:12:31 +0100 Subject: [Gambas-user] LLVM compilation error Message-ID: <20121218171231.GD526@...2774...> Hi Emil, Hans gave me some output from his gb.jit compilation attempt: --8<--------------- make[4]: Betrete Verzeichnis '/home/hans/3.4/gb.jit/src' CXX gb_jit_la-jit_codegen.lo In file included from jit_codegen.cpp:34:0: jit.h:42:36: fatal error: llvm/Support/IRBuilder.h: No such file or directory compilation terminated. make[4]: *** [gb_jit_la-jit_codegen.lo] Fehler 1 make[4]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' make[2]: *** [all] Fehler 2 make[2]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' make[1]: *** [all-recursive] Fehler 1 make[1]: Verlasse Verzeichnis '/home/hans/3.4' make: *** [all] Fehler 2 hans at ...56...:~/3.4$ ^C --8<--------------- He said that he installed LLVM's SVN snapshot according to your README. (Despite your use of the #include "CWD_path" syntax for which I can't think of a logical reason except to make people move their LLVM headers randomly and erroneously to the Gambas installation when they glance at the sources and don't quite understand exactly (as Hans did, as a real world example)) there is clearly an anomaly in Hans' installation or else the error would not show up. You said that LLVM is installed differently on different distributions so it might be of interest for you where the file is on his machine: $ find /usr -name IRBuilder.h /usr/include/llvm/IRBuilder.h This is from "UBUNTU 12.04 with Gnome" as he says. Hope you can fix the compilation with this information for yet another configuration ;-) Regards, Tobi From willy at ...2734... Tue Dec 18 18:14:37 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 18 Dec 2012 18:14:37 +0100 Subject: [Gambas-user] Translator question Message-ID: <1355850877.3977.0.camel@...3024...> Hi, I have an application (Gambas 2) where I use Internationalization. Application original is English and translations contain 7 other European languages. In the app on one form I use W to indicate West and on another form I use W to indicate Watts. In Bulgarian translation West (W) gets translated to this: 3 Problem is that now Watt (W) gets translated too, but should remain W !! Is there a manner of getting around this? I mean can I indicate that one of the two W doesn't get translated (the watt in this case as it is an international symbol used in all European languages, so never needs to be translated, West on the other hand seems to differ from language to language) Thanks, Willy From math.eber at ...221... Tue Dec 18 19:38:40 2012 From: math.eber at ...221... (Matti) Date: Tue, 18 Dec 2012 19:38:40 +0100 Subject: [Gambas-user] Translator question In-Reply-To: <1355850877.3977.0.camel@...3024...> References: <1355850877.3977.0.camel@...3024...> Message-ID: <50D0B830.4000102@...221...> Can you put an empty space after one of the Ws? "W" and "W " can be translated differently. Am 18.12.2012 18:14, schrieb Willy Raets: > Hi, > > I have an application (Gambas 2) where I use Internationalization. > Application original is English and translations contain 7 other > European languages. > > In the app on one form I use W to indicate West and on another form I > use W to indicate Watts. > > In Bulgarian translation West (W) gets translated to this: 3 > Problem is that now Watt (W) gets translated too, but should remain W !! > > Is there a manner of getting around this? > I mean can I indicate that one of the two W doesn't get translated (the > watt in this case as it is an international symbol used in all European > languages, so never needs to be translated, West on the other hand seems > to differ from language to language) > > Thanks, > > Willy > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Tue Dec 18 19:44:27 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 18 Dec 2012 19:44:27 +0100 Subject: [Gambas-user] Translator question In-Reply-To: <50D0B830.4000102@...221...> References: <1355850877.3977.0.camel@...3024...> <50D0B830.4000102@...221...> Message-ID: <1355856267.3977.1.camel@...3024...> On Tue, 2012-12-18 at 19:38 +0100, Matti wrote: > Can you put an empty space after one of the Ws? > "W" and "W " can be translated differently. Clever solution :) Thanks, Willy From flachyjoe at ...67... Tue Dec 18 19:54:16 2012 From: flachyjoe at ...67... (Flachy Joe) Date: Tue, 18 Dec 2012 19:54:16 +0100 Subject: [Gambas-user] gb.jit can't be compiled In-Reply-To: References: <50B26616.9010907@...221...> Message-ID: <50D0BBD8.9000007@...67...> Hi, Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 packages) : In jit_gambas_pass.cpp line 28 and jit.h line 36 : change /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute to llvm::Attributes Regards. Le 26/11/2012 01:13, Emil Lenngren a ?crit : > It's a pity that almost all linux distributions put the llvm libs in > different places. Also, some distributions use the static library, and some > of them use a dynamic library. > > Can you see where your package manager has installed the llvm files? > > /Emil > > 2012/11/25 Matti > >> Didn't care about this component for a while. >> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel >> 3.1-2.3.1 >> >> 'make' now complains about a missing 'libLLVM-3.1' that can't be found in >> my >> (Suse) repos. The informations in the web are a bit confusing. >> Anybody knows where to download the correct libLLVM for Suse? >> >> Thanks >> Matti >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ea7dfh at ...2382... Tue Dec 18 20:42:33 2012 From: ea7dfh at ...2382... (Jesus) Date: Tue, 18 Dec 2012 20:42:33 +0100 Subject: [Gambas-user] Translator question In-Reply-To: <1355850877.3977.0.camel@...3024...> References: <1355850877.3977.0.camel@...3024...> Message-ID: <50D0C729.1030502@...2382...> El 18/12/12 18:14, Willy Raets escribi?: > Hi, > > I have an application (Gambas 2) where I use Internationalization. > Application original is English and translations contain 7 other > European languages. > > In the app on one form I use W to indicate West and on another form I > use W to indicate Watts. > > In Bulgarian translation West (W) gets translated to this: 3 > Problem is that now Watt (W) gets translated too, but should remain W !! > > Is there a manner of getting around this? > I mean can I indicate that one of the two W doesn't get translated (the > watt in this case as it is an international symbol used in all European > languages, so never needs to be translated, West on the other hand seems > to differ from language to language) > > Thanks, > > Willy > Hi all From QT4 help http://qt-project.org/doc/qt-4.8/QTranslator.html "-The disambiguation - an optional string that helps disambiguate different uses of the same text in the same context." Not sure if it would be possible in gambas, but in Qt4 itself and Qt4 Designer (the native designer tool of Qt4 development suite) there is a property for every widget called *disambiguation* relative to its translation, which allow to distinguish between several meanings of the same string into different[?] contexts. Wonder if it would be implemented in gambas some day... Benoit? Regards -- Jesus Guardon From geaplanet at ...397... Tue Dec 18 20:44:28 2012 From: geaplanet at ...397... (Maria) Date: Tue, 18 Dec 2012 19:44:28 +0000 (GMT) Subject: [Gambas-user] Is it possible a portable Gambas? Message-ID: <1355859868.23985.YahooMailNeo@...2886...> Hi, In the gambas-es.org comunity has appeared this question several times and I was wondering if here had someone how has already tryed it. If you put all gambas installation files in a folder, is there any posibility to load all gambas environment from it? For example: In /home/user/gambas/ you'd have something like: /home/user/gambas/bin /home/user/gambas/lib /home/user/gambas/share And we try to load /home/usr/gambas/bin/gambas Some users speak about a GB_DIR variable, and LD_LIBRARY_PATH, but we have made several tryes with no results. It would be great if it was possible, because you could carry your gambas copy in a pendrive without worrying about installations, repositories, versions, etc... From emil.lenngren at ...626... Tue Dec 18 21:18:17 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Tue, 18 Dec 2012 21:18:17 +0100 Subject: [Gambas-user] gb.jit can't be compiled In-Reply-To: <50D0BBD8.9000007@...67...> References: <50B26616.9010907@...221...> <50D0BBD8.9000007@...67...> Message-ID: Arghh, why do they have to rename classes and files?? That breaks API/ABI compatibility for many projects... When llvm 3.2 is released, I shall go through everything and make sure that gb.jit works correctly. /Emil 2012/12/18 Flachy Joe > Hi, > Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 > packages) : > > In jit_gambas_pass.cpp line 28 and jit.h line 36 : change > /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h > > In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute > to llvm::Attributes > > Regards. > > > Le 26/11/2012 01:13, Emil Lenngren a ?crit : > > It's a pity that almost all linux distributions put the llvm libs in > > different places. Also, some distributions use the static library, and > some > > of them use a dynamic library. > > > > Can you see where your package manager has installed the llvm files? > > > > /Emil > > > > 2012/11/25 Matti > > > >> Didn't care about this component for a while. > >> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel > >> 3.1-2.3.1 > >> > >> 'make' now complains about a missing 'libLLVM-3.1' that can't be found > in > >> my > >> (Suse) repos. The informations in the web are a bit confusing. > >> Anybody knows where to download the correct libLLVM for Suse? > >> > >> Thanks > >> Matti > >> > >> > >> > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Monitor your physical, virtual and cloud infrastructure from a single > > web console. Get in-depth insight into apps, servers, databases, vmware, > > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jim at ...3055... Wed Dec 19 01:23:55 2012 From: jim at ...3055... (Jim Brown) Date: Wed, 19 Dec 2012 00:23:55 +0000 Subject: [Gambas-user] gb.jit can't be compiled In-Reply-To: <50D0BBD8.9000007@...67...> References: <50B26616.9010907@...221...> <50D0BBD8.9000007@...67...> Message-ID: <50D1091B.40409@...3055...> Hi Thanks for this, it works for my Ubuntu install also. A couple of weeks ago I decided to implement jit into my build but after downloading and installing llvm I could not get it to install because of errors with IRBuilder. Tonight has been the first build that has completed for some time. Regards Jim On 18/12/2012 18:54, Flachy Joe wrote: > Hi, > Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 > packages) : > > In jit_gambas_pass.cpp line 28 and jit.h line 36 : change > /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h > > In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute > to llvm::Attributes > > Regards. > > > Le 26/11/2012 01:13, Emil Lenngren a ?crit : >> It's a pity that almost all linux distributions put the llvm libs in >> different places. Also, some distributions use the static library, and some >> of them use a dynamic library. >> >> Can you see where your package manager has installed the llvm files? >> >> /Emil >> >> 2012/11/25 Matti >> >>> Didn't care about this component for a while. >>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel >>> 3.1-2.3.1 >>> >>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found in >>> my >>> (Suse) repos. The informations in the web are a bit confusing. >>> Anybody knows where to download the correct libLLVM for Suse? >>> >>> Thanks >>> Matti >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From emil.lenngren at ...626... Wed Dec 19 02:15:55 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 19 Dec 2012 02:15:55 +0100 Subject: [Gambas-user] gb.jit can't be compiled In-Reply-To: <50D1091B.40409@...3055...> References: <50B26616.9010907@...221...> <50D0BBD8.9000007@...67...> <50D1091B.40409@...3055...> Message-ID: Nice :) What was the first LLVM version you noticed gb.jit didn't work? Or did you use the LLVM trunk? /Emil 2012/12/19 Jim Brown > Hi > > Thanks for this, it works for my Ubuntu install also. A couple of weeks > ago I decided to implement jit into my build but after downloading and > installing llvm I could not get it to install because of errors with > IRBuilder. Tonight has been the first build that has completed for some > time. > > Regards > Jim > > > On 18/12/2012 18:54, Flachy Joe wrote: > > Hi, > > Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 > > packages) : > > > > In jit_gambas_pass.cpp line 28 and jit.h line 36 : change > > /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h > > > > In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute > > to llvm::Attributes > > > > Regards. > > > > > > Le 26/11/2012 01:13, Emil Lenngren a ?crit : > >> It's a pity that almost all linux distributions put the llvm libs in > >> different places. Also, some distributions use the static library, and > some > >> of them use a dynamic library. > >> > >> Can you see where your package manager has installed the llvm files? > >> > >> /Emil > >> > >> 2012/11/25 Matti > >> > >>> Didn't care about this component for a while. > >>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel > >>> 3.1-2.3.1 > >>> > >>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found > in > >>> my > >>> (Suse) repos. The informations in the web are a bit confusing. > >>> Anybody knows where to download the correct libLLVM for Suse? > >>> > >>> Thanks > >>> Matti > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Monitor your physical, virtual and cloud infrastructure from a single > >>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>> Pricing starts from $795 for 25 servers or applications! > >>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > ------------------------------------------------------------------------------ > > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > > Remotely access PCs and mobile devices and provide instant support > > Improve your efficiency, and focus on delivering more value-add services > > Discover what IT Professionals Know. Rescue delivers > > http://p.sf.net/sfu/logmein_12329d2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Dec 19 14:10:15 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 19 Dec 2012 14:10:15 +0100 Subject: [Gambas-user] LLVM compilation error In-Reply-To: <20121218171231.GD526@...2774...> References: <20121218171231.GD526@...2774...> Message-ID: <20121219131015.GH524@...2774...> On Tue, 18 Dec 2012, Tobias Boege wrote: > Hi Emil, > > Hans gave me some output from his gb.jit compilation attempt: > > --8<--------------- > > make[4]: Betrete Verzeichnis '/home/hans/3.4/gb.jit/src' > CXX gb_jit_la-jit_codegen.lo > In file included from jit_codegen.cpp:34:0: > jit.h:42:36: fatal error: llvm/Support/IRBuilder.h: No such file or > directory > compilation terminated. > make[4]: *** [gb_jit_la-jit_codegen.lo] Fehler 1 > make[4]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit/src' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' > make[2]: *** [all] Fehler 2 > make[2]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Verlasse Verzeichnis '/home/hans/3.4' > make: *** [all] Fehler 2 > hans at ...56...:~/3.4$ ^C > > --8<--------------- So, rev #5446 was verified to work in another thread[0] but I checked out LLVM's svn repository (via the git mirror) and built the $ llvm-config --version 3.3svn which seems to not call some class "llvm:Attributes" (as in the 3.2svn or so) but "llvm:Attribute" (as it was before), again. The attached patch makes compilation work again for the more recent SVN version. These LLVM people seem to be really uncertain about naming :-) FYI, the commit logs show that: a) Somewhen after rev #164727 (September) the llvm:Attribute class must have vanished. b) The re-renaming to llvm:Attribute was at rev #170502 (today morning!). c) IRBuilder.h changed location with rev #159421 (June). Regards, Tobi [0] http://sourceforge.net/mailarchive/message.php?msg_id=30248749 -------------- next part -------------- Index: gb.jit/src/jit_codegen.cpp =================================================================== --- gb.jit/src/jit_codegen.cpp (revision 5448) +++ gb.jit/src/jit_codegen.cpp (working copy) @@ -3614,7 +3614,7 @@ create_gep(temp_errcontext1, TARGET_BITS, 0, TARGET_BITS, 0)); llvm::Function* f = llvm::cast(get_global_function(_setjmp, 'i', "p")); -#if LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 2) +#if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 2 f->addFnAttr(llvm::Attributes::ReturnsTwice); #else f->addFnAttr(llvm::Attribute::ReturnsTwice); @@ -3669,7 +3669,7 @@ create_gep(temp_errcontext2, TARGET_BITS, 0, TARGET_BITS, 0)); llvm::Function* f = llvm::cast(get_global_function(_setjmp, 'i', "p")); -#if LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 2) +#if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 2 f->addFnAttr(llvm::Attributes::ReturnsTwice); #else f->addFnAttr(llvm::Attribute::ReturnsTwice); From mohareve at ...626... Wed Dec 19 15:37:04 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 19 Dec 2012 15:37:04 +0100 Subject: [Gambas-user] How to use Stat().Perm Message-ID: Hello, I simply don't understand the new function: How can I decide of a certain file whether it is writable or not? How can I decide of a certain folder whether it is writable or not? What are the proper return values? Please do the documentation if you add some news to the project! Thanks. Csaba From gambas at ...1... Wed Dec 19 15:39:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Dec 2012 15:39:35 +0100 Subject: [Gambas-user] How to use Stat().Perm In-Reply-To: References: Message-ID: <50D1D1A7.2090605@...1...> Le 19/12/2012 15:37, M. Cs. a ?crit : > Hello, > I simply don't understand the new function: > How can I decide of a certain file whether it is writable or not? > How can I decide of a certain folder whether it is writable or not? > What are the proper return values? > > Please do the documentation if you add some news to the project! > > Thanks. > > Csaba Don't use Perm, use Auth instead. It is a string that has a "ls"-like format, so it is easier to understand. -- Beno?t Minisini From emil.lenngren at ...626... Wed Dec 19 16:04:04 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 19 Dec 2012 16:04:04 +0100 Subject: [Gambas-user] LLVM compilation error In-Reply-To: <20121219131015.GH524@...2774...> References: <20121218171231.GD526@...2774...> <20121219131015.GH524@...2774...> Message-ID: Let's wait until tomorrow. Who knows if they re-rename it again in the last minutes? ;) /Emil 2012/12/19 Tobias Boege > On Tue, 18 Dec 2012, Tobias Boege wrote: > > Hi Emil, > > > > Hans gave me some output from his gb.jit compilation attempt: > > > > --8<--------------- > > > > make[4]: Betrete Verzeichnis '/home/hans/3.4/gb.jit/src' > > CXX gb_jit_la-jit_codegen.lo > > In file included from jit_codegen.cpp:34:0: > > jit.h:42:36: fatal error: llvm/Support/IRBuilder.h: No such file or > > directory > > compilation terminated. > > make[4]: *** [gb_jit_la-jit_codegen.lo] Fehler 1 > > make[4]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit/src' > > make[3]: *** [all-recursive] Fehler 1 > > make[3]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' > > make[2]: *** [all] Fehler 2 > > make[2]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit' > > make[1]: *** [all-recursive] Fehler 1 > > make[1]: Verlasse Verzeichnis '/home/hans/3.4' > > make: *** [all] Fehler 2 > > hans at ...56...:~/3.4$ ^C > > > > --8<--------------- > > So, rev #5446 was verified to work in another thread[0] but I checked out > LLVM's svn repository (via the git mirror) and built the > > $ llvm-config --version > 3.3svn > > which seems to not call some class "llvm:Attributes" (as in the 3.2svn or > so) but "llvm:Attribute" (as it was before), again. > > The attached patch makes compilation work again for the more recent SVN > version. These LLVM people seem to be really uncertain about naming :-) > > FYI, the commit logs show that: > > a) Somewhen after rev #164727 (September) the llvm:Attribute class must > have > vanished. > b) The re-renaming to llvm:Attribute was at rev #170502 (today morning!). > > c) IRBuilder.h changed location with rev #159421 (June). > > Regards, > Tobi > > [0] http://sourceforge.net/mailarchive/message.php?msg_id=30248749 > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Wed Dec 19 16:26:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Dec 2012 16:26:25 +0100 Subject: [Gambas-user] LLVM compilation error In-Reply-To: References: <20121218171231.GD526@...2774...> <20121219131015.GH524@...2774...> Message-ID: <50D1DCA1.2070806@...1...> Le 19/12/2012 16:04, Emil Lenngren a ?crit : > Let's wait until tomorrow. Who knows if they re-rename it again in the last > minutes? ;) > > /Emil > Adding my own complaints to Emil's ones, I find amazing that such smart guys (they are writing a new compiler infrastructure for any architecture after all) : - Change headers names between different versions. But then we can suppose that binary compatibility is not guaranteed, between minor versions ( LLVM 3.3 != LLVM 3.2 != LLVM 3.1...) - Cannot ensure that two different versions of LLVM can work on the same system. For example, if I compile and install LLVM 3.1 on my Ubuntu 12.04, then OpenGL examples crash when JIT is enabled, because apparently the OpenGL libraries are based on LLVM 3.0. -- Beno?t Minisini From john.aaron.rose at ...626... Wed Dec 19 20:02:37 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 19 Dec 2012 19:02:37 +0000 Subject: [Gambas-user] RaspberryPi Message-ID: <50D20F4D.5020804@...626...> RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian (based on Debian Wheezy) at: http://www.raspberrypi.org/downloads http://elinux.org/RPi_Easy_SD_Card_Setup shows how to create an image on an SD Card for booting from. I used the ImageWriter tool described there as I prefer a GUI to the CLI. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319 describes how to install Gambas 3.2.1 as it needs a patch described there. I'll try above setup & install when I get my (actually a present for my grandson's 11th birthday) RaspberryPi. -- Regards, John 01902 331266 From flachyjoe at ...67... Wed Dec 19 20:10:56 2012 From: flachyjoe at ...67... (flachyjoe) Date: Wed, 19 Dec 2012 11:10:56 -0800 (PST) Subject: [Gambas-user] gb.jit can't be compiled In-Reply-To: References: <50B26616.9010907@...221...> <50D0BBD8.9000007@...67...> <50D1091B.40409@...3055...> Message-ID: <1355944256646-40464.post@...3046...> It's the first LLVM package I test... I've try with the trunk too and the same issues occurred. On debian, a link have to be done from /usr/include/llvm-3.2/llvm to /usr/include/llvm for it work. -- View this message in context: http://gambas.8142.n7.nabble.com/gb-jit-can-t-be-compiled-tp40071p40464.html Sent from the gambas-user mailing list archive at Nabble.com. From mohareve at ...626... Wed Dec 19 22:03:09 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 19 Dec 2012 22:03:09 +0100 Subject: [Gambas-user] Lost launchers Message-ID: Hello Benoit, I have a long standing problem with Gambas-based program launchers. When I create an installation's package, I am questioned where to put the application and I use to set it regularly for each distribution respectively. Yet, regardless to what application group I choose, and also regardless to the DE or the distro, I am always finding my applications in either Lost & Found submenu (KDE) or in Others (Cinnamon etc.) Is this the normal behavior? Csaba -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 122242 bytes Desc: not available URL: From geaplanet at ...397... Wed Dec 19 22:09:00 2012 From: geaplanet at ...397... (Maria) Date: Wed, 19 Dec 2012 21:09:00 +0000 (GMT) Subject: [Gambas-user] RaspberryPi In-Reply-To: <50D20F4D.5020804@...626...> References: <50D20F4D.5020804@...626...> Message-ID: <1355951340.17475.YahooMailNeo@...2887...> That is not a patch, it's a full copy of gambas321. It copies all files to /usr/bin /usr/share/gambas3 /usr/lib/gambas3 My r-pi is coming too :-) ________________________________ De: John Rose Para: MailingList GambasUsers Enviado: Mi?rcoles 19 de diciembre de 2012 20:02 Asunto: Re: [Gambas-user] RaspberryPi RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian (based on Debian Wheezy) at: http://www.raspberrypi.org/downloads http://elinux.org/RPi_Easy_SD_Card_Setup shows how to create an image on an SD Card for booting from. I used the ImageWriter tool described there as I prefer a GUI to the CLI. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319 describes how to install Gambas 3.2.1 as it needs a patch described there. I'll try above setup & install when I get my (actually a present for my grandson's 11th birthday) RaspberryPi. -- Regards, John 01902 331266 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Dec 19 22:09:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Dec 2012 22:09:32 +0100 Subject: [Gambas-user] Lost launchers In-Reply-To: References: Message-ID: <50D22D0C.2030307@...1...> Le 19/12/2012 22:03, M. Cs. a ?crit : > Hello Benoit, > I have a long standing problem with Gambas-based program launchers. When I > create an installation's package, I am questioned where to put the > application and I use to set it regularly for each distribution > respectively. Yet, regardless to what application group I choose, and also > regardless to the DE or the distro, I am always finding my applications in > either Lost & Found submenu (KDE) or in Others (Cinnamon etc.) > Is this the normal behavior? > > Csaba > Can you send me a package of one of your application for my Ubuntu? I will see where the launcher goes. -- Beno?t Minisini From mohareve at ...626... Wed Dec 19 22:20:25 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 19 Dec 2012 22:20:25 +0100 Subject: [Gambas-user] Lost launchers In-Reply-To: <50D22D0C.2030307@...1...> References: <50D22D0C.2030307@...1...> Message-ID: This is a small stand-alone phonebook. 2012/12/19 Beno?t Minisini > Le 19/12/2012 22:03, M. Cs. a ?crit : > > Hello Benoit, > > I have a long standing problem with Gambas-based program launchers. When > I > > create an installation's package, I am questioned where to put the > > application and I use to set it regularly for each distribution > > respectively. Yet, regardless to what application group I choose, and > also > > regardless to the DE or the distro, I am always finding my applications > in > > either Lost & Found submenu (KDE) or in Others (Cinnamon etc.) > > Is this the normal behavior? > > > > Csaba > > > > Can you send me a package of one of your application for my Ubuntu? I > will see where the launcher goes. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > 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: telefonx_2.0.10-1_all.deb Type: application/x-debian-package Size: 30880 bytes Desc: not available URL: From gambas at ...1... Wed Dec 19 22:26:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Dec 2012 22:26:35 +0100 Subject: [Gambas-user] Lost launchers In-Reply-To: References: <50D22D0C.2030307@...1...> Message-ID: <50D2310B.7010500@...1...> Le 19/12/2012 22:20, M. Cs. a ?crit : > This is a small stand-alone phonebook. > You must fill the "Categories" in the packager wizard. This is what is used by some desktop to decide where the launcher should go. Others use the "menu entry". Regards, -- Beno?t Minisini From gambas at ...1... Wed Dec 19 22:56:11 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 19 Dec 2012 22:56:11 +0100 Subject: [Gambas-user] Bug on MediaTagList with some files In-Reply-To: References: <50CBE03D.10802@...1...> <50CCF51B.1050502@...1...> <50CCFCD5.1060602@...1...> Message-ID: <50D237FB.2000407@...1...> Le 16/12/2012 04:27, Adrien Prokopowicz a ?crit : > > And in the IDE (I don't know either if this is a bug), when the Null > object occurs into the declaration part of the class (or outside of any > function/procedure), the balloon pops out somewhere inside the stack > backtrace panel. (I first thought that the IDE itself was crashing ...) > > Regards, > This is fixed in revision #5452. Regards, -- Beno?t Minisini From mohareve at ...626... Wed Dec 19 23:09:41 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 19 Dec 2012 23:09:41 +0100 Subject: [Gambas-user] Lost launchers In-Reply-To: <50D2310B.7010500@...1...> References: <50D22D0C.2030307@...1...> <50D2310B.7010500@...1...> Message-ID: Thanks! 2012/12/19 Beno?t Minisini > Le 19/12/2012 22:20, M. Cs. a ?crit : > > This is a small stand-alone phonebook. > > > > You must fill the "Categories" in the packager wizard. This is what is > used by some desktop to decide where the launcher should go. Others use > the "menu entry". > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Dec 19 23:30:25 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 19 Dec 2012 23:30:25 +0100 Subject: [Gambas-user] Feature request: Component hunt disabler In-Reply-To: <1355832821.30859.46.camel@...2688...> References: <50CE4E0C.5020907@...1...> <50CFA642.7060705@...1...> <1355832821.30859.46.camel@...2688...> Message-ID: <50D24001.20804@...1...> Le 18/12/2012 13:13, Bruce a ?crit : > On Tue, 2012-12-18 at 11:26 +0100, M. Cs. wrote: >> In fact I cannot catch the error, although it occurs randomly. I've tried >> several times to create screenshots, but at that moment the error didn't >> come up. >> >> Csaba >> > Beno?t, > I can confirm that this issue is true. One instance I see it in is if a > procedure does not use a passed parameter value then a warning is > properly raised and the IDE either opens the source concerned or resets > the current line to "somewhere" in that class. This seems to happen > whether or not warnings are activated. > More tomorrow. > I disabled the automatic jump to the first warning in revision #5454. Regards, -- Beno?t Minisini From gambas at ...1... Thu Dec 20 09:40:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Dec 2012 09:40:30 +0100 Subject: [Gambas-user] Architecture page on gambasdoc.org In-Reply-To: <20121217191543.GA528@...2774...> References: <20121216103544.GA537@...2774...> <20121216103816.GB537@...2774...> <50CE4D67.3040609@...1...> <20121217191543.GA528@...2774...> Message-ID: <50D2CEFE.4000501@...1...> Le 17/12/2012 20:15, Tobias Boege a ?crit : > On Sun, 16 Dec 2012, Beno?t Minisini wrote: >> Le 16/12/2012 11:38, Tobias Boege a ?crit : >>> On Sun, 16 Dec 2012, Tobias Boege wrote: >>>> Hi Benoit and gambasdoc.org people, >>>> >>>> Hans would like to propose his version of the Gambas architecture diagram >>>> for gambasdoc.org. The original is found at [0] and a picture of his is at >>>> [1] -- you're right, it's inside a program but only look at it. He has the >>>> sources and I'd translate it into Englisch and put it up. What do you think? >>>> >>>> BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on >>>> Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I >>>> don't know what magic you normally use there but I couldn't even find a >>>> picture in the sources of that page (neither nor a named
or so). >>>> >>>> Regards, >>>> Tobi >>>> >>>> [0] http://gambasdoc.org/help/doc/arch?v3 >>>> [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt >>> >>> Heh, actually Hans' text is a translation of the official page I made a few >>> days ago. So only look at the colours ;-) >>> >> >> That page is only the legend of different part of the picture, which is >> on the web site (search for "HTML image maps" on google). >> >> I just put that text on the wiki to ease the translation process. >> >> Otherwise, yes, the diagram is nicer in colors. But I need it in >> english, and/or better in a vectorial format (for example an OpenOffice >> drawing), so that anybody can translate it. >> > > Hans sent me his ppt presentation and a png file. Hope you can use these > somehow? Thanks for your interest. > > Regards, > Tobi > Alas I can't do anything with that file: - The pptx cannot be opened nor saved reliably with LibreOffice. I need to modify it. For example, I don't understand the meaning of colours (why both the sources and the interpreter are orange?) - As I said, the original diagram is an HTML image map. So I need another HTML image map as replacement. Regards, -- Beno?t Minisini From gambas at ...1... Thu Dec 20 09:42:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Dec 2012 09:42:43 +0100 Subject: [Gambas-user] Strange behaviour of Frames In-Reply-To: <50CF6EF5.4010905@...221...> References: <50CF6EF5.4010905@...221...> Message-ID: <50D2CF83.6050406@...1...> Le 17/12/2012 20:13, Matti a ?crit : > Here is a very strange thing in the Form editor, happening only with Frames (as > it seems to me now): > > The form has the focus. > > a) I click on a Frame, hold the mouse button down and move the mouse: works as > expected, the Frame is being moved. > > b) I click on a Frame to give it the focus, then click again, hold the mouse > button down and move the mouse: the Gambas window gets the focus, gets resized > (the middle window button), and I move the Gambas window! Very funny. > > Always reproducable. > > Regards > Matti > > [System] > OperatingSystem=Linux > Kernel=3.4.11-2.16-desktop > Architecture=i686 > Memory=3052876 kB > DistributionVendor=SuSE > DistributionRelease=openSUSE 12.2 (i586) > VERSION = 12.2 > CODENAME = Mantis > Desktop=KDE4 > Language=de_DE.UTF-8 > > [Gambas 3] > Version=3.3.90 rev. 5438 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > Poppler=libpoppler.so.27.0.0 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+=libgtk-x11-2.0.so.0.2400.10 > SDL=libSDL-1.2.so.0.11.4 > I can't reproduce that behaviour at all. Do you have some special window manager option that allows you to resize a window by clicking inside it with the middle mouse button? -- Beno?t Minisini From mike.crean at ...2897... Thu Dec 20 09:33:46 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 20 Dec 2012 00:33:46 -0800 (PST) Subject: [Gambas-user] RaspberryPi In-Reply-To: <50D20F4D.5020804@...626...> References: <50D20F4D.5020804@...626...> Message-ID: <1355992426.38727.YahooMailNeo@...3057...> Hi John, I have had my Pi for a while now and admit I have not used it much. I downloaded the wheezy image with GB3 (3.2.1) from http://dl.dropbox.com/u/97096067/2012-07-15-wheezy-gambas3.zip I have just tried the download, it works. When you have downloaded the image (about 30 min. @ 360kbs). You will have to unzip the file and copy the image to an SD card. I would use 8GB or larger. Have had problems with 32GB and larger. I also had problems using Ubuntu to put the image on the SD. I used win32diskimager to install the image to the SD in a USB card reader on my Windows box. When the Pi is first booted the configuration screen will come up. Expand Wheezy to use all the SD if you like plenty of room to play. Follow the other parameters to complete the set-up. I find the GUI very slow and have developed my GB3 apps on my PC and then transferred them to the PI. You can update GB3 from the sourceforge site. If you do this with the Pi be prepared to wait a few hours for the download and install to complete. Hope this is of some help. Cheers Mike ________________________________ From: John Rose To: MailingList GambasUsers Sent: Thursday, 20 December 2012 3:02 AM Subject: Re: [Gambas-user] RaspberryPi RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian (based on Debian Wheezy) at: http://www.raspberrypi.org/downloads http://elinux.org/RPi_Easy_SD_Card_Setup shows how to create an image on an SD Card for booting from. I used the ImageWriter tool described there as I prefer a GUI to the CLI. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319 describes how to install Gambas 3.2.1 as it needs a patch described there. I'll try above setup & install when I get my (actually a present for my grandson's 11th birthday) RaspberryPi. -- Regards, John 01902 331266 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Thu Dec 20 09:49:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Dec 2012 08:49:12 +0000 Subject: [Gambas-user] Issue 363 in gambas: Command Button Transparency Found In-Reply-To: <6-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> <0-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-11966736271895164631-gambas=googlecode.com@...2524...> Comment #7 on issue 363 by benoit.m... at ...626...: Command Button Transparency Found http://code.google.com/p/gambas/issues/detail?id=363 From: t4769_a929 at ...2320... I reported a bug about this a week ago(?) but I am unable to locate the closed bug so I will submit a new bug and someone can attach it to the closed bug. Please and Thank You. I have the cause of the problem. I created a new icon for a new button and it too along with the original button had a transparent background when run by cron (loaded by Scheduled tasks). The new icon was 48x48. I downsized it to 32x32 because it did not look good then no transparency problem. I took the 31 day calendar icons for the original button which were 48x48 and downsized all of them to 32x32. Voila, no transparencies. The size of the icon is relative to the height(?) of the button so isolating a problem size is not possible. My buttons are 45 in height and 48x48 causes a problem. The cause of the problem is putting too large an icon onto a button. It was reproducable in all my KDE styles and icons so I believe it to be a problem at your end. Hope this helps. From gambas at ...2524... Thu Dec 20 09:50:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Dec 2012 08:50:13 +0000 Subject: [Gambas-user] Issue 365 in gambas: Gambas creates hijackable directory in /tmp In-Reply-To: <2-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #3 on issue 365 by benoit.m... at ...626...: Gambas creates hijackable directory in /tmp http://code.google.com/p/gambas/issues/detail?id=365 Finally I don't think it is really fixed. It needs to be more robust against other possible type of directory hijack. From eilert-sprachen at ...221... Thu Dec 20 11:27:14 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Dec 2012 11:27:14 +0100 Subject: [Gambas-user] Public and Private SUB in modules Message-ID: <50D2E802.4040009@...221...> Hi, just a question to understand this phenomenon better: Why do event-SUBs have to be Public? It seems to me as if they don't run if I make them Private. For example, I have a module which handles an event-driven thing (like printing). I want to have all SUBs and Functions within this module to be invisible to the outside, and only those which directly communicate to the outer world should be Public. Thus when I am in another part of the program, the completion lists will only list those which actually play a role to outside the module. When I change myPrinter_Draw from Public to Private, it will not run anymore, however (just tried this). So I wonder why this is so, or in other words: why is it required to be Public to be found from within its own module? Thanks for your insights! Rolf From gambas at ...1... Thu Dec 20 11:37:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Dec 2012 11:37:56 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D2E802.4040009@...221...> References: <50D2E802.4040009@...221...> Message-ID: <50D2EA84.1070703@...1...> Le 20/12/2012 11:27, Rolf-Werner Eilert a ?crit : > Hi, > > just a question to understand this phenomenon better: > > Why do event-SUBs have to be Public? It seems to me as if they don't run > if I make them Private. > > For example, I have a module which handles an event-driven thing (like > printing). I want to have all SUBs and Functions within this module to > be invisible to the outside, and only those which directly communicate > to the outer world should be Public. Thus when I am in another part of > the program, the completion lists will only list those which actually > play a role to outside the module. > > When I change myPrinter_Draw from Public to Private, it will not run > anymore, however (just tried this). So I wonder why this is so, or in > other words: why is it required to be Public to be found from within its > own module? > > Thanks for your insights! > > Rolf > "Public" means "can be accessed from the outside". So, as an event handler needs to be accessed from the outside by definition (the event comes from another object), it has to be public. -- Beno?t Minisini From gambas.fr at ...626... Thu Dec 20 11:55:43 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Dec 2012 11:55:43 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D2EA84.1070703@...1...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> Message-ID: It can be masked by adding an underscore at the beginning of the event name Le 20 d?c. 2012 11:38, "Beno?t Minisini" a ?crit : > Le 20/12/2012 11:27, Rolf-Werner Eilert a ?crit : > > Hi, > > > > just a question to understand this phenomenon better: > > > > Why do event-SUBs have to be Public? It seems to me as if they don't run > > if I make them Private. > > > > For example, I have a module which handles an event-driven thing (like > > printing). I want to have all SUBs and Functions within this module to > > be invisible to the outside, and only those which directly communicate > > to the outer world should be Public. Thus when I am in another part of > > the program, the completion lists will only list those which actually > > play a role to outside the module. > > > > When I change myPrinter_Draw from Public to Private, it will not run > > anymore, however (just tried this). So I wonder why this is so, or in > > other words: why is it required to be Public to be found from within its > > own module? > > > > Thanks for your insights! > > > > Rolf > > > > "Public" means "can be accessed from the outside". So, as an event > handler needs to be accessed from the outside by definition (the event > comes from another object), it has to be public. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Thu Dec 20 12:37:06 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 20 Dec 2012 12:37:06 +0100 Subject: [Gambas-user] RaspberryPi In-Reply-To: <1355992426.38727.YahooMailNeo@...3057...> References: <50D20F4D.5020804@...626...> <1355992426.38727.YahooMailNeo@...3057...> Message-ID: I use distcc to compile faster on my Raspberry Pi. It works good. 2012/12/20, Mike Crean : > Hi John, > > I have had my Pi for a while > now and admit I have not used it much. > I downloaded the wheezy image with GB3 > (3.2.1) from > > http://dl.dropbox.com/u/97096067/2012-07-15-wheezy-gambas3.zip > > I have just tried the download, it > works. > > When you have downloaded the image (about > 30 min. @ 360kbs). You will have to unzip the file and copy the image > to an SD card. > > I would use 8GB or larger. Have had problems with 32GB > and larger. I also had problems using Ubuntu to put the image on the > SD. > > I used win32diskimager to install the image to the SD in a USB > card reader on my Windows box. > > When the Pi is first booted the > configuration screen will come up. Expand Wheezy to use all the SD if > you like plenty of room to play. > > Follow the other parameters to > complete the set-up. > > I find the GUI very slow and have > developed my GB3 apps on my PC and then transferred them to the PI. > > You can update GB3 from the sourceforge > site. If you do this with the Pi be prepared to wait a few hours for > the download and install to complete. > > Hope this is of some help. > > Cheers Mike > > > ________________________________ > From: John Rose > To: MailingList GambasUsers > Sent: Thursday, 20 December 2012 3:02 AM > Subject: Re: [Gambas-user] RaspberryPi > > RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian > (based on Debian Wheezy) at: > http://www.raspberrypi.org/downloads > > http://elinux.org/RPi_Easy_SD_Card_Setup > shows how to create an image on an SD Card for booting from. I used the > ImageWriter tool described there as I prefer a GUI to the CLI. > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319 > describes how to install Gambas 3.2.1 as it needs a patch described there. > > I'll try above setup & install when I get my (actually a present for my > grandson's 11th birthday) RaspberryPi. > > -- > Regards, > John > 01902 331266 > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Thu Dec 20 13:04:02 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Dec 2012 13:04:02 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> Message-ID: <50D2FEB2.6060903@...221...> Errr - nope, doesn't run here: Tried to change myPrinter_Draw() into _myPrinter_Draw(), and this is dysfunctional :-) Never mind - I can live with it... Rolf Am 20.12.2012 11:55, schrieb Fabien Bodard: > It can be masked by adding an underscore at the beginning of the event name > Le 20 d?c. 2012 11:38, "Beno?t Minisini" a > ?crit : > >> Le 20/12/2012 11:27, Rolf-Werner Eilert a ?crit : >>> Hi, >>> >>> just a question to understand this phenomenon better: >>> >>> Why do event-SUBs have to be Public? It seems to me as if they don't run >>> if I make them Private. >>> >>> For example, I have a module which handles an event-driven thing (like >>> printing). I want to have all SUBs and Functions within this module to >>> be invisible to the outside, and only those which directly communicate >>> to the outer world should be Public. Thus when I am in another part of >>> the program, the completion lists will only list those which actually >>> play a role to outside the module. >>> >>> When I change myPrinter_Draw from Public to Private, it will not run >>> anymore, however (just tried this). So I wonder why this is so, or in >>> other words: why is it required to be Public to be found from within its >>> own module? >>> >>> Thanks for your insights! >>> >>> Rolf >>> >> >> "Public" means "can be accessed from the outside". So, as an event >> handler needs to be accessed from the outside by definition (the event >> comes from another object), it has to be public. >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> Remotely access PCs and mobile devices and provide instant support >> Improve your efficiency, and focus on delivering more value-add services >> Discover what IT Professionals Know. Rescue delivers >> http://p.sf.net/sfu/logmein_12329d2d >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Thu Dec 20 13:04:53 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Dec 2012 13:04:53 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D2EA84.1070703@...1...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> Message-ID: <50D2FEE5.6080603@...221...> Am 20.12.2012 11:37, schrieb Beno?t Minisini: > Le 20/12/2012 11:27, Rolf-Werner Eilert a ?crit : >> Hi, >> >> just a question to understand this phenomenon better: >> >> Why do event-SUBs have to be Public? It seems to me as if they don't run >> if I make them Private. >> >> For example, I have a module which handles an event-driven thing (like >> printing). I want to have all SUBs and Functions within this module to >> be invisible to the outside, and only those which directly communicate >> to the outer world should be Public. Thus when I am in another part of >> the program, the completion lists will only list those which actually >> play a role to outside the module. >> >> When I change myPrinter_Draw from Public to Private, it will not run >> anymore, however (just tried this). So I wonder why this is so, or in >> other words: why is it required to be Public to be found from within its >> own module? >> >> Thanks for your insights! >> >> Rolf >> > > "Public" means "can be accessed from the outside". So, as an event > handler needs to be accessed from the outside by definition (the event > comes from another object), it has to be public. > The event comes from another object, I understand that, so that's why. Thank you! Rolf From gambas at ...1... Thu Dec 20 13:20:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Dec 2012 13:20:32 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D2FEE5.6080603@...221...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> <50D2FEE5.6080603@...221...> Message-ID: <50D30290.6090105@...1...> Le 20/12/2012 13:04, Rolf-Werner Eilert a ?crit : > > The event comes from another object, I understand that, so that's why. > Thank you! > > Rolf > To give you more details: In most languages, public / private / friend... are a mix of telling which symbols are exported at runtime and some syntactic sugar. In Gambas, I kept only the runtime definition, (which I could call the real effective one). "Public" means "accessible from another class", and "Private" means the contrary. And it's effective. If something is private, you won't see any symbol for it in the object file (unless debugging symbols are enabled). The only syntactic sugar is in the IDE : if a public symbol has an underscore in it, it will be usually hidden in automatic completion or debugging windows. But that's all. For the compiler and the interpreter, it is as public as any other public symbol. I did that for the sake of simplicity and clarity. Because people often don't understand the difference between what is syntactic sugar (implemented at the compiler level) and what is real (implemented at the interpreter level). Regards, -- Beno?t Minisini From math.eber at ...221... Thu Dec 20 20:35:58 2012 From: math.eber at ...221... (Matti) Date: Thu, 20 Dec 2012 20:35:58 +0100 Subject: [Gambas-user] Strange behaviour of Frames In-Reply-To: <50D2CF83.6050406@...1...> References: <50CF6EF5.4010905@...221...> <50D2CF83.6050406@...1...> Message-ID: <50D3689E.2000805@...221...> I was afraid that it's not reproducable. - I have no special window manager options, - The middle mouse button is disabled, - No behaviour like that happens in any app, wanted or unwanted. Here is a little project that explains this behaviour, compared to other containers (and all other controls). Would be kind if other people would try this and give a feedback if this strange thing happens only on my Suse/KDE system. Thanks Matti Am 20.12.2012 09:42, schrieb Beno?t Minisini: > > I can't reproduce that behaviour at all. > > Do you have some special window manager option that allows you to resize > a window by clicking inside it with the middle mouse button? > -------------- next part -------------- A non-text attachment was scrubbed... Name: Test_Frames-0.0.1.tar.gz Type: application/x-gzip Size: 5518 bytes Desc: not available URL: From taboege at ...626... Thu Dec 20 21:23:39 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 20 Dec 2012 21:23:39 +0100 Subject: [Gambas-user] Strange behaviour of Frames In-Reply-To: <50D3689E.2000805@...221...> References: <50CF6EF5.4010905@...221...> <50D2CF83.6050406@...1...> <50D3689E.2000805@...221...> Message-ID: <20121220202339.GF540@...2774...> On Thu, 20 Dec 2012, Matti wrote: > I was afraid that it's not reproducable. > > - I have no special window manager options, > - The middle mouse button is disabled, > - No behaviour like that happens in any app, wanted or unwanted. > > Here is a little project that explains this behaviour, compared to > other containers (and all other controls). > > Would be kind if other people would try this and give a feedback if > this strange thing happens only on my Suse/KDE system. > _If_ I managed to decode the instructions correctly, it couldn't be reproduced here (Arch Linux/Trinity 3.5.13, latest Gambas revision without gb.gtk). Regards, Tobi From gambas at ...2524... Thu Dec 20 23:02:58 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 20 Dec 2012 22:02:58 +0000 Subject: [Gambas-user] Issue 367 in gambas: Crash in Properties...Environment - Gambas 3.3.4 In-Reply-To: <0-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Comment #1 on issue 367 by t4769_a... at ...2320...: Crash in Properties...Environment - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=367 One further point Removing an item from the top of the list works for me Removing an item from further down, especially the last item does not. For the moment, please tell me where the items are stored in the development environment so I can manually remove the items Thank You From eilert-sprachen at ...221... Fri Dec 21 08:30:16 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 21 Dec 2012 08:30:16 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D30290.6090105@...1...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> <50D2FEE5.6080603@...221...> <50D30290.6090105@...1...> Message-ID: <50D41008.1040005@...221...> Am 20.12.2012 13:20, schrieb Beno?t Minisini: > Le 20/12/2012 13:04, Rolf-Werner Eilert a ?crit : >> >> The event comes from another object, I understand that, so that's why. >> Thank you! >> >> Rolf >> > > To give you more details: > > In most languages, public / private / friend... are a mix of telling > which symbols are exported at runtime and some syntactic sugar. > > In Gambas, I kept only the runtime definition, (which I could call the > real effective one). "Public" means "accessible from another class", and > "Private" means the contrary. > > And it's effective. If something is private, you won't see any symbol > for it in the object file (unless debugging symbols are enabled). > > The only syntactic sugar is in the IDE : if a public symbol has an > underscore in it, it will be usually hidden in automatic completion or > debugging windows. But that's all. For the compiler and the interpreter, > it is as public as any other public symbol. > > I did that for the sake of simplicity and clarity. Because people often > don't understand the difference between what is syntactic sugar > (implemented at the compiler level) and what is real (implemented at the > interpreter level). > > Regards, > Very interesting, yes that makes sense :-) On the other hand, I don't understand why the interpreter doesn't find Public Sub _myPrinter_Draw() anymore. Did I get that wrong? Regards Rolf From taboege at ...626... Fri Dec 21 11:13:26 2012 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Dec 2012 11:13:26 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <50D41008.1040005@...221...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> <50D2FEE5.6080603@...221...> <50D30290.6090105@...1...> <50D41008.1040005@...221...> Message-ID: <20121221101326.GA521@...2774...> On Fri, 21 Dec 2012, Rolf-Werner Eilert wrote: > > > Am 20.12.2012 13:20, schrieb Beno?t Minisini: > > Le 20/12/2012 13:04, Rolf-Werner Eilert a ?crit : > >> > >> The event comes from another object, I understand that, so that's why. > >> Thank you! > >> > >> Rolf > >> > > > > To give you more details: > > > > In most languages, public / private / friend... are a mix of telling > > which symbols are exported at runtime and some syntactic sugar. > > > > In Gambas, I kept only the runtime definition, (which I could call the > > real effective one). "Public" means "accessible from another class", and > > "Private" means the contrary. > > > > And it's effective. If something is private, you won't see any symbol > > for it in the object file (unless debugging symbols are enabled). > > > > The only syntactic sugar is in the IDE : if a public symbol has an > > underscore in it, it will be usually hidden in automatic completion or > > debugging windows. But that's all. For the compiler and the interpreter, > > it is as public as any other public symbol. > > > > I did that for the sake of simplicity and clarity. Because people often > > don't understand the difference between what is syntactic sugar > > (implemented at the compiler level) and what is real (implemented at the > > interpreter level). > > > > Regards, > > > > Very interesting, yes that makes sense :-) > > On the other hand, I don't understand why the interpreter doesn't find > > Public Sub _myPrinter_Draw() > > anymore. Did I get that wrong? > > Regards > > Rolf Did you rename the actual object "myPrinter" to "_myPrinter", too? I assume that this must be done... Regards, Tobi From eilert-sprachen at ...221... Fri Dec 21 12:30:20 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 21 Dec 2012 12:30:20 +0100 Subject: [Gambas-user] Public and Private SUB in modules In-Reply-To: <20121221101326.GA521@...2774...> References: <50D2E802.4040009@...221...> <50D2EA84.1070703@...1...> <50D2FEE5.6080603@...221...> <50D30290.6090105@...1...> <50D41008.1040005@...221...> <20121221101326.GA521@...2774...> Message-ID: <50D4484C.3060501@...221...> Am 21.12.2012 11:13, schrieb Tobias Boege: > On Fri, 21 Dec 2012, Rolf-Werner Eilert wrote: >> >> >> Am 20.12.2012 13:20, schrieb Beno?t Minisini: >>> Le 20/12/2012 13:04, Rolf-Werner Eilert a ?crit : >>>> >>>> The event comes from another object, I understand that, so that's why. >>>> Thank you! >>>> >>>> Rolf >>>> >>> >>> To give you more details: >>> >>> In most languages, public / private / friend... are a mix of telling >>> which symbols are exported at runtime and some syntactic sugar. >>> >>> In Gambas, I kept only the runtime definition, (which I could call the >>> real effective one). "Public" means "accessible from another class", and >>> "Private" means the contrary. >>> >>> And it's effective. If something is private, you won't see any symbol >>> for it in the object file (unless debugging symbols are enabled). >>> >>> The only syntactic sugar is in the IDE : if a public symbol has an >>> underscore in it, it will be usually hidden in automatic completion or >>> debugging windows. But that's all. For the compiler and the interpreter, >>> it is as public as any other public symbol. >>> >>> I did that for the sake of simplicity and clarity. Because people often >>> don't understand the difference between what is syntactic sugar >>> (implemented at the compiler level) and what is real (implemented at the >>> interpreter level). >>> >>> Regards, >>> >> >> Very interesting, yes that makes sense :-) >> >> On the other hand, I don't understand why the interpreter doesn't find >> >> Public Sub _myPrinter_Draw() >> >> anymore. Did I get that wrong? >> >> Regards >> >> Rolf > > Did you rename the actual object "myPrinter" to "_myPrinter", too? I assume > that this must be done... > > Regards, > Tobi > Aaaah yes - that was it: Private myPrinter As Printer in a SUB somewhat later: myPrinter = New Printer As "_myPrinter" myPrinter.Print() BUT! Public Sub _myPrinter_Begin() This way it works here, but the SUBs are still visible when the completion list pops up in another module... Is that correct? Regards Rolf From emil.lenngren at ...626... Fri Dec 21 18:35:24 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 21 Dec 2012 18:35:24 +0100 Subject: [Gambas-user] LLVM compilation error In-Reply-To: <50D1DCA1.2070806@...1...> References: <20121218171231.GD526@...2774...> <20121219131015.GH524@...2774...> <50D1DCA1.2070806@...1...> Message-ID: Gah.. In the trunk it's called Attribute, and in version 3.2, it's called Attributes... 2012/12/19 Beno?t Minisini > Le 19/12/2012 16:04, Emil Lenngren a ?crit : > > Let's wait until tomorrow. Who knows if they re-rename it again in the > last > > minutes? ;) > > > > /Emil > > > > Adding my own complaints to Emil's ones, I find amazing that such smart > guys (they are writing a new compiler infrastructure for any > architecture after all) : > > - Change headers names between different versions. But then we can > suppose that binary compatibility is not guaranteed, between minor > versions ( LLVM 3.3 != LLVM 3.2 != LLVM 3.1...) > > - Cannot ensure that two different versions of LLVM can work on the same > system. For example, if I compile and install LLVM 3.1 on my Ubuntu > 12.04, then OpenGL examples crash when JIT is enabled, because > apparently the OpenGL libraries are based on LLVM 3.0. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Dec 21 19:04:18 2012 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Dec 2012 19:04:18 +0100 Subject: [Gambas-user] LLVM compilation error In-Reply-To: References: <20121218171231.GD526@...2774...> <20121219131015.GH524@...2774...> <50D1DCA1.2070806@...1...> Message-ID: <20121221180418.GA548@...2774...> On Fri, 21 Dec 2012, Emil Lenngren wrote: > Gah.. > In the trunk it's called Attribute, and in version 3.2, it's called > Attributes... > My patch should address this issue. It does for me at least... Regards, Tobias From karl.reinl at ...9... Sat Dec 22 00:01:44 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Dec 2012 00:01:44 +0100 Subject: [Gambas-user] Strange, but not the first time Message-ID: <1356130904.2477.6.camel@...40...> Salut Beno?t, have you ever heard from NOT working breakpoints, and/or can you imagine a reason why? Since yesterday, I'm not sure if it is always or only sometimes, but actually the interpreter don't stop on breakpoints! I remember some times ago I had remarked that, but after it reworked. What did I yesterday? I'v loaded the IDE into the IDE (and I did it today also) and debugged the IDE. So now before sending this mail, I will reboot my box and retest that behave. It still persists as testing project I'v used gambas3 the IDE and I in set the Breakpoint to Public Sub mnuDumpLocalVariablesList_Click() in FDebugInfo.Class (see Attachment) -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-29-generic Architecture=i686 Memory=3098188 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome Language=de_DE.UTF-8 [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] rev. 5460 Version=3.3.90 Path=/usr/bin/gbx3 [Libraries] Poppler=libpoppler.so.5.0.0 GTK+=libgtk-x11-2.0.so.0.2000.1 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 GStreamer=libgstreamer-0.10.so.0.24.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto.png Type: image/png Size: 31862 bytes Desc: not available URL: From gambas at ...1... Sat Dec 22 00:08:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Dec 2012 00:08:45 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <1356130904.2477.6.camel@...40...> References: <1356130904.2477.6.camel@...40...> Message-ID: <50D4EBFD.2050600@...1...> Le 22/12/2012 00:01, Karl Reinl a ?crit : > Salut Beno?t, > > have you ever heard from NOT working breakpoints, and/or can you imagine > a reason why? > > Since yesterday, I'm not sure if it is always or only sometimes, but > actually the interpreter don't stop on breakpoints! > > I remember some times ago I had remarked that, but after it reworked. > > What did I yesterday? I'v loaded the IDE into the IDE (and I did it > today also) and debugged the IDE. > > So now before sending this mail, I will reboot my box and retest that > behave. > > It still persists as testing project I'v used gambas3 the IDE and I in > set the Breakpoint to > Public Sub mnuDumpLocalVariablesList_Click() > in FDebugInfo.Class (see Attachment) > > I have recently changed some things in the generated debugging information, so I will look at that. But please explain why you have added that dump feature that print on the standard output with a pop-up menu with-only-one-entry interface? Very bad taste! -- Beno?t Minisini From geaplanet at ...397... Sat Dec 22 00:52:24 2012 From: geaplanet at ...397... (Maria) Date: Fri, 21 Dec 2012 23:52:24 +0000 (GMT) Subject: [Gambas-user] Is it possible a portable Gambas? In-Reply-To: <1355859868.23985.YahooMailNeo@...2886...> References: <1355859868.23985.YahooMailNeo@...2886...> Message-ID: <1356133944.69465.YahooMailNeo@...2890...> Is GB_DIR working in gambas3 too? ________________________________ De: Maria Para: mailing list for gambas users Enviado: Martes 18 de diciembre de 2012 20:44 Asunto: Is it possible a portable Gambas? Hi, In the gambas-es.org comunity has appeared this question several times and I was wondering if here had someone how has already tryed it. If you put all gambas installation files in a folder, is there any posibility to load all gambas environment from it? For example: In /home/user/gambas/ you'd have something like: /home/user/gambas/bin /home/user/gambas/lib /home/user/gambas/share And we try to load /home/usr/gambas/bin/gambas Some users speak about a GB_DIR variable, and LD_LIBRARY_PATH, but we have made several tryes with no results. It would be great if it was possible, because you could carry your gambas copy in a pendrive without worrying about installations, repositories, versions, etc... From gambas at ...1... Sat Dec 22 01:25:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Dec 2012 01:25:08 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <50D4EBFD.2050600@...1...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> Message-ID: <50D4FDE4.90401@...1...> Le 22/12/2012 00:08, Beno?t Minisini a ?crit : > Le 22/12/2012 00:01, Karl Reinl a ?crit : >> Salut Beno?t, >> >> have you ever heard from NOT working breakpoints, and/or can you imagine >> a reason why? >> >> Since yesterday, I'm not sure if it is always or only sometimes, but >> actually the interpreter don't stop on breakpoints! >> >> I remember some times ago I had remarked that, but after it reworked. >> >> What did I yesterday? I'v loaded the IDE into the IDE (and I did it >> today also) and debugged the IDE. >> >> So now before sending this mail, I will reboot my box and retest that >> behave. >> >> It still persists as testing project I'v used gambas3 the IDE and I in >> set the Breakpoint to >> Public Sub mnuDumpLocalVariablesList_Click() >> in FDebugInfo.Class (see Attachment) >> >> > > I have recently changed some things in the generated debugging > information, so I will look at that. > > But please explain why you have added that dump feature that print on > the standard output with a pop-up menu with-only-one-entry interface? > Very bad taste! > OK, it should be fixed in revision #5461. Regards, -- Beno?t Minisini From charles at ...1784... Sat Dec 22 08:16:17 2012 From: charles at ...1784... (charlesg) Date: Fri, 21 Dec 2012 23:16:17 -0800 (PST) Subject: [Gambas-user] RaspberryPi In-Reply-To: <1355992426.38727.YahooMailNeo@...3057...> References: <50CF2FA6.1020901@...626...> <50D20F4D.5020804@...626...> <1355992426.38727.YahooMailNeo@...3057...> Message-ID: <1356160577417-40501.post@...3046...> Mike Crean wrote: I .. had problems using Ubuntu to put the image on the SD. I had the same problem. It was due to M$ crud on the SD as bought. Blatted it with System Rescue and the image installed fine from Xubuntu. -- View this message in context: http://gambas.8142.n7.nabble.com/RaspberryPi-tp40417p40501.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Sat Dec 22 10:20:55 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 22 Dec 2012 01:20:55 -0800 (PST) Subject: [Gambas-user] Components Message-ID: <1356168054968-40502.post@...3046...> Under Project Properties, Components, I notice that all components used have a tick (check) on the right hand side except one (gb.qt4.webkit) which has a kind of asterisk. What is the significance of these symbols? -- View this message in context: http://gambas.8142.n7.nabble.com/Components-tp40502.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Sat Dec 22 13:17:24 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 22 Dec 2012 13:17:24 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <50D4EBFD.2050600@...1...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> Message-ID: <1356178645.2275.22.camel@...40...> Am Samstag, den 22.12.2012, 00:08 +0100 schrieb Beno?t Minisini: > Le 22/12/2012 00:01, Karl Reinl a ?crit : > > Salut Beno?t, > > > > have you ever heard from NOT working breakpoints, and/or can you imagine > > a reason why? > > > > Since yesterday, I'm not sure if it is always or only sometimes, but > > actually the interpreter don't stop on breakpoints! > > > > I remember some times ago I had remarked that, but after it reworked. > > > > What did I yesterday? I'v loaded the IDE into the IDE (and I did it > > today also) and debugged the IDE. > > > > So now before sending this mail, I will reboot my box and retest that > > behave. > > > > It still persists as testing project I'v used gambas3 the IDE and I in > > set the Breakpoint to > > Public Sub mnuDumpLocalVariablesList_Click() > > in FDebugInfo.Class (see Attachment) > > > > > > I have recently changed some things in the generated debugging > information, so I will look at that. > > But please explain why you have added that dump feature that print on > the standard output with a pop-up menu with-only-one-entry interface? > Very bad taste! > Salut, may be, but I wanted no change on the layout for one button, Ctrl+C on tbvLocal (TableView) did not really work and needed also a mouse-click into the Table and then the Ctrl+C. - breakpoints work again -- Amicalement Charlie From gambas at ...1... Sat Dec 22 13:23:03 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 22 Dec 2012 13:23:03 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <1356178645.2275.22.camel@...40...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> <1356178645.2275.22.camel@...40...> Message-ID: <50D5A627.1030206@...1...> Le 22/12/2012 13:17, Charlie Reinl a ?crit : >> But please explain why you have added that dump feature that print on >> the standard output with a pop-up menu with-only-one-entry interface? >> Very bad taste! >> > > Salut, > > may be, but I wanted no change on the layout for one button, Ctrl+C on > tbvLocal (TableView) did not really work and needed also a mouse-click > into the Table and then the Ctrl+C. > What I don't understand is why you need to copy the name and values of all local variables in the clipboard, and why you print on the standard output (which you must not do for debugging messages. You should use Debug or Error instruction). -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Dec 22 13:54:59 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 22 Dec 2012 13:54:59 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <50D5A627.1030206@...1...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> <1356178645.2275.22.camel@...40...> <50D5A627.1030206@...1...> Message-ID: <1356180899.2275.34.camel@...40...> Am Samstag, den 22.12.2012, 13:23 +0100 schrieb Beno?t Minisini: > Le 22/12/2012 13:17, Charlie Reinl a ?crit : > >> But please explain why you have added that dump feature that print on > >> the standard output with a pop-up menu with-only-one-entry interface? > >> Very bad taste! > >> > > > > Salut, > > > > may be, but I wanted no change on the layout for one button, Ctrl+C on > > tbvLocal (TableView) did not really work and needed also a mouse-click > > into the Table and then the Ctrl+C. > > > > What I don't understand is why you need to copy the name and values of > all local variables in the clipboard, and why you print on the standard > output (which you must not do for debugging messages. You should use > Debug or Error instruction). > Oh, I see, you talk about the PRINT, isn't it. Yes that's left from Ctrl+C tests, I will clean up that code. For the need to list name and values of all local variables (out from the Clipboard). I have to split some huge procedures into logical pieces without rewriting the code, so a list created at every moment is very useful. Thanks -- Amicalement Charlie From gambas at ...1... Sat Dec 22 14:03:40 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 22 Dec 2012 14:03:40 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <1356180899.2275.34.camel@...40...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> <1356178645.2275.22.camel@...40...> <50D5A627.1030206@...1...> <1356180899.2275.34.camel@...40...> Message-ID: <50D5AFAC.9050307@...1...> Le 22/12/2012 13:54, Charlie Reinl a ?crit : > > Oh, I see, you talk about the PRINT, isn't it. > Yes that's left from Ctrl+C tests, I will clean up that code. > > For the need to list name and values of all local variables (out from > the Clipboard). > I have to split some huge procedures into logical pieces without > rewriting the code, so a list created at every moment is very useful. > > Thanks > Sorry, but I don't understand: I can't see how a list of local variables sticked to their values can be used to rewrite code... And I can't keep an hidden pop-up menu with only one entry in the interface, so I must understand to find the best solution. -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Dec 22 15:08:52 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 22 Dec 2012 15:08:52 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <50D5AFAC.9050307@...1...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> <1356178645.2275.22.camel@...40...> <50D5A627.1030206@...1...> <1356180899.2275.34.camel@...40...> <50D5AFAC.9050307@...1...> Message-ID: <1356185332.2275.84.camel@...40...> Am Samstag, den 22.12.2012, 14:03 +0100 schrieb Beno?t Minisini: > Sorry, but I don't understand: I can't see how a list of local variables > sticked to their values can be used to rewrite code... And I can't keep > an hidden pop-up menu with only one entry in the interface, so I must > understand to find the best solution. > So I have to say, it is just a little helper for lazy coders, who have tonnes of variables in old code, and that code has to be split up in different parts. The code itself shouldn't be changed, so the local variables needed in the outsourced part, have to be init with a values. To control that he make a list. Lazy coders prefer write code to write lists, and not writing paper lists.(see Attachment) Other usage maybe possible! -- Amicalement Charlie -------------- next part -------------- ------------------------------------------------ at initialisation time ------------------------------------------------ Current = NULL FTotalY = 0 HTotalY = 0 MaxY = 0 MaxYM = 0 MinY = 0 MinYM = 0 PBATotalY = 0 PBBTotalY = 0 PFDrawCmds = (Object[] 0xbae1fd4) PFIndex = 0 PHDrawCmds = (Object[] 0xbaea8a4) PHIndex = 0 cmd = NULL cmdsection = NULL dY = 0 f = 0 i = 0 iFirstPage = 1 iLastPage = 1 iMyPage = 0 n = 0 np = NULL pcount = 0 pnum = 0 s = NULL sMyIteration = "" x = 0 y = 0 ------------------------------------------------ after preparing data(1) ------------------------------------------------ Current = NULL FTotalY = 58 HTotalY = 197 MaxY = 1110 MaxYM = 0 MinY = 248 MinYM = 0 PBATotalY = 0 PBBTotalY = 0 PFDrawCmds = (Object[] 0xbae1fd4) PFIndex = 0 PHDrawCmds = (Object[] 0xbaea8a4) PHIndex = 0 cmd = NULL cmdsection = NULL dY = 0 f = 0 i = 0 iFirstPage = 1 iLastPage = 1 iMyPage = 0 n = 0 np = NULL pcount = 0 pnum = 1 s = (CVLAYSection 0xb83ef2c) sMyIteration = "Job" x = 0 y = 248 ------------------------------------------------ after preparing data(2) ------------------------------------------------ Current = NULL FTotalY = 58 HTotalY = 197 MaxY = 1110 MaxYM = 0 MinY = 248 MinYM = 0 PBATotalY = 0 PBBTotalY = 0 PFDrawCmds = (Object[] 0xbae1fd4) PFIndex = 0 PHDrawCmds = (Object[] 0xbaea8a4) PHIndex = 0 cmd = NULL cmdsection = (CVDrawSection 0xbb8ad04) dY = 0 f = 0 i = 0 iFirstPage = 1 iLastPage = 1 iMyPage = 0 n = 0 np = NULL pcount = 2 pnum = 2 s = (CVLAYSection 0xb83ef2c) sMyIteration = "Job" x = 0 y = 830 ------------------------------------------------ after preparing data(3) ------------------------------------------------ Current = (CVDrawSection 0xbb9828c) FTotalY = 58 HTotalY = 197 MaxY = 1110 MaxYM = 0 MinY = 248 MinYM = 0 PBATotalY = 0 PBBTotalY = 0 PFDrawCmds = (Object[] 0xbae1fd4) PFIndex = 0 PHDrawCmds = (Object[] 0xbaea8a4) PHIndex = 0 cmd = NULL cmdsection = (CVDrawSection 0xbb8ad04) dY = 0 f = 0 i = 3 iFirstPage = 1 iLastPage = 1 iMyPage = 0 n = 0 np = NULL pcount = 2 pnum = 2 s = (CVLAYSection 0xb83ef2c) sMyIteration = "Job" x = 0 y = 830 ------------------------------------------------ after using data(1) ------------------------------------------------ Current = (CVDrawSection 0xbb9828c) FTotalY = 58 HTotalY = 197 MaxY = 1110 MaxYM = 0 MinY = 248 MinYM = 0 PBATotalY = 0 PBBTotalY = 0 PFDrawCmds = (Object[] 0xbae1fd4) PFIndex = 1 PHDrawCmds = (Object[] 0xbaea8a4) PHIndex = 1 cmd = (CVDrawLabel 0xbb4b61c) cmdsection = (CVDrawSection 0xbb4bf1c) dY = 0 f = 0 i = 3 iFirstPage = 1 iLastPage = 1 iMyPage = 2 n = 0 np = (CVPage 0xbb9c754) pcount = 2 pnum = 1 s = (CVLAYSection 0xb83ef2c) sMyIteration = "Job" x = 102 y = 1102 From gambas at ...1... Sat Dec 22 16:39:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Dec 2012 16:39:53 +0100 Subject: [Gambas-user] Strange, but not the first time In-Reply-To: <1356185332.2275.84.camel@...40...> References: <1356130904.2477.6.camel@...40...> <50D4EBFD.2050600@...1...> <1356178645.2275.22.camel@...40...> <50D5A627.1030206@...1...> <1356180899.2275.34.camel@...40...> <50D5AFAC.9050307@...1...> <1356185332.2275.84.camel@...40...> Message-ID: <50D5D449.5030009@...1...> Le 22/12/2012 15:08, Charlie Reinl a ?crit : > Am Samstag, den 22.12.2012, 14:03 +0100 schrieb Beno?t Minisini: > >> Sorry, but I don't understand: I can't see how a list of local variables >> sticked to their values can be used to rewrite code... And I can't keep >> an hidden pop-up menu with only one entry in the interface, so I must >> understand to find the best solution. >> > > So I have to say, it is just a little helper for lazy coders, who have > tonnes of variables in old code, and that code has to be split up in > different parts. > The code itself shouldn't be changed, so the local variables needed in > the outsourced part, have to be init with a values. > To control that he make a list. > > Lazy coders prefer write code to write lists, and not writing paper > lists.(see Attachment) > > Other usage maybe possible! > I replaced your menu by a button in revision #5463, and fixed your routine according to the new local variables "column view" feature. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Dec 22 20:54:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Dec 2012 19:54:22 +0000 Subject: [Gambas-user] Issue 365 in gambas: Gambas creates hijackable directory in /tmp In-Reply-To: <3-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> <0-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1958952913270241852-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 365 by benoit.m... at ...626...: Gambas creates hijackable directory in /tmp http://code.google.com/p/gambas/issues/detail?id=365 In revision #5464, I now check that: - the temporary directories are directories and not symbolic links. - the owners are accurate. - the rights are accurate. From gambas at ...2524... Sun Dec 23 22:41:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Dec 2012 21:41:47 +0000 Subject: [Gambas-user] Issue 368 in gambas: .ForeGround not accepting color constants - Gambas 3.3.4 Message-ID: <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 368 by t4769_a... at ...2320...: .ForeGround not accepting color constants - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=368 1) Describe the problem. I created a config file that includes, [StartUp] LabelColour="Color.Black". The program includes: lblTest.ForeGround = Settings["StartUp/LabelColour", "Color.White"] When started, Gambas3 generates a line error, "Type Mismatch: Wanted string got integer instead" BreakPoints and debugging around the issue get what is expected, Settings["StartUp/LabelColour", "Color.White"] = "Color.Black" ***Strange thing, when I wrote a test program it worked perfectly.*** Also: lblTest.ForeGround = "Color.Black" generates no error messages. I thought the Gambas3 code was the culprit but a removed and re-installed Gambas3 but still have the problem. I checked the form and class codes but all seems in order. This problem is not limited to this label. I tried textlabels and buttons also and the problem is duplicated with .ForeGround and .BackGround. This is not normal behavior. I thought a reinstall would help. I also thought removing the Gambas3.conf and starting over but that doesn't help. Any help . . . 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=3095920 kB DistributionVendor=Ubuntu DistributionRelease="Kubuntu 12.04.1 LTS" Desktop=KDE4 [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.3.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Provide a little project that reproduces the bug or the crash. A sample project does not duplicate the issue. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. include ???.Foreground = Settings[ ... and the problem arises. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From taboege at ...626... Sun Dec 23 23:08:12 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 23 Dec 2012 23:08:12 +0100 Subject: [Gambas-user] gb.task and the event loop? Message-ID: <20121223220812.GB523@...2774...> Hi Benoit, we have gb.task on our schedule now and I found two examples on the mailing list: - Olivier Cruilles: [0] - Ivan Kern: [1] Well, the first one seems to be designed to do nothing (no Task-inheriting object is instantiated at all - I don't know if it did work the time it was written, though) but if one modifies it to create a Task, it is almost instantly killed; just as if the Main() was executed and no event loop kicks in, even if a Timer was created which, according to [2], compels the event loop. The second example, mainly listed for completeness, shows a workaround but not a really satisfying one if one would like to do something else than waiting. So, is (or "shall be") gb.task allow operation with the event loop? What's wrong with the first example (the modified one)? Regards, Tobi [0] http://gambas.8142.n7.nabble.com/attachment/24430/0/gbTask-0.0.1.tar.gz [1] http://gambas.8142.n7.nabble.com/attachment/17637/0/TaskTest.zip [2] http://gambasdoc.org/help/cat/eventloop?v3 From willy at ...2734... Mon Dec 24 01:37:20 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 24 Dec 2012 01:37:20 +0100 Subject: [Gambas-user] Gambas2 - Debian and Ubuntu packages fail to built (Package.MakeDebPackage.368: File or directory does not exist)! Message-ID: <1356309440.7732.11.camel@...3024...> Kernel: Linux 3.2.0-23-generic Distribution: Linux Mint 13 desktop: Mate 1.2 Gambas version: 2.24 Haven't been working that much on Gambas 2, but I have a distributed Gambas 2 application that will get a version update with some bug fixes, new implementations and translation updates. Somehow it won't package for Debian and Ubuntu. If I deselct those other packages (Fedora/openSuSe...) will pack. I last made a package of this application 30th of October on this same system with the same Gambas 2 installed. All worked well then, so what happened? Package screen indicates: Package.MakeDebPackage.368: File or directory does not exist (see attached screen). What file or directory is the packager looking for at that point and why isn't it there? What could be causing this? Any ideas? Thanks, Willy Gambas path: /usr/bin/gbx2 -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas2PackageFails.png Type: image/png Size: 41040 bytes Desc: not available URL: From gambas at ...2524... Mon Dec 24 01:48:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Dec 2012 00:48:49 +0000 Subject: [Gambas-user] Issue 368 in gambas: .ForeGround not accepting color constants - Gambas 3.3.4 In-Reply-To: <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Comment #1 on issue 368 by t4769_a... at ...2320...: .ForeGround not accepting color constants - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=368 further info . . . I have a work around. I converted all the colours to numbers and came up with this ' set the foreground colour for the taglines and date/time lblMonthTime.ForeGround = Choose(Settings["StartUp/LabelColour", "4"], "0", "16711680", "65280", "16776960", "255", "16711935", "65535", "16777215") It isn't elegant but it works. FYI --- My program grabs a different full form image with each startup. Sometimes the image colours do not contrast enough with the label text so I came up with a few colours to change. Also, I have a duplicate of the code that doesn't work in another form in the program and it works as expected. I tried selecting all and pasting the code and controls onto another form but it didn't work. Hope this helps. From support at ...2529... Mon Dec 24 02:10:54 2012 From: support at ...2529... (John Spikowski) Date: Sun, 23 Dec 2012 17:10:54 -0800 Subject: [Gambas-user] gambas.us Message-ID: <1356311454.2283.83.camel@...1833...> I had setup a site as a recovery effort for a current Gambas forum but they recovered and I have this great URL ( www.gambas.us ) without a purpose. If there were enough state side Gambas users that would be interested in establishing a US Gambas user group, I would be happy to facilitate the effort. (and provide support to the selected admin team) Something to think about as the new year arrives. John From mike.crean at ...2897... Mon Dec 24 03:50:38 2012 From: mike.crean at ...2897... (Mike Crean) Date: Sun, 23 Dec 2012 18:50:38 -0800 (PST) Subject: [Gambas-user] Puppy on Pi Message-ID: <1356317438.34152.YahooMailNeo@...3052...> charlesg thanks for the tip. If you want the pi to go fast try Puppy SAP (Squeezed Arm Puppy) from the site http://puppylinux.org/wikka/Puppi I have downloaded and installed on 4gb SD this little OS is very fast. Perhaps some one can compile a Gambas 3 version to install on it. The OS is at alpha 4 stage. I think BarryK is looking for feed back on it. Cheers Mike From charles at ...1784... Mon Dec 24 08:56:06 2012 From: charles at ...1784... (charlesg) Date: Sun, 23 Dec 2012 23:56:06 -0800 (PST) Subject: [Gambas-user] Puppy on Pi In-Reply-To: <1356317438.34152.YahooMailNeo@...3052...> References: <1356317438.34152.YahooMailNeo@...3052...> Message-ID: <1356335766362-40516.post@...3046...> Hi Gambas on Puppy has been a saga that has run and run and run. The paranoid half of me suspects some kind of official disapproval as Puppy has it's own lobotomised BASIC variant called BaCon. -- View this message in context: http://gambas.8142.n7.nabble.com/Puppy-on-Pi-tp40515p40516.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Mon Dec 24 09:41:07 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 24 Dec 2012 00:41:07 -0800 (PST) Subject: [Gambas-user] Components In-Reply-To: <1356168054968-40502.post@...3046...> References: <1356168054968-40502.post@...3046...> Message-ID: <1356338467988-40517.post@...3046...> Here is a snapshot of what I mean! snapshot1.png -- View this message in context: http://gambas.8142.n7.nabble.com/Components-tp40502p40517.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Mon Dec 24 10:35:08 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 24 Dec 2012 10:35:08 +0100 Subject: [Gambas-user] Components In-Reply-To: <1356338467988-40517.post@...3046...> References: <1356168054968-40502.post@...3046...> <1356338467988-40517.post@...3046...> Message-ID: <20121224093508.GA529@...2774...> On Mon, 24 Dec 2012, bill-lancaster wrote: > Here is a snapshot of what I mean! snapshot1.png > > > You probably mean those "component maturity" symbols. There are three states of a component AFAIK: - Stable (the tick) - Unfinished (the gear) - Unstable (the bug) Actually, I don't know if these are the correct descriptions. I remember slightly Benoit telling me to use these words... Check the /usr/lib/gambas3/*.component files where this information is stored. There are mainly numbers and "NotFinished" in my installation, though. I don't know the ultimately right words to put into these .component files but you should have got an idea about the pictures now. Regards, Tobi From bill-lancaster at ...2231... Mon Dec 24 15:08:37 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 24 Dec 2012 06:08:37 -0800 (PST) Subject: [Gambas-user] Scroll missing in gridview (Bug?) Message-ID: <1356358117652-40519.post@...3046...> Recently this problem has affected several projects. It is possible that its not a Gambas issue but since only Gambas projects are affected I thought I'd start here. Attached is a simple project, when it is run, the vertical scroll bar is missing. I have other projects that us Qt4 and GTK libraries and don't have the problem. Any help would be welcome Ubuntu 12.04 KDE 4.9.2 Gambas 3.3.4 FMain.class -- View this message in context: http://gambas.8142.n7.nabble.com/Scroll-missing-in-gridview-Bug-tp40519.html Sent from the gambas-user mailing list archive at Nabble.com. From jason349 at ...626... Mon Dec 24 16:12:16 2012 From: jason349 at ...626... (jason349 at ...626...) Date: Mon, 24 Dec 2012 15:12:16 +0000 Subject: [Gambas-user] Components In-Reply-To: <20121224093508.GA529@...2774...> References: <1356168054968-40502.post@...3046...> <1356338467988-40517.post@...3046...> <20121224093508.GA529@...2774...> Message-ID: <582682959-1356361938-cardhu_decombobulator_blackberry.rim.net-763196068-@...3059...> -----Original Message----- From: Tobias Boege Date: Mon, 24 Dec 2012 10:35:08 To: mailing list for gambas users Reply-To: mailing list for gambas users Subject: Re: [Gambas-user] Components On Mon, 24 Dec 2012, bill-lancaster wrote: > Here is a snapshot of what I mean! snapshot1.png > > > You probably mean those "component maturity" symbols. There are three states of a component AFAIK: - Stable (the tick) - Unfinished (the gear) - Unstable (the bug) Actually, I don't know if these are the correct descriptions. I remember slightly Benoit telling me to use these words... Check the /usr/lib/gambas3/*.component files where this information is stored. There are mainly numbers and "NotFinished" in my installation, though. I don't know the ultimately right words to put into these .component files but you should have got an idea about the pictures now. Regards, Tobi ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bill-lancaster at ...2231... Mon Dec 24 16:32:31 2012 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 24 Dec 2012 07:32:31 -0800 (PST) Subject: [Gambas-user] Components In-Reply-To: <582682959-1356361938-cardhu_decombobulator_blackberry.rim.net-763196068-@...3059...> References: <1356168054968-40502.post@...3046...> <1356338467988-40517.post@...3046...> <20121224093508.GA529@...2774...> <582682959-1356361938-cardhu_decombobulator_blackberry.rim.net-763196068-@...3059...> Message-ID: <1356363151596-40521.post@...3046...> Thanks - makes, sense now! -- View this message in context: http://gambas.8142.n7.nabble.com/Components-tp40502p40521.html Sent from the gambas-user mailing list archive at Nabble.com. From dutch_kuykendall at ...43... Mon Dec 24 17:00:58 2012 From: dutch_kuykendall at ...43... (Dutch Kuykendall) Date: Mon, 24 Dec 2012 08:00:58 -0800 (PST) Subject: [Gambas-user] gambas.us In-Reply-To: <1356311454.2283.83.camel@...1833...> References: <1356311454.2283.83.camel@...1833...> Message-ID: <1356364858.29009.YahooMailNeo@...3061...> That would be something I would be interested in. I see a lot of issues on the international one, but not a lot of helpful fixes. ________________________________ From: John Spikowski To: gambas-user at lists.sourceforge.net Sent: Sunday, December 23, 2012 7:10 PM Subject: [Gambas-user] gambas.us I had setup a site as a recovery effort for a current Gambas forum but they recovered and I have this great URL ( www.gambas.us ) without a purpose. If there were enough state side Gambas users that would be interested in establishing a US Gambas user group, I would be happy to facilitate the effort. (and provide support to the selected admin team) Something to think about as the new year arrives. John ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From support at ...2529... Mon Dec 24 17:47:19 2012 From: support at ...2529... (John Spikowski) Date: Mon, 24 Dec 2012 08:47:19 -0800 Subject: [Gambas-user] gambas.us Message-ID: <1356367639.2240.13.camel@...1833...> Dutch Kuykendall Wrote: > That would be something I would be interested in. > I see a lot of issues on the international one, but not a lot of helpful fixes. Interested as in administering the forum, getting the home page and other resources in place or a member of a user group forum? I think the best way to proceed is for those interested to send me a e-mail. (support at ...2529...) If there is enough interest here by the Gambas users, I'll get things rolling (set up forum) hoping to find someone to start delegating tasks and taking the lead with the site. From mike.crean at ...2897... Tue Dec 25 04:00:15 2012 From: mike.crean at ...2897... (Mike Crean) Date: Mon, 24 Dec 2012 19:00:15 -0800 (PST) Subject: [Gambas-user] To All Message-ID: <1356404415.91132.YahooMailNeo@...3052...> A Merry Christmas to all. Best Regards Mike Crean Perth W.A. From linuxos at ...1896... Tue Dec 25 14:44:38 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Tue, 25 Dec 2012 14:44:38 +0100 Subject: [Gambas-user] gb.task and the event loop? In-Reply-To: <20121223220812.GB523@...2774...> References: <20121223220812.GB523@...2774...> Message-ID: Hello, Try this one: This program start 10 tasks and each task is an SSH connection on your machine by the 127.0.0.1 address. Change just the login and password to adjust it -------------- next part -------------- A non-text attachment was scrubbed... Name: Essai1-0.0.19.tar.gz Type: application/x-gzip Size: 15898 bytes Desc: not available URL: -------------- next part -------------- Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 23 d?c. 2012 ? 23:08, Tobias Boege a ?crit : > Hi Benoit, > > we have gb.task on our schedule now and I found two examples on the mailing > list: > > - Olivier Cruilles: [0] > - Ivan Kern: [1] > > Well, the first one seems to be designed to do nothing (no Task-inheriting > object is instantiated at all - I don't know if it did work the time it was > written, though) but if one modifies it to create a Task, it is almost > instantly killed; just as if the Main() was executed and no event loop kicks > in, even if a Timer was created which, according to [2], compels the event > loop. > > The second example, mainly listed for completeness, shows a workaround but > not a really satisfying one if one would like to do something else than > waiting. > > So, is (or "shall be") gb.task allow operation with the event loop? What's > wrong with the first example (the modified one)? > > Regards, > Tobi > > [0] http://gambas.8142.n7.nabble.com/attachment/24430/0/gbTask-0.0.1.tar.gz > [1] http://gambas.8142.n7.nabble.com/attachment/17637/0/TaskTest.zip > > [2] http://gambasdoc.org/help/cat/eventloop?v3 > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Tue Dec 25 15:15:53 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 25 Dec 2012 15:15:53 +0100 Subject: [Gambas-user] gb.task and the event loop? In-Reply-To: References: <20121223220812.GB523@...2774...> Message-ID: <20121225141553.GB525@...2774...> On Tue, 25 Dec 2012, Olivier Cruilles wrote: > Hello, > > Try this one: > > This program start 10 tasks and each task is an SSH connection on your machine by the 127.0.0.1 address. > > Change just the login and password to adjust it > Thanks for your effort but I don't think that this is really related to my problem: you receive events in your Task, quite true, but these events are meant to arrive before the Main() exits. You disconnect just before the end of Main() but I want to have a Timer which keeps the Task alive waiting for events _after_ Main() finished execution. Or did I oversee something there? BTW, I suppose your file mode constants are wrong. You declared, e.g. S_IRWXU = 0000700 which is totally valid and correct in C but AFAIK Gambas does not recognise the leading-0 syntax for octals so you get a decimal 700 instead of the octal 0700 ;-) Regards, Tobi From gambas.fr at ...626... Tue Dec 25 21:59:26 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Dec 2012 21:59:26 +0100 Subject: [Gambas-user] gb.task and the event loop? In-Reply-To: <20121225141553.GB525@...2774...> References: <20121223220812.GB523@...2774...> <20121225141553.GB525@...2774...> Message-ID: I think your problem is to keep the application alive. A way will be to make it as a deamon At the beginning of the main sub set Application.deamon =true So your application will be alone be since you use the quit keyword Le 25 d?c. 2012 15:17, "Tobias Boege" a ?crit : > On Tue, 25 Dec 2012, Olivier Cruilles wrote: > > Hello, > > > > Try this one: > > > > This program start 10 tasks and each task is an SSH connection on your > machine by the 127.0.0.1 address. > > > > Change just the login and password to adjust it > > > > Thanks for your effort but I don't think that this is really related to my > problem: you receive events in your Task, quite true, but these events are > meant to arrive before the Main() exits. You disconnect just before the end > of Main() but I want to have a Timer which keeps the Task alive waiting for > events _after_ Main() finished execution. Or did I oversee something there? > > BTW, I suppose your file mode constants are wrong. You declared, e.g. > S_IRWXU = 0000700 which is totally valid and correct in C but AFAIK Gambas > does not recognise the leading-0 syntax for octals so you get a decimal 700 > instead of the octal 0700 ;-) > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ian.roper at ...1974... Wed Dec 26 00:01:46 2012 From: ian.roper at ...1974... (Ian Roper) Date: Wed, 26 Dec 2012 07:01:46 +0800 Subject: [Gambas-user] Error as Boolean & ERROR as Class Message-ID: <50DA305A.3020008@...1974...> Greetings, Is there any way to pass the ERROR class as a parameter in a subroutine ? It always defaults to the Boolean type when used as below Global_Module Public Sub ManageError(MyError as ERROR) Message.Error(MyError.Text & " Occured at " MyError.Class) //Other error management handling/reporting End Calling from a form or class Global_Module.ManageError(ERROR) Gambas Error text "Wanted Error, got Boolean instead" Cordialemont, Ian Roper Warnbro Western Australia From alberto.kavan at ...626... Wed Dec 26 18:22:40 2012 From: alberto.kavan at ...626... (Alberto Caballero) Date: Wed, 26 Dec 2012 18:22:40 +0100 Subject: [Gambas-user] Problems with application menu Message-ID: Hi all, I am a newby with Gambas and I have a small problem. I developed an application that contains a simple menu. It works ok on my laptop but then I moved to my desktop computer, with the following System configuration: [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=1016848 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 When I compile and run my application, the buttons seems to appear on the appliction dialog, but not the menu items. It is strange, since menu shortcuts seems to work fine. Does anyone can tell me what I am doing wrong? Is it configuration issue? Something related to libraries? Thanks in advance. Alberto From gambas at ...2524... Wed Dec 26 18:30:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 26 Dec 2012 17:30:47 +0000 Subject: [Gambas-user] Issue 369 in gambas: Application menu is not shown. Message-ID: <0-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.3.4 Type-Bug Priority-High OpSys-Linux Dist-Ubuntu Arch-X86 Desktop-Any GUI-Any New issue 369 by alberto.... at ...626...: Application menu is not shown. http://code.google.com/p/gambas/issues/detail?id=369 1) Description: My application menu is not displayed. 2) System configuration: [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=1016848 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Desktop used is the default one used by Ubuntu 12.04 3) I have attached a zipped file containing all my project files. 4) No database is needed. 5) How to reproduce the bug: You only have to compile and run the application. The menu is not shown although it is designed at the Menu Editor. Attachments: prueba03.zip 7.8 KB From Karl.Reinl at ...2345... Wed Dec 26 19:23:57 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 26 Dec 2012 19:23:57 +0100 Subject: [Gambas-user] Problems with application menu In-Reply-To: References: Message-ID: <1356546237.2336.13.camel@...40...> Am Mittwoch, den 26.12.2012, 18:22 +0100 schrieb Alberto Caballero: > > > Hi all, > > > I am a newby with Gambas and I have a small problem. I developed an > application that contains a simple menu. It works ok on my laptop but then > I moved to my desktop computer, with the following System configuration: > > > [System] > > OperatingSystem=Linux > > Kernel=3.2.0-35-generic-pae > > Architecture=i686 > > Memory=1016848 kB > > DistributionVendor=Ubuntu > > DistributionRelease="Ubuntu 12.04.1 LTS" > > Desktop=Gnome > > > [Gambas 3] > > Version=3.3.4 > > Path=/usr/bin/gbx3 > > > [Libraries] > > Qt4=libQtCore.so.4.8.1 > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > When I compile and run my application, the buttons seems to appear on the > appliction dialog, but not the menu items. It is strange, since menu > shortcuts seems to work fine. > > > Does anyone can tell me what I am doing wrong? Is it configuration issue? > Something related to libraries? > > > Thanks in advance. > > > Alberto Salut Alberto, try to use qt4 only and not gtk or gb.gui I also think menu on gtk is broken actually. -- Amicalement Charlie From alberto.kavan at ...626... Wed Dec 26 19:27:59 2012 From: alberto.kavan at ...626... (Alberto Caballero) Date: Wed, 26 Dec 2012 19:27:59 +0100 Subject: [Gambas-user] Problems with application menu In-Reply-To: <1356546237.2336.13.camel@...40...> References: <1356546237.2336.13.camel@...40...> Message-ID: Hi! Thanks for your help. Your are right. I am trying to run an application using Qt and it works fine. I do not know why in my laptop GTK works fine, or even which packets should I installed. I need to check. Many thanks, Alberto 2012/12/26 Charlie Reinl > Am Mittwoch, den 26.12.2012, 18:22 +0100 schrieb Alberto Caballero: > > > > > > Hi all, > > > > > > I am a newby with Gambas and I have a small problem. I developed an > > application that contains a simple menu. It works ok on my laptop but > then > > I moved to my desktop computer, with the following System configuration: > > > > > > [System] > > > > OperatingSystem=Linux > > > > Kernel=3.2.0-35-generic-pae > > > > Architecture=i686 > > > > Memory=1016848 kB > > > > DistributionVendor=Ubuntu > > > > DistributionRelease="Ubuntu 12.04.1 LTS" > > > > Desktop=Gnome > > > > > > [Gambas 3] > > > > Version=3.3.4 > > > > Path=/usr/bin/gbx3 > > > > > > [Libraries] > > > > Qt4=libQtCore.so.4.8.1 > > > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > > > > When I compile and run my application, the buttons seems to appear on the > > appliction dialog, but not the menu items. It is strange, since menu > > shortcuts seems to work fine. > > > > > > Does anyone can tell me what I am doing wrong? Is it configuration issue? > > Something related to libraries? > > > > > > Thanks in advance. > > > > > > Alberto > > Salut Alberto, > > try to use qt4 only and not gtk or gb.gui > > I also think menu on gtk is broken actually. > > > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Dec 27 07:27:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Dec 2012 07:27:14 +0100 Subject: [Gambas-user] Gambas2 - Debian and Ubuntu packages fail to built (Package.MakeDebPackage.368: File or directory does not exist)! In-Reply-To: <1356309440.7732.11.camel@...3024...> References: <1356309440.7732.11.camel@...3024...> Message-ID: <50DBEA42.8030605@...1...> Le 24/12/2012 01:37, Willy Raets a ?crit : > Kernel: Linux 3.2.0-23-generic > Distribution: Linux Mint 13 > desktop: Mate 1.2 > Gambas version: 2.24 > > Haven't been working that much on Gambas 2, but I have a distributed > Gambas 2 application that will get a version update with some bug fixes, > new implementations and translation updates. > > Somehow it won't package for Debian and Ubuntu. If I deselct those other > packages (Fedora/openSuSe...) will pack. > > I last made a package of this application 30th of October on this same > system with the same Gambas 2 installed. All worked well then, so what > happened? > > Package screen indicates: Package.MakeDebPackage.368: File or directory > does not exist (see attached screen). > What file or directory is the packager looking for at that point and why > isn't it there? What could be causing this? Any ideas? > > Thanks, > > Willy > > > Gambas path: /usr/bin/gbx2 > > This error is raised when the packager cannot create some sub-directory inside the target directory defined in the wizard. Can you check that? -- Beno?t Minisini From gambas at ...2524... Thu Dec 27 07:30:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 06:30:49 +0000 Subject: [Gambas-user] Issue 368 in gambas: .ForeGround not accepting color constants - Gambas 3.3.4 In-Reply-To: <1-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #2 on issue 368 by benoit.m... at ...626...: .ForeGround not accepting color constants - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=368 Color constants are... constants. Not strings. In other words, you must type Color.Black, not "Color.Black". From gambas at ...2524... Thu Dec 27 07:32:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 06:32:10 +0000 Subject: [Gambas-user] Issue 367 in gambas: Crash in Properties...Environment - Gambas 3.3.4 In-Reply-To: <1-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> <0-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-3.3.0 Comment #2 on issue 367 by benoit.m... at ...626...: Crash in Properties...Environment - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=367 Do you have the crash if you ensure that a row is highlighted before clicking on the "Remove" button? From gambas at ...2524... Thu Dec 27 07:35:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 06:35:32 +0000 Subject: [Gambas-user] Issue 369 in gambas: Application menu is not shown. In-Reply-To: <0-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version-3.3.4 Version-3.3.0 Comment #1 on issue 369 by benoit.m... at ...626...: Application menu is not shown. http://code.google.com/p/gambas/issues/detail?id=369 It works with KDE and GB_GUI=gb.gtk. I think you are using Gnome 3? Is it possible for you to use another environment (not necessarily KDE)? If you try KDE, you have to define GB_GUI=gb.gtk in the project properties so that GTK+ is used. From gambas at ...1... Thu Dec 27 07:40:00 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Dec 2012 07:40:00 +0100 Subject: [Gambas-user] gb.task and the event loop? In-Reply-To: <20121223220812.GB523@...2774...> References: <20121223220812.GB523@...2774...> Message-ID: <50DBED40.4000208@...1...> Le 23/12/2012 23:08, Tobias Boege a ?crit : > Hi Benoit, > > we have gb.task on our schedule now and I found two examples on the mailing > list: > > - Olivier Cruilles: [0] > - Ivan Kern: [1] > > Well, the first one seems to be designed to do nothing (no Task-inheriting > object is instantiated at all - I don't know if it did work the time it was > written, though) but if one modifies it to create a Task, it is almost > instantly killed; just as if the Main() was executed and no event loop kicks > in, even if a Timer was created which, according to [2], compels the event > loop. > > The second example, mainly listed for completeness, shows a workaround but > not a really satisfying one if one would like to do something else than > waiting. > > So, is (or "shall be") gb.task allow operation with the event loop? What's > wrong with the first example (the modified one)? > > Regards, > Tobi > > [0] http://gambas.8142.n7.nabble.com/attachment/24430/0/gbTask-0.0.1.tar.gz > [1] http://gambas.8142.n7.nabble.com/attachment/17637/0/TaskTest.zip > > [2] http://gambasdoc.org/help/cat/eventloop?v3 > Task are actually sub-processes run through the fork() system call. So they can only communicate the main process with the standard input/output streams. The event loop is only run in the main process. -- Beno?t Minisini From gambas at ...1... Thu Dec 27 07:41:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Dec 2012 07:41:41 +0100 Subject: [Gambas-user] Error as Boolean & ERROR as Class In-Reply-To: <50DA305A.3020008@...1974...> References: <50DA305A.3020008@...1974...> Message-ID: <50DBEDA5.70408@...1...> Le 26/12/2012 00:01, Ian Roper a ?crit : > Greetings, > Is there any way to pass the ERROR class as a parameter in a subroutine ? > It always defaults to the Boolean type when used as below > > > Global_Module > Public Sub ManageError(MyError as ERROR) > > Message.Error(MyError.Text & " Occured at " MyError.Class) > //Other error management handling/reporting > End > > Calling from a form or class > > Global_Module.ManageError(ERROR) > > Gambas Error text "Wanted Error, got Boolean instead" > > Cordialemont, > > Ian Roper > Warnbro > Western Australia > Error is a static class. So there is no need to use it as an argument. ERROR alone is a language keyword that returns TRUE if the last TRY instruction has raised an error. Well, this is not entirely true, but you should use it only in that context! Regards, -- Beno?t Minisini From gambas at ...1... Thu Dec 27 07:42:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Dec 2012 07:42:43 +0100 Subject: [Gambas-user] Problems with application menu In-Reply-To: References: Message-ID: <50DBEDE3.60200@...1...> Le 26/12/2012 18:22, Alberto Caballero a ?crit : > > > Hi all, > > > I am a newby with Gambas and I have a small problem. I developed an > application that contains a simple menu. It works ok on my laptop but then > I moved to my desktop computer, with the following System configuration: > > > [System] > > OperatingSystem=Linux > > Kernel=3.2.0-35-generic-pae > > Architecture=i686 > > Memory=1016848 kB > > DistributionVendor=Ubuntu > > DistributionRelease="Ubuntu 12.04.1 LTS" > > Desktop=Gnome > > > [Gambas 3] > > Version=3.3.4 > > Path=/usr/bin/gbx3 > > > [Libraries] > > Qt4=libQtCore.so.4.8.1 > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > When I compile and run my application, the buttons seems to appear on the > appliction dialog, but not the menu items. It is strange, since menu > shortcuts seems to work fine. > > > Does anyone can tell me what I am doing wrong? Is it configuration issue? > Something related to libraries? > > > Thanks in advance. > > > Alberto See my answer in the issue tracker. Regards, -- Beno?t Minisini From alberto.kavan at ...626... Thu Dec 27 08:59:44 2012 From: alberto.kavan at ...626... (Alberto Caballero) Date: Thu, 27 Dec 2012 08:59:44 +0100 Subject: [Gambas-user] Problems with application menu In-Reply-To: <50DBEDE3.60200@...1...> References: <50DBEDE3.60200@...1...> Message-ID: Ok. I will try and keep you updated. Regards, Alberto 2012/12/27 Beno?t Minisini > Le 26/12/2012 18:22, Alberto Caballero a ?crit : > > > > > > Hi all, > > > > > > I am a newby with Gambas and I have a small problem. I developed an > > application that contains a simple menu. It works ok on my laptop but > then > > I moved to my desktop computer, with the following System configuration: > > > > > > [System] > > > > OperatingSystem=Linux > > > > Kernel=3.2.0-35-generic-pae > > > > Architecture=i686 > > > > Memory=1016848 kB > > > > DistributionVendor=Ubuntu > > > > DistributionRelease="Ubuntu 12.04.1 LTS" > > > > Desktop=Gnome > > > > > > [Gambas 3] > > > > Version=3.3.4 > > > > Path=/usr/bin/gbx3 > > > > > > [Libraries] > > > > Qt4=libQtCore.so.4.8.1 > > > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > > > > When I compile and run my application, the buttons seems to appear on the > > appliction dialog, but not the menu items. It is strange, since menu > > shortcuts seems to work fine. > > > > > > Does anyone can tell me what I am doing wrong? Is it configuration issue? > > Something related to libraries? > > > > > > Thanks in advance. > > > > > > Alberto > > See my answer in the issue tracker. > > Regards, > > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Dec 27 09:17:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Dec 2012 09:17:13 +0100 Subject: [Gambas-user] Translator question In-Reply-To: <1355850877.3977.0.camel@...3024...> References: <1355850877.3977.0.camel@...3024...> Message-ID: <50DC0409.2030601@...1...> Le 18/12/2012 18:14, Willy Raets a ?crit : > Hi, > > I have an application (Gambas 2) where I use Internationalization. > Application original is English and translations contain 7 other > European languages. > > In the app on one form I use W to indicate West and on another form I > use W to indicate Watts. > > In Bulgarian translation West (W) gets translated to this: 3 > Problem is that now Watt (W) gets translated too, but should remain W !! > > Is there a manner of getting around this? > I mean can I indicate that one of the two W doesn't get translated (the > watt in this case as it is an international symbol used in all European > languages, so never needs to be translated, West on the other hand seems > to differ from language to language) > > Thanks, > > Willy > A possible workaround is using different strings for both (for example "W" and "Watt", and making an english translation for your project where both strings are translated to "W". And now in bulgarian you will be able to make a difference. Regards, -- Beno?t Minisini From mohareve at ...626... Thu Dec 27 10:54:55 2012 From: mohareve at ...626... (M. Cs.) Date: Thu, 27 Dec 2012 10:54:55 +0100 Subject: [Gambas-user] Writing applications with both GUI and command-line Message-ID: I've written a new program, which uses GUI. How can I add options to run it with command-line only mode if needed (with parameters)? Thanks! Csaba From taboege at ...626... Thu Dec 27 11:30:13 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Dec 2012 11:30:13 +0100 Subject: [Gambas-user] gb.task and the event loop? In-Reply-To: <50DBED40.4000208@...1...> References: <20121223220812.GB523@...2774...> <50DBED40.4000208@...1...> Message-ID: <20121227103013.GA663@...2774...> On Thu, 27 Dec 2012, Beno?t Minisini wrote: > Le 23/12/2012 23:08, Tobias Boege a ?crit : > > Hi Benoit, > > > > we have gb.task on our schedule now and I found two examples on the mailing > > list: > > > > - Olivier Cruilles: [0] > > - Ivan Kern: [1] > > > > Well, the first one seems to be designed to do nothing (no Task-inheriting > > object is instantiated at all - I don't know if it did work the time it was > > written, though) but if one modifies it to create a Task, it is almost > > instantly killed; just as if the Main() was executed and no event loop kicks > > in, even if a Timer was created which, according to [2], compels the event > > loop. > > > > The second example, mainly listed for completeness, shows a workaround but > > not a really satisfying one if one would like to do something else than > > waiting. > > > > So, is (or "shall be") gb.task allow operation with the event loop? What's > > wrong with the first example (the modified one)? > > > > Regards, > > Tobi > > > > [0] http://gambas.8142.n7.nabble.com/attachment/24430/0/gbTask-0.0.1.tar.gz > > [1] http://gambas.8142.n7.nabble.com/attachment/17637/0/TaskTest.zip > > > > [2] http://gambasdoc.org/help/cat/eventloop?v3 > > > > Task are actually sub-processes run through the fork() system call. So > they can only communicate the main process with the standard > input/output streams. The event loop is only run in the main process. > OK. FYI, the "Application.Daemon = True" hack from Fabien doesn't work. As the documentation states, this forks again and kills the Task. So the Task interface for communication is gone and additionally, the program still exits immediately after Main(). I guess, one cannot have everything :-) Well, actually one can: Just make your own event-recognising loop While True Wait 1 Wend at the end of Main(). This works perfectly with a Timer tuned to fire up every 1 second. It's not optimal but one should be able to start Processess in the background Task, run Timers, watch Files, etc. Regards, Tobi From gambas at ...2524... Thu Dec 27 15:31:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 14:31:55 +0000 Subject: [Gambas-user] Issue 370 in gambas: System.Shell allocations problem Message-ID: <0-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.3.0 Type-Bug Priority-Medium OpSys-Linux Dist-Any Arch-Any Desktop-Any GUI-Any New issue 370 by krisztiankende: System.Shell allocations problem http://code.google.com/p/gambas/issues/detail?id=370 If System.Shell is specified, the following error occurs when closing the program: gbx3: warning: 2 allocation(s) non freed. Gambas 3.3.4 Ubuntu 12.10 (amd64) Example project is attached. Attachments: shell.tar.gz 418 bytes From gambas at ...2524... Thu Dec 27 15:33:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 14:33:14 +0000 Subject: [Gambas-user] Issue 367 in gambas: Crash in Properties...Environment - Gambas 3.3.4 In-Reply-To: <2-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> <0-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-570553192276410361-gambas=googlecode.com@...2524...> Comment #3 on issue 367 by t4769_a... at ...2320...: Crash in Properties...Environment - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=367 Yes I added two values to one already present and clicked the last or #3. I then clicked Remove. Error Message: BADROW GRIDVIEW_CheckCell.932 > crash Hope this helps From gambas at ...2524... Thu Dec 27 15:53:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 14:53:47 +0000 Subject: [Gambas-user] Issue 368 in gambas: .ForeGround not accepting color constants - Gambas 3.3.4 In-Reply-To: <2-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Comment #3 on issue 368 by t4769_a... at ...2320...: .ForeGround not accepting color constants - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=368 Thank You for the reply. One of the options I tried during my debugging was your suggestion. I tried the option as an integer, string, and variant. The attached file is a compressed project that shows that the .ForeGround property will accept strings contrary to your statement. This is what has me confused. Sometimes strings are accepted and sometimes (as your reply) not. Sorry, but it works for me. I think (?) May I suggest that this loophole be plugged. Hope this helps. Attachments: testing.tar.gz 5.1 KB From karl.reinl at ...9... Thu Dec 27 15:54:01 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 27 Dec 2012 15:54:01 +0100 Subject: [Gambas-user] Problems with application menu (diff QT/gtk) Message-ID: <1356620041.2305.10.camel@...40...> Salut on Menu there is for a bug and a big difference between QT and gtk. - With both the icon is not shown. - gtk don't show the Checkbox Run the attached project and/or see screens. Other, you can set Checked without Toggle on, and it shows a checkbox -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-29-generic Architecture=i686 Memory=3098188 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome Language=de_DE.UTF-8 [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] rev. 5463 Version=3.3.90 Path=/usr/bin/gbx3 [Libraries] Poppler=libpoppler.so.5.0.0 GTK+=libgtk-x11-2.0.so.0.2000.1 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 GStreamer=libgstreamer-0.10.so.0.24.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: TEST-0.0.3.tar.gz Type: application/x-compressed-tar Size: 6260 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-TEST (gambas3).png Type: image/png Size: 13850 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-TEST (gambas3)-1.png Type: image/png Size: 12023 bytes Desc: not available URL: From gambas at ...2524... Thu Dec 27 16:15:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 15:15:12 +0000 Subject: [Gambas-user] Issue 368 in gambas: .ForeGround not accepting color constants - Gambas 3.3.4 In-Reply-To: <3-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> <0-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4493504100222724294-gambas=googlecode.com@...2524...> Comment #4 on issue 368 by benoit.m... at ...626...: .ForeGround not accepting color constants - Gambas 3.3.4 http://code.google.com/p/gambas/issues/detail?id=368 I have never said that the property won't accept strings. Actually the property does *not* accept strings, *but* in that case the language does automatic datatype conversion (note that it does automatic datatype conversion almost everywhere). Do not rely on automatic datatype conversion if you don't understand it, and use normal constants as in any other programming language. From gambas at ...2524... Thu Dec 27 16:18:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 15:18:22 +0000 Subject: [Gambas-user] Issue 370 in gambas: System.Shell allocations problem In-Reply-To: <0-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 370 by benoit.m... at ...626...: System.Shell allocations problem http://code.google.com/p/gambas/issues/detail?id=370 (No comment was entered for this change.) From gambas at ...2524... Thu Dec 27 16:19:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Dec 2012 15:19:22 +0000 Subject: [Gambas-user] Issue 370 in gambas: System.Shell allocations problem In-Reply-To: <1-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> <0-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10272295890287170666-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 370 by benoit.m... at ...626...: System.Shell allocations problem http://code.google.com/p/gambas/issues/detail?id=370 Fixed in revision #5470. From mohareve at ...626... Thu Dec 27 19:09:08 2012 From: mohareve at ...626... (M. Cs.) Date: Thu, 27 Dec 2012 19:09:08 +0100 Subject: [Gambas-user] Testing a command-line application Message-ID: I need to know how could I test run my command-line application without having installed it. Thanks! From jussi.lahtinen at ...626... Thu Dec 27 19:14:58 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Dec 2012 20:14:58 +0200 Subject: [Gambas-user] Testing a command-line application In-Reply-To: References: Message-ID: Compile executable example to your desktop, then open terminal. ./yourprogram argument1 argument2 Jussi On Thu, Dec 27, 2012 at 8:09 PM, M. Cs. wrote: > I need to know how could I test run my command-line application without > having installed it. > > Thanks! > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Dec 27 19:15:44 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Dec 2012 20:15:44 +0200 Subject: [Gambas-user] Testing a command-line application In-Reply-To: References: Message-ID: This way of course... ./yourprogram.gambas argument1 argument2 Jussi On Thu, Dec 27, 2012 at 8:14 PM, Jussi Lahtinen wrote: > ./yourprogram argument1 argument2 From willy at ...2734... Fri Dec 28 18:08:00 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 28 Dec 2012 18:08:00 +0100 Subject: [Gambas-user] Gambas2 - Debian and Ubuntu packages fail to built (Package.MakeDebPackage.368: File or directory does not exist)! In-Reply-To: <50DBEA42.8030605@...1...> References: <1356309440.7732.11.camel@...3024...> <50DBEA42.8030605@...1...> Message-ID: <1356714480.3020.19.camel@...3024...> On Thu, 2012-12-27 at 07:27 +0100, Beno?t Minisini wrote: > Le 24/12/2012 01:37, Willy Raets a ?crit : > > Kernel: Linux 3.2.0-23-generic > > Distribution: Linux Mint 13 > > desktop: Mate 1.2 > > Gambas version: 2.24 > > > > Haven't been working that much on Gambas 2, but I have a distributed > > Gambas 2 application that will get a version update with some bug fixes, > > new implementations and translation updates. > > > > Somehow it won't package for Debian and Ubuntu. If I deselct those other > > packages (Fedora/openSuSe...) will pack. > > > > I last made a package of this application 30th of October on this same > > system with the same Gambas 2 installed. All worked well then, so what > > happened? > > > > Package screen indicates: Package.MakeDebPackage.368: File or directory > > does not exist (see attached screen). > > What file or directory is the packager looking for at that point and why > > isn't it there? What could be causing this? Any ideas? > > > > Thanks, > > > > Willy > > > > > > Gambas path: /usr/bin/gbx2 > > > > > > This error is raised when the packager cannot create some sub-directory > inside the target directory defined in the wizard. Can you check that? I played a round a bit and discovered this: When trying to make a package to a long and deep path (as I did originally) packages for Debia/Ubuntu fail with error above When trying to make the same package in User home or on Desktop it works!! Could too long path names me problematic for Debian/Ubuntu package making? Anyway, I succeeded in making the package just by changing to another location with a shorter path. Willy From gambas at ...2524... Sat Dec 29 10:38:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Dec 2012 09:38:01 +0000 Subject: [Gambas-user] Issue 371 in gambas: MouseUp isn't raised in Slider component Message-ID: <0-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Linux Dist-Ubuntu Arch-X86 Desktop-Gnome GUI-GTK Usability New issue 371 by aztecaym... at ...626...: MouseUp isn't raised in Slider component http://code.google.com/p/gambas/issues/detail?id=371 1) Description of issue: In gtk, MouseUp event of Slider component isn't raised 2) System information: [System] OperatingSystem=Linux Kernel=3.2.0-35-generic-pae Architecture=i686 Memory=1011704 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) I attach an example 4) --- 5) Explain: When gtk is used, if a click is done on Slider1 (whatever button, left o right) and the Slider1's value is changed the MouseUp event isn't raised. Using qt4 there isn't this issue 6) :) Thanks, sir. Attachments: test_slider.tar.gz 5.3 KB From gambas at ...2524... Sat Dec 29 11:35:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Dec 2012 10:35:00 +0000 Subject: [Gambas-user] Issue 371 in gambas: MouseUp isn't raised in Slider component In-Reply-To: <0-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-TRUNK Version-3.3.0 Comment #1 on issue 371 by benoit.m... at ...626...: MouseUp isn't raised in Slider component http://code.google.com/p/gambas/issues/detail?id=371 Same problem with ScrollBar ! From mohareve at ...626... Sat Dec 29 12:11:21 2012 From: mohareve at ...626... (M. Cs.) Date: Sat, 29 Dec 2012 12:11:21 +0100 Subject: [Gambas-user] Possible error with ComboBoxes Message-ID: Public codepage As ComboBox Public felulet As Form ... Public Sub encoder_Click() Dim closer As Button Dim ext As Label felulet = New Form felulet.Width = 240 felulet.Height = 150 felulet.Border = False ext = New Label(felulet) ext.X = 20 ext.Y = 20 ext.Width = 220 ext.Height = 40 ext.Text = ("Select source encoding:") codepage = New ComboBox(felulet) As "Cody" codepage.List = ["iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-8", "iso8859-9", "iso8859-15"] codepage.Width = 200 codepage.Height = 35 codepage.ReadOnly = True codepage.X = 20 codepage.y = 60 closer = New Button(felulet) As "Shutter" closer.Width = 100 closer.X = 120 closer.Y = 120 closer.Text = ("Close") felulet.ShowModal End Public Sub Cody_Change() Dim faj As File Message("itt") faj = Open User.Home & "/.nevezz/encoding" For Write Create Print #faj, codepage.Text Close (faj) End Public Sub Shutter_Click() felulet.Delete End The dinamically created button "closer" is reacting with the Shutter_Click() event, while on "codepage"-s change the event Cody_Change() isn't raised. Csaba From gambas at ...1... Sat Dec 29 12:15:00 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Dec 2012 12:15:00 +0100 Subject: [Gambas-user] Possible error with ComboBoxes In-Reply-To: References: Message-ID: <50DED0B4.6010704@...1...> Le 29/12/2012 12:11, M. Cs. a ?crit : > Public codepage As ComboBox > Public felulet As Form > ... > Public Sub encoder_Click() > Dim closer As Button > Dim ext As Label > felulet = New Form > felulet.Width = 240 > felulet.Height = 150 > felulet.Border = False > ext = New Label(felulet) > ext.X = 20 > ext.Y = 20 > ext.Width = 220 > ext.Height = 40 > ext.Text = ("Select source encoding:") > > codepage = New ComboBox(felulet) As "Cody" > codepage.List = ["iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", > "iso8859-5", "iso8859-6", "iso8859-8", "iso8859-9", "iso8859-15"] > codepage.Width = 200 > codepage.Height = 35 > codepage.ReadOnly = True > codepage.X = 20 > codepage.y = 60 > > > closer = New Button(felulet) As "Shutter" > closer.Width = 100 > closer.X = 120 > closer.Y = 120 > closer.Text = ("Close") > felulet.ShowModal > End > > Public Sub Cody_Change() > Dim faj As File > Message("itt") > faj = Open User.Home & "/.nevezz/encoding" For Write Create > Print #faj, codepage.Text > Close (faj) > End > > Public Sub Shutter_Click() > felulet.Delete > End > > > The dinamically created button "closer" is reacting with the > Shutter_Click() event, while on "codepage"-s change the event Cody_Change() > isn't raised. > > Csaba "Change" is a TextBox event, that ComboBox raises only if ReadOnly = False. Regards, -- Beno?t Minisini From bbruen at ...2308... Sat Dec 29 13:40:17 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Dec 2012 23:10:17 +1030 Subject: [Gambas-user] IDE (and runtime) segfault Message-ID: <1356784817.16466.16.camel@...2688...> Hi Beno?t, This isn't really a bug per se, so I haven't reported it as such. If a child class implements a property that uses a _get(pname as string) in its' parent class and the child's property name is the same name as the referenced name in the parent then a simple typo can cause an IDE and runtime segfault. If you can understand that, then you are doing better than me, who is trying to write it. :-) Attached is a demo of what I am trying to say. As written, it runs correctly and prints the value "42". But if I mistype line 15 in Child.class as: Return Me.Something * 2 (i.e. a dot instead of a bang) then we get a segfault. I appreciate that this is obscure and that I can't explain it better than this. your thoughts would be appreciated Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: segfault-0.0.4.tar.gz Type: application/x-compressed-tar Size: 5512 bytes Desc: not available URL: From vuott at ...325... Sat Dec 29 13:50:05 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Dec 2012 12:50:05 +0000 (GMT) Subject: [Gambas-user] Error in rev. #5472 Message-ID: <1356785405.27269.YahooMailClassic@...3063...> Hello, 5472 updating my Gabas3 with rev. #5472 I obtain this error: ...etc... ...etc... CXX gb_gtk_la-cprinter.lo CXX gb_gtk_la-csvgimage.lo csvgimage.cpp: In function 'cairo_surface_t* SVGIMAGE_begin(CSVGIMAGE*)': csvgimage.cpp:73:44: error: 'rsvg_handle_render_cairo' was not declared in this scope csvgimage.cpp: In function 'void SvgImage_Paint(void*, void*)': csvgimage.cpp:213:42: error: 'rsvg_handle_render_cairo' was not declared in this scope make[5]: *** [gb_gtk_la-csvgimage.lo] Errore 1 make[5]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" make[4]: *** [all-recursive] Errore 1 make[4]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" make[3]: *** [all-recursive] Errore 1 make[3]: uscita dalla directory "/home/vuott/trunk/gb.gtk" make[2]: *** [all] Errore 2 make[2]: uscita dalla directory "/home/vuott/trunk/gb.gtk" make[1]: *** [all-recursive] Errore 1 make[1]: uscita dalla directory "/home/vuott/trunk" make: *** [all] Errore 2 From gambas at ...1... Sat Dec 29 14:22:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Dec 2012 14:22:52 +0100 Subject: [Gambas-user] Error in rev. #5472 In-Reply-To: <1356785405.27269.YahooMailClassic@...3063...> References: <1356785405.27269.YahooMailClassic@...3063...> Message-ID: <50DEEEAC.2090507@...1...> Le 29/12/2012 13:50, Ru Vuott a ?crit : > Hello, > 5472 > updating my Gabas3 with rev. #5472 I obtain this error: > > ...etc... > ...etc... > CXX gb_gtk_la-cprinter.lo > CXX gb_gtk_la-csvgimage.lo > csvgimage.cpp: In function 'cairo_surface_t* SVGIMAGE_begin(CSVGIMAGE*)': > csvgimage.cpp:73:44: error: 'rsvg_handle_render_cairo' was not declared in this scope > csvgimage.cpp: In function 'void SvgImage_Paint(void*, void*)': > csvgimage.cpp:213:42: error: 'rsvg_handle_render_cairo' was not declared in this scope > make[5]: *** [gb_gtk_la-csvgimage.lo] Errore 1 > make[5]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" > make[4]: *** [all-recursive] Errore 1 > make[4]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" > make[3]: *** [all-recursive] Errore 1 > make[3]: uscita dalla directory "/home/vuott/trunk/gb.gtk" > make[2]: *** [all] Errore 2 > make[2]: uscita dalla directory "/home/vuott/trunk/gb.gtk" > make[1]: *** [all-recursive] Errore 1 > make[1]: uscita dalla directory "/home/vuott/trunk" > make: *** [all] Errore 2 Is it better with revision #5473? -- Beno?t Minisini From vuott at ...325... Sat Dec 29 16:36:34 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Dec 2012 15:36:34 +0000 (GMT) Subject: [Gambas-user] Error in rev. #5472 In-Reply-To: <50DEEEAC.2090507@...1...> Message-ID: <1356795394.63067.YahooMailClassic@...3064...> > Is it better with revision #5473? Hello Beno?t, No, it is not. I receive an error again: ...etc... ...etc... CXX gb_gtk_la-CDraw.lo CXX gb_gtk_la-cpaint_impl.lo In file included from cpaint_impl.cpp:39:0: csvgimage.h:32:26: error: missing binary operator before token "(" make[5]: *** [gb_gtk_la-cpaint_impl.lo] Errore 1 make[5]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" make[4]: *** [all-recursive] Errore 1 make[4]: uscita dalla directory "/home/vuott/trunk/gb.gtk/src" make[3]: *** [all-recursive] Errore 1 make[3]: uscita dalla directory "/home/vuott/trunk/gb.gtk" make[2]: *** [all] Errore 2 make[2]: uscita dalla directory "/home/vuott/trunk/gb.gtk" make[1]: *** [all-recursive] Errore 1 make[1]: uscita dalla directory "/home/vuott/trunk" make: *** [all] Errore 2 Regards vuottttt --- Sab 29/12/12, Beno?t Minisini ha scritto: > Da: Beno?t Minisini > Oggetto: Re: [Gambas-user] Error in rev. #5472 > A: "mailing list for gambas users" > Data: Sabato 29 dicembre 2012, 14:22 > Le 29/12/2012 13:50, Ru Vuott a > ?crit : > > Hello, > > 5472 > > updating my Gabas3 with rev. #5472 I obtain this > error: > > > > ...etc... > > ...etc... > >? ? CXX? ? gb_gtk_la-cprinter.lo > >? ? CXX? ? gb_gtk_la-csvgimage.lo > > csvgimage.cpp: In function 'cairo_surface_t* > SVGIMAGE_begin(CSVGIMAGE*)': > > csvgimage.cpp:73:44: error: 'rsvg_handle_render_cairo' > was not declared in this scope > > csvgimage.cpp: In function 'void SvgImage_Paint(void*, > void*)': > > csvgimage.cpp:213:42: error: 'rsvg_handle_render_cairo' > was not declared in this scope > > make[5]: *** [gb_gtk_la-csvgimage.lo] Errore 1 > > make[5]: uscita dalla directory > "/home/vuott/trunk/gb.gtk/src" > > make[4]: *** [all-recursive] Errore 1 > > make[4]: uscita dalla directory > "/home/vuott/trunk/gb.gtk/src" > > make[3]: *** [all-recursive] Errore 1 > > make[3]: uscita dalla directory > "/home/vuott/trunk/gb.gtk" > > make[2]: *** [all] Errore 2 > > make[2]: uscita dalla directory > "/home/vuott/trunk/gb.gtk" > > make[1]: *** [all-recursive] Errore 1 > > make[1]: uscita dalla directory "/home/vuott/trunk" > > make: *** [all] Errore 2 > > Is it better with revision #5473? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your > skills current > with LearnDevNow - 3,200 step-by-step video tutorials by > Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more > at: > http://p.sf.net/sfu/learnmore_122912 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sat Dec 29 20:31:13 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Dec 2012 19:31:13 +0000 (GMT) Subject: [Gambas-user] Bug in Class "File" ? Message-ID: <1356809473.26935.YahooMailClassic@...3063...> Hello, I created in "/tmp" a simple file, and I tried this code that I saw in documentation: ************************************* Public Sub Button1_Click() Dim filePath As String Print "* A standard type of path" filePath = "/tmp/a.txt" Print filePath Print File.SetBaseName(filePath, "new-name") End ************************************ ...but the name of file doesn't change: I find again "a.txt" in /tmp directory, not "new-name.txt" ! Is there a bug ? Regards vuott From gambas at ...2524... Sun Dec 30 00:20:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Dec 2012 23:20:40 +0000 Subject: [Gambas-user] Issue 371 in gambas: MouseUp isn't raised in Slider component In-Reply-To: <1-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> <0-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 371 by benoit.m... at ...626...: MouseUp isn't raised in Slider component http://code.google.com/p/gambas/issues/detail?id=371 It should be fixed with revision #5474. From gambas at ...2524... Sun Dec 30 00:46:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Dec 2012 23:46:22 +0000 Subject: [Gambas-user] Issue 371 in gambas: MouseUp isn't raised in Slider component In-Reply-To: <2-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> <0-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1569126713364159285-gambas=googlecode.com@...2524...> Comment #3 on issue 371 by aztecaym... at ...626...: MouseUp isn't raised in Slider component http://code.google.com/p/gambas/issues/detail?id=371 Oh! Thank you very much! From bbruen at ...2308... Sun Dec 30 00:46:59 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 30 Dec 2012 10:16:59 +1030 Subject: [Gambas-user] Error in rev. #5473 Message-ID: <1356824819.16466.24.camel@...2688...> In gbx, source file gbc_value.c 572: __p2s: 573: #if OS_64BITS 574: value->_long.value = (int64_t)(intptr_t)value->_pointer.value; 575: goto __l2s; 576: #else 577: value->_int.value = (int)(intptr_t)value->_pointer.value; 578: goto __i2s; 579: #endif Compile error occurs at line 577. Sorry I lost the error message. I believe it should be 577: value->_integer.value = (int)(intptr_t)value->_pointer.value; Bruce From emil.lenngren at ...626... Sun Dec 30 03:18:08 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 30 Dec 2012 03:18:08 +0100 Subject: [Gambas-user] Error in rev. #5473 In-Reply-To: <1356824819.16466.24.camel@...2688...> References: <1356824819.16466.24.camel@...2688...> Message-ID: What's the point to be able to convert pointers to strings (take the numerical value of the pointer)? If I would like a string representation of a pointer I would at least want it in hexadecimal form. But I also think most people that convert pointers to strings want to get the string out of a char* that points to a NULL-terminated string. /Emil 2012/12/30 Bruce > In gbx, source file gbc_value.c > 572: __p2s: > 573: #if OS_64BITS > 574: value->_long.value = > (int64_t)(intptr_t)value->_pointer.value; > 575: goto __l2s; > 576: #else > 577: value->_int.value = (int)(intptr_t)value->_pointer.value; > 578: goto __i2s; > 579: #endif > > Compile error occurs at line 577. Sorry I lost the error message. > > I believe it should be > 577: value->_integer.value = (int)(intptr_t)value->_pointer.value; > > Bruce > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122912 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Dec 30 03:23:22 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Dec 2012 03:23:22 +0100 Subject: [Gambas-user] Error in rev. #5473 In-Reply-To: References: <1356824819.16466.24.camel@...2688...> Message-ID: <50DFA59A.5080600@...1...> Le 30/12/2012 03:18, Emil Lenngren a ?crit : > What's the point to be able to convert pointers to strings (take the > numerical value of the pointer)? > If I would like a string representation of a pointer I would at least want > it in hexadecimal form. > But I also think most people that convert pointers to strings want to get > the string out of a char* that points to a NULL-terminated string. > > /Emil > It's just some sort of shortcut: CStr(pointer) = CStr(CInt(pointer)) or CStr(CLong(pointer)) according to the size of the pointer. I found that logical, so that a Pointer can be directly used as a collection key. But I agree that using hexadecimal would be better. Regards, -- Beno?t Minisini From emil.lenngren at ...626... Sun Dec 30 03:29:52 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 30 Dec 2012 03:29:52 +0100 Subject: [Gambas-user] Error in rev. #5473 In-Reply-To: <50DFA59A.5080600@...1...> References: <1356824819.16466.24.camel@...2688...> <50DFA59A.5080600@...1...> Message-ID: Ah, smart ;) 2012/12/30 Beno?t Minisini > Le 30/12/2012 03:18, Emil Lenngren a ?crit : > > What's the point to be able to convert pointers to strings (take the > > numerical value of the pointer)? > > If I would like a string representation of a pointer I would at least > want > > it in hexadecimal form. > > But I also think most people that convert pointers to strings want to get > > the string out of a char* that points to a NULL-terminated string. > > > > /Emil > > > > It's just some sort of shortcut: CStr(pointer) = CStr(CInt(pointer)) or > CStr(CLong(pointer)) according to the size of the pointer. > > I found that logical, so that a Pointer can be directly used as a > collection key. > > But I agree that using hexadecimal would be better. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_123012 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Mon Dec 31 12:22:14 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Mon, 31 Dec 2012 12:22:14 +0100 Subject: [Gambas-user] Len function not correct? Message-ID: <50E17566.3010202@...27...> Why is Len("Andre") = 5, and Len("Andr?") = 6? The same for words with ?, ?, ? ...... Is there's a particular reason for that, or is it a bug? Working in Ubuntu 12.04 QT4 Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the correct number) Happy 2013 Johny From mohareve at ...626... Mon Dec 31 12:28:03 2012 From: mohareve at ...626... (M. Cs.) Date: Mon, 31 Dec 2012 12:28:03 +0100 Subject: [Gambas-user] Len function not correct? In-Reply-To: <50E17566.3010202@...27...> References: <50E17566.3010202@...27...> Message-ID: Use String.Len() instead if you plan to use non ASCII characters. The ? is theproblem for Len(). 2012/12/31 Johny Provoost > Why is Len("Andre") = 5, and Len("Andr?") = 6? > The same for words with ?, ?, ? ...... > Is there's a particular reason for that, or is it a bug? > > Working in Ubuntu 12.04 > QT4 > Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the > correct number) > > Happy 2013 > Johny > > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Mon Dec 31 13:08:45 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Mon, 31 Dec 2012 13:08:45 +0100 Subject: [Gambas-user] Len function not correct? In-Reply-To: References: <50E17566.3010202@...27...> Message-ID: <50E1804D.7050902@...27...> Thank you, that's working. Johny Op 31-12-12 12:28, M. Cs. schreef: > Use String.Len() instead if you plan to use non ASCII characters. The ? is > theproblem for Len(). > > 2012/12/31 Johny Provoost > >> Why is Len("Andre") = 5, and Len("Andr?") = 6? >> The same for words with ?, ?, ? ...... >> Is there's a particular reason for that, or is it a bug? >> >> Working in Ubuntu 12.04 >> QT4 >> Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the >> correct number) >> >> Happy 2013 >> Johny >> >> >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From emil.lenngren at ...626... Mon Dec 31 13:56:53 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 31 Dec 2012 13:56:53 +0100 Subject: [Gambas-user] Len function not correct? In-Reply-To: <50E1804D.7050902@...27...> References: <50E17566.3010202@...27...> <50E1804D.7050902@...27...> Message-ID: The Len function counts the number of bytes in the string. Strings are always in UTF-8, so ? is two bytes. String.Len counts the number of characters. 2012/12/31 Johny Provoost > Thank you, that's working. > > Johny > > Op 31-12-12 12:28, M. Cs. schreef: > > Use String.Len() instead if you plan to use non ASCII characters. The ? > is > > theproblem for Len(). > > > > 2012/12/31 Johny Provoost > > > >> Why is Len("Andre") = 5, and Len("Andr?") = 6? > >> The same for words with ?, ?, ? ...... > >> Is there's a particular reason for that, or is it a bug? > >> > >> Working in Ubuntu 12.04 > >> QT4 > >> Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the > >> correct number) > >> > >> Happy 2013 > >> Johny > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > >> MVPs and experts. SALE $99.99 this month only -- learn more at: > >> http://p.sf.net/sfu/learnmore_122412 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > MVPs and experts. SALE $99.99 this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122412 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Mon Dec 31 18:04:56 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Mon, 31 Dec 2012 18:04:56 +0100 Subject: [Gambas-user] Len function not correct? In-Reply-To: References: <50E17566.3010202@...27...> <50E1804D.7050902@...27...> Message-ID: <50E1C5B8.1070706@...27...> Thank you for the info, and to everyone a happy 2013 Johny Op 31-12-12 13:56, Emil Lenngren schreef: > The Len function counts the number of bytes in the string. Strings are > always in UTF-8, so ? is two bytes. String.Len counts the number of > characters. > > 2012/12/31 Johny Provoost > >> Thank you, that's working. >> >> Johny >> >> Op 31-12-12 12:28, M. Cs. schreef: >>> Use String.Len() instead if you plan to use non ASCII characters. The ? >> is >>> theproblem for Len(). >>> >>> 2012/12/31 Johny Provoost >>> >>>> Why is Len("Andre") = 5, and Len("Andr?") = 6? >>>> The same for words with ?, ?, ? ...... >>>> Is there's a particular reason for that, or is it a bug? >>>> >>>> Working in Ubuntu 12.04 >>>> QT4 >>>> Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the >>>> correct number) >>>> >>>> Happy 2013 >>>> Johny >>>> >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>>> MVPs and experts. SALE $99.99 this month only -- learn more at: >>>> http://p.sf.net/sfu/learnmore_122412 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. SALE $99.99 this month only -- learn more at: >>> http://p.sf.net/sfu/learnmore_122412 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> -- >> >> >> >> *Vriendelijke Groeten* >> >> *Johny Provoost* >> >> *mailto: johny.provoost at ...27... * >> >> *mailto: johny.provoost at ...626... * >> >> *Website:* *http://www.johnyprovoost.net* >> >> >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net*