From willy at ...2734... Tue May 1 00:07:19 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 01 May 2012 00:07:19 +0200 Subject: [Gambas-user] Problem with Image.Load Message-ID: <1335823639.6563.8.camel@...2735...> Hi all, I get an error 'Null object in SysInfo' on the LibIconImage.Load() line The 'SysInfo-24.png' is present in the user home. SysInfo is a class ---- 'Class SysInfo Static Public LibIconImage As Image Public Sub ReadLibInfo(() LibIconImage.Load(User.Home & "/SysInfo-24.png") End What am I doing wrong? According to the Gambas 3 documentation this should do the job. I am using Gambas 3.1.1 Thanks, Willy From gambas at ...1... Tue May 1 00:32:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 01 May 2012 00:32:31 +0200 Subject: [Gambas-user] Problem with Image.Load In-Reply-To: <1335823639.6563.8.camel@...2735...> References: <1335823639.6563.8.camel@...2735...> Message-ID: <4F9F12FF.1040200@...1...> Le 01/05/2012 00:07, Willy Raets a ?crit : > Hi all, > > I get an error 'Null object in SysInfo' on the LibIconImage.Load() line > The 'SysInfo-24.png' is present in the user home. > SysInfo is a class > ---- > 'Class SysInfo > > Static Public LibIconImage As Image > > Public Sub ReadLibInfo(() > > LibIconImage.Load(User.Home& "/SysInfo-24.png") > > End > > What am I doing wrong? According to the Gambas 3 documentation this > should do the job. > > I am using Gambas 3.1.1 > > > Thanks, > > Willy > Load() is a static method. You must write "Image.Load(...)". Regards, -- Beno?t Minisini From adamnt42 at ...626... Tue May 1 01:27:04 2012 From: adamnt42 at ...626... (GMail) Date: Tue, 01 May 2012 08:57:04 +0930 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <4F9E78AE.8080709@...1...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> Message-ID: <1335828424.24263.24.camel@...2688...> On Mon, 2012-04-30 at 13:34 +0200, Beno?t Minisini wrote: > Le 30/04/2012 13:18, Bruce Bruen a ?crit : > > Since today I have had the following happen - see the screenshot. > > > > 1) The first time I try to "Make Executable" in the IDE I get that blue > > balloon. > > > > Fixed in revision #4698. > > > 2) Also, as soon as a change is made to a code line that pops up the > > "mini" help, then strange things occur. For example, if I type "App" > > then the help popup appears as it should but then the busy cursor > > appears and never goes away, (as if Dec Application.Busy never happens > > in the IDE?) But! I can keep doing things, in fact anything (so far) but > > actually run the app from the IDE. You can see the busy cursor in the > > screenshot. > > > > I am asking because I am fairly sure that we have a local qt4 problem > > that I haven't been able to convince the qt folks of: > > > > It is seen as - > > "symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: > > _ZN14QObjectPrivateD2Ev" > > on a gambas program exit, whether or not we are using the qt4 GUI or > > gtk. > > > > But has anyone else seen these? > > No. Moreover, Gambas does not use libQtSql at all. > > Regards, > Thanks Beno?t, Problem 1 solved. Problem 2 (the Busy problem) remains, so far I have tracked it down as follows: a) it occurs with some projects and not others, so I have eliminated qt4 as the culprit. b) it occurs when the FCompletion popup is being loaded. I am using rev 4698. In the FillWithIdent(sWord As String) sub at line 460: cSymbol = CComponent.GetClassSymbols(GetClass()) Before this is executed Application.Busy is 1, after it is 2. So somewhere it is not being decremented. I am continuing to track this down, by stepping through the IDE. So far I am at line 1217 of CComponent.class : Try hPForm = Project.LoadFile(sPath) Again, at this point before execution Application.Busy=1 and after it is 2. Somewhere below this it is getting tricky, a "Bad Event handler, too many arguments" error gets raised that is making this hard to track. I will persevere! rgrds Bruce From bbruen at ...2308... Tue May 1 01:44:19 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 09:14:19 +0930 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335828424.24263.24.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> Message-ID: <1335829459.24263.27.camel@...2688...> Aha! Got the location of the "Bad event handler" (error message attached) And it's the DateChooser control that does it. Reproduce: 1 Create new graphical project 2 Open the main form 3 Drag a date chooser onto it. Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3_004.png Type: image/png Size: 15426 bytes Desc: not available URL: From gambas at ...1... Tue May 1 01:46:52 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 01 May 2012 01:46:52 +0200 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335828424.24263.24.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> Message-ID: <4F9F246C.2020705@...1...> Le 01/05/2012 01:27, GMail a ?crit : > > Problem 2 (the Busy problem) remains, so far I have tracked it down as > follows: > a) it occurs with some projects and not others, so I have eliminated qt4 > as the culprit. > b) it occurs when the FCompletion popup is being loaded. I am using rev > 4698. In the FillWithIdent(sWord As String) sub at line 460: > > cSymbol = CComponent.GetClassSymbols(GetClass()) > > Before this is executed Application.Busy is 1, after it is 2. So > somewhere it is not being decremented. I am continuing to track this > down, by stepping through the IDE. So far I am at line 1217 of > CComponent.class : > > Try hPForm = Project.LoadFile(sPath) > > Again, at this point before execution Application.Busy=1 and after it is > 2. > Somewhere below this it is getting tricky, a "Bad Event handler, too > many arguments" error gets raised that is making this hard to track. > I will persevere! > > rgrds > Bruce > If you can send me your project and tell me which form is in cause... -- Beno?t Minisini From bbruen at ...2308... Tue May 1 02:03:03 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 09:33:03 +0930 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335829459.24263.27.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> <1335829459.24263.27.camel@...2688...> Message-ID: <1335830583.24263.38.camel@...2688...> Final comments for now. 1) Is the previous method I posted that causes the IDE crash reproduceable? 2) in the IDE Project.module, in the LoadFile function, towards the bottom of the function is the following code: Files[sPath] = hForm If hForm Then bError = hForm.LoadFile() <======HERE! If bError Then Files[sPath] = Null Try hForm.Delete Dec Application.Busy Return Endif hForm.Icon = GetFileIcon(sPath, 16) Endif If hForm Then FSearch.OnNewForm(hForm) Dec Application.Busy Endif Return hForm 'Catch Dec Application.Busy Files[sPath] = Null FMain.ShowError(("Cannot open file.") & "\n\n" & Error.Text & "\n" & Error.Where, sPath) End The issue I'm seeing occurs at the "bError = hForm.LoadFile()" line (line 1835 in my rev). When this executes and the "Bad Event handler" error occurs, the LoadFile function exits immediately, thus leaving Application.Busy undecremented. Should that Catch be commented?? To check this out you'd need a project with a form with a DateChooser already in it. But because of this issue, I cannot create one! If you need more info I'll see if I can fudge one up out of an existing project by deleting extraneous stuff... Bruce From gambas at ...1... Tue May 1 02:11:51 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 01 May 2012 02:11:51 +0200 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335830583.24263.38.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> <1335829459.24263.27.camel@...2688...> <1335830583.24263.38.camel@...2688...> Message-ID: <4F9F2A47.1010503@...1...> Le 01/05/2012 02:03, Bruce Bruen a ?crit : > Final comments for now. > > 1) Is the previous method I posted that causes the IDE crash > reproduceable? I will look as soon as possible. > > 2) in the IDE Project.module, in the LoadFile function, towards the > bottom of the function is the following code: > > Files[sPath] = hForm > If hForm Then > bError = hForm.LoadFile()<======HERE! > If bError Then > Files[sPath] = Null > Try hForm.Delete > Dec Application.Busy > Return > Endif > hForm.Icon = GetFileIcon(sPath, 16) > Endif > > If hForm Then FSearch.OnNewForm(hForm) > > Dec Application.Busy > > Endif > > Return hForm > > 'Catch ---> Apparently I forgot to remove the comment on this line... > > Dec Application.Busy > Files[sPath] = Null > FMain.ShowError(("Cannot open file.")& "\n\n"& Error.Text& "\n"& > Error.Where, sPath) > > End > -- Beno?t Minisini From gambas at ...1... Tue May 1 02:49:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 01 May 2012 02:49:39 +0200 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335830583.24263.38.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> <1335829459.24263.27.camel@...2688...> <1335830583.24263.38.camel@...2688...> Message-ID: <4F9F3323.3010103@...1...> Le 01/05/2012 02:03, Bruce Bruen a ?crit : > Final comments for now. > >... > > To check this out you'd need a project with a form with a DateChooser > already in it. But because of this issue, I cannot create one! If you > need more info I'll see if I can fudge one up out of an existing project > by deleting extraneous stuff... > > Bruce > Things should be OK in revision #4702. Regards, -- Beno?t Minisini From tobiasboege01 at ...1601... Tue May 1 10:31:58 2012 From: tobiasboege01 at ...1601... (tobi) Date: Tue, 1 May 2012 10:31:58 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] Message-ID: <20120501083158.GA590@...2774...> Hi, I promptly get a segfault when I try to create an instance of my extended Variant[]: .src/Variant[].class --8<--------- ' Gambas class file Export Public Sub _compare(hV As Variant[]) As Integer Return 0 End --8<--------- .src/MMain.module --8<--------- ' Gambas module file Public Sub Main() Dim hV As New Variant[] End --8<--------- I hope that it's possible to override native classes? Regards, Tobi From tobiasboege01 at ...1601... Tue May 1 10:47:13 2012 From: tobiasboege01 at ...1601... (tobi) Date: Tue, 1 May 2012 10:47:13 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <20120501083158.GA590@...2774...> References: <20120501083158.GA590@...2774...> Message-ID: <20120501084713.GB590@...2774...> On Tue, 01 May 2012, tobi wrote: > Hi, > > I promptly get a segfault when I try to create an instance of my extended Variant[]: > > .src/Variant[].class > --8<--------- > ' Gambas class file > > Export > > Public Sub _compare(hV As Variant[]) As Integer > Return 0 > End > --8<--------- > > .src/MMain.module > --8<--------- > ' Gambas module file > > Public Sub Main() > Dim hV As New Variant[] > End > --8<--------- > > I hope that it's possible to override native classes? > > Regards, > Tobi Oh, I should look first and then post... Segfault comes from gbx_class.c:1358: array_type->array_class = class; but before that in the same function: CLASS *array_type = (CLASS *)class->array_type; and look at: (gdb) print class->array_type $2 = 12 which is GB_T_VARIANT, as supposed to be since I exported a Variant[]. I think creating that as a pointer is a bug. (Creating arrays of native datatypes not expected?) The article about Gambas object model says that gb.qt Application extends gb Application so, I am allowed to extend native classes! Regards, Tobi From gambas at ...1... Tue May 1 12:22:02 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 01 May 2012 12:22:02 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335674756.31931.33.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> Message-ID: <4F9FB94A.5010604@...1...> Le 29/04/2012 06:45, Bruce Bruen a ?crit : > > SUGGESTION: Libraries should not need to have a startup class. At > the moment I "must" include a dummy module to prevent any > test-harness code leaking into the user environment (which could > cause damage if the library were to be run as a normal gambas > executable.) At the moment the IDE will not let a library be made > into an executable or packaged unless it has a startup class. It > would be preferable that projects defined as libraries would not > execute via the runtime, that way test harness code could be left in > place. Currently I have to check that the coders have left the > startup class pointing to the following:- > > ' Gambas module file > > ' Null module to provide a fake startup point > > Public Sub Main() > > Error "Please do not run this as a program. It is a gambas library." > > End > Mmm. You are right, for libraries the IDE should let you not defined a startup class. I will see what I can do. > Not sure about this as far as the autotools packager is concerned. > The icon.png is certainly in the gzip file (but is this because > autotools is a "source" level package?) autotools is not reliable at the moment as it didn't get the same recent modifications as the other package types. >> - The package has dependencies on other components and libraries >> checked in the project properties dialog. > This is unclear. I was under the assumption that the Project > Properties dialog Components and Libraries tabs indicated the items > that are needed when running the library within the IDE (i.e. in test > mode) and the Component Properties dialog defined the dependencies > for the library when it runs as a library i.e. in another application > (whether that application is running in the IDE or via gbx3). > > We use a few "private" libraries to develop and test the libraries > we distribute to users and the approach I have been using is to > include them in the "Project Properties" dialog but not the > "Component Properties" dialog. (Again, this relates back to > including test harness code in the library and perhaps Issue 123.) > Could you clarify please. > Sorry, this is unclear indeed. You are right, it works like components: dependencies are managed by the IDE from the *component/library* property dialog. What is checked in the project property dialog is taken into account only when running the library as a normal project. Usually, dependencies defined in the project property dialog (used when compiling the project) are the same as those defined in the component property dialog (the true runtime dependencies). But this is not mandatory. > Further, it is unclear what the "Extra Dependencies" step in the RPM > based packagers is for? Perhaps a little note in the header, similar > to the "Extra files" step. They are dependencies added to the package dependency list verbatim. These should be name of packages of the target distribution. For example, if your project uses a system library through extern calls, you should add it to the extra dependencies. Because Gambas cannot do that automatically, as the name of the library binary package depends on the target distribution. > >> >> 2) COMPONENT >> >> - There is a library/component properties dialog. - No icon is >> packaged. - No menu entry is defined in the package. - If the >> project has control icons, they are packaged. - The package name is >> "gambas-vendor-projectname-X.Y.Z" where "X.Y.Z" is the version. - >> The vendor prefix is mandatory, it is "gb" by default. - The >> package has no dependencies on other components and libraries. This >> is supposed to be managed directly by the IDE. Components are a >> special beast that should be included directly in Gambas sources. > Again,this last bit is unclear. We use some custom control > components in our product. Some of which have dependencies on native > gb components, e.g. gb.db and at least one of which is dependent on > another home grown component (i.e. our "phDataControls" component is > dependent on both gb.db and our "phBaseControls" component. This has > worked fine until now. I haven't checked this yet but does it mean > that from 4687 on, that this will no longer work? See the explanation above. Components and libraries dependencies work the same way now. > >> >> 3) NORMAL PROJECT >> >> - There is no library/component properties dialog. - The "make >> executable" dialog can create a desktop shortcut automatically. - >> The packager has an icon and a menu entry. - The package name is >> "ProjectName-X.Y.Z" where "X.Y.Z" is the version. - The vendor can >> be added as a prefix optionally. - The package has dependencies on >> other components and libraries checked in the project properties >> dialog. >> >> Please try it and give your remarks! >> >> Regards, >> > > I have checked the autotools packaging (which is how we have > hitherto been distributing our product to end users) and it works > fine. > > I tried using the Mandriva and Fedora RPM based packaging, which > allowed me to create proper looking distribution packages, but ... > > When I tested the installation locally I run into the following > problem. There is a dependency requirement on "gambas-runtime" > version 3.blahblah ... This makes sense except that there is no > "gambas-runtime" for my home made system, I build and install from > the source archive. Also, this is how we have set it (gambas) up on > all the client's machines. Is there a way to remove this dependency > from being included in the RPM package build? A binary package system relies of being used totally. You cannot have some of the dependencies outside of it (i.e. installed from sources), it breaks the system. This is the reason why Gambas should be packaged eveywhere. :-/ Regards, -- Beno?t Minisini From gambas at ...1... Tue May 1 12:23:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 01 May 2012 12:23:53 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <20120501084713.GB590@...2774...> References: <20120501083158.GA590@...2774...> <20120501084713.GB590@...2774...> Message-ID: <4F9FB9B9.5060206@...1...> Le 01/05/2012 10:47, tobi a ?crit : > On Tue, 01 May 2012, tobi wrote: >> Hi, >> >> I promptly get a segfault when I try to create an instance of my extended Variant[]: >> >> .src/Variant[].class >> --8<--------- >> ' Gambas class file >> >> Export >> >> Public Sub _compare(hV As Variant[]) As Integer >> Return 0 >> End >> --8<--------- >> >> .src/MMain.module >> --8<--------- >> ' Gambas module file >> >> Public Sub Main() >> Dim hV As New Variant[] >> End >> --8<--------- >> >> I hope that it's possible to override native classes? >> >> Regards, >> Tobi > > Oh, I should look first and then post... > Segfault comes from > gbx_class.c:1358: > array_type->array_class = class; > but before that in the same function: > CLASS *array_type = (CLASS *)class->array_type; > and look at: > (gdb) print class->array_type > $2 = 12 > > which is GB_T_VARIANT, as supposed to be since I exported a Variant[]. > I think creating that as a pointer is a bug. (Creating arrays of native datatypes not expected?) > > The article about Gambas object model says that gb.qt Application extends gb Application so, I am > allowed to extend native classes! > > Regards, > Tobi > Hu hu. It should be possible to override any class, but please provide a project so that I can debug! -- Beno?t Minisini From tobiasboege01 at ...1601... Tue May 1 12:28:03 2012 From: tobiasboege01 at ...1601... (tobi) Date: Tue, 1 May 2012 12:28:03 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <4F9FB9B9.5060206@...1...> References: <20120501083158.GA590@...2774...> <20120501084713.GB590@...2774...> <4F9FB9B9.5060206@...1...> Message-ID: <20120501102803.GD590@...2774...> On Tue, 01 May 2012, Beno?t Minisini wrote: > Le 01/05/2012 10:47, tobi a ?crit : > > On Tue, 01 May 2012, tobi wrote: > >> Hi, > >> > >> I promptly get a segfault when I try to create an instance of my extended Variant[]: > >> > >> .src/Variant[].class > >> --8<--------- > >> ' Gambas class file > >> > >> Export > >> > >> Public Sub _compare(hV As Variant[]) As Integer > >> Return 0 > >> End > >> --8<--------- > >> > >> .src/MMain.module > >> --8<--------- > >> ' Gambas module file > >> > >> Public Sub Main() > >> Dim hV As New Variant[] > >> End > >> --8<--------- > >> > >> I hope that it's possible to override native classes? > >> > >> Regards, > >> Tobi > > > > Oh, I should look first and then post... > > Segfault comes from > > gbx_class.c:1358: > > array_type->array_class = class; > > but before that in the same function: > > CLASS *array_type = (CLASS *)class->array_type; > > and look at: > > (gdb) print class->array_type > > $2 = 12 > > > > which is GB_T_VARIANT, as supposed to be since I exported a Variant[]. > > I think creating that as a pointer is a bug. (Creating arrays of native datatypes not expected?) > > > > The article about Gambas object model says that gb.qt Application extends gb Application so, I am > > allowed to extend native classes! > > > > Regards, > > Tobi > > > > Hu hu. It should be possible to override any class, but please provide a > project so that I can debug! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Again, the attached project is not created with the IDE, I keep copying the project structure of one to another for months ;) But it works fine with gbc3 and gbx3... -------------- next part -------------- A non-text attachment was scrubbed... Name: test4.tar Type: application/x-tar Size: 20480 bytes Desc: not available URL: From Karl.Reinl at ...2345... Tue May 1 12:53:22 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 01 May 2012 12:53:22 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1335869602.2334.17.camel@...40...> Am Dienstag, den 01.05.2012, 12:22 +0200 schrieb Beno?t Minisini: > Le 29/04/2012 06:45, Bruce Bruen a ?crit : > > > > SUGGESTION: Libraries should not need to have a startup class. At > > the moment I "must" include a dummy module to prevent any > > test-harness code leaking into the user environment (which could > > cause damage if the library were to be run as a normal gambas > > executable.) At the moment the IDE will not let a library be made > > into an executable or packaged unless it has a startup class. It > > would be preferable that projects defined as libraries would not > > execute via the runtime, that way test harness code could be left in > > place. Currently I have to check that the coders have left the > > startup class pointing to the following:- > > > > ' Gambas module file > > > > ' Null module to provide a fake startup point > > > > Public Sub Main() > > > > Error "Please do not run this as a program. It is a gambas library." > > > > End > > > > Mmm. You are right, for libraries the IDE should let you not defined a > startup class. I will see what I can do. Salut, I didn't follow your discussion, but I use since years exactly that . My programs are both libraries and standalone executables. So I can chain them ! 1.) My 'crm', calls a 'switch', which calls the 'report tool', which is calling the 'report viewer' 2.) My 'crm', calls a 'switch', which is calling the 'report viewer' 3.) My 'switch', calls the 'report tool', which is calling the 'report viewer' 4.) My 'switch', calls the 'report viewer' 5.) My 'report tool', calls the 'report viewer' 6.) Start just the 'report viewer' Please don't break that! -- Amicalement Charlie From bbruen at ...2308... Tue May 1 13:27:29 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 20:57:29 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1335871649.7768.28.camel@...2688...> On Tue, 2012-05-01 at 12:22 +0200, Beno?t Minisini wrote: > A lot of answers to a lot of stuff, so I'm going to break it up into several posts. > Le 29/04/2012 06:45, Bruce Bruen a ?crit : > > > > SUGGESTION: Libraries should not need to have a startup class. At > > the moment I "must" include a dummy module to prevent any > > test-harness code leaking into the user environment (which could > > cause damage if the library were to be run as a normal gambas > > executable.) At the moment the IDE will not let a library be made > > into an executable or packaged unless it has a startup class. It > > would be preferable that projects defined as libraries would not > > execute via the runtime, that way test harness code could be left in > > place. Currently I have to check that the coders have left the > > startup class pointing to the following:- > > > > ' Gambas module file > > > > ' Null module to provide a fake startup point > > > > Public Sub Main() > > > > Error "Please do not run this as a program. It is a gambas library." > > > > End > > > > Mmm. You are right, for libraries the IDE should let you not defined a > startup class. I will see what I can do. > I think that ("the IDE should let you not defined a startup class") is an overkill. What I need is a way to use a startup class in a library when I'm developing it but when it is packaged the startup class should be "removeable". To explain, during development/debug/support for a library, we need to be able to run it as a normal project through the IDE. This is what I meant about "test harnesses". In general, we have a MMain module in the library that may, or in fact usually, contains code that lets us enter method parameter values manually. This type of code if used by an ill-advised user could cause great havoc on an underlying database or the like. What I would like is a way to manually disable or "turn off" the startup class when the library project is made as an executable or is packaged. I suppose that the alternative is to not allow startup classes in libraries or components and keep changing the project type to "Normal" when we are debugging/supporting but I can foresee a lot of mistakes if that route is chosen. The way I see it is this. (Hypothetically) I've just spent some time on the phone to Mr Jones and it appears that there is, amazingly, a problem in the xyzzzy library. I open the xyzzy project and using the test harness code therein I find that we did in fact code a logic error when some date parameter to a dual timezone function is exactly the date and time that daylight savings changed in one of the timezones. ( I kid you not, this happened recently!) So I give the problem to the wizkids, er sorry, my brilliant development team, and they come up with a nicely tested solution. So now all I want to do is turn off the startup class, compile and make the distributable version and send it out. With a bit of thought... maybe what libraries/components need is a startup class that only works within the IDE... hmm! Bruce From bbruen at ...2308... Tue May 1 13:44:12 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 21:14:12 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1335872652.7768.40.camel@...2688...> On Tue, 2012-05-01 at 12:22 +0200, Beno?t Minisini wrote: > In reply to my: > > Not sure about this as far as the autotools packager is concerned. > > The icon.png is certainly in the gzip file (but is this because > > autotools is a "source" level package?) > > autotools is not reliable at the moment as it didn't get the same recent > modifications as the other package types. Lately the autotools package has been very stable! In fact that is how we are currently distributing the apps to 28 customers (yes, I lost a couple to a very feature poor windows web based app... but they'll be back!) I wrote a gambas app that runs the autotools "extract / reconf / configure / make" series and that gets them updated with very few problems. If I could just find a way of running the "su/sudo/whatever make install" bit across 28 different "distros" I'd be ecstatic! My comment was only an observation regarding the inclusion of project icons in packages. rgrds Bruce From bbruen at ...2308... Tue May 1 14:01:05 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 21:31:05 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1335873665.7768.49.camel@...2688...> On Tue, 2012-05-01 at 12:22 +0200, Beno?t Minisini wrote: in reply to my > > I tried using the Mandriva and Fedora RPM based packaging, which > > allowed me to create proper looking distribution packages, but ... > > > > When I tested the installation locally I run into the following > > problem. There is a dependency requirement on "gambas-runtime" > > version 3.blahblah ... This makes sense except that there is no > > "gambas-runtime" for my home made system, I build and install from > > the source archive. Also, this is how we have set it (gambas) up on > > all the client's machines. Is there a way to remove this dependency > > from being included in the RPM package build? > > A binary package system relies of being used totally. You cannot have > some of the dependencies outside of it (i.e. installed from sources), it > breaks the system. > > This is the reason why Gambas should be packaged eveywhere. :-/ > This, of course, makes perfect sense in a binary distro world. All I can say is "Such is life!". ("Cest la vie?" ??? I dunno, my high school French memories seem to have faded.) Sigh! I suppose that I, or one of the code-pixies, are going to learn how to package Gambas itself. :-) rgrds Bruce From bbruen at ...2308... Tue May 1 14:05:48 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 21:35:48 +0930 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <4F9F3323.3010103@...1...> References: <1335784711.24263.13.camel@...2688...> <4F9E78AE.8080709@...1...> <1335828424.24263.24.camel@...2688...> <1335829459.24263.27.camel@...2688...> <1335830583.24263.38.camel@...2688...> <4F9F3323.3010103@...1...> Message-ID: <1335873948.7768.50.camel@...2688...> On Tue, 2012-05-01 at 02:49 +0200, Beno?t Minisini wrote: > Le 01/05/2012 02:03, Bruce Bruen a ?crit : > > Final comments for now. > > > >... > > > > To check this out you'd need a project with a form with a DateChooser > > already in it. But because of this issue, I cannot create one! If you > > need more info I'll see if I can fudge one up out of an existing project > > by deleting extraneous stuff... > > > > Bruce > > > > Things should be OK in revision #4702. > > Regards, > Yep, looks much better now! Thanks Bruce From bbruen at ...2308... Tue May 1 14:15:51 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 01 May 2012 21:45:51 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335869602.2334.17.camel@...40...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335869602.2334.17.camel@...40...> Message-ID: <1335874551.7768.58.camel@...2688...> Oh I forgot! A new problem. Spaces in the vendor name cause fails in the rpm builder. This is not a high priority issue, but it would be nice if spaces in the "Vendor name" field in the wizard were converted to underscores before it was used in the rpm build. But then again, it's probably only an issue to imbeciles like me that register their company name as something like "Paddys-Hill dot Net". best regards (I'm going to bed now) Bruce From gambas at ...2524... Tue May 1 18:44:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 May 2012 16:44:19 +0000 Subject: [Gambas-user] Issue 241 in gambas: Potential problem with DataCombo In-Reply-To: <1-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> <0-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> Comment #2 on issue 241 by ron.mcin... at ...626...: Potential problem with DataCombo http://code.google.com/p/gambas/issues/detail?id=241 Thanks Benoit, I understand how you've implemented it (effectively a behind the scenes Join). My initial interpretation was how some databases (including Access I believe) deal with it i.e. with a lookup table containing a list of values. Anyway I understand how to use it and will amend my code accordingly. Regards Ron On 24/04/12 17:53, gambas at ...2524... wrote: From bbruen at ...2308... Wed May 2 06:54:05 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 02 May 2012 14:24:05 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1335934445.7768.69.camel@...2688...> Hi folks! (I'm getting pretty excited about the packager now.) Beno?t, Please consider this little change for the autotools packager code in the IDE. We use a lot of common images in our projects. Corporate identity etc etc blah blah... Rather than have copies of all these in the projects we symbolic link them in. (So we only have one set of images to manage not lots!) Unfortunately, the links created in the IDE are relative to the project directory, e.g. PHlogo.png would be linked in referencing something like "../../common/images/logos/paddys-hill/PHlogo.png" When the project is copied to the temporary build dir in the packaging process, these links are now incorrect. The following diff (also attached) corrects this by adding the L option to the cp command so that symbolic links are snapped. Index: Package.module =================================================================== --- Package.module (revision 4702) +++ Package.module (working copy) @@ -1383,7 +1383,7 @@ Try sCmd = Scan(Project.GetCompileCommand(True, Not Project.KeepDebugInfo, False), "*/bin/gbc" & System.Version & " *")[1] 'Mkdir sBuildDir &/ Project.Name - Shell "cp -r " & Shell$(Project.Dir) & " " & Shell$(sBuildDir &/ Project.Name) Wait + Shell "cp -rL " & Shell$(Project.Dir) & " " & Shell$(sBuildDir &/ Project.Name) Wait sFile = Replace(File.Load("install/acinclude.m4"), "$(VERSION)", CStr(System.Version)) sFile = Replace(sFile, "$(PACKAGE_VERSION)", $sVersion) sFile = Replace(sFile, "$(EXTRA_TEST)", Project.ExtraAutoconfTest) regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: pkg1.diff Type: text/x-patch Size: 750 bytes Desc: not available URL: From gambas at ...2524... Wed May 2 08:24:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 02 May 2012 06:24:00 +0000 Subject: [Gambas-user] Issue 246 in gambas: Random "DrawingArea is being drawn" error when using new gridview Message-ID: <0-6813199134517018827-14267725419706147984-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 246 by Kokok... at ...626...: Random "DrawingArea is being drawn" error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 1) Sometimes, i'd say randomly, my application crashes on startup with the following error message: -- This application has raised an unexpected error and must abort. DrawingArea is being drawn. ScrollArea.ScrollArea_Arrange.162 -- Unfortunately this is hard to reproduce, but that error message seems not to be related to my code, and i've to ad that previous gridviews worked everytime. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.1.1 Operating system: Linux Distribution: ArchLinux Architecture: x86 GUI component: QT4 Desktop used: KDE 3) Provide a little project that reproduces the bug or the crash. 5) Explain clearly how to reproduce the bug or the crash. I've not been able to sistematically reproduce this. From afroehlke at ...784... Wed May 2 15:22:23 2012 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Wed, 2 May 2012 15:22:23 +0200 Subject: [Gambas-user] Hide Rows in Tableviews Message-ID: <8D42310D957CFB46AA11921A711D4D16058B8F097A@...1899...> Hello, we wrote a TableView-Filter functions. It set the height of each row, which doesn't match to 0 pixel. With version 3.1 of gambas3 this doesn't work any longer. As in issue 239 said, setting the height to 1 pixel instaed of 0 pixel is no solution, because if you have 50 rows and one of them matches, setting the height of the rest to 1 pixel results in a great grey block, because the border of these rows is aready visible. Can you please undo this, or add a property "visible" to TableViewRow / TableViewColumn? Regards -- Andreas From mohareve at ...626... Wed May 2 17:24:36 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 2 May 2012 17:24:36 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: <4F9B1818.7090004@...1...> References: <4F9B175E.6010608@...1...> <4F9B1818.7090004@...1...> Message-ID: Well, after a stop I started to work with Gambas again, and I have problems with all sorts of fonts: FreeMono, DejaVu Sans, Nimbus Roman No9... Basically nothing helps anymore. - I've used various font sizes from 9 to 11. - The resolution says > "resolution: 102x102 dots per inch" Csaba 2012/4/28, Beno?t Minisini : > Le 28/04/2012 00:02, Beno?t Minisini a ?crit : >> Le 27/04/2012 21:52, M. Cs. a ?crit : >>> Maybe it does. Although I marked this problem as solved after changing >>> the font, the problem also persist with the new font selection too. >>> Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0 >>> he did encounter several times this problem. Now I use to change the >>> font's size and this solves the problem temporary. >>> >>> Csaba >>> >> >> I have just upgraded to Ubuntu 12.04, I'm going to check... >> > > No problem at all. Can you give me: > - A font that has the problem, but that is not "Monospace" (which is not > a true font, but a shortcut to another font). > - The size of the font. > - The resolution of the X11 server, as returned by "xdpyinfo | grep > resolution" > > Thanks in advance. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed May 2 20:07:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 02 May 2012 20:07:42 +0200 Subject: [Gambas-user] Hide Rows in Tableviews In-Reply-To: <8D42310D957CFB46AA11921A711D4D16058B8F097A@...1899...> References: <8D42310D957CFB46AA11921A711D4D16058B8F097A@...1899...> Message-ID: <4FA177EE.5090202@...1...> Le 02/05/2012 15:22, Andreas Fr?hlke a ?crit : > Hello, > > we wrote a TableView-Filter functions. It set the height of each row, which doesn't match to 0 pixel. With version 3.1 of gambas3 this doesn't work any longer. As in issue 239 said, setting the height to 1 pixel instaed of 0 pixel is no solution, because if you have 50 rows and one of them matches, setting the height of the rest to 1 pixel results in a great grey block, because the border of these rows is aready visible. Can you please undo this, or add a property "visible" to TableViewRow / TableViewColumn? > > Regards > > -- > > Andreas > It has been fixed in the last revisions. Can you check it? -- Beno?t Minisini From gambas at ...1... Wed May 2 20:08:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 02 May 2012 20:08:39 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: References: <4F9B175E.6010608@...1...> <4F9B1818.7090004@...1...> Message-ID: <4FA17827.1050806@...1...> Le 02/05/2012 17:24, M. Cs. a ?crit : > Well, after a stop I started to work with Gambas again, and I have > problems with all sorts of fonts: FreeMono, DejaVu Sans, Nimbus Roman > No9... Basically nothing helps anymore. > - I've used various font sizes from 9 to 11. > - The resolution says> "resolution: 102x102 dots per inch" > > Csaba > Maybe the bug is related to the resolution. Can you enforce 96x96 DPI ? It is possible with the KDE control center, but I don't know what you are using. -- Beno?t Minisini From mohareve at ...626... Wed May 2 21:30:09 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 2 May 2012 21:30:09 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: <4FA17827.1050806@...1...> References: <4F9B175E.6010608@...1...> <4F9B1818.7090004@...1...> <4FA17827.1050806@...1...> Message-ID: Yes I did it. Now it looks like OK, but I will test it for next few days. Csaba 2012/5/2, Beno?t Minisini : > Le 02/05/2012 17:24, M. Cs. a ?crit : >> Well, after a stop I started to work with Gambas again, and I have >> problems with all sorts of fonts: FreeMono, DejaVu Sans, Nimbus Roman >> No9... Basically nothing helps anymore. >> - I've used various font sizes from 9 to 11. >> - The resolution says> "resolution: 102x102 dots per inch" >> >> Csaba >> > > Maybe the bug is related to the resolution. Can you enforce 96x96 DPI ? > It is possible with the KDE control center, but I don't know what you > are using. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From afroehlke at ...784... Thu May 3 07:59:30 2012 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Thu, 3 May 2012 07:59:30 +0200 Subject: [Gambas-user] Hide Rows in Tableviews In-Reply-To: <4FA177EE.5090202@...1...> References: <8D42310D957CFB46AA11921A711D4D16058B8F097A@...1899...> <4FA177EE.5090202@...1...> Message-ID: <8D42310D957CFB46AA11921A711D4D16058B8F097F@...1899...> No, it don't work in gambas 3.1.1. I only can set the height to 1. -----Urspr?ngliche Nachricht----- Von: Beno?t Minisini [mailto:gambas at ...1...] Gesendet: Mittwoch, 2. Mai 2012 20:08 An: mailing list for gambas users Betreff: Re: [Gambas-user] Hide Rows in Tableviews Le 02/05/2012 15:22, Andreas Fr?hlke a ?crit : > Hello, > > we wrote a TableView-Filter functions. It set the height of each row, which doesn't match to 0 pixel. With version 3.1 of gambas3 this doesn't work any longer. As in issue 239 said, setting the height to 1 pixel instaed of 0 pixel is no solution, because if you have 50 rows and one of them matches, setting the height of the rest to 1 pixel results in a great grey block, because the border of these rows is aready visible. Can you please undo this, or add a property "visible" to TableViewRow / TableViewColumn? > > Regards > > -- > > Andreas > It has been fixed in the last revisions. Can you check it? -- Beno?t Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu May 3 11:33:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 03 May 2012 11:33:58 +0200 Subject: [Gambas-user] Hide Rows in Tableviews In-Reply-To: <8D42310D957CFB46AA11921A711D4D16058B8F097F@...1899...> References: <8D42310D957CFB46AA11921A711D4D16058B8F097A@...1899...> <4FA177EE.5090202@...1...> <8D42310D957CFB46AA11921A711D4D16058B8F097F@...1899...> Message-ID: <4FA25106.5040703@...1...> Le 03/05/2012 07:59, Andreas Fr?hlke a ?crit : > No, it don't work in gambas 3.1.1. I only can set the height to 1. It's only fixed in /trunk. -- Beno?t Minisini From math.eber at ...221... Thu May 3 21:30:28 2012 From: math.eber at ...221... (Matti) Date: Thu, 03 May 2012 21:30:28 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update Message-ID: <4FA2DCD4.5010308@...221...> I compiled the latest svn version and got checking for GStreamer media component with pkg-config... no configure: WARNING: GStreamer media is disabled Then installed everything I could find about GStreamer - but the result is the same. The documentation should be updated. What are the dependencies for the GStreamer media component? Regards Matti From Gambas at ...1950... Thu May 3 23:01:49 2012 From: Gambas at ...1950... (Caveat) Date: Thu, 03 May 2012 23:01:49 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update In-Reply-To: <4FA2DCD4.5010308@...221...> References: <4FA2DCD4.5010308@...221...> Message-ID: <1336078909.3142.10226.camel@...2150...> I have it working on Ubuntu 12.04 with the following: echo Installing dependencies for precise... sudo apt-get install build-essential libtool autoconf libffi-dev libbz2-dev libmysqlclient-dev unixodbc-dev firebird-dev libpcre3-dev libv4l-dev libpq-dev libsqlite0-dev libsqlite3-dev libcurl4-gnutls-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libxml2-dev libxslt1-dev libglew1.5-dev libqt4-dev libgtk-3-dev libgtk2.0-dev libgtkglext1-dev librsvg2-dev libgnome-keyring-dev libpoppler-glib-dev libimlib2-dev libgsl0-dev libgstreamer0.10-dev libxtst-dev Regards, Caveat On Thu, 2012-05-03 at 21:30 +0200, Matti wrote: > I compiled the latest svn version and got > checking for GStreamer media component with pkg-config... no > configure: WARNING: GStreamer media is disabled > > Then installed everything I could find about GStreamer - but the result is the same. > > The documentation should be updated. What are the dependencies for the GStreamer > media component? > > Regards > Matti > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu May 3 23:48:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 03 May 2012 23:48:11 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update In-Reply-To: <4FA2DCD4.5010308@...221...> References: <4FA2DCD4.5010308@...221...> Message-ID: <4FA2FD1B.3000002@...1...> Le 03/05/2012 21:30, Matti a ?crit : > I compiled the latest svn version and got > checking for GStreamer media component with pkg-config... no > configure: WARNING: GStreamer media is disabled > > Then installed everything I could find about GStreamer - but the result is the same. > > The documentation should be updated. What are the dependencies for the GStreamer > media component? > > Regards > Matti > You must install the following *development* packages of GStreamer: the main one and the "plugin-base" one. I can't tell more, it depends on the distribution. On Ubuntu, their names are 'libgstreamer0.10-dev' and 'libgstreamer-plugins-base0.10-dev' Regards, -- Beno?t Minisini From fvegaf at ...67... Fri May 4 14:56:32 2012 From: fvegaf at ...67... (fvegaf) Date: Fri, 4 May 2012 05:56:32 -0700 (PDT) Subject: [Gambas-user] Creating gambas component Message-ID: <33763463.post@...1379...> I have created gambas 2 components before, but now when I'm setting up the properties of the project, in the tab "provides" on that tab is not showing anything (columns: class, type, group) when I right click on a blank area underneath the titles, I got the error "This application has raised an unexpected error and must abort" "[21] Out of bonds" "FPropertyProject.ShowEditor.973" I had the same situation with Gambas 2.19 and gambas 2.8. Thanks in advance. -- View this message in context: http://old.nabble.com/Creating--gambas-component-tp33763463p33763463.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Fri May 4 15:24:04 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Fri, 04 May 2012 22:54:04 +0930 Subject: [Gambas-user] Distributing Libraries etc Message-ID: <1336137844.28628.34.camel@...2688...> Dear all, In the spirit of the game, here is a simple little item that I hope people distributing gambas3 apps and libraries and components may find useful. It's a little piece of code that provides a "System Informations" screen like the one in the IDE. It does go one bit further though and reports the versions of your distributed libraries. I hope that will be the "value added" bit. (By the way, the code was "shamelessly" hacked from the IDE code. :-) ) Attached are two files: 1) "SA_sysinfos-0.0.2.tar.gz" is the normal gambas source archive. 2) "sysinfos-0.0.2.tar.gz" is the autotools package created through the IDE. Why? Because you can either unpack the "SA" one and use the code directly in your projects as a contained form or, perhaps you could distribute the autotools version and link into it from your distributed apps . Caveat - see my latest post in the "Re: [Gambas-user] About library and component packaging in Gambas 3" thread regardig uninstalls. Anyway, hope you like it. Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: SA_sysinfos-0.0.2.tar.gz Type: application/x-compressed-tar Size: 100009 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sysinfos-0.0.2.tar.gz Type: application/x-compressed-tar Size: 63461 bytes Desc: not available URL: From bbruen at ...2308... Fri May 4 15:25:27 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Fri, 04 May 2012 22:55:27 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1336137927.28628.37.camel@...2688...> Subtopic autotools autotools now works like a dream. We have been distributing stuff via autotools for several days now and have only come across the following problem. "make uninstall" (as root) appears to work but in fact doesn't. Given that we have installed "sysinfos-0.0.2.tar.gz" via the usual unpack/cd src dir/ config/make/(root)make install then we can see it quite well via: [root at ...2711... ~]# which sysinfos.gambas /usr/local/bin/sysinfos.gambas However, when I try to use the "uninstall" target, I get: [root at ...2711... sysinfos-0.0.2]# make uninstall Removing sysinfos.gambas file... rm /usr/local/bin/sysinfos.gambas [root at ...2711... sysinfos-0.0.2]# which appears to have worked at face value, but in actual fact /usr/local/bin/sysinfos.gambas still exists!! [root at ...2711... sysinfos-0.0.2]# ll /usr/local/bin/sys* -rwxr-xr-x 1 root root 6820 May 4 22:08 /usr/local/bin/sysinfos.gambas* (I have also tried the "make uninstall-am" and "make unistall-locall" with no better result, but I don't think that is an issue.) Observations: 1) There doesn't seem to be an "uninstall" target in the makefiles that I can see so I can't add any value here. 2) Although, obviously root could simply "rm /usr/local/bin/sysinfos.gambas", there really should be a working target. regards Bruce p.s. The source (and autotools) packages for "sysinfos" is in the related post "Distributing Libraries etc". From gambas at ...1... Fri May 4 15:26:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 May 2012 15:26:48 +0200 Subject: [Gambas-user] Creating gambas component In-Reply-To: <33763463.post@...1379...> References: <33763463.post@...1379...> Message-ID: <4FA3D918.3050807@...1...> Le 04/05/2012 14:56, fvegaf a ?crit : > > I have created gambas 2 components before, but now when I'm setting up the > properties of the project, in the tab "provides" on that tab is not showing > anything (columns: class, type, group) when I right click on a blank area > underneath the titles, I got the error "This application has raised an > unexpected error and must abort" "[21] Out of bonds" > "FPropertyProject.ShowEditor.973" > > I had the same situation with Gambas 2.19 and gambas 2.8. > > Thanks in advance. > > Can you send your project ? -- Beno?t Minisini From fvegaf at ...67... Fri May 4 16:13:30 2012 From: fvegaf at ...67... (Francisco Vega) Date: Fri, 4 May 2012 09:13:30 -0500 Subject: [Gambas-user] Creating gambas component In-Reply-To: <4FA3D918.3050807@...1...> References: <33763463.post@...1379...>, <4FA3D918.3050807@...1...> Message-ID: Ok, is attached. Gambas version 2.19 The error is on FPropertyProject.ShowEditor.1003 Thanks. Francisco Vega > Date: Fri, 4 May 2012 15:26:48 +0200 > From: gambas at ...1... > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Creating gambas component > > Le 04/05/2012 14:56, fvegaf a ?crit : > > > > I have created gambas 2 components before, but now when I'm setting up the > > properties of the project, in the tab "provides" on that tab is not showing > > anything (columns: class, type, group) when I right click on a blank area > > underneath the titles, I got the error "This application has raised an > > unexpected error and must abort" "[21] Out of bonds" > > "FPropertyProject.ShowEditor.973" > > > > I had the same situation with Gambas 2.19 and gambas 2.8. > > > > Thanks in advance. > > > > > > Can you send your project ? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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: consumews.tar.gz Type: application/gzip Size: 52925 bytes Desc: not available URL: From gambas.fr at ...626... Fri May 4 16:59:21 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 4 May 2012 16:59:21 +0200 Subject: [Gambas-user] Creating gambas component In-Reply-To: References: <33763463.post@...1379...> <4FA3D918.3050807@...1...> Message-ID: arrColumn[500] As String nRows As Integer ' Heredamos el objeto gridview Inherits GridView Export first the export keyword and inherits must be on the top of the code... ' Heredamos el objeto gridview Inherits GridView Export arrColumn[500] As String nRows As Integer From fvegaf at ...67... Fri May 4 18:29:23 2012 From: fvegaf at ...67... (Francisco Vega) Date: Fri, 4 May 2012 11:29:23 -0500 Subject: [Gambas-user] Creating gambas component In-Reply-To: References: <33763463.post@...1379...>, <4FA3D918.3050807@...1...>, , Message-ID: It worked! Thanks, you my hero. (I'm sorry by my ignorance) Francisco Vega > Date: Fri, 4 May 2012 16:59:21 +0200 > From: gambas.fr at ...626... > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Creating gambas component > > arrColumn[500] As String > nRows As Integer > > ' Heredamos el objeto gridview > Inherits GridView > Export > > > first the export keyword and inherits must be on the top of the code... > > ' Heredamos el objeto gridview > Inherits GridView > Export > > arrColumn[500] As String > nRows As Integer > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From math.eber at ...221... Fri May 4 21:08:28 2012 From: math.eber at ...221... (Matti) Date: Fri, 04 May 2012 21:08:28 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update In-Reply-To: <4FA2FD1B.3000002@...1...> References: <4FA2DCD4.5010308@...221...> <4FA2FD1B.3000002@...1...> Message-ID: <4FA4292C.60201@...221...> Hmm. On openSUSE, these libs are nowhere to find. Not in any repository, not in any RPM-search. Any SUSE user here who solved this? I installed gstreamer-0_10-devel - Include Files and Libraries mandatory for Development, and gstreamer-0_10-plugins-base-devel - Include files and libraries mandatory for development with gstreamer-0_10-plugins-base Now, 'configure' doesn't complain anymore, but I get the 'make' error: make[4]: Entering directory `/Platte2/Downloads/gambas3/4712/trunk/gb.media/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_media_la-main.o mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o c_media.c: In function ?MediaControl_get?: c_media.c:338:17: error: ?G_VALUE_INIT? undeclared (first use in this function) c_media.c:338:17: note: each undeclared identifier is reported only once for each function it appears in c_media.c: In function ?MediaControl_put?: c_media.c:356:17: error: ?G_VALUE_INIT? undeclared (first use in this function) make[4]: *** [gb_media_la-c_media.lo] Fehler 1 Am 03.05.2012 23:48, schrieb Beno?t Minisini: > You must install the following *development* packages of GStreamer: the > main one and the "plugin-base" one. I can't tell more, it depends on the > distribution. > > On Ubuntu, their names are 'libgstreamer0.10-dev' and > 'libgstreamer-plugins-base0.10-dev' From gambas at ...1... Fri May 4 21:17:03 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 04 May 2012 21:17:03 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update In-Reply-To: <4FA4292C.60201@...221...> References: <4FA2DCD4.5010308@...221...> <4FA2FD1B.3000002@...1...> <4FA4292C.60201@...221...> Message-ID: <4FA42B2F.2040003@...1...> Le 04/05/2012 21:08, Matti a ?crit : > Hmm. On openSUSE, these libs are nowhere to find. Not in any repository, not in > any RPM-search. > Any SUSE user here who solved this? > > I installed > gstreamer-0_10-devel - Include Files and Libraries mandatory for Development, and > gstreamer-0_10-plugins-base-devel - Include files and libraries mandatory for > development with gstreamer-0_10-plugins-base > > Now, 'configure' doesn't complain anymore, but I get the 'make' error: > > make[4]: Entering directory `/Platte2/Downloads/gambas3/4712/trunk/gb.media/src' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o > gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP > -MF .deps/gb_media_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_media_la-main.o > mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o > gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD > -MP -MF .deps/gb_media_la-c_media.Tpo -c c_media.c -fPIC -DPIC -o > .libs/gb_media_la-c_media.o > c_media.c: In function ?MediaControl_get?: > c_media.c:338:17: error: ?G_VALUE_INIT? undeclared (first use in this function) > c_media.c:338:17: note: each undeclared identifier is reported only once for > each function it appears in > c_media.c: In function ?MediaControl_put?: > c_media.c:356:17: error: ?G_VALUE_INIT? undeclared (first use in this function) > make[4]: *** [gb_media_la-c_media.lo] Fehler 1 > Interesting... G_VALUE_INIT is a glib macro, and the glib headers are normally automatically included from the gstreamer headers... Which version of glib is installed on your system? -- Beno?t Minisini From gambas.fr at ...626... Fri May 4 21:55:16 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 4 May 2012 21:55:16 +0200 Subject: [Gambas-user] Creating gambas component In-Reply-To: References: <33763463.post@...1379...> <4FA3D918.3050807@...1...> Message-ID: http://gambasdoc.org/help/lang/export?v3 2012/5/4 Francisco Vega > > It worked! > > Thanks, you my hero. (I'm sorry by my ignorance) > > > > Francisco Vega > > > Date: Fri, 4 May 2012 16:59:21 +0200 > > From: gambas.fr at ...626... > > To: gambas-user at lists.sourceforge.net > > Subject: Re: [Gambas-user] Creating gambas component > > > > arrColumn[500] As String > > nRows As Integer > > > > ' Heredamos el objeto gridview > > Inherits GridView > > Export > > > > > > first the export keyword and inherits must be on the top of the code... > > > > ' Heredamos el objeto gridview > > Inherits GridView > > Export > > > > arrColumn[500] As String > > nRows As Integer > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From tobiasboege01 at ...1601... Fri May 4 21:59:23 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 4 May 2012 21:59:23 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <20120501102803.GD590@...2774...> References: <20120501083158.GA590@...2774...> <20120501084713.GB590@...2774...> <4F9FB9B9.5060206@...1...> <20120501102803.GD590@...2774...> Message-ID: <20120504195923.GD609@...2774...> On Tue, 01 May 2012, tobi wrote: > > > > Hu hu. It should be possible to override any class, but please provide a > > project so that I can debug! > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Again, the attached project is not created with the IDE, I keep copying the project structure of one > to another for months ;) But it works fine with gbc3 and gbx3... Could you reproduce? I don't want to appear unpatient - I already do, I know ;) - but we really want to override Variant[] over here to finish a chapter in our book. From math.eber at ...221... Fri May 4 22:18:22 2012 From: math.eber at ...221... (Matti) Date: Fri, 04 May 2012 22:18:22 +0200 Subject: [Gambas-user] Dependencies: Documentation needs update In-Reply-To: <4FA42B2F.2040003@...1...> References: <4FA2DCD4.5010308@...221...> <4FA2FD1B.3000002@...1...> <4FA4292C.60201@...221...> <4FA42B2F.2040003@...1...> Message-ID: <4FA4398E.8020803@...221...> Well... there are so many glib things here... I better send you 2 screenshots about what is on my system. I don't understand anything about it. Am 04.05.2012 21:17, schrieb Beno?t Minisini: > > Interesting... G_VALUE_INIT is a glib macro, and the glib headers are > normally automatically included from the gstreamer headers... > > Which version of glib is installed on your system? > -------------- next part -------------- A non-text attachment was scrubbed... Name: glib01.jpeg Type: image/jpeg Size: 166531 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: glib02.jpeg Type: image/jpeg Size: 149804 bytes Desc: not available URL: From gambas at ...1... Fri May 4 23:17:37 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 May 2012 23:17:37 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335934445.7768.69.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335934445.7768.69.camel@...2688...> Message-ID: <4FA44771.3060502@...1...> Le 02/05/2012 06:54, Bruce Bruen a ?crit : > Hi folks! > > (I'm getting pretty excited about the packager now.) > > > Beno?t, > > Please consider this little change for the autotools packager code in > the IDE. > > We use a lot of common images in our projects. Corporate identity etc > etc blah blah... Rather than have copies of all these in the projects > we symbolic link them in. (So we only have one set of images to manage > not lots!) > > Unfortunately, the links created in the IDE are relative to the project > directory, e.g. PHlogo.png would be linked in referencing something > like "../../common/images/logos/paddys-hill/PHlogo.png" > > When the project is copied to the temporary build dir in the packaging > process, these links are now incorrect. > > The following diff (also attached) corrects this by adding the L option > to the cp command so that symbolic links are snapped. > > Index: Package.module > =================================================================== > --- Package.module (revision 4702) > +++ Package.module (working copy) > @@ -1383,7 +1383,7 @@ > Try sCmd = Scan(Project.GetCompileCommand(True, Not > Project.KeepDebugInfo, False), "*/bin/gbc"& System.Version& " *")[1] > > 'Mkdir sBuildDir&/ Project.Name > - Shell "cp -r "& Shell$(Project.Dir)& " "& Shell$(sBuildDir&/ > Project.Name) Wait > + Shell "cp -rL "& Shell$(Project.Dir)& " "& Shell$(sBuildDir&/ > Project.Name) Wait > sFile = Replace(File.Load("install/acinclude.m4"), "$(VERSION)", > CStr(System.Version)) > sFile = Replace(sFile, "$(PACKAGE_VERSION)", $sVersion) > sFile = Replace(sFile, "$(EXTRA_TEST)", Project.ExtraAutoconfTest) > > > regards > Bruce > OK, done. -- Beno?t Minisini From gambas at ...1... Fri May 4 23:19:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 May 2012 23:19:44 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1336137927.28628.37.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336137927.28628.37.camel@...2688...> Message-ID: <4FA447F0.2050404@...1...> Le 04/05/2012 15:25, Bruce Bruen a ?crit : > Subtopic autotools > > autotools now works like a dream. We have been distributing stuff via > autotools for several days now and have only come across the following > problem. > > "make uninstall" (as root) appears to work but in fact doesn't. Given > that we have installed "sysinfos-0.0.2.tar.gz" via the usual > unpack/cd src dir/ config/make/(root)make install > then we can see it quite well via: > > [root at ...2711... ~]# which sysinfos.gambas > /usr/local/bin/sysinfos.gambas > > However, when I try to use the "uninstall" target, I get: > > [root at ...2711... sysinfos-0.0.2]# make uninstall > Removing sysinfos.gambas file... rm /usr/local/bin/sysinfos.gambas > [root at ...2711... sysinfos-0.0.2]# > I think a "-f" option is missing to the 'rm' command thre. I will add it in the next revision, and you will tell me if it works. Regards, -- Beno?t Minisini From gambas at ...1... Fri May 4 23:22:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 May 2012 23:22:27 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335874551.7768.58.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335869602.2334.17.camel@...40...> <1335874551.7768.58.camel@...2688...> Message-ID: <4FA44893.1090706@...1...> Le 01/05/2012 14:15, Bruce Bruen a ?crit : > Oh I forgot! > > A new problem. Spaces in the vendor name cause fails in the rpm > builder. > > This is not a high priority issue, but it would be nice if spaces in the > "Vendor name" field in the wizard were converted to underscores before > it was used in the rpm build. > > But then again, it's probably only an issue to imbeciles like me that > register their company name as something like "Paddys-Hill dot Net". > > > best regards > (I'm going to bed now) > > Bruce > OK, I have converted spaces to underscore in vendor name for the next revision. Regards, -- Beno?t Minisini From gambas at ...1... Fri May 4 23:34:34 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 04 May 2012 23:34:34 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335871649.7768.28.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> Message-ID: <4FA44B6A.8020604@...1...> Le 01/05/2012 13:27, Bruce Bruen a ?crit : > On Tue, 2012-05-01 at 12:22 +0200, Beno?t Minisini wrote: >> A lot of answers to a lot of stuff, so I'm going to break it up into several posts. > >> Le 29/04/2012 06:45, Bruce Bruen a ?crit : >>> >>> SUGGESTION: Libraries should not need to have a startup class. At >>> the moment I "must" include a dummy module to prevent any >>> test-harness code leaking into the user environment (which could >>> cause damage if the library were to be run as a normal gambas >>> executable.) At the moment the IDE will not let a library be made >>> into an executable or packaged unless it has a startup class. It >>> would be preferable that projects defined as libraries would not >>> execute via the runtime, that way test harness code could be left in >>> place. Currently I have to check that the coders have left the >>> startup class pointing to the following:- >>> >>> ' Gambas module file >>> >>> ' Null module to provide a fake startup point >>> >>> Public Sub Main() >>> >>> Error "Please do not run this as a program. It is a gambas library." >>> >>> End >>> >> >> Mmm. You are right, for libraries the IDE should let you not defined a >> startup class. I will see what I can do. >> > I think that ("the IDE should let you not defined a startup class") is > an overkill. What I need is a way to use a startup class in a library > when I'm developing it but when it is packaged the startup class should > be "removeable". > > To explain, during development/debug/support for a library, we need to > be able to run it as a normal project through the IDE. This is what I > meant about "test harnesses". In general, we have a MMain module in the > library that may, or in fact usually, contains code that lets us enter > method parameter values manually. This type of code if used by an > ill-advised user could cause great havoc on an underlying database or > the like. > > What I would like is a way to manually disable or "turn off" the startup > class when the library project is made as an executable or is packaged. > > I suppose that the alternative is to not allow startup classes in > libraries or components and keep changing the project type to "Normal" > when we are debugging/supporting but I can foresee a lot of mistakes if > that route is chosen. > > The way I see it is this. (Hypothetically) I've just spent some time on > the phone to Mr Jones and it appears that there is, amazingly, a problem > in the xyzzzy library. I open the xyzzy project and using the test > harness code therein I find that we did in fact code a logic error when > some date parameter to a dual timezone function is exactly the date and > time that daylight savings changed in one of the timezones. ( I kid you > not, this happened recently!) So I give the problem to the wizkids, er > sorry, my brilliant development team, and they come up with a nicely > tested solution. > > So now all I want to do is turn off the startup class, compile and make > the distributable version and send it out. > > With a bit of thought... maybe what libraries/components need is a > startup class that only works within the IDE... > > hmm! > > Bruce > I don't like any of those solution at the moment. And if I define a compilation constant that will tell the compiler if we are making an executable or not? That way, you will just have to add a "#If Executable" (or something like that) to compile or not compile the startup function ? -- Beno?t Minisini From gambas at ...1... Sat May 5 02:44:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 02:44:58 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <20120504195923.GD609@...2774...> References: <20120501083158.GA590@...2774...> <20120501084713.GB590@...2774...> <4F9FB9B9.5060206@...1...> <20120501102803.GD590@...2774...> <20120504195923.GD609@...2774...> Message-ID: <4FA4780A.3070602@...1...> Le 04/05/2012 21:59, tobi a ?crit : > On Tue, 01 May 2012, tobi wrote: >>> >>> Hu hu. It should be possible to override any class, but please provide a >>> project so that I can debug! >>> >>> -- >>> Beno?t Minisini >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> Again, the attached project is not created with the IDE, I keep copying the project structure of one >> to another for months ;) But it works fine with gbc3 and gbx3... > > Could you reproduce? I don't want to appear unpatient - I already do, I know ;) - but we really want > to override Variant[] over here to finish a chapter in our book. > The bug should have been fixed in revision #4715. Regards, -- Beno?t Minisini From gambas at ...1... Sat May 5 02:45:45 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 05 May 2012 02:45:45 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA44B6A.8020604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> Message-ID: <4FA47839.3040404@...1...> Le 04/05/2012 23:34, Beno?t Minisini a ?crit : > > I don't like any of those solution at the moment. > > And if I define a compilation constant that will tell the compiler if we > are making an executable or not? That way, you will just have to add a > "#If Executable" (or something like that) to compile or not compile the > startup function ? > This is the solution I implemented in revision #4715. Tell me if it fits your needs. Regards, -- Beno?t Minisini From bbruen at ...2308... Sat May 5 03:42:21 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 05 May 2012 11:12:21 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA47839.3040404@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> Message-ID: <1336182141.28628.43.camel@...2688...> On Sat, 2012-05-05 at 02:45 +0200, Beno?t Minisini wrote: > Le 04/05/2012 23:34, Beno?t Minisini a ?crit : > > > > I don't like any of those solution at the moment. > > > > And if I define a compilation constant that will tell the compiler if we > > are making an executable or not? That way, you will just have to add a > > "#If Executable" (or something like that) to compile or not compile the > > startup function ? > > > > This is the solution I implemented in revision #4715. Tell me if it fits > your needs. > > Regards, > Beno?t, I'm trying it but I need a bit of help on usage. (I'm using a library that has a startup form not a module. Is this a bad idea?) Public Sub Form_Open() #If Executable Me.Center LoadInfos #Else Error "This is a library.\nPlease do not run it directly" Message.Title = "Don't do that!" Message.Error("This is a library.\nPlease do not run it directly", "OK") Quit #Endif End If I compile the project and run it via gbx3, I get the expected "Don't do that" messages, but if I run it in the IDE I get the same thing. Bruce From gambas at ...1... Sat May 5 03:59:48 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 05 May 2012 03:59:48 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1336182141.28628.43.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> Message-ID: <4FA48994.3020402@...1...> Le 05/05/2012 03:42, Bruce Bruen a ?crit : > On Sat, 2012-05-05 at 02:45 +0200, Beno?t Minisini wrote: >> Le 04/05/2012 23:34, Beno?t Minisini a ?crit : >>> >>> I don't like any of those solution at the moment. >>> >>> And if I define a compilation constant that will tell the compiler if we >>> are making an executable or not? That way, you will just have to add a >>> "#If Executable" (or something like that) to compile or not compile the >>> startup function ? >>> >> >> This is the solution I implemented in revision #4715. Tell me if it fits >> your needs. >> >> Regards, >> > Beno?t, > > I'm trying it but I need a bit of help on usage. (I'm using a library > that has a startup form not a module. Is this a bad idea?) > > Public Sub Form_Open() > > #If Executable > Me.Center > LoadInfos > #Else > Error "This is a library.\nPlease do not run it directly" > Message.Title = "Don't do that!" > Message.Error("This is a library.\nPlease do not run it directly", > "OK") > Quit > #Endif > > End > > If I compile the project and run it via gbx3, I get the expected "Don't > do that" messages, but if I run it in the IDE I get the same thing. > > Bruce > The constant is "Exec". I try to use Gambas keywords, because it is easier for the preprocessor (that is not entirely finished). Regards, -- Beno?t Minisini From bbruen at ...2308... Sat May 5 04:07:22 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 05 May 2012 11:37:22 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA447F0.2050404@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336137927.28628.37.camel@...2688...> <4FA447F0.2050404@...1...> Message-ID: <1336183642.28628.46.camel@...2688...> On Fri, 2012-05-04 at 23:19 +0200, Beno?t Minisini wrote: > Le 04/05/2012 15:25, Bruce Bruen a ?crit : > > Subtopic autotools > > > > autotools now works like a dream. We have been distributing stuff via > > autotools for several days now and have only come across the following > > problem. > > > > "make uninstall" (as root) appears to work but in fact doesn't. Given > > that we have installed "sysinfos-0.0.2.tar.gz" via the usual > > unpack/cd src dir/ config/make/(root)make install > > then we can see it quite well via: > > > > [root at ...2711... ~]# which sysinfos.gambas > > /usr/local/bin/sysinfos.gambas > > > > However, when I try to use the "uninstall" target, I get: > > > > [root at ...2711... sysinfos-0.0.2]# make uninstall > > Removing sysinfos.gambas file... rm /usr/local/bin/sysinfos.gambas > > [root at ...2711... sysinfos-0.0.2]# > > > > I think a "-f" option is missing to the 'rm' command thre. I will add it > in the next revision, and you will tell me if it works. > > Regards, > Beno?t, Also missing a ";" on the previous line! Diff attached Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: makefile.diff Type: text/x-patch Size: 468 bytes Desc: not available URL: From bbruen at ...2308... Sat May 5 04:08:17 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 05 May 2012 11:38:17 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA44771.3060502@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335934445.7768.69.camel@...2688...> <4FA44771.3060502@...1...> Message-ID: <1336183697.28628.47.camel@...2688...> Thanks, Works fine now. Bruce On Fri, 2012-05-04 at 23:17 +0200, Beno?t Minisini wrote: > Le 02/05/2012 06:54, Bruce Bruen a ?crit : > > Hi folks! > > > > (I'm getting pretty excited about the packager now.) > > > > > > Beno?t, > > > > Please consider this little change for the autotools packager code in > > the IDE. > > > > We use a lot of common images in our projects. Corporate identity etc > > etc blah blah... Rather than have copies of all these in the projects > > we symbolic link them in. (So we only have one set of images to manage > > not lots!) > > > > Unfortunately, the links created in the IDE are relative to the project > > directory, e.g. PHlogo.png would be linked in referencing something > > like "../../common/images/logos/paddys-hill/PHlogo.png" > > > > When the project is copied to the temporary build dir in the packaging > > process, these links are now incorrect. > > > > The following diff (also attached) corrects this by adding the L option > > to the cp command so that symbolic links are snapped. > > > > Index: Package.module > > =================================================================== > > --- Package.module (revision 4702) > > +++ Package.module (working copy) > > @@ -1383,7 +1383,7 @@ > > Try sCmd = Scan(Project.GetCompileCommand(True, Not > > Project.KeepDebugInfo, False), "*/bin/gbc"& System.Version& " *")[1] > > > > 'Mkdir sBuildDir&/ Project.Name > > - Shell "cp -r "& Shell$(Project.Dir)& " "& Shell$(sBuildDir&/ > > Project.Name) Wait > > + Shell "cp -rL "& Shell$(Project.Dir)& " "& Shell$(sBuildDir&/ > > Project.Name) Wait > > sFile = Replace(File.Load("install/acinclude.m4"), "$(VERSION)", > > CStr(System.Version)) > > sFile = Replace(sFile, "$(PACKAGE_VERSION)", $sVersion) > > sFile = Replace(sFile, "$(EXTRA_TEST)", Project.ExtraAutoconfTest) > > > > > > regards > > Bruce > > > > OK, done. > From bbruen at ...2308... Sat May 5 04:49:42 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 05 May 2012 12:19:42 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA48994.3020402@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> Message-ID: <1336186182.28628.53.camel@...2688...> On Sat, 2012-05-05 at 03:59 +0200, Beno?t Minisini wrote: > Le 05/05/2012 03:42, Bruce Bruen a ?crit : > > On Sat, 2012-05-05 at 02:45 +0200, Beno?t Minisini wrote: > >> Le 04/05/2012 23:34, Beno?t Minisini a ?crit : > >>> > >>> ... > >>> > >>> And if I define a compilation constant that will tell the compiler if we > >>> are making an executable or not? That way, you will just have to add a > >>> "#If Executable" (or something like that) to compile or not compile the > >>> startup function ? > >>> > >> > >> This is the solution I implemented in revision #4715. Tell me if it fits > >> your needs. > >> > The constant is "Exec". I try to use Gambas keywords, because it is > easier for the preprocessor (that is not entirely finished). > > Regards, > OK! I got it now, e.g. Public Sub Main() Debug Application.Startup.Name #If Exec ' This code is executed when running outside the IDE Debug "I am the executable" Error "Please don't run this file!" #Else ' This code is only executed when running inside the IDE Debug "Not an executable" Print "Executing some test code" ' Test1 ' Test2 ' etc #Endif End Yes, it looks as though this will fit our needs. I feel that I need to do some further testing on real example libraries, just to be sure. (But I have some other things to do now, it's Saturday here. So I'll get back to you in a few days.) Bruce From tobiasboege01 at ...1601... Sat May 5 08:51:48 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 08:51:48 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA48994.3020402@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> Message-ID: <20120505065148.GA718@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 05/05/2012 03:42, Bruce Bruen a ?crit : > > On Sat, 2012-05-05 at 02:45 +0200, Beno?t Minisini wrote: > >> Le 04/05/2012 23:34, Beno?t Minisini a ?crit : > >>> > >>> I don't like any of those solution at the moment. > >>> > >>> And if I define a compilation constant that will tell the compiler if we > >>> are making an executable or not? That way, you will just have to add a > >>> "#If Executable" (or something like that) to compile or not compile the > >>> startup function ? > >>> > >> > >> This is the solution I implemented in revision #4715. Tell me if it fits > >> your needs. > >> > >> Regards, > >> > > Beno?t, > > > > I'm trying it but I need a bit of help on usage. (I'm using a library > > that has a startup form not a module. Is this a bad idea?) > > > > Public Sub Form_Open() > > > > #If Executable > > Me.Center > > LoadInfos > > #Else > > Error "This is a library.\nPlease do not run it directly" > > Message.Title = "Don't do that!" > > Message.Error("This is a library.\nPlease do not run it directly", > > "OK") > > Quit > > #Endif > > > > End > > > > If I compile the project and run it via gbx3, I get the expected "Don't > > do that" messages, but if I run it in the IDE I get the same thing. > > > > Bruce > > > > The constant is "Exec". I try to use Gambas keywords, because it is > easier for the preprocessor (that is not entirely finished). > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Concerning the preprocessor... What about utilising the cpp just as a command that runs over each class and module file before seen by the compiler code? It's already powerful enough or is that too much for gambas? (It would break existing code due to character case in the gambas preprocessor directives...) From tobiasboege01 at ...1601... Sat May 5 09:36:41 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 09:36:41 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml Message-ID: <20120505073641.GB718@...2774...> Hi Adrien, I get the following when trying to _install_ gb.xml.html: [html]$ sudo make install [...] *** Warning: Linking the shared library gb.xml.html.la against the loadable module *** gb.xml.so is not portable! libtool: relink: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 /usr/bin/ld: cannot find -lgb.xml collect2: error: ld returned 1 exit status libtool: install: error: relink `gb.xml.html.la' with the above command before installing it [...] Has anyone else problems with that? I have no use for the last sentence in the above output... I don't know if it is even possible to link against the gambas components. I was taught that a shared library _has_ to follow the "lib" & name & ".so" name pattern in order to be recognised by the linker which is not true for gambas components? I also don't know if other components do similar, so I have to rely on what I think to know about library names... (But I suppose, you and anyone else got this stuff installed...) Regards, Tobi From tobiasboege01 at ...1601... Sat May 5 11:07:15 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 11:07:15 +0200 Subject: [Gambas-user] Segfault when overriding Variant[] In-Reply-To: <4FA4780A.3070602@...1...> References: <20120501083158.GA590@...2774...> <20120501084713.GB590@...2774...> <4F9FB9B9.5060206@...1...> <20120501102803.GD590@...2774...> <20120504195923.GD609@...2774...> <4FA4780A.3070602@...1...> Message-ID: <20120505090715.GB577@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 04/05/2012 21:59, tobi a ?crit : > > On Tue, 01 May 2012, tobi wrote: > >>> > >>> Hu hu. It should be possible to override any class, but please provide a > >>> project so that I can debug! > >>> > >>> -- > >>> Beno?t Minisini > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> Again, the attached project is not created with the IDE, I keep copying the project structure of one > >> to another for months ;) But it works fine with gbc3 and gbx3... > > > > Could you reproduce? I don't want to appear unpatient - I already do, I know ;) - but we really want > > to override Variant[] over here to finish a chapter in our book. > > > > The bug should have been fixed in revision #4715. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Works great! Now I can easily sort a two-dimensional Variant matrix and Hans will finish his texts :) Regards, Tobi From gambas at ...1... Sat May 5 12:55:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 12:55:32 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <20120505065148.GA718@...2774...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> <20120505065148.GA718@...2774...> Message-ID: <4FA50724.8020708@...1...> Le 05/05/2012 08:51, tobi a ?crit : > > Concerning the preprocessor... What about utilising the cpp just as a command that runs over each > class and module file before seen by the compiler code? It's already powerful enough or is that > too much for gambas? (It would break existing code due to character case in the gambas preprocessor > directives...) > Yes, it will slow down the compiler and break everything (because the code becomes impossible to analyze) Regards, -- Beno?t Minisini From gambas at ...1... Sat May 5 13:45:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 13:45:06 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <20120505073641.GB718@...2774...> References: <20120505073641.GB718@...2774...> Message-ID: <4FA512C2.1080701@...1...> Le 05/05/2012 09:36, tobi a ?crit : > Hi Adrien, > > I get the following when trying to _install_ gb.xml.html: > > [html]$ sudo make install > > [...] > > *** Warning: Linking the shared library gb.xml.html.la against the loadable module > *** gb.xml.so is not portable! > libtool: relink: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 > /usr/bin/ld: cannot find -lgb.xml > collect2: error: ld returned 1 exit status > libtool: install: error: relink `gb.xml.html.la' with the above command before installing it > > [...] > > Has anyone else problems with that? I have no use for the last sentence in the above output... > I don't know if it is even possible to link against the gambas components. I was taught that a > shared library _has_ to follow the "lib"& name& ".so" name pattern in order to be recognised > by the linker which is not true for gambas components? I also don't know if other components > do similar, so I have to rely on what I think to know about library names... > (But I suppose, you and anyone else got this stuff installed...) > > Regards, > Tobi > The problem is under investigation! -- Beno?t Minisini From sotema at ...626... Sat May 5 13:59:30 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Sat, 05 May 2012 13:59:30 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: References: Message-ID: <1336219170.2113.2.camel@...2476...> Same problem here on Ubuntu 12.04 Emanuele From sotema at ...626... Sat May 5 14:01:53 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Sat, 05 May 2012 14:01:53 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: References: Message-ID: <1336219313.2113.4.camel@...2476...> > *** Warning: Linking the shared library gb.xml.html.la against the loadable module > *** gb.xml.so is not portable! > libtool: relink: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 > /usr/bin/ld: cannot find -lgb.xml > collect2: error: ld returned 1 exit status > libtool: install: error: relink `gb.xml.html.la' with the above command before installing it > > [...] > > Has anyone else problems with that? I have no use for the last sentence in the above output... > I don't know if it is even possible to link against the gambas components. I was taught that a > shared library _has_ to follow the "lib" & name & ".so" name pattern in order to be recognised > by the linker which is not true for gambas components? I also don't know if other components > do similar, so I have to rely on what I think to know about library names... > (But I suppose, you and anyone else got this stuff installed...) > > Regards, > Tobi Same problem here. Ubuntu 12.04 From cj at ...2828... Sat May 5 14:13:12 2012 From: cj at ...2828... (Christer Johansson) Date: Sat, 5 May 2012 14:13:12 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? Message-ID: <000001cd2ab8$743b12f0$0f00a8c0@...2829...> Hi, Sorry if this have been covered here before, I'm new to the list. I wonder if any Debian ARMEL *.deb packages for the Gambas 3 components exists somewhere? I've searched high and low over at Debian.org etc. but there is only for Gambas 2. I'm looking for the following two basic components so I can get Gambas 3 CLI programs running on my NAS running Debian Lenny on ARM... gambas3-runtime gambas3-gb-net I have the Gambas 2 2.23.1 components installed and working on my NAS but experiencing some wierd things when using SocketServer and Sockets. Have tried with different Gambas 2 versions (2.07-1, 2.17.0 and 2.23.1) but problem persists and since Gambas 2 seems to be EOL I hope to be able to get Gambas 3 running on the NAS. BTW, since my NAS is headless I develop on a desktop running Xubuntu then copy the compiled P-code to the NAS and run it there, works great except for socket problems mentioned above. /CJ From tobiasboege01 at ...1601... Sat May 5 14:45:52 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 14:45:52 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA50724.8020708@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> <20120505065148.GA718@...2774...> <4FA50724.8020708@...1...> Message-ID: <20120505124552.GC577@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 05/05/2012 08:51, tobi a ?crit : > > > > Concerning the preprocessor... What about utilising the cpp just as a command that runs over each > > class and module file before seen by the compiler code? It's already powerful enough or is that > > too much for gambas? (It would break existing code due to character case in the gambas preprocessor > > directives...) > > > > Yes, it will slow down the compiler and break everything (because the > code becomes impossible to analyze) > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user OK. But just for interest, what do you mean by "impossible to analyze"? Excuse me, but I haven't read anything from the compiler yet. (When you say "analyze", I think of line numbers and stuff (optimisation can be done later, too, right?), but line numbers would be possible, I'm almost a bit certain, to report to the IDE, if that is what you mean) I just tested it and found that cpp warns at ['] the gambas comment character which, of course, may not ahve any closing ['] one and thus confuses the program but it fearlessly ignores that and continues as expected. As an example, consider these actions: $ ls -AR .: .gambas .project .src .startup ./.gambas: ./.src: MMain.module myfunc.function $ cp .src/MMain.module .src/MMain.module.old $ cat .src/MMain.module ' Gambas module file #ifndef NOPREPROC #define PREPROC #endif #include "myfunc.function" Public Sub Main() #ifdef PREPROC /* * I can use these comments when c-preprocessed, of course! */ Print "This is cool" myfunc() #endif Print "This is normal" End $ cpp .src/MMain.module.old | sed 's/^#.*$//' > .src/MMain.module .src/MMain.module:1:1: warning: missing terminating ' character [enabled by default] $ gbc3 -ga OK $ cp .src/MMain.module.old .src/MMain.module $ gbx3 This is cool preprocessing This is normal $ cpp -DNOPREPROC .src/MMain.module.old | sed 's/^#.*$//' > .src/MMain.module $ gbc3 -ga OK $ gbx3 This is normal It works! Used by people at least a bit familiar with the basics of the cpp won't have any problems, the only thing is the translation of the cpp line control which I have discarded gracefully using sed because I don't make any mistakes ;) It's clear that it would slow down the compiler and that most people won't need those fancy tricks as gambas is basic and has advanced enough compiling mechanisms, I'm convinced, but: a simple line on the top of a file to enable the cpp for the rest of people that may utilise it wouldn't hurt?: ' Gambas class file ' :use cpp Please, explain your worries. A more intrusive "feature" would be the ability of using that c-/c++-style comments /**/, // within gambas when cpp'ed... I have no reason to write this post (never needed to used conditional compilation or something from within gambas) except to save you work. Reagards, Tobi From vuott at ...325... Sat May 5 15:38:14 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 5 May 2012 14:38:14 +0100 (BST) Subject: [Gambas-user] svn 4714 Rev. fails its installation ! Message-ID: <1336225094.27591.YahooMailClassic@...2789...> Hello, I'ld like to notice that svn 4714 Rev. fails its installation: make[4]: *** [install-gblibLTLIBRARIES] Error 1 make[4]: Leaving directory `/home/ploppo/trunk/gb.xml/src/html' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/ploppo/trunk/gb.xml/src/html' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/ploppo/trunk/gb.xml/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/ploppo/trunk/gb.xml' make: *** [install-recursive] Error 1 Regards Vuotttt From tobiasboege01 at ...1601... Sat May 5 17:15:46 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 17:15:46 +0200 Subject: [Gambas-user] Announcement: gambas-buch.de officially started Message-ID: <20120505151546.GG577@...2774...> Hi gambas-users, at http://www.gambas-buch.de you will find a website on which a book on the Gambas programming language will be published. After over 3 years of intensive research, now the first chapters are published. We place value on good description of the classes and components of Gambas as well as on the practical implementation of the theory in concrete Gambas projects. For each document, there is a PDF version to download and all the projects referred to and built from the article. Progressively, all projects will be ported to, developed and tested in GB3. The authors hope for animated cooperation with the readers of the online book. A contact form is available to receive comments and hints and to improve the texts and projects at place. Best regards, Hans and Tobias From tobiasboege01 at ...1601... Sat May 5 15:30:41 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 15:30:41 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <20120505124552.GC577@...2774...> References: <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> <20120505065148.GA718@...2774...> <4FA50724.8020708@...1...> <20120505124552.GC577@...2774...> Message-ID: <20120505133041.GF577@...2774...> On Sat, 05 May 2012, tobi wrote: > On Sat, 05 May 2012, Beno?t Minisini wrote: > > Le 05/05/2012 08:51, tobi a ?crit : > > > > > > Concerning the preprocessor... What about utilising the cpp just as a command that runs over each > > > class and module file before seen by the compiler code? It's already powerful enough or is that > > > too much for gambas? (It would break existing code due to character case in the gambas preprocessor > > > directives...) > > > > > > > Yes, it will slow down the compiler and break everything (because the > > code becomes impossible to analyze) > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > OK. > But just for interest, what do you mean by "impossible to analyze"? Excuse me, but I haven't read > anything from the compiler yet. (When you say "analyze", I think of line numbers and stuff > (optimisation can be done later, too, right?), but line numbers would be possible, I'm almost a bit > certain, to report to the IDE, if that is what you mean) > I just tested it and found that cpp warns at ['] the gambas comment character which, of course, may > not ahve any closing ['] one and thus confuses the program but it fearlessly ignores that and > continues as expected. > > As an example, consider these actions: > $ ls -AR > .: > .gambas .project .src .startup > > ./.gambas: > > ./.src: > MMain.module myfunc.function > $ cp .src/MMain.module .src/MMain.module.old > $ cat .src/MMain.module > ' Gambas module file > > #ifndef NOPREPROC > #define PREPROC > #endif > > #include "myfunc.function" > > Public Sub Main() > > #ifdef PREPROC > /* > * I can use these comments when c-preprocessed, of course! > */ > Print "This is cool" > myfunc() > #endif > Print "This is normal" > > End > $ cpp .src/MMain.module.old | sed 's/^#.*$//' > .src/MMain.module > .src/MMain.module:1:1: warning: missing terminating ' character [enabled by default] > $ gbc3 -ga > OK > $ cp .src/MMain.module.old .src/MMain.module > $ gbx3 > This is cool > preprocessing > This is normal > $ cpp -DNOPREPROC .src/MMain.module.old | sed 's/^#.*$//' > .src/MMain.module > $ gbc3 -ga > OK > $ gbx3 > This is normal > > It works! > Used by people at least a bit familiar with the basics of the cpp won't have any problems, the only > thing is the translation of the cpp line control which I have discarded gracefully using sed because > I don't make any mistakes ;) > > It's clear that it would slow down the compiler and that most people won't need those fancy tricks > as gambas is basic and has advanced enough compiling mechanisms, I'm convinced, but: a simple line > on the top of a file to enable the cpp for the rest of people that may utilise it wouldn't hurt?: > ' Gambas class file > ' :use cpp > Please, explain your worries. > > A more intrusive "feature" would be the ability of using that c-/c++-style comments /**/, // within > gambas when cpp'ed... > > I have no reason to write this post (never needed to used conditional compilation or something from > within gambas) except to save you work. > > Reagards, > Tobi Oh, you should know: $ cat .src/myfunc.function #ifdef PREPROC Private Sub myfunc() Print "preprocessing" End #endif And forget that $ cp .src/MMain.module.old .src/MMain.module above, it is useless. From gambas at ...1... Sat May 5 18:50:36 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 18:50:36 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <20120505133041.GF577@...2774...> References: <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> <20120505065148.GA718@...2774...> <4FA50724.8020708@...1...> <20120505124552.GC577@...2774...> <20120505133041.GF577@...2774...> Message-ID: <4FA55A5C.20709@...1...> Le 05/05/2012 15:30, tobi a ?crit : >> >> OK. >> But just for interest, what do you mean by "impossible to analyze"? Excuse me, but I haven't read >> anything from the compiler yet. (When you say "analyze", I think of line numbers and stuff >> (optimisation can be done later, too, right?), but line numbers would be possible, I'm almost a bit >> certain, to report to the IDE, if that is what you mean) >> I just tested it and found that cpp warns at ['] the gambas comment character which, of course, may >> not ahve any closing ['] one and thus confuses the program but it fearlessly ignores that and >> continues as expected. >> >> ... "cpp" means "C PreProcessor". This program was designed (not always intelligently) for the C-language. This is the reason why there is a preprocessor inside the Gambas compiler dedicated to the Gambas language. But this preprocessor is very rudimentary, only the really needed features being implemented. When I say "impossible to analyze", I mean that a preprocessor like "cpp" is really obfuscating the real code, and so it will prevent the development from analyzing the code. Then you can say bye-bye to automatic completion, method arguments popups and so on. Regards, -- Beno?t Minisini From gambas at ...1... Sat May 5 18:51:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 18:51:44 +0200 Subject: [Gambas-user] Announcement: gambas-buch.de officially started In-Reply-To: <20120505151546.GG577@...2774...> References: <20120505151546.GG577@...2774...> Message-ID: <4FA55AA0.2040206@...1...> Le 05/05/2012 17:15, tobi a ?crit : > Hi gambas-users, > > at http://www.gambas-buch.de you will find a website on which a book on the Gambas programming > language will be published. After over 3 years of intensive research, now the first chapters are > published. We place value on good description of the classes and components of Gambas as well as > on the practical implementation of the theory in concrete Gambas projects. For each document, > there is a PDF version to download and all the projects referred to and built from the article. > Progressively, all projects will be ported to, developed and tested in GB3. The authors hope for > animated cooperation with the readers of the online book. A contact form is available to receive > comments and hints and to improve the texts and projects at place. > > Best regards, > Hans and Tobias > Sorry, I can't read german (except a few words), so it will be hard for me to help you fixing the possible mistakes! -- Beno?t Minisini From tobiasboege01 at ...1601... Sat May 5 19:14:05 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 19:14:05 +0200 Subject: [Gambas-user] Announcement: gambas-buch.de officially started In-Reply-To: <4FA55AA0.2040206@...1...> References: <20120505151546.GG577@...2774...> <4FA55AA0.2040206@...1...> Message-ID: <20120505171405.GL577@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 05/05/2012 17:15, tobi a ?crit : > > Hi gambas-users, > > > > at http://www.gambas-buch.de you will find a website on which a book on the Gambas programming > > language will be published. After over 3 years of intensive research, now the first chapters are > > published. We place value on good description of the classes and components of Gambas as well as > > on the practical implementation of the theory in concrete Gambas projects. For each document, > > there is a PDF version to download and all the projects referred to and built from the article. > > Progressively, all projects will be ported to, developed and tested in GB3. The authors hope for > > animated cooperation with the readers of the online book. A contact form is available to receive > > comments and hints and to improve the texts and projects at place. > > > > Best regards, > > Hans and Tobias > > > > Sorry, I can't read german (except a few words), so it will be hard for > me to help you fixing the possible mistakes! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The sentence about improving and hints is meant for those who read the book. That excludes you, consequently, don't worry ;) If I remember correctly, there are a few german people around here and all are gambas-users which may find this - even if german - interesting... (I remember of a dutchman to whom the german language of a text was the same) When I had a problem, I always came to the mailing list and what goes through my hands will usually be proven. This inevitably leads to involving you all _in English_ when something would go wrong. The lack of translation - has there ever been a project that was translated from the beginning? - comes from: a) Hans who is not used to English b) Me because it would be too much to translate the texts Regards, Tobi From tobiasboege01 at ...1601... Sat May 5 19:21:21 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 5 May 2012 19:21:21 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA55A5C.20709@...1...> References: <1335871649.7768.28.camel@...2688...> <4FA44B6A.8020604@...1...> <4FA47839.3040404@...1...> <1336182141.28628.43.camel@...2688...> <4FA48994.3020402@...1...> <20120505065148.GA718@...2774...> <4FA50724.8020708@...1...> <20120505124552.GC577@...2774...> <20120505133041.GF577@...2774...> <4FA55A5C.20709@...1...> Message-ID: <20120505172121.GM577@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 05/05/2012 15:30, tobi a ?crit : > >> > >> OK. > >> But just for interest, what do you mean by "impossible to analyze"? Excuse me, but I haven't read > >> anything from the compiler yet. (When you say "analyze", I think of line numbers and stuff > >> (optimisation can be done later, too, right?), but line numbers would be possible, I'm almost a bit > >> certain, to report to the IDE, if that is what you mean) > >> I just tested it and found that cpp warns at ['] the gambas comment character which, of course, may > >> not ahve any closing ['] one and thus confuses the program but it fearlessly ignores that and > >> continues as expected. > >> > >> ... > > "cpp" means "C PreProcessor". This program was designed (not always > intelligently) for the C-language. > > This is the reason why there is a preprocessor inside the Gambas > compiler dedicated to the Gambas language. > > But this preprocessor is very rudimentary, only the really needed > features being implemented. > > When I say "impossible to analyze", I mean that a preprocessor like > "cpp" is really obfuscating the real code, and so it will prevent the > development from analyzing the code. Then you can say bye-bye to > automatic completion, method arguments popups and so on. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes, and even the manpage warns about using cpp with other languages and recommends one that is built especially for the certain language. (Although, I find it rather powerful apart from C) I didn't know the preprocessor was responsible for these nifty things. It seems to already play a great role - I was entirely focused on the directives it provides which permit to think that it wasn't that important and could be easily replaced. Sorry for the noise. Regards, Tobi From gambas at ...1... Sat May 5 22:53:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 May 2012 22:53:16 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <1336219313.2113.4.camel@...2476...> References: <1336219313.2113.4.camel@...2476...> Message-ID: <4FA5933C.3000504@...1...> Le 05/05/2012 14:01, Emanuele Sottocorno a ?crit : > >> *** Warning: Linking the shared library gb.xml.html.la against the loadable module >> *** gb.xml.so is not portable! >> libtool: relink: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 >> /usr/bin/ld: cannot find -lgb.xml >> collect2: error: ld returned 1 exit status >> libtool: install: error: relink `gb.xml.html.la' with the above command before installing it >> >> [...] >> >> Has anyone else problems with that? I have no use for the last sentence in the above output... >> I don't know if it is even possible to link against the gambas components. I was taught that a >> shared library _has_ to follow the "lib"& name& ".so" name pattern in order to be recognised >> by the linker which is not true for gambas components? I also don't know if other components >> do similar, so I have to rely on what I think to know about library names... >> (But I suppose, you and anyone else got this stuff installed...) >> >> Regards, >> Tobi > > Same problem here. Ubuntu 12.04 > Is it better with revision #4716? -- Beno?t Minisini From vuott at ...325... Sun May 6 00:00:58 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 5 May 2012 23:00:58 +0100 (BST) Subject: [Gambas-user] svn 4714 Rev. fails its installation too... In-Reply-To: <4FA5933C.3000504@...1...> Message-ID: <1336255258.5441.YahooMailClassic@...2789...> I'ld like to communicate that rev. 4716 didn't remove the problem: > make[4]: *** [install-gblibLTLIBRARIES] Error 1 > make[3]: *** [install-am] Error 2 > make[2]: *** [install-recursive] Error 1 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 caused by gb.xml Bye Vuott From gambas.fr at ...626... Sun May 6 00:20:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 6 May 2012 00:20:23 +0200 Subject: [Gambas-user] svn 4714 Rev. fails its installation too... In-Reply-To: <1336255258.5441.YahooMailClassic@...2789...> References: <4FA5933C.3000504@...1...> <1336255258.5441.YahooMailClassic@...2789...> Message-ID: the rev 4714 an 4716 work for me Arch linux, gcc 4.7 libtool 2.4.2 2012/5/6 Ru Vuott > > I'ld like to communicate that rev. 4716 didn't remove the problem: > > > make[4]: *** [install-gblibLTLIBRARIES] Error 1 > > make[3]: *** [install-am] Error 2 > > make[2]: *** [install-recursive] Error 1 > > make[1]: *** [install-recursive] Error 1 > > make: *** [install-recursive] Error 1 > > caused by gb.xml > > Bye > Vuott > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...1... Sun May 6 00:20:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 00:20:50 +0200 Subject: [Gambas-user] svn 4714 Rev. fails its installation too... In-Reply-To: <1336255258.5441.YahooMailClassic@...2789...> References: <1336255258.5441.YahooMailClassic@...2789...> Message-ID: <4FA5A7C2.4060908@...1...> Le 06/05/2012 00:00, Ru Vuott a ?crit : > > I'ld like to communicate that rev. 4716 didn't remove the problem: > >> make[4]: *** [install-gblibLTLIBRARIES] Error 1 >> make[3]: *** [install-am] Error 2 >> make[2]: *** [install-recursive] Error 1 >> make[1]: *** [install-recursive] Error 1 >> make: *** [install-recursive] Error 1 > > caused by gb.xml > > Bye > Vuott > Please provide the full output of 'make' (or 'make install'), not just the useless error messages! Thanks in advance. -- Beno?t Minisini From vuott at ...325... Sun May 6 02:32:45 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 01:32:45 +0100 (BST) Subject: [Gambas-user] svn 4716 Rev. fails its installation too... Message-ID: <1336264365.17137.YahooMailClassic@...2780...> > > Please provide the full output of 'make' (or 'make > install'), not just > the useless error messages! > > Thanks in advance. > > -- > Beno?t Minisini > Well, the copy of full message is in attached file messages.txt . Regards Vuotttt P.S. my O.S. is Linux version 3.0.0-12-generic gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Messages.txt URL: From ihaywood at ...1979... Sun May 6 02:45:44 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Sun, 6 May 2012 10:45:44 +1000 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2ab8$743b12f0$0f00a8c0@...2829...> References: <000001cd2ab8$743b12f0$0f00a8c0@...2829...> Message-ID: On Sat, May 5, 2012 at 10:13 PM, Christer Johansson wrote: > I wonder if any Debian ARMEL *.deb packages for the Gambas 3 components > exists somewhere? I've searched high and low over at Debian.org etc. but > there is only for Gambas 2. gambas3 packages for debian are "close to release", hopefully a matter of weeks. > I'm looking for the following two basic components so I can get Gambas 3 > CLI programs running on my NAS running Debian Lenny on ARM... can you compile it on the NAS? From bbruen at ...2308... Sun May 6 04:58:11 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 06 May 2012 12:28:11 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9FB94A.5010604@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> Message-ID: <1336273091.28628.58.camel@...2688...> (New sub-thread) ".info" has disappeared If a project has its type set to "Component" now, when it is compiled (or Make Executable) there is no .info file created in the project directory any more. Is this by design? (Because the autotools install target is still looking for it and fails. I can help fix the autotools scripts but I need to know if .info has disappeared on purpose.) Bruce From tobiasboege01 at ...1601... Sun May 6 10:43:15 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 6 May 2012 10:43:15 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <4FA5933C.3000504@...1...> References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> Message-ID: <20120506084315.GA578@...2774...> On Sat, 05 May 2012, Beno?t Minisini wrote: > Le 05/05/2012 14:01, Emanuele Sottocorno a ?crit : > > > >> *** Warning: Linking the shared library gb.xml.html.la against the loadable module > >> *** gb.xml.so is not portable! > >> libtool: relink: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 > >> /usr/bin/ld: cannot find -lgb.xml > >> collect2: error: ld returned 1 exit status > >> libtool: install: error: relink `gb.xml.html.la' with the above command before installing it > >> > >> [...] > >> > >> Has anyone else problems with that? I have no use for the last sentence in the above output... > >> I don't know if it is even possible to link against the gambas components. I was taught that a > >> shared library _has_ to follow the "lib"& name& ".so" name pattern in order to be recognised > >> by the linker which is not true for gambas components? I also don't know if other components > >> do similar, so I have to rely on what I think to know about library names... > >> (But I suppose, you and anyone else got this stuff installed...) > >> > >> Regards, > >> Tobi > > > > Same problem here. Ubuntu 12.04 > > > > Is it better with revision #4716? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Heh. Having seen that you altered the Makefile.am, I did a ./configure and noticed that I haven't had installed libxslt? Must be a new dependency in the configure.ac sicne a Makefile was generated by the last run (or my local copy was still confused by the gb.xml -> gb.libxml changes) - however, strange, but compiles and installs now (after a reconf)! Regards, Tobi From gambas.fr at ...626... Sun May 6 11:07:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 6 May 2012 11:07:41 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <20120506084315.GA578@...2774...> References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> <20120506084315.GA578@...2774...> Message-ID: 2012/5/6 tobi > On Sat, 05 May 2012, Beno?t Minisini wrote: > > Le 05/05/2012 14:01, Emanuele Sottocorno a ?crit : > > > > > >> *** Warning: Linking the shared library gb.xml.html.la against the > loadable module > > >> *** gb.xml.so is not portable! > > >> libtool: relink: g++ -fPIC -DPIC -shared -nostdlib > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o > .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o > .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o > .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 > -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 > -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname > -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 > > >> /usr/bin/ld: cannot find -lgb.xml > > >> collect2: error: ld returned 1 exit status > > >> libtool: install: error: relink `gb.xml.html.la' with the above > command before installing it > > >> > > >> [...] > > >> > > >> Has anyone else problems with that? I have no use for the last > sentence in the above output... > > >> I don't know if it is even possible to link against the gambas > components. I was taught that a > > >> shared library _has_ to follow the "lib"& name& ".so" name pattern > in order to be recognised > > >> by the linker which is not true for gambas components? I also don't > know if other components > > >> do similar, so I have to rely on what I think to know about library > names... > > >> (But I suppose, you and anyone else got this stuff installed...) > > >> > > >> Regards, > > >> Tobi > > > > > > Same problem here. Ubuntu 12.04 > > > > > > > Is it better with revision #4716? > > > > -- > > Beno?t Minisini > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Heh. Having seen that you altered the Makefile.am, I did a ./configure and > noticed that I haven't > had installed libxslt? Must be a new dependency in the configure.ac sicne > a Makefile was generated > by the last run (or my local copy was still confused by the gb.xml -> > gb.libxml changes) - however, > strange, but compiles and installs now (after a reconf)! > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > have you done a trunk/reconf-all ? -- Fabien Bodard From tobiasboege01 at ...1601... Sun May 6 11:11:36 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 6 May 2012 11:11:36 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> <20120506084315.GA578@...2774...> Message-ID: <20120506091136.GB578@...2774...> On Sun, 06 May 2012, Fabien Bodard wrote: > 2012/5/6 tobi > > > On Sat, 05 May 2012, Beno?t Minisini wrote: > > > Le 05/05/2012 14:01, Emanuele Sottocorno a ?crit : > > > > > > > >> *** Warning: Linking the shared library gb.xml.html.la against the > > loadable module > > > >> *** gb.xml.so is not portable! > > > >> libtool: relink: g++ -fPIC -DPIC -shared -nostdlib > > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o > > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o > > .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o > > .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o > > .libs/gb_xml_html_la-CElement.o -Wl,-rpath -Wl,/usr/local/lib/gambas3 > > -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 > > -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s > > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o > > /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o -Os -Wl,-soname > > -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0 > > > >> /usr/bin/ld: cannot find -lgb.xml > > > >> collect2: error: ld returned 1 exit status > > > >> libtool: install: error: relink `gb.xml.html.la' with the above > > command before installing it > > > >> > > > >> [...] > > > >> > > > >> Has anyone else problems with that? I have no use for the last > > sentence in the above output... > > > >> I don't know if it is even possible to link against the gambas > > components. I was taught that a > > > >> shared library _has_ to follow the "lib"& name& ".so" name pattern > > in order to be recognised > > > >> by the linker which is not true for gambas components? I also don't > > know if other components > > > >> do similar, so I have to rely on what I think to know about library > > names... > > > >> (But I suppose, you and anyone else got this stuff installed...) > > > >> > > > >> Regards, > > > >> Tobi > > > > > > > > Same problem here. Ubuntu 12.04 > > > > > > > > > > Is it better with revision #4716? > > > > > > -- > > > Beno?t Minisini > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Heh. Having seen that you altered the Makefile.am, I did a ./configure and > > noticed that I haven't > > had installed libxslt? Must be a new dependency in the configure.ac sicne > > a Makefile was generated > > by the last run (or my local copy was still confused by the gb.xml -> > > gb.libxml changes) - however, > > strange, but compiles and installs now (after a reconf)! > > > > Regards, > > Tobi > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > have you done a trunk/reconf-all ? > > -- > Fabien Bodard > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user No. From lists at ...2828... Sun May 6 11:55:32 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 6 May 2012 11:55:32 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2b6e$6d1aeb10$0f00a8c0@...2829...> > gambas3 packages for debian are "close to release", hopefully > a matter of weeks. Thanks for the heads-up and looking forward to the release. > > I'm looking for the following two basic components so I can > get Gambas 3 > > CLI programs running on my NAS running Debian Lenny on ARM... > can you compile it on the NAS? I doubt I'm able to install all the required packages to compile the whole Gambas3 source code on the NAS due to very little space on my rootfs. Is it somehow possible to only compile selected parts of Gambas3 (i.e the gambas3-runtime and gambas3-gb-net)? When compiling 3.1.1 last night in Xubuntu I couldn't notice such options but since I'm pretty new to all this Linux thing I ask... I also have RasPi's Debian 6 image running in QEMU ARM emulator so maybe another option could be to compile it there and them somehow manually "lift over" the gambas3-runtime and gambas3-gb-net components to the NAS, any thoughts or maybe things aren't that easy? /CJ From gambas.fr at ...626... Sun May 6 12:19:35 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 6 May 2012 12:19:35 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <20120506091136.GB578@...2774...> References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> <20120506084315.GA578@...2774...> <20120506091136.GB578@...2774...> Message-ID: do it ! From tobiasboege01 at ...1601... Sun May 6 12:22:05 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 6 May 2012 12:22:05 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> <20120506084315.GA578@...2774...> <20120506091136.GB578@...2774...> Message-ID: <20120506102205.GB11996@...2774...> On Sun, 06 May 2012, Fabien Bodard wrote: > do it ! > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Why? Everything already works fine here. (But, on the other hand, why not? Can't hurt) From gambas.fr at ...626... Sun May 6 12:26:06 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 6 May 2012 12:26:06 +0200 Subject: [Gambas-user] gb.xml.html: Cannot find -lgb.xml In-Reply-To: <20120506102205.GB11996@...2774...> References: <1336219313.2113.4.camel@...2476...> <4FA5933C.3000504@...1...> <20120506084315.GA578@...2774...> <20120506091136.GB578@...2774...> <20120506102205.GB11996@...2774...> Message-ID: 2012/5/6 tobi > On Sun, 06 May 2012, Fabien Bodard wrote: > > do it ! > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Why? Everything already works fine here. > (But, on the other hand, why not? Can't hurt) > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > well i'm late :) i have forgotten to read some of your mail -- Fabien Bodard From ihaywood at ...1979... Sun May 6 12:26:15 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Sun, 6 May 2012 20:26:15 +1000 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2b6e$6d1aeb10$0f00a8c0@...2829...> References: <000001cd2b6e$6d1aeb10$0f00a8c0@...2829...> Message-ID: On Sun, May 6, 2012 at 7:55 PM, Christer Johansson wrote: > I also have RasPi's Debian 6 image running in QEMU ARM emulator so maybe > another option could be to compile it there and them somehow manually > "lift over" the gambas3-runtime and gambas3-gb-net components to the NAS, > any thoughts or maybe things aren't that easy? ON the emulated RasPi install kendek's ubuntu packages from https://launchpad.net/~nemh/+archive/gambas3 to your sources.list. then grab all the dependencies apt-get build-dep gambas3 then grab the source code itself apt-get source gambas3 you may have to try different ubuntu versions of the packages to find one compatible with your debian, I suggest you start with the oldest (lucid) you can then compile the debian packages for armel inside the source directory like so debian/rules binary this will give you a home directory full of .deb files, you can copy across the ones you want to the NAS and install dpkg -i From lists at ...2828... Sun May 6 13:12:39 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 6 May 2012 13:12:39 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2b79$2c0cdc90$0f00a8c0@...2829...> > ON the emulated RasPi install kendek's > ubuntu packages from https://launchpad.net/~nemh/+archive/gambas3 to > your sources.list. > > then grab all the dependencies > apt-get build-dep gambas3 > > then grab the source code itself > > apt-get source gambas3 > > you may have to try different ubuntu versions of the packages to find > one compatible with your debian, I suggest you start with the oldest > (lucid) > > you can then compile the debian packages for armel inside the source > directory like so > > debian/rules binary > > this will give you a home directory full of .deb files, you can copy > across the ones you want to the NAS and install > > dpkg -i Thank you very much, I will give it a go and see if I sort things out! I noticed in the "latest news" frame at the Gambas homepage they mention the following... "Beware: The very last development version must be used. " How do I make sure I get the latest dev. version when grabbing the source code via apt-get or maybe it doesn't matter? /CJ From vuott at ...325... Sun May 6 13:57:40 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 12:57:40 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4717 fails its installation too... In-Reply-To: <1336264365.17137.YahooMailClassic@...2780...> Message-ID: <1336305460.82438.YahooMailClassic@...2789...> Hello, I tried update with new rev. 4717, but I'm sorry to give you the sad news that installation failed ! :-( This is the finel part of Make Install: .... main.c:96:6: error: conflicting types for 'Init' main.c:33:6: note: previous declaration of 'Init' was here main.c: In function 'Init': main.c:114:2: error: expected ';' before '}' token make[5]: *** [gb_opengl_la-main.lo] Error 1 make[5]: Leaving directory `/home/vuott/trunk/gb.opengl/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.opengl/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.opengl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.opengl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 ...Amen ! :-( Vuott From vuott at ...325... Sun May 6 14:00:52 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 13:00:52 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4717 fails its installation too... - BIS In-Reply-To: <1336305460.82438.YahooMailClassic@...2789...> Message-ID: <1336305652.62881.YahooMailClassic@...2695...> ...it seems problem, now, is gb.opengl ! From richard.j.walker at ...247... Sun May 6 14:06:22 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 6 May 2012 13:06:22 +0100 Subject: [Gambas-user] Gambas 3 arrays usage Message-ID: Greetings to the list on a fine Sunday afternoon (should be outside enjoying it instead of hacking on a new project!). I am having difficulty understanding the correct way to program with arrays in Gambas 3. The documentation has this warning notice: In Gambas 3, embedded arrays cannot be used as local variables anymore. But they can be public! This is from http://gambasdoc.org/help/lang/arraydecl?show&v3 The same page shows that local variables are declared as: (1) DIM Identifier AS [ NEW ] Datatype [ Array dimensions ... ] Embedded arrays are defined as being declared in this way: (2) [ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... ] AS Native Datatype My difficulty is that I do not understand how an embedded array declared with syntax (2) can be taken for a local variable, which is declared with syntax (1). Is there some other non-technical meaning for "local variable" which is intended in the notice? Richard From bbruen at ...2308... Sun May 6 14:13:02 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 06 May 2012 21:43:02 +0930 Subject: [Gambas-user] Packaging - rpmbuild Message-ID: <1336306382.28628.95.camel@...2688...> Me again! :-) Houston , we have a problem! I'm not too sure how to characterise this but, I'll start along these lines: 1) I'm fairly sure that rpmbuild (and friends) depends on some pretty stable autotools stuff in the source archive. For this reason I have been harping on about getting the autotools packager right. 2) Nasty and only diagnosed tonight !-( rpmbuild looks in the packager's home dir for a couple of nicely hidden and cryptic files called ".rpmrc" and ".rpmmacros". .rpmrc appears to contain the i-whatever architecture translates, viz: buildarchtranslate: i386: i586 buildarchtranslate: i486: i586 buildarchtranslate: i586: i586 buildarchtranslate: i686: i586 .rpmmacros on the other hand has some stuff that are important, viz %_topdir /home/bb/src/rpm %_tmppath /home/bb/src/tmp %packager paddys-hill %distribution phhorse %distsuffix ph12 %vendor Paddys-Hill_dot_Net 3) I'm pretty sure that we are using a generic and reasonably stable version of rpmbuild: [bb at ...2711... ~]$ rpmbuild --version RPM version 4.8.1 4) We build rpm packages for our clients outside gambas. Which work. So I'm not too amendable to the idea of mucking around with these files to suit the gambas packager. 5) The problem, as far as I am able to see with my limited knowledge of rpm builds, is the (_topdir) and (_tmppath) macros. These tend to override the places that the gambas rpm builder scripts are looking for "stuff", in particular the source archive. If you are still reading by now, God bless you. I've been trying to track this down for 12 hours straight. E'en more. I really would appreciate it, if you do know a heck of a lot about rpmbuild, that you let me know so we can fix this and add it back to gambas. Bruce From emil.lenngren at ...626... Sun May 6 14:28:25 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 6 May 2012 14:28:25 +0200 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: References: Message-ID: Embedded arrays are declared like this: Public ArrayOfStrings[5] As String While normal arrays are declared like Dim ArrayOfStrings As New String[5] or Public ArrayOfStrings As New String[5] I can agree the documentation is maybe a bit strange... Embedded arrays take upp less space since the data they contain are directly allocated as a datafield in a class, but slower to use because a wrapper object holding a reference is created every time you use it. Embedded arrays can not be declarated as a local variable, because each value on the stack always take up a constant memory usage in gambas (32 bytes for 64-bit platform), and arrays can be larger than that. I suggest you should avoid embedded arrays. They are useful when you need to create a struct containing an array that should be passed to an external C function that expects such a struct, but not otherwise. /Emil 2012/5/6 RICHARD WALKER > Greetings to the list on a fine Sunday afternoon (should be outside > enjoying it instead of hacking on a new project!). > > I am having difficulty understanding the correct way to program with > arrays in Gambas 3. The documentation has this warning notice: > > In Gambas 3, embedded arrays cannot be used as local variables > anymore. But they can be public! > > This is from http://gambasdoc.org/help/lang/arraydecl?show&v3 > > The same page shows that local variables are declared as: > > (1) DIM Identifier AS [ NEW ] Datatype [ Array dimensions ... ] > > Embedded arrays are defined as being declared in this way: > > (2) [ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... > ] AS Native Datatype > > My difficulty is that I do not understand how an embedded array > declared with syntax (2) can be taken for a local variable, which is > declared with syntax (1). Is there some other non-technical meaning > for "local variable" which is intended in the notice? > > Richard > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Sun May 6 14:39:20 2012 From: adamnt42 at ...626... (GMail) Date: Sun, 06 May 2012 22:09:20 +0930 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: References: Message-ID: <1336307960.28628.111.camel@...2688...> On Sun, 2012-05-06 at 13:06 +0100, RICHARD WALKER wrote: > Greetings to the list on a fine Sunday afternoon (should be outside > enjoying it instead of hacking on a new project!). > > I am having difficulty understanding the correct way to program with > arrays in Gambas 3. The documentation has this warning notice: > > In Gambas 3, embedded arrays cannot be used as local variables > anymore. But they can be public! > > This is from http://gambasdoc.org/help/lang/arraydecl?show&v3 > > The same page shows that local variables are declared as: > > (1) DIM Identifier AS [ NEW ] Datatype [ Array dimensions ... ] > > Embedded arrays are defined as being declared in this way: > > (2) [ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... > ] AS Native Datatype > > My difficulty is that I do not understand how an embedded array > declared with syntax (2) can be taken for a local variable, which is > declared with syntax (1). Is there some other non-technical meaning > for "local variable" which is intended in the notice? > > Richard Ah! Richard, Isn't language a wonderful thing. Or syntax, if you prefer. Look very, very carefully at the bits before "Identifier" in that help page. Now think, where do I use those keywords "DIM" and "PRIVATE" when declaring a variable (or a constant for that matter). Got it? No? Class Frog Static Private maxlegs as Integer Private legs as integer Public Sub _new(iLegs as Integer) Dim mylegs as Integer If iLegs<=Frog.maxlegs then mylegs=iLegs legs=mylegs Endif End Static Public Sub _init() maxlegs=3 End If the above hasn't got frogs legs, eggs and whatever dancing before your eyes, go back and look at each of the 37 words. It may take some practice.... it's taken me about 3 years :-) Bruce From adamnt42 at ...626... Sun May 6 14:46:26 2012 From: adamnt42 at ...626... (GMail) Date: Sun, 06 May 2012 22:16:26 +0930 Subject: [Gambas-user] SVN - Rev. 4717 fails its installation too... In-Reply-To: <1336305460.82438.YahooMailClassic@...2789...> References: <1336305460.82438.YahooMailClassic@...2789...> Message-ID: <1336308386.28628.117.camel@...2688...> On Sun, 2012-05-06 at 12:57 +0100, Ru Vuott wrote: > Hello, > > I tried update with new rev. 4717, but I'm sorry to give you the sad news that installation failed ! :-( > > This is the finel part of Make Install: > .... > main.c:96:6: error: conflicting types for 'Init' > main.c:33:6: note: previous declaration of 'Init' was here > main.c: In function 'Init': > main.c:114:2: error: expected ';' before '}' token > make[5]: *** [gb_opengl_la-main.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.opengl/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.opengl/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.opengl' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.opengl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > > ...Amen ! :-( > > Vuott > Vuott, As Benoit said earlier today, the last bit of the make output is the least possible information that you can give in these instances. All it is, is the make script unwinding itself. It is the stuff above that is important. At this point the best suggestion I can give is that you go and read the bit on troubleshooting and then post the "output.txt" cheers Bruce From bbruen at ...2308... Sun May 6 15:25:02 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 06 May 2012 22:55:02 +0930 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: <1336307960.28628.111.camel@...2688...> References: <1336307960.28628.111.camel@...2688...> Message-ID: <1336310702.28628.123.camel@...2688...> Oops. There was no racial slur intended there. B In fact I'm particularly fond of the "belle cuisine fran?aise" especially dishes like "escargots grill?s au beurre avec des champignons, les ?chalotes, le piment, l'ail et du fromage de lait de ch?vre dans les cendres". ... damn I just knew that google would get it wrong again... "Forester escargots" B From kevinfishburne at ...1887... Sun May 6 17:52:02 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 06 May 2012 11:52:02 -0400 Subject: [Gambas-user] gb3: Object Enumeration GUI Glitch Message-ID: <4FA69E22.7040709@...1887...> I'm using Kubuntu 12.04 with acceleration using the binary NVIDIA drivers (not sure that any of that makes a difference). Often when viewing an object's list of properties or methods via the IDE's pop-up which appears while typing, the left side of the list is gray with no text. It will do that for a while, then mysteriously start working again. Has this happened to anyone else, and any guesses as to what could be causing it? I attached a screenshot to demonstrate. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: Object Enumeration Glitch.jpg Type: image/jpeg Size: 115041 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sun May 6 17:03:24 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 06 May 2012 17:03:24 +0200 Subject: [Gambas-user] gb3: Object Enumeration GUI Glitch In-Reply-To: <4FA69E22.7040709@...1887...> References: <4FA69E22.7040709@...1887...> Message-ID: <3260189.F4VrFFJeQy@...2822...> Le dimanche 6 mai 2012 11:52:02 Kevin Fishburne a ?crit : > I'm using Kubuntu 12.04 with acceleration using the binary NVIDIA > drivers (not sure that any of that makes a difference). Often when > viewing an object's list of properties or methods via the IDE's pop-up > which appears while typing, the left side of the list is gray with no > text. It will do that for a while, then mysteriously start working > again. Has this happened to anyone else, and any guesses as to what > could be causing it? I attached a screenshot to demonstrate. I've got exactly the same problem, with KDE 4.8 (and older) and with NVIDIA Graphics Acceleration too. From gambas at ...1... Sun May 6 19:41:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 19:41:19 +0200 Subject: [Gambas-user] gb3: Object Enumeration GUI Glitch In-Reply-To: <3260189.F4VrFFJeQy@...2822...> References: <4FA69E22.7040709@...1887...> <3260189.F4VrFFJeQy@...2822...> Message-ID: <4FA6B7BF.6060100@...1...> Le 06/05/2012 17:03, Adrien Prokopowicz a ?crit : > Le dimanche 6 mai 2012 11:52:02 Kevin Fishburne a ?crit : >> I'm using Kubuntu 12.04 with acceleration using the binary NVIDIA >> drivers (not sure that any of that makes a difference). Often when >> viewing an object's list of properties or methods via the IDE's pop-up >> which appears while typing, the left side of the list is gray with no >> text. It will do that for a while, then mysteriously start working >> again. Has this happened to anyone else, and any guesses as to what >> could be causing it? I attached a screenshot to demonstrate. > > I've got exactly the same problem, with KDE 4.8 (and older) and with NVIDIA > Graphics Acceleration too. > I have to admit I recently got this problem, but not with my KDE 4.8/Nouveau, but inside the QEMU ARM Raspeberry Pi virtual machine ! I must tell that AFAIK no Gambas code makes the list gray. Something again to investigate... -- Beno?t Minisini From richard.j.walker at ...247... Sun May 6 19:41:59 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 6 May 2012 18:41:59 +0100 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: <1336310702.28628.123.camel@...2688...> References: <1336307960.28628.111.camel@...2688...> <1336310702.28628.123.camel@...2688...> Message-ID: Well thank you all, in particular I am now delighted to understand the difference between Public ArrayOfStrings[5] As String ----AND--- Public ArrayOfStrings As New String[5] That has puzzled me for YEARS. I would usually just try combinations of dimensioning the identifier or the type name until the code passed all syntax checks and produced a result! I still cannot tell by looking at them which is what but at least now I know what it is that I don't know. As for grenouilles, escargots and gambas - all too rich for my palate. Bangers & mash with the fifty seventh variety of baked beans does me just fine. Richard On 06/05/2012, Bruce Bruen wrote: > Oops. > There was no racial slur intended there. > B > > In fact I'm particularly fond of the "belle cuisine fran?aise" > especially dishes like "escargots grill?s au beurre avec des > champignons, les ?chalotes, le piment, l'ail et du fromage de lait de > ch?vre dans les cendres". > > ... damn I just knew that google would get it wrong again... > > "Forester escargots" > > B > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun May 6 19:41:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 19:41:54 +0200 Subject: [Gambas-user] SVN - Rev. 4717 fails its installation too... - BIS In-Reply-To: <1336305652.62881.YahooMailClassic@...2695...> References: <1336305652.62881.YahooMailClassic@...2695...> Message-ID: <4FA6B7E2.4040209@...1...> Le 06/05/2012 14:00, Ru Vuott a ?crit : > ...it seems problem, now, is gb.opengl ! > Sorry, it's my fault. I will fix that as soon as possible. -- Beno?t Minisini From gambas at ...1... Sun May 6 19:49:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 19:49:42 +0200 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: References: <1336307960.28628.111.camel@...2688...> <1336310702.28628.123.camel@...2688...> Message-ID: <4FA6B9B6.9070700@...1...> Le 06/05/2012 19:41, RICHARD WALKER a ?crit : > Well thank you all, > in particular I am now delighted to understand the difference between > > Public ArrayOfStrings[5] As String ----AND--- Public ArrayOfStrings As > New String[5] > > That has puzzled me for YEARS. I would usually just try combinations > of dimensioning the identifier or the type name until the code passed > all syntax checks and produced a result! > > I still cannot tell by looking at them which is what but at least now > I know what it is that I don't know. > > As for grenouilles, escargots and gambas - all too rich for my palate. > Bangers& mash with the fifty seventh variety of baked beans does me > just fine. > > Richard > Sorry for the difficulty of that syntax! Embedded arrays were done so that it is possible to mimic a memory structure declared in a C library. Otherwise there is no real reason to use them. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Sun May 6 20:02:00 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 06 May 2012 14:02:00 -0400 Subject: [Gambas-user] gb3: Object Enumeration GUI Glitch In-Reply-To: <4FA6B7BF.6060100@...1...> References: <4FA69E22.7040709@...1887...> <3260189.F4VrFFJeQy@...2822...> <4FA6B7BF.6060100@...1...> Message-ID: <4FA6BC98.8030606@...1887...> On 05/06/2012 01:41 PM, Beno?t Minisini wrote: > Le 06/05/2012 17:03, Adrien Prokopowicz a ?crit : >> Le dimanche 6 mai 2012 11:52:02 Kevin Fishburne a ?crit : >>> I'm using Kubuntu 12.04 with acceleration using the binary NVIDIA >>> drivers (not sure that any of that makes a difference). Often when >>> viewing an object's list of properties or methods via the IDE's pop-up >>> which appears while typing, the left side of the list is gray with no >>> text. It will do that for a while, then mysteriously start working >>> again. Has this happened to anyone else, and any guesses as to what >>> could be causing it? I attached a screenshot to demonstrate. >> I've got exactly the same problem, with KDE 4.8 (and older) and with NVIDIA >> Graphics Acceleration too. >> > I have to admit I recently got this problem, but not with my KDE > 4.8/Nouveau, but inside the QEMU ARM Raspeberry Pi virtual machine ! > > I must tell that AFAIK no Gambas code makes the list gray. > > Something again to investigate... > Interesting. One thing I can add is that sometimes it's not gray but completely transparent, showing the code in the IDE behind it. The right panel works fine, just the left panel misbehaves. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Sun May 6 21:33:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 May 2012 19:33:52 +0000 Subject: [Gambas-user] Issue 247 in gambas: gb.settings - Settings.Clear's argument should be optional Message-ID: <0-6813199134517018827-8733355937726868463-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 247 by sebi... at ...626...: gb.settings - Settings.Clear's argument should be optional http://code.google.com/p/gambas/issues/detail?id=247 Being the syntax according to the documentation: Settings.Clear ( ParentKey As String ) It reads: If ParentKey is specified, then only the keys under it will be cleared. As such, ParentKey should be an optional argument, all the settings being cleared if missing, and only it's children if ParentKey is provided. From richard.j.walker at ...247... Sun May 6 21:38:58 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 6 May 2012 20:38:58 +0100 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: <4FA6B9B6.9070700@...1...> References: <1336307960.28628.111.camel@...2688...> <1336310702.28628.123.camel@...2688...> <4FA6B9B6.9070700@...1...> Message-ID: > > Sorry for the difficulty of that syntax! > > Embedded arrays were done so that it is possible to mimic a memory > structure declared in a C library. > > Otherwise there is no real reason to use them. > > Regards, Ah, so this is something I may need to use if trying to call a function in an external library (eg. alsa or jack) but for "normal" use I can ignore embedded arrays. Thanks Beno?t for the authoritative "last word". Richard From emil.lenngren at ...626... Sun May 6 22:20:59 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 6 May 2012 22:20:59 +0200 Subject: [Gambas-user] Gambas 3 arrays usage In-Reply-To: References: <1336307960.28628.111.camel@...2688...> <1336310702.28628.123.camel@...2688...> <4FA6B9B6.9070700@...1...> Message-ID: Maybe this fact should be written in the documentation? 2012/5/6 RICHARD WALKER > > > > Sorry for the difficulty of that syntax! > > > > Embedded arrays were done so that it is possible to mimic a memory > > structure declared in a C library. > > > > Otherwise there is no real reason to use them. > > > > Regards, > > Ah, so this is something I may need to use if trying to call a > function in an external library (eg. alsa or jack) but for "normal" > use I can ignore embedded arrays. Thanks Beno?t for the authoritative > "last word". > > Richard > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun May 6 22:30:22 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 21:30:22 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4718 fails its installation... In-Reply-To: <4FA6B7E2.4040209@...1...> Message-ID: <1336336222.52231.YahooMailClassic@...2758...> > Sorry, it's my fault. I will fix that as soon as possible. > > -- > Beno?t Minisini > Don't worry, Beno?t. All we help you by passing to you the needed informations to solve the problems. Well, I tried to update by Rev. 4718, but... an error again: ....... /usr/bin/ld: cannot find -lgb.xml collect2: ld returned 1 exit status libtool: install: error: relink `gb.xml.html.la' with the above command before installing it make[4]: *** [install-gblibLTLIBRARIES] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/vuott/trunk/gb.xml/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk/gb.xml' make: *** [install-recursive] Error 1 ...now gb.xml came back ! Bye Vuott From gambas at ...1... Sun May 6 22:38:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 22:38:41 +0200 Subject: [Gambas-user] SVN - Rev. 4718 fails its installation... In-Reply-To: <1336336222.52231.YahooMailClassic@...2758...> References: <1336336222.52231.YahooMailClassic@...2758...> Message-ID: <4FA6E151.4090408@...1...> Le 06/05/2012 22:30, Ru Vuott a ?crit : >> Sorry, it's my fault. I will fix that as soon as possible. >> >> -- >> Beno?t Minisini >> > > Don't worry, Beno?t. All we help you by passing to you the needed informations to solve the problems. > > Well, I tried to update by Rev. 4718, but... an error again: > Did you do a ./reconf && ./configure -C before recompiling? -- Beno?t Minisini From vuott at ...325... Sun May 6 23:28:53 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 22:28:53 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4718 fails its installation... In-Reply-To: <4FA6E151.4090408@...1...> Message-ID: <1336339733.22125.YahooMailClassic@...2691...> > > Did you do a ./reconf && ./configure -C before > recompiling? Yes, I do. The sequence is: 1) ~ $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ 2) ~ $ cd trunk 3) ~ $ ./reconf-all 4) ~ $ ./configure -C 5) ~ $ make && sudo make install I followed "always" this sequence, and all was perfect ! Now I'm trying update by rev. 4719... I hope..... Bye Vuott From vuott at ...325... Sun May 6 23:34:26 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 22:34:26 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4719 fails........ In-Reply-To: <1336339733.22125.YahooMailClassic@...2691...> Message-ID: <1336340066.28799.YahooMailClassic@...2748...> I'm sorry... but Rev. 4719 fails its installation: ...... /usr/bin/ld: cannot find -lgb.xml collect2: ld returned 1 exit status libtool: install: error: relink `gb.xml.html.la' with the above command before installing it make[4]: *** [install-gblibLTLIBRARIES] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/vuott/trunk/gb.xml/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk/gb.xml' make: *** [install-recursive] Error 1 ...bye Vuott From adrien.prokopowicz at ...626... Sun May 6 23:39:55 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 06 May 2012 23:39:55 +0200 Subject: [Gambas-user] SVN - Rev. 4719 fails........ In-Reply-To: <1336340066.28799.YahooMailClassic@...2748...> References: <1336340066.28799.YahooMailClassic@...2748...> Message-ID: <3527148.eooFGrkLn7@...2823...> Le dimanche 6 mai 2012 22:34:26 Ru Vuott a ?crit : > I'm sorry... but Rev. 4719 fails its installation: > > ...... > /usr/bin/ld: cannot find -lgb.xml > collect2: ld returned 1 exit status > libtool: install: error: relink `gb.xml.html.la' with the above command > before installing it make[4]: *** [install-gblibLTLIBRARIES] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/vuott/trunk/gb.xml/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk/gb.xml' > make: *** [install-recursive] Error 1 > > > ...bye > Vuott > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi, Did you try to do "make clean" before "make" ? This solved a lot of problems for me. From gambas at ...1... Sun May 6 23:40:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 23:40:19 +0200 Subject: [Gambas-user] SVN - Rev. 4719 fails........ In-Reply-To: <1336340066.28799.YahooMailClassic@...2748...> References: <1336340066.28799.YahooMailClassic@...2748...> Message-ID: <4FA6EFC3.4010703@...1...> Le 06/05/2012 23:34, Ru Vuott a ?crit : > I'm sorry... but Rev. 4719 fails its installation: > > ...... > /usr/bin/ld: cannot find -lgb.xml > collect2: ld returned 1 exit status > libtool: install: error: relink `gb.xml.html.la' with the above command before installing it > make[4]: *** [install-gblibLTLIBRARIES] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/vuott/trunk/gb.xml/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk/gb.xml' > make: *** [install-recursive] Error 1 > > > ...bye > Vuott > Check again, I think you are doing something wrong. There is no '-lgb.xml' anymore in the 'trunk/gb.xml/src/html/Makefile.am' file since revision #4717. Regards, -- Beno?t Minisini From vuott at ...325... Sun May 6 23:46:06 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 22:46:06 +0100 (BST) Subject: [Gambas-user] SVN - Rev. 4719 fails........ In-Reply-To: <4FA6EFC3.4010703@...1...> Message-ID: <1336340766.39503.YahooMailClassic@...2789...> > > Check again, I think you are doing something wrong. Uhmmmm.... but what should I do exactly ? :-( From gambas at ...1... Sun May 6 23:52:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 May 2012 23:52:01 +0200 Subject: [Gambas-user] SVN - Rev. 4719 fails........ In-Reply-To: <1336340766.39503.YahooMailClassic@...2789...> References: <1336340766.39503.YahooMailClassic@...2789...> Message-ID: <4FA6F281.80208@...1...> Le 06/05/2012 23:46, Ru Vuott a ?crit : > >> >> Check again, I think you are doing something wrong. > > > Uhmmmm.... but what should I do exactly ? :-( > Check the file I told you in my mail: gb.xml/src/html/Makefile.am -- Beno?t Minisini From vuott at ...325... Mon May 7 00:01:53 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 23:01:53 +0100 (BST) Subject: [Gambas-user] gb.xml/src/html/Makefile.am In-Reply-To: <4FA6F281.80208@...1...> Message-ID: <1336341713.56512.YahooMailClassic@...2695...> > > Check the file I told you in my mail: > gb.xml/src/html/Makefile.am > > -- > Beno?t Minisini > Ok, it is there. However, I solved problem via "make clear" before launching "Make". But, Benoit, thank you for your help. Ciao Vuott From vuott at ...325... Mon May 7 00:04:15 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 May 2012 23:04:15 +0100 (BST) Subject: [Gambas-user] "Make clear" befor "Make" In-Reply-To: <1336341713.56512.YahooMailClassic@...2695...> Message-ID: <1336341855.73670.YahooMailClassic@...2780...> Adrieeeen ! I launched "Make clear" befor "Make" Your suggestion was decisive ! Installation was OK !!! Thank you, very much ! Tibi gratias ago ! Vuott From gambas at ...1... Mon May 7 00:40:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 07 May 2012 00:40:16 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1336273091.28628.58.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336273091.28628.58.camel@...2688...> Message-ID: <4FA6FDD0.4050209@...1...> Le 06/05/2012 04:58, Bruce Bruen a ?crit : > (New sub-thread) ".info" has disappeared > > If a project has its type set to "Component" now, when it is compiled > (or Make Executable) there is no .info file created in the project > directory any more. > > Is this by design? > > (Because the autotools install target is still looking for it and > fails. I can help fix the autotools scripts but I need to know if .info > has disappeared on purpose.) > > Bruce > Do you have a ".list" file too ? Can you send me the project ? -- Beno?t Minisini From adamnt42 at ...626... Mon May 7 01:18:57 2012 From: adamnt42 at ...626... (GMail) Date: Mon, 07 May 2012 08:48:57 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA6FDD0.4050209@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336273091.28628.58.camel@...2688...> <4FA6FDD0.4050209@...1...> Message-ID: <1336346337.28628.128.camel@...2688...> On Mon, 2012-05-07 at 00:40 +0200, Beno?t Minisini wrote: > Le 06/05/2012 04:58, Bruce Bruen a ?crit : > > (New sub-thread) ".info" has disappeared > > > > If a project has its type set to "Component" now, when it is compiled > > (or Make Executable) there is no .info file created in the project > > directory any more. > > > > Is this by design? > > > > (Because the autotools install target is still looking for it and > > fails. I can help fix the autotools scripts but I need to know if .info > > has disappeared on purpose.) > > > > Bruce > > > > Do you have a ".list" file too ? Can you send me the project ? > Sorry Beno?t, In the clear light of day, I see that this was my error. In a frenzied fit of code cleaning, I deleted the only class that was exported from the component :-( Bruce From gambas at ...1... Mon May 7 01:20:32 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 07 May 2012 01:20:32 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1336346337.28628.128.camel@...2688...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336273091.28628.58.camel@...2688...> <4FA6FDD0.4050209@...1...> <1336346337.28628.128.camel@...2688...> Message-ID: <4FA70740.9000501@...1...> Le 07/05/2012 01:18, GMail a ?crit : >> >> Do you have a ".list" file too ? Can you send me the project ? >> > Sorry Beno?t, > > In the clear light of day, I see that this was my error. In a frenzied > fit of code cleaning, I deleted the only class that was exported from > the component :-( > > Bruce > The autotools packager should work anyway, even if a component with no exported class seems to not be really useful. :-) -- Beno?t Minisini From bbruen at ...2308... Mon May 7 02:08:22 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 07 May 2012 09:38:22 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4FA70740.9000501@...1...> References: <4F9BEFFB.9090007@...1...> <1335674756.31931.33.camel@...2688...> <4F9FB94A.5010604@...1...> <1336273091.28628.58.camel@...2688...> <4FA6FDD0.4050209@...1...> <1336346337.28628.128.camel@...2688...> <4FA70740.9000501@...1...> Message-ID: <1336349302.28628.136.camel@...2688...> On Mon, 2012-05-07 at 01:20 +0200, Beno?t Minisini wrote: > The autotools packager should work anyway, even if a component with no > exported class seems to not be really useful. :-) > OK, (but I wouldn't really consider this worth fixing) Source archive for a "no exports" component attached. Here's the output from the ./configure|make|make install for an autotools package made from the project: [bb at ...2711... noinfo-0.0.1]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gambas3 binaries... Ok checking for gambas3 components path... Ok configure: creating ./config.status config.status: creating Makefile [bb at ...2711... noinfo-0.0.1]$ make Building noinfo component... OK [bb at ...2711... noinfo-0.0.1]$ su Password: [root at ...2711... noinfo-0.0.1]# make install make[1]: Entering directory `/home/bb/testpkg/noinfo-0.0.1' Installing noinfo.gambas in /usr/local/lib/gambas3 Installing noinfo.component in /usr/local/lib/gambas3 Installing noinfo.info in /usr/local/share/gambas3/info /usr/bin/install: omitting directory `.info' chmod: cannot access `//usr/local/share/gambas3/info/noinfo.info': No such file or directory Installing noinfo.list in /usr/local/share/gambas3/info /usr/bin/install: cannot stat `.list': No such file or directory chmod: cannot access `//usr/local/share/gambas3/info/noinfo.list': No such file or directory make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/home/bb/testpkg/noinfo-0.0.1' [root at ...2711... noinfo-0.0.1]# -------------- next part -------------- A non-text attachment was scrubbed... Name: noinfo-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4814 bytes Desc: not available URL: From gambas at ...2524... Mon May 7 11:20:51 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 07 May 2012 09:20:51 +0000 Subject: [Gambas-user] Issue 247 in gambas: gb.settings - Settings.Clear's argument should be optional In-Reply-To: <0-6813199134517018827-8733355937726868463-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8733355937726868463-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8733355937726868463-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 247 by benoit.m... at ...626...: gb.settings - Settings.Clear's argument should be optional http://code.google.com/p/gambas/issues/detail?id=247 Fixed in revision #4720. From gambas at ...2524... Mon May 7 11:22:43 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 07 May 2012 09:22:43 +0000 Subject: [Gambas-user] Issue 246 in gambas: Random "DrawingArea is being drawn" error when using new gridview In-Reply-To: <0-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 246 by benoit.m... at ...626...: Random "DrawingArea is being drawn" error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 Can you provide the project stack contents displayed on the terminal standard error output at the end of the program? From lists at ...2828... Mon May 7 12:02:38 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 7 May 2012 12:02:38 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2c38$8e618980$0f00a8c0@...2829...> ... > this will give you a home directory full of .deb files, you can copy > across the ones you want to the NAS and install > > dpkg -i With Ian's help and a long hours last night I managed to compile the debian packages for ARMEL within QEMU (compilation took 6+ hours). Today I verified dependencies and installed them without errors on my NAS, so far so good! It works with simple "Hello World!" programs but after trying with a program using the SocketServer I get the following error... Segmentation fault I got the exact same error message when trying Gambas2 version 2.21.0-2 a couple of days ago but the problem was fixed by using Gambas2 version 2.23.1. Can I use the exact same procedure with the latest development version? I.e grab the latest source from the trunk and then start compile using... debian/rules binary /CJ From gambas at ...2524... Mon May 7 12:28:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 07 May 2012 10:28:06 +0000 Subject: [Gambas-user] Issue 246 in gambas: Random "DrawingArea is being drawn" error when using new gridview In-Reply-To: <1-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> <0-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Comment #2 on issue 246 by Kokok... at ...626...: Random "DrawingArea is being drawn" error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 I'll try to. Meanwhile, i've found a way to stop it from happening, maybe it is useful for you to understand. Over the grid i've put two pictureboxes with transparent pngs with ignore parameter set to true, they share the same gridview parent. In the program startup i move and resize them explicitely, and in the grid data event i've set they property visible=true (they are both hidden by default). That way caused the program to crash sometimes. Now that i moved visible=true outside the data event, this isn't happening anymore. From linuxos at ...1896... Mon May 7 23:13:07 2012 From: linuxos at ...1896... (linuxos) Date: Mon, 07 May 2012 23:13:07 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 Message-ID: <1336425187.13223.4.camel@...2157...> Hi Benoit, I have an error during the compilation of the lastest Gambas revision. ------------------------------------------------------------ Making all in gb.media make[2] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make all-recursive make[3] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? Making all in src make[4] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_media_la-main.o mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o c_media.c: In function 'MediaControl_get': c_media.c:338:17: error: 'G_VALUE_INIT' undeclared (first use in this function) c_media.c:338:17: note: each undeclared identifier is reported only once for each function it appears in c_media.c: In function 'MediaControl_put': c_media.c:356:17: error: 'G_VALUE_INIT' undeclared (first use in this function) c_media.c: In function 'cb_message': c_media.c:711:10: error: 'GST_MESSAGE_PROGRESS' undeclared (first use in this function) make[4]: *** [gb_media_la-c_media.lo] Erreur 1 make[4] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? make[3]: *** [all-recursive] Erreur 1 make[3] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make[2]: *** [all] Erreur 2 make[2] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make[1]: *** [all-recursive] Erreur 1 make[1] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk ? make: *** [all] Erreur 2 --------------------------------------------------------------------- Joined to the email all logs: Fedora 14 Cmd: ./reconf-all ; ./configure -C ; make Thanks in advance. -- Olivier -------------- next part -------------- A non-text attachment was scrubbed... Name: rev#4720_compilation.tar.gz Type: application/x-compressed-tar Size: 42211 bytes Desc: not available URL: From math.eber at ...221... Mon May 7 23:23:42 2012 From: math.eber at ...221... (Matti) Date: Mon, 07 May 2012 23:23:42 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <1336425187.13223.4.camel@...2157...> References: <1336425187.13223.4.camel@...2157...> Message-ID: <4FA83D5E.5010003@...221...> c_media.c: In function ?MediaControl_get?: c_media.c:338:17: error: ?G_VALUE_INIT? undeclared (first use in this function) That's exactly the same error I get on my openSUSE system. Am 07.05.2012 23:13, schrieb linuxos: > Hi Benoit, > > I have an error during the compilation of the lastest Gambas revision. > > ------------------------------------------------------------ > Making all in gb.media > make[2] : on entre dans le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media ? > make all-recursive > make[3] : on entre dans le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media ? > Making all in src > make[4] : on entre dans le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o > gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c > -fPIC -DPIC -o .libs/gb_media_la-main.o > mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o > gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c > c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o > c_media.c: In function 'MediaControl_get': > c_media.c:338:17: error: 'G_VALUE_INIT' undeclared (first use in this > function) > c_media.c:338:17: note: each undeclared identifier is reported only once > for each function it appears in > c_media.c: In function 'MediaControl_put': > c_media.c:356:17: error: 'G_VALUE_INIT' undeclared (first use in this > function) > c_media.c: In function 'cb_message': > c_media.c:711:10: error: 'GST_MESSAGE_PROGRESS' undeclared (first use in > this function) > make[4]: *** [gb_media_la-c_media.lo] Erreur 1 > make[4] : on quitte le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? > make[3]: *** [all-recursive] Erreur 1 > make[3] : on quitte le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media ? > make[2]: *** [all] Erreur 2 > make[2] : on quitte le r?pertoire > ? /home/linus/Packages/SOURCES/trunk/gb.media ? > make[1]: *** [all-recursive] Erreur 1 > make[1] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk ? > make: *** [all] Erreur 2 > --------------------------------------------------------------------- > > > Joined to the email all logs: > > Fedora 14 > > Cmd: ./reconf-all ; ./configure -C ; make > > > Thanks in advance. > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ariellurodriguez at ...626... Tue May 8 03:32:30 2012 From: ariellurodriguez at ...626... (Ariel Luciano Rodriguez) Date: Mon, 7 May 2012 22:32:30 -0300 Subject: [Gambas-user] Keypress event while holding a key Message-ID: Hello, I'm starting to do a kind of typing-tutor program for fun, Im just starting modelling a visual keyboard and I'm facing this problem: While holding down a key (not a meta character) first a keypress event is released, and if i keep holding the key a series of keypress and keyrelease events start to happen while I haven't actually released the key. So basically my question is, can you think of a way I can program the holding down of the key event? Thanks in advance. From adamnt42 at ...626... Tue May 8 04:30:41 2012 From: adamnt42 at ...626... (GMail) Date: Tue, 08 May 2012 12:00:41 +0930 Subject: [Gambas-user] Keypress event while holding a key In-Reply-To: References: Message-ID: <1336444241.13136.1.camel@...2688...> On Mon, 2012-05-07 at 22:32 -0300, Ariel Luciano Rodriguez wrote: > Hello, I'm starting to do a kind of typing-tutor program for fun, Im just > starting modelling a visual keyboard and I'm facing this problem: > While holding down a key (not a meta character) first a keypress event is > released, and if i keep holding the key a series of keypress and keyrelease > events start to happen while I haven't actually released the key. > > So basically my question is, can you think of a way I can program the > holding down of the key event? > > Thanks in advance. See Issue 103 http://code.google.com/p/gambas/issues/detail?id=103 probably similar. Answer? use gb.gtk Bruce From gambas.fr at ...626... Tue May 8 09:53:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 May 2012 09:53:36 +0200 Subject: [Gambas-user] Keypress event while holding a key In-Reply-To: References: Message-ID: 2012/5/8 Ariel Luciano Rodriguez > Hello, I'm starting to do a kind of typing-tutor program for fun, Im just > starting modelling a visual keyboard and I'm facing this problem: > While holding down a key (not a meta character) first a keypress event is > released, and if i keep holding the key a series of keypress and keyrelease > events start to happen while I haven't actually released the key. > > So basically my question is, can you think of a way I can program the > holding down of the key event? > > Thanks in advance. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at ...2832...,21 eforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > yes ... for me it's a bug ... the key release at least must not be generated, during the key repetition. so with a code like that: you will be able to catch the key. Private $aKeys As New Integer[] Public Sub Form_KeyPress() If $aKeys.Exist(Key.Code) Then Return Print "press" & Key.Text $aKeys.Add(Key.Code) End Public Sub Form_KeyRelease() If $aKeys.Exist(Key.Code) Then $aKeys.Remove($aKeys.Find(Key.Code)) Print "Release" & Key.Text Endif End Benoit ? -- Fabien Bodard From lists at ...2828... Tue May 8 11:56:25 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 8 May 2012 11:56:25 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2d00$dab271f0$0f00a8c0@...2829...> >Can I use the exact same procedure with the latest development version? I.e >grab the latest source from the trunk and then start compile using... After some more digging around last night I found that Kendek also had a repository for pre-releases at... https://launchpad.net/~nemh/+archive/gambas-pre-releases And I'm currently compiling the latest available (3.1.90 r4702) for lucid and will see if that solves the "Segmentation fault" error when using SocketServer. /CJ From lists at ...2828... Tue May 8 17:32:57 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 8 May 2012 17:32:57 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2d2f$da13dca0$0f00a8c0@...2829...> The compilation of Gambas3 3.1.90 r4702 was successful, "gambas3-runtime" and gambas3-gb-net was installed on my NAS (running Debian Lenny) without errors and the "Segmentation fault" I had with 3.1.1 is gone :) Unfortunately I experience the same weird error when using SocketServer as before with Gambas2. I've tried to trap error to a logfile using TRY but no error messages are logged even if the error is detected? The program just freezes after running OK in ~45-90 minutes (seems quite random) and I have to kill it. I've tried to reproduce the issue running the exact same code on Xubuntu 11.04 (x86) but the code works fine without issues for hours on end... Before I point fingers at Gambas2/3 running on ARM my next question would be... Have anyone used SocketServer and/or Socket in Gambas2/3 on ARM successfully? Maybe some here already have got their RasPi up running?? Any info/pointers are greatly appreciated since I'm out of ideas after trying for over a week. /CJ From gambas at ...1... Tue May 8 17:41:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 08 May 2012 17:41:12 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2d2f$da13dca0$0f00a8c0@...2829...> References: <000001cd2d2f$da13dca0$0f00a8c0@...2829...> Message-ID: <4FA93E98.6070309@...1...> Le 08/05/2012 17:32, Christer Johansson a ?crit : > > The compilation of Gambas3 3.1.90 r4702 was successful, "gambas3-runtime" > and gambas3-gb-net was installed on my NAS (running Debian Lenny) without > errors and the "Segmentation fault" I had with 3.1.1 is gone :) > > Unfortunately I experience the same weird error when using SocketServer > as before with Gambas2. I've tried to trap error to a logfile using TRY > but no error messages are logged even if the error is detected? The program > just freezes after running OK in ~45-90 minutes (seems quite random) and I > have to kill it. > > I've tried to reproduce the issue running the exact same code on Xubuntu > 11.04 > (x86) but the code works fine without issues for hours on end... > > Before I point fingers at Gambas2/3 running on ARM my next question would > be... > > Have anyone used SocketServer and/or Socket in Gambas2/3 on ARM > successfully? > Maybe some here already have got their RasPi up running?? > > Any info/pointers are greatly appreciated since I'm out of ideas after > trying > for over a week. > > /CJ > When it is frozen, can you use gdb to get a backtrace? First you must get the process id of the frozen Gambas program. Let's call it . Then you run: $ gdb gbx3 . gdb will take the control of the process, so that you can print the backtrace... (gdb) bt ... and send it to me. -- Beno?t Minisini From lists at ...2828... Tue May 8 17:41:29 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 8 May 2012 17:41:29 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: Message-ID: <000001cd2d31$0bba7970$0f00a8c0@...2829...> I forgott to add... If anyone are interested in the ARMEL *.deb files for Gambas3 3.1.90 r4702 just let me know, I will be happy to share them with anyone who want's them... /CJ From lists at ...2828... Wed May 9 11:26:24 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 9 May 2012 11:26:24 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <4FA93E98.6070309@...1...> Message-ID: <000001cd2dc5$cf425310$0f00a8c0@...2829...> Hi Beno?t. > When it is frozen, can you use gdb to get a backtrace? > > First you must get the process id of the frozen Gambas program. Let's > call it . > > Then you run: > > $ gdb gbx3 . > > gdb will take the control of the process, so that you can print the > backtrace... > > (gdb) bt > > ... and send it to me. I will try to reproduce the freezes but I have changed so much in the code trying to find a solution that current server test code crashes instead of freeze!? I will have to backtrack to an older version and see if I can reproduce them in Gambas3 3.1.90 r4702 so I can use gdb and get the backtrace (gdb looks like a very usefull tool). Will let you know how things goes... I also want to take the opportunity to thank you and all the other Gambas developers for a very nice program. I'm sure Gambas popularity will rise in the wake of the Raspberry Pi when that becomes generally available! At least for me, Gambas is a much better alternative than Phyton or any of the other scripting languages. /CJ From gambas at ...1... Wed May 9 11:35:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 09 May 2012 11:35:54 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2dc5$cf425310$0f00a8c0@...2829...> References: <000001cd2dc5$cf425310$0f00a8c0@...2829...> Message-ID: <4FAA3A7A.1090509@...1...> Le 09/05/2012 11:26, Christer Johansson a ?crit : > Hi Beno?t. > >> When it is frozen, can you use gdb to get a backtrace? >> >> First you must get the process id of the frozen Gambas program. Let's >> call it. >> >> Then you run: >> >> $ gdb gbx3. >> >> gdb will take the control of the process, so that you can print the >> backtrace... >> >> (gdb) bt >> >> ... and send it to me. > > I will try to reproduce the freezes but I have changed so much in the code > trying to find a solution that current server test code crashes instead > of freeze!? > > I will have to backtrack to an older version and see if I can reproduce > them in Gambas3 3.1.90 r4702 so I can use gdb and get the backtrace (gdb > looks like a very usefull tool). Will let you know how things goes... > > I also want to take the opportunity to thank you and all the other Gambas > developers for a very nice program. I'm sure Gambas popularity will rise > in the wake of the Raspberry Pi when that becomes generally available! > At least for me, Gambas is a much better alternative than Phyton or any > of the other scripting languages. > > /CJ > Thanks. :-) If you get a crash, and if you can reproduce it, try to isolate it in a project that you will send me. Regards, -- Beno?t Minisini From gambas at ...2524... Thu May 10 12:13:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 May 2012 10:13:19 +0000 Subject: [Gambas-user] Issue 248 in gambas: Combobox Click raises Form_Activate Event Message-ID: <0-6813199134517018827-1980034666374094136-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 248 by ea7... at ...626...: Combobox Click raises Form_Activate Event http://code.google.com/p/gambas/issues/detail?id=248 1) Describe the problem. Combobox Click always raises the Form_Activate Event, and it shouldn't AFAIK 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 3.1.1 Revision: r4700 Operating system: Linux Distribution: Debian Squeeze Architecture: x86 and x86_64 GUI component: QT4 and GTK+ Desktop used: Gnome and KDE 3) Provide a little project that reproduces the bug or the crash. Attached 5) Explain clearly how to reproduce the bug or the crash. Run the example provided and try to select one item from the combobox by clicking on it. We are "monitoring" in the console the 'form_activate' event, and yes, it fires when selecting an item from de cb. Attachments: ComboboxEvent.tar.gz 6.6 KB From lists at ...2828... Thu May 10 13:42:52 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 10 May 2012 13:42:52 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <4FA93E98.6070309@...1...> Message-ID: <000001cd2ea2$0e930c30$0f00a8c0@...2829...> Some good news! After rolling back to older code last night and trying to reproduce the freezing issue I can say that I was wrong in my conclusion that 3.1.90 r4702 had the same problem that I experience in Gambas2. The server have been running for 16+ hours on the NAS and are still going, no freezes so far :) The only (minor) issue that I've seen so far is that the RemoteHostIP parameter in SockeServers Connection event returns the servers IP# instead of the clients IP# (I noticed the same in Gambas2 version 2.23.1 and 2.21.0-2). /CJ From ihaywood at ...1979... Fri May 11 12:42:46 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Fri, 11 May 2012 20:42:46 +1000 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2ea2$0e930c30$0f00a8c0@...2829...> References: <4FA93E98.6070309@...1...> <000001cd2ea2$0e930c30$0f00a8c0@...2829...> Message-ID: On Thu, May 10, 2012 at 9:42 PM, Christer Johansson wrote: > Some good news! > > After rolling back to older code last night and trying to reproduce > the freezing issue I can say that I was wrong in my conclusion that > 3.1.90 r4702 had the same problem that I experience in Gambas2. I am also pleased to report gambas3 has finally hit the debian upload queue. This means builds for all architectures (including Intel, ARM, MIPS and few weird ones) will become available in a few weeks in Debian testing. It also means gambas3 will (eventually) filter through into debian-derived distros such as Mint, Ubuntu etc. Ian From willy at ...2734... Fri May 11 15:13:07 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 11 May 2012 15:13:07 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: References: <4FA93E98.6070309@...1...> <000001cd2ea2$0e930c30$0f00a8c0@...2829...> Message-ID: <1336741987.2385.8.camel@...2735...> On vr, 2012-05-11 at 20:42 +1000, Ian Haywood wrote: > On Thu, May 10, 2012 at 9:42 PM, Christer Johansson wrote: > > Some good news! > > > > After rolling back to older code last night and trying to reproduce > > the freezing issue I can say that I was wrong in my conclusion that > > 3.1.90 r4702 had the same problem that I experience in Gambas2. > I am also pleased to report gambas3 has finally hit the debian upload > queue. This means builds for all architectures (including Intel, ARM, MIPS and > few weird ones) will become available in a few weeks in Debian testing. > It also means gambas3 will (eventually) filter through into > debian-derived distros > such as Mint, Ubuntu etc. That is good news, now lets hope they where clever enough to go for 3.1 or 3.1.1 version and not 3.0, as 3.1 and higher applications will not run on 3.0. Having 3.0 it the official repo is of little use when distributing Gambas 3.1. or higher applications using .deb files. Putting Gambas 3.0 in the Debian repo would actually be a waste of time and space IMHO and I would still not be able to distribute .deb files to end users unless I refer the end users to the PPA of Kendek and explain them how to add PPA and all (something end users should not need to do) Just wait and see I guess, Willy From sotema at ...626... Fri May 11 17:34:40 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 11 May 2012 17:34:40 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 Message-ID: <1336750480.25450.6.camel@...2516...> I get exactly the same error with rev #4723. Full make output attached. Emanuele -------------- next part -------------- A non-text attachment was scrubbed... Name: 4723_make.log.tar.gz Type: application/x-compressed-tar Size: 36511 bytes Desc: not available URL: From gambas at ...1... Fri May 11 19:00:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 May 2012 19:00:57 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <1336750480.25450.6.camel@...2516...> References: <1336750480.25450.6.camel@...2516...> Message-ID: <4FAD45C9.2060105@...1...> Le 11/05/2012 17:34, Emanuele Sottocorno a ?crit : > I get exactly the same error with rev #4723. > Full make output attached. > Emanuele > I don't get it... Apparently you are using gstreamer-0.10, like me (Ubuntu 12.04), but many symbols defined in gstreamer include files seems to not be present! Weird... Can you give me the result of 'pkg-config --modversion gstreamer-0.10' on your system? I get '0.10.36'. -- Beno?t Minisini From greg.raffaelle at ...2755... Fri May 11 19:50:05 2012 From: greg.raffaelle at ...2755... (Greg Raffaelle) Date: Fri, 11 May 2012 10:50:05 -0700 (PDT) Subject: [Gambas-user] Problems positioning controls in form with menu Message-ID: <1336758605.82187.YahooMailClassic@...2834...> I have a problem with forms that have a menu.? The form menu and controls all appear correctly positioned in the gui editor.? But when the program is run and the form is displayed with Form1.showmodal all the controls are shifted up as if the menu was not there (and the controls partially cover the menu bar).? However if you manually resize the form with the mouse after it is displayed the controls move down into the correct position as set in the editor.? When the form is closed and redisplayed the controls are shifted up again covering the menu.? It appears when the form is first opened it does not take the menu height into account. Any help would be appreciated. System info: Gambas 3.1.1 Ubuntu Natty Narwhal gb.qt4 desktop environment From linuxos at ...1896... Fri May 11 19:52:29 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 11 May 2012 19:52:29 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAD45C9.2060105@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAD45C9.2060105@...1...> Message-ID: <7D719C4E-0236-4E80-90A7-D689C2E1AB24@...1896...> Hi Benoit, On Fedora 14 I get: 0.10.31 Olivier Cruilles Mail: linuxos at ...1896... Le 11 mai 2012 ? 19:00, Beno?t Minisini a ?crit : > Le 11/05/2012 17:34, Emanuele Sottocorno a ?crit : >> I get exactly the same error with rev #4723. >> Full make output attached. >> Emanuele >> > > I don't get it... Apparently you are using gstreamer-0.10, like me > (Ubuntu 12.04), but many symbols defined in gstreamer include files > seems to not be present! Weird... > > Can you give me the result of 'pkg-config --modversion gstreamer-0.10' > on your system? I get '0.10.36'. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri May 11 20:01:40 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 May 2012 20:01:40 +0200 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <1336758605.82187.YahooMailClassic@...2834...> References: <1336758605.82187.YahooMailClassic@...2834...> Message-ID: <4FAD5404.2080806@...1...> Le 11/05/2012 19:50, Greg Raffaelle a ?crit : > I have a problem with forms that have a menu. The form menu and > controls all appear correctly positioned in the gui editor. But when > the program is run and the form is displayed with Form1.showmodal all > the controls are shifted up as if the menu was not there (and the > controls partially cover the menu bar). However if you manually resize > the form with the mouse after it is displayed the controls move down > into the correct position as set in the editor. When the form is closed > and redisplayed the controls are shifted up again covering the menu. > It appears when the form is first opened it does not take the menu > height into account. > > Any help would be appreciated. > > System info: > > Gambas 3.1.1 > Ubuntu Natty Narwhal > gb.qt4 desktop environment Do you have a little project that shows this bug? -- Beno?t Minisini From linuxos at ...1896... Fri May 11 20:05:30 2012 From: linuxos at ...1896... (linuxos) Date: Fri, 11 May 2012 20:05:30 +0200 Subject: [Gambas-user] Bug trying to use gb.ncurses component Message-ID: <1336759530.2837.9.camel@...2157...> Hi all, I'm trying to use then gb.ncurses component but I have the following message: See attached screenshot I load a project in the IDE and I select gb.ncurses to use. The message appear when I start running the project. Does anyone have the same problem or not ? Thanks ------------------------------------- Gambas3 rev#4720 [System] OperatingSystem=Linux Kernel=2.6.35.14-106.fc14.i686 Architecture=i686 Memory=2060036 kB DistributionVendor=redhat DistributionRelease=Fedora release 14 (Laughlin) Desktop=Gnome [Gambas 2] Version=2.23.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.1.90 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.4 GTK+=libgtk-x11-2.0.so.0.2200.0 -- Olivier Cruilles Mail: linuxos at ...1896... -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture-Fen?tre sans nom.png Type: image/png Size: 7533 bytes Desc: not available URL: From willy at ...2734... Fri May 11 20:14:18 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 11 May 2012 20:14:18 +0200 Subject: [Gambas-user] Installation on Debian question Message-ID: <1336760058.2385.14.camel@...2735...> I've got a question. I want to install Gambas 3 on Debian from download st Gambas website. In 'Compilation & Installation' when scrolling down to 'How to compile and install Gambas on a specific distribution' and clicking Debian for specific instruction I see instructions for Gambas 2 Before starting I would like to know if the packages mentioned there are the ones I need for Gambas 3: ----Gambas website Debian--- aptitude install build-essential g++ automake autoconf bzip2 debhelper dpatch firebird2.0-dev gettext kdelibs4-dev libbz2-dev libcurl3-dev libgtk2.0-dev libjpeg62-dev libmysqlclient15-dev libpcre3-dev libpng12-dev libpoppler-dev libpq-dev libqt3-compat-headers libqt3-mt-dev librsvg2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libsqlite0-dev libsqlite3-dev libssl-dev libxml2-dev libxtst-dev mesa-common-dev unixodbc-dev zlib1g-dev libffi-dev ----End Gambas website Debian---- If not what are the correct packages to install for Debian 6.0.4 (Gnome)? Thanks, Willy From tobiasboege01 at ...1601... Fri May 11 20:29:33 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 11 May 2012 20:29:33 +0200 Subject: [Gambas-user] Bug trying to use gb.ncurses component In-Reply-To: <1336759530.2837.9.camel@...2157...> References: <1336759530.2837.9.camel@...2157...> Message-ID: <20120511182933.GA608@...2774...> On Fri, 11 May 2012, linuxos wrote: > Hi all, > > I'm trying to use then gb.ncurses component but I have the following > message: > > See attached screenshot > > I load a project in the IDE and I select gb.ncurses to use. > The message appear when I start running the project. > > Does anyone have the same problem or not ? > > Thanks > > ------------------------------------- > > Gambas3 rev#4720 > > [System] > OperatingSystem=Linux > Kernel=2.6.35.14-106.fc14.i686 > Architecture=i686 > Memory=2060036 kB > DistributionVendor=redhat > DistributionRelease=Fedora release 14 (Laughlin) > Desktop=Gnome > > [Gambas 2] > Version=2.23.0 > Path=/usr/local/bin/gbx2 > > [Gambas 3] > Version=3.1.90 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.4 > GTK+=libgtk-x11-2.0.so.0.2200.0 > > -- > > Olivier Cruilles > Mail: linuxos at ...1896... > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi, if I could read it correctly (you know why I began developing gb.ncurses? I have no X running, I had to use my framebuffer web browser to view the image, so I hope, it rendered the picture entirely) that, utilising my little french knowledge, Window.Top was incorrectly overridden, right? According to that message, there must be another Window class already loaded that gets overridden by gb.ncurses' Window class (or vice versa). Do you use any GUI-related components? I haven't found in the docs any Window.Top symbol but I may be wrong (there are .Top symbols in the graphical components, don't know if they are somehow involved). I have never tried to run gb.ncurses in the IDE and I suppose further that it would not work since ncurses wants a terminal to run in - AFAIK - and I really can't say if the IDE console is a PTY or something that ncurses accepts. However, if you have enabled GUI components, try to disable them. Regards, Tobi From gambas at ...1... Fri May 11 20:53:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 May 2012 20:53:42 +0200 Subject: [Gambas-user] Bug trying to use gb.ncurses component In-Reply-To: <20120511182933.GA608@...2774...> References: <1336759530.2837.9.camel@...2157...> <20120511182933.GA608@...2774...> Message-ID: <4FAD6036.5020308@...1...> Le 11/05/2012 20:29, tobi a ?crit : > > Hi, > > if I could read it correctly (you know why I began developing gb.ncurses? I have no X running, I had > to use my framebuffer web browser to view the image, so I hope, it rendered the picture entirely) > that, utilising my little french knowledge, Window.Top was incorrectly overridden, right? > According to that message, there must be another Window class already loaded that gets overridden by > gb.ncurses' Window class (or vice versa). Do you use any GUI-related components? I haven't found in > the docs any Window.Top symbol but I may be wrong (there are .Top symbols in the graphical > components, don't know if they are somehow involved). I have never tried to run gb.ncurses in the > IDE and I suppose further that it would not work since ncurses wants a terminal to run in - AFAIK - > and I really can't say if the IDE console is a PTY or something that ncurses accepts. > > However, if you have enabled GUI components, try to disable them. > > Regards, > Tobi > By the way, I suggest that you rename the Top() and Bottom() methods as Raise() and Lower(), to mimic the GUI components. Methods should normally be verbs, and properties names. Regards, -- Beno?t Minisini From gambas at ...1... Fri May 11 21:07:00 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 May 2012 21:07:00 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <7D719C4E-0236-4E80-90A7-D689C2E1AB24@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAD45C9.2060105@...1...> <7D719C4E-0236-4E80-90A7-D689C2E1AB24@...1896...> Message-ID: <4FAD6354.2060609@...1...> Le 11/05/2012 19:52, Olivier Cruilles a ?crit : > Hi Benoit, > > On Fedora 14 I get: 0.10.31 > I need the result of that too: $ pkg-config --cflags gstreamer-0.10 -- Beno?t Minisini From tobiasboege01 at ...1601... Fri May 11 21:06:58 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 11 May 2012 21:06:58 +0200 Subject: [Gambas-user] Bug trying to use gb.ncurses component In-Reply-To: <4FAD6036.5020308@...1...> References: <1336759530.2837.9.camel@...2157...> <20120511182933.GA608@...2774...> <4FAD6036.5020308@...1...> Message-ID: <20120511190658.GC608@...2774...> On Fri, 11 May 2012, Beno?t Minisini wrote: > Le 11/05/2012 20:29, tobi a ?crit : > > > > Hi, > > > > if I could read it correctly (you know why I began developing gb.ncurses? I have no X running, I had > > to use my framebuffer web browser to view the image, so I hope, it rendered the picture entirely) > > that, utilising my little french knowledge, Window.Top was incorrectly overridden, right? > > According to that message, there must be another Window class already loaded that gets overridden by > > gb.ncurses' Window class (or vice versa). Do you use any GUI-related components? I haven't found in > > the docs any Window.Top symbol but I may be wrong (there are .Top symbols in the graphical > > components, don't know if they are somehow involved). I have never tried to run gb.ncurses in the > > IDE and I suppose further that it would not work since ncurses wants a terminal to run in - AFAIK - > > and I really can't say if the IDE console is a PTY or something that ncurses accepts. > > > > However, if you have enabled GUI components, try to disable them. > > > > Regards, > > Tobi > > > > By the way, I suggest that you rename the Top() and Bottom() methods as > Raise() and Lower(), to mimic the GUI components. > > Methods should normally be verbs, and properties names. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I thought, the corresponding GUI Windows had such _methods_. Sorry for that. Will be done in the next commit which will appear when the component is not broken anymore here ;) (Testing the GB.Signal API but errors seem to arise from my code) Regards, Tobi From linuxos at ...1896... Fri May 11 22:27:25 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 11 May 2012 22:27:25 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAD6354.2060609@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAD45C9.2060105@...1...> <7D719C4E-0236-4E80-90A7-D689C2E1AB24@...1896...> <4FAD6354.2060609@...1...> Message-ID: $ pkg-config --cflags gstreamer-0.10 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 Olivier Cruilles Mail: linuxos at ...1896... Le 11 mai 2012 ? 21:07, Beno?t Minisini a ?crit : > pkg-config --cflags gstreamer-0.10 From willy at ...2734... Sat May 12 03:40:37 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 12 May 2012 03:40:37 +0200 Subject: [Gambas-user] Installation on Debian question In-Reply-To: <1336760058.2385.14.camel@...2735...> References: <1336760058.2385.14.camel@...2735...> Message-ID: <1336786837.5859.61.camel@...2735...> On vr, 2012-05-11 at 20:14 +0200, Willy Raets wrote: > I've got a question. > I want to install Gambas 3 on Debian from download st Gambas website. > In 'Compilation & Installation' when scrolling down to 'How to compile > and install Gambas on a specific distribution' and clicking Debian for > specific instruction I see instructions for Gambas 2 > > Before starting I would like to know if the packages mentioned there are > the ones I need for Gambas 3: > ----Gambas website Debian--- > aptitude install build-essential g++ automake autoconf bzip2 debhelper > dpatch firebird2.0-dev > gettext kdelibs4-dev libbz2-dev libcurl3-dev libgtk2.0-dev > libjpeg62-dev > libmysqlclient15-dev libpcre3-dev libpng12-dev libpoppler-dev libpq-dev > libqt3-compat-headers libqt3-mt-dev librsvg2-dev libsdl-gfx1.2-dev > libsdl-image1.2-dev > libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libsqlite0-dev > libsqlite3-dev > libssl-dev libxml2-dev libxtst-dev mesa-common-dev unixodbc-dev > zlib1g-dev libffi-dev > ----End Gambas website Debian---- > > If not what are the correct packages to install for Debian 6.0.4 > (Gnome)? After some searching the internet if found this in a post for Gambas3 on Debian: sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev After doing ./reconf-all and then ./configure - C it tells me component gb.gsl is disabled. Did I miss a package that needs to be installed? Attached output.txt (from ./configure -C > output.txt) Debian 6.0.4 - Gnome 2.30.2 Gambas not yet installed Willy -------------- next part -------------- configure: creating cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: updating cache config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/willy/gambas3-3.1.1/main) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for getpt... yes checking for cfmakeraw... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden checking for log10l... yes checking for fabsl... yes checking for powl... no checking for modfl... no checking for exp10... yes checking for exp2... yes checking for log2... yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc and cc understand -c and -o together... yes checking for external internationalization library headers... /usr/include/ checking for external internationalization library libraries... no checking for optional external charset conversion library headers... /usr/include/ checking for optional external charset conversion library libraries... no checking for foreign function interface component with pkg-config... OK checking for xdg-mime... xdg-mime configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating share/Makefile config.status: creating gbc/Makefile config.status: creating gbx/Makefile config.status: creating lib/Makefile config.status: creating lib/debug/Makefile config.status: creating lib/eval/Makefile config.status: creating lib/db/Makefile config.status: creating lib/vb/Makefile config.status: creating lib/compress/Makefile config.status: creating lib/option/Makefile config.status: creating lib/draw/Makefile config.status: creating lib/gui/Makefile config.status: creating lib/image/Makefile config.status: creating lib/image.effect/Makefile config.status: creating lib/signal/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || Unable to find file: libintl.so || This library may be located inside the system C library, so you can ignore that warning... || Unable to find file: libiconv.so || This library may be located inside the system C library, so you can ignore that warning... || === configuring in gb.compress.bzlib2 (/home/willy/gambas3-3.1.1/gb.compress.bzlib2) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for bzlib2 compression headers... /usr/include/ checking for bzlib2 compression libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.compress.zlib (/home/willy/gambas3-3.1.1/gb.compress.zlib) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for zlib compression headers... /usr/include/ checking for zlib compression libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.mysql (/home/willy/gambas3-3.1.1/gb.db.mysql) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for MySQL driver headers... /usr/include/mysql/ checking for MySQL driver libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.odbc (/home/willy/gambas3-3.1.1/gb.db.odbc) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ODBC driver headers... /usr/include/ checking for ODBC driver libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.postgresql (/home/willy/gambas3-3.1.1/gb.db.postgresql) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for PostgreSQL driver headers... /usr/include/postgresql/ /usr/include/postgresql/catalog/ checking for PostgreSQL driver libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite2 (/home/willy/gambas3-3.1.1/gb.db.sqlite2) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for SQLite 2 driver headers... /usr/include/ checking for SQLite 2 driver libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite3 (/home/willy/gambas3-3.1.1/gb.db.sqlite3) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for SQLite 3 driver component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net (/home/willy/gambas3-3.1.1/gb.net) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Networking component headers... checking for Networking component libraries... configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.curl (/home/willy/gambas3-3.1.1/gb.net.curl) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Advanced networking component component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.smtp (/home/willy/gambas3-3.1.1/gb.net.smtp) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for SMTP client component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pcre (/home/willy/gambas3-3.1.1/gb.pcre) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Perl Compatible Regular Expression component headers... /usr/include/ checking for Perl Compatible Regular Expression component libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl (/home/willy/gambas3-3.1.1/gb.sdl) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for SDL component with pkg-config... no checking for SDL headers... /usr/include/ /usr/include/SDL/ checking for SDL libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl.sound (/home/willy/gambas3-3.1.1/gb.sdl.sound) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for SDL sound headers... /usr/include/SDL/ checking for SDL sound libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.xml (/home/willy/gambas3-3.1.1/gb.xml) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for XML parser component component with pkg-config... OK checking for XSLT/XML parser component component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/xslt/Makefile config.status: creating src/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.v4l (/home/willy/gambas3-3.1.1/gb.v4l) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Video For Linux conversion library component with pkg-config... OK checking for Video For Linux component headers... /usr/include/ checking for Video For Linux component libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.crypt (/home/willy/gambas3-3.1.1/gb.crypt) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for DES/MD5 crypt component headers... /usr/include/ checking for DES/MD5 crypt component libraries... /usr/lib/ configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.qt4 (/home/willy/gambas3-3.1.1/gb.qt4) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for QT4 toolkit component with pkg-config... OK checking for QT4 toolkit extension component with pkg-config... OK checking for QT4 webkit component component with pkg-config... OK checking for QT4 OpenGL component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ext/Makefile config.status: creating src/webkit/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gtk (/home/willy/gambas3-3.1.1/gb.gtk) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for GTK+ toolkit component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.opengl (/home/willy/gambas3-3.1.1/gb.opengl) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for OpenGL support component component with pkg-config... OK checking for OpenGL Utility support component component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/glu/Makefile config.status: creating src/glsl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.desktop (/home/willy/gambas3-3.1.1/gb.desktop) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XTestQueryExtension in -lXtst... yes checking for Desktop-neutral routines headers... checking for Desktop-neutral routines libraries... checking for Gnome desktop routines component with pkg-config... OK configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gnome/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pdf (/home/willy/gambas3-3.1.1/gb.pdf) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Poppler PDF library component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.cairo (/home/willy/gambas3-3.1.1/gb.cairo) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Cairo component component with pkg-config... OK checking for FreeType backend for Cairo component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.io (/home/willy/gambas3-3.1.1/gb.image.io) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Image loading and saving component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.imlib (/home/willy/gambas3-3.1.1/gb.image.imlib) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for Image routines based on the Imlib2 library component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.dbus (/home/willy/gambas3-3.1.1/gb.dbus) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for DBUS management component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gsl (/home/willy/gambas3-3.1.1/gb.gsl) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for long double with more range or precision than double... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for GNU Scientific Library component component with pkg-config... no no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || GNU Scientific Library component is disabled || GSL BLAS is disabled || === configuring in comp (/home/willy/gambas3-3.1.1/comp) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in app (/home/willy/gambas3-3.1.1/app) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in examples (/home/willy/gambas3-3.1.1/examples) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged || || THESE COMPONENTS ARE DISABLED: || - gb.gsl || From willy at ...2734... Sat May 12 04:45:26 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 12 May 2012 04:45:26 +0200 Subject: [Gambas-user] Installation on Debian question In-Reply-To: <1336786837.5859.61.camel@...2735...> References: <1336760058.2385.14.camel@...2735...> <1336786837.5859.61.camel@...2735...> Message-ID: <1336790726.5859.89.camel@...2735...> On za, 2012-05-12 at 03:40 +0200, Willy Raets wrote: > After some searching the internet if found this in a post for Gambas3 on > Debian: > > sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev > libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev > libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev > libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev > libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev > libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev > > After doing ./reconf-all and then ./configure - C it tells me component > gb.gsl is disabled. Did I miss a package that needs to be installed? > > Attached output.txt (from ./configure -C > output.txt) > > Debian 6.0.4 - Gnome 2.30.2 > Gambas not yet installed I managed to figure out the missing package, so here is an update: Tested with Gambas 3.1.1 download package from Gambas website Tested on: Linux kernel: 2.6.32-5-686 Distro: Debian GNU/Linux 6.0.4 (squeeze) Desktop: Gnome 2.30.2 First install these packages (this information is missing on Gambas website and documentation -> only instructions for Gambas2): sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgsl0-dev Then do the usual instructions as given on Gambas website (Installation & Compilation): ./reconf-all ./configure -C make sudo make install Everything installed great, no components missing. Hope this can help others with the same problem. Willy From sotema at ...626... Sat May 12 07:37:53 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Sat, 12 May 2012 07:37:53 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: Message-ID: <1336801073.1697.6.camel@...2516...> Hi Beno?t, $ pkg-config --modversion gstreamer-0.10 --> 0.0.28 $ pkg-config --cflags gstreamer-0.10: -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 (Ubuntu 10.04.4) Thanks, Emanuele From sotema at ...626... Sat May 12 11:11:37 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Sat, 12 May 2012 11:11:37 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 (Olivier Cruilles) Message-ID: <1336813897.3467.5.camel@...2516...> The previously indicated version was incorrect: > $ pkg-config --modversion gstreamer-0.10 --> 0.0.28 it is 0.10.28 From lists at ...2828... Sat May 12 19:30:31 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 12 May 2012 19:30:31 +0200 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <4FA93E98.6070309@...1...> Message-ID: <000001cd3064$f32f2b30$0f00a8c0@...2829...> Anyone else having problem reaching http://gambasdoc.org? Been down whole day for me... /CJ From tobiasboege01 at ...1601... Sat May 12 19:31:46 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 12 May 2012 19:31:46 +0200 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <000001cd3064$f32f2b30$0f00a8c0@...2829...> References: <4FA93E98.6070309@...1...> <000001cd3064$f32f2b30$0f00a8c0@...2829...> Message-ID: <20120512173146.GH606@...2774...> On Sat, 12 May 2012, Christer Johansson wrote: > > Anyone else having problem reaching http://gambasdoc.org? Been down whole > day > for me... > > /CJ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Same for me, noticed at midday today... From gambas at ...1... Sat May 12 19:38:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 12 May 2012 19:38:32 +0200 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <20120512173146.GH606@...2774...> References: <4FA93E98.6070309@...1...> <000001cd3064$f32f2b30$0f00a8c0@...2829...> <20120512173146.GH606@...2774...> Message-ID: <4FAEA018.1050503@...1...> Le 12/05/2012 19:31, tobi a ?crit : > On Sat, 12 May 2012, Christer Johansson wrote: >> >> Anyone else having problem reaching http://gambasdoc.org? Been down whole >> day >> for me... >> >> /CJ >> > > Same for me, noticed at midday today... > Same for me and Emil Lenngren. -- Beno?t Minisini From emil.lenngren at ...626... Sat May 12 21:12:44 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 12 May 2012 21:12:44 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <1334936056.2444.18.camel@...2735...> References: <1334851019.66907.YahooMailClassic@...2821...> <1334936056.2444.18.camel@...2735...> Message-ID: Somebody who has a downloadable .tar.gz containing the documentation? 2012/4/20 Willy Raets > On do, 2012-04-19 at 10:43 -0700, Randall Morgan wrote: > > Couldn't this be done simply running a simple web server as localhost on > an > > unused port and downloading the site using a site copier like HTTtrack > for > > the local version. Then simply allowing user to choose online or offline > > documentation via a menu item that simply choose the real domain or > > localhost: ? > > > > Sounds like it would be rather simple to implement as a starting point > for > > off line docs. The user could then choose to update the local docs with a > > site copier or one could be written in Gambas or python to allow the docs > > to be updated. That would mean there would be no overhead for the > > documentation developers and only a onetime development effort for the > > local server. > > > > Just thinking out loud here.... > > I very much like your loud thoughts here :-) > > They way you explain it, it should indeed no be that hard to implement > it into Gambas. > > All it takes is some manner to tell the IDE where to find the local > files. And if downloading the documentation would be part of the IDE, it > would know where the files are and it could even determine what files to > use on the state of being online or offline. > > And when online some version check to update local files would be off > importance. > > Good to know about the existence of HHTPtrack. > At least now I can download the documentation without much trouble and > use my local webserver to publish it:-) > > Willy > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Sun May 13 00:21:46 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 12 May 2012 18:21:46 -0400 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <4FAEA018.1050503@...1...> References: <4FA93E98.6070309@...1...> <000001cd3064$f32f2b30$0f00a8c0@...2829...> <20120512173146.GH606@...2774...> <4FAEA018.1050503@...1...> Message-ID: <4FAEE27A.7010807@...94...> On 05/12/2012 01:38 PM, Beno?t Minisini wrote: >>> Anyone else having problem reaching http://gambasdoc.org? Been down whole >> Same for me, noticed at midday today... > Same for me and Emil Lenngren. Sorry, the building our server is in lost power for something like 18 hours. It's back now, though. Rob From willy at ...2734... Sun May 13 00:41:49 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 13 May 2012 00:41:49 +0200 Subject: [Gambas-user] Trouble with SVN trunk for Gambas 3 Message-ID: <1336862509.2127.53.camel@...2735...> Hi, When doing the normal: svn checkout https://gambas.svn.sourceforge.net/gambas/gambas/trunk/ this didn't get accepted. Needed tp put http there instead of https This didn't work either as the location turns out to be different as well. Eventually found out what it should be: svn checkout http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/ This got me the message: Repository moved temporarily to 'viewvc/gambas/gambas/trunk/'; please relocate What am I doing wrong? Anyone? Debian 6.0.4 - Gnome 2.30.2 svn, version 1.6.12 (r955767) compiled May 31 2011, 19:23:20 I Attached screen of terminal window -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot.png Type: image/png Size: 26055 bytes Desc: not available URL: From gambas at ...1... Sun May 13 00:41:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 00:41:49 +0200 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <4FAEE27A.7010807@...94...> References: <4FA93E98.6070309@...1...> <000001cd3064$f32f2b30$0f00a8c0@...2829...> <20120512173146.GH606@...2774...> <4FAEA018.1050503@...1...> <4FAEE27A.7010807@...94...> Message-ID: <4FAEE72D.3030707@...1...> Le 13/05/2012 00:21, Rob Kudla a ?crit : > On 05/12/2012 01:38 PM, Beno?t Minisini wrote: >>>> Anyone else having problem reaching http://gambasdoc.org? Been down whole >>> Same for me, noticed at midday today... >> Same for me and Emil Lenngren. > > Sorry, the building our server is in lost power for something like 18 > hours. It's back now, though. > > Rob > Solar flare? :-) -- Beno?t Minisini From imperious.ldr at ...2835... Sun May 13 03:29:24 2012 From: imperious.ldr at ...2835... (Anthony Ivan) Date: Sun, 13 May 2012 13:29:24 +1200 Subject: [Gambas-user] Wordwrap Message-ID: <4FAF0E74.2050509@...2835...> Hello Everyone, I am trying to get wordwrap to work in a gridview using the following code snippet: Me.sysMessages.Rows.Count = 0 Me.sysMessages.Columns.Count = 3 Me.sysMessages.Columns[0].W = IIf(Me.sysMessages.ClientW * 0.05 < varMinDateWidth, varMinDateWidth, Me.sysMessages.ClientW * 0.05) Me.sysMessages.Columns[1].W = IIf(Me.sysMessages.ClientW * 0.05 < varMinPrefixWidth, varMinPrefixWidth, Me.sysMessages.ClientW * 0.05) Me.sysMessages.Columns[2].W = -1 Me.sysMessages.Columns[0].Text = "Date" Me.sysMessages.Columns[1].Text = "Prefix" Me.sysMessages.Columns[2].Text = "Message" For Each tmpStr In varSysMessages Me.sysMessages.Rows.Count += 1 myCol = ReturnColors(tmpStr[3]) Me.sysMessages[a, 0].Text = tmpStr[0] Me.sysMessages[a, 1].Text = tmpStr[1] Me.sysMessages[a, 2].Text = tmpStr[2] Me.sysMessages[a, 2].WordWrap = True Me.sysMessages.Rows[a].H = -1 For b = 0 To 2 Me.sysMessages[a, b].Alignment = Align.TopLeft Me.sysMessages[a, b].Foreground = Color.RGB(myCol[0], myCol[1], myCol[2]) Me.sysMessages[a, b].Background = Color.RGB(myCol[3], myCol[4], myCol[5]) Next a += 1 Next This code was working perfectly the other day (was using the RPM version of Gambas 3.0)... subsequently have upgraded to the SVN version (Fedora 16, x86_64, KDE) and was wondering if there had been any changes to the wordwrap since stable version 3.0? If not then I guess something else has been updated on the system that has caused my problem. Thanks, Anthony From gambas at ...1... Sun May 13 04:53:18 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 04:53:18 +0200 Subject: [Gambas-user] Wordwrap In-Reply-To: <4FAF0E74.2050509@...2835...> References: <4FAF0E74.2050509@...2835...> Message-ID: <4FAF221E.1040802@...1...> Le 13/05/2012 03:29, Anthony Ivan a ?crit : > Hello Everyone, > > I am trying to get wordwrap to work in a gridview using the following > code snippet: > > Me.sysMessages.Rows.Count = 0 > Me.sysMessages.Columns.Count = 3 > Me.sysMessages.Columns[0].W = IIf(Me.sysMessages.ClientW * 0.05< > varMinDateWidth, varMinDateWidth, Me.sysMessages.ClientW * 0.05) > Me.sysMessages.Columns[1].W = IIf(Me.sysMessages.ClientW * 0.05< > varMinPrefixWidth, varMinPrefixWidth, Me.sysMessages.ClientW * 0.05) > Me.sysMessages.Columns[2].W = -1 > Me.sysMessages.Columns[0].Text = "Date" > Me.sysMessages.Columns[1].Text = "Prefix" > Me.sysMessages.Columns[2].Text = "Message" > For Each tmpStr In varSysMessages > Me.sysMessages.Rows.Count += 1 > myCol = ReturnColors(tmpStr[3]) > Me.sysMessages[a, 0].Text = tmpStr[0] > Me.sysMessages[a, 1].Text = tmpStr[1] > Me.sysMessages[a, 2].Text = tmpStr[2] > Me.sysMessages[a, 2].WordWrap = True > Me.sysMessages.Rows[a].H = -1 > For b = 0 To 2 > Me.sysMessages[a, b].Alignment = Align.TopLeft > Me.sysMessages[a, b].Foreground = Color.RGB(myCol[0], myCol[1], > myCol[2]) > Me.sysMessages[a, b].Background = Color.RGB(myCol[3], myCol[4], > myCol[5]) > Next > a += 1 > Next > > > This code was working perfectly the other day (was using the RPM version > of Gambas 3.0)... subsequently have upgraded to the SVN version (Fedora > 16, x86_64, KDE) and was wondering if there had been any changes to the > wordwrap since stable version 3.0? If not then I guess something else > has been updated on the system that has caused my problem. > > Thanks, > > Anthony > Just a bug... It has been fixed in revision #4726. Regards, -- Beno?t Minisini From gambas at ...1... Sun May 13 04:54:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 04:54:05 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <1336750480.25450.6.camel@...2516...> References: <1336750480.25450.6.camel@...2516...> Message-ID: <4FAF224D.9030400@...1...> Le 11/05/2012 17:34, Emanuele Sottocorno a ?crit : > I get exactly the same error with rev #4723. > Full make output attached. > Emanuele > Do the latest revisions change anything? -- Beno?t Minisini From gambas at ...1... Sun May 13 05:04:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 05:04:09 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd2ea2$0e930c30$0f00a8c0@...2829...> References: <000001cd2ea2$0e930c30$0f00a8c0@...2829...> Message-ID: <4FAF24A9.6040709@...1...> Le 10/05/2012 13:42, Christer Johansson a ?crit : > Some good news! > > After rolling back to older code last night and trying to reproduce > the freezing issue I can say that I was wrong in my conclusion that > 3.1.90 r4702 had the same problem that I experience in Gambas2. > > The server have been running for 16+ hours on the NAS and are still > going, no freezes so far :) > > The only (minor) issue that I've seen so far is that the RemoteHostIP > parameter in SockeServers Connection event returns the servers IP# > instead of the clients IP# (I noticed the same in Gambas2 version 2.23.1 > and 2.21.0-2). > > /CJ > Strange... According to the source code (that I didn't write), what is sent to the Connection event handler is really the IP of the client connecting to the server socket. Can you provide more details? A little client and a little server projects that show the bug would be the best! Regards, -- Beno?t Minisini From imperious.ldr at ...2835... Sun May 13 05:33:05 2012 From: imperious.ldr at ...2835... (Anthony Ivan) Date: Sun, 13 May 2012 15:33:05 +1200 Subject: [Gambas-user] Wordwrap In-Reply-To: <4FAF221E.1040802@...1...> References: <4FAF0E74.2050509@...2835...> <4FAF221E.1040802@...1...> Message-ID: <4FAF2B71.9050607@...2835...> Many thanks for the wordwrap. Setting a cell height to -1 still doesn't change the row height to account for the new height (Me.somegridviewrow.Rows[X].H = -1 ). Anthony SVN 4726 Me.someGrid[0, 2].Text = "LongText clipped to save this email" Me.someGrid[0, 2].WordWrap = True Me.someGrid.Rows[0].H = -1 // This should change the correct row height... setting it to a manual value: ie: 40 does work. >> >> This code was working perfectly the other day (was using the RPM version >> of Gambas 3.0)... subsequently have upgraded to the SVN version (Fedora >> 16, x86_64, KDE) and was wondering if there had been any changes to the >> wordwrap since stable version 3.0? If not then I guess something else >> has been updated on the system that has caused my problem. >> >> Thanks, >> >> Anthony >> > > Just a bug... It has been fixed in revision #4726. > > Regards, > > From linuxos at ...1896... Sun May 13 09:55:54 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 09:55:54 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAF224D.9030400@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> Message-ID: Sorry it does not work. ... ... Making all in gb.media make[2] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make all-recursive make[3] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? Making all in src make[4] : on entre dans le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_media_la-main.o mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o c_media.c: In function 'MediaControl_get': c_media.c:533:17: error: 'G_VALUE_INIT' undeclared (first use in this function) c_media.c:533:17: note: each undeclared identifier is reported only once for each function it appears in c_media.c: In function 'MediaControl_put': c_media.c:551:17: error: 'G_VALUE_INIT' undeclared (first use in this function) c_media.c: In function 'cb_message': c_media.c:911:6: warning: implicit declaration of function 'gst_tag_list_to_string' c_media.c:911:11: warning: assignment makes pointer from integer without a cast c_media.c:929:10: error: 'GST_MESSAGE_PROGRESS' undeclared (first use in this function) make[4]: *** [gb_media_la-c_media.lo] Erreur 1 make[4] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media/src ? make[3]: *** [all-recursive] Erreur 1 make[3] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make[2]: *** [all] Erreur 2 make[2] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk/gb.media ? make[1]: *** [all-recursive] Erreur 1 make[1] : on quitte le r?pertoire ? /home/linus/Packages/SOURCES/trunk ? make: *** [all] Erreur 2 Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 04:54, Beno?t Minisini a ?crit : > Le 11/05/2012 17:34, Emanuele Sottocorno a ?crit : >> I get exactly the same error with rev #4723. >> Full make output attached. >> Emanuele >> > > Do the latest revisions change anything? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...2345... Sun May 13 11:24:22 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 13 May 2012 11:24:22 +0200 Subject: [Gambas-user] Trouble with SVN trunk for Gambas 3 In-Reply-To: <1336862509.2127.53.camel@...2735...> References: <1336862509.2127.53.camel@...2735...> Message-ID: <1336901062.2256.3.camel@...40...> Am Sonntag, den 13.05.2012, 00:41 +0200 schrieb Willy Raets: > Hi, > > When doing the normal: > > svn checkout https://gambas.svn.sourceforge.net/gambas/gambas/trunk/ > > this didn't get accepted. > Needed tp put http there instead of https > This didn't work either as the location turns out to be different as > well. Eventually found out what it should be: > > svn checkout > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/ > > This got me the message: > Repository moved temporarily to 'viewvc/gambas/gambas/trunk/'; please > relocate > > What am I doing wrong? Anyone? > > Debian 6.0.4 - Gnome 2.30.2 > svn, version 1.6.12 (r955767) > compiled May 31 2011, 19:23:20 > > I Attached screen of terminal window > Salut Willy, in my script I do a https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ think you droped the "svnroot" Works for me just now. -- Amicalement Charlie From lists at ...2828... Sun May 13 12:54:44 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 13 May 2012 12:54:44 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: Message-ID: <000001cd30f8$dacd6950$0f00a8c0@...2829...> > Somebody who has a downloadable .tar.gz containing the documentation? I did found older Gambas3 offline doc package over at http://whiteislandsoftware.com, look in the guides section. If you have problems getting it just let me know and I can upload it somewhere. /CJ From lists at ...2828... Sun May 13 13:08:38 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 13 May 2012 13:08:38 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <4FAF24A9.6040709@...1...> Message-ID: <000201cd30f8$dbf9b450$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Sunday, May 13, 2012 5:04 AM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Debian ARMEL packages for Gambas3 > components? > > > Le 10/05/2012 13:42, Christer Johansson a ?crit : > > Some good news! > > > > After rolling back to older code last night and trying to reproduce > > the freezing issue I can say that I was wrong in my conclusion that > > 3.1.90 r4702 had the same problem that I experience in Gambas2. > > > > The server have been running for 16+ hours on the NAS and are still > > going, no freezes so far :) > > > > The only (minor) issue that I've seen so far is that the > RemoteHostIP > > parameter in SockeServers Connection event returns the servers IP# > > instead of the clients IP# (I noticed the same in Gambas2 > version 2.23.1 > > and 2.21.0-2). > > > > /CJ > > > > Strange... According to the source code (that I didn't > write), what is > sent to the Connection event handler is really the IP of the client > connecting to the server socket. > > Can you provide more details? A little client and a little server > projects that show the bug would be the best! > > Regards, > > -- > Beno?t Minisini Will try to make a simple repro program that shows it. /CJ From lists at ...2828... Sun May 13 12:56:03 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 13 May 2012 12:56:03 +0200 Subject: [Gambas-user] Is gambasdoc.org down? In-Reply-To: <4FAEE27A.7010807@...94...> Message-ID: <000101cd30f8$db7430a0$0f00a8c0@...2829...> > Sorry, the building our server is in lost power for something like 18 > hours. It's back now, though. Thank you! /CJ From lists at ...2828... Sun May 13 13:34:03 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 13 May 2012 13:34:03 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <4FAF24A9.6040709@...1...> Message-ID: <000001cd30fc$5643ace0$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Sunday, May 13, 2012 5:04 AM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Debian ARMEL packages for Gambas3 > components? > > > Le 10/05/2012 13:42, Christer Johansson a ?crit : > > Some good news! > > > > After rolling back to older code last night and trying to reproduce > > the freezing issue I can say that I was wrong in my conclusion that > > 3.1.90 r4702 had the same problem that I experience in Gambas2. > > > > The server have been running for 16+ hours on the NAS and are still > > going, no freezes so far :) > > > > The only (minor) issue that I've seen so far is that the > RemoteHostIP > > parameter in SockeServers Connection event returns the servers IP# > > instead of the clients IP# (I noticed the same in Gambas2 > version 2.23.1 > > and 2.21.0-2). > > > > /CJ > > > > Strange... According to the source code (that I didn't > write), what is > sent to the Connection event handler is really the IP of the client > connecting to the server socket. > > Can you provide more details? A little client and a little server > projects that show the bug would be the best! > > Regards, > > -- > Beno?t Minisini Attached is a simple program that hopefully shows it. If I start this simple server on my NAS (IP# 192.168.0.20) and then connect with... telnet 192.168.0.20 1122 from my Windows computer (IP# 192.168.0.15) the server running on the NAS shows... Waiting for a client to connect... Connection successful from 192.168.0.20 /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: remotehostip_demo.tar.gz Type: application/x-gzip Size: 5660 bytes Desc: not available URL: From sotema at ...626... Sun May 13 15:31:11 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Sun, 13 May 2012 15:31:11 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: Message-ID: <1336915871.2219.1.camel@...2476...> Sorry Beno?t, still not working on Ubuntu 10.04.4 Regards, Emanuele From gambas at ...1... Sun May 13 16:41:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 16:41:31 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> Message-ID: <4FAFC81B.8030000@...1...> Le 13/05/2012 09:55, Olivier Cruilles a ?crit : > > Sorry it does not work. > > ... > ... And with revision #4727? -- Beno?t Minisini From gambas at ...1... Sun May 13 16:52:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 16:52:44 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <000001cd30fc$5643ace0$0f00a8c0@...2829...> References: <000001cd30fc$5643ace0$0f00a8c0@...2829...> Message-ID: <4FAFCABC.5060805@...1...> Le 13/05/2012 13:34, Christer Johansson a ?crit : > > >> -----Original Message----- >> From: Beno?t Minisini [mailto:gambas at ...1...] >> Sent: Sunday, May 13, 2012 5:04 AM >> To: mailing list for gambas users >> Subject: Re: [Gambas-user] Debian ARMEL packages for Gambas3 >> components? >> >> >> Le 10/05/2012 13:42, Christer Johansson a ?crit : >>> Some good news! >>> >>> After rolling back to older code last night and trying to reproduce >>> the freezing issue I can say that I was wrong in my conclusion that >>> 3.1.90 r4702 had the same problem that I experience in Gambas2. >>> >>> The server have been running for 16+ hours on the NAS and are still >>> going, no freezes so far :) >>> >>> The only (minor) issue that I've seen so far is that the >> RemoteHostIP >>> parameter in SockeServers Connection event returns the servers IP# >>> instead of the clients IP# (I noticed the same in Gambas2 >> version 2.23.1 >>> and 2.21.0-2). >>> >>> /CJ >>> >> >> Strange... According to the source code (that I didn't >> write), what is >> sent to the Connection event handler is really the IP of the client >> connecting to the server socket. >> >> Can you provide more details? A little client and a little server >> projects that show the bug would be the best! >> >> Regards, >> >> -- >> Beno?t Minisini > > Attached is a simple program that hopefully shows it. > > If I start this simple server on my NAS (IP# 192.168.0.20) and then > connect with... > > telnet 192.168.0.20 1122 > > from my Windows computer (IP# 192.168.0.15) the server running on the NAS > shows... > > Waiting for a client to connect... > Connection successful from 192.168.0.20 > > /CJ > Is it better now with revision #4728? -- Beno?t Minisini From lists at ...2828... Sun May 13 17:07:53 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 13 May 2012 17:07:53 +0200 Subject: [Gambas-user] Debian ARMEL packages for Gambas3 components? In-Reply-To: <4FAFCABC.5060805@...1...> Message-ID: <000001cd311a$334234a0$0f00a8c0@...2829...> > > Attached is a simple program that hopefully shows it. > > > > If I start this simple server on my NAS (IP# 192.168.0.20) and then > > connect with... > > > > telnet 192.168.0.20 1122 > > > > from my Windows computer (IP# 192.168.0.15) the server > running on the NAS > > shows... > > > > Waiting for a client to connect... > > Connection successful from 192.168.0.20 > > > > /CJ > > > > Is it better now with revision #4728? I'm still on #4702 which was the latest version available at Kendek when compiling for my NAS so I can't say. Are you able to reproduce it at your end? /CJ From linuxos at ...1896... Sun May 13 17:27:06 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 17:27:06 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAFC81B.8030000@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> Message-ID: <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> Sorry, same problem. Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 16:41, Beno?t Minisini a ?crit : > Le 13/05/2012 09:55, Olivier Cruilles a ?crit : >> >> Sorry it does not work. >> >> ... >> ... > > And with revision #4727? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun May 13 17:40:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 17:40:49 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> Message-ID: <4FAFD601.7050005@...1...> Le 13/05/2012 17:27, Olivier Cruilles a ?crit : > > Sorry, same problem. > > So it should mean that a recent version of glib and GStreamer is needed. But I didn't find any information on the GStreamer web site about compatibility between all 0.10 versions... -- Beno?t Minisini From linuxos at ...1896... Sun May 13 17:59:58 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 17:59:58 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> Message-ID: <7087A44D-BFFE-41AB-B1E0-5D27B0D8DA25@...1896...> Hi Benoit, I know that is not simple to keep compatibility on Gambas3 between many Linux distribution version. So I can install a Fedora more recent than 14 because I hate Gnome3 for the moment and It not stable. So for me I prefer disable the gb.media module for the moment. If you need some tests, ask me. Problem: Now with the rev#4726, I can not open an old project, I got a segment fault error. To try it I use this command: gambas3 /path_to_my_project/project_name => Segment Fault Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 17:27, Olivier Cruilles a ?crit : > > Sorry, same problem. > > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 13 mai 2012 ? 16:41, Beno?t Minisini a ?crit : > >> Le 13/05/2012 09:55, Olivier Cruilles a ?crit : >>> >>> Sorry it does not work. >>> >>> ... >>> ... >> >> And with revision #4727? >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun May 13 19:07:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 19:07:05 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <7087A44D-BFFE-41AB-B1E0-5D27B0D8DA25@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <7087A44D-BFFE-41AB-B1E0-5D27B0D8DA25@...1896...> Message-ID: <4FAFEA39.4090006@...1...> Le 13/05/2012 17:59, Olivier Cruilles a ?crit : > Hi Benoit, > > I know that is not simple to keep compatibility on Gambas3 between many Linux distribution version. > So I can install a Fedora more recent than 14 because I hate Gnome3 for the moment and It not stable. > > So for me I prefer disable the gb.media module for the moment. > > If you need some tests, ask me. > > Problem: Now with the rev#4726, I can not open an old project, I got a segment fault error. > > To try it I use this command: gambas3 /path_to_my_project/project_name => Segment Fault > > > Olivier Cruilles > Mail: linuxos at ...1896... > I cannot reproduce the crash. Which command-line did you type exactly? -- Beno?t Minisini From linuxos at ...1896... Sun May 13 19:13:44 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 19:13:44 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> Message-ID: <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> Can you remember me the command to debug gambas3 execution please ? Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 17:27, Olivier Cruilles a ?crit : > > Sorry, same problem. > > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 13 mai 2012 ? 16:41, Beno?t Minisini a ?crit : > >> Le 13/05/2012 09:55, Olivier Cruilles a ?crit : >>> >>> Sorry it does not work. >>> >>> ... >>> ... >> >> And with revision #4727? >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun May 13 19:29:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 19:29:48 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> Message-ID: <4FAFEF8C.60200@...1...> Le 13/05/2012 19:13, Olivier Cruilles a ?crit : > > Can you remember me the command to debug gambas3 execution please ? > > Olivier Cruilles > Mail: linuxos at ...1896... > $ gdb gbr3 ... (gdb) gbr3 /path/to/gambas3.gambas -- -- Beno?t Minisini From linuxos at ...1896... Sun May 13 20:09:17 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 20:09:17 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAFEF8C.60200@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> Message-ID: I try it on two different ways: 1 - With gbx3 [linus at ...2073... ~]$ cd /local/Gambas-3/gbEditor3 [linus at ...2073... gbEditor3]$ gdb gbx3 GNU gdb (GDB) Fedora (7.2-52.fc14) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbx3...Reading symbols from /usr/lib/debug/usr/bin/gbx3.debug...done. done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Detaching after fork from child process 2906. ASSERT: "sysTrayWindow != None" in file systemtrayicon.cpp, line 185 Program received signal SIGABRT, Aborted. 0x00110416 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install dbus-libs-1.4.0-3.fc14.i686 expat-2.0.1-10.fc13.i686 flac-1.2.1-6.fc12.i686 fontconfig-2.8.0-2.fc14.i686 freetype-2.4.2-7.fc14.i686 glib2-2.26.0-2.fc14.i686 glibc-2.13-2.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-3.fc14.i686 lcms-libs-1.19-2.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3.4-4.fc14.i686 libXau-1.0.6-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 libXdmcp-1.0.3-3.fc13.i686 libXext-1.1.2-2.fc14.i686 libXfixes-4.0.5-1.fc14.i686 libXft-2.1.14-1.fc13.i686 libXi-1.3.2-1.fc14.i686 libXinerama-1.1-2.fc13.i686 libXpm-3.5.8-2.fc13.i686 libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 libXtst-1.0.99.2-3.fc12.i686 libasyncns-0.8-1.fc13.i686 libcom_err-1.41.12-6.fc14.i686 libgcc-4.5.1-4.fc14.i686 libjpeg-turbo-1.1.1-1.fc14.i686 libmng-1.0.10-4.fc12.i686 libogg-1.2.0-1.fc14.i686 libpng-1.2.46-1.fc14.i686 libqzeitgeist-0.7.0-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libsndfile-1.0.25-1.fc14.i686 libstdc++-4.5.1-4.fc14.i686 libtiff-3.9.5-1.fc14.i686 libuuid-2.18-4.8.fc14.i686 libvorbis-1.3.1-2.fc14.i686 libxcb-1.7-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 phonon-4.5.1-1.fc14.i686 pulseaudio-libs-0.9.21-7.fc14.i686 pulseaudio-libs-glib2-0.9.21-7.fc14.i686 qt-4.7.4-7.fc14.i686 qt-webkit-4.7.4-7.fc14.i686 qt-x11-4.7.4-7.fc14.i686 qt4-theme-bespin-0.1-0.2.20090828svn668.fc12.i686 sqlite-3.6.23.1-1.fc14.i686 tcp_wrappers-libs-7.6-59.fc14.i686 zlib-1.2.5-2.fc14.i686 (gdb) 2 - With gbr3 [linus at ...2073... /]$ cd /local/Gambas-3/gbEditor3 [linus at ...2073... gbEditor3]$ gdb gbr3 GNU gdb (GDB) Fedora (7.2-52.fc14) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbr3...Reading symbols from /usr/lib/debug/usr/bin/gbx3.debug...done. done. (gdb) run Starting program: /usr/bin/gbr3 [Thread debugging using libthread_db enabled] ERROR: #35: Cannot open file '.': No such device Program exited with code 01. Missing separate debuginfos, use: debuginfo-install glibc-2.13-2.i686 libgcc-4.5.1-4.fc14.i686 (gdb) quit Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 19:29, Beno?t Minisini a ?crit : > Le 13/05/2012 19:13, Olivier Cruilles a ?crit : >> >> Can you remember me the command to debug gambas3 execution please ? >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > $ gdb gbr3 > ... > (gdb) gbr3 /path/to/gambas3.gambas -- > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun May 13 20:31:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 20:31:44 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> Message-ID: <4FAFFE10.40902@...1...> Le 13/05/2012 20:09, Olivier Cruilles a ?crit : > I try it on two different ways: > >>> >>> Can you remember me the command to debug gambas3 execution please ? >>> >>> Olivier Cruilles >>> Mail: linuxos at ...1896... >>> >> >> $ gdb gbr3 >> ... >> (gdb) gbr3 /path/to/gambas3.gambas -- >> Sorry I meant: (gdb) run /path/to/gambas3.gambas -- -- Beno?t Minisini From linuxos at ...1896... Sun May 13 20:53:20 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 20:53:20 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FAFFE10.40902@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> Message-ID: <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> [linus at ...2073... gbEditor3]$ gdb gbr3 GNU gdb (GDB) Fedora (7.2-52.fc14) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbr3...Reading symbols from /usr/lib/debug/usr/bin/gbx3.debug...done. done. (gdb) run /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 Starting program: /usr/bin/gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 [Thread debugging using libthread_db enabled] [New Thread 0x15fab70 (LWP 2962)] Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x8232c80)" of type `GString' Detaching after fork from child process 2963. Detaching after fork from child process 2965. [New Thread 0x6156b70 (LWP 2966)] [New Thread 0x70dfb70 (LWP 2967)] Detaching after fork from child process 2968. warning: unable to load 24/earth Program received signal SIGSEGV, Segmentation fault. 0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603 603 if (!OBJECT_is_valid(object) || !OBJECT_has_events(object)) Missing separate debuginfos, use: debuginfo-install GConf2-2.31.91-1.fc14.i686 ORBit2-2.14.19-1.fc14.i686 PackageKit-gtk-module-0.6.12-4.fc14.i686 atk-1.32.0-1.fc14.i686 avahi-glib-0.6.27-8.fc14.i686 avahi-libs-0.6.27-8.fc14.i686 cairo-1.10.2-1.fc14.i686 cups-libs-1.4.8-5.fc14.i686 dbus-glib-0.86-4.fc14.i686 dbus-libs-1.4.0-3.fc14.i686 expat-2.0.1-10.fc13.i686 flac-1.2.1-6.fc12.i686 fontconfig-2.8.0-2.fc14.i686 freetype-2.4.2-7.fc14.i686 gdk-pixbuf2-2.22.0-2.fc14.i686 glib2-2.26.0-2.fc14.i686 glibc-2.13-2.i686 gnome-vfs2-2.24.4-1.fc14.i686 gnutls-2.8.6-2.fc14.i686 gtk-aurora-engine-1.5.1-4.fc14.i686 gtk2-2.22.0-2.fc14.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-3.fc14.i686 lcms-libs-1.19-2.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3.4-4.fc14.i686 libXau-1.0.6-1.fc14.i686 libXcomposite-0.4.2-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 libXdamage-1.1.3-1.fc14.i686 libXext-1.1.2-2.fc14.i686 libXfixes-4.0.5-1.fc14.i686 libXi-1.3.2-1.fc14.i686 libXinerama-1.1-2.fc13.i686 libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 libXtst-1.0.99.2-3.fc12.i686 libart_lgpl-2.3.21-1.fc14.i686 libasyncns-0.8-1.fc13.i686 libbonobo-2.32.0-1.fc14.i686 libbonoboui-2.24.4-1.fc14.i686 libcanberra-0.25-4.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libgcc-4.5.1-4.fc14.i686 libgcrypt-1.4.5-4.fc13.i686 libgnome-2.32.0-1.fc14.i686 libgnome-keyring-2.32.0-2.fc14.i686 libgnomecanvas-2.30.2-1.fc14.i686 libgnomeui-2.24.4-1.fc14.i686 libgpg-error-1.9-1.fc14.i686 libjpeg-turbo-1.1.1-1.fc14.i686 libmng-1.0.10-4.fc12.i686 libogg-1.2.0-1.fc14.i686 libpng-1.2.46-1.fc14.i686 libqzeitgeist-0.7.0-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libsndfile-1.0.25-1.fc14.i686 libstdc++-4.5.1-4.fc14.i686 libtasn1-2.7-1.fc14.i686 libtdb-1.2.1-3.fc14.i686 libtiff-3.9.5-1.fc14.i686 libtool-ltdl-2.2.10-3.fc14.i686 libuuid-2.18-4.8.fc14.i686 libvorbis-1.3.1-2.fc14.i686 libxcb-1.7-1.fc14.i686 libxml2-2.7.7-3.fc14.i686 nss-softokn-freebl-3.12.10-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 pango-1.28.1-5.fc14.i686 phonon-4.5.1-1.fc14.i686 pixman-0.18.4-1.fc14.i686 popt-1.13-7.fc14.i686 pulseaudio-libs-0.9.21-7.fc14.i686 pulseaudio-libs-glib2-0.9.21-7.fc14.i686 qt-4.7.4-7.fc14.i686 qt-webkit-4.7.4-7.fc14.i686 qt-x11-4.7.4-7.fc14.i686 scim-bridge-qt-0.4.16-5.fc14.i686 sqlite-3.6.23.1-1.fc14.i686 tcp_wrappers-libs-7.6-59.fc14.i686 zlib-1.2.5-2.fc14.i686 (gdb) bt #0 0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603 #1 0x00223196 in post_event (_object=0x11, event=2) at CEditor.cpp:1416 #2 0x08083999 in SIGNAL_raise_callbacks (fd=41, type=1, data=0x0) at gbx_signal.c:143 #3 0x001821eb in CWatch::read (this=0x8301100, fd=41) at CWatch.cpp:135 #4 0x00181ece in CWatch::qt_metacall (this=0x8301100, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0xbfffeaf8) at CWatch_moc.cpp:73 #5 0x0780e66b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #6 0x0781dc67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #7 0x0786c1f4 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 #8 0x0782446f in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 #9 0x04febecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #10 0x04ff0bd2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #11 0x07807e33 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #12 0x0783554f in ?? () from /usr/lib/libQtCore.so.4 #13 0x008b4192 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #14 0x008b4978 in ?? () from /lib/libglib-2.0.so.0 #15 0x008b4c35 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #16 0x07835bcd in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #17 0x050a0186 in ?? () from /usr/lib/libQtGui.so.4 #18 0x0780bf5a in QCoreApplication::processEvents(QFlags, int) () from /usr/lib/libQtCore.so.4 #19 0x0014c07d in hook_loop () at main.cpp:760 #20 0x08073df8 in main (argc=2, argv=0xbffff344) at gbx.c:408 (gdb) quit A debugging session is active. Inferior 1 [process 2959] will be killed. Quit anyway? (y or n) y --------------------------------------------------------- After execute the 'run' command, I got a window but all grey color and nothing appear. Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 20:31, Beno?t Minisini a ?crit : > Le 13/05/2012 20:09, Olivier Cruilles a ?crit : >> I try it on two different ways: >> >>>> >>>> Can you remember me the command to debug gambas3 execution please ? >>>> >>>> Olivier Cruilles >>>> Mail: linuxos at ...1896... >>>> >>> >>> $ gdb gbr3 >>> ... >>> (gdb) gbr3 /path/to/gambas3.gambas -- >>> > > Sorry I meant: > > (gdb) run /path/to/gambas3.gambas -- > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun May 13 21:04:03 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 May 2012 21:04:03 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> Message-ID: <4FB005A3.8050807@...1...> Le 13/05/2012 20:53, Olivier Cruilles a ?crit : > > > [linus at ...2073... gbEditor3]$ gdb gbr3 > GNU gdb (GDB) Fedora (7.2-52.fc14) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i686-redhat-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/gbr3...Reading symbols from /usr/lib/debug/usr/bin/gbx3.debug...done. > done. > (gdb) run /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > Starting program: /usr/bin/gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > [Thread debugging using libthread_db enabled] > [New Thread 0x15fab70 (LWP 2962)] > Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x8232c80)" of type `GString' > Detaching after fork from child process 2963. > Detaching after fork from child process 2965. > [New Thread 0x6156b70 (LWP 2966)] > [New Thread 0x70dfb70 (LWP 2967)] > Detaching after fork from child process 2968. > warning: unable to load 24/earth > > Program received signal SIGSEGV, Segmentation fault. > 0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603 > 603 if (!OBJECT_is_valid(object) || !OBJECT_has_events(object)) > Missing separate debuginfos, use: debuginfo-install GConf2-2.31.91-1.fc14.i686 ORBit2-2.14.19-1.fc14.i686 PackageKit-gtk-module-0.6.12-4.fc14.i686 atk-1.32.0-1.fc14.i686 avahi-glib-0.6.27-8.fc14.i686 avahi-libs-0.6.27-8.fc14.i686 cairo-1.10.2-1.fc14.i686 cups-libs-1.4.8-5.fc14.i686 dbus-glib-0.86-4.fc14.i686 dbus-libs-1.4.0-3.fc14.i686 expat-2.0.1-10.fc13.i686 flac-1.2.1-6.fc12.i686 fontconfig-2.8.0-2.fc14.i686 freetype-2.4.2-7.fc14.i686 gdk-pixbuf2-2.22.0-2.fc14.i686 glib2-2.26.0-2.fc14.i686 glibc-2.13-2.i686 gnome-vfs2-2.24.4-1.fc14.i686 gnutls-2.8.6-2.fc14.i686 gtk-aurora-engine-1.5.1-4.fc14.i686 gtk2-2.22.0-2.fc14.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-3.fc14.i686 lcms-libs-1.19-2.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3.4-4.fc14.i686 libXau-1.0.6-1.fc14.i686 libXcomposite-0.4.2-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 libXdamage-1.1.3-1.fc14.i686 libXext-1.1.2-2.fc14.i686 libXfixes-4.0.5-1.fc14.i686 libXi-1.3.2-1.fc14.i686 libXinerama-1 .1-2.fc13.i686 libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 libXtst-1.0.99.2-3.fc12.i686 libart_lgpl-2.3.21-1.fc14.i686 libasyncns-0.8-1.fc13.i686 libbonobo-2.32.0-1.fc14.i686 libbonoboui-2.24.4-1.fc14.i686 libcanberra-0.25-4.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libgcc-4.5.1-4.fc14.i686 libgcrypt-1.4.5-4.fc13.i686 libgnome-2.32.0-1.fc14.i686 libgnome-keyring-2.32.0-2.fc14.i686 libgnomecanvas-2.30.2-1.fc14.i686 libgnomeui-2.24.4-1.fc14.i686 libgpg-error-1.9-1.fc14.i686 libjpeg-turbo-1.1.1-1.fc14.i686 libmng-1.0.10-4.fc12.i686 libogg-1.2.0-1.fc14.i686 libpng-1.2.46-1.fc14.i686 libqzeitgeist-0.7.0-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libsndfile-1.0.25-1.fc14.i686 libstdc++-4.5.1-4.fc14.i686 libtasn1-2.7-1.fc14.i686 libtdb-1.2.1-3.fc14.i686 libtiff-3.9.5-1.fc14.i686 libtool-ltdl-2.2.10-3.fc14.i686 libuuid-2.18-4.8.fc14.i686 libvorbis-1.3.1-2.fc14.i686 libxcb-1.7-1.fc14.i686 libxml2-2.7.7-3.fc14.i686 nss-softokn-freebl-3.12.10-1.fc14 .i686 openssl-1.0.0e-1.fc14.i686 pango-1.28.1-5.fc14.i686 phonon-4.5.1-1.fc14.i686 pixman-0.18.4-1.fc14.i686 popt-1.13-7.fc14.i686 pulseaudio-libs-0.9.21-7.fc14.i686 pulseaudio-libs-glib2-0.9.21-7.fc14.i686 qt-4.7.4-7.fc14.i686 qt-webkit-4.7.4-7.fc14.i686 qt-x11-4.7.4-7.fc14.i686 scim-bridge-qt-0.4.16-5.fc14.i686 sqlite-3.6.23.1-1.fc14.i686 tcp_wrappers-libs-7.6-59.fc14.i686 zlib-1.2.5-2.fc14.i686 > (gdb) bt > #0 0x0806cc27 in GB_Raise (object=0x11, event_id=2, nparam=0) at gbx_api.c:603 > #1 0x00223196 in post_event (_object=0x11, event=2) at CEditor.cpp:1416 > #2 0x08083999 in SIGNAL_raise_callbacks (fd=41, type=1, data=0x0) at gbx_signal.c:143 > #3 0x001821eb in CWatch::read (this=0x8301100, fd=41) at CWatch.cpp:135 > #4 0x00181ece in CWatch::qt_metacall (this=0x8301100, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0xbfffeaf8) > at CWatch_moc.cpp:73 > #5 0x0780e66b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 > #6 0x0781dc67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 > #7 0x0786c1f4 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 > #8 0x0782446f in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 > #9 0x04febecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 > #10 0x04ff0bd2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 > #11 0x07807e33 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 > #12 0x0783554f in ?? () from /usr/lib/libQtCore.so.4 > #13 0x008b4192 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 > #14 0x008b4978 in ?? () from /lib/libglib-2.0.so.0 > #15 0x008b4c35 in g_main_context_iteration () from /lib/libglib-2.0.so.0 > #16 0x07835bcd in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 > #17 0x050a0186 in ?? () from /usr/lib/libQtGui.so.4 > #18 0x0780bf5a in QCoreApplication::processEvents(QFlags, int) () from /usr/lib/libQtCore.so.4 > #19 0x0014c07d in hook_loop () at main.cpp:760 > #20 0x08073df8 in main (argc=2, argv=0xbffff344) at gbx.c:408 > (gdb) quit > A debugging session is active. > > Inferior 1 [process 2959] will be killed. > > Quit anyway? (y or n) y > > --------------------------------------------------------- > > > After execute the 'run' command, I got a window but all grey color and nothing appear. > > > > > Olivier Cruilles > Mail: linuxos at ...1896... > Can you try with valgrind now? (the following command on one line) $ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 And send me the full output. -- Beno?t Minisini From linuxos at ...1896... Sun May 13 22:50:31 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 13 May 2012 22:50:31 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FB005A3.8050807@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> <4FB005A3.8050807@...1...> Message-ID: [linus at ...2073... tmp]$ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==3141== Memcheck, a memory error detector ==3141== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==3141== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==3141== Command: gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==3141== ERROR: #35: Cannot open file '.': No such device ==3141== ==3141== HEAP SUMMARY: ==3141== in use at exit: 14,096 bytes in 197 blocks ==3141== total heap usage: 216 allocs, 19 frees, 55,048 bytes allocated ==3141== ==3141== LEAK SUMMARY: ==3141== definitely lost: 64 bytes in 1 blocks ==3141== indirectly lost: 0 bytes in 0 blocks ==3141== possibly lost: 8,752 bytes in 136 blocks ==3141== still reachable: 5,280 bytes in 60 blocks ==3141== suppressed: 0 bytes in 0 blocks ==3141== Rerun with --leak-check=full to see details of leaked memory ==3141== ==3141== For counts of detected and suppressed errors, rerun with: -v ==3141== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 8) Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 21:04, Beno?t Minisini a ?crit : > valgrind --tool=memcheck --num-callers=50 gbr3 -- > /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 From gambas at ...2524... Mon May 14 00:01:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 May 2012 22:01:16 +0000 Subject: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight Message-ID: <0-6813199134517018827-17894289632802938917-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 249 by imperiou... at ...2360...: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 1) When setting a gridview cell to a height to -1 to resize it after the text has been wordwrapped the height does not change. Setting the height manually does work. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: 4728 Operating system: Linux Distribution: Fedora Architecture: x86_64 GUI component: QT4 Desktop used: KDE 3) Code as thus: For Each tmpStr In varSysMessages Me.sysMessages.Rows.Count += 1 myCol = ReturnColors(tmpStr[3]) ' For making all really pretty Me.sysMessages[a, 0].Text = tmpStr[0] ' Text Me.sysMessages[a, 1].Text = tmpStr[1] ' Some more text Me.sysMessages[a, 2].Text = tmpStr[2] ' long text string Me.sysMessages[a, 2].WordWrap = True Me.sysMessages.Rows[a].H = -1 (if I set this to any other value it works) For b = 0 To 2 Me.sysMessages[a, b].Alignment = Align.TopLeft Me.sysMessages[a, b].Foreground = Color.RGB(myCol[0], myCol[1], myCol[2]) Me.sysMessages[a, b].Background = Color.RGB(myCol[3], myCol[4], myCol[5]) Next a += 1 Next From lists at ...2828... Mon May 14 12:00:02 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 14 May 2012 12:00:02 +0200 Subject: [Gambas-user] Two bugs/issues noted Message-ID: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> Noted some issues last night... First one is with Date(now). If assigned to a variable (or printed) it adds placeholders for time as zeroes like... 05/14/2012 00:00:00 Second is regarding the Shell command. If I execute the following code on my NAS nothing happens, same code works OK in Xubuntu running on x86... ... Shell "clear" Wait ... Simple repro code for both issues in attachement. Maybe I'm missing something that changed in Gambas3 but above did not happen in Gambas2 2.23.1. I'm running Gambas3 #4702 under Debian 5.03 on ARM. PS: I apologize if this is the wrong way to report bugs/issues. If thats the case please let me know where/how to report issues. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: clear_date_demo.tar.gz Type: application/x-gzip Size: 5646 bytes Desc: not available URL: From tobiasboege01 at ...1601... Mon May 14 16:50:14 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 14 May 2012 16:50:14 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> References: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> Message-ID: <20120514145014.GB612@...2774...> On Mon, 14 May 2012, Christer Johansson wrote: > > Noted some issues last night... > > First one is with Date(now). If assigned to a variable (or printed) it > adds placeholders for time as zeroes like... > > 05/14/2012 00:00:00 > > Second is regarding the Shell command. If I execute the following > code on my NAS nothing happens, same code works OK in Xubuntu running > on x86... > > ... > Shell "clear" Wait > ... > > Simple repro code for both issues in attachement. > > Maybe I'm missing something that changed in Gambas3 but above did not > happen in Gambas2 2.23.1. > > I'm running Gambas3 #4702 under Debian 5.03 on ARM. > > PS: I apologize if this is the wrong way to report bugs/issues. If > thats the case please let me know where/how to report issues. > > /CJ > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user But in a shell, the clear command works as expected? Where do you run the program from exactly? From lists at ...2828... Mon May 14 19:01:03 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 14 May 2012 19:01:03 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <20120514145014.GB612@...2774...> Message-ID: <000001cd31f3$2759c160$0f00a8c0@...2829...> > -----Original Message----- > From: tobi [mailto:tobiasboege01 at ...1601...] > Sent: Monday, May 14, 2012 4:50 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Two bugs/issues noted > > > On Mon, 14 May 2012, Christer Johansson wrote: > > > > Noted some issues last night... > > > > First one is with Date(now). If assigned to a variable (or > printed) it > > adds placeholders for time as zeroes like... > > > > 05/14/2012 00:00:00 > > > > Second is regarding the Shell command. If I execute the following > > code on my NAS nothing happens, same code works OK in > Xubuntu running > > on x86... > > > > ... > > Shell "clear" Wait > > ... > > > > Simple repro code for both issues in attachement. > > > > Maybe I'm missing something that changed in Gambas3 but > above did not > > happen in Gambas2 2.23.1. > > > > I'm running Gambas3 #4702 under Debian 5.03 on ARM. > > > > PS: I apologize if this is the wrong way to report bugs/issues. If > > thats the case please let me know where/how to report issues. > > > > /CJ > > > > But in a shell, the clear command works as expected? Yes. >Where do you run the program from exactly? I run it from the shell on a headless NAS running Debian Lenny (ARM) with the following Gambas3 components installed... gambas3-gb-net 3.1.90+svn20120501+r470 The Gambas networking component gambas3-gb-net-curl 3.1.90+svn20120501+r470 The Gambas advanced networking component gambas3-gb-net-smtp 3.1.90+svn20120501+r470 Gambas component to use smtp protocol gambas3-gb-settings 3.1.90+svn20120501+r470 Gambas utilities class gambas3-runtime 3.1.90+svn20120501+r470 The Gambas runtime I agree that this is wierd... I just recompiled the same code in Gambas2 2.23.1 and tried it on the NAS and the same code works fine (i.e the screen clears and prints the expected text every second). For Gambas2 I have the following components installed... gambas2-gb-net 2.23.1-1+b1 The Gambas networking component gambas2-runtime 2.23.1-1+b1 The Gambas runtime With Gambas3 there is no output to the shell at all but if I remove the "Shell "clear" Wait" line and re-run the program outputs the expected result every second!? As previously mention it also works when running on my Xubuntu 11.04 machine used for developing, i.e the full Gambas3 installed. Just guessing here but maybe something changed and the "shell" command somehow depends on some other component being available (even if the dep. listing doesn't say so)? /CJ From gambas at ...1... Tue May 15 03:25:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 15 May 2012 03:25:28 +0200 Subject: [Gambas-user] Warning, big change in gb.gtk! Message-ID: <4FB1B088.4000400@...1...> No, it's not the support of GTK+ 3.0, but a big redesign that allows gb.gtk controls to be "transparent" like their gb.qt4 counterparts. This is in revision 4729, and this is work in progress, so you can complain. Now the PhotoTouch and MediaPlayer example can work with gb.qt4 or gb.gtk indifferently... except that there is some bugs in gb.gtk yet: - For some reason, the PhotoTouch brightness dialog does not work with gb.gtk+. No idea why. - The MediaPlayer control window is not on the bottom of the screen. No idea why too. And making the main window fullscreen loses the maximized state. Anyway, I hope you will enjoy my efforts to allow making cool GUIs with gb.gtk! Regards, -- Beno?t Minisini From greg.raffaelle at ...2755... Tue May 15 21:08:52 2012 From: greg.raffaelle at ...2755... (Greg Raffaelle) Date: Tue, 15 May 2012 14:08:52 -0500 Subject: [Gambas-user] Problems positioning controls in form with menu Message-ID: <4FB2A9C4.8040309@...2755...> Attached is a simple program which demostrates the problem I am having with controls in a form not displaying correctly when the form has a menu. By not displaying correctly I mean the vertically position of the controls is being changed when the program is run and all the controls are moving up from the positions set in the gui editor. I also attached a second file with my System Information. If more information needed to solve problem please let me know. -------------- next part -------------- A non-text attachment was scrubbed... Name: FormMenu.rar Type: application/octet-stream Size: 7013 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MySystemInformation URL: From bbruen at ...2308... Wed May 16 05:50:00 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 16 May 2012 13:20:00 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank Message-ID: <1337140200.17276.3.camel@...37...> Hi folks, I've been struggling with this for over a week now with no success, so I need some help. I have a client with a new pclinuxos distro. When I install gambas3 from the svn it all appears to build and install properly, but when I start the IDE all I get is a blank screen. (attached) The build environment is as follows: Compilation requirements ------------------------ gcc (GCC) 4.5.2 g++ (GCC) 4.5.2 automake (GNU automake) 1.11.1 autoconf (GNU Autoconf) 2.65 libtool (GNU libtool) 2.2.10 Interpreter library requirements -------------------------------- libffi 3.0.8 QT4 --- Qt4 version 4.7.3 All required libraries are present on the system (i.e. configure says "|| ALL COMPONENTS WILL BE COMPILED" ) and the build completes (apart from some "usual" warnings about deprecated conversion from string constant to 'char* and some moc warnings that I believe are also normal, e.g. "CLCDNumber.h:0: Warning: No relevant classes found. No output generated.". Today I have done the following: svn up trunk cd trunk (su) make uninstall make clean (./reconf-all;.configure -C;make)>../gb3build.txt 2>&1 (su) make install >../gb3install.txt 2>&1 I have attached the entire build and install outputs in the compressed file gb3output.tar.gz To further confuse me, I can run .gambas files compiled on this machine prior to its being reloaded with pclinuxos OK. These include gb.gui and gb.qt4 linked apps. Any help would be greatly appreciated. regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: gb3output.tar.gz Type: application/x-compressed-tar Size: 51918 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: testjunk 0.0.1 - Gambas 3_001.png Type: image/png Size: 5734 bytes Desc: not available URL: From support at ...2529... Wed May 16 06:15:16 2012 From: support at ...2529... (John Spikowski) Date: Tue, 15 May 2012 21:15:16 -0700 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337140200.17276.3.camel@...37...> References: <1337140200.17276.3.camel@...37...> Message-ID: <1337141716.2690.11.camel@...1833...> On Wed, 2012-05-16 at 13:20 +0930, Bruce wrote: > but when I start the IDE all I get is a blank screen. Would make a great Gambas 'Hello World'. ;-) From bbruen at ...2308... Wed May 16 06:57:24 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 16 May 2012 14:27:24 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337140200.17276.3.camel@...37...> References: <1337140200.17276.3.camel@...37...> Message-ID: <1337144244.17276.21.camel@...37...> A possible further clue? When I run some of my apps that "work" under the gb.qt environment e.g. cd ~/libman export GB_GUI=gb.qt4 ./libman.gambas the app hangs when it executes an external command. So far I've found examples where Shell and Desktop calls end up with the application hanging. Sufficiently clear? Well, for example, one app has a button to startup the desktop file manager viz, Public Sub btnBrowse_Click() If $gbproj2 Then Desktop.Open($gbproj2.Path) End When I run this using gb.gtk it works properly, i.e. the file manager is opened and the application keeps going. If I run it under gb.qt4, when the button is clicked, a) the file manager doesn't open and b) the app hangs. Another example is one where I'm doing a lot of "Shell" commands to run an autotools install. (I'll stick the relevant code below.) In this case all the Shell commands execute but the application hangs again??? Public Sub mnuInstall_Click() Dim wkitem As String Dim workdir As String = "paddys-hill-workarea" Dim unpack As String = "cd &1; pwd; tar -xvf &2" Dim make As String = "cd &1;pwd;./configure;make" Dim logger As String wkitem = gvwInstalls.Current.Text Print "\nInstalling " & wkitem ' 1) set up the necessary infrastructure ' All we need is a temporary build directory, into which the archive is expanded ' Use the users home dir and a visible workingdir so we don't have to worry about which ' "tmp" to use. If Not Exist(User.Home &/ workdir) Then Mkdir User.Home &/ workdir ' 2) decompress the archive Print "Decompressing - " & Subst(unpack, User.Home &/ workdir, wkitem) Shell Subst(unpack, User.Home &/ workdir, wkitem) To logger Print logger ' 3) configure and make Print "Compiling - " & Subst(make, Replace(File.BaseName(wkitem), ".tar", "")) Shell Subst(make, User.Home &/ workdir &/ Replace(File.BaseName(wkitem), ".tar", "")) To logger Print logger ' 4) make install Select Case Desktop.Type Case "LXDE" Print "Installing - " & Subst("gksu -D Installer 'cd &1; pwd; make install'", User.Home &/ workdir &/ Replace(File.BaseName(wkitem), ".tar", "")) Shell Subst("gksu -D Installer 'cd &1; pwd; make install'", User.Home &/ workdir &/ Replace(File.BaseName(wkitem), ".tar", "")) To logger Print logger Case Else Print Desktop.Type End Select Finally Print "Cleanup - " & "rm -rf " & User.Home &/ workdir If Exist(User.Home &/ workdir) Then Shell "rm -rf " & User.Home &/ workdir Print "\nDone" Catch Print Error.Text End What is even more weird is that this is the console log output from use of the above code, it actually runs all the way through to the Print "\nDone" line. Installing /home/bb/packages/autotools/webaccess3-0.3.3.tar.gz Decompressing - cd /home/bb/paddys-hill-workarea; pwd; tar -xvf /home/bb/packages/autotools/webaccess3-0.3.3.tar.gz /home/bb/paddys-hill-workarea webaccess3-0.3.3/ webaccess3-0.3.3/configure webaccess3-0.3.3/Makefile.am ...>8 snipped a lot of tar output ... webaccess3-0.3.3/webaccess3/logo.png Compiling - cd webaccess3-0.3.3;pwd;./configure;make /home/bb/paddys-hill-workarea/webaccess3-0.3.3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gambas3 binaries... Ok checking for gambas3 components path... Ok checking for gb.net component... Ok checking for gb.net.curl component... Ok configure: creating ./config.status config.status: creating Makefile Compiling webaccess3 project... OK Installing - gksu -D Installer 'cd /home/bb/paddys-hill-workarea/webaccess3-0.3.3; pwd; make install' Cleanup - rm -rf /home/bb/paddys-hill-workarea Done Bruce From nando_f at ...951... Wed May 16 16:04:08 2012 From: nando_f at ...951... (nando) Date: Wed, 16 May 2012 10:04:08 -0400 Subject: [Gambas-user] Gambas 2 on CentOS 6.2 does not compile Message-ID: <20120516135053.M4018@...951...> Full clean install CentOS 6.2 As per README in Gambas2 STEP 1: ./reconf-all (no error) STEP 2: ./configure -C (no error but some gambas packages were disabled) STEP 3: ./make (this is just the last part of the console) libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/qt-3.3/include/ -D_REENTRANT -I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -Wcast-align -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from /usr/lib/qt-3.3/include/qpen.h:46, from /usr/lib/qt-3.3/include/qpainter.h:50, from ../../gb.qt.h:36, from main.h:27, from CWebBrowser.h:30, from main.cpp:25: /usr/lib/qt-3.3/include/qshared.h:49: error: variable ?Q_EXPORT QShared? has initializer but incomplete type /usr/lib/qt-3.3/include/qshared.h:49: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x /usr/lib/qt-3.3/include/qshared.h:51: error: expected ?}? before ?:? token /usr/lib/qt-3.3/include/qshared.h:51: error: expected ?,? or ?;? before ?:? token /usr/lib/qt-3.3/include/qshared.h: In function ?void ref()?: /usr/lib/qt-3.3/include/qshared.h:52: error: ?count? was not declared in this scope /usr/lib/qt-3.3/include/qshared.h: In function ?bool deref()?: /usr/lib/qt-3.3/include/qshared.h:53: error: ?count? was not declared in this scope /usr/lib/qt-3.3/include/qshared.h: At global scope: /usr/lib/qt-3.3/include/qshared.h:55: error: expected declaration before ?}? token make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde/src/html' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/ro From nando_f at ...951... Wed May 16 16:50:11 2012 From: nando_f at ...951... (nando) Date: Wed, 16 May 2012 10:50:11 -0400 Subject: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile Message-ID: <20120516144800.M43278@...951...> Full clean CentOS 6.2 Gambas 3 =============================================== Gambas ./configure -C results || || THESE COMPONENTS ARE DISABLED: || - gb.db.sqlite2 || - gb.gsl || - gb.image.imlib || - gb.opengl || - gb.pdf || - gb.sdl || - gb.sdl.sound || - gb.v4l || =============================================== ./make install (disabled components prevents compile ??) Compiling Video/MyWebCam/... gbc: error: Component not found: gb.v4l Compiling Video/WebCam/... gbc: error: Component not found: gb.v4l make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/Downloads/gambas3-3.1.1/examples' make[1]: Leaving directory `/root/Downloads/gambas3-3.1.1/examples' Making install in . make[1]: Entering directory `/root/Downloads/gambas3-3.1.1' make[2]: Entering directory `/root/Downloads/gambas3-3.1.1' || || Unable to compile gambas3 || From johny.provoost at ...27... Wed May 16 18:08:32 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 16 May 2012 18:08:32 +0200 Subject: [Gambas-user] Can't print in Gambas 3 Message-ID: <4FB3D100.2060600@...27...> Dear, What's wrong with this code. I want to set someting to the printer but the only thing I get is an empty page. I can configure my printer but I get an error on the line 'Paint.Begin(mijnprinter)' -> 'printer is not printing' and the printer is giving me an empty page. Working with Gambas 3.1.90 Ubuntu 12.04 Components: gb, gb.from, gb.image, gb.qt4, gb.qt4.ext tried with gtk and got the same result. --------------------------------------------------------------------------- ' Gambas class file Public mijnprinter As New Printer ---------------------------------------------------------------------- Public Sub Form_Open() End ---------------------------------------------------------------------- Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print Paint.Begin(mijnprinter) Paint.Text("TEST TEST") Paint.End End --------------------------------------------------------------------- Greetings, Johny Provoost From linuxos at ...1896... Wed May 16 18:53:14 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 16 May 2012 18:53:14 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> <4FB005A3.8050807@...1...> Message-ID: <1BDA0DAF-F0EF-4EFF-A565-31A773ABA35F@...1896...> Hi Benoit, I think this is better than the preview email: [linus at ...2073... ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==26488== Memcheck, a memory error detector ==26488== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==26488== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==26488== Command: gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==26488== Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x62d9480)" of type `GString' warning: unable to load 24/earth ==26488== Invalid read of size 4 ==26488== at 0x806413D: GB_Raise (gbx_api.c:603) ==26488== by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416) ==26488== by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143) ==26488== by 0x5397982: CWatch::read(int) (CWatch.cpp:135) ==26488== by 0x539770B: CWatch::qt_metacall(QMetaObject::Call, int, void**) (CWatch_moc.cpp:73) ==26488== by 0x780E66A: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x781DC66: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x786C1F3: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x782446E: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x5539ECB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x553EBD1: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x7807E32: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x783554E: ??? (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x8B4191: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x8B4977: ??? (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x8B4C34: g_main_context_iteration (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x7835BCC: QEventDispatcherGlib::processEvents(QFlags) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x55EE185: ??? (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x780BF59: QCoreApplication::processEvents(QFlags, int) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x5370753: hook_loop() (main.cpp:760) ==26488== by 0x80695C7: main (gbx.c:408) ==26488== Address 0x11 is not stack'd, malloc'd or (recently) free'd ==26488== ==26488== ==26488== Process terminating with default action of signal 11 (SIGSEGV) ==26488== Access not within mapped region at address 0x11 ==26488== at 0x806413D: GB_Raise (gbx_api.c:603) ==26488== by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416) ==26488== by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143) ==26488== by 0x5397982: CWatch::read(int) (CWatch.cpp:135) ==26488== by 0x539770B: CWatch::qt_metacall(QMetaObject::Call, int, void**) (CWatch_moc.cpp:73) ==26488== by 0x780E66A: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x781DC66: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x786C1F3: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x782446E: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x5539ECB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x553EBD1: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x7807E32: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x783554E: ??? (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x8B4191: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x8B4977: ??? (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x8B4C34: g_main_context_iteration (in /lib/libglib-2.0.so.0.2600.0) ==26488== by 0x7835BCC: QEventDispatcherGlib::processEvents(QFlags) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x55EE185: ??? (in /usr/lib/libQtGui.so.4.7.4) ==26488== by 0x780BF59: QCoreApplication::processEvents(QFlags, int) (in /usr/lib/libQtCore.so.4.7.4) ==26488== by 0x5370753: hook_loop() (main.cpp:760) ==26488== by 0x80695C7: main (gbx.c:408) ==26488== If you believe this happened as a result of a stack ==26488== overflow in your program's main thread (unlikely but ==26488== possible), you can try to increase the size of the ==26488== main thread stack using the --main-stacksize= flag. ==26488== The main thread stack size used in this run was 8388608. ==26488== ==26488== HEAP SUMMARY: ==26488== in use at exit: 18,060,462 bytes in 252,937 blocks ==26488== total heap usage: 745,788 allocs, 492,851 frees, 106,308,203 bytes allocated ==26488== ==26488== LEAK SUMMARY: ==26488== definitely lost: 37,128 bytes in 214 blocks ==26488== indirectly lost: 193,916 bytes in 8,776 blocks ==26488== possibly lost: 16,299,397 bytes in 217,060 blocks ==26488== still reachable: 1,530,021 bytes in 26,887 blocks ==26488== suppressed: 0 bytes in 0 blocks ==26488== Rerun with --leak-check=full to see details of leaked memory ==26488== ==26488== For counts of detected and suppressed errors, rerun with: -v ==26488== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 207 from 11) Processus arr?t? Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 22:50, Olivier Cruilles a ?crit : > > [linus at ...2073... tmp]$ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==3141== Memcheck, a memory error detector > ==3141== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. > ==3141== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info > ==3141== Command: gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==3141== > ERROR: #35: Cannot open file '.': No such device > ==3141== > ==3141== HEAP SUMMARY: > ==3141== in use at exit: 14,096 bytes in 197 blocks > ==3141== total heap usage: 216 allocs, 19 frees, 55,048 bytes allocated > ==3141== > ==3141== LEAK SUMMARY: > ==3141== definitely lost: 64 bytes in 1 blocks > ==3141== indirectly lost: 0 bytes in 0 blocks > ==3141== possibly lost: 8,752 bytes in 136 blocks > ==3141== still reachable: 5,280 bytes in 60 blocks > ==3141== suppressed: 0 bytes in 0 blocks > ==3141== Rerun with --leak-check=full to see details of leaked memory > ==3141== > ==3141== For counts of detected and suppressed errors, rerun with: -v > ==3141== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 8) > > > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 13 mai 2012 ? 21:04, Beno?t Minisini a ?crit : > >> valgrind --tool=memcheck --num-callers=50 gbr3 -- >> /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 From linuxos at ...1896... Wed May 16 19:00:25 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 16 May 2012 19:00:25 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> <4FB005A3.8050807@...1...> Message-ID: <9468B155-513D-441C-A69F-ADC6E5984594@...1896...> Sorry, I forgot the rev: #4733 Olivier Cruilles Mail: linuxos at ...1896... Le 13 mai 2012 ? 22:50, Olivier Cruilles a ?crit : > > [linus at ...2073... tmp]$ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==3141== Memcheck, a memory error detector > ==3141== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. > ==3141== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info > ==3141== Command: gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==3141== > ERROR: #35: Cannot open file '.': No such device > ==3141== > ==3141== HEAP SUMMARY: > ==3141== in use at exit: 14,096 bytes in 197 blocks > ==3141== total heap usage: 216 allocs, 19 frees, 55,048 bytes allocated > ==3141== > ==3141== LEAK SUMMARY: > ==3141== definitely lost: 64 bytes in 1 blocks > ==3141== indirectly lost: 0 bytes in 0 blocks > ==3141== possibly lost: 8,752 bytes in 136 blocks > ==3141== still reachable: 5,280 bytes in 60 blocks > ==3141== suppressed: 0 bytes in 0 blocks > ==3141== Rerun with --leak-check=full to see details of leaked memory > ==3141== > ==3141== For counts of detected and suppressed errors, rerun with: -v > ==3141== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 8) > > > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 13 mai 2012 ? 21:04, Beno?t Minisini a ?crit : > >> valgrind --tool=memcheck --num-callers=50 gbr3 -- >> /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 From gambas at ...1... Wed May 16 20:05:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 16 May 2012 20:05:45 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <1BDA0DAF-F0EF-4EFF-A565-31A773ABA35F@...1896...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> <4FB005A3.8050807@...1...> <1BDA0DAF-F0EF-4EFF-A565-31A773ABA35F@...1896...> Message-ID: <4FB3EC79.5070000@...1...> Le 16/05/2012 18:53, Olivier Cruilles a ?crit : > Hi Benoit, > > I think this is better than the preview email: > > [linus at ...2073... ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==26488== Memcheck, a memory error detector > ==26488== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. > ==26488== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info > ==26488== Command: gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 > ==26488== > Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x62d9480)" of type `GString' > > > > warning: unable to load 24/earth > ==26488== Invalid read of size 4 > ==26488== at 0x806413D: GB_Raise (gbx_api.c:603) > ==26488== by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416) > ==26488== by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143) Mmm. It is theoritically impossible that SIGNAL_raise_callbacks calls the post_event() function, as only one signal handler is registered by the interpreter at the moment, to handle child process termination. And this is not the post_event routine. Can you try the last revision? I fixed some race conditions in the signal management routines. Maybe it could be the cause of these strange errors... -- Beno?t Minisini From gambas at ...1... Wed May 16 20:07:18 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 16 May 2012 20:07:18 +0200 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337140200.17276.3.camel@...37...> References: <1337140200.17276.3.camel@...37...> Message-ID: <4FB3ECD6.3070106@...1...> Le 16/05/2012 05:50, Bruce a ?crit : > Hi folks, > > I've been struggling with this for over a week now with no success, so I > need some help. > > I have a client with a new pclinuxos distro. When I install gambas3 from > the svn it all appears to build and install properly, but when I start > the IDE all I get is a blank screen. (attached) > > The build environment is as follows: > Compilation requirements > ------------------------ > gcc (GCC) 4.5.2 > g++ (GCC) 4.5.2 > automake (GNU automake) 1.11.1 > autoconf (GNU Autoconf) 2.65 > libtool (GNU libtool) 2.2.10 > > Interpreter library requirements > -------------------------------- > libffi 3.0.8 > > QT4 > --- > Qt4 version 4.7.3 > > All required libraries are present on the system (i.e. configure says > "|| ALL COMPONENTS WILL BE COMPILED" ) and the build completes (apart > from some "usual" warnings about deprecated conversion from string > constant to 'char* and some moc warnings that I believe are also normal, > e.g. "CLCDNumber.h:0: Warning: No relevant classes found. No output > generated.". > > Today I have done the following: > svn up trunk > cd trunk > (su) make uninstall > make clean > (./reconf-all;.configure -C;make)>../gb3build.txt 2>&1 > (su) > make install>../gb3install.txt 2>&1 > > I have attached the entire build and install outputs in the compressed > file gb3output.tar.gz > > To further confuse me, I can run .gambas files compiled on this machine > prior to its being reloaded with pclinuxos OK. These include gb.gui and > gb.qt4 linked apps. > > Any help would be greatly appreciated. > > regards > Bruce > Maybe this is related to Olivier's crash. Maybe not... To help me, you can break the currently frozen IDE by getting its process id, and run "gdb gbx3 ". Then you enter the 'bt' command in the debugger and you tell me the result. Regards, -- Beno?t Minisini From vuott at ...325... Wed May 16 20:53:33 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 16 May 2012 19:53:33 +0100 (BST) Subject: [Gambas-user] R: Can't print in Gambas 3 In-Reply-To: <4FB3D100.2060600@...27...> Message-ID: <1337194413.84311.YahooMailClassic@...2789...> Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print End Public Sub mijnprinter_Draw() Paint.DrawText("TEST TEST") Paint.End End --- Mer 16/5/12, Johny Provoost ha scritto: > Da: Johny Provoost > Oggetto: [Gambas-user] Can't print in Gambas 3 > A: "Gambas User List" > Data: Mercoled? 16 maggio 2012, 18:08 > Dear, > > What's wrong with this code.? I want to set someting to > the printer but > the only thing I get is an empty page. > I can configure my printer but I get an error on the line > 'Paint.Begin(mijnprinter)' -> 'printer is not printing' > and the printer > is giving me an empty page. > > > Working with Gambas 3.1.90 > Ubuntu 12.04 > Components: gb, gb.from, gb.image, gb.qt4, gb.qt4.ext > > tried with gtk and got the same result. > > --------------------------------------------------------------------------- > ' Gambas class file > > Public mijnprinter As New Printer > ---------------------------------------------------------------------- > Public Sub Form_Open() > > End > ---------------------------------------------------------------------- > Public Sub Button1_Click() > ? ???If mijnprinter.Configure() = True > Then Return > ? ???mijnprinter.FirstPage = 0 > ? ???mijnprinter.Orientation = 1 > ? ???mijnprinter.Paper = 2 > ? ???mijnprinter.Print > ? ???Paint.Begin(mijnprinter) > ? ???Paint.Text("TEST TEST") > ? ???Paint.End > > End > --------------------------------------------------------------------- > > Greetings, > Johny Provoost > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Wed May 16 21:29:13 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 16 May 2012 21:29:13 +0200 Subject: [Gambas-user] R: Can't print in Gambas 3 In-Reply-To: <1337194413.84311.YahooMailClassic@...2789...> References: <1337194413.84311.YahooMailClassic@...2789...> Message-ID: <4FB40009.9070305@...27...> Error is gone, but still got a empty page. Johny Op 16-05-12 20:53, Ru Vuott schreef: > Public Sub Button1_Click() > If mijnprinter.Configure() = True Then Return > mijnprinter.FirstPage = 0 > mijnprinter.Orientation = 1 > mijnprinter.Paper = 2 > mijnprinter.Print > End > > Public Sub mijnprinter_Draw() > > Paint.DrawText("TEST TEST") > Paint.End > > End > > > > > --- Mer 16/5/12, Johny Provoost ha scritto: > >> Da: Johny Provoost >> Oggetto: [Gambas-user] Can't print in Gambas 3 >> A: "Gambas User List" >> Data: Mercoled? 16 maggio 2012, 18:08 >> Dear, >> >> What's wrong with this code. I want to set someting to >> the printer but >> the only thing I get is an empty page. >> I can configure my printer but I get an error on the line >> 'Paint.Begin(mijnprinter)' -> 'printer is not printing' >> and the printer >> is giving me an empty page. >> >> >> Working with Gambas 3.1.90 >> Ubuntu 12.04 >> Components: gb, gb.from, gb.image, gb.qt4, gb.qt4.ext >> >> tried with gtk and got the same result. >> >> --------------------------------------------------------------------------- >> ' Gambas class file >> >> Public mijnprinter As New Printer >> ---------------------------------------------------------------------- >> Public Sub Form_Open() >> >> End >> ---------------------------------------------------------------------- >> Public Sub Button1_Click() >> If mijnprinter.Configure() = True >> Then Return >> mijnprinter.FirstPage = 0 >> mijnprinter.Orientation = 1 >> mijnprinter.Paper = 2 >> mijnprinter.Print >> Paint.Begin(mijnprinter) >> Paint.Text("TEST TEST") >> Paint.End >> >> End >> --------------------------------------------------------------------- >> >> Greetings, >> Johny Provoost >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's >> security and >> threat landscape has changed and how IT managers can >> respond. Discussions >> will include endpoint security, mobile security and the >> latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 vuott at ...325... Wed May 16 22:34:30 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 16 May 2012 21:34:30 +0100 (BST) Subject: [Gambas-user] R: Can't print in Gambas 3 In-Reply-To: <4FB40009.9070305@...27...> Message-ID: <1337200470.38371.YahooMailClassic@...2695...> > Error is gone, but still got a empty > page. Uhmm.... strange.... Try: Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print End Public Sub mijnprinter_Draw() With Paint .DrawText("Imprimatur", 500, 1000, 400, 500) .RichText(String.Chr(&1D11E), 600, 2000, 200, 200) .Fill .End End With End '''''' If you want to create a PDF file: Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.OutputFile = "/tmp/imprimatur.pdf" mijnprinter.Print End Public Sub mijnprinter_Draw() With Paint .DrawText("Imprimatur", 500, 1000, 400, 500) .RichText(String.Chr(&1D11E), 600, 2000, 200, 200) .Fill .End End With End From bbruen at ...2308... Wed May 16 22:48:11 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 06:18:11 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <4FB3ECD6.3070106@...1...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> Message-ID: <1337201291.3517.2.camel@...37...> On Wed, 2012-05-16 at 20:07 +0200, Beno?t Minisini wrote: > Maybe this is related to Olivier's crash. Maybe not... > > To help me, you can break the currently frozen IDE by getting its > process id, and run "gdb gbx3 ". Then you enter the > 'bt' command in the debugger and you tell me the result. > > Regards, > [bb at ...40... ~]$ gdb gbx3 31649 GNU gdb (GDB) 7.1-2pclos2010 (PCLinuxOS release 2010) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-mandriva-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/gbx3...done. Attaching to program: /usr/local/bin/gbx3, process 31649 8< ------------------ (gdb) bt #0 0xb6a00b21 in CWINDOW_must_quit () at CWindow.cpp:2246 #1 0xb69f6415 in must_quit () at main.cpp:564 #2 0xb69f6475 in check_quit_now (param=17) at main.cpp:571 #3 0x08074d4e in SIGNAL_raise_callbacks (fd=20, type=1, data=0x0) at gbx_signal.c:143 #4 0xb6a1e8d7 in CWatch::read (this=0xa37f058, fd=20) at CWatch.cpp:135 #5 0xb6a1e660 in CWatch::qt_metacall (this=0xa37f058, _c= QMetaObject::InvokeMetaMethod, _id=, _a=0xbfec5008) at CWatch_moc.cpp:73 #6 0x4b7c104d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #7 0x4b7d070c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #8 0x4b81fed5 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4 #9 0x4b7d731f in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4 #10 0x4ba40e44 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #11 0x4ba45df7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #12 0x4b7ba84e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 ---Type to continue, or q to quit--- #13 0x4b7e8af8 in ?? () from /usr/lib/libQtCore.so.4 #14 0x4b1875c3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #15 0x4b1879f8 in ?? () from /usr/lib/libglib-2.0.so.0 #16 0x4b187ad1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #17 0x4b7e918b in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #18 0x4baf794a in ?? () from /usr/lib/libQtGui.so.4 #19 0x4b7be8fc in QCoreApplication::processEvents(QFlags, int) () from /usr/lib/libQtCore.so.4 #20 0xb69f7710 in hook_loop () at main.cpp:760 #21 0x08069610 in main (argc=7143521, argv=0xbfec57e4) at gbx.c:408 (gdb) Bruce From johny.provoost at ...27... Wed May 16 22:59:08 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 16 May 2012 22:59:08 +0200 Subject: [Gambas-user] R: Can't print in Gambas 3 In-Reply-To: <1337200470.38371.YahooMailClassic@...2695...> References: <1337200470.38371.YahooMailClassic@...2695...> Message-ID: <4FB4151C.5060808@...27...> Still empty page (or empty pdf). If I run the program line by line it seems not going to the sub mijnprinter_Draw. After the 'mijnprinter.Print' it prints an empty page and ends. It was much simpler in Gambas2. It's the only thing (the printing part) that's not working after porting my program to Gambas3, so I tried with a simple button on a window. I don't find much in the help files. Op 16-05-12 22:34, Ru Vuott schreef: >> Error is gone, but still got a empty >> page. > Uhmm.... strange.... > > Try: > > Public Sub Button1_Click() > If mijnprinter.Configure() = True Then Return > mijnprinter.FirstPage = 0 > mijnprinter.Orientation = 1 > mijnprinter.Paper = 2 > mijnprinter.Print > End > > Public Sub mijnprinter_Draw() > > With Paint > .DrawText("Imprimatur", 500, 1000, 400, 500) > .RichText(String.Chr(&1D11E), 600, 2000, 200, 200) > .Fill > .End > End With > > End > > '''''' > If you want to create a PDF file: > > Public Sub Button1_Click() > If mijnprinter.Configure() = True Then Return > mijnprinter.FirstPage = 0 > mijnprinter.Orientation = 1 > mijnprinter.Paper = 2 > mijnprinter.OutputFile = "/tmp/imprimatur.pdf" > mijnprinter.Print > End > > Public Sub mijnprinter_Draw() > > With Paint > .DrawText("Imprimatur", 500, 1000, 400, 500) > .RichText(String.Chr(&1D11E), 600, 2000, 200, 200) > .Fill > .End > End With > > End > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 vuott at ...325... Wed May 16 23:13:38 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 16 May 2012 22:13:38 +0100 (BST) Subject: [Gambas-user] R: Can't print in Gambas 3 In-Reply-To: <4FB4151C.5060808@...27...> Message-ID: <1337202818.65579.YahooMailClassic@...2695...> Uhmmm but... I do not used: Private mijnprinter As New Printer but I put on form a Printer-object ! Well, now I tried to use: Private mijnprinter As New Printer and I eliminted the Printer object from my Form.... and the page was empty !!! So, you have to put in your Form program the Printer-Object (you'll call it: mijnprinter) and so you can try again to print. From johny.provoost at ...27... Wed May 16 23:27:50 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 16 May 2012 23:27:50 +0200 Subject: [Gambas-user] R: Can't print in Gambas 3 [solved] In-Reply-To: <1337202818.65579.YahooMailClassic@...2695...> References: <1337202818.65579.YahooMailClassic@...2695...> Message-ID: <4FB41BD6.5090405@...27...> Hey man, that simple? Thanks now I can getting further. Going to sleep well now, Thanks Johny Op 16-05-12 23:13, Ru Vuott schreef: > Uhmmm > > but... I do not used: > > > Private mijnprinter As New Printer > > > but I put on form a Printer-object ! > > > > Well, now I tried to use: Private mijnprinter As New Printer > and I eliminted the Printer object from my Form.... and the page was empty !!! > > So, you have to put in your Form program the Printer-Object (you'll call it: mijnprinter) and so you can try again to print. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 vuott at ...325... Wed May 16 23:36:38 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 16 May 2012 22:36:38 +0100 (BST) Subject: [Gambas-user] R: Can't print in Gambas 3 [solved] In-Reply-To: <4FB41BD6.5090405@...27...> Message-ID: <1337204198.94938.YahooMailClassic@...2695...> Ok, Johny, but the mistery is: why " Private mijnprinter As New Printer " doesn't work ? ...a bug, maybe ? ........ --- Mer 16/5/12, Johny Provoost ha scritto: > Da: Johny Provoost > Oggetto: Re: [Gambas-user] R: Can't print in Gambas 3 [solved] > A: "mailing list for gambas users" > Data: Mercoled? 16 maggio 2012, 23:27 > Hey man, that simple? > Thanks now I can getting further.? Going to sleep well > now, Thanks > > > Johny > > Op 16-05-12 23:13, Ru Vuott schreef: > > Uhmmm > > > > but... I do not used: > > > > > > Private mijnprinter As New Printer > > > > > > but I put on form a Printer-object ! > > > > > > > > Well, now I tried to use: Private mijnprinter As New > Printer > > and I eliminted the Printer object from my Form.... and > the page was empty !!! > > > > So, you have to put in your Form program the > Printer-Object (you'll call it: mijnprinter) and so you can > try again to print. > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > 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* > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed May 16 23:42:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 16 May 2012 23:42:52 +0200 Subject: [Gambas-user] R: Can't print in Gambas 3 [solved] In-Reply-To: <1337204198.94938.YahooMailClassic@...2695...> References: <1337204198.94938.YahooMailClassic@...2695...> Message-ID: <4FB41F5C.30305@...1...> Le 16/05/2012 23:36, Ru Vuott a ?crit : > Ok, Johny, > > but the mistery is: why " Private mijnprinter As New Printer " doesn't work ? > > ...a bug, maybe ? > > ........ > No. You must specify the event name if you want to catch the events raised by the Printer object. -- Beno?t Minisini From bbruen at ...2308... Wed May 16 23:43:16 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 07:13:16 +0930 Subject: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile In-Reply-To: <20120516144800.M43278@...951...> References: <20120516144800.M43278@...951...> Message-ID: <1337204596.3517.12.camel@...37...> On Wed, 2012-05-16 at 10:50 -0400, nando wrote: > Full clean CentOS 6.2 > Gambas 3 > > =============================================== > Gambas ./configure -C results > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.db.sqlite2 > || - gb.gsl > || - gb.image.imlib > || - gb.opengl > || - gb.pdf > || - gb.sdl > || - gb.sdl.sound > || - gb.v4l > || > > =============================================== > ./make install > (disabled components prevents compile ??) > > Compiling Video/MyWebCam/... > gbc: error: Component not found: gb.v4l > Compiling Video/WebCam/... > gbc: error: Component not found: gb.v4l > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory `/root/Downloads/gambas3-3.1.1/examples' > make[1]: Leaving directory `/root/Downloads/gambas3-3.1.1/examples' > Making install in . > make[1]: Entering directory `/root/Downloads/gambas3-3.1.1' > make[2]: Entering directory `/root/Downloads/gambas3-3.1.1' > > || > || Unable to compile gambas3 > || > > Nando, The error is much further up in the make install output. I am about 3 days ahead of you on CentOS 6.2 and have found many of the missing libraries and development headers on the DAG repository. In my case the relevant bit of info is: Making install in app make[1]: Entering directory `/home/bb/trunk/app' make[2]: Entering directory `/home/bb/trunk/app' Installing the development environment... Compiling gambas3... gbc: error: Component not found: gb.qt4.webkit <<<=====!!!! Compiling gbs3... OK Installing gbs3... Installing the scripter... Registering Gambas script mimetype Registering Gambas server page mimetype make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/bb/trunk/app' make[1]: Leaving directory `/home/bb/trunk/app' and yes I get the "|| Unable to compile gambas3" at the end too. You should be able to see in the make install output a similar error line. (Which very easily highlights which component is missing!) This is why the full output text of the build is frequently asked for. e.g. make install>output.txt 2>&1 hth Bruce p.s. Benoit, What is interesting is that the configure for gb.qt4 did fail for the webkit component, but this was not noted in the final output summary! From gambas at ...1... Wed May 16 23:45:21 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 16 May 2012 23:45:21 +0200 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337201291.3517.2.camel@...37...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> Message-ID: <4FB41FF1.3090506@...1...> Le 16/05/2012 22:48, Bruce a ?crit : > On Wed, 2012-05-16 at 20:07 +0200, Beno?t Minisini wrote: > >> Maybe this is related to Olivier's crash. Maybe not... >> >> To help me, you can break the currently frozen IDE by getting its >> process id, and run "gdb gbx3". Then you enter the >> 'bt' command in the debugger and you tell me the result. >> >> Regards, >> > [bb at ...40... ~]$ gdb gbx3 31649 > GNU gdb (GDB) 7.1-2pclos2010 (PCLinuxOS release 2010) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "i586-mandriva-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/local/bin/gbx3...done. > Attaching to program: /usr/local/bin/gbx3, process 31649 > > 8< ------------------ > > (gdb) bt > #0 0xb6a00b21 in CWINDOW_must_quit () at CWindow.cpp:2246 > #1 0xb69f6415 in must_quit () at main.cpp:564 > #2 0xb69f6475 in check_quit_now (param=17) at main.cpp:571 > #3 0x08074d4e in SIGNAL_raise_callbacks (fd=20, type=1, data=0x0) > at gbx_signal.c:143 > #4 0xb6a1e8d7 in CWatch::read (this=0xa37f058, fd=20) at CWatch.cpp:135 > #5 0xb6a1e660 in CWatch::qt_metacall (this=0xa37f058, _c= > QMetaObject::InvokeMetaMethod, _id=, > _a=0xbfec5008) > at CWatch_moc.cpp:73 > #6 0x4b7c104d in QMetaObject::metacall(QObject*, QMetaObject::Call, > int, void**) () from /usr/lib/libQtCore.so.4 > #7 0x4b7d070c in QMetaObject::activate(QObject*, QMetaObject const*, > int, void**) () from /usr/lib/libQtCore.so.4 > #8 0x4b81fed5 in QSocketNotifier::activated(int) () > from /usr/lib/libQtCore.so.4 > #9 0x4b7d731f in QSocketNotifier::event(QEvent*) () > from /usr/lib/libQtCore.so.4 > #10 0x4ba40e44 in QApplicationPrivate::notify_helper(QObject*, QEvent*) > () > from /usr/lib/libQtGui.so.4 > #11 0x4ba45df7 in QApplication::notify(QObject*, QEvent*) () > from /usr/lib/libQtGui.so.4 > #12 0x4b7ba84e in QCoreApplication::notifyInternal(QObject*, QEvent*) () > from /usr/lib/libQtCore.so.4 > ---Type to continue, or q to quit--- > #13 0x4b7e8af8 in ?? () from /usr/lib/libQtCore.so.4 > #14 0x4b1875c3 in g_main_context_dispatch () > from /usr/lib/libglib-2.0.so.0 > #15 0x4b1879f8 in ?? () from /usr/lib/libglib-2.0.so.0 > #16 0x4b187ad1 in g_main_context_iteration () > from /usr/lib/libglib-2.0.so.0 > #17 0x4b7e918b in > QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 > #18 0x4baf794a in ?? () from /usr/lib/libQtGui.so.4 > #19 0x4b7be8fc in > QCoreApplication::processEvents(QFlags, > int) () from /usr/lib/libQtCore.so.4 > #20 0xb69f7710 in hook_loop () at main.cpp:760 > #21 0x08069610 in main (argc=7143521, argv=0xbfec57e4) at gbx.c:408 > (gdb) > > > Bruce > Can you test the revision #4735? Run the IDE from a terminal, and tell me what debugging messages are printed. Thanks! -- Beno?t Minisini From gambas at ...1... Thu May 17 00:04:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 00:04:25 +0200 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <4FB2A9C4.8040309@...2755...> References: <4FB2A9C4.8040309@...2755...> Message-ID: <4FB42469.3010707@...1...> Le 15/05/2012 21:08, Greg Raffaelle a ?crit : > Attached is a simple program which demostrates the problem I am having > with controls in a form not displaying correctly when the form has a > menu. By not displaying correctly I mean the vertically position of the > controls is being changed when the program is run and all the controls > are moving up from the positions set in the gui editor. > > I also attached a second file with my System Information. > > If more information needed to solve problem please let me know. > I have no problem with the latest Gambas revision. Can you try it? If you can't, maybe someone else can test your program with the latest revision on Gnome, and tell me if he has the same bug or not? -- Beno?t Minisini From gambas at ...2524... Thu May 17 00:17:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 16 May 2012 22:17:33 +0000 Subject: [Gambas-user] Issue 248 in gambas: Combobox Click raises Form_Activate Event In-Reply-To: <0-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 248 by benoit.m... at ...626...: Combobox Click raises Form_Activate Event http://code.google.com/p/gambas/issues/detail?id=248 Why it shouldn't? The combo opens a popup that takes the focus and deactivate the form, so when you close the popup, the form is activated again. From gambas at ...2524... Thu May 17 00:20:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 16 May 2012 22:20:45 +0000 Subject: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight In-Reply-To: <0-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 249 by benoit.m... at ...626...: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 Setting the GridView row height to a negative value does not make the row fits its size, but resets the height to the row default value. Rows are not managed like columns, so that the new GridView can handle millions of rows without eating all the memory (like the old GridView). Maybe I should add a GridView.Rows[].Reset method for that, so that using "-1" has the same meaning than for the columns? From bbruen at ...2308... Thu May 17 00:25:00 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 07:55:00 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <4FB41FF1.3090506@...1...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> <4FB41FF1.3090506@...1...> Message-ID: <1337207100.3517.15.camel@...37...> On Wed, 2012-05-16 at 23:45 +0200, Beno?t Minisini wrote: > Can you test the revision #4735? Run the IDE from a terminal, and tell > me what debugging messages are printed. > > Thanks! > Woot! :-) [bb at ...40... ~]$ gambas3 gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8 SIGNAL_install: 17 0x8074df2 SIGNAL_register: 17 -> 0x87165cc (0x8071dfa) SIGNAL_unregister: disable 17 0x87165cc (0x8071dfa) SIGNAL_unregister: remove 17 0x87165cc ((nil)) SIGNAL_register: 17 -> 0x8751a5c (0x8071dfa) SIGNAL_unregister: disable 17 0x8751a5c (0x8071dfa) SIGNAL_unregister: remove 17 0x8751a5c ((nil)) SIGNAL_register: 17 -> 0x86b29bc (0x8071dfa) SIGNAL_unregister: disable 17 0x86b29bc (0x8071dfa) (the welcome screen appears, selected a very tiny project) SIGNAL_unregister: remove 17 0x86b29bc ((nil)) Bingo! a real IDE screen! Yahoo! And thanks to you. Purely out of interest, what is it? Bruce From gambas at ...1... Thu May 17 00:44:56 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 17 May 2012 00:44:56 +0200 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337207100.3517.15.camel@...37...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> <4FB41FF1.3090506@...1...> <1337207100.3517.15.camel@...37...> Message-ID: <4FB42DE8.8050601@...1...> Le 17/05/2012 00:25, Bruce a ?crit : > On Wed, 2012-05-16 at 23:45 +0200, Beno?t Minisini wrote: > >> Can you test the revision #4735? Run the IDE from a terminal, and tell >> me what debugging messages are printed. >> >> Thanks! >> > > > Woot! :-) > > [bb at ...40... ~]$ gambas3 > gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8 > SIGNAL_install: 17 0x8074df2 > SIGNAL_register: 17 -> 0x87165cc (0x8071dfa) > SIGNAL_unregister: disable 17 0x87165cc (0x8071dfa) > SIGNAL_unregister: remove 17 0x87165cc ((nil)) > SIGNAL_register: 17 -> 0x8751a5c (0x8071dfa) > SIGNAL_unregister: disable 17 0x8751a5c (0x8071dfa) > SIGNAL_unregister: remove 17 0x8751a5c ((nil)) > SIGNAL_register: 17 -> 0x86b29bc (0x8071dfa) > SIGNAL_unregister: disable 17 0x86b29bc (0x8071dfa) > (the welcome screen appears, selected a very tiny project) > SIGNAL_unregister: remove 17 0x86b29bc ((nil)) > Bingo! a real IDE screen! > > Yahoo! And thanks to you. > > Purely out of interest, what is it? > > Bruce > What is it what? -- Beno?t Minisini From bbruen at ...2308... Thu May 17 00:59:52 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 08:29:52 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <4FB42DE8.8050601@...1...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> <4FB41FF1.3090506@...1...> <1337207100.3517.15.camel@...37...> <4FB42DE8.8050601@...1...> Message-ID: <1337209192.3517.16.camel@...37...> On Thu, 2012-05-17 at 00:44 +0200, Beno?t Minisini wrote: > What is it what? > :"-) I meant "What was it that was causing the hang?" Bruce From bbruen at ...2308... Thu May 17 01:04:44 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 08:34:44 +0930 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <4FB42469.3010707@...1...> References: <4FB2A9C4.8040309@...2755...> <4FB42469.3010707@...1...> Message-ID: <1337209484.3517.18.camel@...37...> On Thu, 2012-05-17 at 00:04 +0200, Beno?t Minisini wrote: > Le 15/05/2012 21:08, Greg Raffaelle a ?crit : > > Attached is a simple program which demostrates the problem I am having > > with controls in a form not displaying correctly when the form has a > > menu. By not displaying correctly I mean the vertically position of the > > controls is being changed when the program is run and all the controls > > are moving up from the positions set in the gui editor. > > > > I also attached a second file with my System Information. > > > > If more information needed to solve problem please let me know. > > > > I have no problem with the latest Gambas revision. Can you try it? > > If you can't, maybe someone else can test your program with the latest > revision on Gnome, and tell me if he has the same bug or not? > I've tried it and cannot reproduce the problem. (Not exactly on "Gnome" but using the same gtk viz "libgtk-x11-2.0.so.0.2400.4") Bruce From gambas at ...1... Thu May 17 01:48:13 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 17 May 2012 01:48:13 +0200 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <1337209192.3517.16.camel@...37...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> <4FB41FF1.3090506@...1...> <1337207100.3517.15.camel@...37...> <4FB42DE8.8050601@...1...> <1337209192.3517.16.camel@...37...> Message-ID: <4FB43CBD.2000408@...1...> Le 17/05/2012 00:59, Bruce a ?crit : > On Thu, 2012-05-17 at 00:44 +0200, Beno?t Minisini wrote: >> What is it what? >> > > :"-) I meant "What was it that was causing the hang?" > Bruce > The signal management routines allows to associate a list of callbacks to a signal. At the moment, there is only one callback associated to the SIGCHLD signal sent when a child process terminates. But a callback can be unregistered while it is called, and I think the callback list was corrupted, leading to random functions being called. I just fixed that buggy design, in the hope that your bug has been fixed, as that was the only recent change in the interpreter. -- Beno?t Minisini From bbruen at ...2308... Thu May 17 02:08:43 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 09:38:43 +0930 Subject: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank In-Reply-To: <4FB43CBD.2000408@...1...> References: <1337140200.17276.3.camel@...37...> <4FB3ECD6.3070106@...1...> <1337201291.3517.2.camel@...37...> <4FB41FF1.3090506@...1...> <1337207100.3517.15.camel@...37...> <4FB42DE8.8050601@...1...> <1337209192.3517.16.camel@...37...> <4FB43CBD.2000408@...1...> Message-ID: <1337213323.3517.19.camel@...37...> On Thu, 2012-05-17 at 01:48 +0200, Beno?t Minisini wrote: > Le 17/05/2012 00:59, Bruce a ?crit : > > On Thu, 2012-05-17 at 00:44 +0200, Beno?t Minisini wrote: > >> What is it what? > >> > > > > :"-) I meant "What was it that was causing the hang?" > > Bruce > > > > The signal management routines allows to associate a list of callbacks > to a signal. At the moment, there is only one callback associated to the > SIGCHLD signal sent when a child process terminates. > > But a callback can be unregistered while it is called, and I think the > callback list was corrupted, leading to random functions being called. > > I just fixed that buggy design, in the hope that your bug has been > fixed, as that was the only recent change in the interpreter. > Ah, that confirms that I was looking in completely the wrong place! B :-) From bbruen at ...2308... Thu May 17 02:18:34 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 09:48:34 +0930 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <1337209484.3517.18.camel@...37...> References: <4FB2A9C4.8040309@...2755...> <4FB42469.3010707@...1...> <1337209484.3517.18.camel@...37...> Message-ID: <1337213914.3517.24.camel@...37...> On Thu, 2012-05-17 at 08:34 +0930, Bruce wrote: > > I've tried it and cannot reproduce the problem. (Not exactly on "Gnome" > but using the same gtk viz "libgtk-x11-2.0.so.0.2400.4") Actually. I don't know if this is related, but... Under gtk, the menus can no longer activated via the mouse. All other methods do work and the mouse works when using qt4. Also with other qt programs, e.g geany, the mouse works the menu fine. Sample program attached. Bruce [System] OperatingSystem=Linux Kernel=2.6.38.8-pclos3.bfs Architecture=i686 Memory=1553368 kB DistributionVendor=PCLinuxOS DistributionRelease="PCLinuxOS" Desktop=LXDE [Gambas 3] Version=3.1.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.3 GTK+=libgtk-x11-2.0.so.0.2400.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: gtkmenus-0.0.2.tar.gz Type: application/x-compressed-tar Size: 6629 bytes Desc: not available URL: From gambas at ...2524... Thu May 17 02:48:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 May 2012 00:48:30 +0000 Subject: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight In-Reply-To: <1-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> <0-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17894289632802938917-gambas=googlecode.com@...2524...> Comment #2 on issue 249 by imperiou... at ...2360...: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 Thanks for that feedback. I must have got lucky in the past. When a line within a gridcell is wrapped and subsequently becomes more than one line (for example by resizing the overall window) I have previously used the -1 setting to make the row height match the new two or more line cell height, hence thought it was deliberate. Without that when a cell is wordwrapped the height doesn't change and the text becomes partly unreadable as the cell/row height remains at the default size. From bbruen at ...2308... Thu May 17 05:12:59 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 17 May 2012 12:42:59 +0930 Subject: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile In-Reply-To: <1337204596.3517.12.camel@...37...> References: <20120516144800.M43278@...951...> <1337204596.3517.12.camel@...37...> Message-ID: <1337224379.3517.29.camel@...37...> Bad news! CentOS 6.2 uses Qt 4.6.2 and does not have the QtWebKit libraries. Neither in the native repos nor in the DAG repo. Further, I have searched for the 4.6.2 libQtWebkit libraries via rpm-pbone and only found one in Mandriva 2010, but that version will not install on CentOS. So it looks like no gambas3 is possible on CentOS yet. You may wish to follow up on the Centos forums. :-( Bruce From girardhenri at ...67... Thu May 17 09:52:19 2012 From: girardhenri at ...67... (girardhenri at ...67...) Date: Thu, 17 May 2012 09:52:19 +0200 Subject: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile In-Reply-To: <1337224379.3517.29.camel@...37...> References: <20120516144800.M43278@...951...> <1337204596.3517.12.camel@...37...> <1337224379.3517.29.camel@...37...> Message-ID: Le 17/05/2012 05:12, Bruce a ?crit : > Bad news! > > CentOS 6.2 uses Qt 4.6.2 and does not have the QtWebKit libraries. > Neither in the native repos nor in the DAG repo. Further, I have > searched for the 4.6.2 libQtWebkit libraries via rpm-pbone and only > found one in Mandriva 2010, but that version will not install on CentOS. > > So it looks like no gambas3 is possible on CentOS yet. > > You may wish to follow up on the Centos forums. > > :-( > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > can't you compile qt4.7 or 8 on centos ? For qt5 on ubuntu I do it. From gambas at ...2524... Thu May 17 10:13:08 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 May 2012 08:13:08 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program Message-ID: <0-6813199134517018827-15893701500383157941-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 250 by Kokok... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 There is no way to know if the Desktop provides a system tray. If it doesn't, the prgoram which tries to use a trayicon crashes with error code 11. Also, Try/Catch are ineffective. [System] OperatingSystem=Linux Kernel=3.2.9-1-pae Architecture=i686 Memory=4127720 kB DistributionVendor=archlinux DistributionRelease="Arch Linux" Desktop=KDE4 [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 From vuott at ...325... Thu May 17 10:36:33 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 17 May 2012 09:36:33 +0100 (BST) Subject: [Gambas-user] R: Can't print in Gambas 3 [solved] In-Reply-To: <4FB41F5C.30305@...1...> Message-ID: <1337243793.45585.YahooMailClassic@...2758...> > No. You must specify the event name if you want to catch the > events > raised by the Printer object. > > -- > Beno?t Minisini > ...Oh, yes, Beno?t. I forgot that it's an "object" ! Well, so: **** Private mijnprinter As New Printer Public Sub Form_Open() Object.Attach(mijnprinter, Me, "pripri") ' <---- We need it !!! If mijnprinter.Configure() = True Then Return With mijnprinter .FirstPage = 0 .Orientation = 1 .Paper = 2 .OutputFile = "/tmp/imprimatur.pdf" .Print End With End Public Sub pripri_Draw() With Paint .DrawText("Imprimatur", 500, 1000, 400, 500) .RichText(String.Chr(&1D11E), 600, 2000, 200, 200) .Fill .End End With End *********** Now, it works ! Bye. From gambas at ...1... Thu May 17 10:45:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 10:45:39 +0200 Subject: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile In-Reply-To: <1337224379.3517.29.camel@...37...> References: <20120516144800.M43278@...951...> <1337204596.3517.12.camel@...37...> <1337224379.3517.29.camel@...37...> Message-ID: <4FB4BAB3.5060403@...1...> Le 17/05/2012 05:12, Bruce a ?crit : > Bad news! > > CentOS 6.2 uses Qt 4.6.2 and does not have the QtWebKit libraries. > Neither in the native repos nor in the DAG repo. Further, I have > searched for the 4.6.2 libQtWebkit libraries via rpm-pbone and only > found one in Mandriva 2010, but that version will not install on CentOS. > > So it looks like no gambas3 is possible on CentOS yet. > > You may wish to follow up on the Centos forums. > > :-( > Bruce > Technically, only the gambas3 IDE needs the QtWebKit library. But gambas3 programs that don't use that library can run. Regards, -- Beno?t Minisini From gambas at ...1... Thu May 17 10:46:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 10:46:47 +0200 Subject: [Gambas-user] R: Can't print in Gambas 3 [solved] In-Reply-To: <1337243793.45585.YahooMailClassic@...2758...> References: <1337243793.45585.YahooMailClassic@...2758...> Message-ID: <4FB4BAF7.6060500@...1...> Le 17/05/2012 10:36, Ru Vuott a ?crit : > >> No. You must specify the event name if you want to catch the >> events >> raised by the Printer object. >> >> -- >> Beno?t Minisini >> > > ...Oh, yes, Beno?t. I forgot that it's an "object" ! > > Well, so: > > **** > > Private mijnprinter As New Printer > > > Public Sub Form_Open() > > Object.Attach(mijnprinter, Me, "pripri") '<---- We need it !!! The normal syntax is: mijnprinter = New Printer As "pripri" I suggest you read the documentation of the NEW instruction. Regards, -- Beno?t Minisini From linuxos at ...1896... Thu May 17 13:15:30 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 17 May 2012 13:15:30 +0200 Subject: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720 In-Reply-To: <4FB3EC79.5070000@...1...> References: <1336750480.25450.6.camel@...2516...> <4FAF224D.9030400@...1...> <4FAFC81B.8030000@...1...> <7DFD6BB1-6815-440A-82FF-E956981A3502@...1896...> <8A914422-6472-4DE1-B6C2-BA4552544D80@...1896...> <4FAFEF8C.60200@...1...> <4FAFFE10.40902@...1...> <48115BD3-07AD-467F-903E-7501DCA07777@...1896...> <4FB005A3.8050807@...1...> <1BDA0DAF-F0EF-4EFF-A565-31A773ABA35F@...1896...> <4FB3EC79.5070000@...1...> Message-ID: <9096F6A0-5A61-4457-AAB1-BC0B7038ADAC@...1896...> Benoit, With the last revision, the problem seems to be resolved. Now I can open old projects without error. I continue testing and I will inform you if something appear wrong. Thank's Olivier Cruilles Mail: linuxos at ...1896... Le 16 mai 2012 ? 20:05, Beno?t Minisini a ?crit : > Le 16/05/2012 18:53, Olivier Cruilles a ?crit : >> Hi Benoit, >> >> I think this is better than the preview email: >> >> [linus at ...2073... ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 >> ==26488== Memcheck, a memory error detector >> ==26488== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. >> ==26488== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info >> ==26488== Command: gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 >> ==26488== >> Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x62d9480)" of type `GString' >> >> >> >> warning: unable to load 24/earth >> ==26488== Invalid read of size 4 >> ==26488== at 0x806413D: GB_Raise (gbx_api.c:603) >> ==26488== by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416) >> ==26488== by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143) > > Mmm. It is theoritically impossible that SIGNAL_raise_callbacks calls > the post_event() function, as only one signal handler is registered by > the interpreter at the moment, to handle child process termination. And > this is not the post_event routine. > > Can you try the last revision? I fixed some race conditions in the > signal management routines. Maybe it could be the cause of these strange > errors... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Thu May 17 13:47:57 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 17 May 2012 13:47:57 +0200 Subject: [Gambas-user] Question about Gambas3 Message-ID: Hi Benoit, Do you think it's possible to have a function in the IDE of Gambas3 to profiling a project when it run like in JAVA: jprofiler Not really the same with all functions but just to profiling functions execution to know how many time they took and which is the most used in way to optimize it ? Do you think my question is bad ? Olivier Cruilles Mail: linuxos at ...1896... From gambas at ...1... Thu May 17 19:29:38 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 19:29:38 +0200 Subject: [Gambas-user] Question about Gambas3 In-Reply-To: References: Message-ID: <4FB53582.70206@...1...> Le 17/05/2012 13:47, Olivier Cruilles a ?crit : > Hi Benoit, > > Do you think it's possible to have a function in the IDE of Gambas3 to profiling a project > when it run like in JAVA: jprofiler > > Not really the same with all functions but just to profiling functions execution to know how many time > they took and which is the most used in way to optimize it ? > > Do you think my question is bad ? > > > > Olivier Cruilles > Mail: linuxos at ...1896... > Your question is not bad! I started something like that a few months ago, but I dropped because I haven't find a good implementation yet. I don't speak about the GUI that presents the result, but about the internals. -- Beno?t Minisini From linuxos at ...1896... Thu May 17 19:33:05 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 17 May 2012 19:33:05 +0200 Subject: [Gambas-user] Question about Gambas3 In-Reply-To: <4FB53582.70206@...1...> References: <4FB53582.70206@...1...> Message-ID: <57ED7C86-1AD4-4151-A966-77114D8C5C9B@...1896...> Ok, so it will be great if you decide to implement this one in Gambas. Thank's Olivier Cruilles Mail: linuxos at ...1896... Le 17 mai 2012 ? 19:29, Beno?t Minisini a ?crit : > Le 17/05/2012 13:47, Olivier Cruilles a ?crit : >> Hi Benoit, >> >> Do you think it's possible to have a function in the IDE of Gambas3 to profiling a project >> when it run like in JAVA: jprofiler >> >> Not really the same with all functions but just to profiling functions execution to know how many time >> they took and which is the most used in way to optimize it ? >> >> Do you think my question is bad ? >> >> >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > Your question is not bad! > > I started something like that a few months ago, but I dropped because I > haven't find a good implementation yet. I don't speak about the GUI that > presents the result, but about the internals. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From emil.lenngren at ...626... Thu May 17 19:57:16 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 17 May 2012 19:57:16 +0200 Subject: [Gambas-user] Question about Gambas3 In-Reply-To: <57ED7C86-1AD4-4151-A966-77114D8C5C9B@...1896...> References: <4FB53582.70206@...1...> <57ED7C86-1AD4-4151-A966-77114D8C5C9B@...1896...> Message-ID: What exactly were the problems, how far did you come? Maybe add an instruction in the compiled code that is inserted in the beginning of each function, when a (new) profiling compilation flag is active. When that instruction is executed, a counter that counts how many time that function is incremented. Also one instruction can be inserted just before Return. Then the running time can be measured. (Exceptions must also be considerated...) Gprof uses a similar method. Or skip new instructions and implement it directly in the interpreter "if (profiling_active) ...", but that extra if-statement might slow down the execution when profiling is not active... There are surely more ways to implement it ;) /Emil 2012/5/17 Olivier Cruilles > Ok, so it will be great if you decide to implement this one in Gambas. > > Thank's > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 17 mai 2012 ? 19:29, Beno?t Minisini a ?crit : > > > Le 17/05/2012 13:47, Olivier Cruilles a ?crit : > >> Hi Benoit, > >> > >> Do you think it's possible to have a function in the IDE of Gambas3 to > profiling a project > >> when it run like in JAVA: jprofiler > >> > >> Not really the same with all functions but just to profiling functions > execution to know how many time > >> they took and which is the most used in way to optimize it ? > >> > >> Do you think my question is bad ? > >> > >> > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > > > > Your question is not bad! > > > > I started something like that a few months ago, but I dropped because I > > haven't find a good implementation yet. I don't speak about the GUI that > > presents the result, but about the internals. > > > > -- > > Beno?t Minisini > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 17 20:45:46 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 20:45:46 +0200 Subject: [Gambas-user] Question about Gambas3 In-Reply-To: References: <4FB53582.70206@...1...> <57ED7C86-1AD4-4151-A966-77114D8C5C9B@...1896...> Message-ID: <4FB5475A.40702@...1...> Le 17/05/2012 19:57, Emil Lenngren a ?crit : > What exactly were the problems, how far did you come? > > Maybe add an instruction in the compiled code that is inserted in the > beginning of each function, when a (new) profiling compilation flag is > active. > When that instruction is executed, a counter that counts how many time that > function is incremented. Also one instruction can be inserted just before > Return. Then the running time can be measured. (Exceptions must also be > considerated...) > Gprof uses a similar method. > > Or skip new instructions and implement it directly in the interpreter "if > (profiling_active) ...", but that extra if-statement might slow down the > execution when profiling is not active... > > There are surely more ways to implement it ;) > > /Emil > I wanted to use setitimer() and note which function we are executing each microsecond (for example). The other solution (yours) seems to be better. I'd like to note the time spent in each line too, it may be useful. I will see! By the way, don't you have something to show us? -- Beno?t Minisini From gambas at ...2524... Thu May 17 20:47:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 May 2012 18:47:12 +0000 Subject: [Gambas-user] Issue 248 in gambas: Combobox Click raises Form_Activate Event In-Reply-To: <1-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> <0-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Comment #2 on issue 248 by ea7... at ...626...: Combobox Click raises Form_Activate Event http://code.google.com/p/gambas/issues/detail?id=248 Hmm, well I understand... it breaks some logic in a -not sure if well programmed- application. Perhaps its needs a redesign. Thanks and sorry for the noise. From gambas at ...2524... Thu May 17 21:30:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 May 2012 19:30:22 +0000 Subject: [Gambas-user] Issue 248 in gambas: Combobox Click raises Form_Activate Event In-Reply-To: <2-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> <0-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1980034666374094136-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 248 by benoit.m... at ...626...: Combobox Click raises Form_Activate Event http://code.google.com/p/gambas/issues/detail?id=248 No problem. I have the same problem, but this "Activate" event is a low-level event managed by the toolkit (and the window manager actually), and so it's difficult for me not to raise it for popups triggered by a native widget like ComboBox. From gambas at ...2524... Thu May 17 21:31:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 May 2012 19:31:22 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 250 by benoit.m... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 Possible. What should I do to not have a system tray, so that I can reproduce the crash? From johny.provoost at ...27... Thu May 17 22:10:03 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 17 May 2012 22:10:03 +0200 Subject: [Gambas-user] Small printing question Message-ID: <4FB55B1B.6070202@...27...> In gambas2 is use 'Printer.NewPage'. I don't find anything similar in gambas3 in the paint section. Just want to eject the current page and going further with a new page. Johny Provoost From gambas at ...1... Thu May 17 23:31:15 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 23:31:15 +0200 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <1337213914.3517.24.camel@...37...> References: <4FB2A9C4.8040309@...2755...> <4FB42469.3010707@...1...> <1337209484.3517.18.camel@...37...> <1337213914.3517.24.camel@...37...> Message-ID: <4FB56E23.8020604@...1...> Le 17/05/2012 02:18, Bruce a ?crit : > On Thu, 2012-05-17 at 08:34 +0930, Bruce wrote: >> >> I've tried it and cannot reproduce the problem. (Not exactly on "Gnome" >> but using the same gtk viz "libgtk-x11-2.0.so.0.2400.4") > > Actually. I don't know if this is related, but... > > Under gtk, the menus can no longer activated via the mouse. > All other methods do work and the mouse works when using qt4. > Also with other qt programs, e.g geany, the mouse works the menu fine. > > Sample program attached. > > Bruce > Fixed in revision #4738. Regards, -- Beno?t Minisini From gambas at ...1... Thu May 17 23:35:20 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 May 2012 23:35:20 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB55B1B.6070202@...27...> References: <4FB55B1B.6070202@...27...> Message-ID: <4FB56F18.8090509@...1...> Le 17/05/2012 22:10, Johny Provoost a ?crit : > In gambas2 is use 'Printer.NewPage'. > I don't find anything similar in gambas3 in the paint section. > > Just want to eject the current page and going further with a new page. > > > Johny Provoost > It does not work that way anymore. You specify the number of pages to print before calling the Print() method on the printer object. If you don't know how many pages you must print, i.e. if you don't define the Count property before calling Print(), then the Paginate event will be raised until you define the Count property in it. In all cases, you can't print anymore without knowing how many pages you will print before! Regards, -- Beno?t Minisini From johny.provoost at ...27... Thu May 17 23:47:17 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 17 May 2012 23:47:17 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB56F18.8090509@...1...> References: <4FB55B1B.6070202@...27...> <4FB56F18.8090509@...1...> Message-ID: <4FB571E5.9030906@...27...> Op 17-05-12 23:35, Beno?t Minisini schreef: > Le 17/05/2012 22:10, Johny Provoost a ?crit : >> In gambas2 is use 'Printer.NewPage'. >> I don't find anything similar in gambas3 in the paint section. >> >> Just want to eject the current page and going further with a new page. >> >> >> Johny Provoost >> > It does not work that way anymore. > > You specify the number of pages to print before calling the Print() > method on the printer object. > > If you don't know how many pages you must print, i.e. if you don't > define the Count property before calling Print(), then the Paginate > event will be raised until you define the Count property in it. > > In all cases, you can't print anymore without knowing how many pages you > will print before! > > Regards, > thanks for the info. A small disaster I think. Hope I can at least printing the other pages with the same coordinate as the first one. I have to find a way to know how many pages it gonna take (sometimes 2, sometimes 10). Now it prints all the pages on one page. Strange, print-commands without a newpage. First get some sleep Thanks, Johny From gambas at ...1... Fri May 18 00:04:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 18 May 2012 00:04:53 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB571E5.9030906@...27...> References: <4FB55B1B.6070202@...27...> <4FB56F18.8090509@...1...> <4FB571E5.9030906@...27...> Message-ID: <4FB57605.60009@...1...> Le 17/05/2012 23:47, Johny Provoost a ?crit : > > > Op 17-05-12 23:35, Beno?t Minisini schreef: >> Le 17/05/2012 22:10, Johny Provoost a ?crit : >>> In gambas2 is use 'Printer.NewPage'. >>> I don't find anything similar in gambas3 in the paint section. >>> >>> Just want to eject the current page and going further with a new page. >>> >>> >>> Johny Provoost >>> >> It does not work that way anymore. >> >> You specify the number of pages to print before calling the Print() >> method on the printer object. >> >> If you don't know how many pages you must print, i.e. if you don't >> define the Count property before calling Print(), then the Paginate >> event will be raised until you define the Count property in it. >> >> In all cases, you can't print anymore without knowing how many pages you >> will print before! >> >> Regards, >> > > thanks for the info. A small disaster I think. Hope I can at least > printing the other pages with the same coordinate as the first one. I > have to find a way to know how many pages it gonna take (sometimes 2, > sometimes 10). Now it prints all the pages on one page. > Strange, print-commands without a newpage. > First get some sleep > > Thanks, > Johny > Why can't you know how many pages to print before starting the printing? Remember that the user must be able to choose which page(s) to print before sending them to the printer, so you can't layout your pages while printing anymore. Regards, -- Beno?t Minisini From gambas at ...2524... Fri May 18 10:14:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 18 May 2012 08:14:28 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <1-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Comment #2 on issue 250 by Kokok... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 If using kde4: #kquitapp plasma-desktop && ./gambastrayapp.gambas i get: ASSERT: "sysTrayWindow != None" in file systemtrayicon.cpp, line 185 ...or you can start an empty X.org screen with a script: #X :1 -ac -br & #export DISPLAY=:1 #/gambastrayapp.gambas From johny.provoost at ...27... Fri May 18 11:05:29 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 18 May 2012 11:05:29 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB57605.60009@...1...> References: <4FB55B1B.6070202@...27...> <4FB56F18.8090509@...1...> <4FB571E5.9030906@...27...> <4FB57605.60009@...1...> Message-ID: <4FB610D9.5050006@...27...> Op 18-05-12 00:04, Beno?t Minisini schreef: > Le 17/05/2012 23:47, Johny Provoost a ?crit : >> >> Op 17-05-12 23:35, Beno?t Minisini schreef: >>> Le 17/05/2012 22:10, Johny Provoost a ?crit : >>>> In gambas2 is use 'Printer.NewPage'. >>>> I don't find anything similar in gambas3 in the paint section. >>>> >>>> Just want to eject the current page and going further with a new page. >>>> >>>> >>>> Johny Provoost >>>> >>> It does not work that way anymore. >>> >>> You specify the number of pages to print before calling the Print() >>> method on the printer object. >>> >>> If you don't know how many pages you must print, i.e. if you don't >>> define the Count property before calling Print(), then the Paginate >>> event will be raised until you define the Count property in it. >>> >>> In all cases, you can't print anymore without knowing how many pages you >>> will print before! >>> >>> Regards, >>> >> thanks for the info. A small disaster I think. Hope I can at least >> printing the other pages with the same coordinate as the first one. I >> have to find a way to know how many pages it gonna take (sometimes 2, >> sometimes 10). Now it prints all the pages on one page. >> Strange, print-commands without a newpage. >> First get some sleep >> >> Thanks, >> Johny >> > Why can't you know how many pages to print before starting the printing? > > Remember that the user must be able to choose which page(s) to print > before sending them to the printer, so you can't layout your pages while > printing anymore. > > Regards, > After some sleep I found a way. It's a list of addresses. I can count the records, and I know there can 28 records on one page, so just some mathematics and that's ok. Just have to figure out if I got to start over with my coordinates (as with a new page) or that I that I have to count further form the top of page 1. Layout before your printing? That's a thought to investigate. I reacted to hard yesterday evening I think (lack of sleep). There's alway a way around. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From gambas.fr at ...626... Fri May 18 12:42:38 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 May 2012 12:42:38 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB610D9.5050006@...27...> References: <4FB55B1B.6070202@...27...> <4FB56F18.8090509@...1...> <4FB571E5.9030906@...27...> <4FB57605.60009@...1...> <4FB610D9.5050006@...27...> Message-ID: 2012/5/18 Johny Provoost > > > Op 18-05-12 00:04, Beno?t Minisini schreef: > > Le 17/05/2012 23:47, Johny Provoost a ?crit : > >> > >> Op 17-05-12 23:35, Beno?t Minisini schreef: > >>> Le 17/05/2012 22:10, Johny Provoost a ?crit : > >>>> In gambas2 is use 'Printer.NewPage'. > >>>> I don't find anything similar in gambas3 in the paint section. > >>>> > >>>> Just want to eject the current page and going further with a new page. > >>>> > >>>> > >>>> Johny Provoost > >>>> > >>> It does not work that way anymore. > >>> > >>> You specify the number of pages to print before calling the Print() > >>> method on the printer object. > >>> > >>> If you don't know how many pages you must print, i.e. if you don't > >>> define the Count property before calling Print(), then the Paginate > >>> event will be raised until you define the Count property in it. > >>> > >>> In all cases, you can't print anymore without knowing how many pages > you > >>> will print before! > >>> > >>> Regards, > >>> > >> thanks for the info. A small disaster I think. Hope I can at least > >> printing the other pages with the same coordinate as the first one. I > >> have to find a way to know how many pages it gonna take (sometimes 2, > >> sometimes 10). Now it prints all the pages on one page. > >> Strange, print-commands without a newpage. > >> First get some sleep > >> > >> Thanks, > >> Johny > >> > > Why can't you know how many pages to print before starting the printing? > > > > Remember that the user must be able to choose which page(s) to print > > before sending them to the printer, so you can't layout your pages while > > printing anymore. > > > > Regards, > > > After some sleep I found a way. It's a list of addresses. I can count > the records, and I know there can 28 records on one page, so just some > mathematics and that's ok. Just have to figure out if I got to start > over with my coordinates (as with a new page) or that I that I have to > count further form the top of page 1. > > Layout before your printing? gb.report ? > That's a thought to investigate. > I reacted to hard yesterday evening I think (lack of sleep). There's > alway a way around. > > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bbruen at ...2308... Fri May 18 13:41:41 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 18 May 2012 21:11:41 +0930 Subject: [Gambas-user] TWBC ???? Message-ID: <1337341301.28562.0.camel@...37...> Claudia, Where are yesterdays TWBC times??? B From bbruen at ...2308... Fri May 18 13:44:24 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 18 May 2012 21:14:24 +0930 Subject: [Gambas-user] TWBC ???? DISREGARD!!! In-Reply-To: <1337341301.28562.0.camel@...37...> References: <1337341301.28562.0.camel@...37...> Message-ID: <1337341464.28562.2.camel@...37...> On Fri, 2012-05-18 at 21:11 +0930, Bruce wrote: > Claudia, > Where are yesterdays TWBC times??? > B Oops, Oops, Oops! Wrong email address -- embarassed x 12 Bruce From bbruen at ...2308... Fri May 18 14:05:59 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 18 May 2012 21:35:59 +0930 Subject: [Gambas-user] Problems positioning controls in form with menu In-Reply-To: <4FB56E23.8020604@...1...> References: <4FB2A9C4.8040309@...2755...> <4FB42469.3010707@...1...> <1337209484.3517.18.camel@...37...> <1337213914.3517.24.camel@...37...> <4FB56E23.8020604@...1...> Message-ID: <1337342759.28562.12.camel@...37...> On Thu, 2012-05-17 at 23:31 +0200, Beno?t Minisini wrote: > Le 17/05/2012 02:18, Bruce a ?crit > > On Thu, 2012-05-17 at 08:34 +0930, Bruce wrote: > >> > >> I've tried it and cannot reproduce the problem. (Not exactly on "Gnome" > >> but using the same gtk viz "libgtk-x11-2.0.so.0.2400.4") > > > > Actually. I don't know if this is related, but... > > > > Under gtk, the menus can no longer activated via the mouse. > > All other methods do work and the mouse works when using qt4. > > Also with other qt programs, e.g geany, the mouse works the menu fine. > > > > Sample program attached. > > > > Bruce > > > > Fixed in revision #4738. > > Regards, > Ahem. :"-) :"-) (Very embarassed.) I meant to say. Thanks Beno?t, yes 4738 solved the gtk menu/mouse problem. @Greg, Did it solve the form misplacement problem? If not, try a different gtk+ theme? I had some problems with some themes that did something similar, but not exactly. The symptom I saw was buttons at the top of the form being "cut off" by the lower controls. This happened in both gambas apps and other gtk apps. Bruce p.s. sorry for stealing your thread. From eilert-sprachen at ...221... Fri May 18 14:19:47 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 18 May 2012 14:19:47 +0200 Subject: [Gambas-user] Toggle Button with big letter - underlined Message-ID: <4FB63E63.1060501@...221...> Hi, a recent case brought this back to me, this happens at least under Gambas2 and under any older and newer kde and gtk. When I have ToggleButtons (I don't know if it happens with ordinary Buttons, sorry, no time to verify right now) and want them to have simply a single letter, some of the buttons show the letter underlined even if it is not chosen in the font property. Some time ago I tried three font-switching ToggleButtons B I U, and one of them (I don't remember which one) always showed its letter underlined. Sometimes it appears only when the application is running, sometimes it appears already in the IDE. I decided to use Pictures of the letters instead then. When I choose another Font, no help, the same thing. So it must have some other reason. Anyone here who has had this problem before and maybe found a solution? I attach a screenshot, the E appears underlined. Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas6.png Type: image/png Size: 527 bytes Desc: not available URL: From vuott at ...325... Fri May 18 16:06:44 2012 From: vuott at ...325... (Ru Vuott) Date: Fri, 18 May 2012 15:06:44 +0100 (BST) Subject: [Gambas-user] Small printing question In-Reply-To: <4FB610D9.5050006@...27...> Message-ID: <1337350004.10603.YahooMailClassic@...2780...> > > > After some sleep I found a way.? It's a list of > addresses.? I can count > the records, and I know there can 28 records on one page, so > just some > mathematics and that's ok.? Just have to figure out if > I got to start > over with my coordinates (as with a new page) or that I that > I have to > count further form the top of page 1. > > Layout before your printing?? That's a thought to > investigate. > I reacted to hard yesterday evening I think (lack of > sleep).? There's > alway a way around. > Hello Johny, Let us know how you do! Bye From johny.provoost at ...27... Fri May 18 17:35:40 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 18 May 2012 17:35:40 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: References: <4FB55B1B.6070202@...27...> <4FB56F18.8090509@...1...> <4FB571E5.9030906@...27...> <4FB57605.60009@...1...> <4FB610D9.5050006@...27...> Message-ID: <4FB66C4C.4030104@...27...> Op 18-05-12 12:42, Fabien Bodard schreef: > 2012/5/18 Johny Provoost > >> >> Op 18-05-12 00:04, Beno?t Minisini schreef: >>> Le 17/05/2012 23:47, Johny Provoost a ?crit : >>>> Op 17-05-12 23:35, Beno?t Minisini schreef: >>>>> Le 17/05/2012 22:10, Johny Provoost a ?crit : >>>>>> In gambas2 is use 'Printer.NewPage'. >>>>>> I don't find anything similar in gambas3 in the paint section. >>>>>> >>>>>> Just want to eject the current page and going further with a new page. >>>>>> >>>>>> >>>>>> Johny Provoost >>>>>> >>>>> It does not work that way anymore. >>>>> >>>>> You specify the number of pages to print before calling the Print() >>>>> method on the printer object. >>>>> >>>>> If you don't know how many pages you must print, i.e. if you don't >>>>> define the Count property before calling Print(), then the Paginate >>>>> event will be raised until you define the Count property in it. >>>>> >>>>> In all cases, you can't print anymore without knowing how many pages >> you >>>>> will print before! >>>>> >>>>> Regards, >>>>> >>>> thanks for the info. A small disaster I think. Hope I can at least >>>> printing the other pages with the same coordinate as the first one. I >>>> have to find a way to know how many pages it gonna take (sometimes 2, >>>> sometimes 10). Now it prints all the pages on one page. >>>> Strange, print-commands without a newpage. >>>> First get some sleep >>>> >>>> Thanks, >>>> Johny >>>> >>> Why can't you know how many pages to print before starting the printing? >>> >>> Remember that the user must be able to choose which page(s) to print >>> before sending them to the printer, so you can't layout your pages while >>> printing anymore. >>> >>> Regards, >>> >> After some sleep I found a way. It's a list of addresses. I can count >> the records, and I know there can 28 records on one page, so just some >> mathematics and that's ok. Just have to figure out if I got to start >> over with my coordinates (as with a new page) or that I that I have to >> count further form the top of page 1. >> >> Layout before your printing? > > gb.report ? > > That's what I was thinking about. Got to study it first and as I become 60 this year it took some time :>) Johny From johny.provoost at ...27... Fri May 18 17:55:42 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 18 May 2012 17:55:42 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <1337350004.10603.YahooMailClassic@...2780...> References: <1337350004.10603.YahooMailClassic@...2780...> Message-ID: <4FB670FE.8010509@...27...> Op 18-05-12 16:06, Ru Vuott schreef: >> After some sleep I found a way. It's a list of >> addresses. I can count >> the records, and I know there can 28 records on one page, so >> just some >> mathematics and that's ok. Just have to figure out if >> I got to start >> over with my coordinates (as with a new page) or that I that >> I have to >> count further form the top of page 1. >> >> Layout before your printing? That's a thought to >> investigate. >> I reacted to hard yesterday evening I think (lack of >> sleep). There's >> alway a way around. >> > Hello Johny, > > Let us know how you do! > > Bye > > ------------------------------------------------------------------------------ I will, but it can take some time. I'm not a professional programmer. Mostly I program just for fun and because it's possible. My first computer was a Tandy Color way back in time. I learned Tandy basic from books. Later on Qbasic, Clipper and the visual basics till vb6. Visual studio I let go, to complicate or to much new stuff. I started with Linux on mandrake 9 and later on the Ubuntu's from 2006. I missed vb and found RealBasic but there was lack of support for the free version. Then I found Gambas. The programmers did a hell of a job and the support is super. The programs I make are mostly for own use. Started a couple of weeks to update to Gambas 3. Only the printing part gave me difficulties. Years long I open a printer and then send the text and graphics to it. I still manage to do so but every page is printed on one page. Must do some rethinking with a open mind without the years of 'ballast'. Thanks for the support. Johny From member at ...2579... Fri May 18 19:17:10 2012 From: member at ...2579... (Kamau Gatheru via LinkedIn) Date: Fri, 18 May 2012 17:17:10 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?Rejoindre_mon_r=C3=A9seau_sur_LinkedIn?= Message-ID: <784769233.5950787.1337361430034.JavaMail.app@...2843...> LinkedIn ------------ Kamau Gatheru souhaite se connecter ? vous sur LinkedIn?: ------------------------------------------ Je vous invite ? faire partie de mon r?seau professionnel en ligne sur le site LinkedIn. Accepter l'invitation de Kamau Gatheru http://www.linkedin.com/e/hggat5-h2digrny-d/uKC-86hQN3QmxE2auJ6zQ6pkPe-4UnCG632_CXVQxQl4RrKxeh/blk/I102975000_45/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYRd5YMc30RdPAOc359bQFMiARddPBybPwQcP4TdP4RcjsLrCBxbOYWrSlI/EML_comm_afe/?hs=false&tok=1p4MNRWHnd6Rg1 Voir l'invitation de Kamau Gatheru http://www.linkedin.com/e/hggat5-h2digrny-d/uKC-86hQN3QmxE2auJ6zQ6pkPe-4UnCG632_CXVQxQl4RrKxeh/blk/I102975000_45/3kQnP0Mc3kTej8MckALqnpPbOYWrSlI/svi/?hs=false&tok=02P64T667d6Rg1 ------------------------------------------ Quel est l'int?r?t de faire partie du r?seau de Kamau Gatheru?? Le r?seau de Kamau Gatheru d?veloppera votre propre r?seau?: Si vous acceptez l'invitation de Kamau Gatheru, vous pourrez voir qui vous connaissez dans son r?seau et demander ? Kamau Gatheru de vous pr?senter. Appartenir ? un r?seau est toujours un plus pour votre carri?re. -- (c) 2012, LinkedIn Corporation From kevinfishburne at ...1887... Sat May 19 06:56:38 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 19 May 2012 00:56:38 -0400 Subject: [Gambas-user] gb3, current build: use of "Objects" keyword Message-ID: <4FB72806.8060207@...1887...> I have a module named "Objects". When I try to reference a variable in it from another module (Objects.ObjTotal) sometimes it gives me zero and sometimes it gives me the correct value. Is there a new reserved word "Objects" in a recent GAMBAS revision which could cause something like that? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Sat May 19 13:58:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 13:58:19 +0200 Subject: [Gambas-user] New feature in Gambas 3 Message-ID: <4FB78ADB.3070800@...1...> Hi, I have just added the ability to profile a project from the IDE. This is not finished yet. At the moment, the IDE will tell you how much time you spend in each function, and, for each function, how much time is spent in other functions called from it. Next, I will try to profile each line of code. I hope it will help to optimize your projects! Regards, -- Beno?t Minisini From gambas at ...1... Sat May 19 14:01:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 14:01:11 +0200 Subject: [Gambas-user] Toggle Button with big letter - underlined In-Reply-To: <4FB63E63.1060501@...221...> References: <4FB63E63.1060501@...221...> Message-ID: <4FB78B87.3060701@...1...> Le 18/05/2012 14:19, Rolf-Werner Eilert a ?crit : > Hi, > > a recent case brought this back to me, this happens at least under > Gambas2 and under any older and newer kde and gtk. > > When I have ToggleButtons (I don't know if it happens with ordinary > Buttons, sorry, no time to verify right now) and want them to have > simply a single letter, some of the buttons show the letter underlined > even if it is not chosen in the font property. > > Some time ago I tried three font-switching ToggleButtons B I U, and one > of them (I don't remember which one) always showed its letter > underlined. Sometimes it appears only when the application is running, > sometimes it appears already in the IDE. I decided to use Pictures of > the letters instead then. > > When I choose another Font, no help, the same thing. So it must have > some other reason. > > Anyone here who has had this problem before and maybe found a solution? > > I attach a screenshot, the E appears underlined. > > Regards > > Rolf > I don't have this problem with Oxygen / gb.qt4, and oxygen-gtk / gb.gtk. So I think that you use a widget theme that automatically adds shortcuts to the ToggleButton controls. -- Beno?t Minisini From gambas at ...1... Sat May 19 14:03:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 14:03:13 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> References: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> Message-ID: <4FB78C01.5080204@...1...> Le 14/05/2012 12:00, Christer Johansson a ?crit : > > Noted some issues last night... > > First one is with Date(now). If assigned to a variable (or printed) it > adds placeholders for time as zeroes like... > > 05/14/2012 00:00:00 > As for that, this is a bug fix. A date is a Date value with the time set to zero. The default date to string conversion now do not strip the time anymore if it is zero. If you need to print the date only, you have to use the Format$() function. Note that there is no predefined format for just printing the date part with Format$(). This is a bug that I should fix. Regards, -- Beno?t Minisini From gambas at ...1... Sat May 19 14:11:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 14:11:10 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <4FB78C01.5080204@...1...> References: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> <4FB78C01.5080204@...1...> Message-ID: <4FB78DDE.20405@...1...> Le 19/05/2012 14:03, Beno?t Minisini a ?crit : > > Note that there is no predefined format for just printing the date part > with Format$(). This is a bug that I should fix. > This is not true actually, there is gb.ShortDate. But it will print the year with two digits. -- Beno?t Minisini From gambas at ...1... Sat May 19 14:16:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 14:16:30 +0200 Subject: [Gambas-user] gb3, current build: use of "Objects" keyword In-Reply-To: <4FB72806.8060207@...1887...> References: <4FB72806.8060207@...1887...> Message-ID: <4FB78F1E.9080805@...1...> Le 19/05/2012 06:56, Kevin Fishburne a ?crit : > I have a module named "Objects". When I try to reference a variable in > it from another module (Objects.ObjTotal) sometimes it gives me zero and > sometimes it gives me the correct value. Is there a new reserved word > "Objects" in a recent GAMBAS revision which could cause something like that? > No. I think there is no relation between your problem and Gambas reserved keywords. -- Beno?t Minisini From gambas at ...2524... Sat May 19 14:38:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 May 2012 12:38:13 +0000 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms In-Reply-To: <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Comment #9 on issue 2 by Kokok... at ...626...: No native gambas for Windows platforms http://code.google.com/p/gambas/issues/detail?id=2 I bet Developers at ...2844...@VisualBasic would be embarrassed if Gambas would be ported to Windows. I always try to hide my grin when i see how much memory and time is needed to start the simplest VB.net project from the IDE (not counting the resources taken by the ide itself!!) Sorry, i coudn't resist. From gambas at ...2524... Sat May 19 14:55:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 May 2012 12:55:15 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <2-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Type-Bug Type-Crash Comment #3 on issue 250 by benoit.m... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 It should be fixed in revision #4742. From nando_f at ...951... Sat May 19 15:22:22 2012 From: nando_f at ...951... (nando) Date: Sat, 19 May 2012 09:22:22 -0400 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FB78ADB.3070800@...1...> References: <4FB78ADB.3070800@...1...> Message-ID: <20120519132213.M22644@...951...> Nice! ---------- Original Message ----------- From: Beno?t Minisini To: mailing list for gambas users Sent: Sat, 19 May 2012 13:58:19 +0200 Subject: [Gambas-user] New feature in Gambas 3 > Hi, > > I have just added the ability to profile a project from the IDE. > > This is not finished yet. At the moment, the IDE will tell you how much > time you spend in each function, and, for each function, how much time > is spent in other functions called from it. > > Next, I will try to profile each line of code. > > I hope it will help to optimize your projects! > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...2524... Sat May 19 15:27:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 May 2012 13:27:13 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <3-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Comment #4 on issue 250 by Kokok... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 Thanks, i'll try, what is expected to happens? i mean... will it silently fails or is there a way to know if a systray is available? From gambas at ...2524... Sat May 19 16:02:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 May 2012 14:02:33 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <4-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Comment #5 on issue 250 by benoit.m... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 You will get an error (not with gb.gtk yet). And there is a new property Desktop.HasSystemTray that checks if a system tray is available. From gambas at ...2524... Sat May 19 16:06:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 May 2012 14:06:04 +0000 Subject: [Gambas-user] Issue 250 in gambas: Trying to use trayicon whitout a system tray crashes the program In-Reply-To: <5-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> <0-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-15893701500383157941-gambas=googlecode.com@...2524...> Comment #6 on issue 250 by Kokok... at ...626...: Trying to use trayicon whitout a system tray crashes the program http://code.google.com/p/gambas/issues/detail?id=250 That's perfect, again, thanks. From emil.lenngren at ...626... Sat May 19 16:54:18 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 19 May 2012 16:54:18 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <20120519132213.M22644@...951...> References: <4FB78ADB.3070800@...1...> <20120519132213.M22644@...951...> Message-ID: Cool work. I first got "This application has raised an unexpected error and must abort. [13] Null object. FProfile.ExitFunction.61" and tried to recompile the whole gambas for about two hours, do svn update and other things, but it didn't solve it. Then I saw I happened to use Eval in my function I profiled. When I removed that, it worked! Test yourself having "Eval" somewhere in the code, and you should see the same bug.. /Emil 2012/5/19 nando > Nice! > > > ---------- Original Message ----------- > From: Beno?t Minisini > To: mailing list for gambas users > Sent: Sat, 19 May 2012 13:58:19 +0200 > Subject: [Gambas-user] New feature in Gambas 3 > > > Hi, > > > > I have just added the ability to profile a project from the IDE. > > > > This is not finished yet. At the moment, the IDE will tell you how much > > time you spend in each function, and, for each function, how much time > > is spent in other functions called from it. > > > > Next, I will try to profile each line of code. > > > > I hope it will help to optimize your projects! > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Sat May 19 17:12:44 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 19 May 2012 17:12:44 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB670FE.8010509@...27...> References: <1337350004.10603.YahooMailClassic@...2780...> <4FB670FE.8010509@...27...> Message-ID: <4FB7B86C.906@...27...> Op 18-05-12 17:55, Johny Provoost schreef: > > Op 18-05-12 16:06, Ru Vuott schreef: >>> After some sleep I found a way. It's a list of >>> addresses. I can count >>> the records, and I know there can 28 records on one page, so >>> just some >>> mathematics and that's ok. Just have to figure out if >>> I got to start >>> over with my coordinates (as with a new page) or that I that >>> I have to >>> count further form the top of page 1. >>> >>> Layout before your printing? That's a thought to >>> investigate. >>> I reacted to hard yesterday evening I think (lack of >>> sleep). There's >>> alway a way around. >>> >> Hello Johny, >> >> Let us know how you do! >> >> Bye >> >> ------------------------------------------------------------------------------ Well, for the last (is now of-topic I think) I'm gonna use gb.report. Tried the example of gb.report and my db and it's 95% what I want without the difficulties of new-lines, new-pages, ..... From rmorgan62 at ...626... Sat May 19 17:16:16 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 19 May 2012 08:16:16 -0700 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms In-Reply-To: <9-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <9-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Message-ID: I wonder if it would be possible to code a Windows version of Gambas. Not a port, but a work-alike interpreter/compiler. Something that Gave the same basic IDE, the same functionality, but with native windows code. A program that if fed the same source file would produce the same results though perhaps not use the same internal methods. I would think that much of the code could still be reused. A very large part however would have to be redesigned from the ground up. JAT... On Sat, May 19, 2012 at 5:38 AM, wrote: > > Comment #9 on issue 2 by Kokok... at ...626...: No native gambas for Windows > platforms > http://code.google.com/p/gambas/issues/detail?id=2 > > I bet Developers at ...2844...@VisualBasic would be embarrassed if Gambas > would > be ported to Windows. > I always try to hide my grin when i see how much memory and time is needed > to start the simplest VB.net project from the IDE (not counting the > resources taken by the ide itself!!) > Sorry, i coudn't resist. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From Karl.Reinl at ...2345... Sat May 19 21:17:09 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 19 May 2012 21:17:09 +0200 Subject: [Gambas-user] what replaces XmlReader.Decode Message-ID: <1337455030.3429.8.camel@...40...> Salut Adrien, gambas3 , last svn rev 4742 I used till now XmlReader.Decode(XmlReader.Node.Value,"base64) to save pictures stored as Text in my XML. How can I read out them now ? From adrien.prokopowicz at ...626... Sat May 19 21:56:25 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 19 May 2012 21:56:25 +0200 Subject: [Gambas-user] what replaces XmlReader.Decode In-Reply-To: <1337455030.3429.8.camel@...40...> References: <1337455030.3429.8.camel@...40...> Message-ID: <1350789.VXvUStgBfK@...2823...> Le samedi 19 mai 2012 21:17:09 Charlie Reinl a ?crit : > Salut Adrien, > > gambas3 , last svn rev 4742 > > I used till now XmlReader.Decode(XmlReader.Node.Value,"base64) to save > pictures stored as Text in my XML. > > How can I read out them now ? > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I haven't implemented this function yet, I'll do it when I will have time. Meanwhile, you can use the base64 command. The man pages will teach you alll you need. But for me, these functions should be implemented in a component like gb.crypt, or natively, shouldn't they ? From gambas at ...1... Sat May 19 22:15:38 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 22:15:38 +0200 Subject: [Gambas-user] what replaces XmlReader.Decode In-Reply-To: <1350789.VXvUStgBfK@...2823...> References: <1337455030.3429.8.camel@...40...> <1350789.VXvUStgBfK@...2823...> Message-ID: <4FB7FF6A.5040404@...1...> Le 19/05/2012 21:56, Adrien Prokopowicz a ?crit : > Le samedi 19 mai 2012 21:17:09 Charlie Reinl a ?crit : >> Salut Adrien, >> >> gambas3 , last svn rev 4742 >> >> I used till now XmlReader.Decode(XmlReader.Node.Value,"base64) to save >> pictures stored as Text in my XML. >> >> How can I read out them now ? >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > I haven't implemented this function yet, I'll do it when I will have time. > Meanwhile, you can use the base64 command. The man pages will teach you alll you need. > > But for me, these functions should be implemented in a component like gb.crypt, or natively, shouldn't they ? > Yes, they should. :-) -- Beno?t Minisini From gambas at ...1... Sat May 19 23:48:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 23:48:05 +0200 Subject: [Gambas-user] what replaces XmlReader.Decode In-Reply-To: <4FB7FF6A.5040404@...1...> References: <1337455030.3429.8.camel@...40...> <1350789.VXvUStgBfK@...2823...> <4FB7FF6A.5040404@...1...> Message-ID: <4FB81515.9010102@...1...> Le 19/05/2012 22:15, Beno?t Minisini a ?crit : >> >> I haven't implemented this function yet, I'll do it when I will have >> time. >> Meanwhile, you can use the base64 command. The man pages will teach >> you alll you need. >> >> But for me, these functions should be implemented in a component like >> gb.crypt, or natively, shouldn't they ? >> > > Yes, they should. :-) > In revision #4742, I added Base64$() and UnBase64$() to the interpreter. Regards, -- Beno?t Minisini From gambas at ...1... Sat May 19 23:48:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 May 2012 23:48:32 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: References: <4FB78ADB.3070800@...1...> <20120519132213.M22644@...951...> Message-ID: <4FB81530.1000608@...1...> Le 19/05/2012 16:54, Emil Lenngren a ?crit : > Cool work. > I first got > > "This application has raised an unexpected error and must abort. > [13] Null object. > FProfile.ExitFunction.61" > > and tried to recompile the whole gambas for about two hours, do svn update > and other things, but it didn't solve it. > Then I saw I happened to use Eval in my function I profiled. When I removed > that, it worked! > > Test yourself having "Eval" somewhere in the code, and you should see the > same bug.. > > /Emil > Fixed in revision #4743. -- Beno?t Minisini From kevinfishburne at ...1887... Sun May 20 08:29:59 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 20 May 2012 02:29:59 -0400 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FB78ADB.3070800@...1...> References: <4FB78ADB.3070800@...1...> Message-ID: <4FB88F67.6030507@...1887...> On 05/19/2012 07:58 AM, Beno?t Minisini wrote: > Hi, > > I have just added the ability to profile a project from the IDE. > > This is not finished yet. At the moment, the IDE will tell you how much > time you spend in each function, and, for each function, how much time > is spent in other functions called from it. > > Next, I will try to profile each line of code. > > I hope it will help to optimize your projects! > > Regards, > That is an awesome feature. I've been doing this manually in code, so thank you. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From cabrerawilliam at ...626... Sun May 20 16:26:13 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Sun, 20 May 2012 09:56:13 -0430 Subject: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component Message-ID: Hi, I have been testing the component ncurses and so far everything well, but the functions mentioned in the title simply do not work. Below is a sample code: #!/usr/bin/env gbs3 USE "gb.ncurses" dim hwin As Window dim cadena, cad as string cadena = "Hola Mundo" cad = left(cadena) hwin = New Window(0, 0, 20, 30) hwin.Background = Color.Blue hwin.show() hwin.Full() hwin.print(right$(cadena), 0, 0) hwin.print(right$(cadena, 3), 0, 1) hwin.print(right$(cadena, -3), 0, 2) hwin.print(left$(cadena), 0, 3) hwin.print(left$(cadena, 3), 0, 4) hwin.print(left$(cadena, -3), 0, 5) hwin.print(mid$(cadena, 2, 2), 0, 6) hwin.WaitKey() And this is the output o ndo a Mundo Hola Mundo Hola Mundo Hola Mundo ola Mundo [System] OperatingSystem=Linux Kernel=3.2.0-1-686-pae Architecture=i686 Memory=2065228 kB DistributionVendor=Asturix DistributionRelease="Asturix 4" Desktop=Gnome [Gambas 3] Version=3.1.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 P.D. Sorry for my english, this is not my native language ------ William Cabrera http://willicab.gnu.org.ve From gambas at ...1... Sun May 20 16:44:02 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 20 May 2012 16:44:02 +0200 Subject: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component In-Reply-To: References: Message-ID: <4FB90332.30305@...1...> Le 20/05/2012 16:26, William Cabrera a ?crit : > Hi, I have been testing the component ncurses and so far everything well, > but the functions mentioned in the title simply do not work. Below is a > sample code: > > #!/usr/bin/env gbs3 > > USE "gb.ncurses" > > dim hwin As Window > dim cadena, cad as string > cadena = "Hola Mundo" > cad = left(cadena) > hwin = New Window(0, 0, 20, 30) > hwin.Background = Color.Blue > hwin.show() > hwin.Full() > hwin.print(right$(cadena), 0, 0) > hwin.print(right$(cadena, 3), 0, 1) > hwin.print(right$(cadena, -3), 0, 2) > hwin.print(left$(cadena), 0, 3) > hwin.print(left$(cadena, 3), 0, 4) > hwin.print(left$(cadena, -3), 0, 5) > hwin.print(mid$(cadena, 2, 2), 0, 6) > hwin.WaitKey() > > And this is the output > > o > ndo > a Mundo > Hola Mundo > Hola Mundo > Hola Mundo > ola Mundo > > [System] > OperatingSystem=Linux > Kernel=3.2.0-1-686-pae > Architecture=i686 > Memory=2065228 kB > DistributionVendor=Asturix > DistributionRelease="Asturix 4" > Desktop=Gnome > > [Gambas 3] > Version=3.1.90 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > > P.D. Sorry for my english, this is not my native language > > ------ > William Cabrera > http://willicab.gnu.org.ve This is a bug in the gb.ncurses component whose methods do not read their string arguments correctly. Tobi are you here? -- Beno?t Minisini From adrien.prokopowicz at ...626... Sun May 20 18:15:47 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 20 May 2012 18:15:47 +0200 Subject: [Gambas-user] Bug on Gambas official website Message-ID: <1367410.oMZhTm0mln@...2823...> Hi all, I noticed that on gambas.sourceforge.net homepage, we can't scroll anymore, and a part of the "last news" frame is cut. The problem is solved when, in home.html, i remove the overflow: hidden on the element. Has someone else already got this problem ? Regards. From matteo.pasotti at ...626... Sun May 20 18:23:22 2012 From: matteo.pasotti at ...626... (Matteo Pasotti) Date: Sun, 20 May 2012 18:23:22 +0200 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: <1367410.oMZhTm0mln@...2823...> References: <1367410.oMZhTm0mln@...2823...> Message-ID: <4FB91A7A.3000408@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/05/2012 18:15, Adrien Prokopowicz wrote: > Hi all, > > I noticed that on gambas.sourceforge.net homepage, we can't scroll > anymore, and a part of the "last news" frame is cut. The problem is > solved when, in home.html, i remove the overflow: hidden on the > element. > > Has someone else already got this problem ? > I'm experiencing the same issue. Regards - -- Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPuRp2AAoJED3LowjDDWbNLXkH/RhETQJlHIDyqH2TKgRgEqH+ AD8hTPN5wJPgZK0bXk37jsNLUQ0s47RFsLY3lCieV8qGrBrMpvhjsWZ4RoU9/Qj4 NQslwgrqYXCKPlM+b1XhPKrA1OGtyjlLv1bRPWOtCh13mPXRlYfuhJiraOb9qC3E nGsbk1Twz8pJn/e/tFG3vFABxu1JtWQJGZ5gGBq96LugXOpgexYe/RDH9PC3uqZ0 c1sHpmrvDMpUan4Bhu8Zo4egKTO+lPI8GoUplBMMCLd42WblSTA08X9GTtmbfYJ3 O+brS6CiDREMFtPL3B/M8S6hg4xAN4GsXIO7fv9+CVHa/kJ9dLomqJaObAmnUe0= =2ZW8 -----END PGP SIGNATURE----- From gambas at ...1... Sun May 20 18:23:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 20 May 2012 18:23:07 +0200 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: <1367410.oMZhTm0mln@...2823...> References: <1367410.oMZhTm0mln@...2823...> Message-ID: <4FB91A6B.3040706@...1...> Le 20/05/2012 18:15, Adrien Prokopowicz a ?crit : > Hi all, > > I noticed that on gambas.sourceforge.net homepage, we can't scroll anymore, and a part of the "last news" frame is cut. > The problem is solved when, in home.html, i remove the overflow: hidden on the element. > > Has someone else already got this problem ? > > Regards. > This is intented, I didn't like the scrollbars. :-) If you want to see all the news, you must click on the "Last News" link in the tab title. Regards, -- Beno?t Minisini From rmorgan62 at ...626... Sun May 20 18:34:20 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 20 May 2012 09:34:20 -0700 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: <4FB91A7A.3000408@...626...> References: <1367410.oMZhTm0mln@...2823...> <4FB91A7A.3000408@...626...> Message-ID: Then the page should be changed to infer that as at the moment the page infers scrolling since the content continues past the page bottom. From a UI perspective this is not good communication with the user.... On Sun, May 20, 2012 at 9:23 AM, Matteo Pasotti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/05/2012 18:15, Adrien Prokopowicz wrote: > > Hi all, > > > > I noticed that on gambas.sourceforge.net homepage, we can't scroll > > anymore, and a part of the "last news" frame is cut. The problem is > > solved when, in home.html, i remove the overflow: hidden on the > > element. > > > > Has someone else already got this problem ? > > > I'm experiencing the same issue. > Regards > - -- > Matteo > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPuRp2AAoJED3LowjDDWbNLXkH/RhETQJlHIDyqH2TKgRgEqH+ > AD8hTPN5wJPgZK0bXk37jsNLUQ0s47RFsLY3lCieV8qGrBrMpvhjsWZ4RoU9/Qj4 > NQslwgrqYXCKPlM+b1XhPKrA1OGtyjlLv1bRPWOtCh13mPXRlYfuhJiraOb9qC3E > nGsbk1Twz8pJn/e/tFG3vFABxu1JtWQJGZ5gGBq96LugXOpgexYe/RDH9PC3uqZ0 > c1sHpmrvDMpUan4Bhu8Zo4egKTO+lPI8GoUplBMMCLd42WblSTA08X9GTtmbfYJ3 > O+brS6CiDREMFtPL3B/M8S6hg4xAN4GsXIO7fv9+CVHa/kJ9dLomqJaObAmnUe0= > =2ZW8 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From tobiasboege01 at ...1601... Sun May 20 18:43:53 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 20 May 2012 18:43:53 +0200 Subject: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component In-Reply-To: <4FB90332.30305@...1...> References: <4FB90332.30305@...1...> Message-ID: <20120520164353.GA614@...2774...> On Sun, 20 May 2012, Beno?t Minisini wrote: > Le 20/05/2012 16:26, William Cabrera a ?crit : > > Hi, I have been testing the component ncurses and so far everything well, > > but the functions mentioned in the title simply do not work. Below is a > > sample code: > > > > #!/usr/bin/env gbs3 > > > > USE "gb.ncurses" > > > > dim hwin As Window > > dim cadena, cad as string > > cadena = "Hola Mundo" > > cad = left(cadena) > > hwin = New Window(0, 0, 20, 30) > > hwin.Background = Color.Blue > > hwin.show() > > hwin.Full() > > hwin.print(right$(cadena), 0, 0) > > hwin.print(right$(cadena, 3), 0, 1) > > hwin.print(right$(cadena, -3), 0, 2) > > hwin.print(left$(cadena), 0, 3) > > hwin.print(left$(cadena, 3), 0, 4) > > hwin.print(left$(cadena, -3), 0, 5) > > hwin.print(mid$(cadena, 2, 2), 0, 6) > > hwin.WaitKey() > > > > And this is the output > > > > o > > ndo > > a Mundo > > Hola Mundo > > Hola Mundo > > Hola Mundo > > ola Mundo > > > > [System] > > OperatingSystem=Linux > > Kernel=3.2.0-1-686-pae > > Architecture=i686 > > Memory=2065228 kB > > DistributionVendor=Asturix > > DistributionRelease="Asturix 4" > > Desktop=Gnome > > > > [Gambas 3] > > Version=3.1.90 > > Path=/usr/local/bin/gbx3 > > > > [Libraries] > > Qt4=libQtCore.so.4.8.1 > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > > P.D. Sorry for my english, this is not my native language > > > > ------ > > William Cabrera > > http://willicab.gnu.org.ve > > This is a bug in the gb.ncurses component whose methods do not read > their string arguments correctly. Tobi are you here? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I'm here and working! Sorry, haven't read the subject entirely when I first saw the incoming mail... So you expect this output in the window, right?: o ndo a Mundo H Hol Hola Mu ol So my question bounces to Beno?t: It's said in the docs that the three string functions used above are optimised so that they don't duplicate strings. Does that mean or is it a general fact that I cannot rely on the STRING() macro to extract a NUL-terminated string from a given GB_STRING argument? At least there doesn't seem to be a NUL byte which causes the component to print everything that follows until the end of the original string... Brief explanation and after lunch, it's done. Regards, Tobi From tobiasboege01 at ...1601... Sun May 20 18:55:02 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 20 May 2012 18:55:02 +0200 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: References: <1367410.oMZhTm0mln@...2823...> <4FB91A7A.3000408@...626...> Message-ID: <20120520165502.GB614@...2774...> On Sun, 20 May 2012, Randall Morgan wrote: > Then the page should be changed to infer that as at the moment the page > infers scrolling since the content continues past the page bottom. From a > UI perspective this is not good communication with the user.... > Well, I got the intention promptly and IMHO it looks nice - strange though for the first moment when you realise that half of a line is cut away and you cannot scroll. Alright, it's not good for a UI but this box is just a preview of things that are anyway only presented and as that, it's purpose is to look good. Regards, Tobi From gambas at ...1... Sun May 20 18:56:02 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 20 May 2012 18:56:02 +0200 Subject: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component In-Reply-To: <20120520164353.GA614@...2774...> References: <4FB90332.30305@...1...> <20120520164353.GA614@...2774...> Message-ID: <4FB92222.4060208@...1...> Le 20/05/2012 18:43, tobi a ?crit : > > So my question bounces to Beno?t: It's said in the docs that the three string functions used above > are optimised so that they don't duplicate strings. Does that mean or is it a general fact that I > cannot rely on the STRING() macro to extract a NUL-terminated string from a given GB_STRING > argument? At least there doesn't seem to be a NUL byte which causes the component to print > everything that follows until the end of the original string... > Brief explanation and after lunch, it's done. > > Regards, > Tobi > No problem, I never told you how it works, so you couldn't guess! Gambas strings are not C strings (i.e. null byte terminated), but a combination of a string pointer (char *) and a length. To get the string pointer from a string argument, you must use the STRING() macro, but you already knew. To get the length of a string argument, you must use the LENGTH() macro. Now, the problem is that sometimes you cannot deal with such strings, and need a C-string. Hopefully, the interpreter provides the GB.ToZeroString() API that takes the string argument (through the ARG() macro) and returns a temporary C-string that will be automatically freed later. So, either you have: BEGIN_METHOD(MyMethod, GB_STRING arg) my_function(STRING(arg), LENGTH(arg)); END_METHOD or (if you really need a C-string): BEGIN_METHOD(MyMethod, GB_STRING arg) my_function(GB.ToZeroString(ARG(arg))); END_METHOD Regards, -- Beno?t Minisini From rmorgan62 at ...626... Sun May 20 19:08:22 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 20 May 2012 10:08:22 -0700 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: <20120520165502.GB614@...2774...> References: <1367410.oMZhTm0mln@...2823...> <4FB91A7A.3000408@...626...> <20120520165502.GB614@...2774...> Message-ID: I still think that to better communicate with the user the content should be truncated. Perhaps then followed with an ellipse (...) to show continuation and the perhaps a "more" or "read more" link place at the end. This would better communicate to the user that the continent continues and how to get the rest of it. Also, should the objective of the documentation site be to communicate various topics to the user. To educate them. I'll agree that style and eye appeal are a big part of that communication. After all if it doesn't look appealing the user wont bother to read it. How much difficult do you find read those plain text site than a well laid out site with graphics and styled text? However, if you come to a site that has a great look but is difficult to navigate the user can become frustrated and leave the site. So the whole package becomes important. As my grand father used to tell me "The most important part of anything is the one not working". JMO On Sun, May 20, 2012 at 9:55 AM, tobi wrote: > On Sun, 20 May 2012, Randall Morgan wrote: > > Then the page should be changed to infer that as at the moment the page > > infers scrolling since the content continues past the page bottom. From a > > UI perspective this is not good communication with the user.... > > > > Well, I got the intention promptly and IMHO it looks nice - strange though > for the first moment when > you realise that half of a line is cut away and you cannot scroll. > Alright, it's not good for a UI > but this box is just a preview of things that are anyway only presented > and as that, it's purpose is > to look good. > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From kevinfishburne at ...1887... Sun May 20 20:25:03 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 20 May 2012 14:25:03 -0400 Subject: [Gambas-user] Bug on Gambas official website In-Reply-To: References: <1367410.oMZhTm0mln@...2823...> <4FB91A7A.3000408@...626...> <20120520165502.GB614@...2774...> Message-ID: <4FB936FF.5040301@...1887...> On 05/20/2012 01:08 PM, Randall Morgan wrote: > leave the site. So the whole package becomes important. As my grand father > used to tell me "The most important part of anything is the one not > working". > > JMO Wise words, I like that. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From jussi.lahtinen at ...626... Sun May 20 20:32:31 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 20 May 2012 21:32:31 +0300 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FB78ADB.3070800@...1...> References: <4FB78ADB.3070800@...1...> Message-ID: Thanks! It's great! Jussi On Sat, May 19, 2012 at 2:58 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > I have just added the ability to profile a project from the IDE. > > This is not finished yet. At the moment, the IDE will tell you how much > time you spend in each function, and, for each function, how much time > is spent in other functions called from it. > > Next, I will try to profile each line of code. > > I hope it will help to optimize your projects! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tobiasboege01 at ...1601... Sun May 20 22:03:36 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 20 May 2012 22:03:36 +0200 Subject: [Gambas-user] Strange file modes Message-ID: <20120520200336.GE614@...2774...> Hi, some time ago, I noticed in the sources file modes that appear strange to me: [gambas3]$ find . -executable -type f -regextype egrep -regex '.*\.(c|h|cpp|hpp)' -printf "%M\t%P\n" -rwxr-xr-x main/lib/option/main.c -rwxr-xr-x main/lib/option/getoptions.c -rwxr-xr-x main/lib/option/getoptions.h -rwxr-xr-x main/lib/option/main.h -rwxr-xr-x main/gbx/gbx_local.h -rwxr-xr-x main/gbx/gbx_subr_file.c -rwxr-xr-x gb.xml/src/xslt/CXSLT.cpp -rwxr-xr-x gb.xml/src/xslt/CXSLT.h -rwxr-xr-x gb.xml/src/xslt/main.h -rwxr-xr-x gb.xml/src/xslt/main.cpp -rwxr-xr-x gb.qt4/src/CContainer.cpp There may be more... I just wanted to filter away the shell scripts and stuff that ought to be executable (that's what I mean by "strange file modes" because I don't think those files above have to be executable) quickly. I noticed them only on C/C++ source files, so far and you see, there are a few (that's why I decided to search for those in the above command). Nothing interesting but sometimes I startle up when listing directory entries :) (One may improve the command line and filter out the scripts used by the build system by their names or something if this is really considered a security issue - I don't think so but I'm, too, not very familiar with what could be done. I just want things clean) Regards, Tobi From gambas.fr at ...626... Sun May 20 23:26:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 20 May 2012 23:26:41 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FB7B86C.906@...27...> References: <1337350004.10603.YahooMailClassic@...2780...> <4FB670FE.8010509@...27...> <4FB7B86C.906@...27...> Message-ID: A simple gb.report example 2012/5/19 Johny Provoost > > > Op 18-05-12 17:55, Johny Provoost schreef: > > > > Op 18-05-12 16:06, Ru Vuott schreef: > >>> After some sleep I found a way. It's a list of > >>> addresses. I can count > >>> the records, and I know there can 28 records on one page, so > >>> just some > >>> mathematics and that's ok. Just have to figure out if > >>> I got to start > >>> over with my coordinates (as with a new page) or that I that > >>> I have to > >>> count further form the top of page 1. > >>> > >>> Layout before your printing? That's a thought to > >>> investigate. > >>> I reacted to hard yesterday evening I think (lack of > >>> sleep). There's > >>> alway a way around. > >>> > >> Hello Johny, > >> > >> Let us know how you do! > >> > >> Bye > >> > >> > ------------------------------------------------------------------------------ > Well, for the last (is now of-topic I think) > I'm gonna use gb.report. > Tried the example of gb.report and my db and it's 95% what I want > without the difficulties of new-lines, new-pages, ..... > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: demoreports-0.0.1.tar.gz Type: application/x-gzip Size: 5684 bytes Desc: not available URL: From eilert-sprachen at ...221... Mon May 21 08:19:51 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2012 08:19:51 +0200 Subject: [Gambas-user] Toggle Button with big letter - underlined In-Reply-To: <4FB78B87.3060701@...1...> References: <4FB63E63.1060501@...221...> <4FB78B87.3060701@...1...> Message-ID: <4FB9DE87.1030903@...221...> Am 19.05.2012 14:01, schrieb Beno?t Minisini: > Le 18/05/2012 14:19, Rolf-Werner Eilert a ?crit : >> Hi, >> >> a recent case brought this back to me, this happens at least under >> Gambas2 and under any older and newer kde and gtk. >> >> When I have ToggleButtons (I don't know if it happens with ordinary >> Buttons, sorry, no time to verify right now) and want them to have >> simply a single letter, some of the buttons show the letter underlined >> even if it is not chosen in the font property. >> >> Some time ago I tried three font-switching ToggleButtons B I U, and one >> of them (I don't remember which one) always showed its letter >> underlined. Sometimes it appears only when the application is running, >> sometimes it appears already in the IDE. I decided to use Pictures of >> the letters instead then. >> >> When I choose another Font, no help, the same thing. So it must have >> some other reason. >> >> Anyone here who has had this problem before and maybe found a solution? >> >> I attach a screenshot, the E appears underlined. >> >> Regards >> >> Rolf >> > > I don't have this problem with Oxygen / gb.qt4, and oxygen-gtk / gb.gtk. > > So I think that you use a widget theme that automatically adds shortcuts > to the ToggleButton controls. > Shortcuts - that's an idea... But why are they added only to ONE or SOME of the Buttons? Rolf From eilert-sprachen at ...221... Mon May 21 08:32:24 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2012 08:32:24 +0200 Subject: [Gambas-user] Gambas2 prog Circular Reference Message-ID: <4FB9E178.3000906@...221...> This weekend I came about this one: On my new server (Suse 12.1 64 bit), all Gambas2 programs we are using here are running flawlessly, only one of them gives a "Circular Reference" message and stops. It even seems not to start at all, but I guess it does start and is shot dead before any window can appear. Lacking any further information, where would you start to look for the reason? Thanks for your ideas! Rolf From eilert-sprachen at ...221... Mon May 21 08:39:52 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2012 08:39:52 +0200 Subject: [Gambas-user] DrawingArea not drawn under qt4 Message-ID: <4FB9E338.2060401@...221...> Last afternoon I downloaded and installed the latest trunk version of Gambas3 to see if my qt4 DrawingArea problem has been solved. It has not :-( I still don't see anything drawn on the DrawingArea when under KDE4. So, this is why I ask everyone again: Does anyone here have any problems with a DrawingArea under qt4? I use KDE4 on a 32 bit and on a 64 bit Suse 12.1, and both show the same error. There are different graphics card drivers, different graphics systems, so this cannot be the reason. Under LxDE for instance it runs flawlessly, so the GTK side is ok. Any ideas? Rolf From johny.provoost at ...27... Mon May 21 10:46:50 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Mon, 21 May 2012 10:46:50 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: References: <1337350004.10603.YahooMailClassic@...2780...> <4FB670FE.8010509@...27...> <4FB7B86C.906@...27...> Message-ID: <4FBA00FA.4050707@...27...> Op 20-05-12 23:26, Fabien Bodard schreef: > A simple gb.report example > > > Thanks Fabien, I was looking for something like that with some colons and had not figured it out yet (not constant busy with it). It save me some research. No we can go on (that was the last 5% :>) ) Johny Provoost From gambas.fr at ...626... Mon May 21 10:59:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 21 May 2012 10:59:36 +0200 Subject: [Gambas-user] Small printing question In-Reply-To: <4FBA00FA.4050707@...27...> References: <1337350004.10603.YahooMailClassic@...2780...> <4FB670FE.8010509@...27...> <4FB7B86C.906@...27...> <4FBA00FA.4050707@...27...> Message-ID: 2012/5/21 Johny Provoost > > > Op 20-05-12 23:26, Fabien Bodard schreef: > > A simple gb.report example > > > > > > > > Thanks Fabien, > I was looking for something like that with some colons and had not > figured it out yet (not constant busy with it). It save me some research. > No we can go on (that was the last 5% :>) ) > > > Can you send me, a pdf or a picture with the report you want to obtain ? I need all ideas possible to improve the gb.report component. > Johny Provoost > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bespalov.av at ...626... Mon May 21 13:21:47 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Mon, 21 May 2012 18:21:47 +0700 Subject: [Gambas-user] How to run a webpage? Message-ID: Hi! I'm trying to study the work of Gambas weppage (ASP like syntax). I run a test page and get a working html file. $ Webpage1.webpage > Webpage1.html Webpage1.html opens in browser successfully. How should I configure Apache to work Webpage1.webpage? May you have ready conf files or instruction? -- ____ Regards Alex. From gambas at ...1... Mon May 21 13:25:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 21 May 2012 13:25:28 +0200 Subject: [Gambas-user] DrawingArea not drawn under qt4 In-Reply-To: <4FB9E338.2060401@...221...> References: <4FB9E338.2060401@...221...> Message-ID: <4FBA2628.1030106@...1...> Le 21/05/2012 08:39, Rolf-Werner Eilert a ?crit : > Last afternoon I downloaded and installed the latest trunk version of > Gambas3 to see if my qt4 DrawingArea problem has been solved. > > It has not :-( I still don't see anything drawn on the DrawingArea when > under KDE4. > > So, this is why I ask everyone again: Does anyone here have any problems > with a DrawingArea under qt4? > > I use KDE4 on a 32 bit and on a 64 bit Suse 12.1, and both show the same > error. There are different graphics card drivers, different graphics > systems, so this cannot be the reason. > > Under LxDE for instance it runs flawlessly, so the GTK side is ok. > > Any ideas? > > Rolf > Do you have some code that reproduces the problem? Which widget theme do you use? -- Beno?t Minisini From gambas at ...1... Mon May 21 13:26:51 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 21 May 2012 13:26:51 +0200 Subject: [Gambas-user] How to run a webpage? In-Reply-To: References: Message-ID: <4FBA267B.9060801@...1...> Le 21/05/2012 13:21, ??????? ???????? a ?crit : > Hi! > I'm trying to study the work of Gambas weppage (ASP like syntax). > > I run a test page and get a working html file. > > $ Webpage1.webpage> Webpage1.html > > Webpage1.html opens in browser successfully. > > How should I configure Apache to work Webpage1.webpage? > May you have ready conf files or instruction? > You must create an executable from your project. This executable must be run as a CGI script on your web browser. Search the Apache documentation to learn how to install an executable as a CGI script. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon May 21 14:21:27 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 21 May 2012 14:21:27 +0200 Subject: [Gambas-user] How to run a webpage? In-Reply-To: <4FBA267B.9060801@...1...> References: <4FBA267B.9060801@...1...> Message-ID: 2012/5/21 Beno?t Minisini > Le 21/05/2012 13:21, ??????? ???????? a ?crit : > > Hi! > > I'm trying to study the work of Gambas weppage (ASP like syntax). > > > > I run a test page and get a working html file. > > > > $ Webpage1.webpage> Webpage1.html > > > > Webpage1.html opens in browser successfully. > > > > How should I configure Apache to work Webpage1.webpage? > > May you have ready conf files or instruction? > > > > You must create an executable from your project. This executable must be > run as a CGI script on your web browser. Search the Apache documentation > to learn how to install an executable as a CGI script. > you can use lighttpd too it's a good, fast and easy to configure http server > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jussi.lahtinen at ...626... Mon May 21 16:45:48 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 17:45:48 +0300 Subject: [Gambas-user] Gambas2 prog Circular Reference In-Reply-To: <4FB9E178.3000906@...221...> References: <4FB9E178.3000906@...221...> Message-ID: Without source code, it's pretty much impossible to say. That error message should specify the object involved..? Benoit, I'm not sure this is related, but at least there is bug how to handle circular references. See attached project. Jussi On Mon, May 21, 2012 at 9:32 AM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > This weekend I came about this one: > > On my new server (Suse 12.1 64 bit), all Gambas2 programs we are using > here are running flawlessly, only one of them gives a "Circular > Reference" message and stops. It even seems not to start at all, but I > guess it does start and is shot dead before any window can appear. > > Lacking any further information, where would you start to look for the > reason? > > Thanks for your ideas! > > Rolf > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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: CRbug-0.0.1.tar.gz Type: application/x-gzip Size: 4687 bytes Desc: not available URL: From jussi.lahtinen at ...626... Mon May 21 16:47:11 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 17:47:11 +0300 Subject: [Gambas-user] Gambas2 prog Circular Reference In-Reply-To: References: <4FB9E178.3000906@...221...> Message-ID: Sorry, this was on Gambas 3 rev 4745 @ Xubuntu 12.04 64bit. Jussi On Mon, May 21, 2012 at 5:45 PM, Jussi Lahtinen wrote: > Without source code, it's pretty much impossible to say. > That error message should specify the object involved..? > > Benoit, > I'm not sure this is related, but at least there is bug how to handle > circular references. > See attached project. > > Jussi > > > > > > > > On Mon, May 21, 2012 at 9:32 AM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> This weekend I came about this one: >> >> On my new server (Suse 12.1 64 bit), all Gambas2 programs we are using >> here are running flawlessly, only one of them gives a "Circular >> Reference" message and stops. It even seems not to start at all, but I >> guess it does start and is shot dead before any window can appear. >> >> Lacking any further information, where would you start to look for the >> reason? >> >> Thanks for your ideas! >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From eilert-sprachen at ...221... Mon May 21 17:57:39 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2012 17:57:39 +0200 Subject: [Gambas-user] Gambas2 prog Circular Reference In-Reply-To: References: <4FB9E178.3000906@...221...> Message-ID: <4FBA65F3.1050204@...221...> Hi Jussi, just being alone in the office, I shut down the server, replugged the HD and started the new one to try it and tell you what it was. You guess what? Everything ran as expected, no circular reference anymore... No idea what had caused this... Sorry for the noise. Rolf Am 21.05.2012 16:45, schrieb Jussi Lahtinen: > Without source code, it's pretty much impossible to say. > That error message should specify the object involved..? > > Benoit, > I'm not sure this is related, but at least there is bug how to handle > circular references. > See attached project. > > Jussi > > > > > > > On Mon, May 21, 2012 at 9:32 AM, Rolf-Werner Eilert< > eilert-sprachen at ...221...> wrote: > >> This weekend I came about this one: >> >> On my new server (Suse 12.1 64 bit), all Gambas2 programs we are using >> here are running flawlessly, only one of them gives a "Circular >> Reference" message and stops. It even seems not to start at all, but I >> guess it does start and is shot dead before any window can appear. >> >> Lacking any further information, where would you start to look for the >> reason? >> >> Thanks for your ideas! >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From lists at ...2828... Mon May 21 18:24:18 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 21 May 2012 18:24:18 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FB78ADB.3070800@...1...> Message-ID: <000001cd376e$e85de410$0f00a8c0@...2829...> Sounds like a great addition, looking forward to test it! /CJ > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Saturday, May 19, 2012 1:58 PM > To: mailing list for gambas users > Subject: [Gambas-user] New feature in Gambas 3 > > > Hi, > > I have just added the ability to profile a project from the IDE. > > This is not finished yet. At the moment, the IDE will tell > you how much > time you spend in each function, and, for each function, how > much time > is spent in other functions called from it. > > Next, I will try to profile each line of code. > > I hope it will help to optimize your projects! > > Regards, > > -- > Beno?t Minisini > > -------------------------------------------------------------- > ---------------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lists at ...2828... Mon May 21 18:29:23 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 21 May 2012 18:29:23 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <4FB78C01.5080204@...1...> Message-ID: <000101cd376e$e8dbedb0$0f00a8c0@...2829...> Thanks for clarifying... Was you or toni able to reproduce the wierd issue with Shell "clear" Wait on your end? /CJ > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Saturday, May 19, 2012 2:03 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Two bugs/issues noted > > > Le 14/05/2012 12:00, Christer Johansson a ?crit : > > > > Noted some issues last night... > > > > First one is with Date(now). If assigned to a variable (or > printed) it > > adds placeholders for time as zeroes like... > > > > 05/14/2012 00:00:00 > > > > As for that, this is a bug fix. A date is a Date value with > the time set > to zero. The default date to string conversion now do not > strip the time > anymore if it is zero. > > If you need to print the date only, you have to use the > Format$() function. > > Note that there is no predefined format for just printing the > date part > with Format$(). This is a bug that I should fix. > > Regards, > > -- > Beno?t Minisini > > -------------------------------------------------------------- > ---------------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon May 21 18:49:54 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 19:49:54 +0300 Subject: [Gambas-user] Rev 4751 doesn't compile Message-ID: /usr/local/bin/gbi3: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: undefined symbol: _ZN12gApplication16onLeaveEventLoopE Logs attached. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: compile.log.tar.gz Type: application/x-gzip Size: 50850 bytes Desc: not available URL: From gambas at ...1... Mon May 21 19:01:55 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 21 May 2012 19:01:55 +0200 Subject: [Gambas-user] Rev 4751 doesn't compile In-Reply-To: References: Message-ID: <4FBA7503.8060708@...1...> Le 21/05/2012 18:49, Jussi Lahtinen a ?crit : > /usr/local/bin/gbi3: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > undefined symbol: _ZN12gApplication16onLeaveEventLoopE > > Logs attached. > > > Jussi > Oops, fixed in revision #4752. -- Beno?t Minisini From gambas at ...1... Mon May 21 19:04:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 21 May 2012 19:04:52 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> References: <000001cd31b8$5b3cd7f0$0f00a8c0@...2829...> Message-ID: <4FBA75B4.8040901@...1...> Le 14/05/2012 12:00, Christer Johansson a ?crit : > > > Second is regarding the Shell command. If I execute the following > code on my NAS nothing happens, same code works OK in Xubuntu running > on x86... > > ... > Shell "clear" Wait > ... > > Simple repro code for both issues in attachement. > I confirm that it works on my Ubuntu/x86_64. What is your NAS? -- Beno?t Minisini From lists at ...2828... Mon May 21 19:13:00 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 21 May 2012 19:13:00 +0200 Subject: [Gambas-user] Two bugs/issues noted In-Reply-To: <4FBA75B4.8040901@...1...> Message-ID: <000001cd3774$fc28d1c0$0f00a8c0@...2829...> NAS is running Debian Lenny @ ARM. /CJ > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Monday, May 21, 2012 7:05 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Two bugs/issues noted > > > Le 14/05/2012 12:00, Christer Johansson a ?crit : > > > > > > Second is regarding the Shell command. If I execute the following > > code on my NAS nothing happens, same code works OK in > Xubuntu running > > on x86... > > > > ... > > Shell "clear" Wait > > ... > > > > Simple repro code for both issues in attachement. > > > > I confirm that it works on my Ubuntu/x86_64. What is your NAS? > > -- > Beno?t Minisini From sundar_ima at ...251... Mon May 21 19:45:48 2012 From: sundar_ima at ...251... (sundar j) Date: 21 May 2012 17:45:48 -0000 Subject: [Gambas-user] =?utf-8?q?Shell_with_wait_does_not_wait_till_work_c?= =?utf-8?q?omplettion?= Message-ID: <20120521174548.2268.qmail@...2845...> In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" .  Once copying is complete then TextLable will indicate something else. For some reason wait option in shell command does nothing and I am not able to set the text  "Copy in Progress" in TextLabel properly. Is it bug or am I missing some code? From tobiasboege01 at ...1601... Mon May 21 20:10:18 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 21 May 2012 20:10:18 +0200 Subject: [Gambas-user] Shell with wait does not wait till work complettion In-Reply-To: <20120521174548.2268.qmail@...2845...> References: <20120521174548.2268.qmail@...2845...> Message-ID: <20120521181018.GD2107@...2774...> On Mon, 21 May 2012, sundar j wrote: > In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" .  Once copying is complete then TextLable will indicate something else. For some reason wait option in shell command does nothing and I am not able to set the text  "Copy in Progress" in TextLabel properly. Is it bug or am I missing some code? > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user What do you mean by "wait option [...] does nothing"? Does the shell give an error? I assume that you have something like: TextLabel.Text = "Copy in progress" Shell "cp -r " Wait If I remember correctly, using this construct prevents the GUI from refreshing itself, so you won't see anything until the command completes and a new event loop is entered? I think one could help better with more information. Regards, Tobi From jussi.lahtinen at ...626... Mon May 21 20:19:45 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 21:19:45 +0300 Subject: [Gambas-user] Rev 4751 doesn't compile In-Reply-To: <4FBA7503.8060708@...1...> References: <4FBA7503.8060708@...1...> Message-ID: Works now, thanks! Jussi On Mon, May 21, 2012 at 8:01 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 21/05/2012 18:49, Jussi Lahtinen a ?crit : > > /usr/local/bin/gbi3: symbol lookup error: /usr/local/lib/gambas3/ > gb.gtk.so: > > undefined symbol: _ZN12gApplication16onLeaveEventLoopE > > > > Logs attached. > > > > > > Jussi > > > > Oops, fixed in revision #4752. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Mon May 21 20:39:38 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 21:39:38 +0300 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FB78ADB.3070800@...1...> References: <4FB78ADB.3070800@...1...> Message-ID: Is it possible to have separated start and stop buttons for the profiler? I have huge project and when it starts it goes through pretty long initialization (wait loops, pre-computed values, etc), and I'm really only interested to optimize certain parts of the run. Right now the interesting part is flooded with uninteresting data and the initialization is slowed down for nothing, so analyzing the data is bit inconvenient. Profiler is already very useful, so this is not big deal... Jussi On Sat, May 19, 2012 at 2:58 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > I have just added the ability to profile a project from the IDE. > > This is not finished yet. At the moment, the IDE will tell you how much > time you spend in each function, and, for each function, how much time > is spent in other functions called from it. > > Next, I will try to profile each line of code. > > I hope it will help to optimize your projects! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon May 21 21:29:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 21 May 2012 21:29:14 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: References: <4FB78ADB.3070800@...1...> Message-ID: <4FBA978A.4010608@...1...> Le 21/05/2012 20:39, Jussi Lahtinen a ?crit : > Is it possible to have separated start and stop buttons for the profiler? > > I have huge project and when it starts it goes through pretty long > initialization (wait loops, pre-computed values, etc), > and I'm really only interested to optimize certain parts of the run. > > Right now the interesting part is flooded with uninteresting data and the > initialization is slowed down for nothing, > so analyzing the data is bit inconvenient. > > Profiler is already very useful, so this is not big deal... > > Jussi > It is a big deal. :-) If I make a System.Profiler boolean property to activate / deactivate the profiler directly from code, will it fit your needs? -- Beno?t Minisini From sundar_ima at ...251... Mon May 21 21:33:25 2012 From: sundar_ima at ...251... (sundar j) Date: 21 May 2012 19:33:25 -0000 Subject: [Gambas-user] =?utf-8?q?Fw=3A__Shell_with_wait_does_not_wait_till?= =?utf-8?q?_work_complettion?= Message-ID: <1337628600.S.6775.3561.f4mail-235-149.rediffmail.com.old.1337628804.29991@...2802...> TextLabel.Text = "Copy in progress" Shell "cp -r <src> <dst>" Wait TextLabel.Text = "Completed." I used above code in my application. Shell indicated that all files are being copied one-by-one. But TextLable did not display Copy in progress. I did lot of experiment with the above code. Finaly i got it working by adding time delay just before shell command. Now my code looks like this :- TextLabel.Text = "Copy in progress" wait 0.1 Shell "cp -r <src> <dst>" Wait TextLabel.Text = "Completed." I really have no clue  why code worked after inserting time delay. From: tobi <tobiasboege01 at ...1601...> Sent: Mon, 21 May 2012 23:40:35 To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> Subject: Re: [Gambas-user] Shell with wait does not wait till work complettion On Mon, 21 May 2012, sundar j wrote: > In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" .&nbsp; Once copying is complete then TextLable will indicate something else. For some reason wait option in shell command does nothing and I am not able to set the text&nbsp; "Copy in Progress" in TextLabel properly. Is it bug or am I missing some code? > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user What do you mean by "wait option [...] does nothing"? Does the shell give an error? I assume that you have something like: TextLabel.Text = "Copy in progress" Shell "cp -r <src> <dst>" Wait If I remember correctly, using this construct prevents the GUI from refreshing itself, so you won't see anything until the command completes and a new event loop is entered? I think one could help better with more information. Regards, Tobi Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. From tobiasboege01 at ...1601... Mon May 21 21:42:47 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 21 May 2012 21:42:47 +0200 Subject: [Gambas-user] Fw: Shell with wait does not wait till work complettion In-Reply-To: <1337628600.S.6775.3561.f4mail-235-149.rediffmail.com.old.1337628804.29991@...2802...> References: <1337628600.S.6775.3561.f4mail-235-149.rediffmail.com.old.1337628804.29991@...2802...> Message-ID: <20120521194247.GL2107@...2774...> On Mon, 21 May 2012, sundar j wrote: > > TextLabel.Text = "Copy in progress" > > Shell "cp -r <src> <dst>" Wait > TextLabel.Text = "Completed." > > I used above code in my application. Shell indicated that all files are being copied one-by-one. But TextLable did not display Copy in progress. I did lot of experiment with the above code. Finaly i got it working by adding time delay just before shell command. Now my code looks like this :- > > TextLabel.Text = "Copy in progress" > wait 0.1 > > Shell "cp -r <src> <dst>" Wait > > TextLabel.Text = "Completed." > > I really have no clue  why code worked after inserting time delay. > For public again: Actually, it does not depend on the *delay*. If you use the WAIT instruction, the interpreter re-enters its event loop. Only in this loop, changes to the GUI are made effective. So just call Wait without any parameter so that the interpreter spends only as long there as it needs to process all the pending events and refresh the GUI. You can read that on: http://www.gambasdoc.org/help/cat/eventloop?v3 Regards, Tobi From demosthenesk at ...626... Mon May 21 21:51:04 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 22:51:04 +0300 Subject: [Gambas-user] Data Structures like C++ Message-ID: <4FBA9CA8.80005@...626...> Basic languages have simple data structures like vars and arrays but other languages like c++ with the help of pointers can have advanced data structures like containers etc... see a full list here http://en.wikipedia.org/wiki/List_of_data_structures i wonder if such data structures can be implemented with gambas with pointers and if such an action have any mean for real life applications? Is it possible to have such data structures in gambas? How about some of these to be part of the core libraries? Abstract data types * Container * Map/Associative array/Dictionary * Multimap * List * Set * Multiset * Priority queue * Queue * Deque * Stack * String * Tree * Graph * Hash From tobiasboege01 at ...1601... Mon May 21 21:56:38 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 21 May 2012 21:56:38 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBA9CA8.80005@...626...> References: <4FBA9CA8.80005@...626...> Message-ID: <20120521195638.GM2107@...2774...> On Mon, 21 May 2012, Demosthenes Koptsis wrote: > Basic languages have simple data structures like vars and arrays but > other languages > like c++ with the help of pointers can have advanced data structures > like containers etc... > > see a full list here > http://en.wikipedia.org/wiki/List_of_data_structures > > i wonder if such data structures can be implemented with gambas with > pointers and if such an action have any mean for real life > applications? > > Is it possible to have such data structures in gambas? > How about some of these to be part of the core libraries? > > > Abstract data types > > * Container > * Map/Associative array/Dictionary > > * Multimap > * List > * Set > * Multiset > > * Priority queue > * Queue > * Deque > * Stack > * String > * Tree > * Graph > * Hash > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user When you mean "data structure like [in] C++" you mean those things we can do with gambas Objects? I could make a bunch of the ones listed above from scratch using classes - I tend to detest C++ but I think, the ones above are nothing else? (Maybe gambas lacks templates or something) Regards, Tobi From jussi.lahtinen at ...626... Mon May 21 21:58:03 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 May 2012 22:58:03 +0300 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FBA978A.4010608@...1...> References: <4FB78ADB.3070800@...1...> <4FBA978A.4010608@...1...> Message-ID: Yes, that would be great! Jussi On Mon, May 21, 2012 at 10:29 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 21/05/2012 20:39, Jussi Lahtinen a ?crit : > > Is it possible to have separated start and stop buttons for the profiler? > > > > I have huge project and when it starts it goes through pretty long > > initialization (wait loops, pre-computed values, etc), > > and I'm really only interested to optimize certain parts of the run. > > > > Right now the interesting part is flooded with uninteresting data and the > > initialization is slowed down for nothing, > > so analyzing the data is bit inconvenient. > > > > Profiler is already very useful, so this is not big deal... > > > > Jussi > > > > It is a big deal. :-) > > If I make a System.Profiler boolean property to activate / deactivate > the profiler directly from code, will it fit your needs? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Mon May 21 21:59:02 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 21 May 2012 21:59:02 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBA9CA8.80005@...626...> References: <4FBA9CA8.80005@...626...> Message-ID: Hash tables and arrays are already implemented. The most important missing ones are Multimaps, Sets, Multisets, Linked lists, Deques. It should be quite easy to write c++ wrappers and put them in a component. For example, a Set can use a std::set internally. Implementing them in Gambas should work, but would be quite slow. I suggest writing them as a component gb.datastructures or something. And yes, Gambas lacks templates, but Variants can be used instead. Not optimal, but it works. /Emil 2012/5/21 Demosthenes Koptsis > Basic languages have simple data structures like vars and arrays but > other languages > like c++ with the help of pointers can have advanced data structures > like containers etc... > > see a full list here > http://en.wikipedia.org/wiki/List_of_data_structures > > i wonder if such data structures can be implemented with gambas with > pointers and if such an action have any mean for real life > applications? > > Is it possible to have such data structures in gambas? > How about some of these to be part of the core libraries? > > > Abstract data types > > > * Container > * Map/Associative array/Dictionary > > * Multimap > * List > * Set > * Multiset > > * Priority queue > * Queue > * Deque > * Stack > * String > * Tree > * Graph > * Hash > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From demosthenesk at ...626... Mon May 21 22:01:05 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 23:01:05 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120521195638.GM2107@...2774...> References: <4FBA9CA8.80005@...626...> <20120521195638.GM2107@...2774...> Message-ID: <4FBA9F01.6030602@...626...> ???? 21/5/2012 22:56, ?/? tobi ??????: > On Mon, 21 May 2012, Demosthenes Koptsis wrote: >> Basic languages have simple data structures like vars and arrays but >> other languages >> like c++ with the help of pointers can have advanced data structures >> like containers etc... >> >> see a full list here >> http://en.wikipedia.org/wiki/List_of_data_structures >> >> i wonder if such data structures can be implemented with gambas with >> pointers and if such an action have any mean for real life >> applications? >> >> Is it possible to have such data structures in gambas? >> How about some of these to be part of the core libraries? >> >> >> Abstract data types >> >> * Container >> * Map/Associative array/Dictionary >> >> * Multimap >> * List >> * Set >> * Multiset >> >> * Priority queue >> * Queue >> * Deque >> * Stack >> * String >> * Tree >> * Graph >> * Hash >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > When you mean "data structure like [in] C++" you mean those things we can do with gambas Objects? > > I could make a bunch of the ones listed above from scratch using classes - I tend to detest C++ but > I think, the ones above are nothing else? (Maybe gambas lacks templates or something) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user i mean to have a Binary Tree or a List with linked pointers etc ... i think most of them could be objects. From demosthenesk at ...626... Mon May 21 22:03:07 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 23:03:07 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: References: <4FBA9CA8.80005@...626...> Message-ID: <4FBA9F7B.1060201@...626...> ???? 21/5/2012 22:59, ?/? Emil Lenngren ??????: > Hash tables and arrays are already implemented. > > The most important missing ones are Multimaps, Sets, Multisets, Linked > lists, Deques. > It should be quite easy to write c++ wrappers and put them in a component. > For example, a Set can use a std::set internally. > > Implementing them in Gambas should work, but would be quite slow. I suggest > writing them as a component gb.datastructures or something. > > And yes, Gambas lacks templates, but Variants can be used instead. Not > optimal, but it works. > > /Emil > > 2012/5/21 Demosthenes Koptsis > >> Basic languages have simple data structures like vars and arrays but >> other languages >> like c++ with the help of pointers can have advanced data structures >> like containers etc... >> >> see a full list here >> http://en.wikipedia.org/wiki/List_of_data_structures >> >> i wonder if such data structures can be implemented with gambas with >> pointers and if such an action have any mean for real life >> applications? >> >> Is it possible to have such data structures in gambas? >> How about some of these to be part of the core libraries? >> >> >> Abstract data types> * Container >> * Map/Associative array/Dictionary >> >> * Multimap >> * List >> * Set >> * Multiset >> >> * Priority queue >> * Queue >> * Deque >> * Stack >> * String >> * Tree >> * Graph >> * Hash >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes that i mean ! A library like gb.datastractures if it could be happend !!! From tobiasboege01 at ...1601... Mon May 21 22:05:14 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 21 May 2012 22:05:14 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBA9F01.6030602@...626...> References: <4FBA9CA8.80005@...626...> <20120521195638.GM2107@...2774...> <4FBA9F01.6030602@...626...> Message-ID: <20120521200514.GN2107@...2774...> On Mon, 21 May 2012, Demosthenes Koptsis wrote: > ???? 21/5/2012 22:56, ?/? tobi ??????: > > On Mon, 21 May 2012, Demosthenes Koptsis wrote: > >> Basic languages have simple data structures like vars and arrays but > >> other languages > >> like c++ with the help of pointers can have advanced data structures > >> like containers etc... > >> > >> see a full list here > >> http://en.wikipedia.org/wiki/List_of_data_structures > >> > >> i wonder if such data structures can be implemented with gambas with > >> pointers and if such an action have any mean for real life > >> applications? > >> > >> Is it possible to have such data structures in gambas? > >> How about some of these to be part of the core libraries? > >> > >> > >> Abstract data types > >> > >> * Container > >> * Map/Associative array/Dictionary > >> > >> * Multimap > >> * List > >> * Set > >> * Multiset > >> > >> * Priority queue > >> * Queue > >> * Deque > >> * Stack > >> * String > >> * Tree > >> * Graph > >> * Hash > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > When you mean "data structure like [in] C++" you mean those things we can do with gambas Objects? > > > > I could make a bunch of the ones listed above from scratch using classes - I tend to detest C++ but > > I think, the ones above are nothing else? (Maybe gambas lacks templates or something) > > > > Regards, > > Tobi > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > i mean to have a Binary Tree or a List with linked pointers etc ... > i think most of them could be objects. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You don't need "pointers" in a C/C++ manner. In Gambas every "Object" is a reference: TreeNode.class: --8<--------------- Property Value As Variant Property Read Parent As TreeNode Property Read LeftChild As TreeNode Property Read RightChild As TreeNode Public Sub _new() [...] End Public Sub CreateChildren() [...] End [...] --8<--------------- From demosthenesk at ...626... Mon May 21 22:08:52 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 23:08:52 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: References: <4FBA9CA8.80005@...626...> Message-ID: <4FBAA0D4.7050508@...626...> ???? 21/5/2012 22:59, ?/? Emil Lenngren ??????: > Hash tables and arrays are already implemented. > > The most important missing ones are Multimaps, Sets, Multisets, Linked > lists, Deques. > It should be quite easy to write c++ wrappers and put them in a component. Can they be implemented as gambas class with gambas pointers? So they can be extended and be inhereted as base classes for other user data structures? From demosthenesk at ...626... Mon May 21 22:11:30 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 23:11:30 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120521200514.GN2107@...2774...> References: <4FBA9CA8.80005@...626...> <20120521195638.GM2107@...2774...> <4FBA9F01.6030602@...626...> <20120521200514.GN2107@...2774...> Message-ID: <4FBAA172.6090809@...626...> ???? 21/5/2012 23:05, ?/? tobi ??????: > On Mon, 21 May 2012, Demosthenes Koptsis wrote: >> ???? 21/5/2012 22:56, ?/? tobi ??????: >>> On Mon, 21 May 2012, Demosthenes Koptsis wrote: >>>> Basic languages have simple data structures like vars and arrays but >>>> other languages >>>> like c++ with the help of pointers can have advanced data structures >>>> like containers etc... >>>> >>>> see a full list here >>>> http://en.wikipedia.org/wiki/List_of_data_structures >>>> >>>> i wonder if such data structures can be implemented with gambas with >>>> pointers and if such an action have any mean for real life >>>> applications? >>>> >>>> Is it possible to have such data structures in gambas? >>>> How about some of these to be part of the core libraries? >>>> >>>> >>>> Abstract data types >>>> >>>> * Container >>>> * Map/Associative array/Dictionary >>>> >>>> * Multimap >>>> * List >>>> * Set >>>> * Multiset >>>> >>>> * Priority queue >>>> * Queue >>>> * Deque >>>> * Stack >>>> * String >>>> * Tree >>>> * Graph >>>> * Hash >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> When you mean "data structure like [in] C++" you mean those things we can do with gambas Objects? >>> >>> I could make a bunch of the ones listed above from scratch using classes - I tend to detest C++ but >>> I think, the ones above are nothing else? (Maybe gambas lacks templates or something) >>> >>> Regards, >>> Tobi >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> i mean to have a Binary Tree or a List with linked pointers etc ... >> i think most of them could be objects. >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > You don't need "pointers" in a C/C++ manner. In Gambas every "Object" is a reference: > > TreeNode.class: > --8<--------------- > Property Value As Variant > Property Read Parent As TreeNode > Property Read LeftChild As TreeNode > Property Read RightChild As TreeNode > > Public Sub _new() > [...] > End > > Public Sub CreateChildren() > [...] > End > > [...] > --8<--------------- > ok it seems more easier then ! From gambas at ...1... Mon May 21 22:25:22 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 21 May 2012 22:25:22 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBA9CA8.80005@...626...> References: <4FBA9CA8.80005@...626...> Message-ID: <4FBAA4B2.10709@...1...> Le 21/05/2012 21:51, Demosthenes Koptsis a ?crit : > Basic languages have simple data structures like vars and arrays but > other languages > like c++ with the help of pointers can have advanced data structures > like containers etc... > > see a full list here > http://en.wikipedia.org/wiki/List_of_data_structures > > i wonder if such data structures can be implemented with gambas with > pointers and if such an action have any mean for real life > applications? > > Is it possible to have such data structures in gambas? > How about some of these to be part of the core libraries? Some data structures are missing, but not so many as you may think at first sight. If they are implemented, I don't think they will go inside the interpreter, to keep its size small (it is already too big for my tastes), but in an extern component. * Map/Associative array/Dictionary * Hash Use a Collection in both case. If the key is not a string, you must find a way to identify your key with a unique string. * Multimap Use a Collection whose values are arrays. * List Use an array. Since CPU have now one, two, three... memory caches, arrays as almost always faster than linked lists. * Set One could use a Collection to emulate it: by transforming a value into a string key, we can assume that the value belongs to the set if the collection has something associated with the key. But it would be better to add a Set native class with a native implementation (in C. Stop with C++!). * Multiset Same remarks (the value is associated to its number of occurence in the collection). * Priority queue Is it worth having a native implementation for that? I don't think so. A implementation in Gambas should be enough. * Queue * Deque * Stack Use an Array. The Push() and Pop() methods can help. * String We have strings of characters. Is something else really needed? * Tree * Graph Native implementation of that would be interesting. Any volunteer? :-) -- Beno?t Minisini From demosthenesk at ...626... Mon May 21 22:36:51 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 21 May 2012 23:36:51 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBAA4B2.10709@...1...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> Message-ID: <4FBAA763.30306@...626...> ???? 21/5/2012 23:25, ?/? Beno?t Minisini ??????: > Le 21/05/2012 21:51, Demosthenes Koptsis a ?crit : >> Basic languages have simple data structures like vars and arrays but >> other languages >> like c++ with the help of pointers can have advanced data structures >> like containers etc... >> >> see a full list here >> http://en.wikipedia.org/wiki/List_of_data_structures >> >> i wonder if such data structures can be implemented with gambas with >> pointers and if such an action have any mean for real life >> applications? >> >> Is it possible to have such data structures in gambas? >> How about some of these to be part of the core libraries? > Some data structures are missing, but not so many as you may think at > first sight. > > If they are implemented, I don't think they will go inside the > interpreter, to keep its size small (it is already too big for my > tastes), but in an extern component. > > * Map/Associative array/Dictionary > * Hash > > Use a Collection in both case. If the key is not a string, you must find > a way to identify your key with a unique string. > > * Multimap > > Use a Collection whose values are arrays. > > * List > > Use an array. Since CPU have now one, two, three... memory caches, > arrays as almost always faster than linked lists. > > * Set > > One could use a Collection to emulate it: by transforming a value into a > string key, we can assume that the value belongs to the set if the > collection has something associated with the key. > > But it would be better to add a Set native class with a native > implementation (in C. Stop with C++!). > > * Multiset > > Same remarks (the value is associated to its number of occurence in the > collection). > > * Priority queue > > Is it worth having a native implementation for that? I don't think so. A > implementation in Gambas should be enough. > > * Queue > * Deque > * Stack > > Use an Array. The Push() and Pop() methods can help. > > * String > > We have strings of characters. Is something else really needed? > > * Tree > * Graph > > Native implementation of that would be interesting. > > Any volunteer? :-) > i am still learning from a book for c++ (ok i stop! but i study it these days sorry:) ) and i dont know if i could write something as gambas class of course, not c. and i think the dicussiont from now one have to be transferred at dev list. But i just throw the idea here in user list! From tobiasboege01 at ...1601... Mon May 21 22:40:20 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 21 May 2012 22:40:20 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBAA4B2.10709@...1...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> Message-ID: <20120521204020.GA616@...2774...> On Mon, 21 May 2012, Beno?t Minisini wrote: > Le 21/05/2012 21:51, Demosthenes Koptsis a ?crit : > > Basic languages have simple data structures like vars and arrays but > > other languages > > like c++ with the help of pointers can have advanced data structures > > like containers etc... > > > > see a full list here > > http://en.wikipedia.org/wiki/List_of_data_structures > > > > i wonder if such data structures can be implemented with gambas with > > pointers and if such an action have any mean for real life > > applications? > > > > Is it possible to have such data structures in gambas? > > How about some of these to be part of the core libraries? > > Some data structures are missing, but not so many as you may think at > first sight. > > If they are implemented, I don't think they will go inside the > interpreter, to keep its size small (it is already too big for my > tastes), but in an extern component. > > * Map/Associative array/Dictionary > * Hash > > Use a Collection in both case. If the key is not a string, you must find > a way to identify your key with a unique string. > > * Multimap > > Use a Collection whose values are arrays. > > * List > > Use an array. Since CPU have now one, two, three... memory caches, > arrays as almost always faster than linked lists. > > * Set > > One could use a Collection to emulate it: by transforming a value into a > string key, we can assume that the value belongs to the set if the > collection has something associated with the key. > > But it would be better to add a Set native class with a native > implementation (in C. Stop with C++!). > > * Multiset > > Same remarks (the value is associated to its number of occurence in the > collection). > > * Priority queue > > Is it worth having a native implementation for that? I don't think so. A > implementation in Gambas should be enough. > > * Queue > * Deque > * Stack > > Use an Array. The Push() and Pop() methods can help. > > * String > > We have strings of characters. Is something else really needed? > > * Tree > * Graph > > Native implementation of that would be interesting. > > Any volunteer? :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Heh... I was once working on reversing the collatz conjecture from a given integer - using a (halfways) binary tree. Graphs would in fact be interesting to implement but what is to be cleared up before anyone could think about volunteering: * Are trees restricted to their number of children? * The same for graphs: restrictions on the number of edges? The latter, I never used in programming (read of them a bit in mathematics). What could they be used for generally? Representing town maps? :) From emil.lenngren at ...626... Mon May 21 22:40:38 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 21 May 2012 22:40:38 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBAA4B2.10709@...1...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> Message-ID: Sometimes linked list are used to manipulate data in the middle of the list (insertions, removals), then arrays are too slow. O(1) vs O(n). However, a linked list is very easy to implement in Gambas, using object references. Sometimes (ordered) sets are used by the fact that they are ordered. Then gambas collections won't work, since they are unordered. Same thing with maps/multimaps. A priority queue can easily be written in Gambas using an array as backend. Or, simply use an ordered tree instead (the first/last element is always the one with highest priority...) I agree that Tree would be the most interesting data structure to be implemented in C ;) Red-black trees are very efficient and useful but is quite complicated to write, so a C implementation would be nice, even if it could be written in Gambas. /Emil 2012/5/21 Beno?t Minisini > Le 21/05/2012 21:51, Demosthenes Koptsis a ?crit : > > Basic languages have simple data structures like vars and arrays but > > other languages > > like c++ with the help of pointers can have advanced data structures > > like containers etc... > > > > see a full list here > > http://en.wikipedia.org/wiki/List_of_data_structures > > > > i wonder if such data structures can be implemented with gambas with > > pointers and if such an action have any mean for real life > > applications? > > > > Is it possible to have such data structures in gambas? > > How about some of these to be part of the core libraries? > > Some data structures are missing, but not so many as you may think at > first sight. > > If they are implemented, I don't think they will go inside the > interpreter, to keep its size small (it is already too big for my > tastes), but in an extern component. > > * Map/Associative array/Dictionary > * Hash > > Use a Collection in both case. If the key is not a string, you must find > a way to identify your key with a unique string. > > * Multimap > > Use a Collection whose values are arrays. > > * List > > Use an array. Since CPU have now one, two, three... memory caches, > arrays as almost always faster than linked lists. > > * Set > > One could use a Collection to emulate it: by transforming a value into a > string key, we can assume that the value belongs to the set if the > collection has something associated with the key. > > But it would be better to add a Set native class with a native > implementation (in C. Stop with C++!). > > * Multiset > > Same remarks (the value is associated to its number of occurence in the > collection). > > * Priority queue > > Is it worth having a native implementation for that? I don't think so. A > implementation in Gambas should be enough. > > * Queue > * Deque > * Stack > > Use an Array. The Push() and Pop() methods can help. > > * String > > We have strings of characters. Is something else really needed? > > * Tree > * Graph > > Native implementation of that would be interesting. > > Any volunteer? :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Mon May 21 23:07:29 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 21 May 2012 23:07:29 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120521204020.GA616@...2774...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <20120521204020.GA616@...2774...> Message-ID: Usual implementations of trees does not have restrictions on number of children. Each node are allocated separately. They use to contain pointers to the left and right children, and maybe to the parent as well. I don't see any reason why Graphs should be implemented as a special Collection. There are as many possible graph representations as there are graph algorithms, and most of them can be implemented easily. For example, the most common is "adjacency list": Class Graph nodes As Node[] End Class Node adjacentNodes As Node[] additionalData End 2012/5/21 tobi > On Mon, 21 May 2012, Beno?t Minisini wrote: > > Le 21/05/2012 21:51, Demosthenes Koptsis a ?crit : > > > Basic languages have simple data structures like vars and arrays but > > > other languages > > > like c++ with the help of pointers can have advanced data structures > > > like containers etc... > > > > > > see a full list here > > > http://en.wikipedia.org/wiki/List_of_data_structures > > > > > > i wonder if such data structures can be implemented with gambas with > > > pointers and if such an action have any mean for real life > > > applications? > > > > > > Is it possible to have such data structures in gambas? > > > How about some of these to be part of the core libraries? > > > > Some data structures are missing, but not so many as you may think at > > first sight. > > > > If they are implemented, I don't think they will go inside the > > interpreter, to keep its size small (it is already too big for my > > tastes), but in an extern component. > > > > * Map/Associative array/Dictionary > > * Hash > > > > Use a Collection in both case. If the key is not a string, you must find > > a way to identify your key with a unique string. > > > > * Multimap > > > > Use a Collection whose values are arrays. > > > > * List > > > > Use an array. Since CPU have now one, two, three... memory caches, > > arrays as almost always faster than linked lists. > > > > * Set > > > > One could use a Collection to emulate it: by transforming a value into a > > string key, we can assume that the value belongs to the set if the > > collection has something associated with the key. > > > > But it would be better to add a Set native class with a native > > implementation (in C. Stop with C++!). > > > > * Multiset > > > > Same remarks (the value is associated to its number of occurence in the > > collection). > > > > * Priority queue > > > > Is it worth having a native implementation for that? I don't think so. A > > implementation in Gambas should be enough. > > > > * Queue > > * Deque > > * Stack > > > > Use an Array. The Push() and Pop() methods can help. > > > > * String > > > > We have strings of characters. Is something else really needed? > > > > * Tree > > * Graph > > > > Native implementation of that would be interesting. > > > > Any volunteer? :-) > > > > -- > > Beno?t Minisini > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Heh... I was once working on reversing the collatz conjecture from a given > integer - using a > (halfways) binary tree. > > Graphs would in fact be interesting to implement but what is to be cleared > up before anyone could > think about volunteering: > * Are trees restricted to their number of children? > * The same for graphs: restrictions on the number of edges? > > The latter, I never used in programming (read of them a bit in > mathematics). What could they be used > for generally? Representing town maps? :) > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Tue May 22 06:14:02 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 22 May 2012 00:14:02 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic Message-ID: <4FBB128A.3010505@...1887...> Disclaimer: I've been working on this for days and neither Google nor trial and error is adequate, apparently. I'm trying to render an overhead, 2D scene with the "camera" at the center of the screen and the world objects rotated around it. Here are my variables: Camera.WorldX As Single ' World coordinates of camera. Camera.WorldYAs Single ' World coordinates of camera. Camera.Orientation As Single ' Angle of camera (2D overhead view, rotates screen like Contra III for SNES). Camera.Zoom As Single ' Scale of matrix for zooming in and out. sWidth As Short ' Width in pixels of screen. sHeight As Short ' Height in pixels of screen. I need to rotate the matrix so that rendered objects will appear in the correct positions with regard to the camera's orientation. I need to translate the matrix so that the camera coordinates are always at the center of the rendering window. I need to scale the matrix so that the camera can zoom in and out (always centered at the middle of the rendering window). I suspect that to center the camera on the rendering window after rotating the matrix, I need to "unrotate" the x and y offsets required to center it, which I can do if necessary using some functions I created to rotate an arbitrary point about an arbitrary origin. I think I can successfully rotate the matrix around the camera with code like this: Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) Gl.Rotatef(- Camera.Orientation, 0, 0, 1) Gl.Translatef(- Camera.WorldX, - Camera.WorldY, 0) But then I need to translate the scene so that the camera is in the center of the rendering window. I also can't figure out how to arbitrarily scale the matrix to zoom in and out on the camera in this sequence. I have this: Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) but its effects vary depending on where I place it. The reason it multiplies by 128 is because each "tile" is 128 pixels, and each world coordinate is one tile. I couldn't be more confused if I'd just been shot in the head, so any help is greatly appreciated. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From tommyline at ...2340... Tue May 22 09:02:44 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Tue, 22 May 2012 08:02:44 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FBB128A.3010505@...1887...> Message-ID: <26454823.952.1337670164149.JavaMail.root@...2632...> Hi Kevin. There's plenty of issues you post, but first thing I would do would be: instead of: Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) Gl.Rotatef(- Camera.Orientation, 0, 0, 1) Gl.Translatef(- Camera.WorldX, - Camera.WorldY, 0) '<<-- you come back along different path here because 'the world is turned along z-axis try this: Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) gl.PushMatrix() '<-you save the world's coordinate here do all the drawing here gl.PopMatrix() '<-restore camera's original position. Doing gl.Rotatef() you turn GLOBAL coordinates, so if you do gl.Rotatef(90,0,0,1), your x an y axes are swapped, y becomes x, becomes -y, thus doing gl.Translatef(1,1,0) next in fact moves your object by (-1,1,0...I think:)) ). That's for the moment, the rest we can discuss if you want. regards Tomek ----- Original Message ----- From: "Kevin Fishburne" To: gambas-user at lists.sourceforge.net Sent: Tuesday, 22 May, 2012 5:14:02 AM Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic Disclaimer: I've been working on this for days and neither Google nor trial and error is adequate, apparently. I'm trying to render an overhead, 2D scene with the "camera" at the center of the screen and the world objects rotated around it. Here are my variables: Camera.WorldX As Single ' World coordinates of camera. Camera.WorldYAs Single ' World coordinates of camera. Camera.Orientation As Single ' Angle of camera (2D overhead view, rotates screen like Contra III for SNES). Camera.Zoom As Single ' Scale of matrix for zooming in and out. sWidth As Short ' Width in pixels of screen. sHeight As Short ' Height in pixels of screen. I need to rotate the matrix so that rendered objects will appear in the correct positions with regard to the camera's orientation. I need to translate the matrix so that the camera coordinates are always at the center of the rendering window. I need to scale the matrix so that the camera can zoom in and out (always centered at the middle of the rendering window). I suspect that to center the camera on the rendering window after rotating the matrix, I need to "unrotate" the x and y offsets required to center it, which I can do if necessary using some functions I created to rotate an arbitrary point about an arbitrary origin. I think I can successfully rotate the matrix around the camera with code like this: Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) Gl.Rotatef(- Camera.Orientation, 0, 0, 1) Gl.Translatef(- Camera.WorldX, - Camera.WorldY, 0) But then I need to translate the scene so that the camera is in the center of the rendering window. I also can't figure out how to arbitrarily scale the matrix to zoom in and out on the camera in this sequence. I have this: Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) but its effects vary depending on where I place it. The reason it multiplies by 128 is because each "tile" is 128 pixels, and each world coordinate is one tile. I couldn't be more confused if I'd just been shot in the head, so any help is greatly appreciated. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Tue May 22 10:09:17 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 May 2012 10:09:17 +0200 Subject: [Gambas-user] DrawingArea not drawn under qt4 In-Reply-To: <4FBA2628.1030106@...1...> References: <4FB9E338.2060401@...221...> <4FBA2628.1030106@...1...> Message-ID: <4FBB49AD.7090801@...221...> Am 21.05.2012 13:25, schrieb Beno?t Minisini: > Le 21/05/2012 08:39, Rolf-Werner Eilert a ?crit : >> Last afternoon I downloaded and installed the latest trunk version of >> Gambas3 to see if my qt4 DrawingArea problem has been solved. >> >> It has not :-( I still don't see anything drawn on the DrawingArea when >> under KDE4. >> >> So, this is why I ask everyone again: Does anyone here have any problems >> with a DrawingArea under qt4? >> >> I use KDE4 on a 32 bit and on a 64 bit Suse 12.1, and both show the same >> error. There are different graphics card drivers, different graphics >> systems, so this cannot be the reason. >> >> Under LxDE for instance it runs flawlessly, so the GTK side is ok. >> >> Any ideas? >> >> Rolf >> > > Do you have some code that reproduces the problem? > > Which widget theme do you use? > I'm using Plastik, AirOpenSuse and Oxygen (these are the main parts of the theme, you know, you can determine nearly everything in KDE...), but I cannot imagine how this should influence the DrawingArea. You will find the code attached. It is merely a test for me to test the reactions of the DrawingArea, so don't be confused about all these lines I commented out and so on... Thanks Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawingArea.tgz Type: application/x-compressed-tar Size: 6472 bytes Desc: not available URL: From gambas at ...1... Tue May 22 11:19:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 May 2012 11:19:05 +0200 Subject: [Gambas-user] DrawingArea not drawn under qt4 In-Reply-To: <4FBB49AD.7090801@...221...> References: <4FB9E338.2060401@...221...> <4FBA2628.1030106@...1...> <4FBB49AD.7090801@...221...> Message-ID: <4FBB5A09.101@...1...> Le 22/05/2012 10:09, Rolf-Werner Eilert a ?crit : > Am 21.05.2012 13:25, schrieb Beno?t Minisini: >> Le 21/05/2012 08:39, Rolf-Werner Eilert a ?crit : >>> Last afternoon I downloaded and installed the latest trunk version of >>> Gambas3 to see if my qt4 DrawingArea problem has been solved. >>> >>> It has not :-( I still don't see anything drawn on the DrawingArea when >>> under KDE4. >>> >>> So, this is why I ask everyone again: Does anyone here have any problems >>> with a DrawingArea under qt4? >>> >>> I use KDE4 on a 32 bit and on a 64 bit Suse 12.1, and both show the same >>> error. There are different graphics card drivers, different graphics >>> systems, so this cannot be the reason. >>> >>> Under LxDE for instance it runs flawlessly, so the GTK side is ok. >>> >>> Any ideas? >>> >>> Rolf >>> >> >> Do you have some code that reproduces the problem? >> >> Which widget theme do you use? >> > > I'm using Plastik, AirOpenSuse and Oxygen (these are the main parts of > the theme, you know, you can determine nearly everything in KDE...), but > I cannot imagine how this should influence the DrawingArea. > > You will find the code attached. It is merely a test for me to test the > reactions of the DrawingArea, so don't be confused about all these lines > I commented out and so on... > > Thanks > > Rolf > It should be better with revision #4754. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Tue May 22 15:32:29 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 May 2012 15:32:29 +0200 Subject: [Gambas-user] DrawingArea not drawn under qt4 In-Reply-To: <4FBB5A09.101@...1...> References: <4FB9E338.2060401@...221...> <4FBA2628.1030106@...1...> <4FBB49AD.7090801@...221...> <4FBB5A09.101@...1...> Message-ID: <4FBB956D.4080805@...221...> Am 22.05.2012 11:19, schrieb Beno?t Minisini: > Le 22/05/2012 10:09, Rolf-Werner Eilert a ?crit : >> Am 21.05.2012 13:25, schrieb Beno?t Minisini: >>> Le 21/05/2012 08:39, Rolf-Werner Eilert a ?crit : >>>> Last afternoon I downloaded and installed the latest trunk version of >>>> Gambas3 to see if my qt4 DrawingArea problem has been solved. >>>> >>>> It has not :-( I still don't see anything drawn on the DrawingArea when >>>> under KDE4. >>>> >>>> So, this is why I ask everyone again: Does anyone here have any problems >>>> with a DrawingArea under qt4? >>>> >>>> I use KDE4 on a 32 bit and on a 64 bit Suse 12.1, and both show the same >>>> error. There are different graphics card drivers, different graphics >>>> systems, so this cannot be the reason. >>>> >>>> Under LxDE for instance it runs flawlessly, so the GTK side is ok. >>>> >>>> Any ideas? >>>> >>>> Rolf >>>> >>> >>> Do you have some code that reproduces the problem? >>> >>> Which widget theme do you use? >>> >> >> I'm using Plastik, AirOpenSuse and Oxygen (these are the main parts of >> the theme, you know, you can determine nearly everything in KDE...), but >> I cannot imagine how this should influence the DrawingArea. >> >> You will find the code attached. It is merely a test for me to test the >> reactions of the DrawingArea, so don't be confused about all these lines >> I commented out and so on... >> >> Thanks >> >> Rolf >> > > It should be better with revision #4754. > > Regards, > Wow - now it runs, thank you very much! Rolf From bbruen at ...2308... Tue May 22 16:57:32 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 23 May 2012 00:27:32 +0930 Subject: [Gambas-user] Modal form resizing Message-ID: <1337698652.19408.14.camel@...37...> I'm having a bit of a problem with resizing modal ("popup") forms today. When the user invokes the method to load the form a) it's size defaults to the IDE designer size (obviously) and b) when the user tries to enlarge the form by dragging the bottom right corner it all happens correctly, but c) when the user tries to make the form smaller it wont shrink less than the IDE designer size. (???) I'm using gb.qt4 directly for this one as it is using the webkit, but I don't think that is the cause??? tia Bruce [System] OperatingSystem=Linux Kernel=2.6.38.8-pclos3.bfs Architecture=i686 Memory=1553368 kB DistributionVendor=PCLinuxOS DistributionRelease="PCLinuxOS" Desktop=LXDE [Gambas 3] Version=3.1.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.3 GTK+=libgtk-x11-2.0.so.0.2400.4 From gambas at ...1... Tue May 22 17:10:24 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 May 2012 17:10:24 +0200 Subject: [Gambas-user] Modal form resizing In-Reply-To: <1337698652.19408.14.camel@...37...> References: <1337698652.19408.14.camel@...37...> Message-ID: <4FBBAC60.60006@...1...> Le 22/05/2012 16:57, Bruce a ?crit : > I'm having a bit of a problem with resizing modal ("popup") forms today. > > When the user invokes the method to load the form > > a) it's size defaults to the IDE designer size (obviously) and > b) when the user tries to enlarge the form by dragging the > bottom right corner it all happens correctly, but > c) when the user tries to make the form smaller it wont shrink > less than the IDE designer size. (???) > > I'm using gb.qt4 directly for this one as it is using the webkit, but I > don't think that is the cause??? > > tia > Bruce > This is intended: for modal windows, the initial size is the minimum size. -- Beno?t Minisini From bbruen at ...2308... Tue May 22 17:27:00 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 23 May 2012 00:57:00 +0930 Subject: [Gambas-user] Modal form resizing In-Reply-To: <4FBBAC60.60006@...1...> References: <1337698652.19408.14.camel@...37...> <4FBBAC60.60006@...1...> Message-ID: <1337700420.19408.17.camel@...37...> On Tue, 2012-05-22 at 17:10 +0200, Beno?t Minisini wrote: > Le 22/05/2012 16:57, Bruce a ?crit : > > I'm having a bit of a problem with resizing modal ("popup") forms today. > > > > When the user invokes the method to load the form > > > > a) it's size defaults to the IDE designer size (obviously) and > > b) when the user tries to enlarge the form by dragging the > > bottom right corner it all happens correctly, but > > c) when the user tries to make the form smaller it wont shrink > > less than the IDE designer size. (???) > > > > I'm using gb.qt4 directly for this one as it is using the webkit, but I > > don't think that is the cause??? > > > > tia > > Bruce > > > > This is intended: for modal windows, the initial size is the minimum size. > Hmmm. I'll have to rethink my strategy on this then. (But I see the intent.) Bruce From emil.lenngren at ...626... Tue May 22 21:59:39 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Tue, 22 May 2012 21:59:39 +0200 Subject: [Gambas-user] Class in Variant? Message-ID: Why is it possible to store a Class in a Variant? Like, if you have a class named Class1, you can do this: Dim var1 As Variant = Class1 But you can never use var1 after that (until you replace the content)... /Emil From gambas at ...1... Tue May 22 22:07:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 May 2012 22:07:28 +0200 Subject: [Gambas-user] Class in Variant? In-Reply-To: References: Message-ID: <4FBBF200.4070409@...1...> Le 22/05/2012 21:59, Emil Lenngren a ?crit : > Why is it possible to store a Class in a Variant? > Like, if you have a class named Class1, you can do this: > > Dim var1 As Variant = Class1 > > But you can never use var1 after that (until you replace the content)... > > /Emil Good question. Apparently I did that intentionally (according to 'gbx_value.c'), but I don't remember why... -- Beno?t Minisini From emil.lenngren at ...626... Tue May 22 22:09:31 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Tue, 22 May 2012 22:09:31 +0200 Subject: [Gambas-user] Class in Variant? In-Reply-To: <4FBBF200.4070409@...1...> References: <4FBBF200.4070409@...1...> Message-ID: Yeah, at the bottom of that file, it says: __CLASS: // Is it useful for variants ? 2012/5/22 Beno?t Minisini > Le 22/05/2012 21:59, Emil Lenngren a ?crit : > > Why is it possible to store a Class in a Variant? > > Like, if you have a class named Class1, you can do this: > > > > Dim var1 As Variant = Class1 > > > > But you can never use var1 after that (until you replace the content)... > > > > /Emil > > Good question. Apparently I did that intentionally (according to > 'gbx_value.c'), but I don't remember why... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed May 23 00:26:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 May 2012 22:26:06 +0000 Subject: [Gambas-user] Issue 251 in gambas: Fedora 17 Required Development Packages Message-ID: <0-6813199134517018827-8162456778739069214-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 251 by dr.die... at ...626...: Fedora 17 Required Development Packages http://code.google.com/p/gambas/issues/detail?id=251 From the Gambas website here: http://gambasdoc.org/help/install/fedora?view Please add a Fedora 17 section for Gambas3/trunk with these packages: yum install cairo-devel libsqlite3x-devel sqlite2-devel gtk2-devel gtkglext-devel imlib2-devel librsvg2-devel poppler-devel qt-devel libv4l-devel SDL-devel SDL_sound-devel SDL_ttf-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_Pango-devel firebird-libfbclient unixODBC-devel postgresql-devel libXtst-devel mysql-devel pcre-devel mesa-libGLU-devel mesa-libGLw-devel mesa-libGL-devel glew-devel firebird-devel dbus-devel libzip libzip-devel bzip2-devel libcurl-devel qt-webkit-devel libxml2-devel libxslt-devel libv4l-devel libjpeg-turbo-devel ncurses-devel gsl-devel libXtst-devel gstreamer-devel gstreamer-plugins-base-devel Thank you From bill-lancaster at ...2231... Wed May 23 11:18:43 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Wed, 23 May 2012 02:18:43 -0700 (PDT) Subject: [Gambas-user] KDE Plasma Launcher Message-ID: <33894456.post@...1379...> I have a number of Gambas applications that I would like to add the Plasma Launcher. Does anyone know how best to do this? -- View this message in context: http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33894456.html Sent from the gambas-user mailing list archive at Nabble.com. From mohareve at ...626... Wed May 23 13:57:02 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 23 May 2012 13:57:02 +0200 Subject: [Gambas-user] KDE Plasma Launcher In-Reply-To: <33894456.post@...1379...> References: <33894456.post@...1379...> Message-ID: It is as easy as drag and drop. You can add a container to your desktop, and then drop the icons of the apps to it, or just use the interface shipped with the widget. Csaba 2012/5/23, Bill-Lancaster : > > I have a number of Gambas applications that I would like to add the Plasma > Launcher. > Does anyone know how best to do this? > -- > View this message in context: > http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33894456.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Wed May 23 14:38:15 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Wed, 23 May 2012 05:38:15 -0700 (PDT) Subject: [Gambas-user] KDE Plasma Launcher(SOLVED) In-Reply-To: <33894456.post@...1379...> References: <33894456.post@...1379...> Message-ID: <33895325.post@...1379...> Sorry - a more careful search the KDE forum provided the answer. -- View this message in context: http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33895325.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Wed May 23 16:35:27 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 24 May 2012 00:05:27 +0930 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBAA4B2.10709@...1...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> Message-ID: <1337783727.19408.57.camel@...37...> On Mon, 2012-05-21 at 22:25 +0200, Beno?t Minisini wrote: > * Tree > * Graph > > Native implementation of that would be interesting. > > Any volunteer? :-) > I think trees are easily implemented directly in gambas using Emil's suggestions regarding object references as a general n-tree can be implemented as a B-tree using something like Class CNode public data as Variant public left as CNode public right as CNode Public Sub PreOrder() as Variant[] blah blah ... etc according to Mr Knuth End where "left" is the first child and "right" is the first sibling. Read Knuth Vol 3 for the truth (I had to go searching through the attic to find my copy.) Now Graphs are M U C H more interesting! Someone said that they couldn't think of a use for them. Well here's one, UML diagrams are all directed graphs. In fact much of OO thinking is actually (mathematically) directed graphs. Nodes and edges. From use cases through structural models, component models, in fact the whole she-bang. Getting back to trees. The funny thing is that I had a real need to construct a n-tree this week to solve a problem I had with populating a gambas treeview from a persistence store where the nodes where out of order, i.e. the parents were later in the storage than the children (the code is a hack and I choose not to share it.) Suffice to say that Demosthenes original post prompted me to go searching through the attic. .. found some interesting stuff, by the way .. (No, lets not go there.) Getting back to the point, I think a gb.datastructures component is an excellent idea. I can't help much on the dev side as I'm pretty poor at C/C++ (can "read only") and am totally lost with Benoit's macros but I'd be willing to put in much effort at testing and proving. Ah! Linked lists, how many times have I needed them and built them from scratch. Bruce From tobiasboege01 at ...1601... Wed May 23 17:19:09 2012 From: tobiasboege01 at ...1601... (tobi) Date: Wed, 23 May 2012 17:19:09 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <1337783727.19408.57.camel@...37...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> Message-ID: <20120523151909.GB614@...2774...> On Thu, 24 May 2012, Bruce wrote: > On Mon, 2012-05-21 at 22:25 +0200, Beno?t Minisini wrote: > > > * Tree > > * Graph > > > > Native implementation of that would be interesting. > > > > Any volunteer? :-) > > > I think trees are easily implemented directly in gambas using Emil's > suggestions regarding object references as a general n-tree can be > implemented as a B-tree using something like > > Class CNode > public data as Variant > public left as CNode > public right as CNode > Public Sub PreOrder() as Variant[] > blah blah ... etc according to Mr Knuth > End > > where "left" is the first child and "right" is the first sibling. Read > Knuth Vol 3 for the truth (I had to go searching through the attic to > find my copy.) > > Now Graphs are M U C H more interesting! > > Someone said that they couldn't think of a use for them. Well > here's one, UML diagrams are all directed graphs. In fact much > of OO thinking is actually (mathematically) directed graphs. > Nodes and edges. From use cases through structural models, > component models, in fact the whole she-bang. > > > Getting back to trees. The funny thing is that I had a real need to > construct a n-tree this week to solve a problem I had with populating a > gambas treeview from a persistence store where the nodes where out of > order, i.e. the parents were later in the storage than the children (the > code is a hack and I choose not to share it.) Suffice to say that > Demosthenes original post prompted me to go searching through the attic. > > .. found some interesting stuff, by the way .. (No, lets not go there.) > > Getting back to the point, I think a gb.datastructures component is an > excellent idea. I can't help much on the dev side as I'm pretty poor at > C/C++ (can "read only") and am totally lost with Benoit's macros but I'd > be willing to put in much effort at testing and proving. Ah! Linked > lists, how many times have I needed them and built them from scratch. > > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi, so what syntax did you desire for an n-tree then? You presented a b-tree above, this appears generic to me... I certainly lack theory on those things. But shouldn't it be less annoying to get to level 3 than "Root.left.left.left" ? There are a lot of purposes and designs of trees (graphs), right? To implement a certain idea would not be too difficult but instead to implement only one of those as a generic tree (graph) which is then able to be inherited and specialised, maybe in gambas, - that's what I find difficult (no wonder without theory). Regards, Tobi From demosthenesk at ...626... Wed May 23 17:39:52 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 23 May 2012 18:39:52 +0300 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120523151909.GB614@...2774...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> Message-ID: <4FBD04C8.2080905@...626...> may i ask a question, graphs have some algorithms such shortest path as i read, my question is, a graph could be used for a GPS system to represent points on a map or it is something different ? From emil.lenngren at ...626... Wed May 23 17:42:09 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 23 May 2012 17:42:09 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <4FBD04C8.2080905@...626...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> <4FBD04C8.2080905@...626...> Message-ID: Rather points (vertices) on a map and roads connecting them (edges). 2012/5/23 Demosthenes Koptsis > may i ask a question, > > graphs have some algorithms such shortest path as i read, > my question is, a graph could be used for a GPS system to represent > points on a map or it is something different ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed May 23 18:49:59 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 23 May 2012 19:49:59 +0300 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: References: <4FB78ADB.3070800@...1...> <4FBA978A.4010608@...1...> Message-ID: There is bug... if I try to trigger profiling with System.Profile = True (option Activate profiling is not selected), Gambas crashes with signal 6. *** buffer overflow detected ***: ProfilerBug terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fb16cf36007] /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7fb16cf34f00] /lib/x86_64-linux-gnu/libc.so.6(+0x107369)[0x7fb16cf34369] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xdd)[0x7fb16cea8bcd] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x4ff)[0x7fb16ce74b7f] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x7fb16cf34404] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7fb16cf3434d] /usr/local/lib/gambas3/gb.debug.so(+0x3d11)[0x7fb16cc29d11] /usr/local/lib/gambas3/gb.debug.so(+0x3dd3)[0x7fb16cc29dd3] ProfilerBug[0x434329] ProfilerBug[0x40a12c] ProfilerBug[0x40a7a2] ProfilerBug[0x41e2b1] ProfilerBug[0x41eaf6] /usr/local/lib/gambas3/gb.gtk.so(+0x5fd1b)[0x7fb16bafad1b] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0xfeca)[0x7fb16a407eca] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x421)[0x7fb16a420741] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7fb16a421242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8e845)[0x7fb16b2ba845] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x132)[0x7fb16a407ca2] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21179)[0x7fb16a419179] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd79)[0x7fb16a421099] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7fb16a421242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8d66d)[0x7fb16b2b966d] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x136dd8)[0x7fb16b362dd8] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x132)[0x7fb16a407ca2] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21339)[0x7fb16a419339] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xa5e)[0x7fb16a420d7e] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7fb16a421242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x251191)[0x7fb16b47d191] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc3)[0x7fb16b360f63] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x283)[0x7fb16b3612c3] /usr/local/lib/gambas3/gb.gtk.so(+0x68c8b)[0x7fb16bb03c8b] /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5bcac)[0x7fb16afd5cac] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x16a)[0x7fb16a14ac9a] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48060)[0x7fb16a14b060] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fb16a14b124] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_iteration_do+0x1d)[0x7fb16b36055d] /usr/local/lib/gambas3/gb.gtk.so(+0x66b9e)[0x7fb16bb01b9e] /usr/local/lib/gambas3/gb.gtk.so(+0x66c0d)[0x7fb16bb01c0d] ProfilerBug[0x404694] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fb16ce4e76d] ProfilerBug[0x404785] ======= Memory map: ======== 00400000-0044b000 r-xp 00000000 08:02 392780 /usr/local/bin/gbx3 0064a000-0064b000 r--p 0004a000 08:02 392780 /usr/local/bin/gbx3 0064b000-00655000 rw-p 0004b000 08:02 392780 /usr/local/bin/gbx3 00655000-00657000 rw-p 00000000 00:00 0 01064000-0125c000 rw-p 00000000 00:00 0 [heap] 7fb1628ff000-7fb16290b000 r-xp 00000000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fb16290b000-7fb162b0a000 ---p 0000c000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fb162b0a000-7fb162b0b000 r--p 0000b000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fb162b0b000-7fb162b0c000 rw-p 0000c000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fb162b0c000-7fb162b4e000 r-xp 00000000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7fb162b4e000-7fb162d4e000 ---p 00042000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7fb162d4e000-7fb162d4f000 r--p 00042000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7fb162d4f000-7fb162d50000 rw-p 00043000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7fb162d50000-7fb162d66000 r-xp 00000000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fb162d66000-7fb162f65000 ---p 00016000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fb162f65000-7fb162f66000 r--p 00015000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fb162f66000-7fb162f67000 rw-p 00016000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fb162f67000-7fb162f8f000 r-xp 00000000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fb162f8f000-7fb16318e000 ---p 00028000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fb16318e000-7fb16318f000 r--p 00027000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fb16318f000-7fb163190000 rw-p 00028000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fb163190000-7fb1631d4000 r-xp 00000000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7fb1631d4000-7fb1633d3000 ---p 00044000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7fb1633d3000-7fb1633d5000 r--p 00043000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7fb1633d5000-7fb1633d6000 rw-p 00045000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7fb1633d6000-7fb1633d7000 rw-p 00000000 00:00 0 7fb1633d7000-7fb1633dd000 r-xp 00000000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7fb1633dd000-7fb1635dc000 ---p 00006000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7fb1635dc000-7fb1635dd000 r--p 00005000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7fb1635dd000-7fb1635de000 rw-p 00006000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7fb1635de000-7fb1635e0000 r-xp 00000000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fb1635e0000-7fb1637df000 ---p 00002000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fb1637df000-7fb1637e0000 r--p 00001000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fb1637e0000-7fb1637e1000 rw-p 00002000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fb1637e1000-7fb1637ed000 r-xp 00000000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7fb1637ed000-7fb1639ec000 ---p 0000c000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7fb1639ec000-7fb1639ed000 r--p 0000b000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7fb1639ed000-7fb1639ee000 rw-p 0000c000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7fb1639ee000-7fb1639f4000 r-xp 00000000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fb1639f4000-7fb163bf3000 ---p 00006000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fb163bf3000-7fb163bf4000 r--p 00005000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fb163bf4000-7fb163bf5000 rw-p 00006000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fb163bf5000-7fb163c20000 r-xp 00000000 08:02 393392 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7fb163c20000-7fb163e1f000 ---p 0002b000 08:02 393392 /usr/lib/x86_64- Jussi On 21 May 2012 22:58, Jussi Lahtinen wrote: > Yes, that would be great! > > Jussi > > > > > On Mon, May 21, 2012 at 10:29 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 21/05/2012 20:39, Jussi Lahtinen a ?crit : >> > Is it possible to have separated start and stop buttons for the >> profiler? >> > >> > I have huge project and when it starts it goes through pretty long >> > initialization (wait loops, pre-computed values, etc), >> > and I'm really only interested to optimize certain parts of the run. >> > >> > Right now the interesting part is flooded with uninteresting data and >> the >> > initialization is slowed down for nothing, >> > so analyzing the data is bit inconvenient. >> > >> > Profiler is already very useful, so this is not big deal... >> > >> > Jussi >> > >> >> It is a big deal. :-) >> >> If I make a System.Profiler boolean property to activate / deactivate >> the profiler directly from code, will it fit your needs? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> 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: ProfilerBug-0.0.1.tar.gz Type: application/x-gzip Size: 4760 bytes Desc: not available URL: From gambas at ...1... Wed May 23 22:16:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 23 May 2012 22:16:56 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: References: <4FB78ADB.3070800@...1...> <4FBA978A.4010608@...1...> Message-ID: <4FBD45B8.1040607@...1...> Le 23/05/2012 18:49, Jussi Lahtinen a ?crit : > There is bug... if I try to trigger profiling with System.Profile = True > (option Activate profiling is not selected), > Gambas crashes with signal 6. > It should be fixed in revision #4761. Now System.Profile is ignored if the project has not been started in profiling mode. But I'm not sure that if you stop profiling in one function and start it again in another one, the IDE will be able to interpret the profiling file... I know that it works if both actions occur in the same function. -- Beno?t Minisini From emil.lenngren at ...626... Wed May 23 22:20:21 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 23 May 2012 22:20:21 +0200 Subject: [Gambas-user] New JIT Compiler Message-ID: Hi everybody. I've been working on a JIT-compiler for Gambas for some months, and I'm now ready to release an alpha-version in the latest svn of Gambas. The compiler uses LLVM to produce machine code for x86 or x86_64. You need LLVM on your computer for it to work, preferably the latest version from svn (3.0 from Ubuntu repos does not seem to work any well). Find more instructions in the README file. To use it, place the word "Fast" at the top of a Gambas Class file, for a class that you want all functions JIT-compiled instead of interpreted. (At the moment you cannot make individual functions JIT-compiled, but that is limited by the gbc compiler.) As it takes some milliseconds for LLVM to emit machine code and do optimizations, you should only use it for functions you really need optimizations. As the JIT compiler analyses the whole function before execution starts, some extra type safety is added. In interpreter mode, you can normally do things like: Print "hello" Print 1.3 \ 5 and you will first see hello on the screen, and then an error message complaining you can't do integer division on floats. If you run the same function in the JIT compiler, the error message will be thrown before execution starts instead, hopefully in order to make programs less buggier. As a consequence, you can not have code like "Try Print 1.3 \ 5" either. At the moment the incorrect line is reported in the error message... The best speed-ups will be in functions that use a lot of low-level calculations and control flows (except For Each loops), like functions that do a lot of math. If the function mostly calls other libraries, you won't see speed-ups either. There are still the same overhead when calling functions, since the gambas stack must be maintained as before, to make error handling work. Using Try/Catch is probably slightly slower too because a real exception handler must be set up. Something the LLVM optimizer is very good at is transforming a chain of if-else statements to a jump table, so code like: Select Case x Case 1: .. Case 2: .. Case 3: .. End Select will be much faster than before, so you don't have to use the "On Goto" syntax and a lot of labels. This will produce identical machine code. Most things are implemented, but there are still many bugs to fix. Some of the (so far) unimplemented features are Calling external C libraries (the Extern keyword). The use of "_unknown" special method. IIf and Choose with different argument data types. The possibility to use Component.Load to load functions that are executed right after in the same function. Profiling Breakpoints Some of the benchmarks from http://gambasdoc.org/help/doc/benchmark Polynom: 102.7 seconds to 4.7 seconds Primes: 18.3 seconds to 3.5 seconds Nbody: 16.0 seconds to 1.8 seconds If you are curious and want to see the optimized LLVM IR you can uncomment the line M->dump() at the bottom of the jit_codegen.cpp file in gb.jit/src. I hope the JIT compiler will be useful for you ;) /Emil From emil.lenngren at ...626... Wed May 23 22:24:59 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 23 May 2012 22:24:59 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: Message-ID: Forgot to mention that the 64-bit version is probably more bug-free than the 32-bit version, since I myself have a 64-bit computer and therefore have run only some few tests on 32-bit... From linuxos at ...1896... Wed May 23 22:57:31 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 23 May 2012 22:57:31 +0200 Subject: [Gambas-user] Bug with the last revision of Gambas3 #4761 Message-ID: <34671771-2413-4A6B-9ACD-6A9113C21D28@...1896...> Benoit, Since the last revision after compilation and installation, I got this messages when I start an gambas3 project: [linus at ...2073... ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbSvnCheckVersion ==32350== Memcheck, a memory error detector ==32350== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==32350== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==32350== Command: gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbSvnCheckVersion ==32350== Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x6159780)" of type `GString' ==32350== Jump to the invalid address stated on the next line ==32350== at 0x0: ??? ==32350== by 0x5E81CA0: GDocument::hasLimit(int) (gdocument.h:164) ==32350== by 0x5E8B3F0: EditorLine_Limit(void*, void*) (CEditor.cpp:649) ==32350== by 0x80508D9: EXEC_call_native (gbx_exec.c:1108) ==32350== by 0x805277F: EXEC_push_unknown (gbx_exec_push.c:385) ==32350== by 0x8079385: EXEC_loop (gbx_exec_loop.c:574) ==32350== by 0x80502A1: EXEC_function_loop (gbx_exec.c:872) ==32350== by 0x80508B6: EXEC_function_real (gbx_exec.c:859) ==32350== by 0x80698E0: main (gbx.c:386) ==32350== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==32350== ==32350== ==32350== Process terminating with default action of signal 11 (SIGSEGV) ==32350== Bad permissions for mapped region at address 0x0 ==32350== at 0x0: ??? ==32350== by 0x5E81CA0: GDocument::hasLimit(int) (gdocument.h:164) ==32350== by 0x5E8B3F0: EditorLine_Limit(void*, void*) (CEditor.cpp:649) ==32350== by 0x80508D9: EXEC_call_native (gbx_exec.c:1108) ==32350== by 0x805277F: EXEC_push_unknown (gbx_exec_push.c:385) ==32350== by 0x8079385: EXEC_loop (gbx_exec_loop.c:574) ==32350== by 0x80502A1: EXEC_function_loop (gbx_exec.c:872) ==32350== by 0x80508B6: EXEC_function_real (gbx_exec.c:859) ==32350== by 0x80698E0: main (gbx.c:386) ==32350== ==32350== HEAP SUMMARY: ==32350== in use at exit: 11,772,888 bytes in 158,391 blocks ==32350== total heap usage: 403,680 allocs, 245,289 frees, 56,153,725 bytes allocated ==32350== ==32350== LEAK SUMMARY: ==32350== definitely lost: 6,400 bytes in 35 blocks ==32350== indirectly lost: 29,090 bytes in 1,085 blocks ==32350== possibly lost: 10,385,784 bytes in 137,775 blocks ==32350== still reachable: 1,351,614 bytes in 19,496 blocks ==32350== suppressed: 0 bytes in 0 blocks ==32350== Rerun with --leak-check=full to see details of leaked memory ==32350== ==32350== For counts of detected and suppressed errors, rerun with: -v ==32350== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 202 from 10) Processus arr?t? I got this message since the version #4754. Thank's in advance Olivier Cruilles Mail: linuxos at ...1896... From adrien.prokopowicz at ...626... Wed May 23 23:33:07 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 23 May 2012 23:33:07 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: Message-ID: <1644668.kLlIvEV6Y3@...2823...> Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a ?crit : > Forgot to mention that the 64-bit version is probably more bug-free than > the 32-bit version, since I myself have a 64-bit computer and therefore > have run only some few tests on 32-bit... > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user That's a cool new feature. :) But now it seems that the interpreter can't work without gb.jit ... right ? From gambas at ...1... Wed May 23 23:37:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 23 May 2012 23:37:19 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: Message-ID: <4FBD588F.6070905@...1...> Le 23/05/2012 22:20, Emil Lenngren a ?crit : > Hi everybody. > > I've been working on a JIT-compiler for Gambas for some months, and I'm now > ready to release an alpha-version in the latest svn of Gambas. > The compiler uses LLVM to produce machine code for x86 or x86_64. You need > LLVM on your computer for it to work, preferably the latest version from > svn (3.0 from Ubuntu repos does not seem to work any well). Find more > instructions in the README file. > > To use it, place the word "Fast" at the top of a Gambas Class file, for a > class that you want all functions JIT-compiled instead of interpreted. (At > the moment you cannot make individual functions JIT-compiled, but that is > limited by the gbc compiler.) > > As it takes some milliseconds for LLVM to emit machine code and do > optimizations, you should only use it for functions you really need > optimizations. > > As the JIT compiler analyses the whole function before execution starts, > some extra type safety is added. In interpreter mode, you can normally do > things like: > Print "hello" > Print 1.3 \ 5 > and you will first see hello on the screen, and then an error message > complaining you can't do integer division on floats. > If you run the same function in the JIT compiler, the error message will be > thrown before execution starts instead, hopefully in order to make programs > less buggier. > As a consequence, you can not have code like "Try Print 1.3 \ 5" either. At > the moment the incorrect line is reported in the error message... > > The best speed-ups will be in functions that use a lot of low-level > calculations and control flows (except For Each loops), like functions that > do a lot of math. If the function mostly calls other libraries, you won't > see speed-ups either. > There are still the same overhead when calling functions, since the gambas > stack must be maintained as before, to make error handling work. > Using Try/Catch is probably slightly slower too because a real exception > handler must be set up. > > Something the LLVM optimizer is very good at is transforming a chain of > if-else statements to a jump table, so code like: > Select Case x > Case 1: > .. > Case 2: > .. > Case 3: > .. > End Select > will be much faster than before, so you don't have to use the "On Goto" > syntax and a lot of labels. This will produce identical machine code. > > Most things are implemented, but there are still many bugs to fix. > Some of the (so far) unimplemented features are > Calling external C libraries (the Extern keyword). > The use of "_unknown" special method. > IIf and Choose with different argument data types. > The possibility to use Component.Load to load functions that are executed > right after in the same function. > Profiling > Breakpoints > > Some of the benchmarks from http://gambasdoc.org/help/doc/benchmark > Polynom: 102.7 seconds to 4.7 seconds > Primes: 18.3 seconds to 3.5 seconds > Nbody: 16.0 seconds to 1.8 seconds > > If you are curious and want to see the optimized LLVM IR you can uncomment > the line M->dump() at the bottom of the jit_codegen.cpp file in gb.jit/src. > > I hope the JIT compiler will be useful for you ;) > > /Emil I finally finished compiling llvm 3.2svn, and the gb.jit component. Now I'm going to test it... Note that the revison #4762 must be used at least! -- Beno?t Minisini From vuott at ...325... Wed May 23 23:46:12 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 22:46:12 +0100 (BST) Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: <4FBD588F.6070905@...1...> Message-ID: <1337809572.87083.YahooMailClassic@...2695...> Hello, I try to update via SVN. Well, I launched ~ $ ./configure -C but I received these notices: || || Unable to find file: llvm/LLVMContext.h || Unable to find file: libLLVM-3.2svn.so || gb.jit is disabled || and at end: || || THESE COMPONENTS ARE DISABLED: || - gb.jit || ...What do I do ? Bye Vuott From emil.lenngren at ...626... Wed May 23 23:48:57 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 23 May 2012 23:48:57 +0200 Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: <1337809572.87083.YahooMailClassic@...2695...> References: <4FBD588F.6070905@...1...> <1337809572.87083.YahooMailClassic@...2695...> Message-ID: Hi! Have you installed LLVM by following these instructions?: http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm mkdir build cd build ../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared make -j4 sudo make install It should take about 10 minutes to compile for a 4-core cpu. /Emil 2012/5/23 Ru Vuott > Hello, > > I try to update via SVN. Well, I launched ~ $ ./configure -C but I > received these notices: > > || > || Unable to find file: llvm/LLVMContext.h > || Unable to find file: libLLVM-3.2svn.so > || gb.jit is disabled > || > > and at end: > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > > ...What do I do ? > > Bye > Vuott > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Wed May 23 23:58:05 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 22:58:05 +0100 (BST) Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: Message-ID: <1337810285.50338.YahooMailClassic@...2758...> Thanks, sorry, I followed sequence and then I launched: ~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit --enable-shared and I received: bash: /configure: No such file or directory What before .../configure ? --- Mer 23/5/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] New JIT Compiler..... > A: "mailing list for gambas users" > Data: Mercoled? 23 maggio 2012, 23:48 > Hi! > Have you installed LLVM by following these instructions?: > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > cd llvm > mkdir build > cd build > ../configure --prefix=/usr --enable-optimized --enable-jit > --enable-shared > make -j4 > sudo make install > > It should take about 10 minutes to compile for a 4-core > cpu. > > /Emil > > 2012/5/23 Ru Vuott > > > Hello, > > > > I try to update via SVN. Well, I launched? ~ $ > ./configure -C but I > > received these notices: > > > > || > > || Unable to find file: llvm/LLVMContext.h > > || Unable to find file: libLLVM-3.2svn.so > > || gb.jit is disabled > > || > > > > and at end: > > > > || > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > || > > > > ...What do I do ? > > > > Bye > > Vuott > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Wed May 23 23:59:21 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 23 May 2012 23:59:21 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: <1644668.kLlIvEV6Y3@...2823...> References: <1644668.kLlIvEV6Y3@...2823...> Message-ID: The interpreter works without gb.jit. If gb.jit is unavailable, it falls back to the interpreter instead. /Emil 2012/5/23 Adrien Prokopowicz > Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a ?crit : > > Forgot to mention that the 64-bit version is probably more bug-free than > > the 32-bit version, since I myself have a 64-bit computer and therefore > > have run only some few tests on 32-bit... > > > ---------------------------------------------------------------------------- > > -- Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > That's a cool new feature. :) > > But now it seems that the interpreter can't work without gb.jit ... right ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Thu May 24 00:00:12 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:00:12 +0200 Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: <1337810285.50338.YahooMailClassic@...2758...> References: <1337810285.50338.YahooMailClassic@...2758...> Message-ID: Note the two dots (..) before configure ;) ../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared is what you should write 2012/5/23 Ru Vuott > Thanks, > > sorry, I followed sequence and then I launched: > > ~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit > --enable-shared > > and I received: > > bash: /configure: No such file or directory > > What before .../configure ? > > > > > > > --- Mer 23/5/12, Emil Lenngren ha scritto: > > > Da: Emil Lenngren > > Oggetto: Re: [Gambas-user] New JIT Compiler..... > > A: "mailing list for gambas users" > > Data: Mercoled? 23 maggio 2012, 23:48 > > Hi! > > Have you installed LLVM by following these instructions?: > > > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 > > > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > > cd llvm > > mkdir build > > cd build > > ../configure --prefix=/usr --enable-optimized --enable-jit > > --enable-shared > > make -j4 > > sudo make install > > > > It should take about 10 minutes to compile for a 4-core > > cpu. > > > > /Emil > > > > 2012/5/23 Ru Vuott > > > > > Hello, > > > > > > I try to update via SVN. Well, I launched ~ $ > > ./configure -C but I > > > received these notices: > > > > > > || > > > || Unable to find file: llvm/LLVMContext.h > > > || Unable to find file: libLLVM-3.2svn.so > > > || gb.jit is disabled > > > || > > > > > > and at end: > > > > > > || > > > || THESE COMPONENTS ARE DISABLED: > > > || - gb.jit > > > || > > > > > > ...What do I do ? > > > > > > Bye > > > Vuott > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's > > security and > > > threat landscape has changed and how IT managers can > > respond. Discussions > > > will include endpoint security, mobile security and the > > latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > > security and > > threat landscape has changed and how IT managers can > > respond. Discussions > > will include endpoint security, mobile security and the > > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From cabrerawilliam at ...626... Thu May 24 00:02:36 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Wed, 23 May 2012 17:32:36 -0430 Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: <1337810285.50338.YahooMailClassic@...2758...> References: <1337810285.50338.YahooMailClassic@...2758...> Message-ID: The command is ./configure, not /configure ------ William Cabrera http://willicab.gnu.org.ve 2012/5/23 Ru Vuott > Thanks, > > sorry, I followed sequence and then I launched: > > ~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit > --enable-shared > > and I received: > > bash: /configure: No such file or directory > > What before .../configure ? > > > > > > > --- Mer 23/5/12, Emil Lenngren ha scritto: > > > Da: Emil Lenngren > > Oggetto: Re: [Gambas-user] New JIT Compiler..... > > A: "mailing list for gambas users" > > Data: Mercoled? 23 maggio 2012, 23:48 > > Hi! > > Have you installed LLVM by following these instructions?: > > > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 > > > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > > cd llvm > > mkdir build > > cd build > > ../configure --prefix=/usr --enable-optimized --enable-jit > > --enable-shared > > make -j4 > > sudo make install > > > > It should take about 10 minutes to compile for a 4-core > > cpu. > > > > /Emil > > > > 2012/5/23 Ru Vuott > > > > > Hello, > > > > > > I try to update via SVN. Well, I launched ~ $ > > ./configure -C but I > > > received these notices: > > > > > > || > > > || Unable to find file: llvm/LLVMContext.h > > > || Unable to find file: libLLVM-3.2svn.so > > > || gb.jit is disabled > > > || > > > > > > and at end: > > > > > > || > > > || THESE COMPONENTS ARE DISABLED: > > > || - gb.jit > > > || > > > > > > ...What do I do ? > > > > > > Bye > > > Vuott > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's > > security and > > > threat landscape has changed and how IT managers can > > respond. Discussions > > > will include endpoint security, mobile security and the > > latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > > security and > > threat landscape has changed and how IT managers can > > respond. Discussions > > will include endpoint security, mobile security and the > > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 00:03:37 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:03:37 +0100 (BST) Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: Message-ID: <1337810617.51117.YahooMailClassic@...2789...> OK ! ;-) Thanks Emil ! --- Gio 24/5/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] New JIT Compiler..... > A: "mailing list for gambas users" > Data: Gioved? 24 maggio 2012, 00:00 > Note the two dots (..) before > configure ;) > ../configure --prefix=/usr --enable-optimized --enable-jit > --enable-shared > is what you should write > > 2012/5/23 Ru Vuott > > > Thanks, > > > > sorry, I followed sequence and then I launched: > > > > ~/llvm/build $ /configure --prefix=/usr > --enable-optimized --enable-jit > > --enable-shared > > > > and I received: > > > > bash: /configure: No such file or directory > > > > What before .../configure ? > > > > > > > > > > > > > > --- Mer 23/5/12, Emil Lenngren > ha scritto: > > > > > Da: Emil Lenngren > > > Oggetto: Re: [Gambas-user] New JIT Compiler..... > > > A: "mailing list for gambas users" > > > Data: Mercoled? 23 maggio 2012, 23:48 > > > Hi! > > > Have you installed LLVM by following these > instructions?: > > > > > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 > > > > > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > > > cd llvm > > > mkdir build > > > cd build > > > ../configure --prefix=/usr --enable-optimized > --enable-jit > > > --enable-shared > > > make -j4 > > > sudo make install > > > > > > It should take about 10 minutes to compile for a > 4-core > > > cpu. > > > > > > /Emil > > > > > > 2012/5/23 Ru Vuott > > > > > > > Hello, > > > > > > > > I try to update via SVN. Well, I > launched? ~ $ > > > ./configure -C but I > > > > received these notices: > > > > > > > > || > > > > || Unable to find file: llvm/LLVMContext.h > > > > || Unable to find file: libLLVM-3.2svn.so > > > > || gb.jit is disabled > > > > || > > > > > > > > and at end: > > > > > > > > || > > > > || THESE COMPONENTS ARE DISABLED: > > > > || - gb.jit > > > > || > > > > > > > > ...What do I do ? > > > > > > > > Bye > > > > Vuott > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways > today's > > > security and > > > > threat landscape has changed and how IT > managers can > > > respond. Discussions > > > > will include endpoint security, mobile > security and the > > > latest in malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways > today's > > > security and > > > threat landscape has changed and how IT managers > can > > > respond. Discussions > > > will include endpoint security, mobile security > and the > > > latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From cabrerawilliam at ...626... Thu May 24 00:04:07 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Wed, 23 May 2012 17:34:07 -0430 Subject: [Gambas-user] New JIT Compiler..... In-Reply-To: References: <1337810285.50338.YahooMailClassic@...2758...> Message-ID: Sorry, is ../configure because is a script in the top directory ------ William Cabrera http://willicab.gnu.org.ve 2012/5/23 William Cabrera > The command is ./configure, not /configure > > ------ > William Cabrera > http://willicab.gnu.org.ve > > > > > 2012/5/23 Ru Vuott > >> Thanks, >> >> sorry, I followed sequence and then I launched: >> >> ~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit >> --enable-shared >> >> and I received: >> >> bash: /configure: No such file or directory >> >> What before .../configure ? >> >> >> >> >> >> >> --- Mer 23/5/12, Emil Lenngren ha scritto: >> >> > Da: Emil Lenngren >> > Oggetto: Re: [Gambas-user] New JIT Compiler..... >> > A: "mailing list for gambas users" >> > Data: Mercoled? 23 maggio 2012, 23:48 >> > Hi! >> > Have you installed LLVM by following these instructions?: >> > >> http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markup&pathrev=4759 >> > >> > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm >> > cd llvm >> > mkdir build >> > cd build >> > ../configure --prefix=/usr --enable-optimized --enable-jit >> > --enable-shared >> > make -j4 >> > sudo make install >> > >> > It should take about 10 minutes to compile for a 4-core >> > cpu. >> > >> > /Emil >> > >> > 2012/5/23 Ru Vuott >> > >> > > Hello, >> > > >> > > I try to update via SVN. Well, I launched ~ $ >> > ./configure -C but I >> > > received these notices: >> > > >> > > || >> > > || Unable to find file: llvm/LLVMContext.h >> > > || Unable to find file: libLLVM-3.2svn.so >> > > || gb.jit is disabled >> > > || >> > > >> > > and at end: >> > > >> > > || >> > > || THESE COMPONENTS ARE DISABLED: >> > > || - gb.jit >> > > || >> > > >> > > ...What do I do ? >> > > >> > > Bye >> > > Vuott >> > > >> > > >> > > >> > >> ------------------------------------------------------------------------------ >> > > Live Security Virtual Conference >> > > Exclusive live event will cover all the ways today's >> > security and >> > > threat landscape has changed and how IT managers can >> > respond. Discussions >> > > will include endpoint security, mobile security and the >> > latest in malware >> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > >> ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's >> > security and >> > threat landscape has changed and how IT managers can >> > respond. Discussions >> > will include endpoint security, mobile security and the >> > latest in malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From adrien.prokopowicz at ...626... Thu May 24 00:05:48 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 24 May 2012 00:05:48 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: <1644668.kLlIvEV6Y3@...2823...> Message-ID: <2268644.qiGRDhU0DN@...2823...> Le mercredi 23 mai 2012 23:59:21 Emil Lenngren a ?crit : > The interpreter works without gb.jit. If gb.jit is unavailable, it falls > back to the interpreter instead. > > /Emil > > 2012/5/23 Adrien Prokopowicz > > > Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a ?crit : > > > Forgot to mention that the 64-bit version is probably more bug-free than > > > the 32-bit version, since I myself have a 64-bit computer and therefore > > > have run only some few tests on 32-bit... > > > > -------------------------------------------------------------------------- > > --> > > > -- Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > > > Discussions > > > will include endpoint security, mobile security and the latest in > > > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > That's a cool new feature. :) > > > > But now it seems that the interpreter can't work without gb.jit ... right > > ? > > > > > > -------------------------------------------------------------------------- > > ---- Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes, it works if gb.jit is not enabled, but I can't build gbx without it : gbx3-gbx_class.o: In function `CLASS_inheritance': /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class.c:883: undefined reference to `JIT' gbx3-gbx_class_load.o: In function `load_and_relocate': /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class_load.c:578: undefined reference to `JIT_load' /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class_load.c:892: undefined reference to `JIT_default_jit_function' collect2: error: ld returned 1 exit status From emil.lenngren at ...626... Thu May 24 00:08:29 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:08:29 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: <2268644.qiGRDhU0DN@...2823...> References: <1644668.kLlIvEV6Y3@...2823...> <2268644.qiGRDhU0DN@...2823...> Message-ID: I think you need to run a ./reconf and a ./configure (with the appropriate configure options, like --prefix=/usr etc.) in the /main directory. 2012/5/24 Adrien Prokopowicz > Le mercredi 23 mai 2012 23:59:21 Emil Lenngren a ?crit : > > The interpreter works without gb.jit. If gb.jit is unavailable, it falls > > back to the interpreter instead. > > > > /Emil > > > > 2012/5/23 Adrien Prokopowicz > > > > > Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a ?crit : > > > > Forgot to mention that the 64-bit version is probably more bug-free > than > > > > the 32-bit version, since I myself have a 64-bit computer and > therefore > > > > have run only some few tests on 32-bit... > > > > > > > -------------------------------------------------------------------------- > > > --> > > > > -- Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > will include endpoint security, mobile security and the latest in > > > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > That's a cool new feature. :) > > > > > > But now it seems that the interpreter can't work without gb.jit ... > right > > > ? > > > > > > > > > > -------------------------------------------------------------------------- > > > ---- Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ---------------------------------------------------------------------------- > > -- Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Yes, it works if gb.jit is not enabled, but I can't build gbx without it : > > gbx3-gbx_class.o: In function `CLASS_inheritance': > /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class.c:883: > undefined > reference to `JIT' > gbx3-gbx_class_load.o: In function `load_and_relocate': > /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class_load.c:578: > undefined reference to `JIT_load' > /home/adrien/Programmation/C++/Gambas/trunk/main/gbx/gbx_class_load.c:892: > undefined reference to `JIT_default_jit_function' > collect2: error: ld returned 1 exit status > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 00:12:35 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:12:35 +0100 (BST) Subject: [Gambas-user] New JIT Compiler In-Reply-To: Message-ID: <1337811155.80999.YahooMailClassic@...2780...> Well, I finished installation. It was OK. I had not problems. From vuott at ...325... Thu May 24 00:17:33 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:17:33 +0100 (BST) Subject: [Gambas-user] New JIT Compiler: About word "Fast" In-Reply-To: Message-ID: <1337811453.63453.YahooMailClassic@...2789...> <> Is this little example right ? *************************************** ' Gambas Class file Fast Public Sub Form_Open() ..... ..... ************************************* ...or not ? From emil.lenngren at ...626... Thu May 24 00:18:38 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:18:38 +0200 Subject: [Gambas-user] New JIT Compiler: About word "Fast" In-Reply-To: <1337811453.63453.YahooMailClassic@...2789...> References: <1337811453.63453.YahooMailClassic@...2789...> Message-ID: Yes it is ;) It should be added to the documentation ... /Emil 2012/5/24 Ru Vuott > <> > > > Is this little example right ? > > *************************************** > ' Gambas Class file > > > Fast > > > Public Sub Form_Open() > ..... > ..... > > > ************************************* > > ...or not ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Thu May 24 00:19:41 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 24 May 2012 00:19:41 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: <1337811155.80999.YahooMailClassic@...2780...> References: <1337811155.80999.YahooMailClassic@...2780...> Message-ID: <3083684.VrlqFP4Li2@...2823...> Le mercredi 23 mai 2012 23:12:35 Ru Vuott a ?crit : > Well, > > I finished installation. It was OK. I had not problems. > > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Oh, yes, it worked ... sorry ... From vuott at ...325... Thu May 24 00:22:11 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:22:11 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337811155.80999.YahooMailClassic@...2780...> Message-ID: <1337811731.87932.YahooMailClassic@...2748...> Hi, After the installation, I launched again: ~ $ ./configure -C ...because I was updating via SVN my Gambas-3. Well, I now received these notice from terminal: || || gb.jit is disabled || and at end: || || THESE COMPONENTS ARE DISABLED: || - gb.jit || ...I do not understand.... I did installation.... :-O From emil.lenngren at ...626... Thu May 24 00:26:22 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:26:22 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337811731.87932.YahooMailClassic@...2748...> References: <1337811155.80999.YahooMailClassic@...2780...> <1337811731.87932.YahooMailClassic@...2748...> Message-ID: Go to the gb.jit directory. Then try to run ./configure without the -C flag. If it doesn't work, please post the full output from the configure script. I think it is hard to make a good configure script for llvm, because it is not standardized where llvm put its files (llvm from svn puts it somewhere, gentoo in a special folder, and ubuntu in another folder ...). /Emil 2012/5/24 Ru Vuott > Hi, > > After the installation, I launched again: ~ $ ./configure -C ...because I > was updating via SVN my Gambas-3. > Well, I now received these notice from terminal: > > || > || gb.jit is disabled > || > > > and at end: > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > > > ...I do not understand.... I did installation.... :-O > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 24 00:33:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 00:33:50 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: References: <1337811155.80999.YahooMailClassic@...2780...> <1337811731.87932.YahooMailClassic@...2748...> Message-ID: <4FBD65CE.7010309@...1...> Le 24/05/2012 00:26, Emil Lenngren a ?crit : > Go to the gb.jit directory. Then try to run ./configure without the -C flag. > If it doesn't work, please post the full output from the configure script. > > I think it is hard to make a good configure script for llvm, because it is > not standardized where llvm put its files (llvm from svn puts it somewhere, > gentoo in a special folder, and ubuntu in another folder ...). > > /Emil > Then the distribution should provide a pkg-config file, or a llvm-config executable, or both. -- Beno?t Minisini From vuott at ...325... Thu May 24 00:35:38 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:35:38 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: Message-ID: <1337812538.33355.YahooMailClassic@...2695...> > Go to the gb.jit directory. Then try > to run ./configure without the -C flag. > If it doesn't work, please post the full output from the > configure script. Well, I followed your suggestion: ~/trunk/gb.jit $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86_64 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for getpt... yes checking for cfmakeraw... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.jit headers... /usr/include/ checking for gb.jit libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Well, Then I launched again ~/trunk $ ./configure -C (I was updating my gambas bla bla) ...but I received again: configure: WARNING: gb.jit is disabled ... ... || || gb.jit is disabled || .... ... || || THESE COMPONENTS ARE DISABLED: || - gb.jit || From emil.lenngren at ...626... Thu May 24 00:38:38 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:38:38 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337812538.33355.YahooMailClassic@...2695...> References: <1337812538.33355.YahooMailClassic@...2695...> Message-ID: It seemed to work this time. Try to remove any gb.jit/DISABLED* files left behind and then run make followed by sudo make install in the gb.jit directory. 2012/5/24 Ru Vuott > > > Go to the gb.jit directory. Then try > > to run ./configure without the -C flag. > > If it doesn't work, please post the full output from the > > configure script. > > > Well, I followed your suggestion: > > ~/trunk/gb.jit $ ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether ln -s works... yes > checking target system... LINUX > checking target architecture... X86_64 > checking how to run the C preprocessor... gcc -E > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking whether make sets $(MAKE)... (cached) yes > checking for setenv... yes > checking for unsetenv... yes > checking for getdomainname... yes > checking for getpt... yes > checking for cfmakeraw... yes > checking for main in -lgcc_s... yes > checking for main in -lstdc++... yes > checking which extension is used for shared libraries... .so > checking for threading compiler options... -D_REENTRANT > checking for threading linker options... -lpthread > checking for mathematic libraries... -lm > checking for external gettext library... > checking for ccache... no > checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden > checking how to print strings... printf > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert x86_64-unknown-linux-gnu file names to > x86_64-unknown-linux-gnu format... func_convert_file_noop > checking how to convert x86_64-unknown-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... dlltool > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for shl_load... no > checking for shl_load in -ldld... no > checking for dlopen... no > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... no > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking how to run the C++ preprocessor... g++ -E > checking for ld used by g++... /usr/bin/ld -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for gb.jit headers... /usr/include/ > checking for gb.jit libraries... /usr/lib/ > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > > > Well, Then I launched again ~/trunk $ ./configure -C (I was updating my > gambas bla bla) > ...but I received again: > > configure: WARNING: gb.jit is disabled > ... > ... > > || > || gb.jit is disabled > || > .... > ... > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 24 00:39:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 00:39:42 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: Message-ID: <4FBD672E.8000307@...1...> Le 23/05/2012 22:20, Emil Lenngren a ?crit : > Hi everybody. > > I've been working on a JIT-compiler for Gambas for some months, and I'm now > ready to release an alpha-version in the latest svn of Gambas. > The compiler uses LLVM to produce machine code for x86 or x86_64. You need > LLVM on your computer for it to work, preferably the latest version from > svn (3.0 from Ubuntu repos does not seem to work any well). Find more > instructions in the README file. > > To use it, place the word "Fast" at the top of a Gambas Class file, for a > class that you want all functions JIT-compiled instead of interpreted. (At > the moment you cannot make individual functions JIT-compiled, but that is > limited by the gbc compiler.) > > As it takes some milliseconds for LLVM to emit machine code and do > optimizations, you should only use it for functions you really need > optimizations. > > As the JIT compiler analyses the whole function before execution starts, > some extra type safety is added. In interpreter mode, you can normally do > things like: > Print "hello" > Print 1.3 \ 5 > and you will first see hello on the screen, and then an error message > complaining you can't do integer division on floats. > If you run the same function in the JIT compiler, the error message will be > thrown before execution starts instead, hopefully in order to make programs > less buggier. > As a consequence, you can not have code like "Try Print 1.3 \ 5" either. At > the moment the incorrect line is reported in the error message... > > The best speed-ups will be in functions that use a lot of low-level > calculations and control flows (except For Each loops), like functions that > do a lot of math. If the function mostly calls other libraries, you won't > see speed-ups either. > There are still the same overhead when calling functions, since the gambas > stack must be maintained as before, to make error handling work. > Using Try/Catch is probably slightly slower too because a real exception > handler must be set up. > > Something the LLVM optimizer is very good at is transforming a chain of > if-else statements to a jump table, so code like: > Select Case x > Case 1: > .. > Case 2: > .. > Case 3: > .. > End Select > will be much faster than before, so you don't have to use the "On Goto" > syntax and a lot of labels. This will produce identical machine code. > > Most things are implemented, but there are still many bugs to fix. > Some of the (so far) unimplemented features are > Calling external C libraries (the Extern keyword). > The use of "_unknown" special method. > IIf and Choose with different argument data types. > The possibility to use Component.Load to load functions that are executed > right after in the same function. > Profiling > Breakpoints > > Some of the benchmarks from http://gambasdoc.org/help/doc/benchmark > Polynom: 102.7 seconds to 4.7 seconds > Primes: 18.3 seconds to 3.5 seconds > Nbody: 16.0 seconds to 1.8 seconds > > If you are curious and want to see the optimized LLVM IR you can uncomment > the line M->dump() at the bottom of the jit_codegen.cpp file in gb.jit/src. > > I hope the JIT compiler will be useful for you ;) > > /Emil I will put the contents of your mail in the wiki, under /doc/jit. Feel free to complete this page! -- Beno?t Minisini From emil.lenngren at ...626... Thu May 24 00:42:53 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:42:53 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <4FBD65CE.7010309@...1...> References: <1337811155.80999.YahooMailClassic@...2780...> <1337811731.87932.YahooMailClassic@...2748...> <4FBD65CE.7010309@...1...> Message-ID: On ubuntu, the llvm-3.0 package (which does not work for me) provides a llvm-config in the directory /usr/lib/llvm-3.0/bin/llvm-config, and not in /usr/bin. That directory was not in my $PATH. And how to link to a library in a directory other than /usr/lib? I always have to set the environment flag LD_LIBRARY_PATH=... before running a program linked to such a library. 2012/5/24 Beno?t Minisini > Le 24/05/2012 00:26, Emil Lenngren a ?crit : > > Go to the gb.jit directory. Then try to run ./configure without the -C > flag. > > If it doesn't work, please post the full output from the configure > script. > > > > I think it is hard to make a good configure script for llvm, because it > is > > not standardized where llvm put its files (llvm from svn puts it > somewhere, > > gentoo in a special folder, and ubuntu in another folder ...). > > > > /Emil > > > > Then the distribution should provide a pkg-config file, or a llvm-config > executable, or both. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 00:47:10 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 May 2012 23:47:10 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: Message-ID: <1337813230.92298.YahooMailClassic@...2748...> > Try to remove any gb.jit/DISABLED* files left > behind and then run make followed by sudo make install in > the gb.jit directory. > Excuse me, How can I remove those files ? Directly from their folder ? If yes, which folder ? From emil.lenngren at ...626... Thu May 24 00:49:25 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 00:49:25 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337813230.92298.YahooMailClassic@...2748...> References: <1337813230.92298.YahooMailClassic@...2748...> Message-ID: In gambas top-level: rm gb.jit/DISABLED* ;) 2012/5/24 Ru Vuott > > Try to remove any gb.jit/DISABLED* files left > > behind and then run make followed by sudo make install in > > the gb.jit directory. > > > > Excuse me, How can I remove those files ? Directly from their folder ? If > yes, which folder ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tobiasboege01 at ...1601... Thu May 24 00:57:21 2012 From: tobiasboege01 at ...1601... (tobi) Date: Thu, 24 May 2012 00:57:21 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: References: <1337811155.80999.YahooMailClassic@...2780...> <1337811731.87932.YahooMailClassic@...2748...> <4FBD65CE.7010309@...1...> Message-ID: <20120523225721.GB8772@...2774...> On Thu, 24 May 2012, Emil Lenngren wrote: > On ubuntu, the llvm-3.0 package (which does not work for me) provides a > llvm-config in the directory /usr/lib/llvm-3.0/bin/llvm-config, and not in > /usr/bin. That directory was not in my $PATH. > > And how to link to a library in a directory other than /usr/lib? I always > have to set the environment flag LD_LIBRARY_PATH=... before running a > program linked to such a library. > > 2012/5/24 Beno?t Minisini > > > Le 24/05/2012 00:26, Emil Lenngren a ?crit : > > > Go to the gb.jit directory. Then try to run ./configure without the -C > > flag. > > > If it doesn't work, please post the full output from the configure > > script. > > > > > > I think it is hard to make a good configure script for llvm, because it > > is > > > not standardized where llvm put its files (llvm from svn puts it > > somewhere, > > > gentoo in a special folder, and ubuntu in another folder ...). > > > > > > /Emil > > > > > > > Then the distribution should provide a pkg-config file, or a llvm-config > > executable, or both. > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user On my system I used /etc/ld.so.conf to store a custom library search path. This file corresponds to ldconfig(8). Regards, Tobi From vuott at ...325... Thu May 24 01:00:17 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:00:17 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: Message-ID: <1337814017.77475.YahooMailClassic@...2789...> > In gambas top-level: > rm gb.jit/DISABLED* > > ;) Excuse me, but I'm enought ignorant. :-( Well, I followed that, and I removed those file successfully. Then I launched in gb.jit directory MAKE and sudo Make install OK Then re-launched ~/trunk $ ./configure -C But... I have that problem again ! :-( || || THESE COMPONENTS ARE DISABLED: || - gb.jit || :-( From gambas at ...1... Thu May 24 01:03:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 01:03:21 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337814017.77475.YahooMailClassic@...2789...> References: <1337814017.77475.YahooMailClassic@...2789...> Message-ID: <4FBD6CB9.60203@...1...> Le 24/05/2012 01:00, Ru Vuott a ?crit : > >> In gambas top-level: >> rm gb.jit/DISABLED* >> >> ;) > > Excuse me, but I'm enought ignorant. :-( > > Well, I followed that, and I removed those file successfully. > Then I launched in gb.jit directory MAKE and sudo Make install > OK > Then re-launched ~/trunk $ ./configure -C > > But... I have that problem again ! :-( > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > :-( > You must issue a ./reconf before ./configure -C. I had the same problem after having issued a ./configure inside the gb.jit directory. -- Beno?t Minisini From vuott at ...325... Thu May 24 01:04:17 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:04:17 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... 2 In-Reply-To: <1337813230.92298.YahooMailClassic@...2748...> Message-ID: <1337814257.7930.YahooMailClassic@...2758...> ..a moment ! I came back to look results: ~/trunk/gb.jit $ sudo make install make[1]: Entering directory `/home/ploppo/trunk/gb.jit' make[2]: Entering directory `/home/ploppo/trunk/gb.jit' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/ploppo/trunk/gb.jit' make[1]: Leaving directory `/home/ploppo/trunk/gb.jit' Those "Nothing to be done" give problems ? From emil.lenngren at ...626... Thu May 24 01:04:18 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 01:04:18 +0200 Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <1337814017.77475.YahooMailClassic@...2789...> References: <1337814017.77475.YahooMailClassic@...2789...> Message-ID: Haha. I don't really know exactly how the gambas build system works, but if it installed the gb.jit.so file then it has compiled correctly, and you can avoid that message ... :) 2012/5/24 Ru Vuott > > > In gambas top-level: > > rm gb.jit/DISABLED* > > > > ;) > > Excuse me, but I'm enought ignorant. :-( > > Well, I followed that, and I removed those file successfully. > Then I launched in gb.jit directory MAKE and sudo Make install > OK > Then re-launched ~/trunk $ ./configure -C > > But... I have that problem again ! :-( > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > :-( > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 01:06:39 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:06:39 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, but..... In-Reply-To: <4FBD6CB9.60203@...1...> Message-ID: <1337814399.10726.YahooMailClassic@...2748...> > > You must issue a ./reconf before ./configure -C. I had the > same problem > after having issued a ./configure inside the gb.jit > directory. > > -- > Beno?t Minisini > Thanks Beno?t, I'm trying again from ~/trunk $ ./reconf ... From vuott at ...325... Thu May 24 01:13:58 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:13:58 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, SUCCESS ! In-Reply-To: <4FBD6CB9.60203@...1...> Message-ID: <1337814838.33454.YahooMailClassic@...2748...> > > You must issue a ./reconf before ./configure -C. > -- > Beno?t Minisini > SUCCESS - SUCCESS - SUCCESS !!! From emil.lenngren at ...626... Thu May 24 01:19:45 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 01:19:45 +0200 Subject: [Gambas-user] New JIT Compiler, SUCCESS ! In-Reply-To: <1337814838.33454.YahooMailClassic@...2748...> References: <4FBD6CB9.60203@...1...> <1337814838.33454.YahooMailClassic@...2748...> Message-ID: Nice! To test if it really works, try running this code: Fast 'On first row in the class file Public Sub Main() Dim i As Long For i = 1 To 1000000000000 Next Print "It works!" End If it immediately prints out "It works!", it works. If the cpu is at 100%, the jit compiler is not in use. 2012/5/24 Ru Vuott > > > > > You must issue a ./reconf before ./configure -C. > > -- > > Beno?t Minisini > > > > SUCCESS - SUCCESS - SUCCESS !!! > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 24 01:24:04 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 01:24:04 +0200 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FBD45B8.1040607@...1...> References: <4FB78ADB.3070800@...1...> <4FBA978A.4010608@...1...> <4FBD45B8.1040607@...1...> Message-ID: <4FBD7194.7090602@...1...> Le 23/05/2012 22:16, Beno?t Minisini a ?crit : > Le 23/05/2012 18:49, Jussi Lahtinen a ?crit : >> There is bug... if I try to trigger profiling with System.Profile = True >> (option Activate profiling is not selected), >> Gambas crashes with signal 6. >> > > It should be fixed in revision #4761. Now System.Profile is ignored if > the project has not been started in profiling mode. > > But I'm not sure that if you stop profiling in one function and start it > again in another one, the IDE will be able to interpret the profiling > file... I know that it works if both actions occur in the same function. > Now System.Profile only deactivate profiling of instructions. Profiling of functions is always activated. That way, the IDE can always read the profile output file. And it should not slow down the program too much. -- Beno?t Minisini From gambas at ...1... Thu May 24 01:26:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 01:26:21 +0200 Subject: [Gambas-user] New JIT Compiler, SUCCESS ! In-Reply-To: References: <4FBD6CB9.60203@...1...> <1337814838.33454.YahooMailClassic@...2748...> Message-ID: <4FBD721D.9060803@...1...> Le 24/05/2012 01:19, Emil Lenngren a ?crit : > Nice! > > To test if it really works, try running this code: > > Fast 'On first row in the class file > Public Sub Main() > Dim i As Long > For i = 1 To 1000000000000 > Next > Print "It works!" > End > > If it immediately prints out "It works!", it works. If the cpu is at 100%, > the jit compiler is not in use. > Maybe you could use an environmental variable (GB_JIT) to print some messages (which function is compiled, code dump...)? -- Beno?t Minisini From emil.lenngren at ...626... Thu May 24 01:27:53 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 01:27:53 +0200 Subject: [Gambas-user] New JIT Compiler, SUCCESS ! In-Reply-To: <4FBD721D.9060803@...1...> References: <4FBD6CB9.60203@...1...> <1337814838.33454.YahooMailClassic@...2748...> <4FBD721D.9060803@...1...> Message-ID: Good idea! 2012/5/24 Beno?t Minisini > Le 24/05/2012 01:19, Emil Lenngren a ?crit : > > Nice! > > > > To test if it really works, try running this code: > > > > Fast 'On first row in the class file > > Public Sub Main() > > Dim i As Long > > For i = 1 To 1000000000000 > > Next > > Print "It works!" > > End > > > > If it immediately prints out "It works!", it works. If the cpu is at > 100%, > > the jit compiler is not in use. > > > > Maybe you could use an environmental variable (GB_JIT) to print some > messages (which function is compiled, code dump...)? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 01:49:27 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:49:27 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... In-Reply-To: Message-ID: <1337816967.71201.YahooMailClassic@...2780...> > To test if it really works, try running this code: > > Fast? ? 'On first row in the class file > Public Sub Main() > ? Dim i As Long > ? For i = 1 To 1000000000000 > ? Next > ? Print "It works!" > End > > If it immediately prints out "It works!", it works. If the > cpu is at 100%, > the jit compiler is not in use. Well, I try this: Fast 'On first row in the class file Public Sub Button1_Click() Dim i As Long For i = 1 To 1000000000000 Next Print "It works!" End But It didn't print immediately "It works!", and CPU4 was at 100% ! :-( From vuott at ...325... Thu May 24 01:56:21 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 00:56:21 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... BIS In-Reply-To: <1337816967.71201.YahooMailClassic@...2780...> Message-ID: <1337817381.57122.YahooMailClassic@...2758...> A question: gb.jit has to show in components window of project ? From emil.lenngren at ...626... Thu May 24 01:57:57 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 01:57:57 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... BIS In-Reply-To: <1337817381.57122.YahooMailClassic@...2758...> References: <1337816967.71201.YahooMailClassic@...2780...> <1337817381.57122.YahooMailClassic@...2758...> Message-ID: No, it is loaded automatically by the interpreter. Does the file /usr/lib/gambas3/gb.jit.so or /usr/local/lib/gambas3/gb.jit.soexist? 2012/5/24 Ru Vuott > > A question: > > gb.jit has to show in components window of project ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 02:09:15 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:09:15 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... BIS In-Reply-To: Message-ID: <1337818155.52746.YahooMailClassic@...2758...> ...no, it doesn't !!! --- Gio 24/5/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] New JIT Compiler, Trying.... BIS > A: "mailing list for gambas users" > Data: Gioved? 24 maggio 2012, 01:57 > No, it is loaded automatically by the > interpreter. > Does the file /usr/lib/gambas3/gb.jit.so or > /usr/local/lib/gambas3/gb.jit.soexist? > > 2012/5/24 Ru Vuott > > > > > A question: > > > > gb.jit has to show in components window of project ? > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Thu May 24 02:12:41 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:12:41 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... BIS In-Reply-To: <1337818155.52746.YahooMailClassic@...2758...> References: <1337818155.52746.YahooMailClassic@...2758...> Message-ID: Ok. So again :) what is the full output when you run ./configure in the directory gb.jit, followed by make and sudo make install? /Emil 2012/5/24 Ru Vuott > ...no, it doesn't !!! > > > > --- Gio 24/5/12, Emil Lenngren ha scritto: > > > Da: Emil Lenngren > > Oggetto: Re: [Gambas-user] New JIT Compiler, Trying.... BIS > > A: "mailing list for gambas users" > > Data: Gioved? 24 maggio 2012, 01:57 > > No, it is loaded automatically by the > > interpreter. > > Does the file /usr/lib/gambas3/gb.jit.so or > > /usr/local/lib/gambas3/gb.jit.soexist? > > > > 2012/5/24 Ru Vuott > > > > > > > > A question: > > > > > > gb.jit has to show in components window of project ? > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's > > security and > > > threat landscape has changed and how IT managers can > > respond. Discussions > > > will include endpoint security, mobile security and the > > latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > > security and > > threat landscape has changed and how IT managers can > > respond. Discussions > > will include endpoint security, mobile security and the > > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 02:19:40 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:19:40 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... BIS In-Reply-To: Message-ID: <1337818780.12660.YahooMailClassic@...2695...> --- Gio 24/5/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] New JIT Compiler, Trying.... BIS > A: "mailing list for gambas users" > Data: Gioved? 24 maggio 2012, 02:12 > Ok. So again :) what is the full > output when you run ./configure in the > directory gb.jit, followed by make and sudo make install? > > /Emil 1) ~/trunk/gb.jit $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86_64 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for getpt... yes checking for cfmakeraw... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.jit headers... /usr/include/ checking for gb.jit libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands 2) ~/trunk/gb.jit $ make make all-recursive make[1]: Entering directory `/home/ploppo/trunk/gb.jit' Making all in src make[2]: Entering directory `/home/ploppo/trunk/gb.jit/src' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_api.lo -MD -MP -MF .deps/gb_jit_la-jit_api.Tpo -c -o gb_jit_la-jit_api.lo `test -f 'jit_api.cpp' || echo './'`jit_api.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_api.lo -MD -MP -MF .deps/gb_jit_la-jit_api.Tpo -c jit_api.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_api.o mv -f .deps/gb_jit_la-jit_api.Tpo .deps/gb_jit_la-jit_api.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_codegen.lo -MD -MP -MF .deps/gb_jit_la-jit_codegen.Tpo -c -o gb_jit_la-jit_codegen.lo `test -f 'jit_codegen.cpp' || echo './'`jit_codegen.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_codegen.lo -MD -MP -MF .deps/gb_jit_la-jit_codegen.Tpo -c jit_codegen.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_codegen.o In file included from jit_codegen.cpp:32:0: jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)': jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder] jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder] jit.h:579:2: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)': jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder] jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder] jit.h:834:2: warning: when initialized here [-Wreorder] In file included from jit_codegen.cpp:32:0: jit.h: In constructor 'NopExpression::NopExpression()': jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jit_codegen.cpp: In lambda function: jit_codegen.cpp:1501:15: warning: unused variable 'counter' [-Wunused-variable] jit_codegen.cpp: In member function 'virtual llvm::Value* PushArrayExpression::codegen_get_value()': jit_codegen.cpp:4275:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses] jit_codegen.cpp:4369:17: warning: unused variable 'is_null' [-Wunused-variable] jit_codegen.cpp:4428:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit_codegen.cpp: In member function 'virtual void PopArrayExpression::codegen()': jit_codegen.cpp:4444:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses] jit_codegen.cpp:4588:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()': jit_codegen.cpp:5370:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from jit_codegen.cpp:5976:0: jit_codegen_conv.h: In member function 'virtual llvm::Value* ConvExpression::codegen_get_value()': jit_codegen_conv.h:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit_codegen_conv.h:292:15: warning: unused variable 'got_error' [-Wunused-variable] jit_codegen_conv.h:631:15: warning: unused variable 'klass' [-Wunused-variable] jit_codegen_conv.h:799:1: warning: control reaches end of non-void function [-Wreturn-type] jit_codegen.cpp: In member function 'virtual llvm::Value* RemExpression::codegen_get_value()': jit_codegen.cpp:3773:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* QuoExpression::codegen_get_value()': jit_codegen.cpp:3750:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* MulExpression::codegen_get_value()': jit_codegen.cpp:3711:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* SubExpression::codegen_get_value()': jit_codegen.cpp:3687:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* AddExpression::codegen_get_value()': jit_codegen.cpp:3663:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* AddQuickExpression::codegen_get_value()': jit_codegen.cpp:2047:28: warning: 'new_val' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'llvm::Value* PushPureObjectPropertyExpression::codegen_private(bool)': jit_codegen.cpp:1668:272: warning: 'class_desc_property' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* LessExpression::codegen_get_value()': jit_codegen.cpp:3596:30: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* NotExpression::codegen_get_value()': jit_codegen.cpp:3523:30: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual void PopPureObjectPropertyExpression::codegen()': jit_codegen.cpp:1752:272: warning: 'class_desc_property' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual void CallExpression::codegen_on_stack()': jit_codegen.cpp:2701:127: warning: 'object' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* EqExpression::codegen_get_value()': jit_codegen.cpp:3488:29: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] In file included from jit_codegen.cpp:5976:0: jit_codegen_conv.h: In member function 'virtual llvm::Value* ConvExpression::codegen_get_value()': jit_codegen_conv.h:530:35: warning: 'data' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()': jit_codegen.cpp:5846:31: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5471:64: warning: 'res' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5405:71: warning: 'res' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:588:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5202:17: note: 'ret' was declared here jit_codegen.cpp:5165:64: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5142:101: warning: 'max' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5142:101: warning: 'min' may be used uninitialized in this function [-Wuninitialized] jit_codegen.cpp:5039:64: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] jit.h: At global scope: jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function] jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function] jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function] jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function] jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function] jit_codegen.cpp:317:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:990:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function] jit_codegen.cpp:994:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function] jit_codegen.cpp:998:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:1077:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function] jit_codegen.cpp:1081:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:1095:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:2141:26: warning: 'llvm::AllocaInst* create_alloca_in_entry(llvm::Type*)' defined but not used [-Wunused-function] jit_codegen.cpp:6173:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function] mv -f .deps/gb_jit_la-jit_codegen.Tpo .deps/gb_jit_la-jit_codegen.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_compile.lo -MD -MP -MF .deps/gb_jit_la-jit_compile.Tpo -c -o gb_jit_la-jit_compile.lo `test -f 'jit_compile.cpp' || echo './'`jit_compile.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_compile.lo -MD -MP -MF .deps/gb_jit_la-jit_compile.Tpo -c jit_compile.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_compile.o In file included from jit_compile.cpp:30:0: jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)': jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder] jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder] jit.h:579:2: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)': jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder] jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder] jit.h:834:2: warning: when initialized here [-Wreorder] In file included from jit_compile.cpp:30:0: jit.h: In constructor 'NopExpression::NopExpression()': jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jit.h: At global scope: jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function] jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function] jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function] jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function] jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function] mv -f .deps/gb_jit_la-jit_compile.Tpo .deps/gb_jit_la-jit_compile.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_conv.lo -MD -MP -MF .deps/gb_jit_la-jit_conv.Tpo -c -o gb_jit_la-jit_conv.lo `test -f 'jit_conv.cpp' || echo './'`jit_conv.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_conv.lo -MD -MP -MF .deps/gb_jit_la-jit_conv.Tpo -c jit_conv.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_conv.o In file included from jit_conv.cpp:28:0: jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)': jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder] jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder] jit.h:579:2: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)': jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder] jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder] jit.h:834:2: warning: when initialized here [-Wreorder] In file included from jit_conv.cpp:28:0: jit.h: In constructor 'NopExpression::NopExpression()': jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jit_conv.cpp: In function 'void JIT_conv(Expression*&, TYPE, Expression*)': jit_conv.cpp:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit.h: At global scope: jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function] jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function] jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function] jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function] jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function] mv -f .deps/gb_jit_la-jit_conv.Tpo .deps/gb_jit_la-jit_conv.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_expressions.lo -MD -MP -MF .deps/gb_jit_la-jit_expressions.Tpo -c -o gb_jit_la-jit_expressions.lo `test -f 'jit_expressions.cpp' || echo './'`jit_expressions.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_expressions.lo -MD -MP -MF .deps/gb_jit_la-jit_expressions.Tpo -c jit_expressions.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_expressions.o In file included from jit_expressions.cpp:28:0: jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)': jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder] jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder] jit.h:579:2: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)': jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder] jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder] jit.h:834:2: warning: when initialized here [-Wreorder] In file included from jit_expressions.cpp:28:0: jit.h: In constructor 'NopExpression::NopExpression()': jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jit_expressions.cpp: In constructor 'PushArrayExpression::PushArrayExpression(Expression**, int)': jit_expressions.cpp:143:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses] jit_expressions.cpp:248:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit_expressions.cpp: In constructor 'PopArrayExpression::PopArrayExpression(Expression**, int, Expression*)': jit_expressions.cpp:263:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses] jit.h: In constructor 'JumpFirstExpression::JumpFirstExpression(int, Expression*, Expression*, int, int, int)': jit.h:815:6: warning: 'JumpFirstExpression::ctrl_to' will be initialized after [-Wreorder] jit.h:814:21: warning: 'Expression* JumpFirstExpression::to' [-Wreorder] jit_expressions.cpp:611:1: warning: when initialized here [-Wreorder] jit.h:814:21: warning: 'JumpFirstExpression::to' will be initialized after [-Wreorder] jit.h:814:14: warning: 'Expression* JumpFirstExpression::step' [-Wreorder] jit_expressions.cpp:611:1: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumNextExpression::JumpEnumNextExpression(JumpEnumFirstExpression*, int, int, short unsigned int*, bool, OnStackExpression*)': jit.h:857:7: warning: 'JumpEnumNextExpression::drop' will be initialized after [-Wreorder] jit.h:853:21: warning: 'OnStackExpression* JumpEnumNextExpression::retval' [-Wreorder] jit_expressions.cpp:631:1: warning: when initialized here [-Wreorder] jit_expressions.cpp: In constructor 'JumpEnumNextExpression::JumpEnumNextExpression(JumpEnumFirstExpression*, int, int, short unsigned int*, bool, OnStackExpression*)': jit_expressions.cpp:665:22: warning: 'klass' may be used uninitialized in this function [-Wuninitialized] jit_expressions.cpp: In constructor 'SubrExpression::SubrExpression(int, Expression**, int, int)': jit_expressions.cpp:1199:28: warning: 'type' may be used uninitialized in this function [-Wuninitialized] mv -f .deps/gb_jit_la-jit_expressions.Tpo .deps/gb_jit_la-jit_expressions.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_read.lo -MD -MP -MF .deps/gb_jit_la-jit_read.Tpo -c -o gb_jit_la-jit_read.lo `test -f 'jit_read.cpp' || echo './'`jit_read.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_read.lo -MD -MP -MF .deps/gb_jit_la-jit_read.Tpo -c jit_read.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_read.o In file included from jit_read.cpp:28:0: jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)': jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder] jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder] jit.h:579:2: warning: when initialized here [-Wreorder] jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)': jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder] jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder] jit.h:834:2: warning: when initialized here [-Wreorder] In file included from jit_read.cpp:28:0: jit.h: In constructor 'NopExpression::NopExpression()': jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] jit_read.cpp: In function 'bool stack_empty()': jit_read.cpp:58:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] jit_read.cpp: In function 'void JIT_push_unknown()': jit_read.cpp:221:7: warning: variable 'defined' set but not used [-Wunused-but-set-variable] jit_read.cpp: In function 'void JIT_pop_unknown()': jit_read.cpp:520:15: warning: unused variable 'obj' [-Wunused-variable] jit_read.cpp: In function 'void JIT_read_statement()': jit_read.cpp:777:9: warning: 'npmax' may be used uninitialized in this function [-Wuninitialized] jit.h: At global scope: jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function] jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function] jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function] jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function] jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function] mv -f .deps/gb_jit_la-jit_read.Tpo .deps/gb_jit_la-jit_read.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_jit_la-jit_runtime.lo -MD -MP -MF .deps/gb_jit_la-jit_runtime.Tpo -c -o gb_jit_la-jit_runtime.lo `test -f 'jit_runtime.c' || echo './'`jit_runtime.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_jit_la-jit_runtime.lo -MD -MP -MF .deps/gb_jit_la-jit_runtime.Tpo -c jit_runtime.c -fPIC -DPIC -o .libs/gb_jit_la-jit_runtime.o jit_runtime.c:128:15: warning: 'JR_date_to_float' defined but not used [-Wunused-function] jit_runtime.c:134:15: warning: 'JR_string_to_float' defined but not used [-Wunused-function] jit_runtime.c: In function 'JR_object_cast': jit_runtime.c:541:1: warning: control reaches end of non-void function [-Wreturn-type] mv -f .deps/gb_jit_la-jit_runtime.Tpo .deps/gb_jit_la-jit_runtime.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-main.lo -MD -MP -MF .deps/gb_jit_la-main.Tpo -c -o gb_jit_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-main.lo -MD -MP -MF .deps/gb_jit_la-main.Tpo -c main.cpp -fPIC -DPIC -o .libs/gb_jit_la-main.o mv -f .deps/gb_jit_la-main.Tpo .deps/gb_jit_la-main.Plo /bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -module -o gb.jit.la -rpath /usr/local/lib/gambas3 gb_jit_la-jit_api.lo gb_jit_la-jit_codegen.lo gb_jit_la-jit_compile.lo gb_jit_la-jit_conv.lo gb_jit_la-jit_expressions.lo gb_jit_la-jit_read.lo gb_jit_la-jit_runtime.lo gb_jit_la-main.lo -lc -L/usr/lib -lpthread -ldl -lm -lLLVM-3.2svn libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbeginS.o .libs/gb_jit_la-jit_api.o .libs/gb_jit_la-jit_codegen.o .libs/gb_jit_la-jit_compile.o .libs/gb_jit_la-jit_conv.o .libs/gb_jit_la-jit_expressions.o .libs/gb_jit_la-jit_read.o .libs/gb_jit_la-jit_runtime.o .libs/gb_jit_la-main.o -L/usr/lib -lpthread -ldl -lLLVM-3.2svn -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crtn.o -Os -Wl,-soname -Wl,gb.jit.so.0 -o .libs/gb.jit.so.0.0.0 libtool: link: (cd ".libs" && rm -f "gb.jit.so.0" && ln -s "gb.jit.so.0.0.0" "gb.jit.so.0") libtool: link: (cd ".libs" && rm -f "gb.jit.so" && ln -s "gb.jit.so.0.0.0" "gb.jit.so") libtool: link: ( cd ".libs" && rm -f "gb.jit.la" && ln -s "../gb.jit.la" "gb.jit.la" ) make[2]: Leaving directory `/home/vuott/trunk/gb.jit/src' make[2]: Entering directory `/home/vuott/trunk/gb.jit' make[2]: Leaving directory `/home/vuott/trunk/gb.jit' make[1]: Leaving directory `/home/vuott/trunk/gb.jit' 3) ~/trunk/gb.jit $ sudo make install [sudo] password for vuott: Making install in src make[1]: Entering directory `/home/vuott/trunk/gb.jit/src' make[2]: Entering directory `/home/vuott/trunk/gb.jit/src' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3" /usr/bin/install -c -m 644 gb.jit.component '/usr/local/lib/gambas3' test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3" /usr/bin/install -c -m 644 gb.jit.component '/usr/local/lib/gambas3' test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3" /bin/bash ../libtool --mode=install /usr/bin/install -c gb.jit.la '/usr/local/lib/gambas3' libtool: install: /usr/bin/install -c .libs/gb.jit.so.0.0.0 /usr/local/lib/gambas3/gb.jit.so.0.0.0 libtool: install: (cd /usr/local/lib/gambas3 && { ln -s -f gb.jit.so.0.0.0 gb.jit.so.0 || { rm -f gb.jit.so.0 && ln -s gb.jit.so.0.0.0 gb.jit.so.0; }; }) libtool: install: (cd /usr/local/lib/gambas3 && { ln -s -f gb.jit.so.0.0.0 gb.jit.so || { rm -f gb.jit.so && ln -s gb.jit.so.0.0.0 gb.jit.so; }; }) libtool: install: /usr/bin/install -c .libs/gb.jit.lai /usr/local/lib/gambas3/gb.jit.la libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib/gambas3 ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/gambas3 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make install-data-hook make[3]: Entering directory `/home/ploppo/trunk/gb.jit/src' Installing the gb.jit control icons if needed... Creating the information files for gb.jit component... gb.jit make[3]: Leaving directory `/home/vuott/trunk/gb.jit/src' make[2]: Leaving directory `/home/vuott/trunk/gb.jit/src' make[1]: Leaving directory `/home/vuott/trunk/gb.jit/src' make[1]: Entering directory `/home/vuott/trunk/gb.jit' make[2]: Entering directory `/home/vuott/trunk/gb.jit' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/vuott/trunk/gb.jit' make[1]: Leaving directory `/home/vuott/trunk/gb.jit' From vuott at ...325... Thu May 24 02:21:34 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:21:34 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: Message-ID: <1337818894.34967.YahooMailClassic@...2695...> Well now bg.jit.so exists ! From vuott at ...325... Thu May 24 02:24:16 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:24:16 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: <1337818894.34967.YahooMailClassic@...2695...> Message-ID: <1337819056.25414.YahooMailClassic@...2748...> > Well now bg.jit.so exists ! > I tried your code, but it doesn't work, and CPU is at 100%. Maybe, I must re-updated gambas3 from ./reconf etc ? From gambas at ...1... Thu May 24 02:27:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 02:27:29 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: <1337819056.25414.YahooMailClassic@...2748...> References: <1337819056.25414.YahooMailClassic@...2748...> Message-ID: <4FBD8071.8000003@...1...> Le 24/05/2012 02:24, Ru Vuott a ?crit : > >> Well now bg.jit.so exists ! >> > > I tried your code, but it doesn't work, and CPU is at 100%. > > Maybe, I must re-updated gambas3 from ./reconf etc ? > CPU must be at 100% (on one core) in both case. The JIT compiled function is just faster. Just try with the FAST keyword, and without, and compare the execution time. -- Beno?t Minisini From emil.lenngren at ...626... Thu May 24 02:31:46 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:31:46 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: <1337819056.25414.YahooMailClassic@...2748...> References: <1337818894.34967.YahooMailClassic@...2695...> <1337819056.25414.YahooMailClassic@...2748...> Message-ID: As long as you have the latest installed version of gbx3, you should be fine. Try to run the benchmark http://gambasdoc.org/help/doc/benchmark/polynom and add a line 'Fast' on the line after #!/usr/bin/env gbs3 If your time is < 10 seconds, the jit is running. If it is > 60 seconds, it is not running. If you run "gdb gbx3" in your project directory, write "b JIT_load" and then "run", you can step through the code with "n" and enter. This is how it looks for me: Breakpoint 1, JIT_load () at gbx_jit.c:32 32 bool JIT_load(){ (gdb) n 36 if (loaded) (gdb) 37 return TRUE; (gdb) 36 if (loaded) (gdb) 40 return FALSE; (gdb) 39 if (!available) (gdb) 42 TRY (gdb) 44 COMPONENT_load(COMPONENT_create("gb.jit")); (gdb) 45 LIBRARY_get_interface_by_name("gb.jit", JIT_INTERFACE_VERSION, &JIT); (gdb) 47 JIT.Init((GB_JIT_INTERFACE *)(void *)GAMBAS_JitApi, &EXEC_current, &SP, &TEMP, &RET, &GAMBAS_StopEvent, (gdb) 50 loaded = TRUE; (gdb) 56 END_TRY How does it look for you? 2012/5/24 Ru Vuott > > > Well now bg.jit.so exists ! > > > > I tried your code, but it doesn't work, and CPU is at 100%. > > Maybe, I must re-updated gambas3 from ./reconf etc ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 02:32:12 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:32:12 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... QUATER In-Reply-To: <4FBD8071.8000003@...1...> Message-ID: <1337819532.97075.YahooMailClassic@...2758...> > > CPU must be at 100% (on one core) in both case. The JIT > compiled > function is just faster. > > Just try with the FAST keyword, and without, and compare the > execution time. > > -- > Beno?t Minisini > > I have 4 core. I tried "with" and "without" the word: Fast, but one CPU stays on 100%. From vuott at ...325... Thu May 24 02:39:04 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:39:04 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: Message-ID: <1337819944.1757.YahooMailClassic@...2789...> > Try to run the benchmark > http://gambasdoc.org/help/doc/benchmark/polynom > and ...I don't understand that strange: .... End Dim I As Integer For I = 1 To 10 Print Test(0.2) Next From vuott at ...325... Thu May 24 02:42:42 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:42:42 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... QUINQUES In-Reply-To: <1337819944.1757.YahooMailClassic@...2789...> Message-ID: <1337820162.53429.YahooMailClassic@...2695...> > > > Try to run the benchmark > > http://gambasdoc.org/help/doc/benchmark/polynom > > and > I wrote it: Public Sub Button1_Click() Dim I As Integer For I = 1 To 10 Print Test(0.2) Next End Sub Test(X As Float) As Float Dim Mu As Float = 10.0 Dim Pu, Su As Float Dim I, J, N As Integer Dim aPoly As New Float[100] N = 500000 For I = 0 To N - 1 For J = 0 To 99 Mu = (Mu + 2.0) / 2.0 aPoly[J] = Mu Next Su = 0.0 For J = 0 To 99 Su = X * Su + aPoly[J] Next Pu += Su Next Return Pu End I launched and I received in console: 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 From emil.lenngren at ...626... Thu May 24 02:44:26 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:44:26 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... QUINQUES In-Reply-To: <1337820162.53429.YahooMailClassic@...2695...> References: <1337819944.1757.YahooMailClassic@...2789...> <1337820162.53429.YahooMailClassic@...2695...> Message-ID: Do you have the keyword "Fast" at the beginning? How long did it take to run the code? A minute or a few seconds? 2012/5/24 Ru Vuott > > > > > > Try to run the benchmark > > > http://gambasdoc.org/help/doc/benchmark/polynom > > > and > > > > > I wrote it: > > Public Sub Button1_Click() > > Dim I As Integer > > For I = 1 To 10 > Print Test(0.2) > Next > > End > > > Sub Test(X As Float) As Float > > Dim Mu As Float = 10.0 > Dim Pu, Su As Float > Dim I, J, N As Integer > Dim aPoly As New Float[100] > > N = 500000 > > For I = 0 To N - 1 > For J = 0 To 99 > Mu = (Mu + 2.0) / 2.0 > aPoly[J] = Mu > Next > Su = 0.0 > For J = 0 To 99 > Su = X * Su + aPoly[J] > Next > Pu += Su > Next > > Return Pu > > End > > > I launched and I received in console: > > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Thu May 24 02:44:28 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:44:28 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: <1337819944.1757.YahooMailClassic@...2789...> References: <1337819944.1757.YahooMailClassic@...2789...> Message-ID: Gambas scripts are runned by the gbs3 scripter, that takes your script, makes a class of it, take the code outside all the functions and put it in a Main method. It is then run normally by first compiling it with gbc3 and then running it with gbx3 .. kind of .. ;) See source code here: http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/app/src/gbs3/.src/MMain.module?view=markup&pathrev=4768 2012/5/24 Ru Vuott > > > Try to run the benchmark > > http://gambasdoc.org/help/doc/benchmark/polynom > > and > > ...I don't understand that strange: > > .... > End > > Dim I As Integer > > For I = 1 To 10 > Print Test(0.2) > Next > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 24 02:47:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 02:47:13 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... QUATER In-Reply-To: <1337819532.97075.YahooMailClassic@...2758...> References: <1337819532.97075.YahooMailClassic@...2758...> Message-ID: <4FBD8511.2020200@...1...> Le 24/05/2012 02:32, Ru Vuott a ?crit : >> >> CPU must be at 100% (on one core) in both case. The JIT >> compiled >> function is just faster. >> >> Just try with the FAST keyword, and without, and compare the >> execution time. >> >> -- >> Beno?t Minisini >> >> > > I have 4 core. I tried "with" and "without" the word: Fast, but one CPU stays on 100%. > Did you read what I wrote? In both case CPU must be at 100% on one core. Just that JIT makes the code faster, and so running it will take less time. If 1000000000000 is too big, try a lower value. Regards, -- Beno?t Minisini From emil.lenngren at ...626... Thu May 24 02:48:54 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:48:54 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... QUATER In-Reply-To: <4FBD8511.2020200@...1...> References: <1337819532.97075.YahooMailClassic@...2758...> <4FBD8511.2020200@...1...> Message-ID: The thing is that llvm optimizes away that loop (at least on my 64-bit computer), so it should take 0 seconds ;) 2012/5/24 Beno?t Minisini > Le 24/05/2012 02:32, Ru Vuott a ?crit : > >> > >> CPU must be at 100% (on one core) in both case. The JIT > >> compiled > >> function is just faster. > >> > >> Just try with the FAST keyword, and without, and compare the > >> execution time. > >> > >> -- > >> Beno?t Minisini > >> > >> > > > > I have 4 core. I tried "with" and "without" the word: Fast, but one CPU > stays on 100%. > > > > Did you read what I wrote? In both case CPU must be at 100% on one core. > Just that JIT makes the code faster, and so running it will take less > time. If 1000000000000 is too big, try a lower value. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Thu May 24 02:52:06 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 02:52:06 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... TER In-Reply-To: References: <1337819944.1757.YahooMailClassic@...2789...> Message-ID: Ok, so try to replace the JIT_load method in main/gbx/gbx_jit.c with this one: bool JIT_load(){ static bool loaded = FALSE; static bool available = TRUE; if (loaded) return TRUE; if (!available) return FALSE; COMPONENT_load(COMPONENT_create("gb.jit")); LIBRARY_get_interface_by_name("gb.jit", JIT_INTERFACE_VERSION, &JIT); JIT.Init((GB_JIT_INTERFACE *)(void *)GAMBAS_JitApi, &EXEC_current, &SP, &TEMP, &RET, &GAMBAS_StopEvent, (char **)&EXEC_enum, &EXEC, &EXEC_unknown_name, &EVENT_Last, &ERROR_current, &ERROR_handler, &STRING_char_string[0]); loaded = TRUE; return loaded; } Now it always throws an error if the jit couldn't be loaded. Another question: do you have another version of gbx3 installed somewhere that happen to run instead of the one with jit functionality? /Emil 2012/5/24 Emil Lenngren > Gambas scripts are runned by the gbs3 scripter, that takes your script, > makes a class of it, take the code outside all the functions > and put it in a Main method. It is then run normally by first compiling it > with gbc3 and then running it with gbx3 .. kind of .. ;) > See source code here: > > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/app/src/gbs3/.src/MMain.module?view=markup&pathrev=4768 > > > 2012/5/24 Ru Vuott > >> >> > Try to run the benchmark >> > http://gambasdoc.org/help/doc/benchmark/polynom >> > and >> >> ...I don't understand that strange: >> >> .... >> End >> >> Dim I As Integer >> >> For I = 1 To 10 >> Print Test(0.2) >> Next >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From vuott at ...325... Thu May 24 02:57:18 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 01:57:18 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... SEXIES In-Reply-To: <4FBD8511.2020200@...1...> Message-ID: <1337821038.64944.YahooMailClassic@...2695...> If 1000000000000 is too big, try a lower value. > > Regards, > > -- > Beno?t Minisini > Gooooood suggestion, Beno?t ! I changed value: from 1000000000000 to 1000000000 So, I tried "with" and "without" the word "FAST". I can see the difference !!!!!!!!!! :-) I think it works ! Oh, yes, it works and it's... fast ! From emil.lenngren at ...626... Thu May 24 03:00:34 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 03:00:34 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... SEXIES In-Reply-To: <1337821038.64944.YahooMailClassic@...2695...> References: <4FBD8511.2020200@...1...> <1337821038.64944.YahooMailClassic@...2695...> Message-ID: Nice! Try to see the difference with the "Polygon" benchmark as well. 2012/5/24 Ru Vuott > If 1000000000000 is too big, try a lower value. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > Gooooood suggestion, Beno?t ! > > I changed value: from 1000000000000 to 1000000000 > > So, I tried "with" and "without" the word "FAST". I can see the > difference !!!!!!!!!! :-) > > I think it works ! Oh, yes, it works and it's... fast ! > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 03:01:52 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 02:01:52 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... QUINQUES In-Reply-To: Message-ID: <1337821312.67707.YahooMailClassic@...2695...> > Do you have the keyword "Fast" at the > beginning? > > How long did it take to run the code? A minute or a few > seconds? > A few seconds (5 or 6 I suppose.) From emil.lenngren at ...626... Thu May 24 03:04:57 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 03:04:57 +0200 Subject: [Gambas-user] New JIT Compiler, Trying.... QUINQUES In-Reply-To: <1337821312.67707.YahooMailClassic@...2695...> References: <1337821312.67707.YahooMailClassic@...2695...> Message-ID: Nice! Try without 'Fast' and see how long time you can wait before you get bored and abort it ;) 2012/5/24 Ru Vuott > > > Do you have the keyword "Fast" at the > > beginning? > > > > How long did it take to run the code? A minute or a few > > seconds? > > > > A few seconds (5 or 6 I suppose.) > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu May 24 03:05:50 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 02:05:50 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... SEXIES In-Reply-To: Message-ID: <1337821550.15136.YahooMailClassic@...2758...> > Try to see the difference with the "Polygon" benchmark as > well. Yes, I tried now "without" Fast... Emil... oh my God ! Totally incomparable !! From vuott at ...325... Thu May 24 03:07:47 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 02:07:47 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, Trying.... QUINQUES In-Reply-To: Message-ID: <1337821667.20414.YahooMailClassic@...2748...> > Try without 'Fast' and see how long time you can wait before > you get bored > and abort it ;) mmmm... Emil... you are crazy ! ;-) You want to make me fool ! :-D From vuott at ...325... Thu May 24 03:09:17 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 May 2012 02:09:17 +0100 (BST) Subject: [Gambas-user] New JIT Compiler, STOOOOP ! In-Reply-To: Message-ID: <1337821757.40629.YahooMailClassic@...2780...> Ok, component works. Thanks Emil, thanks Benoit. I go to sleeeeep ! ;-) bye Vuottttttttt From emil.lenngren at ...626... Thu May 24 03:10:07 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 24 May 2012 03:10:07 +0200 Subject: [Gambas-user] New JIT Compiler, STOOOOP ! In-Reply-To: <1337821757.40629.YahooMailClassic@...2780...> References: <1337821757.40629.YahooMailClassic@...2780...> Message-ID: Me to. Bye. 2012/5/24 Ru Vuott > Ok, component works. > Thanks Emil, thanks Benoit. > > I go to sleeeeep ! ;-) > > bye > Vuottttttttt > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Thu May 24 04:14:40 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 23 May 2012 22:14:40 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <26454823.952.1337670164149.JavaMail.root@...2632...> References: <26454823.952.1337670164149.JavaMail.root@...2632...> Message-ID: <4FBD9990.8040207@...1887...> > ----- Original Message ----- > From: "Kevin Fishburne" > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, 22 May, 2012 5:14:02 AM > Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic > > Disclaimer: I've been working on this for days and neither Google nor > trial and error is adequate, apparently. > > I'm trying to render an overhead, 2D scene with the "camera" at the > center of the screen and the world objects rotated around it. Here are > my variables: > > Camera.WorldX As Single ' World coordinates of camera. > Camera.WorldYAs Single ' World coordinates of camera. > Camera.Orientation As Single ' Angle of camera (2D overhead view, > rotates screen like Contra III for SNES). > Camera.Zoom As Single ' Scale of matrix for zooming in and out. > sWidth As Short ' Width in pixels of screen. > sHeight As Short ' Height in pixels of screen. > > I need to rotate the matrix so that rendered objects will appear in the > correct positions with regard to the camera's orientation. I need to > translate the matrix so that the camera coordinates are always at the > center of the rendering window. I need to scale the matrix so that the > camera can zoom in and out (always centered at the middle of the > rendering window). > > I suspect that to center the camera on the rendering window after > rotating the matrix, I need to "unrotate" the x and y offsets required > to center it, which I can do if necessary using some functions I created > to rotate an arbitrary point about an arbitrary origin. > > I think I can successfully rotate the matrix around the camera with code > like this: > > Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) > Gl.Rotatef(- Camera.Orientation, 0, 0, 1) > Gl.Translatef(- Camera.WorldX, - Camera.WorldY, 0) > > But then I need to translate the scene so that the camera is in the > center of the rendering window. I also can't figure out how to > arbitrarily scale the matrix to zoom in and out on the camera in this > sequence. I have this: > > Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) > > but its effects vary depending on where I place it. The reason it > multiplies by 128 is because each "tile" is 128 pixels, and each world > coordinate is one tile. I couldn't be more confused if I'd just been > shot in the head, so any help is greatly appreciated. > On 05/22/2012 03:02 AM, tommyline at ...2340... wrote: > Hi Kevin. > > There's plenty of issues you post, but first thing I would do would be: > > instead of: > > Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) > Gl.Rotatef(- Camera.Orientation, 0, 0, 1) > Gl.Translatef(- Camera.WorldX, - Camera.WorldY, 0) '<<-- you come back along different path here because > 'the world is turned along z-axis > > > try this: > > Gl.Translatef(Camera.WorldX, Camera.WorldY, 0) > gl.PushMatrix() '<-you save the world's coordinate here > > do all the drawing here > > gl.PopMatrix() '<-restore camera's original position. > > > > Doing gl.Rotatef() you turn GLOBAL coordinates, so if you do gl.Rotatef(90,0,0,1), your x an y axes are swapped, y becomes x, becomes -y, thus doing gl.Translatef(1,1,0) next in fact moves your object by (-1,1,0...I think:)) ). > That's for the moment, the rest we can discuss if you want. > > regards > > Tomek > Hi Tomek. I'm not sure that saving and loading the matrix will do the trick, but I don't really understand the implications of doing so either. I basically want to translate, scale and rotate the matrix so that the camera is always at the center of the render window and I can draw objects using their native world coordinates. The camera is pointing straight down at the ground (perpendicular to the landscape). Rotating the camera/matrix will spin the landscape with the camera being the origin, just like spinning a globe of Earth if the camera is pointing down at the north pole. It would look something like this: http://www.youtube.com/watch?v=mee_FiIQoEY If I do this below everything is perfect (including zoom) but it has no rotation: ' Rotate, translate and scale matrix. ScreenOffsetX = sWidth / 2 / 128 / Zoom.Current ScreenOffsetY = sHeight / 2 / 128 / Zoom.Current Gl.LoadIdentity() Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) Gl.Translatef(- Camera.WorldX + ScreenOffsetX, - Camera.WorldY + ScreenOffsetY, 0) Incorporating rotation rotates the scene but not around the camera. Using the above code and then rendering everything at its native world coordinates looks like this: http://eightvirtues.com/sanctimonia/misc/Everything%20But%20Rotation.ogv If necessary I can translate the matrix by (x,y) units which have been pre-rotated opposite the angle the matrix was rotated at. I can basically manually "undo" the matrix rotation if it needs to be translated post rotation, if that makes any sense. Some instinct inside me keeps nagging that I might need to do a trick like that to get it to work. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bespalov.av at ...626... Thu May 24 07:33:32 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Thu, 24 May 2012 12:33:32 +0700 Subject: [Gambas-user] How to run a webpage? In-Reply-To: References: <4FBA267B.9060801@...1...> Message-ID: Thank you. It works with lighttpd successfully. Only need remove first string "#!/usr/bin/env gbw3" from web-page. From bespalov.av at ...626... Thu May 24 07:41:11 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Thu, 24 May 2012 12:41:11 +0700 Subject: [Gambas-user] Is there anywhere hosting for gambas web? Message-ID: Is there anywhere hosting for gambas web? Do you know? I do not want to learn more php, pyhon, ... -- Alex. From bespalov.av at ...626... Thu May 24 08:58:44 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Thu, 24 May 2012 13:58:44 +0700 Subject: [Gambas-user] Gabmas web. How works with component? Message-ID: How works with component? for example Dim Con As New Connection *<% Dim Quere, sChet As String Dim Row, Col, i As Integer Dim $Result As Result Dim Con As New Connection %> * -- ____ Alex. From Gambas at ...1950... Thu May 24 09:14:20 2012 From: Gambas at ...1950... (Caveat) Date: Thu, 24 May 2012 09:14:20 +0200 Subject: [Gambas-user] Is there anywhere hosting for gambas web? In-Reply-To: References: Message-ID: <4FBDDFCC.6040507@...1950...> If you need to install a Gambas runtime (I'm guessing yes?), then you'll need a hosting service that lets you do that. Most hosting services that give you a complete (virtual) machine with root access should be fine. You'll need to make sure they don't give you a Windoze host of course LOL Regards, Caveat On 24/05/12 07:41, ??????? ???????? wrote: > Is there anywhere hosting for gambas web? > Do you know? > I do not want to learn more php, pyhon, ... > From bbruen at ...2308... Thu May 24 10:41:27 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 24 May 2012 18:11:27 +0930 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120523151909.GB614@...2774...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> Message-ID: <1337848887.19408.92.camel@...37...> On Wed, 2012-05-23 at 17:19 +0200, tobi wrote: > On Thu, 24 May 2012, Bruce wrote: > > On Mon, 2012-05-21 at 22:25 +0200, Beno?t Minisini wrote: > > > > > * Tree > > > * Graph > > > > > > Native implementation of that would be interesting. > > > > > > Any volunteer? :-) > > > > > I think trees are easily implemented directly in gambas using Emil's > > suggestions regarding object references as a general n-tree can be > > implemented as a B-tree using something like > > > > Class CNode > > public data as Variant > > public left as CNode > > public right as CNode > > Public Sub PreOrder() as Variant[] > > blah blah ... etc according to Mr Knuth > > End > > > > where "left" is the first child and "right" is the first sibling. Read > > Knuth Vol 3 for the truth (I had to go searching through the attic to > > find my copy.) > > > > Now Graphs are M U C H more interesting! > > > > Someone said that they couldn't think of a use for them. Well > > here's one, UML diagrams are all directed graphs. In fact much > > of OO thinking is actually (mathematically) directed graphs. > > Nodes and edges. From use cases through structural models, > > component models, in fact the whole she-bang. > > > > > > Getting back to trees. The funny thing is that I had a real need to > > construct a n-tree this week to solve a problem I had with populating a > > gambas treeview from a persistence store where the nodes where out of > > order, i.e. the parents were later in the storage than the children (the > > code is a hack and I choose not to share it.) Suffice to say that > > Demosthenes original post prompted me to go searching through the attic. > > > > .. found some interesting stuff, by the way .. (No, lets not go there.) > > > > Getting back to the point, I think a gb.datastructures component is an > > excellent idea. I can't help much on the dev side as I'm pretty poor at > > C/C++ (can "read only") and am totally lost with Benoit's macros but I'd > > be willing to put in much effort at testing and proving. Ah! Linked > > lists, how many times have I needed them and built them from scratch. > > > > Bruce > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hi, > > so what syntax did you desire for an n-tree then? You presented a b-tree above, this appears generic > to me... I certainly lack theory on those things. > > But shouldn't it be less annoying to get to level 3 than "Root.left.left.left" ? > There are a lot of purposes and designs of trees (graphs), right? To implement a certain idea would > not be too difficult but instead to implement only one of those as a generic tree (graph) which is > then able to be inherited and specialised, maybe in gambas, - that's what I find difficult (no > wonder without theory). > > Regards, > Tobi Hi Tobi, I probably didn't make it clear. "Any n-tree can be transformed into a b-tree where the left branch is the first child and the right branch is the first sibling." To be more correct I should have said "Any k-ary tree can be represented as a binary tree where the left branch is the first child and the right branch is the next sibling". The theory is in wikipedia here: http://en.wikipedia.org/wiki/Binary_tree#Encoding_general_trees_as_binary_trees. These binary trees have well known (Knuth and others) algrorithms for different actions to be used on the binary tree, insertions, deletions, (graft and prune), traversals in particular orders, searches, sorts etc etc. The application of a binary tree structure to suit a particular problem is a different matter. This is what you can use the tree for or how to apply the tree "structure" to solve a particular problem. In my case, which was a set of rows in a database containing a "data" component and a "parent" value that I was trying to populate a treeview with (1800 records) where the rows were out of order with respect to building the treeview. It was an n-level "table of contents" thing. Rather than try to traverse the database several times and resolve getting each toc level resolved, I just read the whole thing as a single db.result and created a binary tree of the above type, creating dummy parent nodes as soon as I had a need for them and setting their "data" to a placebo value. When I later located the real parent row in the db.result iteration all I had to do was replace the placebo value with the nodes real data. At the end of the db.result iteration, the treeview could be populated via a pre-order traversal of that tree. Bingo. Regarding your "root,left,left,left" annoyance. No that is the way you need to get to the first node at a particular level of the tree. But once you're there there is an algorithm for traversing the tree at that level, an in-order traverse. In fact I could have used the in-order traversal equally well to solve my problem. What I am saying regarding "it would be nice to have" these things in a gb.component is they could provide the structure and the fundamental algorithms. The application of those things to the problem at hand still requires an understanding of how such structures and methods can be used to solve that problem, but at least the underlying infrastructure would be there. Every time one of these problems pops up in my life I have to go find which gambas project it was where I created the structures and algorithms. The trouble is I only ever do the minimum necessary in a particular project. So if, for problem "x" I reckon that a binary tree in-order search is needed then which *^%$@ project did I use that last in, etc. etc. and then get wrapped up in the code for the tree itself rather than its' application to the problem at hand. I think that the binary tree structure only requires two classes, say "bintree" and "bintreenode". The bintree class contains the root node and all the basic algorithms. The bintreenode class is a dumb data and reference holder. Unlike what I inferred in my first post it has no algorithm methods, it is just a structure. I'd also hazard a guess that much of the code needed is already somewhere in gambas hiding in the Collection indexing code, all it needs is exposing! Bruce From tommyline at ...2340... Thu May 24 11:00:56 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Thu, 24 May 2012 10:00:56 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FBD9990.8040207@...1887...> Message-ID: <8623494.2337.1337850055977.JavaMail.root@...2632...> Hi Kevin. I think you should concider using Glu.LookAt function, which should solve all your problems. I used it in collision project (attached) to follow the ball. You just set the camera with few parameters, and that's it! Please check the command help in Gambas. Simply speaking, you define eye point's (x,y,z position - no need for scale or translate), point you look at and point where the top of camera is (by changing it, you rotate the world in front of you), so I think that would solve it. See the attached example to see how I did it. Press F3 to see how it works. >From glu man pages: NAME gluLookAt - define a viewing transformation C SPECIFICATION void gluLookAt( GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ ) PARAMETERS eyeX, eyeY, eyeZ Specifies the position of the eye point. centerX, centerY, centerZ Specifies the position of the reference point. upX, upY, upZ Specifies the direction of the up vector. DESCRIPTION gluLookAt creates a viewing matrix derived from an eye point, a reference point indicating the center of the scene, and an UP vector. The matrix maps the reference point to the negative z axis and the eye point to the origin. When a typical projection matrix is used, the center of the scene therefore maps to the center of the viewport. Similarly, the direction described by the UP vector projected onto the viewing plane is mapped to the positive y axis so that it points upward in the viewport. The UP vector must not be parallel to the line of sight from the eye point to the reference point. Let ( centerX - eyeX ) F = | | | centerY - eyeY | ( centerZ - eyeZ ) Let UP be the vector (upX,upY,upZ). Then normalize as follows: f = _____ ||F|| UP' = ______ ||UP|| Finally, let s = f x UP', and u = s x f. M is then constructed as follows: ( s[0] s[1] s[2] 0 ) | u[0] u[1] u[2] 0 | M = | | |-f[0] -f[1] -f[2] 0 | | 0 0 0 1 | ( ) and gluLookAt is equivalent to glMultMatrixf(M); glTranslated (-eyex, -eyey, -eyez); I hope I did help. Tomek. Hi Tomek. I'm not sure that saving and loading the matrix will do the trick, but I don't really understand the implications of doing so either. I basically want to translate, scale and rotate the matrix so that the camera is always at the center of the render window and I can draw objects using their native world coordinates. The camera is pointing straight down at the ground (perpendicular to the landscape). Rotating the camera/matrix will spin the landscape with the camera being the origin, just like spinning a globe of Earth if the camera is pointing down at the north pole. It would look something like this: http://www.youtube.com/watch?v=mee_FiIQoEY If I do this below everything is perfect (including zoom) but it has no rotation: ' Rotate, translate and scale matrix. ScreenOffsetX = sWidth / 2 / 128 / Zoom.Current ScreenOffsetY = sHeight / 2 / 128 / Zoom.Current Gl.LoadIdentity() Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) Gl.Translatef(- Camera.WorldX + ScreenOffsetX, - Camera.WorldY + ScreenOffsetY, 0) Incorporating rotation rotates the scene but not around the camera. Using the above code and then rendering everything at its native world coordinates looks like this: http://eightvirtues.com/sanctimonia/misc/Everything%20But%20Rotation.ogv If necessary I can translate the matrix by (x,y) units which have been pre-rotated opposite the angle the matrix was rotated at. I can basically manually "undo" the matrix rotation if it needs to be translated post rotation, if that makes any sense. Some instinct inside me keeps nagging that I might need to do a trick like that to get it to work. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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: col1-0.0.3.tar.gz Type: application/x-compressed-tar Size: 164859 bytes Desc: not available URL: From tobiasboege01 at ...1601... Thu May 24 11:07:21 2012 From: tobiasboege01 at ...1601... (tobi) Date: Thu, 24 May 2012 11:07:21 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <1337848887.19408.92.camel@...37...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> <1337848887.19408.92.camel@...37...> Message-ID: <20120524090720.GC615@...2774...> On Thu, 24 May 2012, Bruce wrote: > On Wed, 2012-05-23 at 17:19 +0200, tobi wrote: > > On Thu, 24 May 2012, Bruce wrote: > > > On Mon, 2012-05-21 at 22:25 +0200, Beno?t Minisini wrote: > > > > > > > * Tree > > > > * Graph > > > > > > > > Native implementation of that would be interesting. > > > > > > > > Any volunteer? :-) > > > > > > > I think trees are easily implemented directly in gambas using Emil's > > > suggestions regarding object references as a general n-tree can be > > > implemented as a B-tree using something like > > > > > > Class CNode > > > public data as Variant > > > public left as CNode > > > public right as CNode > > > Public Sub PreOrder() as Variant[] > > > blah blah ... etc according to Mr Knuth > > > End > > > > > > where "left" is the first child and "right" is the first sibling. Read > > > Knuth Vol 3 for the truth (I had to go searching through the attic to > > > find my copy.) > > > > > > Now Graphs are M U C H more interesting! > > > > > > Someone said that they couldn't think of a use for them. Well > > > here's one, UML diagrams are all directed graphs. In fact much > > > of OO thinking is actually (mathematically) directed graphs. > > > Nodes and edges. From use cases through structural models, > > > component models, in fact the whole she-bang. > > > > > > > > > Getting back to trees. The funny thing is that I had a real need to > > > construct a n-tree this week to solve a problem I had with populating a > > > gambas treeview from a persistence store where the nodes where out of > > > order, i.e. the parents were later in the storage than the children (the > > > code is a hack and I choose not to share it.) Suffice to say that > > > Demosthenes original post prompted me to go searching through the attic. > > > > > > .. found some interesting stuff, by the way .. (No, lets not go there.) > > > > > > Getting back to the point, I think a gb.datastructures component is an > > > excellent idea. I can't help much on the dev side as I'm pretty poor at > > > C/C++ (can "read only") and am totally lost with Benoit's macros but I'd > > > be willing to put in much effort at testing and proving. Ah! Linked > > > lists, how many times have I needed them and built them from scratch. > > > > > > Bruce > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Hi, > > > > so what syntax did you desire for an n-tree then? You presented a b-tree above, this appears generic > > to me... I certainly lack theory on those things. > > > > But shouldn't it be less annoying to get to level 3 than "Root.left.left.left" ? > > There are a lot of purposes and designs of trees (graphs), right? To implement a certain idea would > > not be too difficult but instead to implement only one of those as a generic tree (graph) which is > > then able to be inherited and specialised, maybe in gambas, - that's what I find difficult (no > > wonder without theory). > > > > Regards, > > Tobi > Hi Tobi, > > I probably didn't make it clear. > > "Any n-tree can be transformed into a b-tree where the left branch is > the first child and the right branch is the first sibling." To be more > correct I should have said "Any k-ary tree can be represented as a > binary tree where the left branch is the first child and the right > branch is the next sibling". The theory is in wikipedia here: > http://en.wikipedia.org/wiki/Binary_tree#Encoding_general_trees_as_binary_trees. > > These binary trees have well known (Knuth and others) algrorithms for > different actions to be used on the binary tree, insertions, deletions, > (graft and prune), traversals in particular orders, searches, sorts etc > etc. > > The application of a binary tree structure to suit a particular problem > is a different matter. This is what you can use the tree for or how to > apply the tree "structure" to solve a particular problem. > > In my case, which was a set of rows in a database containing a "data" > component and a "parent" value that I was trying to populate a treeview > with (1800 records) where the rows were out of order with respect to > building the treeview. It was an n-level "table of contents" thing. > > Rather than try to traverse the database several times and resolve > getting each toc level resolved, I just read the whole thing as a single > db.result and created a binary tree of the above type, creating dummy > parent nodes as soon as I had a need for them and setting their "data" > to a placebo value. When I later located the real parent row in the > db.result iteration all I had to do was replace the placebo value with > the nodes real data. > > At the end of the db.result iteration, the treeview could be populated > via a pre-order traversal of that tree. Bingo. > > Regarding your "root,left,left,left" annoyance. No that is the way you > need to get to the first node at a particular level of the tree. But > once you're there there is an algorithm for traversing the tree at that > level, an in-order traverse. In fact I could have used the in-order > traversal equally well to solve my problem. > > What I am saying regarding "it would be nice to have" these things in a > gb.component is they could provide the structure and the fundamental > algorithms. The application of those things to the problem at hand > still requires an understanding of how such structures and methods can > be used to solve that problem, but at least the underlying > infrastructure would be there. > > Every time one of these problems pops up in my life I have to go find > which gambas project it was where I created the structures and > algorithms. The trouble is I only ever do the minimum necessary in a > particular project. So if, for problem "x" I reckon that a binary tree > in-order search is needed then which *^%$@ project did I use that last > in, etc. etc. and then get wrapped up in the code for the tree itself > rather than its' application to the problem at hand. > > I think that the binary tree structure only requires two classes, say > "bintree" and "bintreenode". The bintree class contains the root node > and all the basic algorithms. The bintreenode class is a dumb data and > reference holder. Unlike what I inferred in my first post it has no > algorithm methods, it is just a structure. > > I'd also hazard a guess that much of the code needed is already > somewhere in gambas hiding in the Collection indexing code, all it needs > is exposing! > > Bruce > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user (Completely giving up anything I knew about binary trees now, because it wasn't much and it wasn't even from a book): You said that you can traverse from any node in the tree. Consequently every node has to provide such functionality. I don't deem it necessary to distinguish between root and other nodes. The code is only once there anyway. It could even have helped in your case to "em-parent" (sorry, not a native English speaker) a node that you formerly assumed to be the root like NewNode.Left = RootNode RootNode = NewNode As interesting as it sounds, I'm probably not the right person to work on this. I don't have much time for (I don't think so but from a pure conscientiousness point I need to prepare my A-level a bit) and nobody else wants to wait until I finish the theory ;) Regards, Tobi From bbruen at ...2308... Thu May 24 12:49:35 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 24 May 2012 20:19:35 +0930 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <20120524090720.GC615@...2774...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> <1337848887.19408.92.camel@...37...> <20120524090720.GC615@...2774...> Message-ID: <1337856575.19408.102.camel@...37...> On Thu, 2012-05-24 at 11:07 +0200, tobi wrote: > (Completely giving up anything I knew about binary trees now, because it wasn't much and it wasn't > even from a book): > You said that you can traverse from any node in the tree. No, any node can be considered as a root for a subtree. Anynode.parent provides what I think your saying. > Consequently every node has to provide > such functionality. (Aside, I think that separating the functionality from the node is the key of what I was trying to say. But that is a side issue.) > I don't deem it necessary to distinguish between root and other nodes. Only in that the "tree" happens to be a directed graph that has one special node. I told you graphs were interesting. > The codeis only once there anyway. It could even have helped in your case to "em-parent" (sorry, not a > native English speaker) a node that you formerly assumed to be the root like > > NewNode.Left = RootNode > RootNode = NewNode > > As interesting as it sounds, I'm probably not the right person to work on this. I don't have much > time for (I don't think so but from a pure conscientiousness point I need to prepare my A-level a > bit) and nobody else wants to wait until I finish the theory ;) > Having been born some time in the middle of the last century, I have no idea what an A-level is. I hope it's not painful. :-) > Regards, > Tobi and regards from me too! But if A-levels are what I think they are, I can recall thinking some 40 years ago, "calculus, as if I am ever going to need that in my life, ha!". Wrong. :-) Now get back to those books! From tobiasboege01 at ...1601... Thu May 24 13:34:29 2012 From: tobiasboege01 at ...1601... (tobi) Date: Thu, 24 May 2012 13:34:29 +0200 Subject: [Gambas-user] Data Structures like C++ In-Reply-To: <1337856575.19408.102.camel@...37...> References: <4FBA9CA8.80005@...626...> <4FBAA4B2.10709@...1...> <1337783727.19408.57.camel@...37...> <20120523151909.GB614@...2774...> <1337848887.19408.92.camel@...37...> <20120524090720.GC615@...2774...> <1337856575.19408.102.camel@...37...> Message-ID: <20120524113429.GD615@...2774...> On Thu, 24 May 2012, Bruce wrote: > On Thu, 2012-05-24 at 11:07 +0200, tobi wrote: > > > (Completely giving up anything I knew about binary trees now, because it wasn't much and it wasn't > > even from a book): > > You said that you can traverse from any node in the tree. > No, any node can be considered as a root for a subtree. Anynode.parent > provides what I think your saying. > > > Consequently every node has to provide > > such functionality. > (Aside, I think that separating the functionality from the node is the > key of what I was trying to say. But that is a side issue.) > What I, however, was trying to say is: every node can be the root of a tree and at the same time a node within another tree, in that point, we already met, right? So there has to be _one_ node class for the generic node above (that can possess both attributes) that implements methods which resemble the tree algorithms. That way we could have a basic tree datastructure - if it is that simple. This basic datastructure can be inherited, overridden, etc. If the node class is aware of these both attributes (being root node of a tree and itself node in a tree at the same time) one can easily concatenate trees and that's what I wanted to show with my code above. (Sorry if I re-invent the wheel here) What you were out for, if I got you right, was only providing a datastructure for nodes and a separate class with code to handle them? Like pluggable algorithms on the same structures? > > I don't deem it necessary to distinguish between root and other nodes. > Only in that the "tree" happens to be a directed graph that has one > special node. I told you graphs were interesting. > > > The codeis only once there anyway. It could even have helped in your case to "em-parent" (sorry, not a > > native English speaker) a node that you formerly assumed to be the root like > > > > NewNode.Left = RootNode > > RootNode = NewNode > > > > As interesting as it sounds, I'm probably not the right person to work on this. I don't have much > > time for (I don't think so but from a pure conscientiousness point I need to prepare my A-level a > > bit) and nobody else wants to wait until I finish the theory ;) > > > Having been born some time in the middle of the last century, I have no > idea what an A-level is. I hope it's not painful. :-) > > > Regards, > > Tobi > > and regards from me too! > > But if A-levels are what I think they are, I can recall thinking some 40 > years ago, "calculus, as if I am ever going to need that in my life, > ha!". > Wrong. :-) > > Now get back to those books! > > (Hrm, regarding your timezone you must be somewhere near Autralia...) The word can be another one down there, it is the highest school graduation level here and really far from painful, almost simplistic. But back to the topic. It would be nice if there was someone to implement that natively. I'm not going to promise anything but I have a book lying around here with a relatively short chapter on graphs (and trees) and almost half a week of holidays left... :) If only, it could be preliminary work to gb.datastructures (even if I find that the name could be improved) Regards, Tobi From gambas at ...2524... Thu May 24 17:40:08 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 24 May 2012 15:40:08 +0000 Subject: [Gambas-user] Issue 252 in gambas: Enumerating Param for constant strings memory leak. Message-ID: <0-6813199134517018827-14278376896956420500-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 252 by emil.len... at ...626...: Enumerating Param for constant strings memory leak. http://code.google.com/p/gambas/issues/detail?id=252 1) Describe the problem. This code results in "gbx3: warning: 2 allocation(s) non freed." since revision 4248. ' Gambas module file Public Function varargs(...) Dim v As Variant For Each v In Param Print v Next End Public Sub Main() varargs("Testing a problem string.") End According to Valgrind, the allocation stack backtrace is malloc my_malloc STRING_new VALUE_convert GB_ReturnConvVariant EXEC_native EXEC_special EXEC_enum_next EXEC_loop EXEC_function_real main 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4248 From jussi.lahtinen at ...626... Thu May 24 19:49:53 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 24 May 2012 20:49:53 +0300 Subject: [Gambas-user] New JIT Compiler In-Reply-To: <4FBD672E.8000307@...1...> References: <4FBD672E.8000307@...1...> Message-ID: Great work guys! Documentation still contains following sentence: "Gambas is an interpreted language, with no "just-in-time" or other compilation to native code at all." http://gambasdoc.org/help/doc/benchmark Jussi On 24 May 2012 01:39, Beno?t Minisini wrote: > Le 23/05/2012 22:20, Emil Lenngren a ?crit : > > Hi everybody. > > > > I've been working on a JIT-compiler for Gambas for some months, and I'm > now > > ready to release an alpha-version in the latest svn of Gambas. > > The compiler uses LLVM to produce machine code for x86 or x86_64. You > need > > LLVM on your computer for it to work, preferably the latest version from > > svn (3.0 from Ubuntu repos does not seem to work any well). Find more > > instructions in the README file. > > > > To use it, place the word "Fast" at the top of a Gambas Class file, for a > > class that you want all functions JIT-compiled instead of interpreted. > (At > > the moment you cannot make individual functions JIT-compiled, but that is > > limited by the gbc compiler.) > > > > As it takes some milliseconds for LLVM to emit machine code and do > > optimizations, you should only use it for functions you really need > > optimizations. > > > > As the JIT compiler analyses the whole function before execution starts, > > some extra type safety is added. In interpreter mode, you can normally do > > things like: > > Print "hello" > > Print 1.3 \ 5 > > and you will first see hello on the screen, and then an error message > > complaining you can't do integer division on floats. > > If you run the same function in the JIT compiler, the error message will > be > > thrown before execution starts instead, hopefully in order to make > programs > > less buggier. > > As a consequence, you can not have code like "Try Print 1.3 \ 5" either. > At > > the moment the incorrect line is reported in the error message... > > > > The best speed-ups will be in functions that use a lot of low-level > > calculations and control flows (except For Each loops), like functions > that > > do a lot of math. If the function mostly calls other libraries, you won't > > see speed-ups either. > > There are still the same overhead when calling functions, since the > gambas > > stack must be maintained as before, to make error handling work. > > Using Try/Catch is probably slightly slower too because a real exception > > handler must be set up. > > > > Something the LLVM optimizer is very good at is transforming a chain of > > if-else statements to a jump table, so code like: > > Select Case x > > Case 1: > > .. > > Case 2: > > .. > > Case 3: > > .. > > End Select > > will be much faster than before, so you don't have to use the "On Goto" > > syntax and a lot of labels. This will produce identical machine code. > > > > Most things are implemented, but there are still many bugs to fix. > > Some of the (so far) unimplemented features are > > Calling external C libraries (the Extern keyword). > > The use of "_unknown" special method. > > IIf and Choose with different argument data types. > > The possibility to use Component.Load to load functions that are executed > > right after in the same function. > > Profiling > > Breakpoints > > > > Some of the benchmarks from http://gambasdoc.org/help/doc/benchmark > > Polynom: 102.7 seconds to 4.7 seconds > > Primes: 18.3 seconds to 3.5 seconds > > Nbody: 16.0 seconds to 1.8 seconds > > > > If you are curious and want to see the optimized LLVM IR you can > uncomment > > the line M->dump() at the bottom of the jit_codegen.cpp file in > gb.jit/src. > > > > I hope the JIT compiler will be useful for you ;) > > > > /Emil > > I will put the contents of your mail in the wiki, under /doc/jit. Feel > free to complete this page! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 24 20:01:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 24 May 2012 20:01:32 +0200 Subject: [Gambas-user] New JIT Compiler In-Reply-To: References: <4FBD672E.8000307@...1...> Message-ID: <4FBE777C.8020504@...1...> Le 24/05/2012 19:49, Jussi Lahtinen a ?crit : > Great work guys! > > Documentation still contains following sentence: > "Gambas is an interpreted language, > with no "just-in-time" or other compilation to native code at all." > > http://gambasdoc.org/help/doc/benchmark > > > Jussi > > Fixed! -- Beno?t Minisini From jussi.lahtinen at ...626... Thu May 24 21:24:28 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 24 May 2012 22:24:28 +0300 Subject: [Gambas-user] New feature in Gambas 3 In-Reply-To: <4FBD45B8.1040607@...1...> References: <4FB78ADB.3070800@...1...> <4FBA978A.4010608@...1...> <4FBD45B8.1040607@...1...> Message-ID: Unfortunately I still got the signal 6 with rev 4772. Xubuntu 12.04 64bit. *** buffer overflow detected ***: ProfilerBug terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f4d30bcc007] /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f4d30bcaf00] /lib/x86_64-linux-gnu/libc.so.6(+0x107369)[0x7f4d30bca369] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xdd)[0x7f4d30b3ebcd] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x4ff)[0x7f4d30b0ab7f] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x7f4d30bca404] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f4d30bca34d] /usr/local/lib/gambas3/gb.debug.so(+0x3d11)[0x7f4d308bfd11] /usr/local/lib/gambas3/gb.debug.so(+0x3dd3)[0x7f4d308bfdd3] ProfilerBug[0x434829] ProfilerBug[0x40a412] ProfilerBug[0x40aab1] ProfilerBug[0x41e841] ProfilerBug[0x41ef7a] /usr/local/lib/gambas3/gb.gtk.so(+0x5fd1b)[0x7f4d2f790d1b] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0xfeca)[0x7f4d2e09deca] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x421)[0x7f4d2e0b6741] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f4d2e0b7242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8e845)[0x7f4d2ef50845] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x132)[0x7f4d2e09dca2] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21179)[0x7f4d2e0af179] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd79)[0x7f4d2e0b7099] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f4d2e0b7242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8d66d)[0x7f4d2ef4f66d] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x136dd8)[0x7f4d2eff8dd8] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x132)[0x7f4d2e09dca2] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21339)[0x7f4d2e0af339] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xa5e)[0x7f4d2e0b6d7e] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f4d2e0b7242] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x251191)[0x7f4d2f113191] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc3)[0x7f4d2eff6f63] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x283)[0x7f4d2eff72c3] /usr/local/lib/gambas3/gb.gtk.so(+0x68c8b)[0x7f4d2f799c8b] /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5bcac)[0x7f4d2ec6bcac] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x16a)[0x7f4d2dde0c9a] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48060)[0x7f4d2dde1060] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7f4d2dde1124] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_iteration_do+0x1d)[0x7f4d2eff655d] /usr/local/lib/gambas3/gb.gtk.so(+0x66b9e)[0x7f4d2f797b9e] /usr/local/lib/gambas3/gb.gtk.so(+0x66c0d)[0x7f4d2f797c0d] ProfilerBug[0x404694] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f4d30ae476d] ProfilerBug[0x404785] ======= Memory map: ======== 00400000-0044b000 r-xp 00000000 08:02 392780 /usr/local/bin/gbx3 0064a000-0064b000 r--p 0004a000 08:02 392780 /usr/local/bin/gbx3 0064b000-00655000 rw-p 0004b000 08:02 392780 /usr/local/bin/gbx3 00655000-00658000 rw-p 00000000 00:00 0 01c01000-01df9000 rw-p 00000000 00:00 0 [heap] 7f4d26595000-7f4d265a1000 r-xp 00000000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7f4d265a1000-7f4d267a0000 ---p 0000c000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7f4d267a0000-7f4d267a1000 r--p 0000b000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7f4d267a1000-7f4d267a2000 rw-p 0000c000 08:02 784975 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7f4d267a2000-7f4d267e4000 r-xp 00000000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7f4d267e4000-7f4d269e4000 ---p 00042000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7f4d269e4000-7f4d269e5000 r--p 00042000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7f4d269e5000-7f4d269e6000 rw-p 00043000 08:02 791426 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 7f4d269e6000-7f4d269fc000 r-xp 00000000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f4d269fc000-7f4d26bfb000 ---p 00016000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f4d26bfb000-7f4d26bfc000 r--p 00015000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f4d26bfc000-7f4d26bfd000 rw-p 00016000 08:02 397123 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f4d26bfd000-7f4d26c25000 r-xp 00000000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7f4d26c25000-7f4d26e24000 ---p 00028000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7f4d26e24000-7f4d26e25000 r--p 00027000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7f4d26e25000-7f4d26e26000 rw-p 00028000 08:02 786721 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7f4d26e26000-7f4d26e6a000 r-xp 00000000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7f4d26e6a000-7f4d27069000 ---p 00044000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7f4d27069000-7f4d2706b000 r--p 00043000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7f4d2706b000-7f4d2706c000 rw-p 00045000 08:02 398884 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.401.0 7f4d2706c000-7f4d2706d000 rw-p 00000000 00:00 0 7f4d2706d000-7f4d27073000 r-xp 00000000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7f4d27073000-7f4d27272000 ---p 00006000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7f4d27272000-7f4d27273000 r--p 00005000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7f4d27273000-7f4d27274000 rw-p 00006000 08:02 523786 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so 7f4d27274000-7f4d27276000 r-xp 00000000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f4d27276000-7f4d27475000 ---p 00002000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f4d27475000-7f4d27476000 r--p 00001000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f4d27476000-7f4d27477000 rw-p 00002000 08:02 1047984 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f4d27477000-7f4d27483000 r-xp 00000000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7f4d27483000-7f4d27682000 ---p 0000c000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7f4d27682000-7f4d27683000 r--p 0000b000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7f4d27683000-7f4d27684000 rw-p 0000c000 08:02 553804 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so 7f4d27684000-7f4d2768a000 r-xp 00000000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f4d2768a000-7f4d27889000 ---p 00006000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f4d27889000-7f4d2788a000 r--p 00005000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f4d2788a000-7f4d2788b000 rw-p 00006000 08:02 395710 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f4d2788b000-7f4d278b6000 r-xp 00000000 08:02 393392 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7f4d278b6000-7f4d27ab5000 ---p 0002b000 08:02 393392 /usr/lib/x86_64- Jussi On 23 May 2012 23:16, Beno?t Minisini wrote: > Le 23/05/2012 18:49, Jussi Lahtinen a ?crit : > > There is bug... if I try to trigger profiling with System.Profile = True > > (option Activate profiling is not selected), > > Gambas crashes with signal 6. > > > > It should be fixed in revision #4761. Now System.Profile is ignored if > the project has not been started in profiling mode. > > But I'm not sure that if you stop profiling in one function and start it > again in another one, the IDE will be able to interpret the profiling > file... I know that it works if both actions occur in the same function. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu May 24 21:51:31 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 24 May 2012 22:51:31 +0300 Subject: [Gambas-user] Bug with rev 4772 Message-ID: Hi! I tried to start one of my project with new revision, but nothing showed up (there should be window which tells about initialization progress). So, I tried to run it with gdb to see what is going on. Interpreter is in loop and so I cannot get anything from it, so I killed it. Unfortunately I cannot provide the source. I hope you get the picture from backtrace. (gdb) run Starting program: /usr/local/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". bt Program received signal SIGTERM, Terminated. 0x00007fffec956020 in gdk_screen_get_setting at ...2854... () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (gdb) bt #0 0x00007fffec956020 in gdk_screen_get_setting at ...2854... () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #1 0x00007fffeca8fe73 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #2 0x00007ffff2b4d93e in g_object_get_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #3 0x00007ffff2b4dd97 in g_object_get () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #4 0x00007ffff52b3786 in QGtkStyle::pixelMetric(QStyle::PixelMetric, QStyleOption const*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #5 0x00007ffff52f3717 in QAbstractButton::iconSize() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #6 0x00007ffff5381daf in QPushButton::initStyleOption(QStyleOptionButton*) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #7 0x00007ffff53827b0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #8 0x00007ffff5382afb in QPushButton::QPushButton(QWidget*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #9 0x00007ffff61b594a in MyPushButton::MyPushButton (this=0x1aa14690, parent=) at CButton.cpp:527 #10 0x00007ffff61b5a3e in CBUTTON_new (_object=0x1aa3bc88, _param=) at CButton.cpp:56 #11 0x000000000040b298 in EXEC_native () at gbx_exec.c:1304 #12 0x000000000040ba09 in EXEC_special (special=, class=, object=, nparam=1, drop=1 '\001') at gbx_exec.c:1612 #13 0x000000000040bddd in EXEC_special_inheritance (special=0, class=0x67ae48, object=0x1aa3bc88, nparam=1, drop=1 '\001') at gbx_exec.c:1767 #14 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 #15 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 #16 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 #17 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 #18 0x000000000040bc90 in EXEC_special_inheritance (special=0, class=0x92fd78, object=0x1aa0f058, nparam=0, drop=1 '\001') at gbx_exec.c:1720 #19 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 #20 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 #21 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 #22 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 #23 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) at gbx_class_load.c:1234 #24 0x0000000000411b31 in CLASS_load_real (class=0x751e68) at gbx_class_load.c:1269 #25 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed60, pclass=0x7fffffe1daf0, pobject=0x7fffffe1daf8) at gbx_exec.c:1496 #28 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 #29 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 #30 0x000000000040bc90 in EXEC_special_inheritance (special=0, class=0x92f238, object=0x1a9eba78, nparam=0, drop=1 '\001') at gbx_exec.c:1720 #31 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 #32 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 #33 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 #34 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 #35 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) at gbx_class_load.c:1234 #36 0x0000000000411b31 in CLASS_load_real (class=0x751e68) at gbx_class_load.c:1269 #37 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed00, pclass=0x7fffffe1e230, pobject=0x7fffffe1e238) at gbx_exec.c:1496 #38 0x000000000040c5b4 in EXEC_push_unknown (code=1024) at gbx_exec_push.c:65 #39 0x0000000000433c68 in EXEC_loop () at gbx_exec_loop.c:574 #40 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 #41 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 #42 0x000000000040bc90 in EXEC_special_inheritance (special=0, class=0x92f238, object=0x1a9879f8, nparam=0, drop=1 '\001') at gbx_exec.c:1720 #43 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 #44 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 #45 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 Jussi PS. I think I need to reboot, that caused Xorg to hog 3.6G of memory! From sebikul at ...626... Fri May 25 00:19:07 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 24 May 2012 19:19:07 -0300 Subject: [Gambas-user] JIT on archlinux fails to build Message-ID: Hi, I tried building the JIT component under archlinux. I had to slightly patch the configure.ac file to pass the configure tests. Currently, as a rolling release distribution, it uses llvm 3.1. With the attached patch applied, it configures and builds properly. Thanks a lot for all your work, really!! -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-jit.patch Type: application/octet-stream Size: 924 bytes Desc: not available URL: From emil.lenngren at ...626... Fri May 25 00:26:03 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 25 May 2012 00:26:03 +0200 Subject: [Gambas-user] JIT on archlinux fails to build In-Reply-To: References: Message-ID: Hi Does someone here know a good way in automake scripts to make the llvm linking work in "all" distributions? I can't manage to get llvm-config to print out the correct .so file. /Emil 2012/5/25 Sebastian Kulesz > Hi, I tried building the JIT component under archlinux. I had to > slightly patch the configure.ac file to pass the configure tests. > Currently, as a rolling release distribution, it uses llvm 3.1. With > the attached patch applied, it configures and builds properly. > > Thanks a lot for all your work, really!! > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sebikul at ...626... Fri May 25 01:05:45 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 24 May 2012 20:05:45 -0300 Subject: [Gambas-user] JIT on archlinux fails to build In-Reply-To: References: Message-ID: Maybe the best thing to do is ask on the llvm mailing list. There must be a way. Talking about the component. I tested it on several classes in a project. The performance gain is clearly noted, but i'm having a lot of crashes and error messages. I would like to know how can I upload the output, enable debugging, or do any other thing to help debug the JIT compiler. Most of the look like this: Branch condition is not 'i1' type! br i8 %332, label %block106, label %block53 %332 = call i8 @EXEC_enum_next(i16 0) Broken module found, compilation aborted! Stack dump: 0. Running pass 'Function Pass Manager' on module 'jit_mod'. 1. Running pass 'Module Verifier' on function '@func_3_Icons_5' On Thu, May 24, 2012 at 7:26 PM, Emil Lenngren wrote: > Hi > > Does someone here know a good way in automake scripts to make the llvm > linking work in "all" distributions? I can't manage to get llvm-config to > print out the correct .so file. > > /Emil > > 2012/5/25 Sebastian Kulesz > >> Hi, I tried building the JIT component under archlinux. I had to >> slightly patch the configure.ac file to pass the configure tests. >> Currently, as a rolling release distribution, it uses llvm 3.1. With >> the attached patch applied, it configures and builds properly. >> >> Thanks a lot for all your work, really!! >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri May 25 01:07:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 25 May 2012 01:07:41 +0200 Subject: [Gambas-user] JIT on archlinux fails to build In-Reply-To: References: Message-ID: <4FBEBF3D.3030108@...1...> Le 25/05/2012 00:26, Emil Lenngren a ?crit : > Hi > > Does someone here know a good way in automake scripts to make the llvm > linking work in "all" distributions? I can't manage to get llvm-config to > print out the correct .so file. > > /Emil > A few points: 1) You must assume that llvm-config is in PATH. Not having a configuration program in PATH makes it completely useless. 2) You must use llvm-config for getting *all* flags: flags for the C++ preprocessor, flags for the compiler, flags for the linker, and libraries to link, by specifying to that command which "llvm engine" you need. I don't know exactly which engine you need ("jit" ?). 3) On my freshly compiled llvm-3.2svn, llvm-config will never link to that shared library, but to a lot of static "*.a" libraries. 4) So I guess that this shared library is all these *.a static libraries put into one big shared library. 5) That shared library cannot be used on Linux, because its name is not standard, and the "make install" command did not install it correctly. A shared library must follow a precise naming standard (for example libLLVM.3.2.0.so), and have many symbolic links (libLLVM.3.2.so libLLVM.so). A compiled program is linked against libLLVM.so. 6) By not following that standard, llvm means that libLLVM-3.0, libLLVM-3.1 and libLLVM-3.2 are completely different libraries. Why not? But then all these libraries should be able to be installed at the same time on the system. I can have GTK+2 and GTK+3 on the same system, I can have Qt3 and Qt4 on the same system, and so on... But this is not the case for llvm: the headers are installed in /usr/include/llvm, which is version independant. Maybe we should go to the llvm site and search for answers to all these questions. At the moment, there is no way to write a simple configure.ac file for gb.jit, unless I write a dedicated M4 macro for it. Regards, -- Beno?t Minisini From emil.lenngren at ...626... Fri May 25 01:19:55 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 25 May 2012 01:19:55 +0200 Subject: [Gambas-user] JIT on archlinux fails to build In-Reply-To: References: Message-ID: Try revision 4774, it should solve that bug. You can use the environmental variable GB_JIT=info to make LLVM dump out the optimized code. To debug how the code looks like before optimization passes, you have to uncomment a line //M->dump() in gb.jit/src/jit_codegen.cpp. Enumerating classes is apparently not that good implemented yet.. /Emil 2012/5/25 Sebastian Kulesz > Maybe the best thing to do is ask on the llvm mailing list. There must be > a way. > > Talking about the component. I tested it on several classes in a > project. The performance gain is clearly noted, but i'm having a lot > of crashes and error messages. > > I would like to know how can I upload the output, enable debugging, or > do any other thing to help debug the JIT compiler. Most of the look > like this: > > Branch condition is not 'i1' type! > br i8 %332, label %block106, label %block53 > %332 = call i8 @EXEC_enum_next(i16 0) > Broken module found, compilation aborted! > Stack dump: > 0. Running pass 'Function Pass Manager' on module 'jit_mod'. > 1. Running pass 'Module Verifier' on function '@func_3_Icons_5' > > On Thu, May 24, 2012 at 7:26 PM, Emil Lenngren > wrote: > > Hi > > > > Does someone here know a good way in automake scripts to make the llvm > > linking work in "all" distributions? I can't manage to get llvm-config to > > print out the correct .so file. > > > > /Emil > > > > 2012/5/25 Sebastian Kulesz > > > >> Hi, I tried building the JIT component under archlinux. I had to > >> slightly patch the configure.ac file to pass the configure tests. > >> Currently, as a rolling release distribution, it uses llvm 3.1. With > >> the attached patch applied, it configures and builds properly. > >> > >> Thanks a lot for all your work, really!! > >> > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Fri May 25 01:23:29 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 25 May 2012 01:23:29 +0200 Subject: [Gambas-user] JIT on archlinux fails to build In-Reply-To: References: Message-ID: No, try revision 4775 ;) 2012/5/25 Emil Lenngren > Try revision 4774, it should solve that bug. > > You can use the environmental variable GB_JIT=info to make LLVM dump out > the optimized code. To debug how the code looks like before optimization > passes, you have to uncomment a line //M->dump() in > gb.jit/src/jit_codegen.cpp. > > Enumerating classes is apparently not that good implemented yet.. > > /Emil > > 2012/5/25 Sebastian Kulesz > >> Maybe the best thing to do is ask on the llvm mailing list. There must be >> a way. >> >> Talking about the component. I tested it on several classes in a >> project. The performance gain is clearly noted, but i'm having a lot >> of crashes and error messages. >> >> I would like to know how can I upload the output, enable debugging, or >> do any other thing to help debug the JIT compiler. Most of the look >> like this: >> >> Branch condition is not 'i1' type! >> br i8 %332, label %block106, label %block53 >> %332 = call i8 @EXEC_enum_next(i16 0) >> Broken module found, compilation aborted! >> Stack dump: >> 0. Running pass 'Function Pass Manager' on module 'jit_mod'. >> 1. Running pass 'Module Verifier' on function '@func_3_Icons_5' >> >> On Thu, May 24, 2012 at 7:26 PM, Emil Lenngren >> wrote: >> > Hi >> > >> > Does someone here know a good way in automake scripts to make the llvm >> > linking work in "all" distributions? I can't manage to get llvm-config >> to >> > print out the correct .so file. >> > >> > /Emil >> > >> > 2012/5/25 Sebastian Kulesz >> > >> >> Hi, I tried building the JIT component under archlinux. I had to >> >> slightly patch the configure.ac file to pass the configure tests. >> >> Currently, as a rolling release distribution, it uses llvm 3.1. With >> >> the attached patch applied, it configures and builds properly. >> >> >> >> Thanks a lot for all your work, really!! >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> Discussions >> >> will include endpoint security, mobile security and the latest in >> malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> > >> ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> Discussions >> > will include endpoint security, mobile security and the latest in >> malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From kevinfishburne at ...1887... Fri May 25 07:53:58 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 25 May 2012 01:53:58 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <8623494.2337.1337850055977.JavaMail.root@...2632...> References: <8623494.2337.1337850055977.JavaMail.root@...2632...> Message-ID: <4FBF1E76.3080509@...1887...> On 05/24/2012 05:00 AM, tommyline at ...2340... wrote: > > Hi Kevin. > I think you should concider using Glu.LookAt function, which should solve all your problems. > > I used it in collision project (attached) to follow the ball. > You just set the camera with few parameters, and that's it! Please check the command help in Gambas. > Simply speaking, you define eye point's (x,y,z position - no need for scale or translate), point you look at and point where the top of camera is (by changing it, you rotate the world in front of you), so I think that would solve it. See the attached example to see how I did it. Press F3 to see how it works. > > > From glu man pages: > > NAME > gluLookAt - define a viewing transformation > > > C SPECIFICATION > void gluLookAt( GLdouble eyeX, > GLdouble eyeY, > GLdouble eyeZ, > GLdouble centerX, > GLdouble centerY, > GLdouble centerZ, > GLdouble upX, > GLdouble upY, > GLdouble upZ ) > > > PARAMETERS > eyeX, eyeY, eyeZ > Specifies the position of the eye point. > > centerX, centerY, centerZ > Specifies the position of the reference > point. > > upX, upY, upZ Specifies the direction of the up vector. > > DESCRIPTION > gluLookAt creates a viewing matrix derived from an eye > point, a reference point indicating the center of the scene, > and an UP vector. > > The matrix maps the reference point to the negative z axis > and the eye point to the origin. When a typical projection > matrix is used, the center of the scene therefore maps to > the center of the viewport. Similarly, the direction > described by the UP vector projected onto the viewing plane > is mapped to the positive y axis so that it points upward in > the viewport. The UP vector must not be parallel to the > line of sight from the eye point to the reference point. > > Let > > ( centerX - eyeX ) > F = | | > | centerY - eyeY | > ( centerZ - eyeZ ) > > Let UP be the vector (upX,upY,upZ). > > Then normalize as follows: f = _____ > ||F|| > > UP' = ______ > ||UP|| > > Finally, let s = f x UP', and u = s x f. > > M is then constructed as follows: > ( s[0] s[1] s[2] 0 ) > | u[0] u[1] u[2] 0 | > M = | | > |-f[0] -f[1] -f[2] 0 | > | 0 0 0 1 | > ( ) > and gluLookAt is equivalent to glMultMatrixf(M); > glTranslated (-eyex, -eyey, -eyez); > > I hope I did help. > > Tomek. > Cool little program. I posted here as well about the issue: http://www.opengl.org/discussion_boards/showthread.php/177719-Matrix-scale-rotation-and-translation-with-repsect-to-2D-camera and someone had the same idea about using GluLookAt(). I'm still stuck on the camera rotation though. I need it to spin perpendicular to the direction it's pointing, like tilting your head to the side but 360 degrees. I think I understand that I need to apply the camera's orientation to the "up vector", but don't really know how to go about it. I don't think it's a matter of just plugging the orientation into one of the three vector values. Any insight into how exactly the up vector works in this regard? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From tommyline at ...2340... Fri May 25 16:58:43 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Fri, 25 May 2012 15:58:43 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FBF1E76.3080509@...1887...> Message-ID: <24530102.8782.1337957923740.JavaMail.root@...2632...> Hi Kevin, I attach simple project that uses glu.lookat and rotates around a point on the floor. Try it and tell if it's what you're looking for. Tomek ----- Original Message ----- From: "Kevin Fishburne" To: gambas-user at lists.sourceforge.net Sent: Friday, 25 May, 2012 6:53:58 AM Subject: Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic On 05/24/2012 05:00 AM, tommyline at ...2340... wrote: > > Hi Kevin. > I think you should concider using Glu.LookAt function, which should solve all your problems. > > I used it in collision project (attached) to follow the ball. > You just set the camera with few parameters, and that's it! Please check the command help in Gambas. > Simply speaking, you define eye point's (x,y,z position - no need for scale or translate), point you look at and point where the top of camera is (by changing it, you rotate the world in front of you), so I think that would solve it. See the attached example to see how I did it. Press F3 to see how it works. > > > From glu man pages: > > NAME > gluLookAt - define a viewing transformation > > > C SPECIFICATION > void gluLookAt( GLdouble eyeX, > GLdouble eyeY, > GLdouble eyeZ, > GLdouble centerX, > GLdouble centerY, > GLdouble centerZ, > GLdouble upX, > GLdouble upY, > GLdouble upZ ) > > > PARAMETERS > eyeX, eyeY, eyeZ > Specifies the position of the eye point. > > centerX, centerY, centerZ > Specifies the position of the reference > point. > > upX, upY, upZ Specifies the direction of the up vector. > > DESCRIPTION > gluLookAt creates a viewing matrix derived from an eye > point, a reference point indicating the center of the scene, > and an UP vector. > > The matrix maps the reference point to the negative z axis > and the eye point to the origin. When a typical projection > matrix is used, the center of the scene therefore maps to > the center of the viewport. Similarly, the direction > described by the UP vector projected onto the viewing plane > is mapped to the positive y axis so that it points upward in > the viewport. The UP vector must not be parallel to the > line of sight from the eye point to the reference point. > > Let > > ( centerX - eyeX ) > F = | | > | centerY - eyeY | > ( centerZ - eyeZ ) > > Let UP be the vector (upX,upY,upZ). > > Then normalize as follows: f = _____ > ||F|| > > UP' = ______ > ||UP|| > > Finally, let s = f x UP', and u = s x f. > > M is then constructed as follows: > ( s[0] s[1] s[2] 0 ) > | u[0] u[1] u[2] 0 | > M = | | > |-f[0] -f[1] -f[2] 0 | > | 0 0 0 1 | > ( ) > and gluLookAt is equivalent to glMultMatrixf(M); > glTranslated (-eyex, -eyey, -eyez); > > I hope I did help. > > Tomek. > Cool little program. I posted here as well about the issue: http://www.opengl.org/discussion_boards/showthread.php/177719-Matrix-scale-rotation-and-translation-with-repsect-to-2D-camera and someone had the same idea about using GluLookAt(). I'm still stuck on the camera rotation though. I need it to spin perpendicular to the direction it's pointing, like tilting your head to the side but 360 degrees. I think I understand that I need to apply the camera's orientation to the "up vector", but don't really know how to go about it. I don't think it's a matter of just plugging the orientation into one of the three vector values. Any insight into how exactly the up vector works in this regard? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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: kevin-0.0.1.tar.gz Type: application/x-compressed-tar Size: 116752 bytes Desc: not available URL: From tobiasboege01 at ...1601... Fri May 25 23:15:33 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 25 May 2012 23:15:33 +0200 Subject: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component In-Reply-To: <20120520164353.GA614@...2774...> References: <4FB90332.30305@...1...> <20120520164353.GA614@...2774...> Message-ID: <20120525211533.GE1483@...2774...> On Sun, 20 May 2012, tobi wrote: > On Sun, 20 May 2012, Beno?t Minisini wrote: > > Le 20/05/2012 16:26, William Cabrera a ?crit : > > > Hi, I have been testing the component ncurses and so far everything well, > > > but the functions mentioned in the title simply do not work. Below is a > > > sample code: > > > > > > #!/usr/bin/env gbs3 > > > > > > USE "gb.ncurses" > > > > > > dim hwin As Window > > > dim cadena, cad as string > > > cadena = "Hola Mundo" > > > cad = left(cadena) > > > hwin = New Window(0, 0, 20, 30) > > > hwin.Background = Color.Blue > > > hwin.show() > > > hwin.Full() > > > hwin.print(right$(cadena), 0, 0) > > > hwin.print(right$(cadena, 3), 0, 1) > > > hwin.print(right$(cadena, -3), 0, 2) > > > hwin.print(left$(cadena), 0, 3) > > > hwin.print(left$(cadena, 3), 0, 4) > > > hwin.print(left$(cadena, -3), 0, 5) > > > hwin.print(mid$(cadena, 2, 2), 0, 6) > > > hwin.WaitKey() > > > > > > And this is the output > > > > > > o > > > ndo > > > a Mundo > > > Hola Mundo > > > Hola Mundo > > > Hola Mundo > > > ola Mundo > > > > > > [System] > > > OperatingSystem=Linux > > > Kernel=3.2.0-1-686-pae > > > Architecture=i686 > > > Memory=2065228 kB > > > DistributionVendor=Asturix > > > DistributionRelease="Asturix 4" > > > Desktop=Gnome > > > > > > [Gambas 3] > > > Version=3.1.90 > > > Path=/usr/local/bin/gbx3 > > > > > > [Libraries] > > > Qt4=libQtCore.so.4.8.1 > > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > > > > P.D. Sorry for my english, this is not my native language > > > > > > ------ > > > William Cabrera > > > http://willicab.gnu.org.ve > > > > This is a bug in the gb.ncurses component whose methods do not read > > their string arguments correctly. Tobi are you here? > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I'm here and working! Sorry, haven't read the subject entirely when I first saw the incoming mail... > > So you expect this output in the window, right?: > > o > ndo > a Mundo > H > Hol > Hola Mu > ol > > So my question bounces to Beno?t: It's said in the docs that the three string functions used above > are optimised so that they don't duplicate strings. Does that mean or is it a general fact that I > cannot rely on the STRING() macro to extract a NUL-terminated string from a given GB_STRING > argument? At least there doesn't seem to be a NUL byte which causes the component to print > everything that follows until the end of the original string... > Brief explanation and after lunch, it's done. > > Regards, > Tobi There was an accumulation of changes due to an unfinished feature but I finally commited the fix for that issue - component is still broken. Printing should work as expected now. But don't try to use events in the meantime until. However, thank you for pointing that out. Regards, Tobi From kevinfishburne at ...1887... Sat May 26 07:59:51 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 26 May 2012 01:59:51 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <24530102.8782.1337957923740.JavaMail.root@...2632...> References: <24530102.8782.1337957923740.JavaMail.root@...2632...> Message-ID: <4FC07157.8000204@...1887...> On 05/25/2012 10:58 AM, tommyline at ...2340... wrote: > Hi Kevin, > > I attach simple project that uses glu.lookat and rotates around a point on the floor. Try it and tell if it's what you're looking for. > > Tomek Yes, that's what I'm looking for. I boiled that program down to the up vector for Glu.LookAt() being computed by using the Sin() and Cos() of the angle for two of the vector components while leaving the third static. After finding the right values for the up vector I was able to make the program render the scene with zoom and rotation, however the camera is in the upper-left corner of the screen instead of at its center. The code and video that does that is here: ' Calculate offsets to center of screen. ScreenOffsetX = sWidth / 2 / 128 / Zoom.Current ScreenOffsetY = sHeight / 2 / 128 / Zoom.Current ' Increment test rotation. test += 0.01 ' Assign values to up vector. UpVec1 = Sin(test) UpVec2 = Cos(test) UpVec3 = 0 ' Scale the matrix. Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) ' Set the camera position and orientation. 'Glu.LookAt(Camera.WorldX + ScreenOffsetX, Camera.WorldY + ScreenOffsetY, 1, Camera.WorldX + ScreenOffsetX, Camera.WorldY + ScreenOffsetY, 0, UpVec1, UpVec2, UpVec3) Glu.LookAt(Camera.WorldX, Camera.WorldY, 1, Camera.WorldX, Camera.WorldY, 0, UpVec1, UpVec2, UpVec3) http://eightvirtues.com/sanctimonia/misc/X%20Marks%20the%20Wrong%20Spot.ogv Notice in the commented out Glu.LookAt() I have the screen offsets which center the scene on my camera (the X rendered on the map is the camera's world coordinates). When I include the screen offsets the rotation provided by Glu.LookAt() is using some other origin and not my camera. It appears as though the origin is the upper-left corner of the screen, and looks like this: http://eightvirtues.com/sanctimonia/misc/Screen%20Offset%20Fail.ogv I saw several posts stating that using Gl.Ortho() would allow the center of the screen to be used as the origin, but my implementations of it had no effect other than rendering nothing when the near and far clipping values were set to unequal values. Hopefully these details will inspire some sort of epiphany or insight, as I'm about to go crazy, haha. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Sat May 26 12:05:34 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 26 May 2012 19:35:34 +0930 Subject: [Gambas-user] Sidepanel handles Message-ID: <1338026734.7211.5.camel@...37...> I don't know when this happened but the side panel "handles" seem to have disappeared. This is in both gui's. Well, they are actually there but are only about one pixel high? In the attached pic the cursor changes to the "finger" when I finally get it over the micro-handle. Did I miss something? Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: Where's the handles gone?_012.png Type: image/png Size: 57281 bytes Desc: not available URL: From gambas at ...1... Sat May 26 12:46:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 26 May 2012 12:46:47 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <1338026734.7211.5.camel@...37...> References: <1338026734.7211.5.camel@...37...> Message-ID: <4FC0B497.6020300@...1...> Le 26/05/2012 12:05, Bruce a ?crit : > I don't know when this happened but the side panel "handles" seem to > have disappeared. This is in both gui's. > > Well, they are actually there but are only about one pixel high? In the > attached pic the cursor changes to the "finger" when I finally get it > over the micro-handle. > > Did I miss something? > > Bruce > Yep, "invisible" side panels are not perfect yet. They are too invisible. :-) When the side panel is opened, the moving area is bug enough to be catched, and the hide buttons appears if you move the mouse on the left or right part of the moving area. But when the side panel is closed, it is only one pixel high. I want the hide buttons to appear on top of them to be easily catched, but this is not so easy to implement. -- Beno?t Minisini From bbruen at ...2308... Sat May 26 13:10:26 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 26 May 2012 20:40:26 +0930 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <4FC0B497.6020300@...1...> References: <1338026734.7211.5.camel@...37...> <4FC0B497.6020300@...1...> Message-ID: <1338030626.7211.9.camel@...37...> On Sat, 2012-05-26 at 12:46 +0200, Beno?t Minisini wrote: > Le 26/05/2012 12:05, Bruce a ?crit : > > I don't know when this happened but the side panel "handles" seem to > > have disappeared. This is in both gui's. > > > > Well, they are actually there but are only about one pixel high? In the > > attached pic the cursor changes to the "finger" when I finally get it > > over the micro-handle. > > > > Did I miss something? > > > > Bruce > > > > Yep, "invisible" side panels are not perfect yet. They are too > invisible. :-) > > When the side panel is opened, the moving area is bug enough to be > catched, and the hide buttons appears if you move the mouse on the left > or right part of the moving area. > > But when the side panel is closed, it is only one pixel high. I want the > hide buttons to appear on top of them to be easily catched, but this is > not so easy to implement. > Hmm. And the "Do Not Make Side Panels Invisible To People Over 58 Years Old" Option is where? :-! Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: face-smirk.png Type: image/png Size: 1062 bytes Desc: not available URL: From bbruen at ...2308... Sat May 26 16:31:25 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 27 May 2012 00:01:25 +0930 Subject: [Gambas-user] Profiler Message-ID: <1338042685.7211.16.camel@...37...> Beno?t, Any chance of getting the line numbers displayed in the function output from the profiler? (Also, but less importantly, could it please display "1" instead of nothing in the "Calls" column if the line was at least executed. It is difficult to discern whether or not a line was executed.) Bruce From tommyline at ...2340... Sat May 26 19:17:06 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Sat, 26 May 2012 18:17:06 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FC07157.8000204@...1887...> Message-ID: <26722253.3420.1338052625984.JavaMail.root@...2632...> Oooooops! I just realized, you use Gl.Ortho mode. That means Glu.LookAt is not for you, I spent few hours trying to figure out how to make it work in ortho, but I can't. It behaves like mad, no matter what origin you set up. Sorry, that's one of the reasons I use perspective mode. I suppose the rotation in 2D is made by rotating world's vertexes, rather than camera, but I can be wrong. Sorry for misunderstending you. Tomek ----- Original Message ----- From: "Kevin Fishburne" To: "mailing list for gambas users" Sent: Saturday, 26 May, 2012 6:59:51 AM Subject: Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic On 05/25/2012 10:58 AM, tommyline at ...2340... wrote: > Hi Kevin, > > I attach simple project that uses glu.lookat and rotates around a point on the floor. Try it and tell if it's what you're looking for. > > Tomek Yes, that's what I'm looking for. I boiled that program down to the up vector for Glu.LookAt() being computed by using the Sin() and Cos() of the angle for two of the vector components while leaving the third static. After finding the right values for the up vector I was able to make the program render the scene with zoom and rotation, however the camera is in the upper-left corner of the screen instead of at its center. The code and video that does that is here: ' Calculate offsets to center of screen. ScreenOffsetX = sWidth / 2 / 128 / Zoom.Current ScreenOffsetY = sHeight / 2 / 128 / Zoom.Current ' Increment test rotation. test += 0.01 ' Assign values to up vector. UpVec1 = Sin(test) UpVec2 = Cos(test) UpVec3 = 0 ' Scale the matrix. Gl.Scalef(128 * Zoom.Current, 128 * Zoom.Current, 1) ' Set the camera position and orientation. 'Glu.LookAt(Camera.WorldX + ScreenOffsetX, Camera.WorldY + ScreenOffsetY, 1, Camera.WorldX + ScreenOffsetX, Camera.WorldY + ScreenOffsetY, 0, UpVec1, UpVec2, UpVec3) Glu.LookAt(Camera.WorldX, Camera.WorldY, 1, Camera.WorldX, Camera.WorldY, 0, UpVec1, UpVec2, UpVec3) http://eightvirtues.com/sanctimonia/misc/X%20Marks%20the%20Wrong%20Spot.ogv Notice in the commented out Glu.LookAt() I have the screen offsets which center the scene on my camera (the X rendered on the map is the camera's world coordinates). When I include the screen offsets the rotation provided by Glu.LookAt() is using some other origin and not my camera. It appears as though the origin is the upper-left corner of the screen, and looks like this: http://eightvirtues.com/sanctimonia/misc/Screen%20Offset%20Fail.ogv I saw several posts stating that using Gl.Ortho() would allow the center of the screen to be used as the origin, but my implementations of it had no effect other than rendering nothing when the near and far clipping values were set to unequal values. Hopefully these details will inspire some sort of epiphany or insight, as I'm about to go crazy, haha. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat May 26 19:42:15 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 26 May 2012 19:42:15 +0200 Subject: [Gambas-user] Profiler In-Reply-To: <1338042685.7211.16.camel@...37...> References: <1338042685.7211.16.camel@...37...> Message-ID: <4FC115F7.3020508@...1...> Le 26/05/2012 16:31, Bruce a ?crit : > Beno?t, > > Any chance of getting the line numbers displayed in the function output > from the profiler? > > (Also, but less importantly, could it please display "1" instead of > nothing in the "Calls" column if the line was at least executed. It is > difficult to discern whether or not a line was executed.) > > Bruce > Fixed in revision #4782. Line numbers are displayed according to the global option. Regards, -- Beno?t Minisini From vuott at ...325... Sun May 27 01:11:35 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 27 May 2012 00:11:35 +0100 (BST) Subject: [Gambas-user] Not clear project management with subversion In-Reply-To: <4FBD8511.2020200@...1...> Message-ID: <1338073895.46334.YahooMailClassic@...2758...> Hello Beno?t, someone in the italian community of Gambas programmers (www.gambas-it.org) has posed the following problem: it's not clear project management with subversion, especially with version Gambas-3. As we know, every project creates a directory structure and file base, but already with Gambas2 it seemed that the management of some of these svn folders and some files would create several problems, which sometimes resolved completely recreating the repository. What our friend wants to know is: what are the paths that can be included in a subversion repository and, if necessary, such as files. The dialog box, that Gambas3 shows to update the subversion repository, shows a statement at the top and in bold, indicating that there may be non-versioned files, but does not specify which ones. Well, I'll communicate to him your answer. Thanks Vuottttt From gambas at ...1... Sun May 27 01:22:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 27 May 2012 01:22:08 +0200 Subject: [Gambas-user] Not clear project management with subversion In-Reply-To: <1338073895.46334.YahooMailClassic@...2758...> References: <1338073895.46334.YahooMailClassic@...2758...> Message-ID: <4FC165A0.1030401@...1...> Le 27/05/2012 01:11, Ru Vuott a ?crit : > Hello Beno?t, > > someone in the italian community of Gambas programmers (www.gambas-it.org) has posed the following problem: it's not clear project management with subversion, especially with version Gambas-3. > > As we know, every project creates a directory structure and file base, but already with Gambas2 it seemed that the management of some of these svn folders and some files would create several problems, which sometimes resolved completely recreating the repository. > > What our friend wants to know is: what are the paths that can be included in a subversion repository and, if necessary, such as files. > > The dialog box, that Gambas3 shows to update the subversion repository, shows a statement at the top and in bold, indicating that there may be non-versioned files, but does not specify which ones. > > > Well, I'll communicate to him your answer. > Thanks >Vuottttt > You must put in the subversion repository all non-generated files. To know whic files are generated or not, use the "Clear project" menu entry. After having run this command, all remaining files in the project directory can be put in the repository. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Sun May 27 08:14:31 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 27 May 2012 02:14:31 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <26722253.3420.1338052625984.JavaMail.root@...2632...> References: <26722253.3420.1338052625984.JavaMail.root@...2632...> Message-ID: <4FC1C647.9030400@...1887...> On 05/26/2012 01:17 PM, tommyline at ...2340... wrote: > Oooooops! > > I just realized, you use Gl.Ortho mode. That means Glu.LookAt is not for you, I spent few hours trying to figure out how to make it work in ortho, but I can't. It behaves like mad, no matter what origin you set up. Sorry, that's one of the reasons I use perspective mode. I suppose the rotation in 2D is made by rotating world's vertexes, rather than camera, but I can be wrong. > Sorry for misunderstending you. > > Tomek > That's it man, now I'm finding out where you live and leaving a bag of rotten shrimp in your mailbox. ;) Alright, I'm done with ortho for now and have switched to perspective. Amazingly it worked nearly perfectly on the first attempt but one weird thing is happening: UpVec1 = Sin(Rad(Camera.Orientation)) UpVec2 = Cos(Rad(Camera.Orientation)) UpVec3 = 0 Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.MatrixMode(Gl.MODELVIEW) Gl.LoadIdentity() Glu.LookAt(Camera.WorldX, Camera.WorldY, 10, Camera.WorldX, Camera.WorldY, 0, UpVec1, UpVec2, UpVec3) It appears as though the scene is being rendered vertically inverted, like taking a screenshot and flipping it vertically in GIMP. Moving left/right works but moving up/down is backward. I tried experimenting with the up vector and eye/center Z parameters for Glu.LookAt with no success. I'll continue researching and experimenting but throw me a bone if you've seen this before. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun May 27 08:25:43 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 27 May 2012 02:25:43 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FC1C647.9030400@...1887...> References: <26722253.3420.1338052625984.JavaMail.root@...2632...> <4FC1C647.9030400@...1887...> Message-ID: <4FC1C8E7.9080708@...1887...> On 05/27/2012 02:14 AM, Kevin Fishburne wrote: > On 05/26/2012 01:17 PM, tommyline at ...2340... wrote: >> Oooooops! >> >> I just realized, you use Gl.Ortho mode. That means Glu.LookAt is not for you, I spent few hours trying to figure out how to make it work in ortho, but I can't. It behaves like mad, no matter what origin you set up. Sorry, that's one of the reasons I use perspective mode. I suppose the rotation in 2D is made by rotating world's vertexes, rather than camera, but I can be wrong. >> Sorry for misunderstending you. >> >> Tomek >> > > That's it man, now I'm finding out where you live and leaving a bag of > rotten shrimp in your mailbox. ;) > > Alright, I'm done with ortho for now and have switched to perspective. > Amazingly it worked nearly perfectly on the first attempt but one weird > thing is happening: > > UpVec1 = Sin(Rad(Camera.Orientation)) > UpVec2 = Cos(Rad(Camera.Orientation)) > UpVec3 = 0 > > Gl.MatrixMode(Gl.PROJECTION) > Gl.LoadIdentity() > Glu.Perspective(45, sWidth / sHeight, -1, 1) > > Gl.MatrixMode(Gl.MODELVIEW) > Gl.LoadIdentity() > > Glu.LookAt(Camera.WorldX, Camera.WorldY, 10, Camera.WorldX, > Camera.WorldY, 0, UpVec1, UpVec2, UpVec3) > > It appears as though the scene is being rendered vertically inverted, > like taking a screenshot and flipping it vertically in GIMP. Moving > left/right works but moving up/down is backward. I tried experimenting > with the up vector and eye/center Z parameters for Glu.LookAt with no > success. I'll continue researching and experimenting but throw me a bone > if you've seen this before. > I'll be damned. I think I got it. Looks like applying a certain scale transformation to the projection matrix does it: Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.Scalef(1, -1, 1) Thanks for all your help. Hopefully I can move forward with this under my own power and not have to bother the list again for a while. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From tommyline at ...2340... Sun May 27 08:40:15 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Sun, 27 May 2012 07:40:15 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FC1C647.9030400@...1887...> Message-ID: <3350165.196.1338100815430.JavaMail.root@...2632...> Ok, first - you've got perspective range as Glu.Perspective(45, sWidth / sHeight, -1, 1) <- should be positve and bigger ie. Glu.Perspective(45, sWidth / sHeight, 0.1, 500) or even more if the world is big. second - you're too low over the ground, thus the world is kind of "flipped", increase eyez in glu.LookAt(). See it it works, then we can sort out the rest. Tomek ----- Original Message ----- From: "Kevin Fishburne" To: gambas-user at lists.sourceforge.net Sent: Sunday, 27 May, 2012 7:14:31 AM Subject: Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic On 05/26/2012 01:17 PM, tommyline at ...2340... wrote: > Oooooops! > > I just realized, you use Gl.Ortho mode. That means Glu.LookAt is not for you, I spent few hours trying to figure out how to make it work in ortho, but I can't. It behaves like mad, no matter what origin you set up. Sorry, that's one of the reasons I use perspective mode. I suppose the rotation in 2D is made by rotating world's vertexes, rather than camera, but I can be wrong. > Sorry for misunderstending you. > > Tomek > That's it man, now I'm finding out where you live and leaving a bag of rotten shrimp in your mailbox. ;) Alright, I'm done with ortho for now and have switched to perspective. Amazingly it worked nearly perfectly on the first attempt but one weird thing is happening: UpVec1 = Sin(Rad(Camera.Orientation)) UpVec2 = Cos(Rad(Camera.Orientation)) UpVec3 = 0 Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.MatrixMode(Gl.MODELVIEW) Gl.LoadIdentity() Glu.LookAt(Camera.WorldX, Camera.WorldY, 10, Camera.WorldX, Camera.WorldY, 0, UpVec1, UpVec2, UpVec3) It appears as though the scene is being rendered vertically inverted, like taking a screenshot and flipping it vertically in GIMP. Moving left/right works but moving up/down is backward. I tried experimenting with the up vector and eye/center Z parameters for Glu.LookAt with no success. I'll continue researching and experimenting but throw me a bone if you've seen this before. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tommyline at ...2340... Sun May 27 08:51:08 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Sun, 27 May 2012 07:51:08 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FC1C8E7.9080708@...1887...> Message-ID: <16171409.233.1338101468774.JavaMail.root@...2632...> A quote from NeHe tutorial: "We push the matrix (which basically saves the position of everything on the screen) and use glScalef(1.0f,-1.0f,1.0f) to flip the object upside down (creating a real looking reflection). Setting the y value of glScalef({x},{y},{z}) to a negative value forces OpenGL to render opposite on the y-axis. It's almost like flipping the entire screen upside down. When position an object at a positive value on the y-axis, it will appear at the bottom of the screen instead of at the top. When you rotate an object towards yourself, it will rotate away from you. Everything will be mirrored on the y-axis until you pop the matrix or set the y value back to 1.0f instead of -1.0f using glScalef({x},{y},{z})" Maybe it could help you understand what and why is happening there. Tomek I'll be damned. I think I got it. Looks like applying a certain scale transformation to the projection matrix does it: Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.Scalef(1, -1, 1) Thanks for all your help. Hopefully I can move forward with this under my own power and not have to bother the list again for a while. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From kevinfishburne at ...1887... Sun May 27 09:12:46 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 27 May 2012 03:12:46 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <3350165.196.1338100815430.JavaMail.root@...2632...> References: <3350165.196.1338100815430.JavaMail.root@...2632...> Message-ID: <4FC1D3EE.2020008@...1887...> On 05/27/2012 02:40 AM, tommyline at ...2340... wrote: > Ok, > > first - you've got perspective range as > > Glu.Perspective(45, sWidth / sHeight, -1, 1)<- should be positve and bigger ie. Glu.Perspective(45, sWidth / sHeight, 0.1, 500) or even more if the world is big. > > second - you're too low over the ground, thus the world is kind of "flipped", increase eyez in glu.LookAt(). > > See it it works, then we can sort out the rest. > > Tomek Yeah, I am a bit confused about the "near" and "far" clipping range values. My maximum world dimensions are 65536x65536 feet with the elevation in inches represented by a short, or -2730 to 2730 feet (32768/12). I'm guessing the near value should be around 2730 and the far value should be around -2730 then? Things are starting to get pretty exciting, as all my data was already "3D", just my rendering looked like an old JRPG. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From tommyline at ...2340... Sun May 27 09:29:55 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Sun, 27 May 2012 08:29:55 +0100 (IST) Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <4FC1D3EE.2020008@...1887...> Message-ID: <10349458.392.1338103795420.JavaMail.root@...2632...> Simply speaking, "near" and "far" clipping planes is something like two vertical planes in front of your eyes, and the view is rendered between them. Like hologram generator. Both of the planes must be in front of you, so "near" must be greater than 0, the"far" depends on how far you want to see your world. Let's say you set "far" as 20 and see the rectangle which is 100 units deep, you will see only 20 units of it (but in the view direction - if not rotated, in Z direction). In your case "near" is always in front of your eyes, so set it as 0.1, "far" should be big enough to see quite a lot of the world if it rotates plus elevation over it, I'd say 5000 should be enough, but you have to check it to be sure. As for missing parts of the world, the best trick to hide it is to use fog on very low settings, so it makes nice blurr, but doesn't affect close range picture. Tomek ----- Original Message ----- From: "Kevin Fishburne" To: gambas-user at lists.sourceforge.net Sent: Sunday, 27 May, 2012 8:12:46 AM Subject: Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic On 05/27/2012 02:40 AM, tommyline at ...2340... wrote: > Ok, > > first - you've got perspective range as > > Glu.Perspective(45, sWidth / sHeight, -1, 1)<- should be positve and bigger ie. Glu.Perspective(45, sWidth / sHeight, 0.1, 500) or even more if the world is big. > > second - you're too low over the ground, thus the world is kind of "flipped", increase eyez in glu.LookAt(). > > See it it works, then we can sort out the rest. > > Tomek Yeah, I am a bit confused about the "near" and "far" clipping range values. My maximum world dimensions are 65536x65536 feet with the elevation in inches represented by a short, or -2730 to 2730 feet (32768/12). I'm guessing the near value should be around 2730 and the far value should be around -2730 then? Things are starting to get pretty exciting, as all my data was already "3D", just my rendering looked like an old JRPG. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From kevinfishburne at ...1887... Sun May 27 10:02:53 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 27 May 2012 04:02:53 -0400 Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic In-Reply-To: <10349458.392.1338103795420.JavaMail.root@...2632...> References: <10349458.392.1338103795420.JavaMail.root@...2632...> Message-ID: <4FC1DFAD.8000706@...1887...> On 05/27/2012 03:29 AM, tommyline at ...2340... wrote: > Simply speaking, "near" and "far" clipping planes is something like two vertical planes in front of your eyes, and the view is rendered between them. Like hologram generator. Both of the planes must be in front of you, so "near" must be greater than 0, > the"far" depends on how far you want to see your world. Let's say you set "far" as 20 and see the rectangle which is 100 units deep, you will see only 20 units of it (but in the view direction - if not rotated, in Z direction). In your case "near" is always in front of your eyes, so set it as 0.1, "far" should be big enough to see quite a lot of the world if it rotates plus elevation over it, I'd say 5000 should be enough, but you have to check it to be sure. > As for missing parts of the world, the best trick to hide it is to use fog on very low settings, so it makes nice blurr, but doesn't affect close range picture. > > Tomek Ah. Now it makes sense. I kept thinking the near plane had to be behind the camera to "make sure" close objects were rendered. I just figured out how to freely switch between ortho and projection modes so I can draw pixel-presice OSD's as well as the 3D scene: Public Sub Mode_Ortho() ' Set OpenGL matrices to orthogonal mode. Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Ortho2D(0, sWidth, 0, sHeight) Gl.Scalef(1, -1, 1) End Public Sub Mode_Perspective() ' Set OpenGL matrices to perspective mode. Gl.MatrixMode(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.Scalef(1, -1, 1) End Lovely. I'm reworking the code now to migrate existing features to the new hybrid ortho/perspective setup. Should look much improved in a few days, "2.5D" as they say. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Mon May 28 01:13:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 May 2012 23:13:14 +0000 Subject: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only Message-ID: <0-6813199134517018827-16987846535652209861-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 253 by xakep... at ...626...: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 I'm trying to make my project use the GTK++ toolkit only to reduce the dependencies for it and I'm unable to get rid of the QT4 dependencies. After building a package with PKGBUILD (https://github.com/fluxer/PKGBUILDs/blob/master/ccg/PKGBUILD) and installing it on other system without gambas3-gb-form, gambas3-gb-gui and gambas3-gb-qt4 the executable fails to run with error "gbr3: no such project file in '/usr/bin/CCG ." even tough I've removed the need for those components via the IDE. The project was not initially created to be used with GTK++ toolkit only, could this be the problem? Version: 3.1.1 Operating system: Linux Distribution: Arch Linux Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Openbox My project is hosted on GitHub.com so if you feel the need you can review the source by visiting https://github.com/fluxer/CCG From gambas at ...2524... Mon May 28 01:16:25 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 May 2012 23:16:25 +0000 Subject: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only In-Reply-To: <0-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> Comment #1 on issue 253 by xakep... at ...626...: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 Oops, forgot to change GUI components: gb, gb.form, gb.gtk, gb.image, gb.settings From gambas at ...2524... Mon May 28 10:09:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 May 2012 08:09:12 +0000 Subject: [Gambas-user] Issue 252 in gambas: Enumerating Param for constant strings memory leak. In-Reply-To: <0-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 252 by benoit.m... at ...626...: Enumerating Param for constant strings memory leak. http://code.google.com/p/gambas/issues/detail?id=252 Fixed in revision #4788. From gambas at ...2524... Mon May 28 10:10:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 May 2012 08:10:12 +0000 Subject: [Gambas-user] Issue 252 in gambas: Enumerating Param for constant strings memory leak. In-Reply-To: <1-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> <0-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14278376896956420500-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 252 by benoit.m... at ...626...: Enumerating Param for constant strings memory leak. http://code.google.com/p/gambas/issues/detail?id=252 (No comment was entered for this change.) From gambas at ...2524... Mon May 28 10:11:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 May 2012 08:11:12 +0000 Subject: [Gambas-user] Issue 225 in gambas: No prepared statements In-Reply-To: <2-6813199134517018827-17777353086911863535-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17777353086911863535-gambas=googlecode.com@...2524...> <0-6813199134517018827-17777353086911863535-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17777353086911863535-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #3 on issue 225 by benoit.m... at ...626...: No prepared statements http://code.google.com/p/gambas/issues/detail?id=225 (No comment was entered for this change.) From gambas at ...1... Mon May 28 13:52:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 28 May 2012 13:52:49 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <1338030626.7211.9.camel@...37...> References: <1338026734.7211.5.camel@...37...> <4FC0B497.6020300@...1...> <1338030626.7211.9.camel@...37...> Message-ID: <4FC36711.1000107@...1...> Le 26/05/2012 13:10, Bruce a ?crit : > On Sat, 2012-05-26 at 12:46 +0200, Beno?t Minisini wrote: > >> Le 26/05/2012 12:05, Bruce a ?crit : >>> I don't know when this happened but the side panel "handles" seem to >>> have disappeared. This is in both gui's. >>> >>> Well, they are actually there but are only about one pixel high? In the >>> attached pic the cursor changes to the "finger" when I finally get it >>> over the micro-handle. >>> >>> Did I miss something? >>> >>> Bruce >>> >> >> Yep, "invisible" side panels are not perfect yet. They are too >> invisible. :-) >> >> When the side panel is opened, the moving area is bug enough to be >> catched, and the hide buttons appears if you move the mouse on the left >> or right part of the moving area. >> >> But when the side panel is closed, it is only one pixel high. I want the >> hide buttons to appear on top of them to be easily catched, but this is >> not so easy to implement. >> > > Hmm. And the "Do Not Make Side Panels Invisible To People Over 58 Years > Old" Option is where? :-! > Bruce > > Is it more usable for you with revision #4787? -- Beno?t Minisini From bbruen at ...2308... Mon May 28 14:15:55 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 28 May 2012 21:45:55 +0930 Subject: [Gambas-user] Is there some way to make JIT disabled by default? Message-ID: <1338207355.4095.7.camel@...37...> This is one of "those" situations. I have tried the JIT stuff with the latest llvm and yes it is good. BUT! I use two other pieces of software, a stats (R) application and a neural network library that don't like the new llvm library. So I've removed it and gone back to an older working version. The only trouble is I keep forgetting where I have to disable jit in the reconf-all;configure;make song and can never remember the syntax anyway. So it ends up enabled and then the build fails. So, as good as it is, is there a way to make it disabled by default? ??? Bruce From bbruen at ...2308... Mon May 28 14:26:57 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 28 May 2012 21:56:57 +0930 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <4FC36711.1000107@...1...> References: <1338026734.7211.5.camel@...37...> <4FC0B497.6020300@...1...> <1338030626.7211.9.camel@...37...> <4FC36711.1000107@...1...> Message-ID: <1338208017.4095.13.camel@...37...> On Mon, 2012-05-28 at 13:52 +0200, Beno?t Minisini wrote: > Is it more usable for you with revision #4787? Well, a bit but not a great deal. :-( The grab handle is a little bit more visible, but both the bottom and left (oh and right too!) side panel handles are still too close to the window handles in openbox. The expand handles are at least more "grabbable" when the panel is closed, but then again the hide handles are still the old size and damned hard to find. Just as a matter of interest, what was wrong with the old way? Bruce From emil.lenngren at ...626... Mon May 28 14:45:57 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 28 May 2012 14:45:57 +0200 Subject: [Gambas-user] Is there some way to make JIT disabled by default? In-Reply-To: <1338207355.4095.7.camel@...37...> References: <1338207355.4095.7.camel@...37...> Message-ID: You mean that llvm is not available on your system but the configure scripts thinks it is and then fails? In what way does the neural network library "not like" llvm? gb.jit component is not loaded at all if there are no "Fast" methods in your project. /Emil 2012/5/28 Bruce > This is one of "those" situations. > > I have tried the JIT stuff with the latest llvm and yes it is good. > > BUT! > > I use two other pieces of software, a stats (R) application and a neural > network library that don't like the new llvm library. So I've removed it > and gone back to an older working version. The only trouble is I keep > forgetting where I have to disable jit in the reconf-all;configure;make > song and can never remember the syntax anyway. So it ends up enabled and > then the build fails. > > So, as good as it is, is there a way to make it disabled by default? > > ??? > Bruce > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Mon May 28 15:09:28 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 28 May 2012 22:39:28 +0930 Subject: [Gambas-user] Is there some way to make JIT disabled by default? In-Reply-To: References: <1338207355.4095.7.camel@...37...> Message-ID: <1338210568.4095.34.camel@...37...> On Mon, 2012-05-28 at 14:45 +0200, Emil Lenngren wrote: > You mean that llvm is not available on your system but the configure > scripts thinks it is and then fails? No, there is one installed (llvm 2.9)! Which, from the jit mail threads, is obviously too old for gambas. > In what way does the neural network library "not like" llvm? gb.jit > component is not loaded at all if there are no "Fast" methods in your > project. We use the NN library in projects "outside the gambas universe" :-) So, it's not a matter of gambas and "Fast", I was using "library" in the wider sense. It's just a matter that within the gambas universe, I can after some retries, swearing and other religious observances remember to use "./configure -C --disable-jit" But never mind, I'm posting this just so I can remember or find it next time. Bruce From jussi.lahtinen at ...626... Mon May 28 17:04:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 28 May 2012 18:04:52 +0300 Subject: [Gambas-user] Is there some way to make JIT disabled by default? In-Reply-To: <1338207355.4095.7.camel@...37...> References: <1338207355.4095.7.camel@...37...> Message-ID: Use compile script, then you just have to remember to double click it. Jussi On 28 May 2012 15:15, Bruce wrote: > This is one of "those" situations. > > I have tried the JIT stuff with the latest llvm and yes it is good. > > BUT! > > I use two other pieces of software, a stats (R) application and a neural > network library that don't like the new llvm library. So I've removed it > and gone back to an older working version. The only trouble is I keep > forgetting where I have to disable jit in the reconf-all;configure;make > song and can never remember the syntax anyway. So it ends up enabled and > then the build fails. > > So, as good as it is, is there a way to make it disabled by default? > > ??? > Bruce > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Mon May 28 18:58:43 2012 From: ea7dfh at ...2382... (Jesus) Date: Mon, 28 May 2012 18:58:43 +0200 Subject: [Gambas-user] Can't get gb.media compiled Message-ID: <4FC3AEC3.4080807@...2382...> It's sure I'm missing something obvious, but I can't get to compile gb.media. Which development packages should I install? This is the log trying to configure *just* gb.media: jesus at ...57...:~/trunk/gb.media$ pkg-config --modversion gstreamer-0.10 0.10.30 jesus at ...57...:~/trunk/gb.media$ pkg-config --cflags gstreamer-0.10 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 jesus at ...57...:~/trunk/gb.media$ svn update Se restituy? 'gambas.h' Se restituy? 'm4' Se restituy? 'AUTHORS' Se restituy? 'gb_common.h' Se restituy? 'ChangeLog' Se restituy? 'README' Se restituy? 'component.am' Se restituy? 'configure.ac' Se restituy? 'INSTALL' Se restituy? 'acinclude.m4' Se restituy? 'COPYING' Se restituy? 'Makefile.am' Se restituy? 'missing' Se restituy? 'NEWS' Se restituy? 'reconf' A src A src/c_mediaplayer.c A src/c_media.c A src/c_mediaplayer.h A src/main.c A src/c_media.h A src/gb.media.component A src/Makefile.am A src/main.h Actualizado a la revisi?n 4788. jesus at ...57...:~/trunk/gb.media$ ./reconf autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 --install autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory `.' jesus at ...57...:~/trunk/gb.media$ ./configure -C configure: creating cache config.cache checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for getpt... yes checking for cfmakeraw... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.media component with pkg-config... no configure: WARNING: gb.media is disabled configure: updating cache config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands || || gb.media is disabled || jesus at ...57...:~/trunk/gb.media$ uname -a Linux debian 2.6.32-5-686 #1 SMP Sat May 5 01:33:08 UTC 2012 i686 GNU/Linux jesus at ...57...:~/trunk/gb.media$ Thanks! -- Jesus Guardon From gambas at ...1... Mon May 28 19:35:08 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 28 May 2012 19:35:08 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <1338208017.4095.13.camel@...37...> References: <1338026734.7211.5.camel@...37...> <4FC0B497.6020300@...1...> <1338030626.7211.9.camel@...37...> <4FC36711.1000107@...1...> <1338208017.4095.13.camel@...37...> Message-ID: <4FC3B74C.5070103@...1...> Le 28/05/2012 14:26, Bruce a ?crit : > On Mon, 2012-05-28 at 13:52 +0200, Beno?t Minisini wrote: >> Is it more usable for you with revision #4787? > > > Well, a bit but not a great deal. :-( The grab handle is a little bit > more visible, but both the bottom and left (oh and right too!) side > panel handles are still too close to the window handles in openbox. > > The expand handles are at least more "grabbable" when the panel is > closed, but then again the hide handles are still the old size and > damned hard to find. > > Just as a matter of interest, what was wrong with the old way? > Bruce > It took some place on the screen. So I wanted to try if I can remove the space between the SidePanel inner and the outside invisible. I think it works when the SidePanel is open: you can close it by finding the handle or double-clicking in the separation (or with the keyboard in the IDE). You find the expand handles usable, but not the closing ones. But AFAIK, there are the same size. Can you provide me some screenshots and show me exactly what is wrong with that for you? -- Beno?t Minisini From lordheavym at ...626... Mon May 28 19:35:33 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 28 May 2012 19:35:33 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4FC3AEC3.4080807@...2382...> References: <4FC3AEC3.4080807@...2382...> Message-ID: <2580174.l0iBJnrdXt@...2592...> Le lundi 28 mai 2012 18:58:43 Jesus a ?crit : > It's sure I'm missing something obvious, but I can't get to compile > gb.media. Which development packages should I install? > > This is the log trying to configure *just* gb.media: > > jesus at ...57...:~/trunk/gb.media$ pkg-config --modversion gstreamer-0.10 > 0.10.30 > jesus at ...57...:~/trunk/gb.media$ pkg-config --cflags gstreamer-0.10 > -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 > > > jesus at ...57...:~/trunk/gb.media$ svn update > Se restituy? 'gambas.h' > Se restituy? 'm4' > Se restituy? 'AUTHORS' > Se restituy? 'gb_common.h' > Se restituy? 'ChangeLog' > Se restituy? 'README' > Se restituy? 'component.am' > Se restituy? 'configure.ac' > Se restituy? 'INSTALL' > Se restituy? 'acinclude.m4' > Se restituy? 'COPYING' > Se restituy? 'Makefile.am' > Se restituy? 'missing' > Se restituy? 'NEWS' > Se restituy? 'reconf' > A src > A src/c_mediaplayer.c > A src/c_media.c > A src/c_mediaplayer.h > A src/main.c > A src/c_media.h > A src/gb.media.component > A src/Makefile.am > A src/main.h > Actualizado a la revisi?n 4788. > > > jesus at ...57...:~/trunk/gb.media$ ./reconf > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal -I m4 --install > autoreconf: configure.ac: tracing > autoreconf: running: libtoolize --copy > autoreconf: running: /usr/bin/autoconf > autoreconf: running: /usr/bin/autoheader > autoreconf: running: automake --add-missing --copy --no-force > autoreconf: Leaving directory `.' > > > jesus at ...57...:~/trunk/gb.media$ ./configure -C > configure: creating cache config.cache > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether ln -s works... yes > checking target system... LINUX > checking target architecture... X86 > checking how to run the C preprocessor... gcc -E > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking whether make sets $(MAKE)... (cached) yes > checking for setenv... yes > checking for unsetenv... yes > checking for getdomainname... yes > checking for getpt... yes > checking for cfmakeraw... yes > checking for main in -lgcc_s... yes > checking for main in -lstdc++... yes > checking which extension is used for shared libraries... .so > checking for threading compiler options... -D_REENTRANT > checking for threading linker options... -lpthread > checking for mathematic libraries... -lm > checking for external gettext library... > checking for ccache... no > checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for ar... ar > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking whether we are using the GNU C++ compiler... (cached) yes > checking whether g++ accepts -g... (cached) yes > checking dependency style of g++... (cached) gcc3 > checking how to run the C++ preprocessor... g++ -E > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for shl_load... no > checking for shl_load in -ldld... no > checking for dlopen... no > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... no > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking for ld used by g++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for gb.media component with pkg-config... no > configure: WARNING: gb.media is disabled > configure: updating cache config.cache > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > > || gb.media is disabled > > jesus at ...57...:~/trunk/gb.media$ uname -a > Linux debian 2.6.32-5-686 #1 SMP Sat May 5 01:33:08 UTC 2012 i686 GNU/Linux > jesus at ...57...:~/trunk/gb.media$ > > Thanks! Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 to find gstreamer lib what is missing ++ -------------- 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 ea7dfh at ...2382... Mon May 28 20:09:36 2012 From: ea7dfh at ...2382... (Jesus) Date: Mon, 28 May 2012 20:09:36 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <2580174.l0iBJnrdXt@...2592...> References: <4FC3AEC3.4080807@...2382...> <2580174.l0iBJnrdXt@...2592...> Message-ID: <4FC3BF60.8060301@...2382...> El 28/05/12 19:35, Laurent Carlier escribi?: > Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 > to find gstreamer lib what is missing Thanks, Laurent This is the output: jesus at ...57...:~$ pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 Package gstreamer-interfaces-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-interfaces-0.10.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-interfaces-0.10' found I have no idea what is missing here... "gstreamer-interfaces-0.10" isn't a debian package itself. This is a list of installed packages related to gstreamer: jesus at ...57...:~$ dpkg -l *gstreamer* | grep ii ii gir1.0-gstreamer-0.10 0.10.30-1 ii gstreamer0.10-alsa 0.10.30-1 ii gstreamer0.10-ffmpeg 0.10.10-1 ii gstreamer0.10-fluendo-mp3 0.10.14.debian-1 ii gstreamer0.10-nice 0.0.12-1 ii gstreamer0.10-plugins-bad 0.10.19-2+b2 ii gstreamer0.10-plugins-base 0.10.30-1 ii gstreamer0.10-plugins-good 0.10.24-1 ii gstreamer0.10-plugins-ugly 0.10.15-1 ii gstreamer0.10-tools 0.10.30-1 ii gstreamer0.10-x 0.10.30-1 ii libgstreamer-plugins-base0.10-0 0.10.30-1 ii libgstreamer0.10-0 0.10.30-1 ii libgstreamer0.10-dev 0.10.30-1 jesus at ...57...:~$ Any clue? -- Jesus Guardon From lordheavym at ...626... Mon May 28 20:51:04 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 28 May 2012 20:51:04 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4FC3BF60.8060301@...2382...> References: <4FC3AEC3.4080807@...2382...> <2580174.l0iBJnrdXt@...2592...> <4FC3BF60.8060301@...2382...> Message-ID: <1693524.7tKabnJfp7@...2592...> Le lundi 28 mai 2012 20:09:36 Jesus a ?crit : > El 28/05/12 19:35, Laurent Carlier escribi?: > > Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 > > to find gstreamer lib what is missing > > Thanks, Laurent > This is the output: > > jesus at ...57...:~$ pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 > Package gstreamer-interfaces-0.10 was not found in the pkg-config search > path. > Perhaps you should add the directory containing > `gstreamer-interfaces-0.10.pc' to the PKG_CONFIG_PATH environment variable > No package 'gstreamer-interfaces-0.10' found > > I have no idea what is missing here... "gstreamer-interfaces-0.10" isn't > a debian package itself. > > This is a list of installed packages related to gstreamer: > > > jesus at ...57...:~$ dpkg -l *gstreamer* | grep ii > ii gir1.0-gstreamer-0.10 0.10.30-1 > ii gstreamer0.10-alsa 0.10.30-1 > ii gstreamer0.10-ffmpeg 0.10.10-1 > ii gstreamer0.10-fluendo-mp3 0.10.14.debian-1 > ii gstreamer0.10-nice 0.0.12-1 > ii gstreamer0.10-plugins-bad 0.10.19-2+b2 > ii gstreamer0.10-plugins-base 0.10.30-1 > ii gstreamer0.10-plugins-good 0.10.24-1 > ii gstreamer0.10-plugins-ugly 0.10.15-1 > ii gstreamer0.10-tools 0.10.30-1 > ii gstreamer0.10-x 0.10.30-1 > ii libgstreamer-plugins-base0.10-0 0.10.30-1 > ii libgstreamer0.10-0 0.10.30-1 > ii libgstreamer0.10-dev 0.10.30-1 > jesus at ...57...:~$ > > Any clue? Searching on google with "gstreamer-interfaces-0.10 debian" gives me http://packages.debian.org/squeeze/i386/libgstreamer-plugins- base0.10-dev/filelist ++ -------------- 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 ea7dfh at ...2382... Mon May 28 23:08:20 2012 From: ea7dfh at ...2382... (Jesus) Date: Mon, 28 May 2012 23:08:20 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <1693524.7tKabnJfp7@...2592...> References: <4FC3AEC3.4080807@...2382...> <2580174.l0iBJnrdXt@...2592...> <4FC3BF60.8060301@...2382...> <1693524.7tKabnJfp7@...2592...> Message-ID: <4FC3E944.4020400@...2382...> El 28/05/12 20:51, Laurent Carlier escribi?: > Le lundi 28 mai 2012 20:09:36 Jesus a ?crit : >> El 28/05/12 19:35, Laurent Carlier escribi?: >>> Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 >>> to find gstreamer lib what is missing >> >> Thanks, Laurent >> This is the output: >> >> jesus at ...57...:~$ pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10 >> Package gstreamer-interfaces-0.10 was not found in the pkg-config search >> path. >> Perhaps you should add the directory containing >> `gstreamer-interfaces-0.10.pc' to the PKG_CONFIG_PATH environment variable >> No package 'gstreamer-interfaces-0.10' found >> >> I have no idea what is missing here... "gstreamer-interfaces-0.10" isn't >> a debian package itself. >> >> This is a list of installed packages related to gstreamer: >> >> >> jesus at ...57...:~$ dpkg -l *gstreamer* | grep ii >> ii gir1.0-gstreamer-0.10 0.10.30-1 >> ii gstreamer0.10-alsa 0.10.30-1 >> ii gstreamer0.10-ffmpeg 0.10.10-1 >> ii gstreamer0.10-fluendo-mp3 0.10.14.debian-1 >> ii gstreamer0.10-nice 0.0.12-1 >> ii gstreamer0.10-plugins-bad 0.10.19-2+b2 >> ii gstreamer0.10-plugins-base 0.10.30-1 >> ii gstreamer0.10-plugins-good 0.10.24-1 >> ii gstreamer0.10-plugins-ugly 0.10.15-1 >> ii gstreamer0.10-tools 0.10.30-1 >> ii gstreamer0.10-x 0.10.30-1 >> ii libgstreamer-plugins-base0.10-0 0.10.30-1 >> ii libgstreamer0.10-0 0.10.30-1 >> ii libgstreamer0.10-dev 0.10.30-1 >> jesus at ...57...:~$ >> >> Any clue? > > Searching on google with "gstreamer-interfaces-0.10 debian" > > gives me http://packages.debian.org/squeeze/i386/libgstreamer-plugins- > base0.10-dev/filelist > > ++ Mmm... I should figured it out! Adding "libgstreamer-plugins-base0.10-dev" does the trick for configuring, however now I got an error when compiling: make[4]: se ingresa al directorio `/home/jesus/trunk/gb.media/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c -fPIC -DPIC -o .libs/gb_media_la-main.o mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o c_media.c: In function ?to_gambas_type?: c_media.c:82: warning: implicit declaration of function ?GST_VALUE_HOLDS_DATE_TIME? c_media.c: In function ?to_gambas_value?: c_media.c:151: error: ?GstDateTime? undeclared (first use in this function) c_media.c:151: error: (Each undeclared identifier is reported only once c_media.c:151: error: for each function it appears in.) c_media.c:151: error: ?date? undeclared (first use in this function) c_media.c:151: error: expected expression before ?)? token c_media.c:154: warning: implicit declaration of function ?gst_date_time_get_year? c_media.c:155: warning: implicit declaration of function ?gst_date_time_get_month? c_media.c:156: warning: implicit declaration of function ?gst_date_time_get_day? c_media.c:157: warning: implicit declaration of function ?gst_date_time_get_hour? c_media.c:158: warning: implicit declaration of function ?gst_date_time_get_minute? c_media.c:159: warning: implicit declaration of function ?gst_date_time_get_second? c_media.c:160: warning: implicit declaration of function ?gst_date_time_get_microsecond? c_media.c:161: warning: implicit declaration of function ?gst_date_time_get_time_zone_offset? c_media.c: In function ?MediaControl_get?: c_media.c:533: error: ?G_VALUE_INIT? undeclared (first use in this function) c_media.c: In function ?MediaControl_put?: c_media.c:551: error: ?G_VALUE_INIT? undeclared (first use in this function) c_media.c: In function ?MediaControl_SetWindow?: c_media.c:733: warning: implicit declaration of function ?gst_x_overlay_set_window_handle? c_media.c: In function ?cb_message?: c_media.c:911: warning: implicit declaration of function ?gst_tag_list_to_string? c_media.c:911: warning: assignment makes pointer from integer without a cast c_media.c:929: error: ?GST_MESSAGE_PROGRESS? undeclared (first use in this function) make[4]: *** [gb_media_la-c_media.lo] Error 1 make[4]: se sale del directorio `/home/jesus/trunk/gb.media/src' make[3]: *** [all-recursive] Error 1 make[3]: se sale del directorio `/home/jesus/trunk/gb.media' make[2]: *** [all] Error 2 make[2]: se sale del directorio `/home/jesus/trunk/gb.media' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/jesus/trunk' make: *** [all] Error 2 Perhaps I might go to sleep now... today has been a hard day at work. Thanks for your help, guys -- Jesus Guardon From lordheavym at ...626... Mon May 28 23:36:24 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 28 May 2012 23:36:24 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4FC3E944.4020400@...2382...> References: <4FC3AEC3.4080807@...2382...> <1693524.7tKabnJfp7@...2592...> <4FC3E944.4020400@...2382...> Message-ID: <1483697.x7Fcd6d4Io@...2592...> Le lundi 28 mai 2012 23:08:20 Jesus a ?crit : > > Mmm... I should figured it out! Adding > "libgstreamer-plugins-base0.10-dev" does the trick for configuring, > however now I got an error when compiling: > > > make[4]: se ingresa al directorio `/home/jesus/trunk/gb.media/src' > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o > gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c > -fPIC -DPIC -o .libs/gb_media_la-main.o > mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o > gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT > gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c > c_media.c -fPIC -DPIC -o .libs/gb_media_la-c_media.o > c_media.c: In function ?to_gambas_type?: > c_media.c:82: warning: implicit declaration of function > ?GST_VALUE_HOLDS_DATE_TIME? > c_media.c: In function ?to_gambas_value?: > c_media.c:151: error: ?GstDateTime? undeclared (first use in this function) > c_media.c:151: error: (Each undeclared identifier is reported only once > c_media.c:151: error: for each function it appears in.) > c_media.c:151: error: ?date? undeclared (first use in this function) > c_media.c:151: error: expected expression before ?)? token > c_media.c:154: warning: implicit declaration of function > ?gst_date_time_get_year? > c_media.c:155: warning: implicit declaration of function > ?gst_date_time_get_month? > c_media.c:156: warning: implicit declaration of function > ?gst_date_time_get_day? > c_media.c:157: warning: implicit declaration of function > ?gst_date_time_get_hour? > c_media.c:158: warning: implicit declaration of function > ?gst_date_time_get_minute? > c_media.c:159: warning: implicit declaration of function > ?gst_date_time_get_second? > c_media.c:160: warning: implicit declaration of function > ?gst_date_time_get_microsecond? > c_media.c:161: warning: implicit declaration of function > ?gst_date_time_get_time_zone_offset? > c_media.c: In function ?MediaControl_get?: > c_media.c:533: error: ?G_VALUE_INIT? undeclared (first use in this function) > c_media.c: In function ?MediaControl_put?: > c_media.c:551: error: ?G_VALUE_INIT? undeclared (first use in this function) > c_media.c: In function ?MediaControl_SetWindow?: > c_media.c:733: warning: implicit declaration of function > ?gst_x_overlay_set_window_handle? > c_media.c: In function ?cb_message?: > c_media.c:911: warning: implicit declaration of function > ?gst_tag_list_to_string? > c_media.c:911: warning: assignment makes pointer from integer without a cast > c_media.c:929: error: ?GST_MESSAGE_PROGRESS? undeclared (first use in this > function) > make[4]: *** [gb_media_la-c_media.lo] Error 1 > make[4]: se sale del directorio `/home/jesus/trunk/gb.media/src' > make[3]: *** [all-recursive] Error 1 > make[3]: se sale del directorio `/home/jesus/trunk/gb.media' > make[2]: *** [all] Error 2 > make[2]: se sale del directorio `/home/jesus/trunk/gb.media' > make[1]: *** [all-recursive] Error 1 > make[1]: se sale del directorio `/home/jesus/trunk' > make: *** [all] Error 2 > > > Perhaps I might go to sleep now... today has been a hard day at work. > > Thanks for your help, guys What is the output of: pkg-config --modversion gstreamer-0.10 gstreamer-interfaces-0.10 ? ++ -------------- 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 lordheavym at ...626... Mon May 28 23:46:37 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 28 May 2012 23:46:37 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4FC3E944.4020400@...2382...> References: <4FC3AEC3.4080807@...2382...> <1693524.7tKabnJfp7@...2592...> <4FC3E944.4020400@...2382...> Message-ID: <5229209.GCOQvG0inN@...2592...> Le lundi 28 mai 2012 23:08:20 Jesus a ?crit : > >> jesus at ...57...:~$ dpkg -l gstreamer | grep ii > >> ii gir1.0-gstreamer-0.10 0.10.30-1 > >> ii gstreamer0.10-alsa 0.10.30-1 > >> ii gstreamer0.10-ffmpeg 0.10.10-1 > >> ii gstreamer0.10-fluendo-mp3 0.10.14.debian-1 > >> ii gstreamer0.10-nice 0.0.12-1 > >> ii gstreamer0.10-plugins-bad 0.10.19-2+b2 > >> ii gstreamer0.10-plugins-base 0.10.30-1 > >> ii gstreamer0.10-plugins-good 0.10.24-1 > >> ii gstreamer0.10-plugins-ugly 0.10.15-1 > >> ii gstreamer0.10-tools 0.10.30-1 > >> ii gstreamer0.10-x 0.10.30-1 > >> ii libgstreamer-plugins-base0.10-0 0.10.30-1 > >> ii libgstreamer0.10-0 0.10.30-1 > >> ii libgstreamer0.10-dev 0.10.30-1 ok, from docs, you need at least gstreamer-0.10>= 0.10.31 http://developer.gnome.org/gstreamer/unstable/gstreamer-GstDateTime.html Component should be disabled for gstreamer-0.10 prior to 0.10.31 Benoit ? ++ -------------- 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... Tue May 29 00:19:02 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 29 May 2012 00:19:02 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <5229209.GCOQvG0inN@...2592...> References: <4FC3AEC3.4080807@...2382...> <1693524.7tKabnJfp7@...2592...> <4FC3E944.4020400@...2382...> <5229209.GCOQvG0inN@...2592...> Message-ID: <4FC3F9D6.3050503@...1...> Le 28/05/2012 23:46, Laurent Carlier a ?crit : > Le lundi 28 mai 2012 23:08:20 Jesus a ?crit : >>>> jesus at ...57...:~$ dpkg -l gstreamer | grep ii >>>> ii gir1.0-gstreamer-0.10 0.10.30-1 >>>> ii gstreamer0.10-alsa 0.10.30-1 >>>> ii gstreamer0.10-ffmpeg 0.10.10-1 >>>> ii gstreamer0.10-fluendo-mp3 0.10.14.debian-1 >>>> ii gstreamer0.10-nice 0.0.12-1 >>>> ii gstreamer0.10-plugins-bad 0.10.19-2+b2 >>>> ii gstreamer0.10-plugins-base 0.10.30-1 >>>> ii gstreamer0.10-plugins-good 0.10.24-1 >>>> ii gstreamer0.10-plugins-ugly 0.10.15-1 >>>> ii gstreamer0.10-tools 0.10.30-1 >>>> ii gstreamer0.10-x 0.10.30-1 >>>> ii libgstreamer-plugins-base0.10-0 0.10.30-1 >>>> ii libgstreamer0.10-0 0.10.30-1 >>>> ii libgstreamer0.10-dev 0.10.30-1 > > ok, from docs, you need at least gstreamer-0.10>= 0.10.31 > > http://developer.gnome.org/gstreamer/unstable/gstreamer-GstDateTime.html > > Component should be disabled for gstreamer-0.10 prior to 0.10.31 > Benoit ? > > ++ > Yes. I was looking for that information, but I hadn't found it. -- Beno?t Minisini From bbruen at ...2308... Tue May 29 07:43:28 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 29 May 2012 15:13:28 +0930 Subject: [Gambas-user] sqlite database inside an executable Message-ID: <1338270208.4095.54.camel@...37...> Is there any way to access (read-only of course) an sqlite database inside the gambas executable? Strange idea I know, but I've got this "really good idea". Bruce From lordheavym at ...626... Tue May 29 12:23:30 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 29 May 2012 12:23:30 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4FC3F9D6.3050503@...1...> References: <4FC3AEC3.4080807@...2382...> <5229209.GCOQvG0inN@...2592...> <4FC3F9D6.3050503@...1...> Message-ID: <4057118.znd2b73htO@...2592...> Le mardi 29 mai 2012 00:19:02 Beno?t Minisini a ?crit : > > ok, from docs, you need at least gstreamer-0.10>= 0.10.31 > > > > http://developer.gnome.org/gstreamer/unstable/gstreamer-GstDateTime.html > > > > Component should be disabled for gstreamer-0.10 prior to 0.10.31 > > Benoit ? > > > > ++ > > Yes. I was looking for that information, but I hadn't found it. Ok, so now gb.media need at least gstreamer-core 0.10.31 ++ -------------- 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 bbruen at ...2308... Tue May 29 15:12:13 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 29 May 2012 22:42:13 +0930 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <4FC3B74C.5070103@...1...> References: <1338026734.7211.5.camel@...37...> <4FC0B497.6020300@...1...> <1338030626.7211.9.camel@...37...> <4FC36711.1000107@...1...> <1338208017.4095.13.camel@...37...> <4FC3B74C.5070103@...1...> Message-ID: <1338297133.4095.81.camel@...37...> On Mon, 2012-05-28 at 19:35 +0200, Beno?t Minisini wrote: > You find the expand handles usable, but not the closing ones. But AFAIK, > there are the same size. > Yes, I can now measure that they are the same sizes. I can also find the expand handles as long as I know where to look. > Can you provide me some screenshots and show me exactly what is wrong > with that for you? > I haven't been able to get a decent example of the difficulty in grabbing them. But today I got two complaints, one from one of my developers who couldn't get the project tree back after she dragged the h-split all the way to the left and another from a client who wanted to know why the (normally hidden) sidebar had been removed from the app. The second is probably more relevant, when the sidebar is closed there is no visual clue that it exists, unless you stumble over the handle area and recognize it for what it is. Beno?t, what I'm trying to say is, the 5 to 10 pixels for the sidebar handles weren't really that much of a cost when considered against the beauty of the control. I have looked at every Qt app (and quite a few others) on my system and compared to the way similar features are implemented using splits, the gambas sidepanel is a beauty. pcmanfm, evolution, etc etc, all use a variants of a) you can't shrink a visible side panel below a certain minimum b) or if you do shrink it to nothing, then you have to find some obscure menu or config to make it visible again. c) "snapping" h-splits, for example vlc probably comes closest to gambas sidebars in the way it accelerates the shrinking/expansion of the sidebar under a certain width. But of all those using the h-split in the a) and c) groups they all leave a reasonable sized visual hint that something is there. We use sidebars in lot's of apps. I have included a couple of shots of one even though they really don't highlight the above. In short the visual clue is really important. I could go and replace the sidebars in everything with h/v splits but that would be such a waste. Could you please, at least, consider making the invisibility and option on the control. best regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas project bug-todo list_019.png Type: image/png Size: 74663 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas project bug-todo list_020.png Type: image/png Size: 75238 bytes Desc: not available URL: From ea7dfh at ...2382... Tue May 29 17:19:09 2012 From: ea7dfh at ...2382... (Jesus) Date: Tue, 29 May 2012 17:19:09 +0200 Subject: [Gambas-user] Can't get gb.media compiled In-Reply-To: <4057118.znd2b73htO@...2592...> References: <4FC3AEC3.4080807@...2382...> <5229209.GCOQvG0inN@...2592...> <4FC3F9D6.3050503@...1...> <4057118.znd2b73htO@...2592...> Message-ID: <4FC4E8ED.5070209@...2382...> El 29/05/12 12:23, Laurent Carlier escribi?: > > Ok, so now gb.media need at least gstreamer-core 0.10.31 > That means that Debian stable users will not be able to use gb.media anymore? Not good news... I will investigate if a newer version of gst could be installed/compiled without breaking anything. Thanks for your efforts! -- Jesus Guardon From jussi.lahtinen at ...626... Tue May 29 19:40:06 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 29 May 2012 20:40:06 +0300 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: <1338270208.4095.54.camel@...37...> References: <1338270208.4095.54.camel@...37...> Message-ID: I suppose it is possible, but not easy. Unless you copy database out from executable to access it. But what's the point then... or anyway..? Jussi On 29 May 2012 08:43, Bruce wrote: > Is there any way to access (read-only of course) an sqlite database > inside the gambas executable? > > Strange idea I know, but I've got this "really good idea". > > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Tue May 29 20:04:18 2012 From: support at ...2529... (John Spikowski) Date: Tue, 29 May 2012 11:04:18 -0700 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: <1338270208.4095.54.camel@...37...> References: <1338270208.4095.54.camel@...37...> Message-ID: <1338314658.2294.12.camel@...1833...> On Tue, 2012-05-29 at 15:13 +0930, Bruce wrote: > Is there any way to access (read-only of course) an sqlite database > inside the gambas executable? > > Strange idea I know, but I've got this "really good idea". > > Bruce > FireFox uses SQLite to manage their 'cookie' DB. I don't think the OS is going to be happy about an executable morphing in memory. I would rate this on the same level as H1N1 gone wild. I'm sure your intentions are honorable but that goes against the flow. (MD5 signatures are useless) Add remote scripting to this and you could put a big smile on a lot of hackers faces. From adrien.prokopowicz at ...626... Tue May 29 20:44:12 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 29 May 2012 20:44:12 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <1338297133.4095.81.camel@...37...> References: <1338026734.7211.5.camel@...37...> <4FC3B74C.5070103@...1...> <1338297133.4095.81.camel@...37...> Message-ID: <6140257.kiPANizCom@...2823...> Le mardi 29 mai 2012 22:42:13 Bruce a ?crit : > On Mon, 2012-05-28 at 19:35 +0200, Beno?t Minisini wrote: > > You find the expand handles usable, but not the closing ones. But AFAIK, > > there are the same size. > > Yes, I can now measure that they are the same sizes. I can also find > the expand handles as long as I know where to look. > > > Can you provide me some screenshots and show me exactly what is wrong > > with that for you? > > I haven't been able to get a decent example of the difficulty in > grabbing them. But today I got two complaints, one from one of my > developers who couldn't get the project tree back after she dragged the > h-split all the way to the left and another from a client who wanted to > know why the (normally hidden) sidebar had been removed from the app. > > The second is probably more relevant, when the sidebar is closed there > is no visual clue that it exists, unless you stumble over the handle > area and recognize it for what it is. > > Beno?t, what I'm trying to say is, the 5 to 10 pixels for the sidebar > handles weren't really that much of a cost when considered against the > beauty of the control. I have looked at every Qt app (and quite a few > others) on my system and compared to the way similar features are > implemented using splits, the gambas sidepanel is a beauty. pcmanfm, > evolution, etc etc, all use a variants of > a) you can't shrink a visible side panel below a certain minimum > b) or if you do shrink it to nothing, then you have to find some obscure > menu or config to make it visible again. > c) "snapping" h-splits, for example vlc probably comes closest to gambas > sidebars in the way it accelerates the shrinking/expansion of the > sidebar under a certain width. > But of all those using the h-split in the a) and c) groups they all > leave a reasonable sized visual hint that something is there. > > We use sidebars in lot's of apps. I have included a couple of shots of > one even though they really don't highlight the above. > > In short the visual clue is really important. I could go and replace > the sidebars in everything with h/v splits but that would be such a > waste. > > Could you please, at least, consider making the invisibility and option > on the control. > > best regards > Bruce Hi, I find the new thin style nice, it makes the IDE lighter, but I agree that it is very difficult to hide/show them now. I think that, when the SidePanel is shown, it should show the hide buttons when the mouse is over the whole handle, not only on the sides (it is not obvious at all when you don't know it), and maybe set a gray background to them (i find we can't see them very well on white background). And when the SidePanel is hidden, keep a 5~10px width and the buttons always visible, like it was before, because currently it is very very hard to click on it (and even more if you have an edge-screen action :-) ). Regards, Adrien. -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran6.png Type: image/png Size: 11996 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran7.png Type: image/png Size: 5182 bytes Desc: not available URL: From rmorgan62 at ...626... Tue May 29 21:17:52 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 29 May 2012 12:17:52 -0700 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: <1338270208.4095.54.camel@...37...> References: <1338270208.4095.54.camel@...37...> Message-ID: Can you explain in a little more detail what you want to do? On Mon, May 28, 2012 at 10:43 PM, Bruce wrote: > Is there any way to access (read-only of course) an sqlite database > inside the gambas executable? > > Strange idea I know, but I've got this "really good idea". > > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From bbruen at ...2308... Wed May 30 01:05:47 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 30 May 2012 08:35:47 +0930 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: References: <1338270208.4095.54.camel@...37...> Message-ID: <1338332747.4095.108.camel@...37...> On Tue, 2012-05-29 at 12:17 -0700, Randall Morgan wrote: > Can you explain in a little more detail what you want to do? > > > > On Mon, May 28, 2012 at 10:43 PM, Bruce wrote: > > > Is there any way to access (read-only of course) an sqlite database > > inside the gambas executable? > > > > Strange idea I know, but I've got this "really good idea". > > > > Bruce OK. I have a little project that lets us create and edit help sets, that is html pages and resources that make up the set of help required for our apps. It has a help viewer library that uses the same approach as the gambas IDE help i.e. a treeview and a webframe that can be used by the apps in the hands of the end user. The main difference is that the help set resides on the user machine not on the internet. The help set is kept in an sqlite database file, one per app. All this works nicely until we get to the point of distributing the apps to our clients. At the moment the help database has to be installed separately to the application install (we use autotools packaging and it doesn't provide the "Extra Files" capability of the other packagers). The "really good idea" was that if the database was inside the compiled executable and the helpviewer could access it (in read only mode, as that is all that is required) then a) the distribution problem is solved and b) there is no need to manage some other shared directory, like "/var/local/share/phhelp/" and all the associated problems of separate distribution like "not found", multiple versions etc etc. The only other answers I have thought up are a) extract the database out of the executable into a user tmp space every time the app is opened. This seems a bit wasteful and there may be problems where more than one copy of the app is opened. b) have some sort of application initialisation code that would extract the database to a shared directory the first time the app is used. I have some code that did this for a large gb2 project that checked for the existence of a postgresql database and if it could not find it it created it. This was very messy and needed lots of elevated privileges and never worked quite successfully without manual intervention. Even though in this case the needs are a lot simpler, the sheer thought of having to recreate that gb2 initialisation thing and go through the privilege elevation problems for n different distros is not attractive. So I had this little "really good idea"... Bruce From rmorgan62 at ...626... Wed May 30 01:19:59 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 29 May 2012 16:19:59 -0700 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: <1338332747.4095.108.camel@...37...> References: <1338270208.4095.54.camel@...37...> <1338332747.4095.108.camel@...37...> Message-ID: As I understand Sqlite, the database is file based, and the file path can be passed to the open/connect method. So what is to keep you from putting the db file in the data directory of the application? I'll admit I have not used Sqlite in four or five years. I mostly use MySQL and MS SQL. Which are server base. But I know that I have seen python apps include the Sqlite db file in their package and simply kept it in the application's folder. On Tue, May 29, 2012 at 4:05 PM, Bruce wrote: > On Tue, 2012-05-29 at 12:17 -0700, Randall Morgan wrote: > > Can you explain in a little more detail what you want to do? > > > > > > > > On Mon, May 28, 2012 at 10:43 PM, Bruce wrote: > > > > > Is there any way to access (read-only of course) an sqlite database > > > inside the gambas executable? > > > > > > Strange idea I know, but I've got this "really good idea". > > > > > > Bruce > OK. > I have a little project that lets us create and edit help sets, that is > html pages and resources that make up the set of help required for our > apps. It has a help viewer library that uses the same approach as the > gambas IDE help i.e. a treeview and a webframe that can be used by the > apps in the hands of the end user. The main difference is that the help > set resides on the user machine not on the internet. The help set is > kept in an sqlite database file, one per app. All this works nicely > until we get to the point of distributing the apps to our clients. > > At the moment the help database has to be installed separately to the > application install (we use autotools packaging and it doesn't provide > the "Extra Files" capability of the other packagers). > > The "really good idea" was that if the database was inside the compiled > executable and the helpviewer could access it (in read only mode, as > that is all that is required) then a) the distribution problem is solved > and b) there is no need to manage some other shared directory, like > "/var/local/share/phhelp/" and all the associated problems of separate > distribution like "not found", multiple versions etc etc. > > The only other answers I have thought up are > a) extract the database out of the executable into a user tmp space > every time the app is opened. This seems a bit wasteful and there may > be problems where more than one copy of the app is opened. > b) have some sort of application initialisation code that would extract > the database to a shared directory the first time the app is used. I > have some code that did this for a large gb2 project that checked for > the existence of a postgresql database and if it could not find it it > created it. This was very messy and needed lots of elevated privileges > and never worked quite successfully without manual intervention. Even > though in this case the needs are a lot simpler, the sheer thought of > having to recreate that gb2 initialisation thing and go through the > privilege elevation problems for n different distros is not attractive. > > So I had this little "really good idea"... > > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From emil.lenngren at ...626... Wed May 30 01:38:55 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 30 May 2012 01:38:55 +0200 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: References: <1338270208.4095.54.camel@...37...> <1338332747.4095.108.camel@...37...> Message-ID: If you only use the database file as a container for help files, isn't it possible to store the help files directly under a directory structure (which can be packed in the executable) or something, instead of having a database? /Emil 2012/5/30 Randall Morgan > As I understand Sqlite, the database is file based, and the file path can > be passed to the open/connect method. So what is to keep you from putting > the db file in the data directory of the application? I'll admit I have not > used Sqlite in four or five years. I mostly use MySQL and MS SQL. Which are > server base. But I know that I have seen python apps include the Sqlite db > file in their package and simply kept it in the application's folder. > > > > On Tue, May 29, 2012 at 4:05 PM, Bruce wrote: > > > On Tue, 2012-05-29 at 12:17 -0700, Randall Morgan wrote: > > > Can you explain in a little more detail what you want to do? > > > > > > > > > > > > On Mon, May 28, 2012 at 10:43 PM, Bruce > wrote: > > > > > > > Is there any way to access (read-only of course) an sqlite database > > > > inside the gambas executable? > > > > > > > > Strange idea I know, but I've got this "really good idea". > > > > > > > > Bruce > > OK. > > I have a little project that lets us create and edit help sets, that is > > html pages and resources that make up the set of help required for our > > apps. It has a help viewer library that uses the same approach as the > > gambas IDE help i.e. a treeview and a webframe that can be used by the > > apps in the hands of the end user. The main difference is that the help > > set resides on the user machine not on the internet. The help set is > > kept in an sqlite database file, one per app. All this works nicely > > until we get to the point of distributing the apps to our clients. > > > > At the moment the help database has to be installed separately to the > > application install (we use autotools packaging and it doesn't provide > > the "Extra Files" capability of the other packagers). > > > > The "really good idea" was that if the database was inside the compiled > > executable and the helpviewer could access it (in read only mode, as > > that is all that is required) then a) the distribution problem is solved > > and b) there is no need to manage some other shared directory, like > > "/var/local/share/phhelp/" and all the associated problems of separate > > distribution like "not found", multiple versions etc etc. > > > > The only other answers I have thought up are > > a) extract the database out of the executable into a user tmp space > > every time the app is opened. This seems a bit wasteful and there may > > be problems where more than one copy of the app is opened. > > b) have some sort of application initialisation code that would extract > > the database to a shared directory the first time the app is used. I > > have some code that did this for a large gb2 project that checked for > > the existence of a postgresql database and if it could not find it it > > created it. This was very messy and needed lots of elevated privileges > > and never worked quite successfully without manual intervention. Even > > though in this case the needs are a lot simpler, the sheer thought of > > having to recreate that gb2 initialisation thing and go through the > > privilege elevation problems for n different distros is not attractive. > > > > So I had this little "really good idea"... > > > > Bruce > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Wed May 30 03:04:39 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 30 May 2012 10:34:39 +0930 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: References: <1338270208.4095.54.camel@...37...> <1338332747.4095.108.camel@...37...> Message-ID: <1338339879.4095.114.camel@...37...> On Tue, 2012-05-29 at 16:19 -0700, Randall Morgan wrote: > As I understand Sqlite, the database is file based, and the file path can > be passed to the open/connect method. So what is to keep you from putting > the db file in the data directory of the application? That's where it is (and that's why it ends up inside the executable). But I am talking about the distributed app, i.e. the one that autotools builds at our clients end. All that ends up on the user machine is /usr/(local/)bin/MyApp.gambas not the full project source. > I'll admit I have not > used Sqlite in four or five years. I mostly use MySQL and MS SQL. Which are > server base. But I know that I have seen python apps include the Sqlite db > file in their package and simply kept it in the application's folder. > Ah yes! But python doesn't use the gambas executable approach. Thanks for your interest anyway. Bruce From bbruen at ...2308... Wed May 30 03:19:39 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 30 May 2012 10:49:39 +0930 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: References: <1338270208.4095.54.camel@...37...> <1338332747.4095.108.camel@...37...> Message-ID: <1338340779.4095.126.camel@...37...> On Wed, 2012-05-30 at 01:38 +0200, Emil Lenngren wrote: > If you only use the database file as a container for help files, isn't it > possible to store the help files directly under a directory structure > (which can be packed in the executable) or something, instead of having a > database? > > /Emil Its' actually got a bit more than just the help files. It's got the html sources (in fact they are gambas "weppages", the resources (images etc.) and some metadata (stuff about paddys-hill, the app and gambas etc). The helpviewer uses gb.web and some other code to build each particular web page's html when requested the first time and cache it and the resources in user tmp space (just like the IDE help - guess where I get all these ideas from). It then displays the help in a gb.gt4.WebView (just like .. :-) ) Anyway, I just thought maybe someone had solved this somehow before. I mean normal files in the project (i.e. the ones in the Data branch are accessible in the executable easily, for example images can be read from within the executable archive). Enough time has been spent, I think I'll just go with the Shell "gba3 -x path_to_app db_name > somewhere" approach. Thanks for the interest Bruce From gambas at ...2524... Wed May 30 06:10:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 30 May 2012 04:10:00 +0000 Subject: [Gambas-user] Issue 254 in gambas: makepkg missing in Ubuntu Pangolin Message-ID: <0-6813199134517018827-4236602601708081423-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 254 by aehrha... at ...626...: makepkg missing in Ubuntu Pangolin http://code.google.com/p/gambas/issues/detail?id=254 1) Gambas3 works perfectly, except whenever I try to create a packagge on any distribution, I get a message on the GUI window that says makepkg missing. 2) [System] OperatingSystem=Linux Kernel=3.2.0-25-generic Architecture=x86_64 Memory=1792944 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=Gnome [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Screen Shot: http://i.imm.io/qXIp.png From gambas at ...2524... Wed May 30 06:11:43 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 30 May 2012 04:11:43 +0000 Subject: [Gambas-user] Issue 254 in gambas: makepkg missing in Ubuntu Pangolin In-Reply-To: <0-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> Comment #1 on issue 254 by aehrha... at ...626...: makepkg missing in Ubuntu Pangolin http://code.google.com/p/gambas/issues/detail?id=254 (No comment was entered for this change.) Attachments: Make installation package_002.png 58.2 KB From gambas at ...2524... Wed May 30 06:14:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 30 May 2012 04:14:40 +0000 Subject: [Gambas-user] Issue 254 in gambas: makepkg missing in Ubuntu Pangolin In-Reply-To: <1-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> <0-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4236602601708081423-gambas=googlecode.com@...2524...> Comment #2 on issue 254 by sebi... at ...626...: makepkg missing in Ubuntu Pangolin http://code.google.com/p/gambas/issues/detail?id=254 This is by design. You need to install makepkg [0] to be able to create archlinux packages. [0] https://wiki.archlinux.org/index.php/Makepkg From gambas.fr at ...626... Wed May 30 09:19:35 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 May 2012 09:19:35 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: <6140257.kiPANizCom@...2823...> References: <1338026734.7211.5.camel@...37...> <4FC3B74C.5070103@...1...> <1338297133.4095.81.camel@...37...> <6140257.kiPANizCom@...2823...> Message-ID: And can you invert the color for the handle ? a Lighter arrow and a darker background... it will be more easy to find From gambas.fr at ...626... Wed May 30 09:22:27 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 May 2012 09:22:27 +0200 Subject: [Gambas-user] Sidepanel handles In-Reply-To: References: <1338026734.7211.5.camel@...37...> <4FC3B74C.5070103@...1...> <1338297133.4095.81.camel@...37...> <6140257.kiPANizCom@...2823...> Message-ID: 2012/5/30 Fabien Bodard > And can you invert the color for the handle ? > > a Lighter arrow and a darker background... it will be more easy to find > the and maybe a single centered and larger arrow can be easyest to find. Generally my eyes look the center of the bar, not the extrem opposite -- Fabien Bodard From Gambas at ...1950... Wed May 30 10:48:43 2012 From: Gambas at ...1950... (Caveat) Date: Wed, 30 May 2012 10:48:43 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! Message-ID: <4FC5DEEB.4020007@...1950...> Anyone need specific tests carried out, just let me know! OK, OK, I really just wanted to let everyone know it's here! Kind regards, Caveat From gambas at ...1... Wed May 30 10:55:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 30 May 2012 10:55:43 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5DEEB.4020007@...1950...> References: <4FC5DEEB.4020007@...1950...> Message-ID: <4FC5E08F.2070202@...1...> Le 30/05/2012 10:48, Caveat a ?crit : > Anyone need specific tests carried out, just let me know! > > OK, OK, I really just wanted to let everyone know it's here! > > Kind regards, > Caveat > These privileged people... :-) I was thinking: maybe I must find a way to let the IDE debug programs remotely. I mean: developing the program on the PC, click on the start button, and magically the program is run on the Raspberry and debugged remotely. But I don't know what could be the best solution for that. Give your ideas people... -- Beno?t Minisini From gambas.fr at ...626... Wed May 30 11:11:44 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 May 2012 11:11:44 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5E08F.2070202@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> Message-ID: 2012/5/30 Beno?t Minisini > Le 30/05/2012 10:48, Caveat a ?crit : > > Anyone need specific tests carried out, just let me know! > > > > OK, OK, I really just wanted to let everyone know it's here! > > > > Kind regards, > > Caveat > > > > These privileged people... :-) > > I was thinking: maybe I must find a way to let the IDE debug programs > remotely. I mean: developing the program on the PC, click on the start > button, and magically the program is run on the Raspberry and debugged > remotely. > > But I don't know what could be the best solution for that. Give your > ideas people... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > i'm waiting ... just received a mail about the beginning of the product and preorder... but i will buy one ... a pc at less that 30 ? :)... it's good to make tools for shop -- Fabien Bodard From support at ...2529... Wed May 30 11:53:20 2012 From: support at ...2529... (John Spikowski) Date: Wed, 30 May 2012 02:53:20 -0700 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5E08F.2070202@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> Message-ID: <1338371600.2309.18.camel@...1833...> On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: > > These privileged people... :-) > > I was thinking: maybe I must find a way to let the IDE debug programs > remotely. I mean: developing the program on the PC, click on the start > button, and magically the program is run on the Raspberry and debugged > remotely. > > But I don't know what could be the best solution for that. Give your > ideas people... > http://code.google.com/p/android-scripting/ This works great with ScriptBasic. (local, remote [hardwired / wireless]) Maybe you could do something like this for Gambas? From joem at ...2671... Wed May 30 13:08:30 2012 From: joem at ...2671... (jm) Date: Wed, 30 May 2012 12:08:30 +0100 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5E08F.2070202@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> Message-ID: <1338376110.3843.16.camel@...2672...> On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: > Le 30/05/2012 10:48, Caveat a ?crit : > > Anyone need specific tests carried out, just let me know! > > > > OK, OK, I really just wanted to let everyone know it's here! > > > > Kind regards, > > Caveat > > > > These privileged people... :-) > > I was thinking: maybe I must find a way to let the IDE debug programs > remotely. I mean: developing the program on the PC, click on the start > button, and magically the program is run on the Raspberry and debugged > remotely. > > But I don't know what could be the best solution for that. Give your > ideas people... I just received mine from Farnell. Wanted 5 got 1 on allocation :( Still its here and getting Gambas and Ubuntu going on it is high on the priority list. For remote operation of gambas IDE, I normally spend time on lab and access the main desktop in office with ssh -X. ssh -X username at ...2855... If running Ubuntu I can do this: ssh -X username at ...2856... (saves having to remember ipaddress) I compile/run gambas IDE on office PC as needed from Lab PC with no loss of speed or effectiveness. In effect ssh -X does the full remote developer thing. So I imagine if Raspberry had going inside it X, gambas and ssh, and it was connected by ethernet, then ssh -X will work, and the full testing and debugging can be carried out from a remote PC with no code changes to Gambas! Ahhh the wonders of Linux! :-) [p.s. There are a couple of pointers to Gambas3 and Rasberry, but does anyone have some knowledge of Ubuntu + Gambas3 working and available as downloadable image file for SDCard?] ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From gambas at ...1... Wed May 30 13:37:02 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 30 May 2012 13:37:02 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <1338376110.3843.16.camel@...2672...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> Message-ID: <4FC6065E.4050407@...1...> Le 30/05/2012 13:08, jm a ?crit : > On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: >> Le 30/05/2012 10:48, Caveat a ?crit : >>> Anyone need specific tests carried out, just let me know! >>> >>> OK, OK, I really just wanted to let everyone know it's here! >>> >>> Kind regards, >>> Caveat >>> >> >> These privileged people... :-) >> >> I was thinking: maybe I must find a way to let the IDE debug programs >> remotely. I mean: developing the program on the PC, click on the start >> button, and magically the program is run on the Raspberry and debugged >> remotely. >> >> But I don't know what could be the best solution for that. Give your >> ideas people... > > > I just received mine from Farnell. Wanted 5 got 1 on allocation :( > Still its here and getting Gambas and Ubuntu going on it is high on the > priority list. > > For remote operation of gambas IDE, I normally spend time on lab and > access the main desktop in office with ssh -X. > > ssh -X username at ...2855... > > If running Ubuntu I can do this: > > ssh -X username at ...2856... (saves having to remember ipaddress) > > I compile/run gambas IDE on office PC as needed from Lab PC with no loss > of speed or effectiveness. In effect ssh -X does the full remote > developer thing. > > So I imagine if Raspberry had going inside it X, gambas and ssh, and it > was connected by ethernet, then ssh -X will work, and the full testing > and debugging can be carried out from a remote PC with no code changes > to Gambas! > > Ahhh the wonders of Linux! :-) > > > [p.s. There are a couple of pointers to Gambas3 and Rasberry, > but does anyone have some knowledge of Ubuntu + Gambas3 working and > available as downloadable image file for SDCard?] > I'd like to just do the debugging remotely. Maybe ssh is the better solution. So the user would have to enter a login, a password and an host/ip in the IDE, the IDE will connect to the RPi that way, and will be able to run the project in debugging mode. Now I must find a way to let the project in debugging mode communicate with the IDE on the PC. It should be a matter of having a socket go through the ssh connection. A bit like 'ssh -X' I imagine, but I don't know exactly how it should be done. If nobody tells me, I will ask google! -- Beno?t Minisini From linuxos at ...1896... Wed May 30 14:12:43 2012 From: linuxos at ...1896... (linuxos) Date: Wed, 30 May 2012 14:12:43 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC6065E.4050407@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> Message-ID: <41239A67-AE5C-4B02-8E6C-2723DBAD237F@...1896...> Hi Beno?t, To communicate by ssh you can use the same library that i used to build my proper component: libssh.0.52 at this url: http://www.libssh.org/ and you can get my component here: http://www.gambasforge.org/code-45-gbsshclient.html Olivier Cruilles Le 30 mai 2012 ? 13:37, Beno?t Minisini a ?crit : > Le 30/05/2012 13:08, jm a ?crit : >> On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: >>> Le 30/05/2012 10:48, Caveat a ?crit : >>>> Anyone need specific tests carried out, just let me know! >>>> >>>> OK, OK, I really just wanted to let everyone know it's here! >>>> >>>> Kind regards, >>>> Caveat >>>> >>> >>> These privileged people... :-) >>> >>> I was thinking: maybe I must find a way to let the IDE debug programs >>> remotely. I mean: developing the program on the PC, click on the start >>> button, and magically the program is run on the Raspberry and debugged >>> remotely. >>> >>> But I don't know what could be the best solution for that. Give your >>> ideas people... >> >> >> I just received mine from Farnell. Wanted 5 got 1 on allocation :( >> Still its here and getting Gambas and Ubuntu going on it is high on the >> priority list. >> >> For remote operation of gambas IDE, I normally spend time on lab and >> access the main desktop in office with ssh -X. >> >> ssh -X username at ...2855... >> >> If running Ubuntu I can do this: >> >> ssh -X username at ...2856... (saves having to remember ipaddress) >> >> I compile/run gambas IDE on office PC as needed from Lab PC with no loss >> of speed or effectiveness. In effect ssh -X does the full remote >> developer thing. >> >> So I imagine if Raspberry had going inside it X, gambas and ssh, and it >> was connected by ethernet, then ssh -X will work, and the full testing >> and debugging can be carried out from a remote PC with no code changes >> to Gambas! >> >> Ahhh the wonders of Linux! :-) >> >> >> [p.s. There are a couple of pointers to Gambas3 and Rasberry, >> but does anyone have some knowledge of Ubuntu + Gambas3 working and >> available as downloadable image file for SDCard?] >> > > I'd like to just do the debugging remotely. Maybe ssh is the better > solution. > > So the user would have to enter a login, a password and an host/ip in > the IDE, the IDE will connect to the RPi that way, and will be able to > run the project in debugging mode. > > Now I must find a way to let the project in debugging mode communicate > with the IDE on the PC. It should be a matter of having a socket go > through the ssh connection. > > A bit like 'ssh -X' I imagine, but I don't know exactly how it should be > done. > > If nobody tells me, I will ask google! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboege01 at ...1601... Wed May 30 15:04:40 2012 From: tobiasboege01 at ...1601... (tobi) Date: Wed, 30 May 2012 15:04:40 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC6065E.4050407@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> Message-ID: <20120530130440.GD616@...2774...> On Wed, 30 May 2012, Beno?t Minisini wrote: > Le 30/05/2012 13:08, jm a ?crit : > > On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: > >> Le 30/05/2012 10:48, Caveat a ?crit : > >>> Anyone need specific tests carried out, just let me know! > >>> > >>> OK, OK, I really just wanted to let everyone know it's here! > >>> > >>> Kind regards, > >>> Caveat > >>> > >> > >> These privileged people... :-) > >> > >> I was thinking: maybe I must find a way to let the IDE debug programs > >> remotely. I mean: developing the program on the PC, click on the start > >> button, and magically the program is run on the Raspberry and debugged > >> remotely. > >> > >> But I don't know what could be the best solution for that. Give your > >> ideas people... > > > > > > I just received mine from Farnell. Wanted 5 got 1 on allocation :( > > Still its here and getting Gambas and Ubuntu going on it is high on the > > priority list. > > > > For remote operation of gambas IDE, I normally spend time on lab and > > access the main desktop in office with ssh -X. > > > > ssh -X username at ...2855... > > > > If running Ubuntu I can do this: > > > > ssh -X username at ...2856... (saves having to remember ipaddress) > > > > I compile/run gambas IDE on office PC as needed from Lab PC with no loss > > of speed or effectiveness. In effect ssh -X does the full remote > > developer thing. > > > > So I imagine if Raspberry had going inside it X, gambas and ssh, and it > > was connected by ethernet, then ssh -X will work, and the full testing > > and debugging can be carried out from a remote PC with no code changes > > to Gambas! > > > > Ahhh the wonders of Linux! :-) > > > > > > [p.s. There are a couple of pointers to Gambas3 and Rasberry, > > but does anyone have some knowledge of Ubuntu + Gambas3 working and > > available as downloadable image file for SDCard?] > > > > I'd like to just do the debugging remotely. Maybe ssh is the better > solution. > > So the user would have to enter a login, a password and an host/ip in > the IDE, the IDE will connect to the RPi that way, and will be able to > run the project in debugging mode. > > Now I must find a way to let the project in debugging mode communicate > with the IDE on the PC. It should be a matter of having a socket go > through the ssh connection. > > A bit like 'ssh -X' I imagine, but I don't know exactly how it should be > done. > > If nobody tells me, I will ask google! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Don't know how remote debugging programs like gdb or something work with this, but a naive and the more annoying-to-write approach could be a socket on the other side which receives commands. There are passed through a function that selects the debugging functions by identifiers (strings would be best, I think). Depending on what is possible with the current debugger, parameter(s) are required (pointers? names?) and a way to obtain them from the debugger over there (this could be the only addition to the debugger process interface). The socket over there writes back the data so that the IDE here can display the stuff as if it was received from the debugger... This is a technically not that complicated protocol, I think. Quickly googled, the gdb seems to have implemented a GDB remote protocol, too - what else? (Written freely without security considerations) Regards, Tobi From rolf.frogs at ...221... Wed May 30 16:38:42 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Wed, 30 May 2012 16:38:42 +0200 Subject: [Gambas-user] sqlite database inside an executable In-Reply-To: <1338270208.4095.54.camel@...37...> References: <1338270208.4095.54.camel@...37...> Message-ID: <4FC630F2.3020705@...2594...> Hi Bruce, what about to cat the database-file at the end of an executable and strip it later (perhaps with cut) and store it, where you like. Another methode could be, study the C-code of the sqlite-libs and see, if you can open the database with an offset - i.e. the data will begin at the end of your executable. Hope that gives you another idea. Greetings Rolf From joem at ...2671... Wed May 30 16:46:15 2012 From: joem at ...2671... (jm) Date: Wed, 30 May 2012 15:46:15 +0100 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC6065E.4050407@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> Message-ID: <1338389175.4372.76.camel@...2672...> On Wed, 2012-05-30 at 13:37 +0200, Beno?t Minisini wrote: > Le 30/05/2012 13:08, jm a ?crit : > > On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: > >> Le 30/05/2012 10:48, Caveat a ?crit : > >>> Anyone need specific tests carried out, just let me know! > >>> > >>> OK, OK, I really just wanted to let everyone know it's here! > >>> > >>> Kind regards, > >>> Caveat > >>> > >> > >> These privileged people... :-) > >> > >> I was thinking: maybe I must find a way to let the IDE debug programs > >> remotely. I mean: developing the program on the PC, click on the start > >> button, and magically the program is run on the Raspberry and debugged > >> remotely. > >> > >> But I don't know what could be the best solution for that. Give your > >> ideas people... > > > > > > I just received mine from Farnell. Wanted 5 got 1 on allocation :( > > Still its here and getting Gambas and Ubuntu going on it is high on the > > priority list. > > > > For remote operation of gambas IDE, I normally spend time on lab and > > access the main desktop in office with ssh -X. > > > > ssh -X username at ...2855... > > > > If running Ubuntu I can do this: > > > > ssh -X username at ...2856... (saves having to remember ipaddress) > > > > I compile/run gambas IDE on office PC as needed from Lab PC with no loss > > of speed or effectiveness. In effect ssh -X does the full remote > > developer thing. > > > > So I imagine if Raspberry had going inside it X, gambas and ssh, and it > > was connected by ethernet, then ssh -X will work, and the full testing > > and debugging can be carried out from a remote PC with no code changes > > to Gambas! > > > > Ahhh the wonders of Linux! :-) > > > > > > [p.s. There are a couple of pointers to Gambas3 and Rasberry, > > but does anyone have some knowledge of Ubuntu + Gambas3 working and > > available as downloadable image file for SDCard?] > > > > I'd like to just do the debugging remotely. Maybe ssh is the better > solution. > > So the user would have to enter a login, a password and an host/ip in > the IDE, the IDE will connect to the RPi that way, and will be able to > run the project in debugging mode. > > Now I must find a way to let the project in debugging mode communicate > with the IDE on the PC. It should be a matter of having a socket go > through the ssh connection. > > A bit like 'ssh -X' I imagine, but I don't know exactly how it should be > done. > > If nobody tells me, I will ask google! Verbosity has made things unclear! :) Sorry Beno?t, unless I mis-understood something, I am sure ssh -X login will be as good as IDE login without the overheads. I do this all the time with ssh -X so I am a fan of this method of remote debugging. Please try logging into a remote PC with ssh -X username at ...2857..., then run gambas IDE by typing gambas3. Now open gambas3 on local PC to run both IDEs side by side. Start using both IDEs, side by side, and see if you can tell which IDE is local and which one remote!! Its not possible to tell the difference for most things except perhaps games and video because screen update is through network. Although the remote gambas is displayed on local desktop, its still physically running on the remote machine. As such if you had say a serial port receiving data on the remote machine, then you can view that data coming in through the gambas serial port example program. Some experiments run for hours in the lab, so when I'm in the office, I do ssh -X into the lab PC and run the serial port example program and it shows what state the experiment has reached. Best regards. ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From ron at ...1740... Wed May 30 16:50:35 2012 From: ron at ...1740... (Ron) Date: Wed, 30 May 2012 16:50:35 +0200 Subject: [Gambas-user] Compile error in gb.xml Message-ID: <4FC633BB.7030309@...1740...> Gambas trunk doesn't compile anymore on two machines now. This is the end: make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.libxml' make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' Making all in gb.xml make[2]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' make all-recursive make[3]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' Making all in src make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src' Making all in html make[5]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src/html' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c -o gb_xml_html_la-gbi.lo `test -f '../gbi.cpp' || echo './'`../gbi.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c ../gbi.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-gbi.o mv -f .deps/gb_xml_html_la-gbi.Tpo .deps/gb_xml_html_la-gbi.Plo /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c -o gb_xml_html_la-utils.lo `test -f '../utils.cpp' || echo './'`../utils.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c ../utils.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-utils.o mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo make[5]: *** No rule to make target `document.cpp', needed by `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src/html' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ron/install/gambas/trunk' make: *** [all] Error 2 svn info Path: . URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 Revision: 4793 Node Kind: directory Schedule: normal Last Changed Author: lordheavy Last Changed Rev: 4793 Last Changed Date: 2012-05-30 16:11:38 +0200 (Wed, 30 May 2012) Regards, Ron_2nd. From adrien.prokopowicz at ...626... Wed May 30 16:58:26 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 30 May 2012 16:58:26 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <4FC633BB.7030309@...1740...> References: <4FC633BB.7030309@...1740...> Message-ID: <1365499.CGeDvyu3Xd@...2823...> Le mercredi 30 mai 2012 16:50:35 Ron a ?crit : > Gambas trunk doesn't compile anymore on two machines now. > > This is the end: > > make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.libxml' > make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' > make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' > make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' > Making all in gb.xml > make[2]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' > make all-recursive > make[3]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' > Making all in src > make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src' > Making all in html > make[5]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src/html' > /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer > -fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF > .deps/gb_xml_html_la-gbi.Tpo -c -o gb_xml_html_la-gbi.lo `test -f > '../gbi.cpp' || echo './'`../gbi.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT > gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c > ../gbi.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-gbi.o > mv -f .deps/gb_xml_html_la-gbi.Tpo .deps/gb_xml_html_la-gbi.Plo > /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer > -fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF > .deps/gb_xml_html_la-utils.Tpo -c -o gb_xml_html_la-utils.lo `test -f > '../utils.cpp' || echo './'`../utils.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT > gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c > ../utils.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-utils.o > mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo > make[5]: *** No rule to make target `document.cpp', needed by > `gb_xml_html_la-document.lo'. Stop. > make[5]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src/html' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ron/install/gambas/trunk' > make: *** [all] Error 2 > > svn info > Path: . > URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk > Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas > Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 > Revision: 4793 > Node Kind: directory > Schedule: normal > Last Changed Author: lordheavy > Last Changed Rev: 4793 > Last Changed Date: 2012-05-30 16:11:38 +0200 (Wed, 30 May 2012) > > Regards, > Ron_2nd. > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Ron, Did you call ./reconf and ./configure before ? If this doesn't work, try to call make clean, or to remove the .deps directory in gb.xml/src/html. Regards, Adrien. From ron at ...1740... Wed May 30 17:08:30 2012 From: ron at ...1740... (Ron) Date: Wed, 30 May 2012 17:08:30 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <1365499.CGeDvyu3Xd@...2823...> References: <4FC633BB.7030309@...1740...> <1365499.CGeDvyu3Xd@...2823...> Message-ID: <4FC637EE.6020508@...1740...> On 30-5-2012 16:58, Adrien Prokopowicz wrote: > Le mercredi 30 mai 2012 16:50:35 Ron a ?crit : >> Gambas trunk doesn't compile anymore on two machines now. >> >> This is the end: >> >> make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.libxml' >> make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' >> make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' >> make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml' >> Making all in gb.xml >> make[2]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' >> make all-recursive >> make[3]: Entering directory `/home/ron/install/gambas/trunk/gb.xml' >> Making all in src >> make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src' >> Making all in html >> make[5]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src/html' >> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. >> -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value >> -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer >> -fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF >> .deps/gb_xml_html_la-gbi.Tpo -c -o gb_xml_html_la-gbi.lo `test -f >> '../gbi.cpp' || echo './'`../gbi.cpp >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall >> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT >> gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c >> ../gbi.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-gbi.o >> mv -f .deps/gb_xml_html_la-gbi.Tpo .deps/gb_xml_html_la-gbi.Plo >> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H >> -I. -I../.. -pipe -Wall -fno-exceptions -Wno-unused-value >> -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer >> -fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF >> .deps/gb_xml_html_la-utils.Tpo -c -o gb_xml_html_la-utils.lo `test -f >> '../utils.cpp' || echo './'`../utils.cpp >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall >> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT >> gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c >> ../utils.cpp -fPIC -DPIC -o .libs/gb_xml_html_la-utils.o >> mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo >> make[5]: *** No rule to make target `document.cpp', needed by >> `gb_xml_html_la-document.lo'. Stop. >> make[5]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src/html' >> make[4]: *** [all-recursive] Error 1 >> make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/ron/install/gambas/trunk' >> make: *** [all] Error 2 >> >> svn info >> Path: . >> URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk >> Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas >> Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 >> Revision: 4793 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: lordheavy >> Last Changed Rev: 4793 >> Last Changed Date: 2012-05-30 16:11:38 +0200 (Wed, 30 May 2012) >> >> Regards, >> Ron_2nd. >> >> ---------------------------------------------------------------------------- >> -- Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi Ron, > > Did you call ./reconf and ./configure before ? > > If this doesn't work, try to call make clean, or to remove the .deps directory > in gb.xml/src/html. > > Regards, > Adrien. > Only removal of the .deps directory fixed it, the others I already tried, thanks! Regards, Ron_2nd. From oceanosoftlapalma at ...626... Wed May 30 17:11:08 2012 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Wed, 30 May 2012 17:11:08 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <1338389175.4372.76.camel@...2672...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <1338389175.4372.76.camel@...2672...> Message-ID: Hi, If you're thinking to use ssh -X I think freenx will be better. I'm using for deploy my software from the last 5 years and works fine. In ubuntu it is very easy to install. But both of them need you install all the gambas enviroment in raspberry pi box and maybe Benoit is only thinking in send to raspberry the compilation process and kept the ide in other PC, isn't it? Regards, Ricardo 2012/5/30 jm > On Wed, 2012-05-30 at 13:37 +0200, Beno?t Minisini wrote: > > Le 30/05/2012 13:08, jm a ?crit : > > > On Wed, 2012-05-30 at 10:55 +0200, Beno?t Minisini wrote: > > >> Le 30/05/2012 10:48, Caveat a ?crit : > > >>> Anyone need specific tests carried out, just let me know! > > >>> > > >>> OK, OK, I really just wanted to let everyone know it's here! > > >>> > > >>> Kind regards, > > >>> Caveat > > >>> > > >> > > >> These privileged people... :-) > > >> > > >> I was thinking: maybe I must find a way to let the IDE debug programs > > >> remotely. I mean: developing the program on the PC, click on the start > > >> button, and magically the program is run on the Raspberry and debugged > > >> remotely. > > >> > > >> But I don't know what could be the best solution for that. Give your > > >> ideas people... > > > > > > > > > I just received mine from Farnell. Wanted 5 got 1 on allocation :( > > > Still its here and getting Gambas and Ubuntu going on it is high on the > > > priority list. > > > > > > For remote operation of gambas IDE, I normally spend time on lab and > > > access the main desktop in office with ssh -X. > > > > > > ssh -X username at ...2855... > > > > > > If running Ubuntu I can do this: > > > > > > ssh -X username at ...2856... (saves having to remember > ipaddress) > > > > > > I compile/run gambas IDE on office PC as needed from Lab PC with no > loss > > > of speed or effectiveness. In effect ssh -X does the full remote > > > developer thing. > > > > > > So I imagine if Raspberry had going inside it X, gambas and ssh, and it > > > was connected by ethernet, then ssh -X will work, and the full testing > > > and debugging can be carried out from a remote PC with no code changes > > > to Gambas! > > > > > > Ahhh the wonders of Linux! :-) > > > > > > > > > [p.s. There are a couple of pointers to Gambas3 and Rasberry, > > > but does anyone have some knowledge of Ubuntu + Gambas3 working and > > > available as downloadable image file for SDCard?] > > > > > > > I'd like to just do the debugging remotely. Maybe ssh is the better > > solution. > > > > So the user would have to enter a login, a password and an host/ip in > > the IDE, the IDE will connect to the RPi that way, and will be able to > > run the project in debugging mode. > > > > Now I must find a way to let the project in debugging mode communicate > > with the IDE on the PC. It should be a matter of having a socket go > > through the ssh connection. > > > > A bit like 'ssh -X' I imagine, but I don't know exactly how it should be > > done. > > > > If nobody tells me, I will ask google! > > > Verbosity has made things unclear! :) > > Sorry Beno?t, unless I mis-understood something, I am sure ssh -X login > will be as good as IDE login without the overheads. > > I do this all the time with ssh -X so I am a fan of this method of > remote debugging. Please try logging into a remote PC with ssh -X > username at ...2857..., then run gambas IDE by typing gambas3. Now open > gambas3 on local PC to run both IDEs side by side. Start using both > IDEs, side by side, and see if you can tell which IDE is local and which > one remote!! Its not possible to tell the difference for most things > except perhaps games and video because screen update is through network. > > Although the remote gambas is displayed on local desktop, its still > physically running on the remote machine. As such if you had > say a serial port receiving data on the remote machine, > then you can view that data coming in through the gambas serial port > example program. Some experiments run for hours in the lab, so when > I'm in the office, I do ssh -X into the lab PC and run the serial > port example program and it shows what state the experiment has reached. > > Best regards. > > > > ______________________________________________________________________________ > This message has been checked for viruses and spam by Corpex using > the ArmourPlate Anti Virus and Anti Spam Scanning Service. > To find out more and see our email archiving service see > http://www.armourplate.com or call Corpex on UK 0845 050 1898. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed May 30 19:14:22 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 30 May 2012 19:14:22 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <41239A67-AE5C-4B02-8E6C-2723DBAD237F@...1896...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <41239A67-AE5C-4B02-8E6C-2723DBAD237F@...1896...> Message-ID: <4FC6556E.8070704@...1...> Le 30/05/2012 14:12, linuxos a ?crit : > Hi Beno?t, > > To communicate by ssh you can use the same library that i used to build my proper component: libssh.0.52 at this url: http://www.libssh.org/ > > and you can get my component here: http://www.gambasforge.org/code-45-gbsshclient.html > > Olivier Cruilles > I will look at it, but if this is just one command line to make a tunnel, I usually prefer to use it directly in the IDE just to reduce the dependencies. -- Beno?t Minisini From gambas at ...1... Wed May 30 19:15:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 30 May 2012 19:15:11 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <20120530130440.GD616@...2774...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <20120530130440.GD616@...2774...> Message-ID: <4FC6559F.1090406@...1...> Le 30/05/2012 15:04, tobi a ?crit : > > Don't know how remote debugging programs like gdb or something work with this, but a naive and > the more annoying-to-write approach could be a socket on the other side which receives commands. > There are passed through a function that selects the debugging functions by identifiers (strings > would be best, I think). Depending on what is possible with the current debugger, parameter(s) are > required (pointers? names?) and a way to obtain them from the debugger over there (this could be > the only addition to the debugger process interface). The socket over there writes back the data > so that the IDE here can display the stuff as if it was received from the debugger... This is a > technically not that complicated protocol, I think. Quickly googled, the gdb seems to have > implemented a GDB remote protocol, too - what else? > (Written freely without security considerations) > > Regards, > Tobi > Actually the Gambas debugger already works like that, except that it is based on a local named pipe, and not a socket. -- Beno?t Minisini From gambas at ...1... Wed May 30 19:17:09 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 30 May 2012 19:17:09 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <1338389175.4372.76.camel@...2672...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <1338389175.4372.76.camel@...2672...> Message-ID: <4FC65615.8040905@...1...> > > Verbosity has made things unclear! :) > > Sorry Beno?t, unless I mis-understood something, I am sure ssh -X login > will be as good as IDE login without the overheads. > > I do this all the time with ssh -X so I am a fan of this method of > remote debugging. Please try logging into a remote PC with ssh -X > username at ...2857..., then run gambas IDE by typing gambas3. Now open > gambas3 on local PC to run both IDEs side by side. Start using both > IDEs, side by side, and see if you can tell which IDE is local and which > one remote!! Its not possible to tell the difference for most things > except perhaps games and video because screen update is through network. > > Although the remote gambas is displayed on local desktop, its still > physically running on the remote machine. As such if you had > say a serial port receiving data on the remote machine, > then you can view that data coming in through the gambas serial port > example program. Some experiments run for hours in the lab, so when > I'm in the office, I do ssh -X into the lab PC and run the serial > port example program and it shows what state the experiment has reached. > > Best regards. > The problem is that the debugged program is not totally local as it used the PC remote X11 display. If you want the debugged program to really use the Raspberry Pi X11 server, or its terminal, or something else, you have to do remote debugging. Regards, -- Beno?t Minisini From tobiasboege01 at ...1601... Wed May 30 19:50:35 2012 From: tobiasboege01 at ...1601... (tobi) Date: Wed, 30 May 2012 19:50:35 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC6559F.1090406@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <20120530130440.GD616@...2774...> <4FC6559F.1090406@...1...> Message-ID: <20120530175035.GF1285@...2774...> On Wed, 30 May 2012, Beno?t Minisini wrote: > Le 30/05/2012 15:04, tobi a ?crit : > > > > Don't know how remote debugging programs like gdb or something work with this, but a naive and > > the more annoying-to-write approach could be a socket on the other side which receives commands. > > There are passed through a function that selects the debugging functions by identifiers (strings > > would be best, I think). Depending on what is possible with the current debugger, parameter(s) are > > required (pointers? names?) and a way to obtain them from the debugger over there (this could be > > the only addition to the debugger process interface). The socket over there writes back the data > > so that the IDE here can display the stuff as if it was received from the debugger... This is a > > technically not that complicated protocol, I think. Quickly googled, the gdb seems to have > > implemented a GDB remote protocol, too - what else? > > (Written freely without security considerations) > > > > Regards, > > Tobi > > > > Actually the Gambas debugger already works like that, except that it is > based on a local named pipe, and not a socket. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Doesn't make this things (or, at least, my suggestion) even simpler? One only has to build some TCP (I assume that's what things will work on) code around it...? The only problem that I see would be to find a clever way to have both for either local or remote to affect the minimum amount of other software but you know the code and where to start. So, what's the problem here then? Do you find that solution awkward? (I bet you do not as the debugger already works like this ;)) Regards, Tobi From lists at ...2828... Wed May 30 20:07:03 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 30 May 2012 20:07:03 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5E08F.2070202@...1...> Message-ID: <000001cd3e8f$0bdb2890$0f00a8c0@...2829...> Conrats Caveat, still waiting for mine... > I was thinking: maybe I must find a way to let the IDE debug programs > remotely. I mean: developing the program on the PC, click on > the start button, and magically the program is run on the Raspberry and > debugged remotely. > > But I don't know what could be the best solution for that. Give your > ideas people... Something like that would be awesome Beno?t! When testing CLI application on my NAS I've been sharing a folder via Samba and just copied the files then tested it via Telnet. That works but is a bit tedius to have to dump debug stuff to a logfiles etc. so having something like you mention would help alot. /CJ From herberthguzman at ...626... Wed May 30 20:32:35 2012 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 30 May 2012 12:32:35 -0600 Subject: [Gambas-user] Imagen IconView Message-ID: Hello everyone, we have an educational project called edulibreos and are developing a launcher of all applications installed (usr / share / applicaction / *. Desktop), we have shown in a IconView the list of separate programs by category (eg officina all corresponding to office, all audio corresponding to audio) but we could not display the icon for each application that may help us please. The code we have is the following: punto = "." deli = " : " categoria = "Development" finlinea = "\n" ' retorno de carro (separa las filas) fincolumna = "\t" 'tabulador (separa las colunas) Shell "find /usr/share/applications/*.desktop | xargs grep " & categoria & " | cut -d" & deli & "-f 1 | cut -c 25-1000 | cut -d " & punto & " -f 1 | sort -u | sort" To portapapeles lineas = Split(portapapeles, finlinea) For a = 0 To lineas.count - 1 linea_procesada = lineas[a] columnas = Split(linea_procesada, fincolumna) For c = 0 To columnas.count - 1 If a = 0 And titulos = -1 Then rejilla.Columns[c].title = columnas[c] Else If titulos = 0 Then f_launcher.IconViewCategoriasSelect.Add(a, linea_procesada) If titulos = 0 Then rejilla[a, 1].text = columnas[c] If titulos = -1 Then rejilla[a - 1, c].text = columnas[c] Endif Next Next From vuott at ...325... Wed May 30 20:35:11 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 30 May 2012 19:35:11 +0100 (BST) Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <1365499.CGeDvyu3Xd@...2823...> Message-ID: <1338402911.8481.YahooMailClassic@...2789...> > > Did you call ./reconf and ./configure before ? > > If this doesn't work, try to call make clean, or to remove > the .deps directory > in gb.xml/src/html. > > Regards, > Adrien. > > Hello, I had the same problem-error: mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo make[5]: *** No rule to make target `document.cpp', needed by `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory `/home/vuott/trunk/gb.xml/src/html' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.xml' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.xml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 So, I tried to call "make clean"; then I re-launched update from ./reconf-all, but I have had the error again. You suggested ".deps directory" in gb.xml/src/html must be removed. Question: is ".deps directory" a folder with files ? There I open /html folder, but I saw only files (CDocument.ccp, etc, etc). Thanks :-( From joem at ...2671... Wed May 30 20:35:18 2012 From: joem at ...2671... (jm) Date: Wed, 30 May 2012 19:35:18 +0100 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC65615.8040905@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC5E08F.2070202@...1...> <1338376110.3843.16.camel@...2672...> <4FC6065E.4050407@...1...> <1338389175.4372.76.camel@...2672...> <4FC65615.8040905@...1...> Message-ID: <1338402918.5315.9.camel@...2672...> On Wed, 2012-05-30 at 19:17 +0200, Beno?t Minisini wrote: > > > > Verbosity has made things unclear! :) > > > > Sorry Beno?t, unless I mis-understood something, I am sure ssh -X login > > will be as good as IDE login without the overheads. > > > > I do this all the time with ssh -X so I am a fan of this method of > > remote debugging. Please try logging into a remote PC with ssh -X > > username at ...2857..., then run gambas IDE by typing gambas3. Now open > > gambas3 on local PC to run both IDEs side by side. Start using both > > IDEs, side by side, and see if you can tell which IDE is local and which > > one remote!! Its not possible to tell the difference for most things > > except perhaps games and video because screen update is through network. > > > > Although the remote gambas is displayed on local desktop, its still > > physically running on the remote machine. As such if you had > > say a serial port receiving data on the remote machine, > > then you can view that data coming in through the gambas serial port > > example program. Some experiments run for hours in the lab, so when > > I'm in the office, I do ssh -X into the lab PC and run the serial > > port example program and it shows what state the experiment has reached. > > > > Best regards. > > > > The problem is that the debugged program is not totally local as it used > the PC remote X11 display. > > If you want the debugged program to really use the Raspberry Pi X11 > server, or its terminal, or something else, you have to do remote debugging. > > Regards, I don't understand X well enough to comment. If I type "firefox" after ssh -X, it runs local firefox! Something goes horribly wrong between local and remote distinction. (I have to type "firefox --no-remote" to make sure its the remote firefox.) However, I also find if I am running two different versions of Linux with different icons, then using remotely running IDE to open a file manually, I find the icons and dialog box takes on characteristics of remote machine. As if the remote window manager is doing all the work. Regards ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From adrien.prokopowicz at ...626... Wed May 30 20:44:39 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 30 May 2012 20:44:39 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <1338402911.8481.YahooMailClassic@...2789...> References: <1338402911.8481.YahooMailClassic@...2789...> Message-ID: <5577869.27qTzkqmlr@...2823...> Le mercredi 30 mai 2012 19:35:11 Ru Vuott a ?crit : > > Did you call ./reconf and ./configure before ? > > > > If this doesn't work, try to call make clean, or to remove > > the .deps directory > > in gb.xml/src/html. > > > > Regards, > > Adrien. > > Hello, > > I had the same problem-error: > > mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo > make[5]: *** No rule to make target `document.cpp', needed by > `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory > `/home/vuott/trunk/gb.xml/src/html' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.xml' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.xml' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > > > So, I tried to call "make clean"; then I re-launched update from > ./reconf-all, but I have had the error again. You suggested ".deps > directory" in gb.xml/src/html must be removed. Question: is ".deps > directory" a folder with files ? There I open /html folder, but I saw only > files (CDocument.ccp, etc, etc). > > Thanks :-( > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The .deps folder is hidden. You must enable "show hidden files" in your file manager to see it. Or simply run rm -r gb.xml/src/html/.deps in a terminal from the gambas source directory. The problem is that I had to rename a few source files, and libtool seems not to like this ... Beno?t ? From gambas at ...1... Wed May 30 20:47:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 30 May 2012 20:47:52 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <5577869.27qTzkqmlr@...2823...> References: <1338402911.8481.YahooMailClassic@...2789...> <5577869.27qTzkqmlr@...2823...> Message-ID: <4FC66B58.9020605@...1...> Le 30/05/2012 20:44, Adrien Prokopowicz a ?crit : > Le mercredi 30 mai 2012 19:35:11 Ru Vuott a ?crit : >>> Did you call ./reconf and ./configure before ? >>> >>> If this doesn't work, try to call make clean, or to remove >>> the .deps directory >>> in gb.xml/src/html. >>> >>> Regards, >>> Adrien. >> >> Hello, >> >> I had the same problem-error: >> >> mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo >> make[5]: *** No rule to make target `document.cpp', needed by >> `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory >> `/home/vuott/trunk/gb.xml/src/html' >> make[4]: *** [all-recursive] Error 1 >> make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/home/vuott/trunk/gb.xml' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/vuott/trunk/gb.xml' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/vuott/trunk' >> make: *** [all] Error 2 >> >> >> >> So, I tried to call "make clean"; then I re-launched update from >> ./reconf-all, but I have had the error again. You suggested ".deps >> directory" in gb.xml/src/html must be removed. Question: is ".deps >> directory" a folder with files ? There I open /html folder, but I saw only >> files (CDocument.ccp, etc, etc). >> >> Thanks :-( >> >> ---------------------------------------------------------------------------- >> -- Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > The .deps folder is hidden. You must enable "show hidden files" in your file > manager to see it. Or simply run rm -r gb.xml/src/html/.deps in a terminal > from the gambas source directory. > > The problem is that I had to rename a few source files, and libtool seems not > to like this ... > Beno?t ? > As soon as you use 'svn move', you should not have any problem. Of course before recompiling you must issue a a './reconf && ./configure -C'. -- Beno?t Minisini From adrien.prokopowicz at ...626... Wed May 30 20:57:01 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 30 May 2012 20:57:01 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <4FC66B58.9020605@...1...> References: <1338402911.8481.YahooMailClassic@...2789...> <5577869.27qTzkqmlr@...2823...> <4FC66B58.9020605@...1...> Message-ID: <1468736.m5iVed65VB@...2823...> Le mercredi 30 mai 2012 20:47:52 Beno?t Minisini a ?crit : > Le 30/05/2012 20:44, Adrien Prokopowicz a ?crit : > > Le mercredi 30 mai 2012 19:35:11 Ru Vuott a ?crit : > >>> Did you call ./reconf and ./configure before ? > >>> > >>> If this doesn't work, try to call make clean, or to remove > >>> the .deps directory > >>> in gb.xml/src/html. > >>> > >>> Regards, > >>> Adrien. > >> > >> Hello, > >> > >> I had the same problem-error: > >> > >> mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo > >> make[5]: *** No rule to make target `document.cpp', needed by > >> `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory > >> `/home/vuott/trunk/gb.xml/src/html' > >> make[4]: *** [all-recursive] Error 1 > >> make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src' > >> make[3]: *** [all-recursive] Error 1 > >> make[3]: Leaving directory `/home/vuott/trunk/gb.xml' > >> make[2]: *** [all] Error 2 > >> make[2]: Leaving directory `/home/vuott/trunk/gb.xml' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/home/vuott/trunk' > >> make: *** [all] Error 2 > >> > >> > >> > >> So, I tried to call "make clean"; then I re-launched update from > >> ./reconf-all, but I have had the error again. You suggested ".deps > >> directory" in gb.xml/src/html must be removed. Question: is ".deps > >> directory" a folder with files ? There I open /html folder, but I saw > >> only > >> files (CDocument.ccp, etc, etc). > >> > >> Thanks :-( > >> > >> ------------------------------------------------------------------------- > >> --- -- Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > The .deps folder is hidden. You must enable "show hidden files" in your > > file manager to see it. Or simply run rm -r gb.xml/src/html/.deps in a > > terminal from the gambas source directory. > > > > The problem is that I had to rename a few source files, and libtool seems > > not to like this ... > > Beno?t ? > > As soon as you use 'svn move', you should not have any problem. Of > course before recompiling you must issue a a './reconf && ./configure -C'. I use 'svn add' and then 'svn delete', but it's the same thing, isn't it ? Calling reconf and configure doesn't changes anything, the dependencies files are not updated (until I remove the .deps directory). From vuott at ...325... Wed May 30 21:00:03 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 30 May 2012 20:00:03 +0100 (BST) Subject: [Gambas-user] Compile error in gb.xml - OK In-Reply-To: <5577869.27qTzkqmlr@...2823...> Message-ID: <1338404403.78394.YahooMailClassic@...2748...> Hello Adrien, well, I removed .deps directory in gb.xml/src/html, and I re-launched update from ./reconf-all... It was OK and worked ! :-) Thank you, so much. Vuottttttt --- Mer 30/5/12, Adrien Prokopowicz ha scritto: > Da: Adrien Prokopowicz > Oggetto: Re: [Gambas-user] Compile error in gb.xml > A: "mailing list for gambas users" > Data: Mercoled? 30 maggio 2012, 20:44 > Le mercredi 30 mai 2012 19:35:11 Ru > Vuott a ?crit : > > > Did you call ./reconf and ./configure before ? > > > > > > If this doesn't work, try to call make clean, or > to remove > > > the .deps directory > > > in gb.xml/src/html. > > > > > > Regards, > > > Adrien. > > > > Hello, > > > > I had the same problem-error: > > > > mv -f .deps/gb_xml_html_la-utils.Tpo > .deps/gb_xml_html_la-utils.Plo > > make[5]: *** No rule to make target `document.cpp', > needed by > > `gb_xml_html_la-document.lo'.? Stop. make[5]: > Leaving directory > > `/home/vuott/trunk/gb.xml/src/html' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > `/home/vuott/trunk/gb.xml/src' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/home/vuott/trunk/gb.xml' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/vuott/trunk/gb.xml' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/vuott/trunk' > > make: *** [all] Error 2 > > > > > > > > So, I tried to call "make clean"; then I re-launched > update from > > ./reconf-all, but I have had the error again. You > suggested ".deps > > directory" in gb.xml/src/html must be removed. > Question: is ".deps > > directory" a folder with files ? There I open /html > folder, but I saw only > > files (CDocument.ccp, etc, etc). > > > > Thanks? :-( > > > > > ---------------------------------------------------------------------------- > > -- Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > The .deps folder is hidden. You must enable "show hidden > files" in your file > manager to see it. Or simply run rm -r gb.xml/src/html/.deps > in a terminal > from the gambas source directory. > > The problem is that I had to rename a few source files, and > libtool seems not > to like this ... > Beno?t ? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed May 30 21:01:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 30 May 2012 21:01:57 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <1468736.m5iVed65VB@...2823...> References: <1338402911.8481.YahooMailClassic@...2789...> <5577869.27qTzkqmlr@...2823...> <4FC66B58.9020605@...1...> <1468736.m5iVed65VB@...2823...> Message-ID: <4FC66EA5.4090907@...1...> Le 30/05/2012 20:57, Adrien Prokopowicz a ?crit : > Le mercredi 30 mai 2012 20:47:52 Beno?t Minisini a ?crit : >> Le 30/05/2012 20:44, Adrien Prokopowicz a ?crit : >>> Le mercredi 30 mai 2012 19:35:11 Ru Vuott a ?crit : >>>>> Did you call ./reconf and ./configure before ? >>>>> >>>>> If this doesn't work, try to call make clean, or to remove >>>>> the .deps directory >>>>> in gb.xml/src/html. >>>>> >>>>> Regards, >>>>> Adrien. >>>> >>>> Hello, >>>> >>>> I had the same problem-error: >>>> >>>> mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo >>>> make[5]: *** No rule to make target `document.cpp', needed by >>>> `gb_xml_html_la-document.lo'. Stop. make[5]: Leaving directory >>>> `/home/vuott/trunk/gb.xml/src/html' >>>> make[4]: *** [all-recursive] Error 1 >>>> make[4]: Leaving directory `/home/vuott/trunk/gb.xml/src' >>>> make[3]: *** [all-recursive] Error 1 >>>> make[3]: Leaving directory `/home/vuott/trunk/gb.xml' >>>> make[2]: *** [all] Error 2 >>>> make[2]: Leaving directory `/home/vuott/trunk/gb.xml' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/home/vuott/trunk' >>>> make: *** [all] Error 2 >>>> >>>> >>>> >>>> So, I tried to call "make clean"; then I re-launched update from >>>> ./reconf-all, but I have had the error again. You suggested ".deps >>>> directory" in gb.xml/src/html must be removed. Question: is ".deps >>>> directory" a folder with files ? There I open /html folder, but I saw >>>> only >>>> files (CDocument.ccp, etc, etc). >>>> >>>> Thanks :-( >>>> >>>> ------------------------------------------------------------------------- >>>> --- -- Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> The .deps folder is hidden. You must enable "show hidden files" in your >>> file manager to see it. Or simply run rm -r gb.xml/src/html/.deps in a >>> terminal from the gambas source directory. >>> >>> The problem is that I had to rename a few source files, and libtool seems >>> not to like this ... >>> Beno?t ? >> >> As soon as you use 'svn move', you should not have any problem. Of >> course before recompiling you must issue a a './reconf&& ./configure -C'. > > I use 'svn add' and then 'svn delete', but it's the same thing, isn't it ? > Calling reconf and configure doesn't changes anything, the dependencies files > are not updated (until I remove the .deps directory). They are removed when you do a "make clean". I thought it was not needed, but maybe it depends on what is renamed exactly. -- Beno?t Minisini From gambas at ...1... Wed May 30 21:02:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 30 May 2012 21:02:50 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <4FC66EA5.4090907@...1...> References: <1338402911.8481.YahooMailClassic@...2789...> <5577869.27qTzkqmlr@...2823...> <4FC66B58.9020605@...1...> <1468736.m5iVed65VB@...2823...> <4FC66EA5.4090907@...1...> Message-ID: <4FC66EDA.1010801@...1...> Le 30/05/2012 21:01, Beno?t Minisini a ?crit : >>>> The problem is that I had to rename a few source files, and libtool >>>> seems >>>> not to like this ... >>>> Beno?t ? >>> >>> As soon as you use 'svn move', you should not have any problem. Of >>> course before recompiling you must issue a a './reconf&& ./configure >>> -C'. >> >> I use 'svn add' and then 'svn delete', but it's the same thing, isn't >> it ? >> Calling reconf and configure doesn't changes anything, the >> dependencies files >> are not updated (until I remove the .deps directory). > > They are removed when you do a "make clean". I thought it was not > needed, but maybe it depends on what is renamed exactly. > Maybe all that information should be centralized in the "how to compile" wiki page... -- Beno?t Minisini From adrien.prokopowicz at ...626... Wed May 30 21:07:07 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 30 May 2012 21:07:07 +0200 Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <4FC66EDA.1010801@...1...> References: <1338402911.8481.YahooMailClassic@...2789...> <4FC66EA5.4090907@...1...> <4FC66EDA.1010801@...1...> Message-ID: <1357221.7J5uh5Bj6F@...2823...> Le mercredi 30 mai 2012 21:02:50 Beno?t Minisini a ?crit : > Le 30/05/2012 21:01, Beno?t Minisini a ?crit : > >>>> The problem is that I had to rename a few source files, and libtool > >>>> seems > >>>> not to like this ... > >>>> Beno?t ? > >>> > >>> As soon as you use 'svn move', you should not have any problem. Of > >>> course before recompiling you must issue a a './reconf&& ./configure > >>> -C'. > >> > >> I use 'svn add' and then 'svn delete', but it's the same thing, isn't > >> it ? > >> Calling reconf and configure doesn't changes anything, the > >> dependencies files > >> are not updated (until I remove the .deps directory). > > > > They are removed when you do a "make clean". I thought it was not > > needed, but maybe it depends on what is renamed exactly. > > Maybe all that information should be centralized in the "how to compile" > wiki page... Yes, I think so. I talso tried "make clean". It removes .libs, but not .deps : [adrien at ...2823... html]$ make clean test -z "gb.xml.html.la" || rm -f gb.xml.html.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o rm -f *.lo [adrien at ...2823... html]$ From vuott at ...325... Wed May 30 21:06:10 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 30 May 2012 20:06:10 +0100 (BST) Subject: [Gambas-user] Compile error in gb.xml In-Reply-To: <4FC66EDA.1010801@...1...> Message-ID: <1338404770.46571.YahooMailClassic@...2789...> > > Maybe all that information should be centralized in the "how > to compile" > wiki page... > > -- > Beno?t Minisini > > ...yes, Beno?t, this's a good idea. Bye Vuottttt From gambas.fr at ...626... Wed May 30 22:00:47 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 May 2012 22:00:47 +0200 Subject: [Gambas-user] Imagen IconView In-Reply-To: References: Message-ID: HI I hope this could help you :-) -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: menu-0.0.4.tar.gz Type: application/x-gzip Size: 6084 bytes Desc: not available URL: From bbruen at ...2308... Thu May 31 05:38:21 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 31 May 2012 13:08:21 +0930 Subject: [Gambas-user] Suggestion: Packaging preferences in gambas3.config Message-ID: <1338435501.14818.9.camel@...37...> Hi Beno?t, Attached are three diffs that add a small benefit to those whose package up a lot of projects. Basically it adds "default" settings for the items on the first page of the FMakeInstall wizard. These are help in the gambas3.config file. The changes are: 1) add another tab to the Preferences form to allow the user to set/change the defaults for packaging info. 2) changes the name of the "Packages" tab to "Source Archives" (ditto the label on that tab. 3) adds logic to FOptions.class to manage the default values in and out of Settings 4) adds logic to the FMakeInstall form to look for these defaults in Settings[FMakeInstall/...] The benefits are only to those who do package a lot of projects. Hope you see your way to adopting these. I wrote them after having to type in the same info 20 times and retype them after mispelling the email address every time. (And I hate managing conflicts in trunk.) regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: FMakeInstall.class.diff Type: text/x-patch Size: 1610 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FOptions.class.diff Type: text/x-patch Size: 1403 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FOptions.form.diff Type: text/x-patch Size: 4182 bytes Desc: not available URL: From bbruen at ...2308... Thu May 31 13:27:46 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 31 May 2012 20:57:46 +0930 Subject: [Gambas-user] Introducing Keith Message-ID: <1338463666.4806.7.camel@...40...> Hi all, We, at paddys-hill, have had a new gentleman join us lately, who is going to help me with the packaging of our stuff. He's pretty good at this makefile mumbo-jumbo that I struggle with daily. However, he's only just getting into gambas. You will be hearing from him shortly (no doubt). thanks in advance Bruce From Gambas at ...1950... Thu May 31 16:30:28 2012 From: Gambas at ...1950... (Caveat) Date: Thu, 31 May 2012 16:30:28 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC5DEEB.4020007@...1950...> References: <4FC5DEEB.4020007@...1950...> Message-ID: <4FC78084.6000001@...1950...> ssh -X to the pi is working fine. I just installed openssh-server on the pi (I'm currently playing with the Debian Squeeze image) and have successfully run Empathy on the pi but with its window here on my main machine... Regards, Caveat On 30/05/12 10:48, Caveat wrote: > Anyone need specific tests carried out, just let me know! > > OK, OK, I really just wanted to let everyone know it's here! > > Kind regards, > Caveat > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu May 31 19:09:44 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 31 May 2012 20:09:44 +0300 Subject: [Gambas-user] Bug with rev 4772 In-Reply-To: References: Message-ID: I'm trying to isolate this problem, and while messing up with things I found bug (signal 11) that might be related. Project attached. >From gbx_exec.c I uncommented this "printf("**** NEW %s\n", class->name);", because the bug seems to happen when Gambas initializes classes. So after that all project start with messages (what they are?); **** NEW Object[] **** NEW Collection **** NEW Collection **** NEW Collection But the project I'm working with start with messages; **** NEW Object[] **** NEW Collection **** NEW Collection **** NEW Collection **** NEW Integer[] <--- I can't understand where this comes from (there should be a lot of other variables before that). Gambas 3 rev 4793 @ Xubuntu 12.04 64bit Jussi On 24 May 2012 22:51, Jussi Lahtinen wrote: > Hi! > I tried to start one of my project with new revision, but nothing showed > up (there should be window which tells about initialization progress). > So, I tried to run it with gdb to see what is going on. Interpreter is in > loop and so I cannot get anything from it, so I killed it. > > Unfortunately I cannot provide the source. I hope you get the picture from > backtrace. > > (gdb) run > Starting program: /usr/local/bin/gbx3 > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > bt > > Program received signal SIGTERM, Terminated. > 0x00007fffec956020 in gdk_screen_get_setting at ...2854... () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > (gdb) bt > #0 0x00007fffec956020 in gdk_screen_get_setting at ...2854... () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #1 0x00007fffeca8fe73 in ?? () > from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 > #2 0x00007ffff2b4d93e in g_object_get_valist () > from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 > #3 0x00007ffff2b4dd97 in g_object_get () > from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 > #4 0x00007ffff52b3786 in QGtkStyle::pixelMetric(QStyle::PixelMetric, > QStyleOption const*, QWidget const*) const () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #5 0x00007ffff52f3717 in QAbstractButton::iconSize() const () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #6 0x00007ffff5381daf in > QPushButton::initStyleOption(QStyleOptionButton*) const () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #7 0x00007ffff53827b0 in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #8 0x00007ffff5382afb in QPushButton::QPushButton(QWidget*) () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #9 0x00007ffff61b594a in MyPushButton::MyPushButton (this=0x1aa14690, > parent=) at CButton.cpp:527 > #10 0x00007ffff61b5a3e in CBUTTON_new (_object=0x1aa3bc88, > _param=) at CButton.cpp:56 > #11 0x000000000040b298 in EXEC_native () at gbx_exec.c:1304 > #12 0x000000000040ba09 in EXEC_special (special=, > class=, object=, nparam=1, drop=1 '\001') > at gbx_exec.c:1612 > #13 0x000000000040bddd in EXEC_special_inheritance (special=0, > class=0x67ae48, > object=0x1aa3bc88, nparam=1, drop=1 '\001') at gbx_exec.c:1767 > #14 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #15 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #16 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #17 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #18 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92fd78, > object=0x1aa0f058, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #19 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #20 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #21 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #22 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #23 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) > at gbx_class_load.c:1234 > #24 0x0000000000411b31 in CLASS_load_real (class=0x751e68) > at gbx_class_load.c:1269 > #25 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed60, > pclass=0x7fffffe1daf0, pobject=0x7fffffe1daf8) at gbx_exec.c:1496 > #28 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #29 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #30 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92f238, > object=0x1a9eba78, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #31 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #32 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #33 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #34 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #35 0x0000000000411a91 in CLASS_load_without_init (class=0x751e68) > at gbx_class_load.c:1234 > #36 0x0000000000411b31 in CLASS_load_real (class=0x751e68) > at gbx_class_load.c:1269 > #37 0x000000000040c45f in EXEC_object_other (val=0x7ffff663ed00, > pclass=0x7fffffe1e230, pobject=0x7fffffe1e238) at gbx_exec.c:1496 > #38 0x000000000040c5b4 in EXEC_push_unknown (code=1024) at > gbx_exec_push.c:65 > #39 0x0000000000433c68 in EXEC_loop () at gbx_exec_loop.c:574 > #40 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > #41 0x000000000040aab1 in EXEC_function_real () at gbx_exec.c:863 > #42 0x000000000040bc90 in EXEC_special_inheritance (special=0, > class=0x92f238, > object=0x1a9879f8, nparam=0, drop=1 '\001') at gbx_exec.c:1720 > #43 0x000000000040c0d9 in EXEC_new () at gbx_exec.c:1885 > #44 0x0000000000432e97 in EXEC_loop () at gbx_exec_loop.c:879 > #45 0x000000000040a412 in EXEC_function_loop () at gbx_exec.c:899 > > > Jussi > PS. I think I need to reboot, that caused Xorg to hog 3.6G of memory! > -------------- next part -------------- A non-text attachment was scrubbed... Name: Looping-0.0.1.tar.gz Type: application/x-gzip Size: 4833 bytes Desc: not available URL: