From gambas.fr at ...626... Sat Aug 1 01:15:11 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Aug 2009 01:15:11 +0200 Subject: [Gambas-user] IDE pop up help 2196 In-Reply-To: <200907310750.55948.rterry@...1946...> References: <200907310750.55948.rterry@...1946...> Message-ID: <6324a42a0907311615g65537cafo638953eeacff8827@...627...> i will look at that tomarow 2009/7/30 richard terry : > No longer pops up when swiped but loads the help page into a browser, so one > soon gets dozens of individual browser pages, I think the in-ide-way was > better. > > Richard > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Aug 1 11:15:02 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Aug 2009 11:15:02 +0200 Subject: [Gambas-user] IDE pop up help 2196 In-Reply-To: <6324a42a0907311615g65537cafo638953eeacff8827@...627...> References: <200907310750.55948.rterry@...1946...> <6324a42a0907311615g65537cafo638953eeacff8827@...627...> Message-ID: <6324a42a0908010215l76367f27q353f10dfb951daf1@...627...> corrected ! in rev 2201 2009/8/1 Fabien Bodard : > i will look at that tomarow > > 2009/7/30 richard terry : >> No longer pops up when swiped but loads the help page into a browser, so one >> soon gets dozens of individual browser pages, I think the in-ide-way was >> better. >> >> Richard >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From rterry at ...1946... Sat Aug 1 11:25:32 2009 From: rterry at ...1946... (richard terry) Date: Sat, 1 Aug 2009 19:25:32 +1000 Subject: [Gambas-user] IDE pop up help 2196 In-Reply-To: <6324a42a0908010215l76367f27q353f10dfb951daf1@...627...> References: <200907310750.55948.rterry@...1946...> <6324a42a0907311615g65537cafo638953eeacff8827@...627...> <6324a42a0908010215l76367f27q353f10dfb951daf1@...627...> Message-ID: <200908011925.32883.rterry@...1946...> On Sat, 1 Aug 2009 07:15:02 pm you wrote: > corrected ! in rev 2201 > > 2009/8/1 Fabien Bodard : > > i will look at that tomarow > > > > 2009/7/30 richard terry : > >> No longer pops up when swiped but loads the help page into a browser, so > >> one soon gets dozens of individual browser pages, I think the in-ide-way > >> was better. > >> > >> Richard > >> > >> ------------------------------------------------------------------------ > >>------ Let Crystal Reports handle the reporting - Free Crystal Reports > >> 2008 30-Day trial. Simplify your report design, integration and > >> deployment - and focus on what you do best, core application coding. > >> Discover what's new with Crystal Reports now. > >> ?http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user Oh, just as an after thought - those popup helps look really good, what control is used and could you point me to the section in the IDE code where they are implemented, I've a use for something similar in my program. Regards Richard From rterry at ...1946... Sat Aug 1 12:16:54 2009 From: rterry at ...1946... (richard terry) Date: Sat, 1 Aug 2009 20:16:54 +1000 Subject: [Gambas-user] Where to find this in the IDE code Message-ID: <200908012016.54742.rterry@...1946...> Hi, I want to configure my toolbar and would like to use the method in the IDE with the popup like shown in the picture, but i can't find it in the IDE code to use as a sample. I've looked at all the forms and not there, perhaps is generated in code. Anyone know, could find?? Regards Richard -------------- next part -------------- A non-text attachment was scrubbed... Name: editor toolbar.png Type: image/png Size: 17463 bytes Desc: not available URL: From gambas at ...1... Sat Aug 1 17:04:45 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 1 Aug 2009 17:04:45 +0200 Subject: [Gambas-user] Where to find this in the IDE code In-Reply-To: <200908012016.54742.rterry@...1946...> References: <200908012016.54742.rterry@...1946...> Message-ID: <200908011704.45962.gambas@...1...> > Hi, > > I want to configure my toolbar and would like to use the method in the IDE > with the popup like shown in the picture, but i can't find it in the IDE > code to use as a sample. > > I've looked at all the forms and not there, perhaps is generated in code. > > Anyone know, could find?? > > Regards > > Richard This is not in the IDE. The configuration toolbar is in the gb.form.mdi component, with the Toolbar control. Regards, -- Beno?t From linuxos at ...1896... Sat Aug 1 17:24:52 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 1 Aug 2009 17:24:52 +0200 Subject: [Gambas-user] CGI program in Gambas Message-ID: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> Hello Benoit, I would rewrite some cgi Unix script in Gambas language but I don't find any documentation to begin this project. Can you give me an example of how to write in this king of Gambas project please ? Thank you in advance. Olivier Cruilles Mail: linuxos at ...1896... From gambas at ...1... Sat Aug 1 17:25:37 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 1 Aug 2009 17:25:37 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> Message-ID: <200908011725.37201.gambas@...1...> > Hello Benoit, > > > I would rewrite some cgi Unix script in Gambas language but I don't > find any documentation > to begin this project. > > Can you give me an example of how to write in this king of Gambas > project please ? > > Thank you in advance. > > > > Olivier Cruilles > Mail: linuxos at ...1896... > Yes, there is no example of that. I have told someone in the past that I will do it, but I didn't have time. To write a CGI in Gambas, you have two possibilities: 1) Write it the same way as you write it in C. I did that with the quick & dirty Gambas wiki. 2) Use the gb.web component, that encapsulate CGI variables in a ASP-like interface. What do you prefer? -- Beno?t From linuxos at ...1896... Sat Aug 1 17:52:57 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 1 Aug 2009 17:52:57 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <200908011725.37201.gambas@...1...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> <200908011725.37201.gambas@...1...> Message-ID: In real, I saw a little example for how to use it but all try I made produce the same error over Apache server. I understand how to use scripting like asp but I don't know how to use gb.web in gambas cgi script. Le 1 ao?t 09 ? 17:25, Beno?t Minisini a ?crit : >> Hello Benoit, >> >> >> I would rewrite some cgi Unix script in Gambas language but I don't >> find any documentation >> to begin this project. >> >> Can you give me an example of how to write in this king of Gambas >> project please ? >> >> Thank you in advance. >> >> >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > Yes, there is no example of that. I have told someone in the past > that I will > do it, but I didn't have time. > > To write a CGI in Gambas, you have two possibilities: > > 1) Write it the same way as you write it in C. I did that with the > quick & > dirty Gambas wiki. > > 2) Use the gb.web component, that encapsulate CGI variables in a ASP- > like > interface. > > What do you prefer? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Olivier Cruilles Mail: linuxos at ...1896... From david_villalobos_c at ...43... Sat Aug 1 19:36:51 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Sat, 1 Aug 2009 10:36:51 -0700 (PDT) Subject: [Gambas-user] Column auto reseize in tables views. Message-ID: <332607.87658.qm@...1782...> Hi all, How can I automaticly auto resize the column width of my gridview or tableview. I mean, when I show the view, I want all the columns adjusted to the cell content. Regards -- David From gael.lehech at ...626... Sat Aug 1 23:16:01 2009 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Sat, 1 Aug 2009 23:16:01 +0200 Subject: [Gambas-user] Compiling gambas3 revision 2202 Message-ID: I get this error compiling revision 2202, on revision 2201 everything was ok Making all in debug make[5]: Entering directory `/home/gael/Sources/c++/gambas3/main/lib/debug' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../share -I../../gbx -D_REENTRANT -I../../libltdl -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CDebug.lo -MD -MP -MF .deps/CDebug.Tpo -c -o CDebug.lo CDebug.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../.. -I../../share -I../../gbx -D_REENTRANT -I../../libltdl -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CDebug.lo -MD -MP -MF .deps/CDebug.Tpo -c CDebug.c -fPIC -DPIC -o .libs/CDebug.o CDebug.c: In function 'callback_read': CDebug.c:59: error: 'DEBUG_OUTPUT_MAX_SIZE' undeclared (first use in this function) CDebug.c:59: error: (Each undeclared identifier is reported only once CDebug.c:59: error: for each function it appears in.) CDebug.c: In function 'CDEBUG_start': CDebug.c:186: error: 'DEBUG_OUTPUT_MAX_SIZE' undeclared (first use in this function) make[5]: *** [CDebug.lo] Error 1 make[5]: Leaving directory `/home/gael/Sources/c++/gambas3/main/lib/debug' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/gael/Sources/c++/gambas3/main/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/gael/Sources/c++/gambas3/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gael/Sources/c++/gambas3/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gael/Sources/c++/gambas3' make: *** [all] Error 2 From gambas at ...1... Sat Aug 1 23:28:15 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 1 Aug 2009 23:28:15 +0200 Subject: [Gambas-user] Compiling gambas3 revision 2202 In-Reply-To: References: Message-ID: <200908012328.15657.gambas@...1...> > I get this error compiling revision 2202, on revision 2201 everything was > ok > > Making all in debug > make[5]: Entering directory `/home/gael/Sources/c++/gambas3/main/lib/debug' > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../.. -I../../share -I../../gbx -D_REENTRANT -I../../libltdl -pipe > -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT > CDebug.lo -MD -MP -MF .deps/CDebug.Tpo -c -o CDebug.lo CDebug.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../share -I../../gbx -D_REENTRANT > -I../../libltdl -pipe -Wall -Wno-unused-value -fsigned-char > -fvisibility=hidden -g -Os -MT CDebug.lo -MD -MP -MF .deps/CDebug.Tpo -c > CDebug.c -fPIC -DPIC -o .libs/CDebug.o > CDebug.c: In function 'callback_read': > CDebug.c:59: error: 'DEBUG_OUTPUT_MAX_SIZE' undeclared (first use in this > function) > CDebug.c:59: error: (Each undeclared identifier is reported only once > CDebug.c:59: error: for each function it appears in.) > CDebug.c: In function 'CDEBUG_start': > CDebug.c:186: error: 'DEBUG_OUTPUT_MAX_SIZE' undeclared (first use in this > function) > make[5]: *** [CDebug.lo] Error 1 > make[5]: Leaving directory `/home/gael/Sources/c++/gambas3/main/lib/debug' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/gael/Sources/c++/gambas3/main/lib' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/gael/Sources/c++/gambas3/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/gael/Sources/c++/gambas3/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/gael/Sources/c++/gambas3' > make: *** [all] Error 2 > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It should be fixed in revision 2203. Regards, -- Beno?t From rospolosco at ...152... Sat Aug 1 18:02:53 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Sat, 1 Aug 2009 18:02:53 +0200 Subject: [Gambas-user] what's wrong with this long integer? Message-ID: <200908011802.53878.rospolosco@...152...> I have a failure with a long integer: DIM IntMyNumber AS Long IntMyNumber = 90 * 89 * 88 * 87 * 86 * 85 PRINT IntMyNumber returns 1605934816 -------------------------------------------- Bash returns the correct value: echo $[90*89*88*87*86*85] 448282533600 (that is less than 9.223.372.036.854.775.807) So why Gambas fails even if I declared it as Long? Gambas 2.15.1 Saluti, Stefano From rospolosco at ...152... Sat Aug 1 19:38:00 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Sat, 1 Aug 2009 19:38:00 +0200 Subject: [Gambas-user] test mail Message-ID: <200908011938.00457.rospolosco@...152...> From gambas at ...1... Sun Aug 2 01:00:59 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 2 Aug 2009 01:00:59 +0200 Subject: [Gambas-user] what's wrong with this long integer? In-Reply-To: <200908011802.53878.rospolosco@...152...> References: <200908011802.53878.rospolosco@...152...> Message-ID: <200908020100.59915.gambas@...1...> > I have a failure with a long integer: > > > DIM IntMyNumber AS Long > > IntMyNumber = 90 * 89 * 88 * 87 * 86 * 85 > PRINT IntMyNumber > > returns 1605934816 > > -------------------------------------------- > Bash returns the correct value: > > echo $[90*89*88*87*86*85] > > 448282533600 (that is less than 9.223.372.036.854.775.807) > > So why Gambas fails even if I declared it as Long? > > Gambas 2.15.1 > > Saluti, > > Stefano > Because only the destination variable is declared as Long. You must do that: IntMyNumber = CLong(90) * 89 * 88 * 87 * 86 * 85 -- Beno?t From rospolosco at ...152... Sun Aug 2 11:02:57 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 2 Aug 2009 11:02:57 +0200 Subject: [Gambas-user] what's wrong with this long integer? In-Reply-To: <200908020100.59915.gambas@...1...> References: <200908011802.53878.rospolosco@...152...> <200908020100.59915.gambas@...1...> Message-ID: <200908021102.57604.rospolosco@...152...> Il domenica 2 agosto 2009 01:00:59 Beno?t Minisini ha scritto: > > I have a failure with a long integer: > > > > > > DIM IntMyNumber AS Long > > > > IntMyNumber = 90 * 89 * 88 * 87 * 86 * 85 > > PRINT IntMyNumber > > > > returns 1605934816 > > > > -------------------------------------------- > > Bash returns the correct value: > > > > echo $[90*89*88*87*86*85] > > > > 448282533600 (that is less than 9.223.372.036.854.775.807) > > > > So why Gambas fails even if I declared it as Long? > > > > Gambas 2.15.1 > > > > Saluti, > > > > Stefano > > Because only the destination variable is declared as Long. You must do > that: > > IntMyNumber = CLong(90) * 89 * 88 * 87 * 86 * 85 Thank you. Stefano From rospolosco at ...152... Sun Aug 2 11:22:09 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 2 Aug 2009 11:22:09 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <332607.87658.qm@...1782...> References: <332607.87658.qm@...1782...> Message-ID: <200908021122.09532.rospolosco@...152...> Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > Hi all, > > How can I automaticly auto resize the column width of my gridview or > tableview. I mean, when I show the view, I want all the columns adjusted to > the cell content. > > Regards > > > -- > David You can't automatically. You could write a function to calculate the maximum length of a cell content in the same column and then change the column width. The basic thing is that you have to calculate the width of a cell content. You could do this: Dim iContentW as Integer iContentW = GridView1.Font.Width(GridView1[0,0].Text) Once you have the longest cell content, you can resize that column adding a little value. GridView1.Columns[0].Width = iContentW + 10 You have to calculate the width of all cell content of a specific row, select the longest, resize the column. Not comfortable, but not impossible. Bye, Stefano > > > > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Sun Aug 2 11:47:11 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 2 Aug 2009 11:47:11 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <200908011725.37201.gambas@...1...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> <200908011725.37201.gambas@...1...> Message-ID: <6E2EC24E-A6F7-4260-AB02-1AA1232CF075@...1896...> Benoit, I prefer use the gb.web component but I don't know how to start. So an example in this way will be great. Thank you. Le 1 ao?t 09 ? 17:25, Beno?t Minisini a ?crit : >> Hello Benoit, >> >> >> I would rewrite some cgi Unix script in Gambas language but I don't >> find any documentation >> to begin this project. >> >> Can you give me an example of how to write in this king of Gambas >> project please ? >> >> Thank you in advance. >> >> >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > Yes, there is no example of that. I have told someone in the past > that I will > do it, but I didn't have time. > > To write a CGI in Gambas, you have two possibilities: > > 1) Write it the same way as you write it in C. I did that with the > quick & > dirty Gambas wiki. > > 2) Use the gb.web component, that encapsulate CGI variables in a ASP- > like > interface. > > What do you prefer? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Olivier Cruilles Mail: linuxos at ...1896... From gael.lehech at ...626... Sun Aug 2 11:54:06 2009 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Sun, 2 Aug 2009 11:54:06 +0200 Subject: [Gambas-user] Compiling gambas3 revision 2202 In-Reply-To: <200908012328.15657.gambas@...1...> References: <200908012328.15657.gambas@...1...> Message-ID: Yes ! Benoit. Sincerely, Ga?l From gambas at ...1... Sun Aug 2 11:54:12 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 2 Aug 2009 11:54:12 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021122.09532.rospolosco@...152...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> Message-ID: <200908021154.12425.gambas@...1...> > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > Hi all, > > > > How can I automaticly auto resize the column width of my gridview or > > tableview. I mean, when I show the view, I want all the columns adjusted > > to the cell content. > > > > Regards > > > > > > -- > > David > > You can't automatically. You could write a function > to calculate the maximum length of a cell content > in the same column and then change the column width. > The basic thing is that you have to calculate the width > of a cell content. You could do this: > > Dim iContentW as Integer > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > Once you have the longest cell content, you can resize that > column adding a little value. > > GridView1.Columns[0].Width = iContentW + 10 > > You have to calculate the width of all cell content of a specific row, > select the longest, resize the column. Not comfortable, but not impossible. > > > Bye, > > Stefano > Normally, setting the column width or row height to -1 does the job, but: - It seems to work strangely when the GridView is filled by the Data event. - It is not implemented in gb.gtk yet. Regards, -- Beno?t From Karl.Reinl at ...9... Sun Aug 2 13:04:35 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 02 Aug 2009 13:04:35 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021154.12425.gambas@...1...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> <200908021154.12425.gambas@...1...> Message-ID: <1249211075.6773.14.camel@...40...> Am Sonntag, den 02.08.2009, 11:54 +0200 schrieb Beno?t Minisini: > > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > > Hi all, > > > > > > How can I automaticly auto resize the column width of my gridview or > > > tableview. I mean, when I show the view, I want all the columns adjusted > > > to the cell content. > > > > > > Regards > > > > > > > > > -- > > > David > > > > You can't automatically. You could write a function > > to calculate the maximum length of a cell content > > in the same column and then change the column width. > > The basic thing is that you have to calculate the width > > of a cell content. You could do this: > > > > Dim iContentW as Integer > > > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > > > Once you have the longest cell content, you can resize that > > column adding a little value. > > > > GridView1.Columns[0].Width = iContentW + 10 > > > > You have to calculate the width of all cell content of a specific row, > > select the longest, resize the column. Not comfortable, but not impossible. > > > > > > Bye, > > > > Stefano > > > > Normally, setting the column width or row height to -1 does the job, but: > - It seems to work strangely when the GridView is filled by the Data event. > - It is not implemented in gb.gtk yet. > Salut Benoit, while talking GridView. I think that belongs to that subject. I moving a gambas1 project to gambas2, and remarked, that with GridView you can't have EmptySpace at right in a Grid (gambas1.png) At that time I used the TableView component. With GridView from gambas2 (gambas2.15.2) even the Field which is set during creation like that : ME.Columns[ME.Columns.Count - 1].Width = 0 ME.Columns[ME.Columns.Count - 1].Resizable = FALSE is now visible.(gambas2.png) Do you have a hint for that. -- Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas1.png Type: image/png Size: 33189 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas1.png Type: image/png Size: 33189 bytes Desc: not available URL: From pinozollo at ...626... Sun Aug 2 14:14:08 2009 From: pinozollo at ...626... (Pino Zollo) Date: Sun, 2 Aug 2009 08:14:08 -0400 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021154.12425.gambas@...1...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> <200908021154.12425.gambas@...1...> Message-ID: <200908020814.09108.pinozollo@...626...> Il domenica 2 agosto 2009 05:54:12 Beno?t Minisini ha scritto: > > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > > Hi all, > > > > > > How can I automaticly auto resize the column width of my gridview or > > > tableview. I mean, when I show the view, I want all the columns > > > adjusted to the cell content. > > > > > > Regards > > > > > > > > > -- > > > David > > > > You can't automatically. You could write a function > > to calculate the maximum length of a cell content > > in the same column and then change the column width. > > The basic thing is that you have to calculate the width > > of a cell content. You could do this: > > > > Dim iContentW as Integer > > > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > > > Once you have the longest cell content, you can resize that > > column adding a little value. > > > > GridView1.Columns[0].Width = iContentW + 10 > > > > You have to calculate the width of all cell content of a specific row, > > select the longest, resize the column. Not comfortable, but not > > impossible. > > > > > > Bye, > > > > Stefano > > Normally, setting the column width or row height to -1 does the job, but: > - It seems to work strangely when the GridView is filled by the Data event. > - It is not implemented in gb.gtk yet. > > Regards, Recently had been post the following code to resize a table: --------------------- PUBLIC SUB AdjustGridColumns(pPassedGrid AS TableView) DIM $Row AS Integer DIM $Col AS Integer DIM MaxWidth AS Integer MaxWidth = 0 WITH pPassedGrid .Columns.Resizable = TRUE FOR $Col = 0 TO .Columns.Count - 1 .Row = 0 .Column = $Col MaxWidth = .Current.Width FOR $Row = 0 TO .Rows.Count - 1 .Row = $Row ' DEBUG .Current.Text ' <--- always empty ' DEBUG .Font.Width(.Current.Text) ' <--always 0 IF .Font.Width(.Current.Text) > MaxWidth THEN MaxWidth = .Font.Width(.Current.Text) + 10 END IF NEXT ' DEBUG $Col, MaxWidth ' <-- always 99 .Columns[$Col].Width = MaxWidth NEXT END WITH END ---------------------------- But here it does not work... I always get .Current.Text empty. Any suggestions ? Ciao Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From rospolosco at ...152... Sun Aug 2 16:32:05 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 2 Aug 2009 16:32:05 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021154.12425.gambas@...1...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> <200908021154.12425.gambas@...1...> Message-ID: <200908021632.05388.rospolosco@...152...> Il domenica 2 agosto 2009 11:54:12 Beno?t Minisini ha scritto: > > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > > Hi all, > > > > > > How can I automaticly auto resize the column width of my gridview or > > > tableview. I mean, when I show the view, I want all the columns > > > adjusted to the cell content. > > > > > > Regards > > > > > > > > > -- > > > David > > > > You can't automatically. You could write a function > > to calculate the maximum length of a cell content > > in the same column and then change the column width. > > The basic thing is that you have to calculate the width > > of a cell content. You could do this: > > > > Dim iContentW as Integer > > > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > > > Once you have the longest cell content, you can resize that > > column adding a little value. > > > > GridView1.Columns[0].Width = iContentW + 10 > > > > You have to calculate the width of all cell content of a specific row, > > select the longest, resize the column. Not comfortable, but not > > impossible. > > > > > > Bye, > > > > Stefano > > Normally, setting the column width or row height to -1 does the job, but: > - It seems to work strangely when the GridView is filled by the Data event. > - It is not implemented in gb.gtk yet. > > Regards, Aaaargh... :-) there's a lot of magic hidden inside Gambas. I read the width/column stuff in the help and nothing is telling me that width = -1 automagically resizes the column width. But I may be wrong again. :-) Saluti, Stefano From gambas at ...1... Sun Aug 2 16:37:06 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 2 Aug 2009 16:37:06 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021632.05388.rospolosco@...152...> References: <332607.87658.qm@...1782...> <200908021154.12425.gambas@...1...> <200908021632.05388.rospolosco@...152...> Message-ID: <200908021637.06079.gambas@...1...> > Il domenica 2 agosto 2009 11:54:12 Beno?t Minisini ha scritto: > > > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > > > Hi all, > > > > > > > > How can I automaticly auto resize the column width of my gridview or > > > > tableview. I mean, when I show the view, I want all the columns > > > > adjusted to the cell content. > > > > > > > > Regards > > > > > > > > > > > > -- > > > > David > > > > > > You can't automatically. You could write a function > > > to calculate the maximum length of a cell content > > > in the same column and then change the column width. > > > The basic thing is that you have to calculate the width > > > of a cell content. You could do this: > > > > > > Dim iContentW as Integer > > > > > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > > > > > Once you have the longest cell content, you can resize that > > > column adding a little value. > > > > > > GridView1.Columns[0].Width = iContentW + 10 > > > > > > You have to calculate the width of all cell content of a specific row, > > > select the longest, resize the column. Not comfortable, but not > > > impossible. > > > > > > > > > Bye, > > > > > > Stefano > > > > Normally, setting the column width or row height to -1 does the job, but: > > - It seems to work strangely when the GridView is filled by the Data > > event. - It is not implemented in gb.gtk yet. > > > > Regards, > > Aaaargh... :-) there's a lot of magic hidden inside Gambas. I read > the width/column stuff in the help and nothing is telling me > that width = -1 automagically resizes the column width. But I may be > wrong again. :-) > > Saluti, > > Stefano > I didn't document that maybe because it does not work well in gb.qt and not at all in gb.gtk? -- Beno?t From Karl.Reinl at ...9... Sun Aug 2 17:38:47 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 02 Aug 2009 17:38:47 +0200 Subject: [Gambas-user] bug in Gambas2 IDE Message-ID: <1249227527.6773.22.camel@...40...> Salut, the breakpoint window/list is not cleared if you load another project. See IDE-Gambas2.png As you can see, only the 2 and 3 entries are from that project. -- Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: IDE-Gambas2.png Type: image/png Size: 130521 bytes Desc: not available URL: From Karl.Reinl at ...9... Mon Aug 3 12:16:17 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 03 Aug 2009 12:16:17 +0200 Subject: [Gambas-user] settings INPUT <> settings OUTPUT Message-ID: <1249294577.7828.8.camel@...40...> Salut Benoit, this line was written by settings Descript="'that was only yesterday' a wonderful,\\nnever before seen way to design a\\nprinting template\\nhaving \\nfun with it\\nnew" and this is read by settings 'that was only yesterday' a wonderful,\ never before seen way to design a\ printing template\ having \ fun with it\ new In UnQuoteString : sVal = Replace(sVal, "\\n", "\n") does nothing send you the Test.conf gambas2.15.2 on Ubuntu 8.04.3 LTS -- Amicalment Charlie -------------- next part -------------- [that was only yesterday] Name="that was only yesterday" Class="Invoices" SubClass="for Cuba only" Descript="'that was only yesterday' a wonderful,\\nnever before seen way to design a\\nprinting template\\nhaving \\nfun with it\\nnew" From david_villalobos_c at ...43... Mon Aug 3 15:54:19 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 3 Aug 2009 06:54:19 -0700 (PDT) Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021122.09532.rospolosco@...152...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> Message-ID: <354875.79617.qm@...1658...> ThanksStefano, very helpful Regards -- David ----- Original Message ---- From: Stefano Palmeri To: mailing list for gambas users Sent: Sunday, August 2, 2009 3:22:09 AM Subject: Re: [Gambas-user] Column auto reseize in tables views. Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > Hi all, > > How can I automaticly auto resize the column width of my gridview or > tableview. I mean, when I show the view, I want all the columns adjusted to > the cell content. > > Regards > > > -- > David You can't automatically. You could write a function to calculate the maximum length of a cell content in the same column and then change the column width. The basic thing is that you have to calculate the width of a cell content. You could do this: Dim iContentW as Integer iContentW = GridView1.Font.Width(GridView1[0,0].Text) Once you have the longest cell content, you can resize that column adding a little value. GridView1.Columns[0].Width = iContentW + 10 You have to calculate the width of all cell content of a specific row, select the longest, resize the column. Not comfortable, but not impossible. Bye, Stefano > > > > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Mon Aug 3 15:54:32 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 3 Aug 2009 06:54:32 -0700 (PDT) Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908021154.12425.gambas@...1...> References: <332607.87658.qm@...1782...> <200908021122.09532.rospolosco@...152...> <200908021154.12425.gambas@...1...> Message-ID: <887601.80540.qm@...1658...> Thanks Benoit, very helpful Regards -- David ----- Original Message ---- From: Beno?t Minisini To: mailing list for gambas users Sent: Sunday, August 2, 2009 3:54:12 AM Subject: Re: [Gambas-user] Column auto reseize in tables views. > Il sabato 1 agosto 2009 19:36:51 David Villalobos Cambronero ha scritto: > > Hi all, > > > > How can I automaticly auto resize the column width of my gridview or > > tableview. I mean, when I show the view, I want all the columns adjusted > > to the cell content. > > > > Regards > > > > > > -- > > David > > You can't automatically. You could write a function > to calculate the maximum length of a cell content > in the same column and then change the column width. > The basic thing is that you have to calculate the width > of a cell content. You could do this: > > Dim iContentW as Integer > > iContentW = GridView1.Font.Width(GridView1[0,0].Text) > > Once you have the longest cell content, you can resize that > column adding a little value. > > GridView1.Columns[0].Width = iContentW + 10 > > You have to calculate the width of all cell content of a specific row, > select the longest, resize the column. Not comfortable, but not impossible. > > > Bye, > > Stefano > Normally, setting the column width or row height to -1 does the job, but: - It seems to work strangely when the GridView is filled by the Data event. - It is not implemented in gb.gtk yet. Regards, -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From leonardo at ...1237... Mon Aug 3 18:53:26 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 03 Aug 2009 18:53:26 +0200 Subject: [Gambas-user] Errors compiling Gambas Message-ID: <4A771606.4030407@...1237...> Hello. I'm having some problems compiling Gambas 2.15.2 and Gambas2-SVN. In the first case, it seems that everything goes right but when I try to launch Gambas it doesn't find it on my system. If I launch it using the absolute path, I get an ERROR #45: File or Directory doesn't exist (or something similar), In the second case, the compilation halts at /main/gbx with this error: gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread -lffi -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build' make: *** [all] Error 2 I'm using Arch Linux. The SVN version is #2187. Until #2127 (the last I compiled) everything went right. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From m0e.lnx at ...626... Mon Aug 3 19:31:11 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 3 Aug 2009 12:31:11 -0500 Subject: [Gambas-user] Reading settings Message-ID: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> Guys, I've been working with gb.settings on a couple of my apps in the past, but I have a question. Is there any way to sort of browse through the stored settings? I guess to see what settings are defined in the settings file? From gambas at ...1... Mon Aug 3 19:36:54 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 19:36:54 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A771606.4030407@...1237...> References: <4A771606.4030407@...1237...> Message-ID: <200908031936.54895.gambas@...1...> > Hello. > I'm having some problems compiling Gambas 2.15.2 and Gambas2-SVN. > In the first case, it seems that everything goes right but when I try to > launch Gambas it doesn't find it on my system. > If I launch it using the absolute path, I get an ERROR #45: File or > Directory doesn't exist (or something similar), > > In the second case, the compilation halts at /main/gbx with this error: > gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o > .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o > .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o > .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o > .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o > .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o > .libs/gb_la-gbx_c_quote.o .libs/gb_la-gbx_class_info.o -lm -ldl > -lpthread -lffi -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 > gcc: gb.so.0: No such file or directory > gcc: unrecognized option '-soname' > make[4]: *** [gb.la] Error 1 > make[4]: Leaving directory > `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main/gbx >' make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build' > make: *** [all] Error 2 > > I'm using Arch Linux. > The SVN version is #2187. Until #2127 (the last I compiled) everything > went right. Can you post the full output of the compilation process as explained on the website? -- Beno?t From gambas at ...1... Mon Aug 3 19:47:10 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 19:47:10 +0200 Subject: [Gambas-user] bug in Gambas2 IDE In-Reply-To: <1249227527.6773.22.camel@...40...> References: <1249227527.6773.22.camel@...40...> Message-ID: <200908031947.10777.gambas@...1...> > Salut, > > the breakpoint window/list is not cleared if you load another > project. > > See IDE-Gambas2.png > As you can see, only the 2 and 3 entries are from that project. Hi, I fixed it in revision #2208. Regards, -- Beno?t From gambas at ...1... Mon Aug 3 19:48:07 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 19:48:07 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <6E2EC24E-A6F7-4260-AB02-1AA1232CF075@...1896...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> <200908011725.37201.gambas@...1...> <6E2EC24E-A6F7-4260-AB02-1AA1232CF075@...1896...> Message-ID: <200908031948.07280.gambas@...1...> > Benoit, > > I prefer use the gb.web component but I don't know how to start. > > So an example in this way will be great. > > Thank you. > Have you already written ASP or PHP pages? If you did, things will be easier to explain... -- Beno?t From 12ukwn at ...626... Mon Aug 3 19:54:00 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 03 Aug 2009 19:54:00 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> Message-ID: <4A772438.6000406@...626...> M0E Lnx a ?crit : > Guys, I've been working with gb.settings on a couple of my apps in the > past, but I have a question. > > Is there any way to sort of browse through the stored settings? I > guess to see what settings are defined in the settings file? cat mywonderfulprojectilovesomuch/.project ? -- Obviously the only rational solution to your problem is suicide. From oceanosoftlapalma at ...626... Mon Aug 3 19:54:45 2009 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Mon, 3 Aug 2009 18:54:45 +0100 Subject: [Gambas-user] making an animated demo In-Reply-To: <4A71AE83.1010006@...626...> References: <4A71AE83.1010006@...626...> Message-ID: Hi JY, I'm using FreeNX in Ubuntu64 to deploy my gambas2 apps in windows enviroments. I've no problems yet to connect form both (lan and from wan - using ADSL connections with 20 simultaneus users). The ubuntu server I usually recommend to my customer are Intel Quad Core with 4 Gb RAM at least. My software is an ERP Gambas2-MySQL based and works fine this way. It's fast and remote users works almost like lan users (some of then thinks they are working in a local database in their laptops) I hope this helps you. Regards, Ricardo D?az 2009/7/30 Jean-Yves F. Barbier <12ukwn at ...626...> > Hi folks, > > I wanna make instant flow & data quantity measures in order to determine > what > remote X access solution is the best solution (speed/quality/instant > flow...) > to access a Gambas application from w$ (or Linux) through tunnelised XDMCP, > Xephyr, OpenVpn, ssh -X, FreeNX, ... > > To make sure test basis is the same whatever the test, I need an automated > piece of > software that: open some windows > move them > close some windows > open a > menu > > close it > and finally close everything (kinda big macro) > So it will look like a manual exploitation while beeing automatic and > sending > exactly the same moves to each test. (Of course, it *can't be* a film.) > > Under Xfce4 (debian sid). > > Can I easily build this out from Gambas (and if so, how)? > > The goal is to find out good and reliable solutions for LAN and Internet > remote access, > as I did not found such tests on the WEB (ie: NX claims it's the best > speed/instant > flow... but as a matter of fact nobody's ever validate/unvalidate such an > assertion > by a situation test.) > > JY > > -- > I don't care who you are, Fatso. Get those reindeer off my roof. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From m0e.lnx at ...626... Mon Aug 3 19:57:40 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 3 Aug 2009 12:57:40 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <4A772438.6000406@...626...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <4A772438.6000406@...626...> Message-ID: <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> I should have said something native to gambas without having to cat the thing using a shell process. I mean, I'll do it if it's the only way, but I'd rather do it in gambas if at all possible. From 12ukwn at ...626... Mon Aug 3 20:04:28 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 03 Aug 2009 20:04:28 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <4A772438.6000406@...626...> <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> Message-ID: <4A7726AC.5020704@...626...> M0E Lnx a ?crit : > I should have said something native to gambas > without having to cat the thing using a shell process. > > I mean, I'll do it if it's the only way, but I'd rather do it in > gambas if at all possible. you can use it like a configuration file and read/write it I guess -- Anyone who considers protocol unimportant has never dealt with a cat. -- R. Heinlein From gambas at ...1... Mon Aug 3 20:10:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 20:10:50 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> Message-ID: <200908032010.50943.gambas@...1...> > Guys, I've been working with gb.settings on a couple of my apps in the > past, but I have a question. > > Is there any way to sort of browse through the stored settings? I > guess to see what settings are defined in the settings file? > You can do the following in Gambas 3: ' Get all root keys For Each sKey In MySettings.Keys ... Next Or ' Get all keys in the "[Configuration/Slot]" slot For Each sKey In MySettings.Keys["Configuration/Slot"] ... Next Regards, -- Beno?t From m0e.lnx at ...626... Mon Aug 3 20:12:17 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 3 Aug 2009 13:12:17 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <4A7726AC.5020704@...626...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <4A772438.6000406@...626...> <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> <4A7726AC.5020704@...626...> Message-ID: <1f1e8c1b0908031112r17c4dc0es9b4b65ca3d7e439d@...627...> Yeah.. that's what I mean. But I'd like to take a peek at the settings and see what all is in there from gambas Let's say my settings file has something like [FMAIN] Width=300 Height=200 X=0 [Form1] Width=400 Height=200 X=10 How can I check for something lie "[FMAIN]" or "[Form1]" ? and see if it exists in the file yet? From m0e.lnx at ...626... Mon Aug 3 20:14:51 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 3 Aug 2009 13:14:51 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <200908032010.50943.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> Message-ID: <1f1e8c1b0908031114u7d9c6fud4e5ce37cf657742@...627...> How about in gambas2? the Settings class doesn't have a keys property From gambas at ...1... Mon Aug 3 20:17:05 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 20:17:05 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908031114u7d9c6fud4e5ce37cf657742@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1f1e8c1b0908031114u7d9c6fud4e5ce37cf657742@...627...> Message-ID: <200908032017.05883.gambas@...1...> > How about in gambas2? > the Settings class doesn't have a keys property > Yes, you can't do that in Gambas 2. You must find a way where you don't have to know the settings file contents. -- Beno?t From 12ukwn at ...626... Mon Aug 3 20:21:38 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 03 Aug 2009 20:21:38 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908031112r17c4dc0es9b4b65ca3d7e439d@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <4A772438.6000406@...626...> <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> <4A7726AC.5020704@...626...> <1f1e8c1b0908031112r17c4dc0es9b4b65ca3d7e439d@...627...> Message-ID: <4A772AB2.4040701@...626...> M0E Lnx a ?crit : > Yeah.. that's what I mean. > But I'd like to take a peek at the settings and see what all is in > there from gambas > > Let's say my settings file has something like > [FMAIN] > Width=300 > Height=200 > X=0 > > [Form1] > Width=400 > Height=200 > X=10 > > How can I check for something lie "[FMAIN]" or "[Form1]" ? and see if > it exists in the file yet? those are into: mybelovedprojectofmemyselfpersonaly/.settings -- Most men would never get laid if it weren't for the pity fuck. From m0e.lnx at ...626... Mon Aug 3 20:31:51 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 3 Aug 2009 13:31:51 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <4A772AB2.4040701@...626...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <4A772438.6000406@...626...> <1f1e8c1b0908031057i7247841cjc7f7b2d3b9011a0c@...627...> <4A7726AC.5020704@...626...> <1f1e8c1b0908031112r17c4dc0es9b4b65ca3d7e439d@...627...> <4A772AB2.4040701@...626...> Message-ID: <1f1e8c1b0908031131y468822f2n42133deda3d21bac@...627...> Ok... I guess I'll have to find a way around it. I'm not ready to switch to gambas3 yet. From linuxos at ...1896... Mon Aug 3 21:01:45 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 3 Aug 2009 21:01:45 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <200908031948.07280.gambas@...1...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> <200908011725.37201.gambas@...1...> <6E2EC24E-A6F7-4260-AB02-1AA1232CF075@...1896...> <200908031948.07280.gambas@...1...> Message-ID: <9F3D6056-6386-4D1D-B212-970F5E488DF7@...1896...> Benoit, I never write asp cgi but only cgi unix script. I understand completly the concept of this one. I try the little example that I found on the Gambas web site: #!/usr/bin/env gbw2 <% DIM sEnv AS String %>

CGI script environmental variables

<% FOR EACH sEnv IN Application.Env %> <% NEXT %>
Name Value
<%= sEnv %> <%= Application.Env[sEnv] %> 
It works fine on console but not over Apache server. It can find the gbw2 link on my system with or without writing the full path of of the link. On my system it's: /usr/local/bin/gbw2 -> /usr/local/bin/ gbs2 How can I add the path to this link in the environment used when the cgi is executed ? Olivier Cruilles Mail: linuxos at ...1896... Le 3 ao?t 09 ? 19:48, Beno?t Minisini a ?crit : >> Benoit, >> >> I prefer use the gb.web component but I don't know how to start. >> >> So an example in this way will be great. >> >> Thank you. >> > > Have you already written ASP or PHP pages? If you did, things will > be easier > to explain... > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Aug 3 21:36:11 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 21:36:11 +0200 Subject: [Gambas-user] CGI program in Gambas In-Reply-To: <9F3D6056-6386-4D1D-B212-970F5E488DF7@...1896...> References: <54503FC1-9E2B-4EC5-8345-77BFB3661511@...1896...> <200908031948.07280.gambas@...1...> <9F3D6056-6386-4D1D-B212-970F5E488DF7@...1896...> Message-ID: <200908032136.11772.gambas@...1...> > Benoit, > > > I never write asp cgi but only cgi unix script. I understand completly > the concept of this one. > I try the little example that I found on the Gambas web site: > > #!/usr/bin/env gbw2 > <% > DIM sEnv AS String > %> > > > > > >

CGI script environmental variables

> > > > > > > > > <% FOR EACH sEnv IN Application.Env %> > > > > > <% NEXT %> > >
NameValue
<%= sEnv %><%= Application.Env[sEnv] %> 
> > > > > It works fine on console but not over Apache server. > It can find the gbw2 link on my system with or without writing the > full path of > of the link. On my system it's: /usr/local/bin/gbw2 -> /usr/local/bin/ > gbs2 > > How can I add the path to this link in the environment used when the > cgi is executed ? > > Olivier Cruilles > Mail: linuxos at ...1896... > "/usr/bin/env gbw2" looks for "gbw2" in the PATH environment variable. Check that Apache does not clear it, so that it cannot be found. -- Beno?t From leonardo at ...1237... Mon Aug 3 22:06:03 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 03 Aug 2009 22:06:03 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908031936.54895.gambas@...1...> References: <4A771606.4030407@...1237...> <200908031936.54895.gambas@...1...> Message-ID: <4A77432B.90701@...1237...> This is the output of the make command on Gambas2 SVN. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org -------------- next part -------------- A non-text attachment was scrubbed... Name: log-svn.tar.gz Type: application/x-gzip Size: 1568 bytes Desc: not available URL: From gambas at ...1... Mon Aug 3 22:16:28 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 3 Aug 2009 22:16:28 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A77432B.90701@...1237...> References: <4A771606.4030407@...1237...> <200908031936.54895.gambas@...1...> <4A77432B.90701@...1237...> Message-ID: <200908032216.28395.gambas@...1...> > This is the output of the make command on Gambas2 SVN. I think you have a problem on your system, as gcc tells it does not recognize an option... Please post the full output of the compilation process, i.e. with configure. And try to do a checkout from scratch, and a ./reconf before doing "./configure -C". Regards, -- Beno?t From leonardo at ...1237... Mon Aug 3 23:19:50 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 03 Aug 2009 23:19:50 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908032216.28395.gambas@...1...> References: <4A771606.4030407@...1237...> <200908031936.54895.gambas@...1...> <4A77432B.90701@...1237...> <200908032216.28395.gambas@...1...> Message-ID: <4A775476.10007@...1237...> Beno?t Minisini ha scritto: >> This is the output of the make command on Gambas2 SVN. > > I think you have a problem on your system, as gcc tells it does not recognize > an option... > > Please post the full output of the compilation process, i.e. with configure. > > And try to do a checkout from scratch, and a ./reconf before doing > "./configure -C". > > Regards, > I suppose you know that Arch Linux is a rolling release distro so every program is always at the very last version. Maybe there could be a compatibily issue between Gambas sources and gcc 4.4.1 that is installed on my system? P.S.: I've inclued part of the /reconf-all command too. It contains a loto of messages that I've never seen before. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org -------------- next part -------------- A non-text attachment was scrubbed... Name: logs.tar.gz Type: application/x-gzip Size: 7551 bytes Desc: not available URL: From rterry at ...1946... Tue Aug 4 00:01:33 2009 From: rterry at ...1946... (richard terry) Date: Tue, 4 Aug 2009 08:01:33 +1000 Subject: [Gambas-user] Whats a MOC - build failed 2209 Message-ID: <200908040801.33095.rterry@...1946...> Message something like moc has changed too much qt 4.4.3 > death of compilation ?whats a moc? do I have to upgrade qt or something?? Last successful build 2204. richard From gambas at ...1... Tue Aug 4 01:36:55 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Aug 2009 01:36:55 +0200 Subject: [Gambas-user] Whats a MOC - build failed 2209 In-Reply-To: <200908040801.33095.rterry@...1946...> References: <200908040801.33095.rterry@...1946...> Message-ID: <200908040136.55377.gambas@...1...> > Message something like moc has changed too much qt 4.4.3 > death of > compilation ?whats a moc? do I have to upgrade qt or something?? > > Last successful build 2204. > > richard > No, you have to do a "make clean" to remove old c++ file generated by the "moc" program. Regards, -- Beno?t From gambas at ...1... Tue Aug 4 02:03:17 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Aug 2009 02:03:17 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A775476.10007@...1237...> References: <4A771606.4030407@...1237...> <200908032216.28395.gambas@...1...> <4A775476.10007@...1237...> Message-ID: <200908040203.17333.gambas@...1...> > Beno?t Minisini ha scritto: > >> This is the output of the make command on Gambas2 SVN. > > > > I think you have a problem on your system, as gcc tells it does not > > recognize an option... > > > > Please post the full output of the compilation process, i.e. with > > configure. > > > > And try to do a checkout from scratch, and a ./reconf before doing > > "./configure -C". > > > > Regards, > > I suppose you know that Arch Linux is a rolling release distro so every > program is always at the very last version. Maybe there could be a > compatibily issue between Gambas sources and gcc 4.4.1 that is installed > on my system? > > P.S.: > I've inclued part of the /reconf-all command too. It contains a loto of > messages that I've never seen before. You have clearly a problem with your installation of gcc. I think either you didn't install it completely (for example a new gcc with an old linker), or the new version of gcc is not compatible with the old one, but I think it is unlikely. Regards, -- Beno?t From gambas at ...1... Tue Aug 4 02:04:28 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Aug 2009 02:04:28 +0200 Subject: [Gambas-user] settings INPUT <> settings OUTPUT In-Reply-To: <1249294577.7828.8.camel@...40...> References: <1249294577.7828.8.camel@...40...> Message-ID: <200908040204.28097.gambas@...1...> > Salut Benoit, > > this line was written by settings > > Descript="'that was only yesterday' a wonderful,\\nnever before seen way > to design a\\nprinting template\\nhaving \\nfun with it\\nnew" > > and this is read by settings > > 'that was only yesterday' a wonderful,\ > never before seen way to design a\ > printing template\ > having \ > fun with it\ > new > > In UnQuoteString : > sVal = Replace(sVal, "\\n", "\n") does nothing > > send you the Test.conf > > gambas2.15.2 on Ubuntu 8.04.3 LTS Can you send the code that writes, and the code that reads the same settings? -- Beno?t From Karl.Reinl at ...9... Tue Aug 4 10:16:21 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 04 Aug 2009 10:16:21 +0200 Subject: [Gambas-user] settings INPUT <> settings OUTPUT In-Reply-To: <200908040204.28097.gambas@...1...> References: <1249294577.7828.8.camel@...40...> <200908040204.28097.gambas@...1...> Message-ID: <1249373781.6481.1.camel@...40...> Am Dienstag, den 04.08.2009, 02:04 +0200 schrieb Beno?t Minisini: > > Salut Benoit, > > > > this line was written by settings > > > > Descript="'that was only yesterday' a wonderful,\\nnever before seen way > > to design a\\nprinting template\\nhaving \\nfun with it\\nnew" > > > > and this is read by settings > > > > 'that was only yesterday' a wonderful,\ > > never before seen way to design a\ > > printing template\ > > having \ > > fun with it\ > > new > > > > In UnQuoteString : > > sVal = Replace(sVal, "\\n", "\n") does nothing > > > > send you the Test.conf > > > > gambas2.15.2 on Ubuntu 8.04.3 LTS > > Can you send the code that writes, and the code that reads the same settings? > Ok, here it is. Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestPage-0.0.2.tar.gz Type: application/x-compressed-tar Size: 17924 bytes Desc: not available URL: From gael.lehech at ...626... Tue Aug 4 22:32:03 2009 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Tue, 4 Aug 2009 22:32:03 +0200 Subject: [Gambas-user] Problem updating svn from revision 2209 Message-ID: Hi, I get this error trying to update : gael:~/Sources/c++/gambas3$ 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: 2215 Node Kind: directory Schedule: normal Last Changed Author: gambas Last Changed Rev: 2209 Last Changed Date: 2009-08-03 19:54:51 +0200 (Mon, 03 Aug 2009) gael:~/Sources/c++/gambas3$ svn up svn: Failed to add directory 'main/libltdl': an unversioned directory of the same name already exists gael:~/Sources/c++/gambas3$ I probably need to do a fresh checkout. Sincerely, Ga?l From gambas at ...1... Tue Aug 4 22:38:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Aug 2009 22:38:50 +0200 Subject: [Gambas-user] Problem updating svn from revision 2209 In-Reply-To: References: Message-ID: <200908042238.50821.gambas@...1...> > Hi, > I get this error trying to update : > > gael:~/Sources/c++/gambas3$ 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: 2215 > Node Kind: directory > Schedule: normal > Last Changed Author: gambas > Last Changed Rev: 2209 > Last Changed Date: 2009-08-03 19:54:51 +0200 (Mon, 03 Aug 2009) > > gael:~/Sources/c++/gambas3$ svn up > svn: Failed to add directory 'main/libltdl': an unversioned directory of > the same name already exists > gael:~/Sources/c++/gambas3$ > > I probably need to do a fresh checkout. > > Sincerely, > > Ga?l subversion feels stupid there. Just remove the libltdl directory by hand before doing 'svn update'. Regards, -- Beno?t From gambas at ...1... Tue Aug 4 22:43:09 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Aug 2009 22:43:09 +0200 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu Message-ID: <200908042243.09895.gambas@...1...> I finally succeded in compiling Gambas 3 /trunk on Ubuntu without having to downgrade libtool to 1.5 version. For the story, this was done on my new Aspire One 751. When doing ./reconf, you will get a lot of warning messages from "libtoolize". I have no idea why, I don't have them on Mandriva with the same libtool version. Apparently they have no consequences, and ./configure, make and make install go well. Apparently people using Ubuntu <= 8.xx now have problems, because I had to update a lot of things in the configuration files to let it work on Ubuntu 9.04. So, please report your problems as usual. Regards, -- Beno?t From rterry at ...1946... Wed Aug 5 00:52:34 2009 From: rterry at ...1946... (richard terry) Date: Wed, 5 Aug 2009 08:52:34 +1000 Subject: [Gambas-user] Upgrading to Webkit browser Q Message-ID: <200908050852.34476.rterry@...1946...> I want to upgrade my entire project. I use khtml for both browsing and to show the html files I generate. I wondered if anyone could point me to any documentation on webkit, for example in khtml one can load files etc, I need to know the equivalent mechanisms using webkit. Thanks. richard From 12ukwn at ...626... Wed Aug 5 07:02:47 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 05 Aug 2009 07:02:47 +0200 Subject: [Gambas-user] making an animated demo In-Reply-To: <1f1e8c1b0907301247v4d33d266h9f5a1b0a727778cd@...627...> References: <4A71AE83.1010006@...626...> <200907301955.10228.ronstk@...239...> <4A71E49B.8020403@...626...> <1f1e8c1b0907301247v4d33d266h9f5a1b0a727778cd@...627...> Message-ID: <4A791277.3010306@...626...> M0E Lnx a ?crit : > Definitely NX > > I've tested X over ssh, vnc, X11vnc and none of them compare to the > speed and quality of NX > I do all of my gambas developent over a NX environment. > My host box is in SLC, Utah, and I'm sitting @ a desk in Stafford, TX. > > Response is perfect...No network lag (unless I'm downloading something > big to the host box) > > NX is a bit more of a pain to setup than vnc or X over ssh, but it's > well worth the effort Yes you where right: I didn't pushed my tests further because I first had a glance (with iptraf) to a former application using a 258KB photo as a wallpaper; iptraf showed peaks up to 300KB/s at most (no ssh), and 180KB/s at least (ssh+xephyr), while average was taken @ ~33KB/s. The same "test" (opening gambas, launch the application and play a bit with it) with FreeNX settled in MODEM mode showed peaks up to... 20.8KB/s, and most of the time its instant debit couldn't event be measured by iptraf, as it stabilize its counter toward 1s slices. So the (very) big winner is FreeNX (in any way, because if it was a PITA to get it working, once it was done I could easily test a whole session or just an application.) My only regreat was with dxpc I wasn't able to correctly run, which docs (and pgm) are outdated and collides with manpage or other docs; as there were several changes in program that don't mix together (seems that it is in fact the ancestor of NX.) FreeNX is also the big winner in term of reponsivity: my application showed even faster than through a Xephyr client withOUT compression neither SSH! I did not thought its efficiency was so impressive on overall performance. JY -- From rterry at ...1946... Wed Aug 5 09:48:18 2009 From: rterry at ...1946... (richard terry) Date: Wed, 5 Aug 2009 17:48:18 +1000 Subject: [Gambas-user] re-setting several radiobuttons to false ?how Message-ID: <200908051748.18258.rterry@...1946...> If one has say 3 radiobuttons in a container is there anyway to set them all back to false ? If I try this code to clear some textboxes, checkboxes and radiobuttons contained within a hbox, the tetboxes clear and checkboxes clear, but not the radiobuttons: Dim hCtrl As Control Dim hb As HBox Dim tb As TextBox Dim cb As CheckBox Dim rb As RadioButton For Each hctrl In Vbox1.children If hctrl Is hbox Then hb = hctrl For Each hCtrl In HB.Children If hctrl Is textbox Then tb = hctrl tb.Clear() Else If hctrl Is RadioButton Then rb = hctrl rb.value = False Else If hctrl Is checkbox Then cb = hctrl cb.value = False End If Next End If Next If I directly address the radiobutton in the group by name, it still dosn't clear. any help appreciated. Richard From Karl.Reinl at ...9... Wed Aug 5 11:16:32 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 05 Aug 2009 11:16:32 +0200 Subject: [Gambas-user] re-setting several radiobuttons to false ?how In-Reply-To: <200908051748.18258.rterry@...1946...> References: <200908051748.18258.rterry@...1946...> Message-ID: <1249463792.6477.1.camel@...40...> Am Mittwoch, den 05.08.2009, 17:48 +1000 schrieb richard terry: > If one has say 3 radiobuttons in a container > is there anyway to set them all back to false ? > > If I try this code to clear some textboxes, checkboxes and radiobuttons > contained within a hbox, the tetboxes clear and checkboxes clear, but not the > radiobuttons: > > Dim hCtrl As Control > Dim hb As HBox > Dim tb As TextBox > Dim cb As CheckBox > Dim rb As RadioButton > > For Each hctrl In Vbox1.children > If hctrl Is hbox Then > hb = hctrl > For Each hCtrl In HB.Children > If hctrl Is textbox Then > tb = hctrl > tb.Clear() > Else If hctrl Is RadioButton Then > rb = hctrl > rb.value = False > Else If hctrl Is checkbox Then > cb = hctrl > cb.value = False > End If > Next > End If > Next > > If I directly address the radiobutton in the group by name, it still dosn't > clear. > > any help appreciated. > > Richard Salut Richard, https://secure.wikimedia.org/wikipedia/en/wiki/Radiobutton The Apple Human Interface Guidelines specify that one item of a radio button group must always be selected. Charlie From rospolosco at ...152... Wed Aug 5 12:04:16 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 5 Aug 2009 12:04:16 +0200 Subject: [Gambas-user] re-setting several radiobuttons to false ?how In-Reply-To: <1249463792.6477.1.camel@...40...> References: <200908051748.18258.rterry@...1946...> <1249463792.6477.1.camel@...40...> Message-ID: <200908051204.17041.rospolosco@...152...> Il mercoled? 5 agosto 2009 11:16:32 Charlie Reinl ha scritto: > Am Mittwoch, den 05.08.2009, 17:48 +1000 schrieb richard terry: > > If one has say 3 radiobuttons in a container > > is there anyway to set them all back to false ? > > > > If I try this code to clear some textboxes, checkboxes and radiobuttons > > contained within a hbox, the tetboxes clear and checkboxes clear, but not > > the radiobuttons: > > > > Dim hCtrl As Control > > Dim hb As HBox > > Dim tb As TextBox > > Dim cb As CheckBox > > Dim rb As RadioButton > > > > For Each hctrl In Vbox1.children > > If hctrl Is hbox Then > > hb = hctrl > > For Each hCtrl In HB.Children > > If hctrl Is textbox Then > > tb = hctrl > > tb.Clear() > > Else If hctrl Is RadioButton Then > > rb = hctrl > > rb.value = False > > Else If hctrl Is checkbox Then > > cb = hctrl > > cb.value = False > > End If > > Next > > End If > > Next > > > > If I directly address the radiobutton in the group by name, it still > > dosn't clear. > > > > any help appreciated. > > > > Richard > > Salut Richard, > > https://secure.wikimedia.org/wikipedia/en/wiki/Radiobutton > > The Apple Human Interface Guidelines specify that one item of a radio > button group must always be selected. > > Charlie > Some time ago we talked about it. If you wanna clear all radiobuttons there's an easy workaround. Add a radiobutton (say HiddenRadioButton) in the group and set its "Visible" property FALSE. So when you want to clear radiobuttons, just select the hidden radiobutton, HiddenRadioButton.Value = TRUE and all others in the group will be cleared. Ciao, Stefano > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Wed Aug 5 12:12:25 2009 From: ronstk at ...239... (Ron_1st) Date: Wed, 5 Aug 2009 12:12:25 +0200 Subject: [Gambas-user] re-setting several radiobuttons to false ?how In-Reply-To: <1249463792.6477.1.camel@...40...> References: <200908051748.18258.rterry@...1946...> <1249463792.6477.1.camel@...40...> Message-ID: <200908051212.25885.ronstk@...239...> On Wednesday 05 August 2009, Charlie Reinl wrote: > Am Mittwoch, den 05.08.2009, 17:48 +1000 schrieb richard terry: > > If one has say 3 radiobuttons in a container > > is there anyway to set them all back to false ? > > > > If I try this code to clear some textboxes, checkboxes and radiobuttons > > contained within a hbox, the tetboxes clear and checkboxes clear, but not the > > radiobuttons: > > > > Dim hCtrl As Control > > Dim hb As HBox > > Dim tb As TextBox > > Dim cb As CheckBox > > Dim rb As RadioButton > > > > For Each hctrl In Vbox1.children > > If hctrl Is hbox Then > > hb = hctrl > > For Each hCtrl In HB.Children > > If hctrl Is textbox Then > > tb = hctrl > > tb.Clear() > > Else If hctrl Is RadioButton Then > > rb = hctrl > > rb.value = False > > Else If hctrl Is checkbox Then > > cb = hctrl > > cb.value = False > > End If > > Next > > End If > > Next > > > > If I directly address the radiobutton in the group by name, it still dosn't > > clear. > > > > any help appreciated. > > > > Richard > > Salut Richard, > > https://secure.wikimedia.org/wikipedia/en/wiki/Radiobutton > > The Apple Human Interface Guidelines specify that one item of a radio > button group must always be selected. > > Charlie > You can add a forth radio button in the group and set it hidden. By setting this 4'th to true the others go false. More correct is to set the 4'th not hidden but label it as 'None of the others' Not only the 'Apple Human Interface Guidelines' but many other say the same. Only on web pages the _browser_ (specific IE) does allow none is true. In fact it is the fault of the web page developer to not set one to true. Best regards, Ron_1st --- From rterry at ...1946... Wed Aug 5 13:00:01 2009 From: rterry at ...1946... (richard terry) Date: Wed, 5 Aug 2009 21:00:01 +1000 Subject: [Gambas-user] re-setting several radiobuttons to false ?how In-Reply-To: <200908051204.17041.rospolosco@...152...> References: <200908051748.18258.rterry@...1946...> <1249463792.6477.1.camel@...40...> <200908051204.17041.rospolosco@...152...> Message-ID: <200908052100.01109.rterry@...1946...> On Wed, 5 Aug 2009 08:04:16 pm Stefano Palmeri wrote: > Il mercoled? 5 agosto 2009 11:16:32 Charlie Reinl ha scritto: > > Am Mittwoch, den 05.08.2009, 17:48 +1000 schrieb richard terry: > > > If one has say 3 radiobuttons in a container > > > is there anyway to set them all back to false ? > > > > > > If I try this code to clear some textboxes, checkboxes and radiobuttons > > > contained within a hbox, the tetboxes clear and checkboxes clear, but > > > not the radiobuttons: > > > > > > Dim hCtrl As Control > > > Dim hb As HBox > > > Dim tb As TextBox > > > Dim cb As CheckBox > > > Dim rb As RadioButton > > > > > > For Each hctrl In Vbox1.children > > > If hctrl Is hbox Then > > > hb = hctrl > > > For Each hCtrl In HB.Children > > > If hctrl Is textbox Then > > > tb = hctrl > > > tb.Clear() > > > Else If hctrl Is RadioButton Then > > > rb = hctrl > > > rb.value = False > > > Else If hctrl Is checkbox Then > > > cb = hctrl > > > cb.value = False > > > End If > > > Next > > > End If > > > Next > > > > > > If I directly address the radiobutton in the group by name, it still > > > dosn't clear. > > > > > > any help appreciated. > > > > > > Richard > > > > Salut Richard, > > > > https://secure.wikimedia.org/wikipedia/en/wiki/Radiobutton > > > > The Apple Human Interface Guidelines specify that one item of a radio > > button group must always be selected. > > > > Charlie > > Some time ago we talked about it. If you wanna clear all radiobuttons > there's an easy workaround. Add a radiobutton (say HiddenRadioButton) in > the group and set its "Visible" property FALSE. > > So when you want to clear radiobuttons, just select the hidden radiobutton, > HiddenRadioButton.Value = TRUE and all others in the group will be cleared. > > Ciao, > > Stefano > > > ------------------------------------------------------------------------- > >-- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > 2008 30-Day trial. Simplify your report design, integration and > > deployment - and focus on what you do best, core application coding. > > Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Good solution. thanks From david_villalobos_c at ...43... Wed Aug 5 15:45:24 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 5 Aug 2009 06:45:24 -0700 (PDT) Subject: [Gambas-user] Executing commands as root Message-ID: <283012.81985.qm@...1657...> Hi all, Time ago, someone asked about executing commands as root and pass the root password to SHELL, does anybody remember the solution? Regards -- David From gambas at ...1... Wed Aug 5 15:58:55 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 5 Aug 2009 15:58:55 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <1249211075.6773.14.camel@...40...> References: <332607.87658.qm@...1782...> <200908021154.12425.gambas@...1...> <1249211075.6773.14.camel@...40...> Message-ID: <200908051558.55622.gambas@...1...> > > Salut Benoit, > > while talking GridView. I think that belongs to that subject. > > I moving a gambas1 project to gambas2, and remarked, > that with GridView you can't have EmptySpace at right in a > Grid (gambas1.png) At that time I used the TableView component. > > With GridView from gambas2 (gambas2.15.2) even the Field which is set > during creation like that : > ME.Columns[ME.Columns.Count - 1].Width = 0 > ME.Columns[ME.Columns.Count - 1].Resizable = FALSE > is now visible.(gambas2.png) > > Do you have a hint for that. You didn't send the gambas2.png screenshot. Can you post it so that I can see what you are talking about? -- Beno?t From joshiggins at ...1601... Wed Aug 5 16:50:04 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 5 Aug 2009 15:50:04 +0100 Subject: [Gambas-user] Executing commands as root In-Reply-To: <283012.81985.qm@...1657...> References: <283012.81985.qm@...1657...> Message-ID: <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> Not sure its possible..... 2009/8/5 David Villalobos Cambronero > Hi all, > > Time ago, someone asked about executing commands as root and pass the root > password to SHELL, does anybody remember the solution? > > Regards > > > -- > David > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From dosida at ...626... Wed Aug 5 16:58:09 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Wed, 5 Aug 2009 08:58:09 -0600 Subject: [Gambas-user] Executing commands as root In-Reply-To: <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> References: <283012.81985.qm@...1657...> <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> Message-ID: <82bffccf0908050758m68315d64m9436db931f801643@...627...> hey David, I'm using Debian Lenny 5.0.2 and Gambas 2.14 for me this command works fine SHELL "gksudo gnome-commander" but I think it's Gnome specific I hope it helps Regards Dimitris On Wed, Aug 5, 2009 at 8:50 AM, Joshua Higgins wrote: > Not sure its possible..... > > 2009/8/5 David Villalobos Cambronero > > > Hi all, > > > > Time ago, someone asked about executing commands as root and pass the > root > > password to SHELL, does anybody remember the solution? > > > > Regards > > > > > > -- > > David > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > joshua higgins > >>>>>>------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Wed Aug 5 16:59:52 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Aug 2009 16:59:52 +0200 Subject: [Gambas-user] Executing commands as root In-Reply-To: <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> References: <283012.81985.qm@...1657...> <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> Message-ID: <4A799E68.5050402@...221...> Joshua Higgins schrieb: > Not sure its possible..... > > 2009/8/5 David Villalobos Cambronero > >> Hi all, >> >> Time ago, someone asked about executing commands as root and pass the root >> password to SHELL, does anybody remember the solution? >> >> Regards >> >> >> -- >> David >> Maybe sudo could help? Rolf From Karl.Reinl at ...9... Wed Aug 5 17:05:44 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 05 Aug 2009 17:05:44 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908051558.55622.gambas@...1...> References: <332607.87658.qm@...1782...> <200908021154.12425.gambas@...1...> <1249211075.6773.14.camel@...40...> <200908051558.55622.gambas@...1...> Message-ID: <1249484744.6484.6.camel@...40...> Am Mittwoch, den 05.08.2009, 15:58 +0200 schrieb Beno?t Minisini: > > > > Salut Benoit, > > > > while talking GridView. I think that belongs to that subject. > > > > I moving a gambas1 project to gambas2, and remarked, > > that with GridView you can't have EmptySpace at right in a > > Grid (gambas1.png) At that time I used the TableView component. > > > > With GridView from gambas2 (gambas2.15.2) even the Field which is set > > during creation like that : > > ME.Columns[ME.Columns.Count - 1].Width = 0 > > ME.Columns[ME.Columns.Count - 1].Resizable = FALSE > > is now visible.(gambas2.png) > > > > Do you have a hint for that. > > You didn't send the gambas2.png screenshot. Can you post it so that I can see > what you are talking about? > Sorry, this time I send both. This is what I found in ChangeLog --- 8< -- ------------------------------------------------------------------------------- gambas2-2.11 - 28 Jan 2009 ------------------------------------------------------------------------------- --- 8< -- * BUG: The last GridView column should be correctly stretched when its width is explicitely set now. --- 8< -- Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas2.png Type: image/png Size: 46712 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas1.png Type: image/png Size: 33189 bytes Desc: not available URL: From rospolosco at ...152... Wed Aug 5 17:07:26 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 5 Aug 2009 17:07:26 +0200 Subject: [Gambas-user] Executing commands as root In-Reply-To: <283012.81985.qm@...1657...> References: <283012.81985.qm@...1657...> Message-ID: <200908051707.27140.rospolosco@...152...> Il mercoled? 5 agosto 2009 15:45:24 David Villalobos Cambronero ha scritto: > Hi all, > > Time ago, someone asked about executing commands as root and pass the root > password to SHELL, does anybody remember the solution? > > Regards > > > -- > David > > He was me. My error was I opened the shell process FOR READ WRITE instead of INPUT OUTPUT. I attache a little example so it will be clear howto. The example is a form with a textbox. You type the root password and confirm and you execute cat /etc/sudoers as root (you'll see the output on Gambas console). It's just an example, you can try any other root command. Other solutions includes using gtksu or kdesu, but this way you depend on desktop. Ciao, Stefano > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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: su-0.0.2.tar.gz Type: application/x-tgz Size: 8011 bytes Desc: not available URL: From gambas at ...1... Wed Aug 5 17:28:10 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 5 Aug 2009 17:28:10 +0200 Subject: [Gambas-user] Executing commands as root In-Reply-To: <82bffccf0908050758m68315d64m9436db931f801643@...627...> References: <283012.81985.qm@...1657...> <4247f5440908050750j52fe5bc4ned3d793027585607@...627...> <82bffccf0908050758m68315d64m9436db931f801643@...627...> Message-ID: <200908051728.10737.gambas@...1...> > hey David, > > I'm using Debian Lenny 5.0.2 and Gambas 2.14 > > for me this command works fine > > SHELL "gksudo gnome-commander" > > but I think it's Gnome specific > > I hope it helps > > Regards > Dimitris > By using the INPUT/OUTPUT option of SHELL, you can run "su" or "sudo" inside a terminal and try to analyze its output to see if you must send a password or not, and create a GUI for that. It should work - I have never done that. On the other way, you can use the work already done by desktop environment. But I think these things are going to be removed (it is already done in KDE4 apparently) and will be replaced by PolicyKit. Regards, -- Beno?t From gambas at ...1... Wed Aug 5 17:29:49 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 5 Aug 2009 17:29:49 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <1249484744.6484.6.camel@...40...> References: <332607.87658.qm@...1782...> <200908051558.55622.gambas@...1...> <1249484744.6484.6.camel@...40...> Message-ID: <200908051729.49509.gambas@...1...> > Am Mittwoch, den 05.08.2009, 15:58 +0200 schrieb Beno?t Minisini: > > > Salut Benoit, > > > > > > while talking GridView. I think that belongs to that subject. > > > > > > I moving a gambas1 project to gambas2, and remarked, > > > that with GridView you can't have EmptySpace at right in a > > > Grid (gambas1.png) At that time I used the TableView component. > > > > > > With GridView from gambas2 (gambas2.15.2) even the Field which is set > > > during creation like that : > > > ME.Columns[ME.Columns.Count - 1].Width = 0 > > > ME.Columns[ME.Columns.Count - 1].Resizable = FALSE > > > is now visible.(gambas2.png) > > > > > > Do you have a hint for that. > > > > You didn't send the gambas2.png screenshot. Can you post it so that I can > > see what you are talking about? > > Sorry, this time I send both. > > This is what I found in ChangeLog > > --- 8< -- > --------------------------------------------------------------------------- >---- gambas2-2.11 - 28 Jan 2009 > --------------------------------------------------------------------------- >---- --- 8< -- > * BUG: The last GridView column should be correctly stretched when its > width is explicitely set now. > --- 8< -- > > Charlie OK. As a workaround, don't put the hidden column last, so that it keeps its null with. -- Beno?t From Karl.Reinl at ...9... Wed Aug 5 17:49:55 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 05 Aug 2009 17:49:55 +0200 Subject: [Gambas-user] Column auto reseize in tables views. In-Reply-To: <200908051729.49509.gambas@...1...> References: <332607.87658.qm@...1782...> <200908051558.55622.gambas@...1...> <1249484744.6484.6.camel@...40...> <200908051729.49509.gambas@...1...> Message-ID: <1249487395.6484.10.camel@...40...> Am Mittwoch, den 05.08.2009, 17:29 +0200 schrieb Beno?t Minisini: > > Am Mittwoch, den 05.08.2009, 15:58 +0200 schrieb Beno?t Minisini: > > > > Salut Benoit, > > > > > > > > while talking GridView. I think that belongs to that subject. > > > > > > > > I moving a gambas1 project to gambas2, and remarked, > > > > that with GridView you can't have EmptySpace at right in a > > > > Grid (gambas1.png) At that time I used the TableView component. > > > > > > > > With GridView from gambas2 (gambas2.15.2) even the Field which is set > > > > during creation like that : > > > > ME.Columns[ME.Columns.Count - 1].Width = 0 > > > > ME.Columns[ME.Columns.Count - 1].Resizable = FALSE > > > > is now visible.(gambas2.png) > > > > > > > > Do you have a hint for that. > > > > > > You didn't send the gambas2.png screenshot. Can you post it so that I can > > > see what you are talking about? > > > > Sorry, this time I send both. > > > > This is what I found in ChangeLog > > > > --- 8< -- > > --------------------------------------------------------------------------- > >---- gambas2-2.11 - 28 Jan 2009 > > --------------------------------------------------------------------------- > >---- --- 8< -- > > * BUG: The last GridView column should be correctly stretched when its > > width is explicitely set now. > > --- 8< -- > > > > Charlie > > OK. As a workaround, don't put the hidden column last, so that it keeps its > null with. > Thanks, I was afraid, that this is the answer. mais pas joli. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas2-01.png Type: image/png Size: 27363 bytes Desc: not available URL: From steven at ...1652... Wed Aug 5 17:30:46 2009 From: steven at ...1652... (Steven revimmo) Date: Wed, 05 Aug 2009 17:30:46 +0200 Subject: [Gambas-user] Executing commands as root In-Reply-To: <200908051707.27140.rospolosco@...152...> References: <283012.81985.qm@...1657...> <200908051707.27140.rospolosco@...152...> Message-ID: <1249486246.4161.79.camel@...1936...> I used this : SHELL "kdesu " & Chr(34) & "/usr/sbin/lpadmin -p request_ps -v 'pipe:/bin/cat - > " & User.Home & "/request/work/tempfile.ps' -m PostscriptColor.ppd -E" & Chr(34) WAIT (to install a printer) cheers, steven Le mercredi 05 ao?t 2009 ? 17:07 +0200, Stefano Palmeri a ?crit : > Il mercoled? 5 agosto 2009 15:45:24 David Villalobos Cambronero ha scritto: > > Hi all, > > > > Time ago, someone asked about executing commands as root and pass the root > > password to SHELL, does anybody remember the solution? > > > > Regards > > > > > > -- > > David > > > > > > He was me. My error was I opened the shell process > FOR READ WRITE instead of INPUT OUTPUT. > I attache a little example so it will be clear howto. > The example is a form with a textbox. You type > the root password and confirm and you execute > cat /etc/sudoers as root (you'll see the output on Gambas > console). It's just an example, you can try any other root command. > Other solutions includes using gtksu or kdesu, but this way you > depend on desktop. > > Ciao, > > Stefano > > > > > > > --------------------------------------------------------------------------- > >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - and > > focus on what you do best, core application coding. Discover what's new > > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Wed Aug 5 19:17:55 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 5 Aug 2009 10:17:55 -0700 (PDT) Subject: [Gambas-user] Executing commands as root In-Reply-To: <1249486246.4161.79.camel@...1936...> References: <283012.81985.qm@...1657...> <200908051707.27140.rospolosco@...152...> <1249486246.4161.79.camel@...1936...> Message-ID: <428575.50954.qm@...1655...> Hey!!!! Thanks to all, very helpful Regards -- David ----- Original Message ---- From: Steven revimmo To: mailing list for gambas users Sent: Wednesday, August 5, 2009 9:30:46 AM Subject: Re: [Gambas-user] Executing commands as root I used this : SHELL "kdesu " & Chr(34) & "/usr/sbin/lpadmin -p request_ps -v 'pipe:/bin/cat - > " & User.Home & "/request/work/tempfile.ps' -m PostscriptColor.ppd -E" & Chr(34) WAIT (to install a printer) cheers, steven Le mercredi 05 ao?t 2009 ? 17:07 +0200, Stefano Palmeri a ?crit : > Il mercoled? 5 agosto 2009 15:45:24 David Villalobos Cambronero ha scritto: > > Hi all, > > > > Time ago, someone asked about executing commands as root and pass the root > > password to SHELL, does anybody remember the solution? > > > > Regards > > > > > > -- > > David > > > > > > He was me. My error was I opened the shell process > FOR READ WRITE instead of INPUT OUTPUT. > I attache a little example so it will be clear howto. > The example is a form with a textbox. You type > the root password and confirm and you execute > cat /etc/sudoers as root (you'll see the output on Gambas > console). It's just an example, you can try any other root command. > Other solutions includes using gtksu or kdesu, but this way you > depend on desktop. > > Ciao, > > Stefano > > > > > > > --------------------------------------------------------------------------- > >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - and > > focus on what you do best, core application coding. Discover what's new > > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From joshiggins at ...1601... Wed Aug 5 22:19:59 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 5 Aug 2009 21:19:59 +0100 Subject: [Gambas-user] gbs web application debugging - find line numbers? Message-ID: <4247f5440908051319l3af7fb17jff3130091251191d@...627...> Hi, I'm building a web application, but its currently a pain to debug the scripts. Everything is working fine (Apache and etc) and file permissions are okay, but a pesky line in my script is throwing a file not found error, and I cannot find which one. This is the output catched in apache's error.log MMain._PrintPage.45: #45: File or directory does not exist 0: MMain._PrintPage.45 1: MMain.Main.6 How do I find out which line number is the offending line? 45 and 6 don't relate to any lines in my script file. Thanks. -- joshua higgins >>>>>>------ From gambas at ...1... Wed Aug 5 22:32:31 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 5 Aug 2009 22:32:31 +0200 Subject: [Gambas-user] gbs web application debugging - find line numbers? In-Reply-To: <4247f5440908051319l3af7fb17jff3130091251191d@...627...> References: <4247f5440908051319l3af7fb17jff3130091251191d@...627...> Message-ID: <200908052232.31451.gambas@...1...> > Hi, > > I'm building a web application, but its currently a pain to debug the > scripts. Everything is working fine (Apache and etc) and file permissions > are okay, but a pesky line in my script is throwing a file not found error, > and I cannot find which one. This is the output catched in apache's > error.log > > MMain._PrintPage.45: #45: File or directory does not exist > 0: MMain._PrintPage.45 > 1: MMain.Main.6 > > How do I find out which line number is the offending line? 45 and 6 don't > relate to any lines in my script file. > > Thanks. Mmm, it is not practical. You can do that to see the generated code: $ gbs3 -v -c /path/to/my/page It will verbosely recompile the page. Then you may be able to find the line #45 in the _PrintPage generated function. A better solution should be found. Maybe some sort of annotation inside the generated code, so that you can get the line number of the original file inside the error message... I don't know at the moment. Regards, -- Beno?t From rterry at ...1946... Thu Aug 6 06:00:25 2009 From: rterry at ...1946... (richard terry) Date: Thu, 6 Aug 2009 14:00:25 +1000 Subject: [Gambas-user] Java for Webkit? Message-ID: <200908061400.25282.rterry@...1946...> I noted in the browser example, no java? WebSettings seems to have mention of these but I can't set them. Any help appreciated. Thanks. richard From joshiggins at ...1601... Thu Aug 6 11:50:25 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Thu, 6 Aug 2009 10:50:25 +0100 Subject: [Gambas-user] gbs web application debugging - find line numbers? In-Reply-To: <200908052232.31451.gambas@...1...> References: <4247f5440908051319l3af7fb17jff3130091251191d@...627...> <200908052232.31451.gambas@...1...> Message-ID: <4247f5440908060250jf7ea73fp45ad049eed53e67@...627...> I'm using Gambas 2 (Ubuntu packaging for Intrepid) and gbw2 -c -v marking_grid_course.adp > source.txt works great. Its easy to find the line numbers sending it to a file and opening it in, e.g. mousepad. 2009/8/5 Beno?t Minisini > > Hi, > > > > I'm building a web application, but its currently a pain to debug the > > scripts. Everything is working fine (Apache and etc) and file permissions > > are okay, but a pesky line in my script is throwing a file not found > error, > > and I cannot find which one. This is the output catched in apache's > > error.log > > > > MMain._PrintPage.45: #45: File or directory does not exist > > 0: MMain._PrintPage.45 > > 1: MMain.Main.6 > > > > How do I find out which line number is the offending line? 45 and 6 don't > > relate to any lines in my script file. > > > > Thanks. > > Mmm, it is not practical. > > You can do that to see the generated code: > > $ gbs3 -v -c /path/to/my/page > > It will verbosely recompile the page. > > Then you may be able to find the line #45 in the _PrintPage generated > function. > > A better solution should be found. Maybe some sort of annotation inside the > generated code, so that you can get the line number of the original file > inside the error message... I don't know at the moment. > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From dr.diesel at ...626... Thu Aug 6 13:22:47 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Thu, 6 Aug 2009 07:22:47 -0400 Subject: [Gambas-user] Help compiling gambas3 Message-ID: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> Hello all! Having a little trouble with libtool on Fedora 11_x86. I've downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info page: libtool-1.5.26-4.fc10.i386 libtool-ltdl-1.5.26-4.fc10.i386 But still receive this error: /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread ../libtool: line 5001: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk/trunk' make: *** [all] Error 2 [andy at ...40... trunk]$ Any suggestions? Many thanks. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From gambas at ...1... Thu Aug 6 13:28:05 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 13:28:05 +0200 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> Message-ID: <200908061328.05555.gambas@...1...> > Hello all! Having a little trouble with libtool on Fedora 11_x86. I've > downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info > page: > > libtool-1.5.26-4.fc10.i386 > libtool-ltdl-1.5.26-4.fc10.i386 > > But still receive this error: > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath > /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo > gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo > gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo > gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo > gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > ../libtool: line 5001: cd: no: No such file or directory > libtool: link: cannot determine absolute directory name of `no' > make[4]: *** [gb.la] Error 1 > make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/andy/trunk/trunk/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/andy/trunk/trunk/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/andy/trunk/trunk' > make: *** [all] Error 2 > [andy at ...40... trunk]$ > > Any suggestions? Many thanks. Sorry for that, but since a few days libtool must not be downgraded anymore. You must use libtool 2. Please upgrade, and tell me if everything works. Don't forget to do a ./reconf before reconfiguring! If you are not sure, just start from a fresh checkout. Regards, -- Beno?t From cplopez at ...626... Thu Aug 6 17:14:08 2009 From: cplopez at ...626... (Carlos Prieto =?ISO-8859-1?Q?L=F3pez?=) Date: Thu, 06 Aug 2009 10:14:08 -0500 Subject: [Gambas-user] GTK key events bug Message-ID: <1249571649.11509.17.camel@...2256...> Summary: In a graphical application using GTK, a key event produced by a control is captured by the parent, but key event information provided by the Key class is not available. How to reproduce: In a GTK project, put a form, a control (for example, a textbox), and the following code: PUBLIC SUB Form_KeyRelease() DEBUG Key.Code END Press a key when the control (not the form) has the focus, and the error "No keyboard event data." will be produced. This happens in any control and its container, as far as I've seen. Expected behaviour: The information of the pressed key should be available to the parent also. Comments: This can be worse with other controls. For example, a TreeView control, when editing, shows a textbox, whose events are hidden to the Treeview user. Therefore, key events on the textbox cannot be handled, and key-related code put on the treeview's KeyRelease event will raise an error. This problem does NOT happen with Qt. Configuration: Intel Core2 Duo @ 2GiHz, 2GiB ram Ubuntu 8.04, kernel 2.6.24-24 generic Gambas 2.15.2-1, GTK From gambas at ...1... Thu Aug 6 17:46:33 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 17:46:33 +0200 Subject: [Gambas-user] GTK key events bug In-Reply-To: <1249571649.11509.17.camel@...2256...> References: <1249571649.11509.17.camel@...2256...> Message-ID: <200908061746.33688.gambas@...1...> > Summary: In a graphical application using GTK, a key event produced by a > control is captured by the parent, but key event information provided by > the Key class is not available. > > How to reproduce: In a GTK project, put a form, a control (for example, > a textbox), and the following code: > > PUBLIC SUB Form_KeyRelease() > > DEBUG Key.Code > > END > > Press a key when the control (not the form) has the focus, and the error > "No keyboard event data." will be produced. This happens in any control > and its container, as far as I've seen. > > Expected behaviour: The information of the pressed key should be > available to the parent also. > > Comments: This can be worse with other controls. For example, a TreeView > control, when editing, shows a textbox, whose events are hidden to the > Treeview user. Therefore, key events on the textbox cannot be handled, > and key-related code put on the treeview's KeyRelease event will raise > an error. This problem does NOT happen with Qt. > > Configuration: > Intel Core2 Duo @ 2GiHz, 2GiB ram > Ubuntu 8.04, kernel 2.6.24-24 generic > Gambas 2.15.2-1, GTK Please can you send a project that shows that bug? I cannot reproduce it there with your explanations. I put a textbox inside a form, and only GTK forms catch the keyboard events from the textbox, not QT forms! Regards, -- Beno?t From prog at ...2177... Thu Aug 6 17:47:30 2009 From: prog at ...2177... (craf) Date: Thu, 06 Aug 2009 11:47:30 -0400 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <200908061328.05555.gambas@...1...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> <200908061328.05555.gambas@...1...> Message-ID: <1249573650.3661.0.camel@...651...> -----Mensaje original----- De: Beno?t Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Help compiling gambas3 Fecha: Thu, 6 Aug 2009 13:28:05 +0200 > Hello all! Having a little trouble with libtool on Fedora 11_x86. I've > downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info > page: > > libtool-1.5.26-4.fc10.i386 > libtool-ltdl-1.5.26-4.fc10.i386 > > But still receive this error: > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath > /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo > gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo > gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo > gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo > gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > ../libtool: line 5001: cd: no: No such file or directory > libtool: link: cannot determine absolute directory name of `no' > make[4]: *** [gb.la] Error 1 > make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/andy/trunk/trunk/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/andy/trunk/trunk/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/andy/trunk/trunk' > make: *** [all] Error 2 > [andy at ...40... trunk]$ > > Any suggestions? Many thanks. Sorry for that, but since a few days libtool must not be downgraded anymore. You must use libtool 2. Please upgrade, and tell me if everything works. Don't forget to do a ./reconf before reconfiguring! If you are not sure, just start from a fresh checkout. Regards, Hi. Is it also true for compilations hereafter for Ubuntu? Regards. From oceanosoftlapalma at ...626... Thu Aug 6 18:01:13 2009 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Thu, 6 Aug 2009 17:01:13 +0100 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908042243.09895.gambas@...1...> References: <200908042243.09895.gambas@...1...> Message-ID: Benoit, Have you tryed to compile Gambas2 this way (without downgrade libtool to 1.5)? Last time I tryed didn't work (about 3 weeks ago) Thanks in advance, Ricardo D?az 2009/8/4 Beno?t Minisini > I finally succeded in compiling Gambas 3 /trunk on Ubuntu without having to > downgrade libtool to 1.5 version. > > For the story, this was done on my new Aspire One 751. > > When doing ./reconf, you will get a lot of warning messages from > "libtoolize". > I have no idea why, I don't have them on Mandriva with the same libtool > version. Apparently they have no consequences, and ./configure, make and > make > install go well. > > Apparently people using Ubuntu <= 8.xx now have problems, because I had to > update a lot of things in the configuration files to let it work on Ubuntu > 9.04. > > So, please report your problems as usual. > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From cplopez at ...626... Thu Aug 6 18:14:53 2009 From: cplopez at ...626... (Carlos Prieto =?ISO-8859-1?Q?L=F3pez?=) Date: Thu, 06 Aug 2009 11:14:53 -0500 Subject: [Gambas-user] GTK key events bug In-Reply-To: <200908061746.33688.gambas@...1...> References: <1249571649.11509.17.camel@...2256...> <200908061746.33688.gambas@...1...> Message-ID: <1249575293.11509.25.camel@...2256...> > > Summary: In a graphical application using GTK, a key event produced > by a > > control is captured by the parent, but key event information > provided by > > the Key class is not available. > > > > How to reproduce: In a GTK project, put a form, a control (for > example, > > a textbox), and the following code: > > > > PUBLIC SUB Form_KeyRelease() > > > > DEBUG Key.Code > > > > END > > > > Press a key when the control (not the form) has the focus, and the > error > > "No keyboard event data." will be produced. This happens in any > control > > and its container, as far as I've seen. > > > > Expected behaviour: The information of the pressed key should be > > available to the parent also. > > > > Comments: This can be worse with other controls. For example, a > TreeView > > control, when editing, shows a textbox, whose events are hidden to > the > > Treeview user. Therefore, key events on the textbox cannot be > handled, > > and key-related code put on the treeview's KeyRelease event will > raise > > an error. This problem does NOT happen with Qt. > > > > Configuration: > > Intel Core2 Duo @ 2GiHz, 2GiB ram > > Ubuntu 8.04, kernel 2.6.24-24 generic > > Gambas 2.15.2-1, GTK > > Please can you send a project that shows that bug? I cannot reproduce > it there > with your explanations. > > I put a textbox inside a form, and only GTK forms catch the keyboard > events > from the textbox, not QT forms! > > Regards, > > -- > Beno?t I attach the project with the error (pruebagtk.tar.gz). Type anything on the textbox, and the error will show (this was a GTK graphic application). The project inside prueba.tar.gz was created as QT graphic application; when typing on the textbox, the key code is printed on the debug screen, and the event is not catched by the form. Best regards, Carlos -------------- next part -------------- A non-text attachment was scrubbed... Name: pruebagtk.tar.gz Type: application/x-compressed-tar Size: 8056 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: prueba.tar.gz Type: application/x-compressed-tar Size: 7986 bytes Desc: not available URL: From nick at ...2252... Thu Aug 6 18:59:28 2009 From: nick at ...2252... (Nick Rathke) Date: Thu, 06 Aug 2009 10:59:28 -0600 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: References: <200908042243.09895.gambas@...1...> Message-ID: <4A7B0BF0.2070104@...2252...> Hi, No joy compiling gambas3 on Suse 11.1 ~/Desktop/gambas3 # libtool --version ltmain.sh (GNU libtool) 2.2.6 From nick at ...2252... Thu Aug 6 19:13:10 2009 From: nick at ...2252... (Nick Rathke) Date: Thu, 06 Aug 2009 11:13:10 -0600 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7B0BF0.2070104@...2252...> References: <200908042243.09895.gambas@...1...> <4A7B0BF0.2070104@...2252...> Message-ID: <4A7B0F26.1030900@...2252...> Nick Rathke wrote: > Hi, > > No joy compiling gambas3 on Suse 11.1 > > ~/Desktop/gambas3 # libtool --version > ltmain.sh (GNU libtool) 2.2.6 > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come From nick at ...2252... Thu Aug 6 19:20:40 2009 From: nick at ...2252... (Nick Rathke) Date: Thu, 06 Aug 2009 11:20:40 -0600 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7B0F26.1030900@...2252...> References: <200908042243.09895.gambas@...1...> <4A7B0BF0.2070104@...2252...> <4A7B0F26.1030900@...2252...> Message-ID: <4A7B10E8.20101@...2252...> Nick Rathke wrote: Sorry about that it looks like copy/paste didn't take from my Suse 11.1 VM on a Mac. Here is the same error block as the Ubuntu system(s) /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread ../libtool: line 5001: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Desktop/gambas3/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Desktop/gambas3/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/gambas3' make: *** [all] Error 2 -Nick > Nick Rathke wrote: > >> Hi, >> >> No joy compiling gambas3 on Suse 11.1 >> >> ~/Desktop/gambas3 # libtool --version >> ltmain.sh (GNU libtool) 2.2.6 >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come From gambas at ...1... Thu Aug 6 20:45:03 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 20:45:03 +0200 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7B10E8.20101@...2252...> References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> Message-ID: <200908062045.03761.gambas@...1...> > Nick Rathke wrote: > > Sorry about that it looks like copy/paste didn't take from my Suse 11.1 > VM on a Mac. > > Here is the same error block as the Ubuntu system(s) > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la > -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo > gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo > gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo > gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > gb_la-gbx_class_info.lo -lm -ldl -lpthread > ../libtool: line 5001: cd: no: No such file or directory > libtool: link: cannot determine absolute directory name of `no' > make[4]: *** [gb.la] Error 1 > make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/Desktop/gambas3/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/Desktop/gambas3/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/Desktop/gambas3' > make: *** [all] Error 2 > > -Nick > Can you send the the output of './reconf' and './configure'? -- Beno?t From gambas at ...1... Thu Aug 6 20:45:57 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 20:45:57 +0200 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <1249573650.3661.0.camel@...651...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> <200908061328.05555.gambas@...1...> <1249573650.3661.0.camel@...651...> Message-ID: <200908062045.57427.gambas@...1...> > -----Mensaje original----- > De: Beno?t Minisini > Reply-to: mailing list for gambas users > > Para: mailing list for gambas users > Asunto: Re: [Gambas-user] Help compiling gambas3 > Fecha: Thu, 6 Aug 2009 13:28:05 +0200 > > > Hello all! Having a little trouble with libtool on Fedora 11_x86. I've > > downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info > > page: > > > > libtool-1.5.26-4.fc10.i386 > > libtool-ltdl-1.5.26-4.fc10.i386 > > > > But still receive this error: > > > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la > > -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo > > gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo > > gb_la-gbx_c_file.lo > > gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo > > gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo > > gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > > ../libtool: line 5001: cd: no: No such file or directory > > libtool: link: cannot determine absolute directory name of `no' > > make[4]: *** [gb.la] Error 1 > > make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/home/andy/trunk/trunk/main' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/andy/trunk/trunk/main' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/andy/trunk/trunk' > > make: *** [all] Error 2 > > [andy at ...40... trunk]$ > > > > Any suggestions? Many thanks. > > Sorry for that, but since a few days libtool must not be downgraded > anymore. You must use libtool 2. Please upgrade, and tell me if everything > works. Don't forget to do a ./reconf before reconfiguring! If you are not > sure, just start from a fresh checkout. > > Regards, > > Hi. > > Is it also true for compilations hereafter for Ubuntu? > > Regards. I just have compiled Gambas 3 on Ubuntu 9.04. I have plenty of strange warnings when doing ./reconf, but the other steps went well. Regards, -- Beno?t From gambas at ...1... Thu Aug 6 22:52:35 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 22:52:35 +0200 Subject: [Gambas-user] GTK key events bug In-Reply-To: <1249575293.11509.25.camel@...2256...> References: <1249571649.11509.17.camel@...2256...> <200908061746.33688.gambas@...1...> <1249575293.11509.25.camel@...2256...> Message-ID: <200908062252.35375.gambas@...1...> > > > Summary: In a graphical application using GTK, a key event produced > > > > by a > > > > > control is captured by the parent, but key event information > > > > provided by > > > > > the Key class is not available. > > > > > > How to reproduce: In a GTK project, put a form, a control (for > > > > example, > > > > > a textbox), and the following code: > > > > > > PUBLIC SUB Form_KeyRelease() > > > > > > DEBUG Key.Code > > > > > > END > > > > > > Press a key when the control (not the form) has the focus, and the > > > > error > > > > > "No keyboard event data." will be produced. This happens in any > > > > control > > > > > and its container, as far as I've seen. > > > > > > Expected behaviour: The information of the pressed key should be > > > available to the parent also. > > > > > > Comments: This can be worse with other controls. For example, a > > > > TreeView > > > > > control, when editing, shows a textbox, whose events are hidden to > > > > the > > > > > Treeview user. Therefore, key events on the textbox cannot be > > > > handled, > > > > > and key-related code put on the treeview's KeyRelease event will > > > > raise > > > > > an error. This problem does NOT happen with Qt. > > > > > > Configuration: > > > Intel Core2 Duo @ 2GiHz, 2GiB ram > > > Ubuntu 8.04, kernel 2.6.24-24 generic > > > Gambas 2.15.2-1, GTK > > > > Please can you send a project that shows that bug? I cannot reproduce > > it there > > with your explanations. > > > > I put a textbox inside a form, and only GTK forms catch the keyboard > > events > > from the textbox, not QT forms! > > > > Regards, > > > > -- > > Beno?t > > I attach the project with the error (pruebagtk.tar.gz). Type anything on > the textbox, and the error will show (this was a GTK graphic > application). > > The project inside prueba.tar.gz was created as QT graphic application; > when typing on the textbox, the key code is printed on the debug screen, > and the event is not catched by the form. > > Best regards, > > Carlos I have exactly the same behaviour I described above... Is your OS 64 bits? -- Beno?t From prog at ...2177... Thu Aug 6 23:10:20 2009 From: prog at ...2177... (craf) Date: Thu, 06 Aug 2009 17:10:20 -0400 Subject: [Gambas-user] GTK key events bug In-Reply-To: <200908062252.35375.gambas@...1...> References: <1249571649.11509.17.camel@...2256...> <200908061746.33688.gambas@...1...> <1249575293.11509.25.camel@...2256...> <200908062252.35375.gambas@...1...> Message-ID: <1249593020.3661.2.camel@...651...> -----Mensaje original----- De: Beno?t Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] GTK key events bug Fecha: Thu, 6 Aug 2009 22:52:35 +0200 > > > Summary: In a graphical application using GTK, a key event produced > > > > by a > > > > > control is captured by the parent, but key event information > > > > provided by > > > > > the Key class is not available. > > > > > > How to reproduce: In a GTK project, put a form, a control (for > > > > example, > > > > > a textbox), and the following code: > > > > > > PUBLIC SUB Form_KeyRelease() > > > > > > DEBUG Key.Code > > > > > > END > > > > > > Press a key when the control (not the form) has the focus, and the > > > > error > > > > > "No keyboard event data." will be produced. This happens in any > > > > control > > > > > and its container, as far as I've seen. > > > > > > Expected behaviour: The information of the pressed key should be > > > available to the parent also. > > > > > > Comments: This can be worse with other controls. For example, a > > > > TreeView > > > > > control, when editing, shows a textbox, whose events are hidden to > > > > the > > > > > Treeview user. Therefore, key events on the textbox cannot be > > > > handled, > > > > > and key-related code put on the treeview's KeyRelease event will > > > > raise > > > > > an error. This problem does NOT happen with Qt. > > > > > > Configuration: > > > Intel Core2 Duo @ 2GiHz, 2GiB ram > > > Ubuntu 8.04, kernel 2.6.24-24 generic > > > Gambas 2.15.2-1, GTK > > > > Please can you send a project that shows that bug? I cannot reproduce > > it there > > with your explanations. > > > > I put a textbox inside a form, and only GTK forms catch the keyboard > > events > > from the textbox, not QT forms! > > > > Regards, > > > > -- > > Beno?t > > I attach the project with the error (pruebagtk.tar.gz). Type anything on > the textbox, and the error will show (this was a GTK graphic > application). > > The project inside prueba.tar.gz was created as QT graphic application; > when typing on the textbox, the key code is printed on the debug screen, > and the event is not catched by the form. > > Best regards, > > Carlos I have exactly the same behaviour I described above... Is your OS 64 bits? Hi. I tried the first example pruebagtk.tar.gz and no problems. I tried the second example prueba.tar-gz, which uses the QT, not shown in the debug code of the key pressed. Is that wrong? I use: Ubuntu-9.04 - 32 bits Gambas-2.15.2 -Gnome Regards. From gambas at ...1... Thu Aug 6 23:50:22 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 6 Aug 2009 23:50:22 +0200 Subject: [Gambas-user] Java for Webkit? In-Reply-To: <200908061400.25282.rterry@...1946...> References: <200908061400.25282.rterry@...1946...> Message-ID: <200908062350.23000.gambas@...1...> > I noted in the browser example, no java? > > WebSettings seems to have mention of these but I can't set them. > > Any help appreciated. > > Thanks. > > richard > WebSettings[WebSettings.JavaEnabled] = TRUE does not work? -- Beno?t From dr.diesel at ...626... Thu Aug 6 23:51:02 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Thu, 6 Aug 2009 17:51:02 -0400 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <200908061328.05555.gambas@...1...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> <200908061328.05555.gambas@...1...> Message-ID: <2a28d2ab0908061451r1a3e1b19y2608a3b07f84583@...627...> Many thanks, that got me a munch further! I am now stuck here, probably a missing dep but I can't seem to determine which package? I started with a fresh svn checkout: make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -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:47, from /usr/lib/qt-3.3/include/qpainter.h:51, from ../../gb.qt.h:37, from main.h:28, from CWebBrowser.h:31, from main.cpp:26: /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 `/home/andy/trunk/gb.qt.kde/src/html' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/andy/trunk/gb.qt.kde/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/gb.qt.kde' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/gb.qt.kde' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 [andy at ...40... trunk]$ Thanks again 2009/8/6 Beno?t Minisini > > Hello all! Having a little trouble with libtool on Fedora 11_x86. I've > > downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info > > page: > > > > libtool-1.5.26-4.fc10.i386 > > libtool-ltdl-1.5.26-4.fc10.i386 > > > > But still receive this error: > > > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la-rpath > > /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo > > gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo > > gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo > > gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo > > gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > > ../libtool: line 5001: cd: no: No such file or directory > > libtool: link: cannot determine absolute directory name of `no' > > make[4]: *** [gb.la] Error 1 > > make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/home/andy/trunk/trunk/main' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/andy/trunk/trunk/main' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/andy/trunk/trunk' > > make: *** [all] Error 2 > > [andy at ...40... trunk]$ > > > > Any suggestions? Many thanks. > > Sorry for that, but since a few days libtool must not be downgraded > anymore. > You must use libtool 2. Please upgrade, and tell me if everything works. > Don't > forget to do a ./reconf before reconfiguring! If you are not sure, just > start > from a fresh checkout. > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From gambas at ...1... Fri Aug 7 00:04:19 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 00:04:19 +0200 Subject: [Gambas-user] Java for Webkit? In-Reply-To: <200908062350.23000.gambas@...1...> References: <200908061400.25282.rterry@...1946...> <200908062350.23000.gambas@...1...> Message-ID: <200908070004.19791.gambas@...1...> > > I noted in the browser example, no java? > > > > WebSettings seems to have mention of these but I can't set them. > > > > Any help appreciated. > > > > Thanks. > > > > richard > > WebSettings[WebSettings.JavaEnabled] = TRUE > > does not work? Indeed, it seems to not work. But Javascript works. -- Beno?t From gambas at ...1... Fri Aug 7 02:04:44 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 02:04:44 +0200 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <2a28d2ab0908061451r1a3e1b19y2608a3b07f84583@...627...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> <200908061328.05555.gambas@...1...> <2a28d2ab0908061451r1a3e1b19y2608a3b07f84583@...627...> Message-ID: <200908070204.44857.gambas@...1...> > Many thanks, that got me a munch further! I am now stuck here, probably a > missing dep but I can't seem to determine which package? I started with a > fresh svn checkout: > > make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html' > /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -D_REENTRANT -I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe These two paths together is a weird things. Did you install kde3 libraries? If not, then configure made a mistake and use kde4 include path thinking it is the kde3 one. Please send the output of (./reconf && ./configure), and disable explicitely the kde components. Regards, -- Beno?t From dr.diesel at ...626... Fri Aug 7 02:55:19 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Thu, 6 Aug 2009 20:55:19 -0400 Subject: [Gambas-user] Help compiling gambas3 In-Reply-To: <200908070204.44857.gambas@...1...> References: <2a28d2ab0908060422r69462fc4v7f78d618553a5cb2@...627...> <200908061328.05555.gambas@...1...> <2a28d2ab0908061451r1a3e1b19y2608a3b07f84583@...627...> <200908070204.44857.gambas@...1...> Message-ID: <2a28d2ab0908061755q2c9e4f05r86d58b3afc48cf67@...627...> Many thanks for the help, I install these packages and all is now fine: Aug 06 20:43:45 Installed: firebird-libfbembed.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:46 Installed: libogg-devel.i586 2:1.1.3-11.fc11 Aug 06 20:43:48 Installed: xinetd.i586 2:2.3.14-22.fc11 Aug 06 20:43:48 Installed: sqlite2.i586 2.8.17-3.fc11 Aug 06 20:43:49 Installed: firebird-devel.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:51 Installed: libvorbis-devel.i586 1:1.2.0-7.fc11 Aug 06 20:43:51 Installed: SDL_mixer-devel.i586 1.2.8-12.fc11 Aug 06 20:43:52 Installed: sqlite2-devel.i586 2.8.17-3.fc11 Aug 06 20:43:53 Installed: firebird.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:55 Installed: firebird-classic.i586 2.1.2.18118.0-11.fc11 Thanks again, Andy 2009/8/6 Beno?t Minisini > > Many thanks, that got me a munch further! I am now stuck here, probably > a > > missing dep but I can't seem to determine which package? I started with > a > > fresh svn checkout: > > > > make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html' > > /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > > -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > > > -D_REENTRANT -I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe > > These two paths together is a weird things. Did you install kde3 libraries? > If > not, then configure made a mistake and use kde4 include path thinking it is > the kde3 one. > > Please send the output of (./reconf && ./configure), and disable > explicitely > the kde components. > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From eilert-sprachen at ...221... Fri Aug 7 10:54:36 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 07 Aug 2009 10:54:36 +0200 Subject: [Gambas-user] COPY does not always copy chgrp and chown Message-ID: <4A7BEBCC.3060306@...221...> Just found this (Gambas 2 project) when copying several students from one class into another. For each student, there are about 6 files to be copied from one directory into another. The first one will always get standard chgrp and chown of the application's user. The other files SOMETIMES are copied with correct group and ownership, MOSTLY not. All files have special group and ownership, controlling if teachers or only the office can access the data. Now, this is the function that does the actual copy: 'kopiert alle Dateien eines Namens in eine andere Kartei '- ziel ist der Zielpfad '- wenn eine gleichnamige Datei schon vorhanden ist, kommt "-1" zur?ck '- wenn es geklappt hat, kommt "0" zur?ck 'wird z. B. von dlgNamenKopieren benutzt PUBLIC FUNCTION NamenKopieren(schlyssel AS String, ziel AS String) AS Integer DIM original AS String DIM odatei AS String DIM opfad AS String DIM datei AS String original = getFilename(schlyssel) odatei = file.BaseName(original) opfad = file.Dir(original) IF Exist(ziel &/ odatei & ".felder") THEN RETURN -1 END IF FOR EACH datei IN Dir(opfad, odatei & ".*") COPY opfad &/ datei TO ziel &/ datei NEXT RETURN 0 END Do you see anything wrong here? As it sometimes works correctly I would actually think that it's a bug in copy. The filesystem is ext3. Regards Rolf From gambas at ...1... Fri Aug 7 14:59:20 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 14:59:20 +0200 Subject: [Gambas-user] COPY does not always copy chgrp and chown In-Reply-To: <4A7BEBCC.3060306@...221...> References: <4A7BEBCC.3060306@...221...> Message-ID: <200908071459.20979.gambas@...1...> > Just found this (Gambas 2 project) when copying several students from > one class into another. For each student, there are about 6 files to be > copied from one directory into another. The first one will always get > standard chgrp and chown of the application's user. The other files > SOMETIMES are copied with correct group and ownership, MOSTLY not. > > All files have special group and ownership, controlling if teachers or > only the office can access the data. > > Now, this is the function that does the actual copy: > > > > 'kopiert alle Dateien eines Namens in eine andere Kartei > '- ziel ist der Zielpfad > '- wenn eine gleichnamige Datei schon vorhanden ist, kommt "-1" zur?ck > '- wenn es geklappt hat, kommt "0" zur?ck > > 'wird z. B. von dlgNamenKopieren benutzt > > PUBLIC FUNCTION NamenKopieren(schlyssel AS String, ziel AS String) AS > Integer > DIM original AS String > DIM odatei AS String > DIM opfad AS String > DIM datei AS String > > original = getFilename(schlyssel) > > odatei = file.BaseName(original) > opfad = file.Dir(original) > > IF Exist(ziel &/ odatei & ".felder") THEN > RETURN -1 > END IF > > FOR EACH datei IN Dir(opfad, odatei & ".*") > COPY opfad &/ datei TO ziel &/ datei > NEXT > > RETURN 0 > > END > > > Do you see anything wrong here? As it sometimes works correctly I would > actually think that it's a bug in copy. > > The filesystem is ext3. > > Regards > > Rolf > COPY actually does the same thing as opening the input file, opening the output file, reading the data, writing the data, closing the input gile, closing the output file. So the output file will have the same authorizations as the input file, except that they are filtered by the "umask" (man umask) and that the file will be owned by the process who wrote the file. COPY is there just for simple cases. I suggest you use the "cp" command, using the "--preserve" option. Regards, -- Beno?t From gambas at ...1... Fri Aug 7 15:14:07 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 15:14:07 +0200 Subject: [Gambas-user] Java for Webkit? In-Reply-To: <200908070004.19791.gambas@...1...> References: <200908061400.25282.rterry@...1946...> <200908062350.23000.gambas@...1...> <200908070004.19791.gambas@...1...> Message-ID: <200908071514.07349.gambas@...1...> > > > I noted in the browser example, no java? > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > Any help appreciated. > > > > > > Thanks. > > > > > > richard > > > > WebSettings[WebSettings.JavaEnabled] = TRUE > > > > does not work? > > Indeed, it seems to not work. But Javascript works. From gambas at ...1... Fri Aug 7 15:16:12 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 15:16:12 +0200 Subject: [Gambas-user] GTK key events bug In-Reply-To: <1249593020.3661.2.camel@...651...> References: <1249571649.11509.17.camel@...2256...> <200908062252.35375.gambas@...1...> <1249593020.3661.2.camel@...651...> Message-ID: <200908071516.12097.gambas@...1...> > > > > I attach the project with the error (pruebagtk.tar.gz). Type anything on > > the textbox, and the error will show (this was a GTK graphic > > application). > > > > The project inside prueba.tar.gz was created as QT graphic application; > > when typing on the textbox, the key code is printed on the debug screen, > > and the event is not catched by the form. > > > > Best regards, > > > > Carlos > > I have exactly the same behaviour I described above... Is your OS 64 bits? > > > Hi. > > I tried the first example pruebagtk.tar.gz and no problems. > I tried the second example prueba.tar-gz, which uses the QT, not shown > in the debug code of the key pressed. Is that wrong? > I use: > Ubuntu-9.04 - 32 bits > Gambas-2.15.2 > -Gnome > > Regards. Yes, I have the same behaviour you just described. But I don't say that it is coherent, as it is not the same in gb.qt and gb.gtk. But I don't have the result described by Carlos. -- Beno?t From m0e.lnx at ...626... Fri Aug 7 15:17:43 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 08:17:43 -0500 Subject: [Gambas-user] Text formatting on textlabel (gb.gtk) Message-ID: <1f1e8c1b0908070617m1e507757g3640dca4b87e85c0@...627...> Hi guys, Using gambas2-2.15.2 and gb.gtk for my app Is there any way to insert a bullet character into a textlabel's .text value? From rterry at ...1946... Fri Aug 7 15:20:10 2009 From: rterry at ...1946... (richard terry) Date: Fri, 7 Aug 2009 23:20:10 +1000 Subject: [Gambas-user] Java for Webkit? In-Reply-To: <200908071514.07349.gambas@...1...> References: <200908061400.25282.rterry@...1946...> <200908070004.19791.gambas@...1...> <200908071514.07349.gambas@...1...> Message-ID: <200908072320.10193.rterry@...1946...> On Fri, 7 Aug 2009 11:14:07 pm Beno?t Minisini wrote: > > > > I noted in the browser example, no java? > > > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > > > Any help appreciated. > > > > > > > > Thanks. > > > > > > > > richard > > > > > > WebSettings[WebSettings.JavaEnabled] = TRUE > > > > > > does not work? > > > > Indeed, it seems to not work. But Javascript works. > > From the QtWebKit documentation: > > ? This enum describes various attributes that are configurable through > QWebSettings. > ... > QWebSettings::JavaEnabled 2 Enables or disables Java applets. Currently > Java applets are not supported. ? > > Maybe in Qt 4.6 at the end of the year ? > > Obviously QtWebKit is not finished... thanks, it actually seems to work quite well - loads faster on my system (only a 1.8 laptop, than does khtml. I Think it has enough features to change over. Would you like me to pretty up your browser example? richard From gambas at ...1... Fri Aug 7 15:31:18 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 15:31:18 +0200 Subject: [Gambas-user] Java for Webkit? In-Reply-To: <200908072320.10193.rterry@...1946...> References: <200908061400.25282.rterry@...1946...> <200908071514.07349.gambas@...1...> <200908072320.10193.rterry@...1946...> Message-ID: <200908071531.18326.gambas@...1...> > On Fri, 7 Aug 2009 11:14:07 pm Beno?t Minisini wrote: > > > > > I noted in the browser example, no java? > > > > > > > > > > WebSettings seems to have mention of these but I can't set them. > > > > > > > > > > Any help appreciated. > > > > > > > > > > Thanks. > > > > > > > > > > richard > > > > > > > > WebSettings[WebSettings.JavaEnabled] = TRUE > > > > > > > > does not work? > > > > > > Indeed, it seems to not work. But Javascript works. > > > > From the QtWebKit documentation: > > > > ? This enum describes various attributes that are configurable through > > QWebSettings. > > ... > > QWebSettings::JavaEnabled 2 Enables or disables Java applets. Currently > > Java applets are not supported. ? > > > > Maybe in Qt 4.6 at the end of the year ? > > > > Obviously QtWebKit is not finished... > > thanks, it actually seems to work quite well - loads faster on my system > (only a 1.8 laptop, than does khtml. I Think it has enough features to > change over. Would you like me to pretty up your browser example? > > richard > Yes: what do you want to do ? Note that the tab feature was done quickly with a TabStrip ; it does not work very well. I think instead of using a TabStrip, I should reimplement it with a control written in Gambas. But this is just a simple example, not a true browser... Did you notice that cookies are not shared by different WebViews? Something I need to fix too... -- Beno?t From Karl.Reinl at ...9... Fri Aug 7 16:08:47 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 16:08:47 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <200908032010.50943.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> Message-ID: <1249654127.6995.8.camel@...40...> Am Montag, den 03.08.2009, 20:10 +0200 schrieb Beno?t Minisini: > > Guys, I've been working with gb.settings on a couple of my apps in the > > past, but I have a question. > > > > Is there any way to sort of browse through the stored settings? I > > guess to see what settings are defined in the settings file? > > > > You can do the following in Gambas 3: > > ' Get all root keys > For Each sKey In MySettings.Keys > ... > Next > > Or > > ' Get all keys in the "[Configuration/Slot]" slot > For Each sKey In MySettings.Keys["Configuration/Slot"] > ... > Next Salut, the attached archive is a backport from gambas3 gb.settings for gambas2. As there where no code-changes to make, it should do what it does in gambas3. For me it solved my \ problem. I think, the gambas2 code for QuoteString() in Main.class is wrong. -- Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.settings-bp-2.15.2.tar.gz Type: application/x-compressed-tar Size: 16085 bytes Desc: not available URL: From m0e.lnx at ...626... Fri Aug 7 16:34:13 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 09:34:13 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1249654127.6995.8.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> Message-ID: <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> Is this supposed to give the gb.settings the functionality of gb3 get keys thing? From gambas at ...1... Fri Aug 7 18:53:39 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 18:53:39 +0200 Subject: [Gambas-user] settings INPUT <> settings OUTPUT In-Reply-To: <1249373781.6481.1.camel@...40...> References: <1249294577.7828.8.camel@...40...> <200908040204.28097.gambas@...1...> <1249373781.6481.1.camel@...40...> Message-ID: <200908071853.39929.gambas@...1...> > Am Dienstag, den 04.08.2009, 02:04 +0200 schrieb Beno?t Minisini: > > > Salut Benoit, > > > > > > this line was written by settings > > > > > > Descript="'that was only yesterday' a wonderful,\\nnever before seen > > > way to design a\\nprinting template\\nhaving \\nfun with it\\nnew" > > > > > > and this is read by settings > > > > > > 'that was only yesterday' a wonderful,\ > > > never before seen way to design a\ > > > printing template\ > > > having \ > > > fun with it\ > > > new > > > > > > In UnQuoteString : > > > sVal = Replace(sVal, "\\n", "\n") does nothing > > > > > > send you the Test.conf > > > > > > gambas2.15.2 on Ubuntu 8.04.3 LTS > > > > Can you send the code that writes, and the code that reads the same > > settings? > > Ok, here it is. > > Charlie The bug should be fixed in revision 2222. Regards, -- Beno?t From kobolds at ...2041... Fri Aug 7 18:55:54 2009 From: kobolds at ...2041... (kobolds) Date: Fri, 7 Aug 2009 09:55:54 -0700 (PDT) Subject: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 Message-ID: <24868373.post@...1379...> I try many times try to compile gambas2 from source . I left with 4 warning to solve . please help me http://www.nabble.com/file/p24868373/log.txt log.txt - gb.corba libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so - gb.db.firebird install from opensuse database respository (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) - gb.db.mysql install from opensuse database respository (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) but missing mysql-devel . - gb.qte ?? no idea what missing ?? -- View this message in context: http://www.nabble.com/compiling-gambas2-on-opensuse-11.1-x64-tp24868373p24868373.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...9... Fri Aug 7 19:11:10 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 19:11:10 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> Message-ID: <1249665070.6470.4.camel@...40...> Am Freitag, den 07.08.2009, 09:34 -0500 schrieb M0E Lnx: > Is this supposed to give the gb.settings the functionality of gb3 get > keys thing? Yes because it is the gb.settings from gb3, look in Main Charlie. From m0e.lnx at ...626... Fri Aug 7 19:24:04 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 12:24:04 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1249665070.6470.4.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> Message-ID: <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> How do i bring this over to my gambas2 installation? From cplopez at ...626... Fri Aug 7 19:50:01 2009 From: cplopez at ...626... (=?ISO-8859-1?Q?Carlos_Prieto_L=F3pez?=) Date: Fri, 7 Aug 2009 11:50:01 -0600 Subject: [Gambas-user] GTK key events bug In-Reply-To: <200908062252.35375.gambas@...1...> References: <1249571649.11509.17.camel@...2256...> <200908061746.33688.gambas@...1...> <1249575293.11509.25.camel@...2256...> <200908062252.35375.gambas@...1...> Message-ID: 2009/8/6 Beno?t Minisini > > > > Summary: In a graphical application using GTK, a key event produced > > > > > > by a > > > > > > > control is captured by the parent, but key event information > > > > > > provided by > > > > > > > the Key class is not available. > > > > > > > > How to reproduce: In a GTK project, put a form, a control (for > > > > > > example, > > > > > > > a textbox), and the following code: > > > > > > > > PUBLIC SUB Form_KeyRelease() > > > > > > > > DEBUG Key.Code > > > > > > > > END > > > > > > > > Press a key when the control (not the form) has the focus, and the > > > > > > error > > > > > > > "No keyboard event data." will be produced. This happens in any > > > > > > control > > > > > > > and its container, as far as I've seen. > > > > > > > > Expected behaviour: The information of the pressed key should be > > > > available to the parent also. > > > > > > > > Comments: This can be worse with other controls. For example, a > > > > > > TreeView > > > > > > > control, when editing, shows a textbox, whose events are hidden to > > > > > > the > > > > > > > Treeview user. Therefore, key events on the textbox cannot be > > > > > > handled, > > > > > > > and key-related code put on the treeview's KeyRelease event will > > > > > > raise > > > > > > > an error. This problem does NOT happen with Qt. > > > > > > > > Configuration: > > > > Intel Core2 Duo @ 2GiHz, 2GiB ram > > > > Ubuntu 8.04, kernel 2.6.24-24 generic > > > > Gambas 2.15.2-1, GTK > > > > > > Please can you send a project that shows that bug? I cannot reproduce > > > it there > > > with your explanations. > > > > > > I put a textbox inside a form, and only GTK forms catch the keyboard > > > events > > > from the textbox, not QT forms! > > > > > > Regards, > > > > > > -- > > > Beno?t > > > > I attach the project with the error (pruebagtk.tar.gz). Type anything on > > the textbox, and the error will show (this was a GTK graphic > > application). > > > > The project inside prueba.tar.gz was created as QT graphic application; > > when typing on the textbox, the key code is printed on the debug screen, > > and the event is not catched by the form. > > > > Best regards, > > > > Carlos > > I have exactly the same behaviour I described above... Is your OS 64 bits? > > -- > Beno?t > No, my OS is not 64 bits. I recently updated Gambas from version 2.0.0 (native for Ubuntu Hardy) to 2.15.2-1, from the .tar package downloadable from sourceforge. Could this be a problem? From Karl.Reinl at ...9... Fri Aug 7 19:56:14 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 19:56:14 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> Message-ID: <1249667774.6470.20.camel@...40...> Am Freitag, den 07.08.2009, 12:24 -0500 schrieb M0E Lnx: > How do i bring this over to my gambas2 installation? > Salut, this is a gambas2 project to create a component. So after unpacking : - open the IDE - open the project "gb.settings-bp" - for testing change the Strings in Main.module/PUBLIC SUB Main() and run/debug it. - if it is what you want, make an Executable, verify that " Install in the user component directory" is checked (you find it when you open 'Options') - after you should find "gb.settings-bp" in project/properties/components under 'user components' Charlie From m0e.lnx at ...626... Fri Aug 7 20:20:16 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 13:20:16 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1249667774.6470.20.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> Message-ID: <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> I tried to follow your instructions. When loading the project, te gambas IDE complained about gb.settings missing, so I clicked the OK button. went to Main.Main() sub and changed the path to an existing settings file, and the strings to something else following your format. when I debug it, it terminates immediately, and the debugging shell only print a "0" From m0e.lnx at ...626... Fri Aug 7 20:21:55 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 13:21:55 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> Message-ID: <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> Never mind, I figured it out It looks like what I need From m0e.lnx at ...626... Fri Aug 7 20:26:58 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 13:26:58 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> Message-ID: <1f1e8c1b0908071126t6373e16cjd8318cbed256c6fe@...627...> Before I install it to the user component directory, do I need to clear the string in Main.Main? or does that not matter if I leave the srings in there? Also, when using in my app, do I need both the gb.settings and the gb.settings-bp or just the gb.settings-bp? From Karl.Reinl at ...9... Fri Aug 7 20:47:54 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 20:47:54 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071126t6373e16cjd8318cbed256c6fe@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908032010.50943.gambas@...1...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> <1f1e8c1b0908071126t6373e16cjd8318cbed256c6fe@...627...> Message-ID: <1249670874.6470.34.camel@...40...> Am Freitag, den 07.08.2009, 13:26 -0500 schrieb M0E Lnx: > Before I install it to the user component directory, do I need to > clear the string in Main.Main? > or does that not matter if I leave the srings in there? > Also, when using in my app, do I need both the gb.settings and the > gb.settings-bp or just the gb.settings-bp? > Salut, NO, you haven't to clear Main.Main(). And NO , you can't use both in one project (both are "Settings"). But I think (whats mean I'm not 100 % sure) you need only one of them. As gb.settings-bp is the gb.settings from gambas3 with an enhancement to be enumerable. The most important difference is to Quote/UnQuote , gambas2 use Replace and gambas3 use the gambas build in 'Quote'/'UnQuote' function. Which exists in both gambas2 and gambas3 (for that Im not 100% sure) -- Amicalment Charlie From nick at ...2252... Fri Aug 7 20:52:15 2009 From: nick at ...2252... (Nick Rathke) Date: Fri, 07 Aug 2009 12:52:15 -0600 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908062045.03761.gambas@...1...> References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> Message-ID: <4A7C77DF.9010701@...2252...> Hi Beno?t, Sorry for the delay I hate being GMT-6... ./reconf returned with nothing nick at ...2257...:~/gambas3_svn> ./reconf nick at ...2257...:~/gambas3_svn> ls The config.log is attached. I have gone over it and don't see what the issue might be but that could just due to a lack of coffee.... Thanks for the second set of eyes. It looks like kobolds is build on the same platform as I am...... Thanks for the help and such cool software ! -Nick Beno?t Minisini wrote: >> Nick Rathke wrote: >> >> Sorry about that it looks like copy/paste didn't take from my Suse 11.1 >> VM on a Mac. >> >> Here is the same error block as the Ubuntu system(s) >> >> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share >> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la >> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo >> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo >> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo >> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo >> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo >> gb_la-gbx_class_info.lo -lm -ldl -lpthread >> ../libtool: line 5001: cd: no: No such file or directory >> libtool: link: cannot determine absolute directory name of `no' >> make[4]: *** [gb.la] Error 1 >> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/root/Desktop/gambas3/main' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/root/Desktop/gambas3/main' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/Desktop/gambas3' >> make: *** [all] Error 2 >> >> -Nick >> >> > > Can you send the the output of './reconf' and './configure'? > > -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come -------------- next part -------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = arachne uname -m = x86_64 uname -r = 2.6.27.7-9-default uname -s = Linux uname -v = #1 SMP 2008-12-04 18:10:04 +0100 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/CollabNet_Subversion/bin PATH: /opt/CollabNet_Subversion/bin PATH: /opt/CollabNet_Subversion/bin PATH: /usr/lib64/gcc/x86_64-suse-linux/4.1.2/ PATH: /usr/lib64/mpi/gcc/openmpi/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/X11R6/bin PATH: /usr/games PATH: /opt/kde3/bin PATH: /usr/lib64/jvm/jre/bin PATH: /usr/lib/mit/bin PATH: /usr/lib/mit/sbin PATH: /usr/lib/qt3/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2592: checking whether to enable maintainer-specific portions of Makefiles configure:2601: result: no configure:2631: checking for a BSD-compatible install configure:2699: result: /usr/bin/install -c configure:2710: checking whether build environment is sane configure:2753: result: yes configure:2778: checking for a thread-safe mkdir -p configure:2817: result: /bin/mkdir -p configure:2830: checking for gawk configure:2846: found /usr/bin/gawk configure:2857: result: gawk configure:2868: checking whether make sets $(MAKE) configure:2890: result: yes configure:3097: checking build system type configure:3115: result: x86_64-unknown-linux-gnu configure:3137: checking host system type configure:3152: result: x86_64-unknown-linux-gnu configure:3296: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on arachne config.status:777: creating Makefile config.status:777: creating config.h config.status:999: config.h is unchanged configure:4546: === configuring in main (/home/sci/nick/gambas3_svn/main) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.compress.bzlib2 (/home/sci/nick/gambas3_svn/gb.compress.bzlib2) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.compress.zlib (/home/sci/nick/gambas3_svn/gb.compress.zlib) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.mysql (/home/sci/nick/gambas3_svn/gb.db.mysql) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.odbc (/home/sci/nick/gambas3_svn/gb.db.odbc) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.postgresql (/home/sci/nick/gambas3_svn/gb.db.postgresql) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.sqlite2 (/home/sci/nick/gambas3_svn/gb.db.sqlite2) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.sqlite3 (/home/sci/nick/gambas3_svn/gb.db.sqlite3) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.db.firebird (/home/sci/nick/gambas3_svn/gb.db.firebird) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.gtk (/home/sci/nick/gambas3_svn/gb.gtk) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.gtk.svg (/home/sci/nick/gambas3_svn/gb.gtk.svg) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.pdf (/home/sci/nick/gambas3_svn/gb.pdf) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.net (/home/sci/nick/gambas3_svn/gb.net) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.net.curl (/home/sci/nick/gambas3_svn/gb.net.curl) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.net.smtp (/home/sci/nick/gambas3_svn/gb.net.smtp) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.pcre (/home/sci/nick/gambas3_svn/gb.pcre) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.qt (/home/sci/nick/gambas3_svn/gb.qt) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.qt.kde (/home/sci/nick/gambas3_svn/gb.qt.kde) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.sdl (/home/sci/nick/gambas3_svn/gb.sdl) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.sdl.sound (/home/sci/nick/gambas3_svn/gb.sdl.sound) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.xml (/home/sci/nick/gambas3_svn/gb.xml) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.v4l (/home/sci/nick/gambas3_svn/gb.v4l) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.crypt (/home/sci/nick/gambas3_svn/gb.crypt) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.opengl (/home/sci/nick/gambas3_svn/gb.opengl) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.corba (/home/sci/nick/gambas3_svn/gb.corba) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.desktop (/home/sci/nick/gambas3_svn/gb.desktop) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.qt4 (/home/sci/nick/gambas3_svn/gb.qt4) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.cairo (/home/sci/nick/gambas3_svn/gb.cairo) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in gb.image.io (/home/sci/nick/gambas3_svn/gb.image.io) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in comp (/home/sci/nick/gambas3_svn/comp) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in app (/home/sci/nick/gambas3_svn/app) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in examples (/home/sci/nick/gambas3_svn/examples) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure:4546: === configuring in help (/home/sci/nick/gambas3_svn/help) configure:4649: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-unknown-linux-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/sci/nick/gambas3_svn/missing --run aclocal-1.10' AMTAR='${SHELL} /home/sci/nick/gambas3_svn/missing --run tar' AUTOCONF='${SHELL} /home/sci/nick/gambas3_svn/missing --run autoconf' AUTOHEADER='${SHELL} /home/sci/nick/gambas3_svn/missing --run autoheader' AUTOMAKE='${SHELL} /home/sci/nick/gambas3_svn/missing --run automake-1.10' AWK='gawk' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' GAMBAS_VERSION='3' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/sci/nick/gambas3_svn/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' PACKAGE='gambas3' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='2.99.0' am__isrc='' am__leading_dot='.' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' bzlib2_dir='gb.compress.bzlib2' cairo_dir='gb.cairo' corba_dir='gb.corba' crypt_dir='gb.crypt' curl_dir='gb.net.curl' datadir='${datarootdir}' datarootdir='${prefix}/share' desktop_dir='gb.desktop' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' firebird_dir='gb.db.firebird' gbbindir='${exec_prefix}/bin/gambas3/' gbdatadir='${datarootdir}/gambas3/' gblibdir='${exec_prefix}/lib/gambas3/' gtk_dir='gb.gtk' gtksvg_dir='gb.gtk.svg' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' imageio_dir='gb.image.io' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/sci/nick/gambas3_svn/install-sh' kde_dir='gb.qt.kde' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' mysql_dir='gb.db.mysql' net_dir='gb.net' odbc_dir='gb.db.odbc' oldincludedir='/usr/include' opengl_dir='gb.opengl' pcre_dir='gb.pcre' pdf_dir='gb.pdf' pdfdir='${docdir}' postgresql_dir='gb.db.postgresql' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' qt4_dir='gb.qt4' qt_dir='gb.qt' sbindir='${exec_prefix}/sbin' sdl_dir='gb.sdl' sdlsound_dir='gb.sdl.sound' sharedstatedir='${prefix}/com' smtp_dir='gb.net.smtp' sqlite2_dir='gb.db.sqlite2' sqlite3_dir='gb.db.sqlite3' subdirs=' main gb.compress.bzlib2 gb.compress.zlib gb.db.mysql gb.db.odbc gb.db.postgresql gb.db.sqlite2 gb.db.sqlite3 gb.db.firebird gb.gtk gb.gtk.svg gb.pdf gb.net gb.net.curl gb.net.smtp gb.pcre gb.qt gb.qt.kde gb.sdl gb.sdl.sound gb.xml gb.v4l gb.crypt gb.opengl gb.corba gb.desktop gb.qt4 gb.cairo gb.image.io comp app examples help' sysconfdir='${prefix}/etc' target_alias='' v4l_dir='gb.v4l' xml_dir='gb.xml' zlib_dir='gb.compress.zlib' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "gambas3" #define VERSION "2.99.0" #define GAMBAS_FULL_VERSION 0x02990000 #define GAMBAS_PCODE_VERSION 0x02990005 configure: exit 0 From oceanosoftlapalma at ...626... Fri Aug 7 20:52:32 2009 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Fri, 7 Aug 2009 19:52:32 +0100 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908062045.03761.gambas@...1...> References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> Message-ID: I confirm that Gambas2 from svn doesn't compile without having to downgrade to libtool 1.5 in ubunto 9.04 32 bits out of box. If you make downgrade of libtool compile with no problems. Regards 2009/8/6 Beno?t Minisini > > Nick Rathke wrote: > > > > Sorry about that it looks like copy/paste didn't take from my Suse 11.1 > > VM on a Mac. > > > > Here is the same error block as the Ubuntu system(s) > > > > /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > > -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la > > -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo > > gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo > > gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo > > gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > > gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > > gb_la-gbx_class_info.lo -lm -ldl -lpthread > > ../libtool: line 5001: cd: no: No such file or directory > > libtool: link: cannot determine absolute directory name of `no' > > make[4]: *** [gb.la] Error 1 > > make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/root/Desktop/gambas3/main' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/root/Desktop/gambas3/main' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/Desktop/gambas3' > > make: *** [all] Error 2 > > > > -Nick > > > > Can you send the the output of './reconf' and './configure'? > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nick at ...2252... Fri Aug 7 20:59:12 2009 From: nick at ...2252... (Nick Rathke) Date: Fri, 07 Aug 2009 12:59:12 -0600 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> Message-ID: <4A7C7980.3000509@...2252...> Hi Ricardo could you send the output of libtool ---version so I could match your version of 1.5 ? That would be a big help . -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come Ricardo D?az Mart?n wrote: > I confirm that Gambas2 from svn doesn't compile without having to downgrade > to libtool 1.5 in ubunto 9.04 32 bits out of box. > > If you make downgrade of libtool compile with no problems. > > Regards > > 2009/8/6 Beno?t Minisini > > >>> Nick Rathke wrote: >>> >>> Sorry about that it looks like copy/paste didn't take from my Suse 11.1 >>> VM on a Mac. >>> >>> Here is the same error block as the Ubuntu system(s) >>> >>> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share >>> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la >>> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo >>> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo >>> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo >>> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo >>> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo >>> gb_la-gbx_class_info.lo -lm -ldl -lpthread >>> ../libtool: line 5001: cd: no: No such file or directory >>> libtool: link: cannot determine absolute directory name of `no' >>> make[4]: *** [gb.la] Error 1 >>> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/root/Desktop/gambas3/main' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory `/root/Desktop/gambas3/main' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/Desktop/gambas3' >>> make: *** [all] Error 2 >>> >>> -Nick >>> >>> >> Can you send the the output of './reconf' and './configure'? >> >> -- >> Beno?t >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From m0e.lnx at ...626... Fri Aug 7 21:22:26 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 14:22:26 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1249670874.6470.34.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> <1f1e8c1b0908071126t6373e16cjd8318cbed256c6fe@...627...> <1249670874.6470.34.camel@...40...> Message-ID: <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> I wonder if this can make it into the main gambas2 build on some future version. Would be great From Karl.Reinl at ...9... Fri Aug 7 21:36:17 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 21:36:17 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <1249654127.6995.8.camel@...40...> <1f1e8c1b0908070734k13ae6445ga7bd9267a7c30635@...627...> <1249665070.6470.4.camel@...40...> <1f1e8c1b0908071024v400a1272l1d059a5f518f6a7f@...627...> <1249667774.6470.20.camel@...40...> <1f1e8c1b0908071120t6cff96e2hc905e82c0121dd07@...627...> <1f1e8c1b0908071121n381a6b00x330a33fea2a71a15@...627...> <1f1e8c1b0908071126t6373e16cjd8318cbed256c6fe@...627...> <1249670874.6470.34.camel@...40...> <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> Message-ID: <1249673777.6470.42.camel@...40...> Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > I wonder if this can make it into the main gambas2 build on some > future version. Would be great > Salut, it works in THAT case, because no new OBJECTS which do not exist in gambas2 are used. Like Cars, they exists now since more then 100 years, and if you but gas in the right hole, turn the key, the engine run! NO MAGIC Charlie From gambas at ...1... Fri Aug 7 21:50:44 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 21:50:44 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1249673777.6470.42.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> <1249673777.6470.42.camel@...40...> Message-ID: <200908072150.44567.gambas@...1...> > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > I wonder if this can make it into the main gambas2 build on some > > future version. Would be great > > Salut, > > it works in THAT case, because no new OBJECTS which do not exist in > gambas2 are used. > > Like Cars, they exists now since more then 100 years, and if you but > gas in the right hole, turn the key, the engine run! NO MAGIC > > Charlie > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I'm afraid not, because no new interface can be introduced in Gambas 2. In another way, you don't need a component. You can just paste the new Settings class directly inside your project and export it. Regards, -- Beno?t From m0e.lnx at ...626... Fri Aug 7 21:54:45 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 14:54:45 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <200908072150.44567.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> <1249673777.6470.42.camel@...40...> <200908072150.44567.gambas@...1...> Message-ID: <1f1e8c1b0908071254o5a1be549ge53613572e42a752@...627...> So if I grab the Settings class from this project and import it into my project, then I dont need to use the native gb.settings class Will that suffice? what do I do with the Main module and the _Settings class? From nick at ...2252... Fri Aug 7 21:45:50 2009 From: nick at ...2252... (Nick Rathke) Date: Fri, 07 Aug 2009 13:45:50 -0600 Subject: [Gambas-user] Gambas in Science ? Message-ID: <4A7C846E.4050803@...2252...> Hi Gambas users, I was wondering if any one is using Gambas for Science related work ? Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS or Lapack ? I am not sure how doable any of these are, but I might try to put some of these together for my own use.... -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Com From gambas at ...1... Fri Aug 7 22:02:10 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 22:02:10 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071254o5a1be549ge53613572e42a752@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072150.44567.gambas@...1...> <1f1e8c1b0908071254o5a1be549ge53613572e42a752@...627...> Message-ID: <200908072202.10201.gambas@...1...> > So if I grab the Settings class from this project and import it into > my project, then I dont need to use the native gb.settings class > > Will that suffice? > what do I do with the Main module and the _Settings class? > Which _Settings class? You have two classes: Settings, and _SettingsKey. You just have to copy the two class files in your project, and that's all. If you export a class from your project, it is exactly as if this class was in a component : the new Settings class will automatically replace the old Settings class from the gb.settings component at startup. You don't even need the gb.settings component then. But you have to export the new Settings class because other classes inside components may need it. Tell me if it works! Regards, -- Beno?t From m0e.lnx at ...626... Fri Aug 7 22:13:35 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 15:13:35 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <200908072202.10201.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072150.44567.gambas@...1...> <1f1e8c1b0908071254o5a1be549ge53613572e42a752@...627...> <200908072202.10201.gambas@...1...> Message-ID: <1f1e8c1b0908071313y3603969cwc23babc5c4302444@...627...> It works if I import it's Main.module also so this is what I did 1) Disable the gb.settings from project -> components 2) import Settings.class and _SettingsKeys from gb.settings-bp 3) import Main.module from gb.settings-bp My app works now as it should From Karl.Reinl at ...9... Fri Aug 7 22:14:06 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 22:14:06 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <200908072150.44567.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <1f1e8c1b0908071222n4c6e55aaj921a0b66d7d3e763@...627...> <1249673777.6470.42.camel@...40...> <200908072150.44567.gambas@...1...> Message-ID: <1249676046.6470.50.camel@...40...> Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Beno?t Minisini: > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > I wonder if this can make it into the main gambas2 build on some > > > future version. Would be great > > > > Salut, > > > > it works in THAT case, because no new OBJECTS which do not exist in > > gambas2 are used. > > > > Like Cars, they exists now since more then 100 years, and if you but > > gas in the right hole, turn the key, the engine run! NO MAGIC > > > > Charlie > > > > > > --------------------------------------------------------------------------- > >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - and > > focus on what you do best, core application coding. Discover what's new > > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I'm afraid not, because no new interface can be introduced in Gambas 2. > This is not a new interface, this is a user-interface, or call it third party-interface, which replaces the origin gambas interface. Charlie From gambas at ...1... Fri Aug 7 22:24:26 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 22:24:26 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1249676046.6470.50.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072150.44567.gambas@...1...> <1249676046.6470.50.camel@...40...> Message-ID: <200908072224.26969.gambas@...1...> > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Beno?t Minisini: > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > I wonder if this can make it into the main gambas2 build on some > > > > future version. Would be great > > > > > > Salut, > > > > > > it works in THAT case, because no new OBJECTS which do not exist in > > > gambas2 are used. > > > > > > Like Cars, they exists now since more then 100 years, and if you but > > > gas in the right hole, turn the key, the engine run! NO MAGIC > > > > > > Charlie > > > > > > > > > ----------------------------------------------------------------------- > > >---- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > > 2008 30-Day trial. Simplify your report design, integration and > > > deployment - and focus on what you do best, core application coding. > > > Discover what's new with Crystal Reports now. > > > http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > I'm afraid not, because no new interface can be introduced in Gambas 2. > > This is not a new interface, this is a user-interface, or call it third > party-interface, which replaces the origin gambas interface. > > Charlie > As soon as you introduce the Settings.Key property, you change the interface of the class, so this is a new interface. -- Beno?t From m0e.lnx at ...626... Fri Aug 7 22:42:59 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 15:42:59 -0500 Subject: [Gambas-user] Gambas sticker graphic? Message-ID: <1f1e8c1b0908071342s661329cbt4763e126585f6ab@...627...> I think I recall somebody posting a gambas sticker here a while back. I seem to have lost that email. Can someone shoot it out this way if they have it please? Thanks From dr.diesel at ...626... Fri Aug 7 22:55:27 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Fri, 7 Aug 2009 16:55:27 -0400 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7C77DF.9010701@...2252...> References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> <4A7C77DF.9010701@...2252...> Message-ID: <2a28d2ab0908071355h6f3e103byeb7f8f0fcc275686@...627...> On Fri, Aug 7, 2009 at 2:52 PM, Nick Rathke wrote > > >>> >>> Here is the same error block as the Ubuntu system(s) >>> >>> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share >>> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la >>> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo >>> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo >>> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo >>> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo >>> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo >>> gb_la-gbx_class_info.lo -lm -ldl -lpthread >>> ../libtool: line 5001: cd: no: No such file or directory >>> libtool: link: cannot determine absolute directory name of `no' >>> make[4]: *** [gb.la] Error 1 >>> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/root/Desktop/gambas3/main' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory `/root/Desktop/gambas3/main' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/root/Desktop/gambas3' >>> make: *** [all] Error 2 >>> >>> -Nick >>> >> >> Here is the make error from Ubuntu 9.10, looks to be libtool related also: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c gbx_class_info.c -DPIC -o .libs/gb_la-gbx_class_info.o mv -f .deps/gb_la-gbx_class_info.Tpo .deps/gb_la-gbx_class_info.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread -lffi libtool: link: gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread -lffi -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/home/andy/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 andy at ...2258...:~/trunk$ More info available if needed. Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From gambas at ...1... Fri Aug 7 23:02:16 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 23:02:16 +0200 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7C77DF.9010701@...2252...> References: <200908042243.09895.gambas@...1...> <200908062045.03761.gambas@...1...> <4A7C77DF.9010701@...2252...> Message-ID: <200908072302.16910.gambas@...1...> > Hi Beno?t, > > Sorry for the delay I hate being GMT-6... > > ./reconf returned with nothing > > nick at ...2257...:~/gambas3_svn> ./reconf > nick at ...2257...:~/gambas3_svn> ls > > > The config.log is attached. I have gone over it and don't see what the > issue might be but that could just due to a lack of coffee.... > > Thanks for the second set of eyes. It looks like kobolds is build on the > same platform as I am...... > > > Thanks for the help and such cool software ! > > -Nick > > Beno?t Minisini wrote: > >> Nick Rathke wrote: > >> > >> Sorry about that it looks like copy/paste didn't take from my Suse 11.1 > >> VM on a Mac. > >> > >> Here is the same error block as the Ubuntu system(s) > >> > >> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > >> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la > >> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo > >> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo > >> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo > >> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > >> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > >> gb_la-gbx_class_info.lo -lm -ldl -lpthread > >> ../libtool: line 5001: cd: no: No such file or directory > >> libtool: link: cannot determine absolute directory name of `no' > >> make[4]: *** [gb.la] Error 1 > >> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' > >> make[3]: *** [all-recursive] Error 1 > >> make[3]: Leaving directory `/root/Desktop/gambas3/main' > >> make[2]: *** [all] Error 2 > >> make[2]: Leaving directory `/root/Desktop/gambas3/main' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/root/Desktop/gambas3' > >> make: *** [all] Error 2 > >> > >> -Nick > > > > Can you send the the output of './reconf' and './configure'? I asked for the output of './reconf' and './configure'. Without that I can't do anything... -- Beno?t From Karl.Reinl at ...9... Fri Aug 7 23:03:31 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 07 Aug 2009 23:03:31 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <200908072224.26969.gambas@...1...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072150.44567.gambas@...1...> <1249676046.6470.50.camel@...40...> <200908072224.26969.gambas@...1...> Message-ID: <1249679011.6470.55.camel@...40...> Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Beno?t Minisini: > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Beno?t Minisini: > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > future version. Would be great > > > > > > > > Salut, > > > > > > > > it works in THAT case, because no new OBJECTS which do not exist in > > > > gambas2 are used. > > > > > > > > Like Cars, they exists now since more then 100 years, and if you but > > > > gas in the right hole, turn the key, the engine run! NO MAGIC > > > > > > > > Charlie > > > > > > > > > > > > ----------------------------------------------------------------------- > > > >---- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > > > 2008 30-Day trial. Simplify your report design, integration and > > > > deployment - and focus on what you do best, core application coding. > > > > Discover what's new with Crystal Reports now. > > > > http://p.sf.net/sfu/bobj-july > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > I'm afraid not, because no new interface can be introduced in Gambas 2. > > > > This is not a new interface, this is a user-interface, or call it third > > party-interface, which replaces the origin gambas interface. > > > > Charlie > > > > As soon as you introduce the Settings.Key property, you change the interface > of the class, so this is a new interface. > Is this theoretical or legal concerns? Because the same classname is used ? I can also expand classes/components by INHERITS...NO? Charlie From gambas at ...1... Fri Aug 7 23:10:03 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 23:10:03 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1249679011.6470.55.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072224.26969.gambas@...1...> <1249679011.6470.55.camel@...40...> Message-ID: <200908072310.03545.gambas@...1...> > Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Beno?t Minisini: > > > Am Freitag, den 07.08.2009, 21:50 +0200 schrieb Beno?t Minisini: > > > > > Am Freitag, den 07.08.2009, 14:22 -0500 schrieb M0E Lnx: > > > > > > I wonder if this can make it into the main gambas2 build on some > > > > > > future version. Would be great > > > > > > > > > > Salut, > > > > > > > > > > it works in THAT case, because no new OBJECTS which do not exist in > > > > > gambas2 are used. > > > > > > > > > > Like Cars, they exists now since more then 100 years, and if you > > > > > but gas in the right hole, turn the key, the engine run! NO MAGIC > > > > > > > > > > Charlie > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > >---- ---- --- Let Crystal Reports handle the reporting - Free > > > > > Crystal Reports 2008 30-Day trial. Simplify your report design, > > > > > integration and deployment - and focus on what you do best, core > > > > > application coding. Discover what's new with Crystal Reports now. > > > > > http://p.sf.net/sfu/bobj-july > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > I'm afraid not, because no new interface can be introduced in Gambas > > > > 2. > > > > > > This is not a new interface, this is a user-interface, or call it third > > > party-interface, which replaces the origin gambas interface. > > > > > > Charlie > > > > As soon as you introduce the Settings.Key property, you change the > > interface of the class, so this is a new interface. > > Is this theoretical or legal concerns? > Because the same classname is used ? > > I can also expand classes/components by INHERITS...NO? > > Charlie > With your own project, you can do what you want. But the rule with Gambas is that a stable version has only bug fixes, no new features. Actually you can have new features in the development environment, but no new classes, methods or properties in any component. Regards, -- Beno?t From m0e.lnx at ...626... Fri Aug 7 23:38:42 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 16:38:42 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071437w14c22485gb48f55456316aa42@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072224.26969.gambas@...1...> <1249679011.6470.55.camel@...40...> <200908072310.03545.gambas@...1...> <1f1e8c1b0908071437w14c22485gb48f55456316aa42@...627...> Message-ID: <1f1e8c1b0908071438ne1bc5b6xf8287e91590e8c0@...627...> Speaking of legal stuff. My project is released under the gpl v3. Can the guy who wrote this add licensing so I can use it please? On Aug 7, 2009 4:11 PM, "Beno?t Minisini" wrote: > Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Beno?t Minisini: > > > Am Freitag, den 07.08.2009,... With your own project, you can do what you want. But the rule with Gambas is that a stable version has only bug fixes, no new features. Actually you can have new features in the development environment, but no new classes, methods or properties in any component. Regards, -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your re... From dr.diesel at ...626... Fri Aug 7 23:31:18 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Fri, 7 Aug 2009 17:31:18 -0400 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908072302.16910.gambas@...1...> References: <200908042243.09895.gambas@...1...> <200908062045.03761.gambas@...1...> <4A7C77DF.9010701@...2252...> <200908072302.16910.gambas@...1...> Message-ID: <2a28d2ab0908071431q181b49b5meeafe0e4a4579fa2@...627...> Here you go! 2009/8/7 Beno?t Minisini > > > I asked for the output of './reconf' and './configure'. Without that I > can't > do anything... > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -------------- next part -------------- A non-text attachment was scrubbed... Name: log.log.tar.gz Type: application/x-gzip Size: 5494 bytes Desc: not available URL: From gambas at ...1... Fri Aug 7 23:47:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Aug 2009 23:47:50 +0200 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <2a28d2ab0908071431q181b49b5meeafe0e4a4579fa2@...627...> References: <200908042243.09895.gambas@...1...> <200908072302.16910.gambas@...1...> <2a28d2ab0908071431q181b49b5meeafe0e4a4579fa2@...627...> Message-ID: <200908072347.50967.gambas@...1...> > Here you go! > > 2009/8/7 Beno?t Minisini > These lines are strange: ... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported ... Did you correctly install gcc? -- Beno?t From dr.diesel at ...626... Fri Aug 7 23:55:26 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Fri, 7 Aug 2009 17:55:26 -0400 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908072347.50967.gambas@...1...> References: <200908042243.09895.gambas@...1...> <200908072302.16910.gambas@...1...> <2a28d2ab0908071431q181b49b5meeafe0e4a4579fa2@...627...> <200908072347.50967.gambas@...1...> Message-ID: <2a28d2ab0908071455n6160486bs7f68522f73d9163@...627...> 2009/8/7 Beno?t Minisini > > Here you go! > > > > 2009/8/7 Beno?t Minisini > > > > These lines are strange: > > ... > checking whether we are using the GNU C compiler... no > checking whether gcc accepts -g... no > checking for gcc option to accept ISO C89... unsupported > ... > > Did you correctly install gcc? > > -- > Beno?t > Mmmm, it was installed via standard Ubuntu package manager at install, however 9.10 is only to the alpha 3 stage. I have compiled other stuff ok? -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From gambas at ...1... Sat Aug 8 00:04:01 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 8 Aug 2009 00:04:01 +0200 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <2a28d2ab0908071455n6160486bs7f68522f73d9163@...627...> References: <200908042243.09895.gambas@...1...> <200908072347.50967.gambas@...1...> <2a28d2ab0908071455n6160486bs7f68522f73d9163@...627...> Message-ID: <200908080004.01339.gambas@...1...> > 2009/8/7 Beno?t Minisini > > > > Here you go! > > > > > > 2009/8/7 Beno?t Minisini > > > > These lines are strange: > > > > ... > > checking whether we are using the GNU C compiler... no > > checking whether gcc accepts -g... no > > checking for gcc option to accept ISO C89... unsupported > > ... > > > > Did you correctly install gcc? > > > > -- > > Beno?t > > Mmmm, it was installed via standard Ubuntu package manager at install, > however 9.10 is only to the alpha 3 stage. > > I have compiled other stuff ok? Then there is something broken on your system, or a big uncompatible change in gcc: the configure script found the gnu C++ compiler normally, but not the gnu C compiler. I can't say more at the moment... -- Beno?t From prog at ...2177... Sat Aug 8 00:15:50 2009 From: prog at ...2177... (craf) Date: Fri, 07 Aug 2009 18:15:50 -0400 Subject: [Gambas-user] Gambas sticker graphic? In-Reply-To: <1f1e8c1b0908071342s661329cbt4763e126585f6ab@...627...> References: <1f1e8c1b0908071342s661329cbt4763e126585f6ab@...627...> Message-ID: <1249683350.3646.8.camel@...651...> -----Mensaje original----- De: M0E Lnx Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: [Gambas-user] Gambas sticker graphic? Fecha: Fri, 7 Aug 2009 15:42:59 -0500 I think I recall somebody posting a gambas sticker here a while back. I seem to have lost that email. Can someone shoot it out this way if they have it please? Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Hello. I do not know if I will be designing, but also forms you send. It is made in Inkscape and SVG send you so that you can modify to taste. Regards. -------------- next part -------------- A non-text attachment was scrubbed... Name: logotipo2.svg Type: image/svg+xml Size: 44213 bytes Desc: not available URL: From m0e.lnx at ...626... Sat Aug 8 03:00:51 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 7 Aug 2009 20:00:51 -0500 Subject: [Gambas-user] Gambas sticker graphic? In-Reply-To: <1249683350.3646.8.camel@...651...> References: <1f1e8c1b0908071342s661329cbt4763e126585f6ab@...627...> <1249683350.3646.8.camel@...651...> Message-ID: <1f1e8c1b0908071800k63bf0605w80703786c8533c5e@...627...> Thanks guys. That works. From sktan007 at ...43... Sat Aug 8 04:33:14 2009 From: sktan007 at ...43... (Swee Kwang Tan) Date: Fri, 7 Aug 2009 19:33:14 -0700 (PDT) Subject: [Gambas-user] Why I meet "illegal instruction" ? In-Reply-To: Message-ID: <746538.3155.qm@...2261...> My Dear, I'm a fortune teller, writing a predict fortune program. dim gan as TienGan???? 'TienGan is a Class dim dx as ShiXing ? ? ? 'ShiXing is a Class dim fd as FlowData ? ? 'FlowData is a Class, it have defined many constant. gan = new TienGan(3, fd) dx = new ShiXing(gan.GetValue(), fd) why " dx = new ..." this line wrong ? gambas said "illegal instruction" . Thank you --- 09/7/28 (?)?gambas-user-request at lists.sourceforge.net ??? ???: gambas-user-request at lists.sourceforge.net ??: Gambas-user Digest, Vol 38, Issue 50 ???: gambas-user at lists.sourceforge.net ??: 2009?7?28?,?,??11:40 Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: Background color for Textbox (richard terry) ???2. Procedure new() (craf) ???3. Re: Background color for Textbox (craf) ???4. Re: Background color for Textbox (Beno?t Minisini) ???5. DrawingArea (nic) ???6. Re: Background color for Textbox (Beno?t Minisini) ???7. Re: DrawingArea (Beno?t Minisini) ???8. Re: Background color for Textbox (craf) ???9. Re: DrawingArea (nic) ? 10. Re: Background color for Textbox (Beno?t Minisini) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Jul 2009 07:29:25 +1000 From: richard terry Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290729.25740.rterry at ...1946...> Content-Type: text/plain;? charset="utf-8" On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------ Message: 2 Date: Tue, 28 Jul 2009 17:32:42 -0400 From: craf Subject: [Gambas-user] Procedure new() To: Lista Gambas Ingles Message-ID: <1248816762.3590.24.camel at ...651...> Content-Type: text/plain Hi. What are the roles in the general procedure new ()? What difference has the procedure Form_Open () Regards ------------------------------ Message: 3 Date: Tue, 28 Jul 2009 17:45:46 -0400 From: craf Subject: Re: [Gambas-user] Background color for Textbox To: richard terry ,??? mailing list for gambas ??? users Message-ID: <1248817546.3590.25.camel at ...651...> Content-Type: text/plain Ok. Thanks. -----Mensaje original----- De: richard terry Reply-to: richard terry , mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 07:29:25 +1000 On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------ Message: 4 Date: Tue, 28 Jul 2009 23:50:18 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907282350.18516.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards This is a bug I am currently investigate... -- Beno?t ------------------------------ Message: 5 Date: Tue, 28 Jul 2009 14:54:34 -0700 From: nic Subject: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 How do I draw a circle (any size, I will modify it) in a drawing area? ------------------------------ Message: 6 Date: Wed, 29 Jul 2009 00:03:46 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290003.46513.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, -- Beno?t ------------------------------ Message: 7 Date: Wed, 29 Jul 2009 00:05:59 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: <200907290005.59306.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > How do I draw a circle (any size, I will modify it) in a drawing area? in the DrawingArea Draw event handler: Draw.Circle(XCenter, YCenter, Radius) Regards, -- Beno?t ------------------------------ Message: 8 Date: Tue, 28 Jul 2009 18:20:11 -0400 From: craf Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <1248819611.3590.26.camel at ...651...> Content-Type: text/plain; charset="UTF-8" Ok. Thanks very much, Benoit Regards -----Mensaje original----- De: Beno?t Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 00:03:46 +0200 > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, ------------------------------ Message: 9 Date: Tue, 28 Jul 2009 15:27:58 -0700 From: nic Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 Is there a way I could define a symbol (I don't know how to do that) for the X,Y, and radius? That way my code could actively modify the circle while the programming is running. Thanks again! 2009/7/28 Beno?t Minisini > > How do I draw a circle (any size, I will modify it) in a drawing area? > > in the DrawingArea Draw event handler: > > Draw.Circle(XCenter, YCenter, Radius) > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 10 Date: Wed, 29 Jul 2009 01:39:39 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290139.39425.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > > Hello. > > > > > > When selecting a background color for a textbox only allows me to > > > select any of them. For example to select the color blue shown by the > > > arrow, shows me a completely different color. Are there certain colors > > > in Gambas?. Is this normal?. > > > > > > > > > Select a color for the background 0080ff text box > > > > > > > > > But this shows me another pink > > > > > > > > > Regards > > > > This is a bug I am currently investigate... > > OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas > 3 that I forgot to backport in Gambas 2. > > I will make a 2.15.2 as soon as possible. > > Regards, The 2.15.2 package has been uploaded to sourceforge, but apparently it is not available immediately for downloading. We can just wait and pray... -- Beno?t ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 38, Issue 50 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com From kobolds at ...2041... Sat Aug 8 12:28:01 2009 From: kobolds at ...2041... (kobolds) Date: Sat, 8 Aug 2009 03:28:01 -0700 (PDT) Subject: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 In-Reply-To: <24868373.post@...1379...> References: <24868373.post@...1379...> Message-ID: <24876908.post@...1379...> kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > warning to solve . please help me > http://www.nabble.com/file/p24868373/log.txt log.txt > > - gb.corba > libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so > > - gb.db.firebird > install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > > - gb.db.mysql > install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > but missing mysql-devel . > > - gb.qte > ?? no idea what missing ?? > > > > > > I try compile gambas3, this time I get different problem - gb.corba - gb.db.firebird - gb.db.mysql - gb.sdl i don't know how to solve this problem. can anyone help me please? -- View this message in context: http://www.nabble.com/compiling-gambas2-on-opensuse-11.1-x64-tp24868373p24876908.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 8 13:10:08 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 8 Aug 2009 13:10:08 +0200 Subject: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 In-Reply-To: <24876908.post@...1379...> References: <24868373.post@...1379...> <24876908.post@...1379...> Message-ID: <200908081310.08514.gambas@...1...> > kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > > warning to solve . please help me > > http://www.nabble.com/file/p24868373/log.txt log.txt > > > > - gb.corba > > libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so > > > > - gb.db.firebird > > install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1 > >/) > > > > - gb.db.mysql > > install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1 > >/) but missing mysql-devel . > > > > - gb.qte > > ?? no idea what missing ?? > > I try compile gambas3, this time I get different problem > - gb.corba > - gb.db.firebird > - gb.db.mysql > - gb.sdl > > > i don't know how to solve this problem. can anyone help me please? Not compiling gb.qte is not a problem, forget it. But for the others, you just have to install the development packages needed by the components. I don't know how they name them on OpenSuse, but did you read the documentation about OpenSuse installation on the wiki? -- Beno?t From gambas at ...1... Sat Aug 8 13:16:35 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 8 Aug 2009 13:16:35 +0200 Subject: [Gambas-user] Why I meet "illegal instruction" ? In-Reply-To: <746538.3155.qm@...2261...> References: <746538.3155.qm@...2261...> Message-ID: <200908081316.36000.gambas@...1...> > My Dear, > I'm a fortune teller, writing a predict fortune program. > > dim gan as TienGan 'TienGan is a Class > dim dx as ShiXing 'ShiXing is a Class > dim fd as FlowData 'FlowData is a Class, it have defined many constant. > > gan = new TienGan(3, fd) > dx = new ShiXing(gan.GetValue(), fd) > why " dx = new ..." this line wrong ? gambas said "illegal instruction" . > Thank you > > This is usually a bug in Gambas, but I need your full project and a way to reproduce the "Illegal instruction" error. Otherwise I can't fix it! Regards, -- Beno?t From cplopez at ...626... Sat Aug 8 17:37:31 2009 From: cplopez at ...626... (=?ISO-8859-1?Q?Carlos_Prieto_L=F3pez?=) Date: Sat, 8 Aug 2009 10:37:31 -0500 Subject: [Gambas-user] Gambas in Science ? In-Reply-To: <4A7C846E.4050803@...2252...> References: <4A7C846E.4050803@...2252...> Message-ID: I recently used Gambas for a simple ray-tracing application to simulate the effects of dissipation on light refraction. I am currently working on a program to store, manipulate and present laboratory data. I'm not familiar to the modules you talk about. Regards, Carlos 2009/8/7 Nick Rathke > Hi Gambas users, > > I was wondering if any one is using Gambas for Science related work ? > > Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS > or Lapack ? > > I am not sure how doable any of these are, but I might try to put some > of these together for my own use.... > > -- > Nick Rathke > Scientific Computing and Imaging Institute > Sr. Systems Administrator > nick at ...2252... > www.sci.utah.edu > 801-587-9933 > 801-557-3832 > > "I came I saw I made it possible" Royal Bliss - Here They Com > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Sat Aug 8 17:55:27 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 08 Aug 2009 17:55:27 +0200 Subject: [Gambas-user] Gambas in Science ? In-Reply-To: <4A7C846E.4050803@...2252...> References: <4A7C846E.4050803@...2252...> Message-ID: <4A7D9FEF.8080201@...626...> Nick Rathke a ?crit : > Hi Gambas users, > > I was wondering if any one is using Gambas for Science related work ? No, I tried to rule the world through Gambas, but it didn't worked (yet:) > Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS > or Lapack ? May be it is not the right way to consider it, AFAIK these have also command line possibilities, so may be writing a nice GUI with Gambas and call/retrieve with it is the solution - Yours involve inclusion of alien programming that will call for too much dependencies (and compilation/optimization problems) and trying to see things by Beno?t's eyes: its hard enough to maintain AND develop one whole language to loose time with alien inclusions/evolutions. JY -- Les choses ne sont pas toujours ce que l'on voudrait qu'elles soient qu'elles fussent -- P. Dac From Karl.Reinl at ...9... Sat Aug 8 18:00:21 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 08 Aug 2009 18:00:21 +0200 Subject: [Gambas-user] Reading settings In-Reply-To: <1f1e8c1b0908071438ne1bc5b6xf8287e91590e8c0@...627...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072224.26969.gambas@...1...> <1249679011.6470.55.camel@...40...> <200908072310.03545.gambas@...1...> <1f1e8c1b0908071437w14c22485gb48f55456316aa42@...627...> <1f1e8c1b0908071438ne1bc5b6xf8287e91590e8c0@...627...> Message-ID: <1249747221.6504.22.camel@...40...> Am Freitag, den 07.08.2009, 16:38 -0500 schrieb M0E Lnx: > Speaking of legal stuff. > > My project is released under the gpl v3. > Can the guy who wrote this add licensing so I can use it please? > Salut, the problem is, I can't add a license. 1. I did nothing on that code, only compiling gb.settings from gambas3 with gambas2. 2. as you can read above, that is gambas3 code , you can find in gambas3 package. In .project file (I also took the one from gb.settings of gambas3) is written License=General Public Licence 3. all what I did, I named that child "gb.settings-bp", because without the new name it didn't appear in 'components'. So I think the fact, that I posted "my changes" which I made on open source software, back to the community, is the prove that it still is open source. If you still have problems, with that, throw away my package, and make what Beno?t said. Pull out the 3 files from the gambas3 2.99.0 Revision: 2218 package and use them. OK -- Amicalment Charlie From m0e.lnx at ...626... Sat Aug 8 21:01:13 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Sat, 8 Aug 2009 14:01:13 -0500 Subject: [Gambas-user] Reading settings In-Reply-To: <1249747221.6504.22.camel@...40...> References: <1f1e8c1b0908031031k2b25ed1ckddfe842d5a254313@...627...> <200908072224.26969.gambas@...1...> <1249679011.6470.55.camel@...40...> <200908072310.03545.gambas@...1...> <1f1e8c1b0908071437w14c22485gb48f55456316aa42@...627...> <1f1e8c1b0908071438ne1bc5b6xf8287e91590e8c0@...627...> <1249747221.6504.22.camel@...40...> Message-ID: <1f1e8c1b0908081201j36a5cd49uc92b2998bec58839@...627...> Ok. Gambas is open source after all, so if it's all gambas code, and you posted the thing here I got no problem with it. Thanks From kobolds at ...2041... Sun Aug 9 00:18:32 2009 From: kobolds at ...2041... (kobolds) Date: Sat, 8 Aug 2009 15:18:32 -0700 (PDT) Subject: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 In-Reply-To: <200908081310.08514.gambas@...1...> References: <24868373.post@...1379...> <24876908.post@...1379...> <200908081310.08514.gambas@...1...> Message-ID: <24882620.post@...1379...> Beno?t Minisini wrote: > >> kobolds wrote: >> > I try many times try to compile gambas2 from source . I left with 4 >> > warning to solve . please help me >> > http://www.nabble.com/file/p24868373/log.txt log.txt >> > >> > - gb.corba >> > libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so >> > >> > - gb.db.firebird >> > install from opensuse database respository >> > >> (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1 >> >/) >> > >> > - gb.db.mysql >> > install from opensuse database respository >> > >> (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1 >> >/) but missing mysql-devel . >> > >> > - gb.qte >> > ?? no idea what missing ?? >> >> I try compile gambas3, this time I get different problem >> - gb.corba >> - gb.db.firebird >> - gb.db.mysql >> - gb.sdl >> >> >> i don't know how to solve this problem. can anyone help me please? > > Not compiling gb.qte is not a problem, forget it. But for the others, you > just > have to install the development packages needed by the components. I don't > know how they name them on OpenSuse, but did you read the documentation > about > OpenSuse installation on the wiki? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > yes I had read the wiki . I having some trouble because of 64bit and kde 4.3 I manage to solved the firebird and mysql problem. now left corba and qte . no info about these two on wiki . I ignore these two problem and install . things work fine but the help browser not show up -- View this message in context: http://www.nabble.com/compiling-gambas2-on-opensuse-11.1-x64-tp24868373p24882620.html Sent from the gambas-user mailing list archive at Nabble.com. From ulusoyab at ...43... Sun Aug 9 00:45:33 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sat, 8 Aug 2009 15:45:33 -0700 (PDT) Subject: [Gambas-user] glut Message-ID: <65369.27552.qm@...2262...> hi i think there arent glut library in gambas. do you think import it. ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From sktan007 at ...43... Sun Aug 9 08:19:44 2009 From: sktan007 at ...43... (Swee Kwang Tan) Date: Sat, 8 Aug 2009 23:19:44 -0700 (PDT) Subject: [Gambas-user] =?utf-8?q?RE=EF=BC=9A_Gambas-user_Digest=2C_Vol_39?= =?utf-8?q?=2C_Issue_22?= In-Reply-To: Message-ID: <174592.64808.qm@...2263...> Following code is my program, its has the "ilegal instruction" bug. In the main class PUBLIC SUB Main() ????????? DIM fd AS FlowData ????????? DIM at AS ShiXing ????????? at = NEW ShiXing(fd) ??? END In the FlowData class PUBLIC CONST ZhengYin AS Integer = 0 PUBLIC CONST BiJian AS Integer = 1 PUBLIC CONST JieCai AS Integer = 2 PUBLIC CONST ShiShen AS Integer = 3 PUBLIC CONST ShangGuan AS Integer = 4 PUBLIC CONST PianCai AS Integer = 5 PUBLIC CONST ZhengCai AS Integer = 6 PUBLIC CONST QiSha AS Integer = 7 PUBLIC CONST ZhengGuan AS Integer = 8 PUBLIC CONST PianYin AS Integer = 9 In the ShiXing Class ' Gambas class file PRIVATE fd AS FlowData STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] STATIC tk6 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] STATIC tk7 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] STATIC tk8 AS integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk9 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] PUBLIC SUB _new(fd1 AS FlowData) ??????? fd = fd1 ? ? END And I don't need to write it? like this, I' ve a perfect solution to write. Thank You --- 09/8/8 (?)?gambas-user-request at lists.sourceforge.net ??? ???: gambas-user-request at lists.sourceforge.net ??: Gambas-user Digest, Vol 39, Issue 22 ???: gambas-user at lists.sourceforge.net ??: 2009?8?8?,?,??3:37 Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: Gambas sticker graphic? (M0E Lnx) ???2. Why I meet "illegal instruction" ? (Swee Kwang Tan) ???3. Re: compiling gambas2 on opensuse 11.1 x64 (kobolds) ???4. Re: compiling gambas2 on opensuse 11.1 x64 (Beno?t Minisini) ???5. Re: Why I meet "illegal instruction" ? (Beno?t Minisini) ???6. Re: Gambas in Science ? (Carlos Prieto L?pez) ---------------------------------------------------------------------- Message: 1 Date: Fri, 7 Aug 2009 20:00:51 -0500 From: M0E Lnx Subject: Re: [Gambas-user] Gambas sticker graphic? To: mailing list for gambas users Message-ID: ??? <1f1e8c1b0908071800k63bf0605w80703786c8533c5e at ...2259...> Content-Type: text/plain; charset=ISO-8859-1 Thanks guys. That works. ------------------------------ Message: 2 Date: Fri, 7 Aug 2009 19:33:14 -0700 (PDT) From: Swee Kwang Tan Subject: [Gambas-user] Why I meet "illegal instruction" ? To: gambas-user at lists.sourceforge.net Message-ID: <746538.3155.qm at ...2261...> Content-Type: text/plain; charset=utf-8 My Dear, I'm a fortune teller, writing a predict fortune program. dim gan as TienGan???? 'TienGan is a Class dim dx as ShiXing ? ? ? 'ShiXing is a Class dim fd as FlowData ? ? 'FlowData is a Class, it have defined many constant. gan = new TienGan(3, fd) dx = new ShiXing(gan.GetValue(), fd) why " dx = new ..." this line wrong ? gambas said "illegal instruction" . Thank you --- 09/7/28 (?)?gambas-user-request at lists.sourceforge.net ??? ???: gambas-user-request at lists.sourceforge.net ??: Gambas-user Digest, Vol 38, Issue 50 ???: gambas-user at lists.sourceforge.net ??: 2009?7?28?,?,??11:40 Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: Background color for Textbox (richard terry) ???2. Procedure new() (craf) ???3. Re: Background color for Textbox (craf) ???4. Re: Background color for Textbox (Beno?t Minisini) ???5. DrawingArea (nic) ???6. Re: Background color for Textbox (Beno?t Minisini) ???7. Re: DrawingArea (Beno?t Minisini) ???8. Re: Background color for Textbox (craf) ???9. Re: DrawingArea (nic) ? 10. Re: Background color for Textbox (Beno?t Minisini) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Jul 2009 07:29:25 +1000 From: richard terry Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290729.25740.rterry at ...1946...> Content-Type: text/plain;? charset="utf-8" On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------ Message: 2 Date: Tue, 28 Jul 2009 17:32:42 -0400 From: craf Subject: [Gambas-user] Procedure new() To: Lista Gambas Ingles Message-ID: <1248816762.3590.24.camel at ...651...> Content-Type: text/plain Hi. What are the roles in the general procedure new ()? What difference has the procedure Form_Open () Regards ------------------------------ Message: 3 Date: Tue, 28 Jul 2009 17:45:46 -0400 From: craf Subject: Re: [Gambas-user] Background color for Textbox To: richard terry ,??? mailing list for gambas ??? users Message-ID: <1248817546.3590.25.camel at ...651...> Content-Type: text/plain Ok. Thanks. -----Mensaje original----- De: richard terry Reply-to: richard terry , mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 07:29:25 +1000 On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------ Message: 4 Date: Tue, 28 Jul 2009 23:50:18 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907282350.18516.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards This is a bug I am currently investigate... -- Beno?t ------------------------------ Message: 5 Date: Tue, 28 Jul 2009 14:54:34 -0700 From: nic Subject: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 How do I draw a circle (any size, I will modify it) in a drawing area? ------------------------------ Message: 6 Date: Wed, 29 Jul 2009 00:03:46 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290003.46513.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, -- Beno?t ------------------------------ Message: 7 Date: Wed, 29 Jul 2009 00:05:59 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: <200907290005.59306.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > How do I draw a circle (any size, I will modify it) in a drawing area? in the DrawingArea Draw event handler: Draw.Circle(XCenter, YCenter, Radius) Regards, -- Beno?t ------------------------------ Message: 8 Date: Tue, 28 Jul 2009 18:20:11 -0400 From: craf Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <1248819611.3590.26.camel at ...651...> Content-Type: text/plain; charset="UTF-8" Ok. Thanks very much, Benoit Regards -----Mensaje original----- De: Beno?t Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 00:03:46 +0200 > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, ------------------------------ Message: 9 Date: Tue, 28 Jul 2009 15:27:58 -0700 From: nic Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 Is there a way I could define a symbol (I don't know how to do that) for the X,Y, and radius? That way my code could actively modify the circle while the programming is running. Thanks again! 2009/7/28 Beno?t Minisini > > How do I draw a circle (any size, I will modify it) in a drawing area? > > in the DrawingArea Draw event handler: > > Draw.Circle(XCenter, YCenter, Radius) > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 10 Date: Wed, 29 Jul 2009 01:39:39 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users Message-ID: <200907290139.39425.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > > Hello. > > > > > > When selecting a background color for a textbox only allows me to > > > select any of them. For example to select the color blue shown by the > > > arrow, shows me a completely different color. Are there certain colors > > > in Gambas?. Is this normal?. > > > > > > > > > Select a color for the background 0080ff text box > > > > > > > > > But this shows me another pink > > > > > > > > > Regards > > > > This is a bug I am currently investigate... > > OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas > 3 that I forgot to backport in Gambas 2. > > I will make a 2.15.2 as soon as possible. > > Regards, The 2.15.2 package has been uploaded to sourceforge, but apparently it is not available immediately for downloading. We can just wait and pray... -- Beno?t ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 38, Issue 50 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com ------------------------------ Message: 3 Date: Sat, 8 Aug 2009 03:28:01 -0700 (PDT) From: kobolds Subject: Re: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 To: gambas-user at lists.sourceforge.net Message-ID: <24876908.post at ...1379...> Content-Type: text/plain; charset=us-ascii kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > warning to solve . please help me > http://www.nabble.com/file/p24868373/log.txt log.txt > > - gb.corba >? ? libACE.so? - from acroread , libomniORB4.so, libomniDynamic4.so > > - gb.db.firebird >? ? install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > > - gb.db.mysql >? ? ? install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > but missing mysql-devel? . > > - gb.qte >? ? ?? no idea what missing ?? > > > > > > I try compile gambas3, this time I get different problem - gb.corba - gb.db.firebird - gb.db.mysql - gb.sdl i don't know how to solve this problem. can anyone help me please? -- View this message in context: http://www.nabble.com/compiling-gambas2-on-opensuse-11.1-x64-tp24868373p24876908.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------ Message: 4 Date: Sat, 8 Aug 2009 13:10:08 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 To: mailing list for gambas users Message-ID: <200908081310.08514.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > > warning to solve . please help me > > http://www.nabble.com/file/p24868373/log.txt log.txt > > > > - gb.corba > >? ? libACE.so? - from acroread , libomniORB4.so, libomniDynamic4.so > > > > - gb.db.firebird > >? ? install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11..1 > >/) > > > > - gb.db.mysql > >? ? ? install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11..1 > >/) but missing mysql-devel? . > > > > - gb.qte > >? ? ?? no idea what missing ?? > > I try compile gambas3, this time I get different problem > - gb.corba > - gb.db.firebird > - gb.db.mysql > - gb.sdl > > > i don't know how to solve this problem. can anyone help me please? Not compiling gb.qte is not a problem, forget it. But for the others, you just have to install the development packages needed by the components. I don't know how they name them on OpenSuse, but did you read the documentation about OpenSuse installation on the wiki? -- Beno?t ------------------------------ Message: 5 Date: Sat, 8 Aug 2009 13:16:35 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Why I meet "illegal instruction" ? To: mailing list for gambas users Message-ID: <200908081316.36000.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > My Dear, > I'm a fortune teller, writing a predict fortune program. > > dim gan as TienGan? ???'TienGan is a Class > dim dx as ShiXing? ? ???'ShiXing is a Class > dim fd as FlowData? ???'FlowData is a Class, it have defined many constant. > > gan = new TienGan(3, fd) > dx = new ShiXing(gan.GetValue(), fd) > why " dx = new ..." this line wrong ? gambas said "illegal instruction" . > Thank you > > This is usually a bug in Gambas, but I need your full project and a way to reproduce the "Illegal instruction" error. Otherwise I can't fix it! Regards, -- Beno?t ------------------------------ Message: 6 Date: Sat, 8 Aug 2009 10:37:31 -0500 From: Carlos Prieto L?pez Subject: Re: [Gambas-user] Gambas in Science ? To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 I recently used Gambas for a simple ray-tracing application to simulate the effects of dissipation on light refraction. I am currently working on a program to store, manipulate and present laboratory data. I'm not familiar to the modules you talk about. Regards, Carlos 2009/8/7 Nick Rathke > Hi Gambas users, > > I was wondering if any one is using Gambas for Science related work ? > > Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS > or Lapack ? > > I am not sure how doable any of these are, but I might try to put some > of these together for my own use.... > > -- > Nick Rathke > Scientific Computing and Imaging Institute > Sr. Systems Administrator > nick at ...2252... > www.sci.utah.edu > 801-587-9933 > 801-557-3832 > > "I came I saw I made it possible" Royal Bliss - Here They Com > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 39, Issue 22 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com From gambas.fr at ...626... Sun Aug 9 11:04:20 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 11:04:20 +0200 Subject: [Gambas-user] glut In-Reply-To: <65369.27552.qm@...2262...> References: <65369.27552.qm@...2262...> Message-ID: <6324a42a0908090204r1178091evc38703d7f727070c@...627...> no but you can use gb.sdl for the same thing 2009/8/9 abdurrahman ulusoy : > hi > i think there arent glut library in gambas. do you think import it. > > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1946... Sun Aug 9 12:12:04 2009 From: rterry at ...1946... (richard terry) Date: Sun, 9 Aug 2009 20:12:04 +1000 Subject: [Gambas-user] How to make a movie-type screen dump Message-ID: <200908092012.04980.rterry@...1946...> I wondered if anyone knew how to do a screen capture of ones actions whilst using a program for demonstration purposes? Regards Richard From gambas.fr at ...626... Sun Aug 9 12:22:58 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 12:22:58 +0200 Subject: [Gambas-user] How to make a movie-type screen dump In-Reply-To: <200908092012.04980.rterry@...1946...> References: <200908092012.04980.rterry@...1946...> Message-ID: <6324a42a0908090322u762e70a6l418e0736d8cef21e@...627...> http://en.wikipedia.org/wiki/Recordmydesktop 2009/8/9 richard terry : > I wondered if anyone knew how to do a screen capture of ones actions whilst > using a program for demonstration purposes? > > Regards > > Richard > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1946... Sun Aug 9 12:24:59 2009 From: rterry at ...1946... (richard terry) Date: Sun, 9 Aug 2009 20:24:59 +1000 Subject: [Gambas-user] Capturing part of a screen in a gambas program Message-ID: <200908092024.59744.rterry@...1946...> I wondered if it is possible to capture part of a screen within one's own gambas program as a png file say, for use within the program? Any help appreciated. Richard From ulusoyab at ...43... Sun Aug 9 12:28:08 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 9 Aug 2009 03:28:08 -0700 (PDT) Subject: [Gambas-user] glut In-Reply-To: <6324a42a0908090204r1178091evc38703d7f727070c@...627...> Message-ID: <594750.53867.qm@...2264...> when i import gb.sdl error "These components are incompatible: gb.qt,gbsdl" --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 12:04 no but you can use gb.sdl for the same thing 2009/8/9 abdurrahman ulusoy : > hi > i think there arent glut library in gambas. do you think import it. > > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From joshiggins at ...1601... Sun Aug 9 12:39:13 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Sun, 9 Aug 2009 11:39:13 +0100 Subject: [Gambas-user] Capturing part of a screen in a gambas program In-Reply-To: <200908092024.59744.rterry@...1946...> References: <200908092024.59744.rterry@...1946...> Message-ID: <4247f5440908090339ic2ffee1qf466c673aa1034e0@...627...> You could use a SHELL "import -window root myscreenshot.png" and then load the resulting image. If you leave out the "-window root" bit, it allows you to click and drag over a section of the screen to just capture that bit. 2009/8/9 richard terry > I wondered if it is possible to capture part of a screen within one's own > gambas program as a png file say, for use within the program? > > Any help appreciated. > > Richard > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From gambas.fr at ...626... Sun Aug 9 12:59:43 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 12:59:43 +0200 Subject: [Gambas-user] glut In-Reply-To: <594750.53867.qm@...2264...> References: <6324a42a0908090204r1178091evc38703d7f727070c@...627...> <594750.53867.qm@...2264...> Message-ID: <6324a42a0908090359i14c5af4bje4909436d49986d2@...627...> yes it's true ... so what did you need ? qt.opengl ? 2009/8/9 abdurrahman ulusoy : > when i import gb.sdl > error > "These components are incompatible: > gb.qt,gbsdl" > > > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 12:04 > > no but you can use gb.sdl for the same thing > > 2009/8/9 abdurrahman ulusoy : >> hi >> i think there arent glut library in gambas. do you think import it. >> >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 9 13:00:52 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 13:00:52 +0200 Subject: [Gambas-user] Capturing part of a screen in a gambas program In-Reply-To: <4247f5440908090339ic2ffee1qf466c673aa1034e0@...627...> References: <200908092024.59744.rterry@...1946...> <4247f5440908090339ic2ffee1qf466c673aa1034e0@...627...> Message-ID: <6324a42a0908090400s173a5412x507039726f5f0548@...627...> 2009/8/9 Joshua Higgins : > You could use a > > SHELL "import -window root myscreenshot.png" and then load the resulting > image. > > If you leave out the "-window root" bit, it allows you to click and drag > over a section of the screen to just capture that bit. > Picture = MyForm.Grab ? > > 2009/8/9 richard terry > >> I wondered if it is possible to capture part of a screen within one's own >> gambas program as a png file say, for use within the program? >> >> Any help appreciated. >> >> Richard >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 9 13:01:47 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 13:01:47 +0200 Subject: [Gambas-user] Capturing part of a screen in a gambas program In-Reply-To: <6324a42a0908090400s173a5412x507039726f5f0548@...627...> References: <200908092024.59744.rterry@...1946...> <4247f5440908090339ic2ffee1qf466c673aa1034e0@...627...> <6324a42a0908090400s173a5412x507039726f5f0548@...627...> Message-ID: <6324a42a0908090401q1928471cpe7ecde3f1d1a4128@...627...> http://gambasdoc.org/help/comp/gb.qt/control/grab 2009/8/9 Fabien Bodard : > 2009/8/9 Joshua Higgins : >> You could use a >> >> SHELL "import -window root myscreenshot.png" and then load the resulting >> image. >> >> If you leave out the "-window root" bit, it allows you to click and drag >> over a section of the screen to just capture that bit. >> > Picture = MyForm.Grab ? > > >> >> 2009/8/9 richard terry >> >>> I wondered if it is possible to capture part of a screen within one's own >>> gambas program as a png file say, for use within the program? >>> >>> Any help appreciated. >>> >>> Richard >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> >> -- >> joshua higgins >>>>>>>>------ >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From ulusoyab at ...43... Sun Aug 9 13:11:25 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 9 Aug 2009 04:11:25 -0700 (PDT) Subject: [Gambas-user] glut In-Reply-To: <6324a42a0908090359i14c5af4bje4909436d49986d2@...627...> Message-ID: <907936.78678.qm@...2230...> i saw few example, object selection in glarea? with glut and glut has some ready objects ( cylinder, box, teapot, etc...) . ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 13:59 yes it's true ... so what did you need ? qt.opengl ? 2009/8/9 abdurrahman ulusoy : > when i import gb.sdl > error > "These components are incompatible: > gb.qt,gbsdl" > > > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 12:04 > > no but you can use gb.sdl for the same thing > > 2009/8/9 abdurrahman ulusoy : >> hi >> i think there arent glut library in gambas. do you think import it. >> >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From gambas.fr at ...626... Sun Aug 9 13:18:37 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 13:18:37 +0200 Subject: [Gambas-user] glut In-Reply-To: <907936.78678.qm@...2230...> References: <6324a42a0908090359i14c5af4bje4909436d49986d2@...627...> <907936.78678.qm@...2230...> Message-ID: <6324a42a0908090418g2c478986yfd763ee5cd71acf@...627...> try to join lordheavy for that, he is the maintainer of the ogl part lordheavym at ...626... 2009/8/9 abdurrahman ulusoy : > i saw few example, object selection in glarea? with glut and glut has some ready objects > ( cylinder, box, teapot, etc...) . > > ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 13:59 > > yes it's true ... so what did you need ? qt.opengl ? > > > > > 2009/8/9 abdurrahman ulusoy : >> when i import gb.sdl >> error >> "These components are incompatible: >> gb.qt,gbsdl" >> >> >> >> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] glut >> Kime: "mailing list for gambas users" >> Tarihi: 9 A?ustos 2009 Pazar, 12:04 >> >> no but you can use gb.sdl for the same thing >> >> 2009/8/9 abdurrahman ulusoy : >>> hi >>> i think there arent glut library in gambas. do you think import it. >>> >>> >>> >>> >>> ? ? ?___________________________________________________________________ >>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 9 13:19:09 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Aug 2009 13:19:09 +0200 Subject: [Gambas-user] glut In-Reply-To: <6324a42a0908090418g2c478986yfd763ee5cd71acf@...627...> References: <6324a42a0908090359i14c5af4bje4909436d49986d2@...627...> <907936.78678.qm@...2230...> <6324a42a0908090418g2c478986yfd763ee5cd71acf@...627...> Message-ID: <6324a42a0908090419i7daeb5c3q3938f0828b36a0ec@...627...> He's true name is Laurent Carlier :) 2009/8/9 Fabien Bodard : > try to join lordheavy for that, he is the maintainer of the ogl part > > > lordheavym at ...626... > > 2009/8/9 abdurrahman ulusoy : >> i saw few example, object selection in glarea? with glut and glut has some ready objects >> ( cylinder, box, teapot, etc...) . >> >> ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. >> >> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] glut >> Kime: "mailing list for gambas users" >> Tarihi: 9 A?ustos 2009 Pazar, 13:59 >> >> yes it's true ... so what did you need ? qt.opengl ? >> >> >> >> >> 2009/8/9 abdurrahman ulusoy : >>> when i import gb.sdl >>> error >>> "These components are incompatible: >>> gb.qt,gbsdl" >>> >>> >>> >>> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >>> >>> Kimden: Fabien Bodard >>> Konu: Re: [Gambas-user] glut >>> Kime: "mailing list for gambas users" >>> Tarihi: 9 A?ustos 2009 Pazar, 12:04 >>> >>> no but you can use gb.sdl for the same thing >>> >>> 2009/8/9 abdurrahman ulusoy : >>>> hi >>>> i think there arent glut library in gambas. do you think import it. >>>> >>>> >>>> >>>> >>>> ? ? ?___________________________________________________________________ >>>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> ? ? ?___________________________________________________________________ >>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From rterry at ...1946... Sun Aug 9 13:24:04 2009 From: rterry at ...1946... (richard terry) Date: Sun, 9 Aug 2009 21:24:04 +1000 Subject: [Gambas-user] Capturing part of a screen in a gambas program In-Reply-To: <6324a42a0908090400s173a5412x507039726f5f0548@...627...> References: <200908092024.59744.rterry@...1946...> <4247f5440908090339ic2ffee1qf466c673aa1034e0@...627...> <6324a42a0908090400s173a5412x507039726f5f0548@...627...> Message-ID: <200908092124.04867.rterry@...1946...> On Sun, 9 Aug 2009 09:00:52 pm Fabien Bodard wrote: > 2009/8/9 Joshua Higgins : > > You could use a > > > > SHELL "import -window root myscreenshot.png" and then load the resulting > > image. > > > > If you leave out the "-window root" bit, it allows you to click and drag > > over a section of the screen to just capture that bit. > > Picture = MyForm.Grab ? Thanks, just what I wanted. I've got a VBox to which I can add thumbnails of images and I wanted to be be able to get a single picture of the (up to 9) small images in one go to paste into a text document. thanks heaps to all. Richard > > 2009/8/9 richard terry > > > >> I wondered if it is possible to capture part of a screen within one's > >> own gambas program as a png file say, for use within the program? > >> > >> Any help appreciated. > >> > >> Richard > >> > >> > >> ------------------------------------------------------------------------ > >>------ Let Crystal Reports handle the reporting - Free Crystal Reports > >> 2008 30-Day trial. Simplify your report design, integration and > >> deployment - and focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > > joshua higgins > > > >>>>>>>------ > > > > ------------------------------------------------------------------------- > >----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - > > and focus on what you do best, core application coding. Discover what's > > new with Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ulusoyab at ...43... Sun Aug 9 13:28:53 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 9 Aug 2009 04:28:53 -0700 (PDT) Subject: [Gambas-user] glut In-Reply-To: <6324a42a0908090418g2c478986yfd763ee5cd71acf@...627...> Message-ID: <217550.39036.qm@...2246...> ok. thanks. --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 14:18 try to join lordheavy for that, he is the maintainer of the ogl part lordheavym at ...626... 2009/8/9 abdurrahman ulusoy : > i saw few example, object selection in glarea? with glut and glut has some ready objects > ( cylinder, box, teapot, etc...) . > > ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 13:59 > > yes it's true ... so what did you need ? qt.opengl ? > > > > > 2009/8/9 abdurrahman ulusoy : >> when i import gb.sdl >> error >> "These components are incompatible: >> gb.qt,gbsdl" >> >> >> >> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] glut >> Kime: "mailing list for gambas users" >> Tarihi: 9 A?ustos 2009 Pazar, 12:04 >> >> no but you can use gb.sdl for the same thing >> >> 2009/8/9 abdurrahman ulusoy : >>> hi >>> i think there arent glut library in gambas. do you think import it. >>> >>> >>> >>> >>> ? ? ?___________________________________________________________________ >>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From Karl.Reinl at ...9... Sun Aug 9 13:36:59 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 09 Aug 2009 13:36:59 +0200 Subject: [Gambas-user] How to make a movie-type screen dump In-Reply-To: <6324a42a0908090322u762e70a6l418e0736d8cef21e@...627...> References: <200908092012.04980.rterry@...1946...> <6324a42a0908090322u762e70a6l418e0736d8cef21e@...627...> Message-ID: <1249817819.7232.3.camel@...40...> Am Sonntag, den 09.08.2009, 12:22 +0200 schrieb Fabien Bodard: > http://en.wikipedia.org/wiki/Recordmydesktop > > 2009/8/9 richard terry : > > I wondered if anyone knew how to do a screen capture of ones actions whilst > > using a program for demonstration purposes? > > > > Regards > > > > Richard Salut, http://www.debugmode.com/wink/ nice for making help - demos. -- Amicalment Charlie From gael.lehech at ...626... Sun Aug 9 16:07:48 2009 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Sun, 9 Aug 2009 16:07:48 +0200 Subject: [Gambas-user] Problem updating svn from revision 2209 In-Reply-To: <200908042238.50821.gambas@...1...> References: <200908042238.50821.gambas@...1...> Message-ID: > subversion feels stupid there. Just remove the libltdl directory by hand > before doing 'svn update'. > succeeded to update after removal of main/libltdl but with revision 2228 I get this error when reconf-all /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8:?? run info '(automake)Extending aclocal' /usr/share/aclocal/nspr.m4:8:?? or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39:?? The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39:?? If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39:?? its definition is in aclocal's search path. /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.10/am/depend2.am:???? AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.10/am/depend2.am:???? AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am:?? The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am:?? to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 this on slackware 12.2, no change in gcc or whatever between both revision Regards, Ga?l From doriano.blengino at ...1909... Sun Aug 9 17:15:05 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 09 Aug 2009 17:15:05 +0200 Subject: [Gambas-user] =?utf-8?q?RE=EF=BC=9A_Gambas-user_Digest=2C_Vol_39?= =?utf-8?q?=2C_Issue_22?= In-Reply-To: <174592.64808.qm@...2263...> References: <174592.64808.qm@...2263...> Message-ID: <4A7EE7F9.6000304@...1909...> Swee Kwang Tan ha scritto: > Following code is my program, its has the "ilegal instruction" bug. > In the main class > PUBLIC SUB Main() > DIM fd AS FlowData > DIM at AS ShiXing > at = NEW ShiXing(fd) > > END > > In the FlowData class > PUBLIC CONST ZhengYin AS Integer = 0 > PUBLIC CONST BiJian AS Integer = 1 > PUBLIC CONST JieCai AS Integer = 2 > PUBLIC CONST ShiShen AS Integer = 3 > PUBLIC CONST ShangGuan AS Integer = 4 > PUBLIC CONST PianCai AS Integer = 5 > PUBLIC CONST ZhengCai AS Integer = 6 > PUBLIC CONST QiSha AS Integer = 7 > PUBLIC CONST ZhengGuan AS Integer = 8 > PUBLIC CONST PianYin AS Integer = 9 > > In the ShiXing Class > ' Gambas class file > PRIVATE fd AS FlowData > STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk6 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk7 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk8 AS integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk9 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > > PUBLIC SUB _new(fd1 AS FlowData) > fd = fd1 > > > END > And I don't need to write it like this, I' ve a perfect solution to write. > I think that in Main(), when you do at = NEW ShiXing(fd) you are creating a new instance of ShiXing, passing the "fd" which is NULL. Then the new "ShiXing" tries to refer to fd, thinking it is an object, but it is not because it is NULL. This should raise some Gambas error, but not an Illegal Instruction. I also notice that the class FlowData only contains constants; if it is so, then there is no need to use a class - better to use a module. This is an argument I don't understand much, but your way to do seems erroneous to me. In ShiXing._new() you assign fd=fd1: there is collision as fd is both a name of class, and an instance of an object. Again, I don't know how this should be interpreted, but my idea is it should be forbidden, and you should avoid it, and Gambas should refuse compilation. But you use this strange form, Gambas does not catch it as an error nor during compilation and nor during runtime, and something strange happens. This is matter for Benoit... Hope this explains a little more... Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From gambas at ...1... Sun Aug 9 17:23:35 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 17:23:35 +0200 Subject: [Gambas-user] Problem updating svn from revision 2209 In-Reply-To: References: <200908042238.50821.gambas@...1...> Message-ID: <200908091723.35071.gambas@...1...> > > subversion feels stupid there. Just remove the libltdl directory by hand > > before doing 'svn update'. > > succeeded to update after removal of main/libltdl but with revision > 2228 I get this error when reconf-all > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of > AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8: run info '(automake)Extending > aclocal' /usr/share/aclocal/nspr.m4:8: or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > Makefile.am:39: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and > `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in > `configure.ac', make sure Makefile.am:39: its definition is in aclocal's > search path. > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am: The usual way to define > `am__fastdepCC' is to add `AC_PROG_CC' > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > `aclocal' and `autoconf' again. > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to > define > `AMDEP' is to add one of the compiler tests > /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and > run `aclocal' and `autoconf' again. > Makefile.am: C source seen but `CC' is undefined > Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' > Makefile.am: to `configure.ac' and run `autoconf' again. > autoreconf: automake failed with exit status: 1 > > this on slackware 12.2, no change in gcc or whatever between both revision > > > Regards, > > Ga?l > Since rev. 2210, I have upgraded the source package to libtool 2.6. Which version of libtool do you use on slackware? -- Beno?t From leonardo at ...1237... Sun Aug 9 18:34:55 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 09 Aug 2009 18:34:55 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908040203.17333.gambas@...1...> References: <4A771606.4030407@...1237...> <200908032216.28395.gambas@...1...> <4A775476.10007@...1237...> <200908040203.17333.gambas@...1...> Message-ID: <4A7EFAAF.6020503@...1237...> Beno?t Minisini ha scritto: >> Beno?t Minisini ha scritto: >>>> This is the output of the make command on Gambas2 SVN. >>> I think you have a problem on your system, as gcc tells it does not >>> recognize an option... >>> >>> Please post the full output of the compilation process, i.e. with >>> configure. >>> >>> And try to do a checkout from scratch, and a ./reconf before doing >>> "./configure -C". >>> >>> Regards, >> I suppose you know that Arch Linux is a rolling release distro so every >> program is always at the very last version. Maybe there could be a >> compatibily issue between Gambas sources and gcc 4.4.1 that is installed >> on my system? >> >> P.S.: >> I've inclued part of the /reconf-all command too. It contains a loto of >> messages that I've never seen before. > > You have clearly a problem with your installation of gcc. I think either you > didn't install it completely (for example a new gcc with an old linker), or > the new version of gcc is not compatible with the old one, but I think it is > unlikely. > > Regards, > Could you please post the the version of gcc needed to compile Gambas? Or the version that you used? I cannot understand why until the rev. #2127 I was able to compile Gambas and now I'm not. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From gambas at ...1... Sun Aug 9 18:42:41 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 18:42:41 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A7EFAAF.6020503@...1237...> References: <4A771606.4030407@...1237...> <200908040203.17333.gambas@...1...> <4A7EFAAF.6020503@...1237...> Message-ID: <200908091842.41797.gambas@...1...> > Beno?t Minisini ha scritto: > >> Beno?t Minisini ha scritto: > >>>> This is the output of the make command on Gambas2 SVN. > >>> > >>> I think you have a problem on your system, as gcc tells it does not > >>> recognize an option... > >>> > >>> Please post the full output of the compilation process, i.e. with > >>> configure. > >>> > >>> And try to do a checkout from scratch, and a ./reconf before doing > >>> "./configure -C". > >>> > >>> Regards, > >> > >> I suppose you know that Arch Linux is a rolling release distro so every > >> program is always at the very last version. Maybe there could be a > >> compatibily issue between Gambas sources and gcc 4.4.1 that is installed > >> on my system? > >> > >> P.S.: > >> I've inclued part of the /reconf-all command too. It contains a loto of > >> messages that I've never seen before. > > > > You have clearly a problem with your installation of gcc. I think either > > you didn't install it completely (for example a new gcc with an old > > linker), or the new version of gcc is not compatible with the old one, > > but I think it is unlikely. > > > > Regards, > > Could you please post the the version of gcc needed to compile Gambas? > Or the version that you used? I cannot understand why until the rev. > #2127 I was able to compile Gambas and now I'm not. I'm using gcc 4.3.2 on Mandriva 2009.1. You have the same problem than Dr.Diesel. The configure script tells: ... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported ... These tests are not made by me, and you see like me that gcc *should* be a GNU c compiler, and accept "-g". There is clearly a problem between the compiler and the script written to detect it... -- Beno?t From dr.diesel at ...626... Sun Aug 9 18:44:08 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 9 Aug 2009 12:44:08 -0400 Subject: [Gambas-user] Problem updating svn from revision 2209 In-Reply-To: References: <200908042238.50821.gambas@...1...> Message-ID: <2a28d2ab0908090944r17d1f17av917c1fd97c2c4cc0@...627...> On Sun, Aug 9, 2009 at 10:07 AM, Ga?l Le Hec'H wrote: > > subversion feels stupid there. Just remove the libltdl directory by hand > > before doing 'svn update'. > > > > succeeded to update after removal of main/libltdl but with revision > 2228 I get this error when reconf-all > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of > AM_PATH_NSPR > /usr/share/aclocal/nspr.m4:8: run info '(automake)Extending aclocal' > /usr/share/aclocal/nspr.m4:8: or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > Makefile.am:39: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' > Makefile.am:39: to `configure.ac' and run `aclocal' and `autoconf' > again. > Makefile.am:39: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure > Makefile.am:39: its definition is in aclocal's search path. > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am: The usual way to define > `am__fastdepCC' is to add `AC_PROG_CC' > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > `aclocal' and `autoconf' again. > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am: The usual way to define > `AMDEP' is to add one of the compiler tests > /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > `aclocal' and `autoconf' again. > Makefile.am: C source seen but `CC' is undefined > Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' > Makefile.am: to `configure.ac' and run `autoconf' again. > autoreconf: automake failed with exit status: 1 > > this on slackware 12.2, no change in gcc or whatever between both revision > > > Regards, > > Ga?l I am also receiving the same error, Fedora 11_64bit, svn of revision 2228. [garage at ...40... trunk]$ ./reconf-all Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39: its definition is in aclocal's search path. /usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 [garage at ...40... trunk]$ Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From leonardo at ...1237... Sun Aug 9 18:56:42 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 09 Aug 2009 18:56:42 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908091842.41797.gambas@...1...> References: <4A771606.4030407@...1237...> <200908040203.17333.gambas@...1...> <4A7EFAAF.6020503@...1237...> <200908091842.41797.gambas@...1...> Message-ID: <4A7EFFCA.5070404@...1237...> Beno?t Minisini ha scritto: >> Beno?t Minisini ha scritto: >>>> Beno?t Minisini ha scritto: >>>>>> This is the output of the make command on Gambas2 SVN. >>>>> I think you have a problem on your system, as gcc tells it does not >>>>> recognize an option... >>>>> >>>>> Please post the full output of the compilation process, i.e. with >>>>> configure. >>>>> >>>>> And try to do a checkout from scratch, and a ./reconf before doing >>>>> "./configure -C". >>>>> >>>>> Regards, >>>> I suppose you know that Arch Linux is a rolling release distro so every >>>> program is always at the very last version. Maybe there could be a >>>> compatibily issue between Gambas sources and gcc 4.4.1 that is installed >>>> on my system? >>>> >>>> P.S.: >>>> I've inclued part of the /reconf-all command too. It contains a loto of >>>> messages that I've never seen before. >>> You have clearly a problem with your installation of gcc. I think either >>> you didn't install it completely (for example a new gcc with an old >>> linker), or the new version of gcc is not compatible with the old one, >>> but I think it is unlikely. >>> >>> Regards, >> Could you please post the the version of gcc needed to compile Gambas? >> Or the version that you used? I cannot understand why until the rev. >> #2127 I was able to compile Gambas and now I'm not. > > I'm using gcc 4.3.2 on Mandriva 2009.1. > > You have the same problem than Dr.Diesel. The configure script tells: > > ... > checking whether we are using the GNU C compiler... no > checking whether gcc accepts -g... no > checking for gcc option to accept ISO C89... unsupported > ... > > These tests are not made by me, and you see like me that gcc *should* be a GNU > c compiler, and accept "-g". There is clearly a problem between the compiler > and the script written to detect it... > Strange. This is what I get: [leo at ...2193... ~]$ gcc --version gcc (GCC) 4.4.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. As you see, my gcc comes from GNU but it's newer than the one on your system. This is the only difference that I see. Now I'm trying to reinstall gcc, now building it from scratch using sources... -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From dr.diesel at ...626... Sun Aug 9 19:03:08 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 9 Aug 2009 13:03:08 -0400 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A7EFFCA.5070404@...1237...> References: <4A771606.4030407@...1237...> <200908040203.17333.gambas@...1...> <4A7EFAAF.6020503@...1237...> <200908091842.41797.gambas@...1...> <4A7EFFCA.5070404@...1237...> Message-ID: <2a28d2ab0908091003m720143dbo64d611403ab99e8d@...627...> On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani < leonardo at ...1237...> wrote: > Beno?t Minisini ha scritto: > >> Beno?t Minisini ha scritto: > >>>> Beno?t Minisini ha scritto: > >>>>>> This is the output of the make command on Gambas2 SVN. > >>>>> I think you have a problem on your system, as gcc tells it does not > >>>>> recognize an option... > >>>>> > >>>>> Please post the full output of the compilation process, i.e. with > >>>>> configure. > >>>>> > >>>>> And try to do a checkout from scratch, and a ./reconf before doing > >>>>> "./configure -C". > >>>>> > >>>>> Regards, > >>>> I suppose you know that Arch Linux is a rolling release distro so > every > >>>> program is always at the very last version. Maybe there could be a > >>>> compatibily issue between Gambas sources and gcc 4.4.1 that is > installed > >>>> on my system? > >>>> > >>>> P.S.: > >>>> I've inclued part of the /reconf-all command too. It contains a loto > of > >>>> messages that I've never seen before. > >>> You have clearly a problem with your installation of gcc. I think > either > >>> you didn't install it completely (for example a new gcc with an old > >>> linker), or the new version of gcc is not compatible with the old one, > >>> but I think it is unlikely. > >>> > >>> Regards, > >> Could you please post the the version of gcc needed to compile Gambas? > >> Or the version that you used? I cannot understand why until the rev. > >> #2127 I was able to compile Gambas and now I'm not. > > > > I'm using gcc 4.3.2 on Mandriva 2009.1. > > > > You have the same problem than Dr.Diesel. The configure script tells: > > > > ... > > checking whether we are using the GNU C compiler... no > > checking whether gcc accepts -g... no > > checking for gcc option to accept ISO C89... unsupported > > ... > > > > These tests are not made by me, and you see like me that gcc *should* be > a GNU > > c compiler, and accept "-g". There is clearly a problem between the > compiler > > and the script written to detect it... > > > > Strange. This is what I get: > [leo at ...2193... ~]$ gcc --version > gcc (GCC) 4.4.1 > Copyright (C) 2009 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > As you see, my gcc comes from GNU but it's newer than the one on your > system. > This is the only difference that I see. > > Now I'm trying to reinstall gcc, now building it from scratch using > sources... FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for this version? I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 bit, 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error posts might be a bit confusing! :) Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org From leonardo at ...1237... Sun Aug 9 19:18:43 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 09 Aug 2009 19:18:43 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <2a28d2ab0908091003m720143dbo64d611403ab99e8d@...627...> References: <4A771606.4030407@...1237...> <200908040203.17333.gambas@...1...> <4A7EFAAF.6020503@...1237...> <200908091842.41797.gambas@...1...> <4A7EFFCA.5070404@...1237...> <2a28d2ab0908091003m720143dbo64d611403ab99e8d@...627...> Message-ID: <4A7F04F3.1000606@...1237...> Dr. Diesel ha scritto: > On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani < > leonardo at ...1237...> wrote: > >> Beno?t Minisini ha scritto: >>>> Beno?t Minisini ha scritto: >>>>>> Beno?t Minisini ha scritto: >>>>>>>> This is the output of the make command on Gambas2 SVN. >>>>>>> I think you have a problem on your system, as gcc tells it does not >>>>>>> recognize an option... >>>>>>> >>>>>>> Please post the full output of the compilation process, i.e. with >>>>>>> configure. >>>>>>> >>>>>>> And try to do a checkout from scratch, and a ./reconf before doing >>>>>>> "./configure -C". >>>>>>> >>>>>>> Regards, >>>>>> I suppose you know that Arch Linux is a rolling release distro so >> every >>>>>> program is always at the very last version. Maybe there could be a >>>>>> compatibily issue between Gambas sources and gcc 4.4.1 that is >> installed >>>>>> on my system? >>>>>> >>>>>> P.S.: >>>>>> I've inclued part of the /reconf-all command too. It contains a loto >> of >>>>>> messages that I've never seen before. >>>>> You have clearly a problem with your installation of gcc. I think >> either >>>>> you didn't install it completely (for example a new gcc with an old >>>>> linker), or the new version of gcc is not compatible with the old one, >>>>> but I think it is unlikely. >>>>> >>>>> Regards, >>>> Could you please post the the version of gcc needed to compile Gambas? >>>> Or the version that you used? I cannot understand why until the rev. >>>> #2127 I was able to compile Gambas and now I'm not. >>> I'm using gcc 4.3.2 on Mandriva 2009.1. >>> >>> You have the same problem than Dr.Diesel. The configure script tells: >>> >>> ... >>> checking whether we are using the GNU C compiler... no >>> checking whether gcc accepts -g... no >>> checking for gcc option to accept ISO C89... unsupported >>> ... >>> >>> These tests are not made by me, and you see like me that gcc *should* be >> a GNU >>> c compiler, and accept "-g". There is clearly a problem between the >> compiler >>> and the script written to detect it... >>> >> Strange. This is what I get: >> [leo at ...2193... ~]$ gcc --version >> gcc (GCC) 4.4.1 >> Copyright (C) 2009 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> >> >> As you see, my gcc comes from GNU but it's newer than the one on your >> system. >> This is the only difference that I see. >> >> Now I'm trying to reinstall gcc, now building it from scratch using >> sources... > > > FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for this > version? > > I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 bit, > 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error posts might > be a bit confusing! :) > > Andy > > > After reinstalling gcc configure reports the following about gcc: checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes Now I'm trying to recompile both gambas2 2.15 and gambas2 svn #2228 (with this I'm having a lot of warning from reconf-all, all related to autoconf: This is an excract: acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level configure.ac:4: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required ../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2665: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from... ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... ../../lib/m4sugar/m4sh.m4:368: AS_REQUIRE is expanded from... ../../lib/autoconf/general.m4:204: AC_REQUIRE_SHELL_FN is expanded from... ../../lib/autoconf/functions.m4:82: AC_CHECK_FUNC is expanded from... ../../lib/m4sugar/m4sh.m4:588: AS_FOR is expanded from... ../../lib/autoconf/functions.m4:109: AC_CHECK_FUNCS is expanded from... ../../lib/autoconf/functions.m4:143: AC_REPLACE_FUNCS is expanded from... acinclude.m4:100: GB_INIT is expanded from... configure.ac:4: the top level -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From leonardo at ...1237... Sun Aug 9 19:27:26 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 09 Aug 2009 19:27:26 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A7F04F3.1000606@...1237...> References: <4A771606.4030407@...1237...> <200908040203.17333.gambas@...1...> <4A7EFAAF.6020503@...1237...> <200908091842.41797.gambas@...1...> <4A7EFFCA.5070404@...1237...> <2a28d2ab0908091003m720143dbo64d611403ab99e8d@...627...> <4A7F04F3.1000606@...1237...> Message-ID: <4A7F06FE.6070509@...1237...> Leonardo Miliani ha scritto: > Dr. Diesel ha scritto: >> On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani < >> leonardo at ...1237...> wrote: >> >>> Beno?t Minisini ha scritto: >>>>> Beno?t Minisini ha scritto: >>>>>>> Beno?t Minisini ha scritto: >>>>>>>>> This is the output of the make command on Gambas2 SVN. >>>>>>>> I think you have a problem on your system, as gcc tells it does not >>>>>>>> recognize an option... >>>>>>>> >>>>>>>> Please post the full output of the compilation process, i.e. with >>>>>>>> configure. >>>>>>>> >>>>>>>> And try to do a checkout from scratch, and a ./reconf before doing >>>>>>>> "./configure -C". >>>>>>>> >>>>>>>> Regards, >>>>>>> I suppose you know that Arch Linux is a rolling release distro so >>> every >>>>>>> program is always at the very last version. Maybe there could be a >>>>>>> compatibily issue between Gambas sources and gcc 4.4.1 that is >>> installed >>>>>>> on my system? >>>>>>> >>>>>>> P.S.: >>>>>>> I've inclued part of the /reconf-all command too. It contains a loto >>> of >>>>>>> messages that I've never seen before. >>>>>> You have clearly a problem with your installation of gcc. I think >>> either >>>>>> you didn't install it completely (for example a new gcc with an old >>>>>> linker), or the new version of gcc is not compatible with the old one, >>>>>> but I think it is unlikely. >>>>>> >>>>>> Regards, >>>>> Could you please post the the version of gcc needed to compile Gambas? >>>>> Or the version that you used? I cannot understand why until the rev. >>>>> #2127 I was able to compile Gambas and now I'm not. >>>> I'm using gcc 4.3.2 on Mandriva 2009.1. >>>> >>>> You have the same problem than Dr.Diesel. The configure script tells: >>>> >>>> ... >>>> checking whether we are using the GNU C compiler... no >>>> checking whether gcc accepts -g... no >>>> checking for gcc option to accept ISO C89... unsupported >>>> ... >>>> >>>> These tests are not made by me, and you see like me that gcc *should* be >>> a GNU >>>> c compiler, and accept "-g". There is clearly a problem between the >>> compiler >>>> and the script written to detect it... >>>> >>> Strange. This is what I get: >>> [leo at ...2193... ~]$ gcc --version >>> gcc (GCC) 4.4.1 >>> Copyright (C) 2009 Free Software Foundation, Inc. >>> This is free software; see the source for copying conditions. There is NO >>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >>> >>> >>> As you see, my gcc comes from GNU but it's newer than the one on your >>> system. >>> This is the only difference that I see. >>> >>> Now I'm trying to reinstall gcc, now building it from scratch using >>> sources... >> >> FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for this >> version? >> >> I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 bit, >> 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error posts might >> be a bit confusing! :) >> >> Andy >> >> >> > > After reinstalling gcc configure reports the following about gcc: > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes The message above was reported by "configure" from gambas 2.15. Instead, configure from gambas2-svn still continue to tell me that I'm _not_ using a GNU gcc compiler.... Why?? :-/ -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From gambas at ...1... Sun Aug 9 19:44:39 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 19:44:39 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <4A7F06FE.6070509@...1237...> References: <4A771606.4030407@...1237...> <4A7F04F3.1000606@...1237...> <4A7F06FE.6070509@...1237...> Message-ID: <200908091944.39478.gambas@...1...> > Leonardo Miliani ha scritto: > > Dr. Diesel ha scritto: > >> On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani < > >> > >> leonardo at ...1237...> wrote: > >>> Beno?t Minisini ha scritto: > >>>>> Beno?t Minisini ha scritto: > >>>>>>> Beno?t Minisini ha scritto: > >>>>>>>>> This is the output of the make command on Gambas2 SVN. > >>>>>>>> > >>>>>>>> I think you have a problem on your system, as gcc tells it does > >>>>>>>> not recognize an option... > >>>>>>>> > >>>>>>>> Please post the full output of the compilation process, i.e. with > >>>>>>>> configure. > >>>>>>>> > >>>>>>>> And try to do a checkout from scratch, and a ./reconf before doing > >>>>>>>> "./configure -C". > >>>>>>>> > >>>>>>>> Regards, > >>>>>>> > >>>>>>> I suppose you know that Arch Linux is a rolling release distro so > >>> > >>> every > >>> > >>>>>>> program is always at the very last version. Maybe there could be a > >>>>>>> compatibily issue between Gambas sources and gcc 4.4.1 that is > >>> > >>> installed > >>> > >>>>>>> on my system? > >>>>>>> > >>>>>>> P.S.: > >>>>>>> I've inclued part of the /reconf-all command too. It contains a > >>>>>>> loto > >>> > >>> of > >>> > >>>>>>> messages that I've never seen before. > >>>>>> > >>>>>> You have clearly a problem with your installation of gcc. I think > >>> > >>> either > >>> > >>>>>> you didn't install it completely (for example a new gcc with an old > >>>>>> linker), or the new version of gcc is not compatible with the old > >>>>>> one, but I think it is unlikely. > >>>>>> > >>>>>> Regards, > >>>>> > >>>>> Could you please post the the version of gcc needed to compile > >>>>> Gambas? Or the version that you used? I cannot understand why until > >>>>> the rev. #2127 I was able to compile Gambas and now I'm not. > >>>> > >>>> I'm using gcc 4.3.2 on Mandriva 2009.1. > >>>> > >>>> You have the same problem than Dr.Diesel. The configure script tells: > >>>> > >>>> ... > >>>> checking whether we are using the GNU C compiler... no > >>>> checking whether gcc accepts -g... no > >>>> checking for gcc option to accept ISO C89... unsupported > >>>> ... > >>>> > >>>> These tests are not made by me, and you see like me that gcc *should* > >>>> be > >>> > >>> a GNU > >>> > >>>> c compiler, and accept "-g". There is clearly a problem between the > >>> > >>> compiler > >>> > >>>> and the script written to detect it... > >>> > >>> Strange. This is what I get: > >>> [leo at ...2193... ~]$ gcc --version > >>> gcc (GCC) 4.4.1 > >>> Copyright (C) 2009 Free Software Foundation, Inc. > >>> This is free software; see the source for copying conditions. There is > >>> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > >>> PURPOSE. > >>> > >>> > >>> As you see, my gcc comes from GNU but it's newer than the one on your > >>> system. > >>> This is the only difference that I see. > >>> > >>> Now I'm trying to reinstall gcc, now building it from scratch using > >>> sources... > >> > >> FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for > >> this version? > >> > >> I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 > >> bit, 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error > >> posts might be a bit confusing! :) > >> > >> Andy > > > > After reinstalling gcc configure reports the following about gcc: > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > The message above was reported by "configure" from gambas 2.15. > Instead, configure from gambas2-svn still continue to tell me that I'm > _not_ using a GNU gcc compiler.... > Why?? :-/ AFAIK, I changed nothing in the configuration process in Gambas 2 since the beginning. I recently changed things only in Gambas 3 (/trunk). If you don't tell exactly which commands you run to compile Gambas, it is difficult to understand what happens. Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 form /branches/2.0 ? Because there is a "./configure" script located in the 2.15.2 source package, but it has been generated on my Mandriva. If you do a "./reconf", you are generating the "./configure" script again, but on your own machine, which may change many things. -- Beno?t From gambas at ...1... Sun Aug 9 19:50:05 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 19:50:05 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908091944.39478.gambas@...1...> References: <4A771606.4030407@...1237...> <4A7F06FE.6070509@...1237...> <200908091944.39478.gambas@...1...> Message-ID: <200908091950.05694.gambas@...1...> > > > After reinstalling gcc configure reports the following about gcc: > > > checking for gcc... gcc > > > checking for C compiler default output file name... a.out > > > checking whether the C compiler works... yes > > > checking whether we are cross compiling... no > > > checking for suffix of executables... > > > checking for suffix of object files... o > > > checking whether we are using the GNU C compiler... yes > > > checking whether gcc accepts -g... yes > > > > The message above was reported by "configure" from gambas 2.15. > > Instead, configure from gambas2-svn still continue to tell me that I'm > > _not_ using a GNU gcc compiler.... > > Why?? :-/ > > AFAIK, I changed nothing in the configuration process in Gambas 2 since the > beginning. I recently changed things only in Gambas 3 (/trunk). > > If you don't tell exactly which commands you run to compile Gambas, it is > difficult to understand what happens. > > Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 form > /branches/2.0 ? > > Because there is a "./configure" script located in the 2.15.2 source > package, but it has been generated on my Mandriva. If you do a "./reconf", > you are generating the "./configure" script again, but on your own machine, > which may change many things. If you can send the configure script generated after you have done a "./reconf", I will be able to compare it with the one generated on my machine. That could help in understanding what happens exactly. If Nick Rathke and Dr. Diesel see this message, they can do the same thing. Please tell if you did it for Gambas2, Gambas3, and for which revision or package. Thanks in advance. -- Beno?t From kobolds at ...2041... Sun Aug 9 19:54:18 2009 From: kobolds at ...2041... (kobolds) Date: Sun, 9 Aug 2009 10:54:18 -0700 (PDT) Subject: [Gambas-user] Suggestion SQL object Message-ID: <24889521.post@...1379...> I wish to propose SQL object . in the project tree to add a new folder call SQL where it contain sql object . the sql object basically is just use to store sql code (like a local stored procedure) but you can edit with 2 option . one using sqlquery the second edit the sql code (text directly) these sql object can be call directly from the code . the purpose of sql object is so that - easy and cleaner to maintain . if you want to change the sql code , you don't need to hunt in your program source code - sqlquery tools make easy to create sql code - some database that you do not wish or unable to have stored proc in it - provide independent test your sql code without running the program -- View this message in context: http://www.nabble.com/Suggestion-SQL-object-tp24889521p24889521.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Aug 9 20:04:02 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 20:04:02 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <24889521.post@...1379...> References: <24889521.post@...1379...> Message-ID: <200908092004.02853.gambas@...1...> > I wish to propose SQL object . > > in the project tree to add a new folder call SQL where it contain sql > object . > the sql object basically is just use to store sql code (like a local stored > procedure) but you can edit with 2 option . one using sqlquery the second > edit the sql code (text directly) What is "sqlquery" ? -- Beno?t From dr.diesel at ...626... Sun Aug 9 20:11:25 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 9 Aug 2009 14:11:25 -0400 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908091950.05694.gambas@...1...> References: <4A771606.4030407@...1237...> <4A7F06FE.6070509@...1237...> <200908091944.39478.gambas@...1...> <200908091950.05694.gambas@...1...> Message-ID: <2a28d2ab0908091111j47f76ccamf454cead9e587a31@...627...> 2009/8/9 Beno?t Minisini > > > > After reinstalling gcc configure reports the following about gcc: > > > > checking for gcc... gcc > > > > checking for C compiler default output file name... a.out > > > > checking whether the C compiler works... yes > > > > checking whether we are cross compiling... no > > > > checking for suffix of executables... > > > > checking for suffix of object files... o > > > > checking whether we are using the GNU C compiler... yes > > > > checking whether gcc accepts -g... yes > > > > > > The message above was reported by "configure" from gambas 2.15. > > > Instead, configure from gambas2-svn still continue to tell me that I'm > > > _not_ using a GNU gcc compiler.... > > > Why?? :-/ > > > > AFAIK, I changed nothing in the configuration process in Gambas 2 since > the > > beginning. I recently changed things only in Gambas 3 (/trunk). > > > > If you don't tell exactly which commands you run to compile Gambas, it is > > difficult to understand what happens. > > > > Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 > form > > /branches/2.0 ? > > > > Because there is a "./configure" script located in the 2.15.2 source > > package, but it has been generated on my Mandriva. If you do a > "./reconf", > > you are generating the "./configure" script again, but on your own > machine, > > which may change many things. > > If you can send the configure script generated after you have done a > "./reconf", I will be able to compare it with the one generated on my > machine. > That could help in understanding what happens exactly. > > If Nick Rathke and Dr. Diesel see this message, they can do the same thing. > Please tell if you did it for Gambas2, Gambas3, and for which revision or > package. > > Thanks in advance. > > -- > Beno?t > Please see attached configure script generated on Ubuntu 9.10_32bit machine with gcc 4.4.1. thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.tar.gz Type: application/x-gzip Size: 34439 bytes Desc: not available URL: From lordheavym at ...626... Sun Aug 9 20:22:06 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 9 Aug 2009 20:22:06 +0200 Subject: [Gambas-user] glut In-Reply-To: <217550.39036.qm@...2246...> References: <217550.39036.qm@...2246...> Message-ID: <200908092022.06651.lordheavym@...626...> Le dimanche 09 ao?t 2009 13:28:53 abdurrahman ulusoy, vous avez ?crit : > ok. thanks. > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle > yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 14:18 > > try to join lordheavy for that, he is the maintainer of the ogl part > > > lordheavym at ...626... > > 2009/8/9 abdurrahman ulusoy : > > i saw few example, object selection in glarea with glut and glut has > > some ready objects ( cylinder, box, teapot, etc...) . > > > > if ther are object selection (with mouse) example in opengl in gambas > > this is enough for me. i dont use ready drawings. > > glut doesn't provide any "object" selection (i've just look in source code ;- p); I guess what you are calling is an opengl feature that is called object picking, provided since opengl 1.0 Lot of docs are available other the web. I guess all is provided in gb.opengl component, but if you find something missing, just say it, and we will provide it :-) http://gpwiki.org/index.php/OpenGL:Tutorials:Picking http://glprogramming.com/red/chapter14.html#name6 ++ From 12ukwn at ...626... Sun Aug 9 20:27:27 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 09 Aug 2009 20:27:27 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <24889521.post@...1379...> References: <24889521.post@...1379...> Message-ID: <4A7F150F.7010206@...626...> kobolds a ?crit : > I wish to propose SQL object . > > in the project tree to add a new folder call SQL where it contain sql object > . > the sql object basically is just use to store sql code (like a local stored > procedure) but you can edit with 2 option . one using sqlquery the second > edit the sql code (text directly) > > these sql object can be call directly from the code . > > the purpose of sql object is so that > - easy and cleaner to maintain . if you want to change the sql code , you > don't need to hunt in your program source code ? A really good program doesn't contains much of SQL code, and if so, you just have to put it in only one class and that's all > - sqlquery tools make easy to create sql code manual SQL coding as *always* been far superior to whatever tools you can use; one of the reasons is no DB absolutely follow the SQLxxxx standards, each have its idomatics AND, sometimes, these "specialties" are mandatory against a complex application > - some database that you do not wish or unable to have stored proc in it 1st case is a terrible nonsense, 2nd: don't use such a dump > - provide independent test your sql code without running the program DB independant code is a popular DB rookies' myth: everybody producted such a driver/piece of code/addon/... however, if you dive into real good codes, you _never_ find such things: they all use specifics. Of course, some programmers still think mysql is a real good DB and they don't need stored procs nor referential integrity; they also prefer to spend 4 days to develop some application remote poor code that could have been made in 4 hours as a stored proc; which is 200% more sure. It is this kind of morons that yell to every ear that SQL is dead and "we must and will find a way to get rid of it" - still they're all wrong 'cos if such a solution was "so easily" reacheable, it should be today's standard. And testing SQL code from files is only possible if you issue small and immutable queries; if you involve 5 (or 15 or 45 or much more) tables, with a part of the proc that determine which tables will be further queried, you're out because your code is complex and no query appears as a unique and complete string -- Auribus teneo lupum. [I hold a wolf by the ears.] [Boy, it *sounds* good. But what does it *mean*?] From gambas at ...1... Sun Aug 9 20:30:58 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 20:30:58 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <2a28d2ab0908091111j47f76ccamf454cead9e587a31@...627...> References: <4A771606.4030407@...1237...> <200908091950.05694.gambas@...1...> <2a28d2ab0908091111j47f76ccamf454cead9e587a31@...627...> Message-ID: <200908092030.58257.gambas@...1...> > 2009/8/9 Beno?t Minisini > > > > > > After reinstalling gcc configure reports the following about gcc: > > > > > checking for gcc... gcc > > > > > checking for C compiler default output file name... a.out > > > > > checking whether the C compiler works... yes > > > > > checking whether we are cross compiling... no > > > > > checking for suffix of executables... > > > > > checking for suffix of object files... o > > > > > checking whether we are using the GNU C compiler... yes > > > > > checking whether gcc accepts -g... yes > > > > > > > > The message above was reported by "configure" from gambas 2.15. > > > > Instead, configure from gambas2-svn still continue to tell me that > > > > I'm _not_ using a GNU gcc compiler.... > > > > Why?? :-/ > > > > > > AFAIK, I changed nothing in the configuration process in Gambas 2 since > > > > the > > > > > beginning. I recently changed things only in Gambas 3 (/trunk). > > > > > > If you don't tell exactly which commands you run to compile Gambas, it > > > is difficult to understand what happens. > > > > > > Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 > > > > form > > > > > /branches/2.0 ? > > > > > > Because there is a "./configure" script located in the 2.15.2 source > > > package, but it has been generated on my Mandriva. If you do a > > > > "./reconf", > > > > > you are generating the "./configure" script again, but on your own > > > > machine, > > > > > which may change many things. > > > > If you can send the configure script generated after you have done a > > "./reconf", I will be able to compare it with the one generated on my > > machine. > > That could help in understanding what happens exactly. > > > > If Nick Rathke and Dr. Diesel see this message, they can do the same > > thing. Please tell if you did it for Gambas2, Gambas3, and for which > > revision or package. > > > > Thanks in advance. > > > > -- > > Beno?t > > Please see attached configure script generated on Ubuntu 9.10_32bit machine > with gcc 4.4.1. > > thanks > Andy Sorry, I forgot to tell that I want the configure script inside the main directory, because it is the more important one. Regards, -- Beno?t From kobolds at ...2041... Sun Aug 9 20:31:47 2009 From: kobolds at ...2041... (kobolds) Date: Sun, 9 Aug 2009 11:31:47 -0700 (PDT) Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <200908092004.02853.gambas@...1...> References: <24889521.post@...1379...> <200908092004.02853.gambas@...1...> Message-ID: <24889817.post@...1379...> Beno?t Minisini wrote: > >> I wish to propose SQL object . >> >> in the project tree to add a new folder call SQL where it contain sql >> object . >> the sql object basically is just use to store sql code (like a local >> stored >> procedure) but you can edit with 2 option . one using sqlquery the second >> edit the sql code (text directly) > > What is "sqlquery" ? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > sql query tools ? for example something like this http://www.filebuzz.com/software_screenshot/full/46519-FlySpeed_SQL_Query.gif -- View this message in context: http://www.nabble.com/Suggestion-SQL-object-tp24889521p24889817.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Aug 9 20:37:13 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Aug 2009 20:37:13 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <24889817.post@...1379...> References: <24889521.post@...1379...> <200908092004.02853.gambas@...1...> <24889817.post@...1379...> Message-ID: <200908092037.13956.gambas@...1...> > Beno?t Minisini wrote: > >> I wish to propose SQL object . > >> > >> in the project tree to add a new folder call SQL where it contain sql > >> object . > >> the sql object basically is just use to store sql code (like a local > >> stored > >> procedure) but you can edit with 2 option . one using sqlquery the > >> second edit the sql code (text directly) > > > > What is "sqlquery" ? > > sql query tools ? for example something like this > http://www.filebuzz.com/software_screenshot/full/46519-FlySpeed_SQL_Query.g >if OK, you want a tool to draw your queries... I'm almost sure I will never find the time to do that. But if you find a volunteer... -- Beno?t From dr.diesel at ...626... Sun Aug 9 20:37:45 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 9 Aug 2009 14:37:45 -0400 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908092030.58257.gambas@...1...> References: <4A771606.4030407@...1237...> <200908091950.05694.gambas@...1...> <2a28d2ab0908091111j47f76ccamf454cead9e587a31@...627...> <200908092030.58257.gambas@...1...> Message-ID: <2a28d2ab0908091137k74c20c13m9ea0d18ad49219d@...627...> 2009/8/9 Beno?t Minisini > > 2009/8/9 Beno?t Minisini > > > > > > > > After reinstalling gcc configure reports the following about gcc: > > > > > > checking for gcc... gcc > > > > > > checking for C compiler default output file name... a.out > > > > > > checking whether the C compiler works... yes > > > > > > checking whether we are cross compiling... no > > > > > > checking for suffix of executables... > > > > > > checking for suffix of object files... o > > > > > > checking whether we are using the GNU C compiler... yes > > > > > > checking whether gcc accepts -g... yes > > > > > > > > > > The message above was reported by "configure" from gambas 2.15. > > > > > Instead, configure from gambas2-svn still continue to tell me that > > > > > I'm _not_ using a GNU gcc compiler.... > > > > > Why?? :-/ > > > > > > > > AFAIK, I changed nothing in the configuration process in Gambas 2 > since > > > > > > the > > > > > > > beginning. I recently changed things only in Gambas 3 (/trunk). > > > > > > > > If you don't tell exactly which commands you run to compile Gambas, > it > > > > is difficult to understand what happens. > > > > > > > > Are you doing a ./reconf when compiling both gambas 2.15.2 and > gambas2 > > > > > > form > > > > > > > /branches/2.0 ? > > > > > > > > Because there is a "./configure" script located in the 2.15.2 source > > > > package, but it has been generated on my Mandriva. If you do a > > > > > > "./reconf", > > > > > > > you are generating the "./configure" script again, but on your own > > > > > > machine, > > > > > > > which may change many things. > > > > > > If you can send the configure script generated after you have done a > > > "./reconf", I will be able to compare it with the one generated on my > > > machine. > > > That could help in understanding what happens exactly. > > > > > > If Nick Rathke and Dr. Diesel see this message, they can do the same > > > thing. Please tell if you did it for Gambas2, Gambas3, and for which > > > revision or package. > > > > > > Thanks in advance. > > > > > > -- > > > Beno?t > > > > Please see attached configure script generated on Ubuntu 9.10_32bit > machine > > with gcc 4.4.1. > > > > thanks > > Andy > > Sorry, I forgot to tell that I want the configure script inside the main > directory, because it is the more important one. > > Regards, > > ------------------------------------------------------------------------------ > No problem, please see attached. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.tar.gz Type: application/x-gzip Size: 124656 bytes Desc: not available URL: From kobolds at ...2041... Sun Aug 9 20:58:12 2009 From: kobolds at ...2041... (kobolds) Date: Sun, 9 Aug 2009 11:58:12 -0700 (PDT) Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <4A7F150F.7010206@...626...> References: <24889521.post@...1379...> <4A7F150F.7010206@...626...> Message-ID: <24890016.post@...1379...> Jean-Yves F. Barbier-2 wrote: > > kobolds a ?crit : >> I wish to propose SQL object . >> >> in the project tree to add a new folder call SQL where it contain sql >> object >> . >> the sql object basically is just use to store sql code (like a local >> stored >> procedure) but you can edit with 2 option . one using sqlquery the second >> edit the sql code (text directly) >> >> these sql object can be call directly from the code . >> >> the purpose of sql object is so that >> - easy and cleaner to maintain . if you want to change the sql code , >> you >> don't need to hunt in your program source code > > ? A really good program doesn't contains much of SQL code, and if so, you > just have > to put it in only one class and that's all > >> - sqlquery tools make easy to create sql code > > manual SQL coding as *always* been far superior to whatever tools you can > use; > one of the reasons is no DB absolutely follow the SQLxxxx standards, each > have > its idomatics AND, sometimes, these "specialties" are mandatory against a > complex > application > >> - some database that you do not wish or unable to have stored proc in it > > 1st case is a terrible nonsense, 2nd: don't use such a dump > >> - provide independent test your sql code without running the program > > DB independant code is a popular DB rookies' myth: everybody producted > such a driver/piece of > code/addon/... however, if you dive into real good codes, you _never_ find > such things: they all > use specifics. > Of course, some programmers still think mysql is a real good DB and they > don't need stored > procs nor referential integrity; they also prefer to spend 4 days to > develop some application > remote poor code that could have been made in 4 hours as a stored proc; > which is 200% more sure. > > It is this kind of morons that yell to every ear that SQL is dead and "we > must and will find > a way to get rid of it" - still they're all wrong 'cos if such a solution > was "so easily" > reacheable, it should be today's standard. > > And testing SQL code from files is only possible if you issue small and > immutable queries; > if you involve 5 (or 15 or 45 or much more) tables, with a part of the > proc that determine > which tables will be further queried, you're out because your code is > complex and no query > appears as a unique and complete string > > > -- > Auribus teneo lupum. > [I hold a wolf by the ears.] > [Boy, it *sounds* good. But what does it *mean*?] > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >? A really good program doesn't contains much of SQL code, and if so, you just have to put it in only one class and that's all the most funny things I ever heard . in my 9 years of programming experiences, I had been mostly involved in database programs . some of it so complex that endup over 80+ stored proc . sorry that I not sure about those programs that don't required much sql >manual SQL coding as *always* been far superior to whatever tools you can use; one of the reasons is no DB absolutely follow the SQLxxxx standards, each have its idomatics AND, sometimes, these "specialties" are mandatory against a complex application yes manual coding is the best but why write when you have a tools to do it . I usually use the sql query tools . unless the tools can't do the things I want , I modify the code manually . this save you a lot of typing and error in case typo . >1st case is a terrible nonsense, 2nd: don't use such a dump I really don't understand this part . it 's not uncommon when your program don't have privilege to create stored procedure or in certain case you want to hide the code . >DB independant code is a popular DB rookies' myth: everybody producted such a driver/piece of code/addon/... however, if you dive into real good codes, you _never_ find such things: they all use specifics. I don't understand this also . what so strange to be able to test your sql code without running your program . I know a lot programming tools provide such option . sorry to ask this. are we living in same era ? -- View this message in context: http://www.nabble.com/Suggestion-SQL-object-tp24889521p24890016.html Sent from the gambas-user mailing list archive at Nabble.com. From kobolds at ...2041... Sun Aug 9 21:01:30 2009 From: kobolds at ...2041... (kobolds) Date: Sun, 9 Aug 2009 12:01:30 -0700 (PDT) Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <200908092037.13956.gambas@...1...> References: <24889521.post@...1379...> <200908092004.02853.gambas@...1...> <24889817.post@...1379...> <200908092037.13956.gambas@...1...> Message-ID: <24890056.post@...1379...> Beno?t Minisini wrote: > >> Beno?t Minisini wrote: >> >> I wish to propose SQL object . >> >> >> >> in the project tree to add a new folder call SQL where it contain sql >> >> object . >> >> the sql object basically is just use to store sql code (like a local >> >> stored >> >> procedure) but you can edit with 2 option . one using sqlquery the >> >> second edit the sql code (text directly) >> > >> > What is "sqlquery" ? >> >> sql query tools ? for example something like this >> http://www.filebuzz.com/software_screenshot/full/46519-FlySpeed_SQL_Query.g >>if > > OK, you want a tool to draw your queries... I'm almost sure I will never > find > the time to do that. But if you find a volunteer... > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > the sql query can wait for future but at least put the sql object into the project . for now giving manual code the sql and run the code function . -- View this message in context: http://www.nabble.com/Suggestion-SQL-object-tp24889521p24890056.html Sent from the gambas-user mailing list archive at Nabble.com. From gael.lehech at ...626... Sun Aug 9 21:21:28 2009 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Sun, 9 Aug 2009 21:21:28 +0200 Subject: [Gambas-user] Problem updating svn from revision 2209 In-Reply-To: <200908091723.35071.gambas@...1...> References: <200908042238.50821.gambas@...1...> <200908091723.35071.gambas@...1...> Message-ID: libtool-1.5.26 regards, Ga?l From 12ukwn at ...626... Sun Aug 9 21:44:00 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 09 Aug 2009 21:44:00 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <24890016.post@...1379...> References: <24889521.post@...1379...> <4A7F150F.7010206@...626...> <24890016.post@...1379...> Message-ID: <4A7F2700.3040900@...626...> kobolds a ?crit : ... >> ? A really good program doesn't contains much of SQL code, and if so, you > just have > to put it in only one class and that's all > > the most funny things I ever heard . in my 9 years of programming > experiences, I had been mostly involved in database programs . some of it so That was a general remark. > complex that endup over 80+ stored proc . sorry that I not sure about those > programs that don't required much sql Actually we don't play on the same ground: most of the projects I was involved in used 400-4,000 stored procedures. >> manual SQL coding as *always* been far superior to whatever tools you can > use; > one of the reasons is no DB absolutely follow the SQLxxxx standards, each > have > its idomatics AND, sometimes, these "specialties" are mandatory against a > complex > application > > yes manual coding is the best but why write when you have a tools to do it . > I usually use the sql query tools . unless the tools can't do the things I > want , I modify the code manually . this save you a lot of typing and error > in case typo . No, you didn't understood: any simple query, involving a few tables may be handled by such a tool, but when you grow them complex, they can't because most of the time they're not written by people that fully understand how a DB is working internally nor the philosophy differences between DBs. All *real* DBAs I met never ever use such things: they code manually. => "- some database that you do not wish or unable to have stored proc in it" >> 1st case is a terrible nonsense, 2nd: don't use such a dump > I really don't understand this part . it 's not uncommon when your program > don't have privilege to create stored procedure or in certain case you want > to hide the code . ??? Alien code can *NEVER EVER* create any stored procedure (nor any object other than a temporary table, and only for special purposes and users) in a DB; in what world are you living? Do you fully understand what is the meaning of "stored procedures" : These are SQL procedures (mostly, some can use foreign languages, such as C/C++/Python/ bash/...) that are stocked into the DB itself and called through they're names from the client's code. >> DB independant code is a popular DB rookies' myth: everybody producted such > a driver/piece of > code/addon/... however, if you dive into real good codes, you _never_ find > such things: they all > use specifics. > I don't understand this also . what so strange to be able to test your sql > code without running your program . I know a lot programming tools provide > such option . Ok, build an application with complexes and deterministics queries that involve a minimum of 10 tables and the creation of some temporary tables and you'll see what I mean; are you telling me you're gonna rewrite the same SQL code again and again when you're working with e.g. supplier or client's documents? when it is so easy to only have ONE stocked procedure to which you pass the correct arguments? In any way the only SQL code you must have into a client is query (read) code and nothing else. > sorry to ask this. are we living in same era ? I don't think so: I always thought that mysql was, is and will be a piece of shit and so forth with java - It is not because most of the industry and its lousy programmers think they're the best things in the world, that they are... -- Monday, n.: In Christian countries, the day after the baseball game. -- Ambrose Bierce, "The Devil's Dictionary" From ulusoyab at ...43... Sun Aug 9 22:12:42 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 9 Aug 2009 13:12:42 -0700 (PDT) Subject: [Gambas-user] glut In-Reply-To: <200908092022.06651.lordheavym@...626...> Message-ID: <413548.41928.qm@...2230...> i know this docs.? i dont know C and docs. examaples and description for? C code. so i cant use in gambas. --- 09/08/09 Pzr tarihinde Laurent Carlier ??yle yaz?yor: Kimden: Laurent Carlier Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 21:22 Le dimanche 09 ao?t 2009 13:28:53 abdurrahman ulusoy, vous avez ?crit : > ok. thanks. > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle > yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 14:18 > > try to join lordheavy for that, he is the maintainer of the ogl part > > > lordheavym at ...626... > > 2009/8/9 abdurrahman ulusoy : > > i saw few example, object selection in glarea? with glut and glut has > > some ready objects ( cylinder, box, teapot, etc...) . > > > >???if ther are? object selection (with mouse) example? in opengl in gambas > > this is enough for me. i dont use ready drawings. > > glut doesn't provide any "object" selection (i've just look in source code ;- p); I guess what you are calling is an opengl feature that is called object picking, provided since opengl 1.0 Lot of docs are available other the web. I guess all is provided in gb.opengl component, but if you find something missing, just say it, and we will provide it :-) http://gpwiki.org/index.php/OpenGL:Tutorials:Picking http://glprogramming.com/red/chapter14.html#name6 ++ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From doriano.blengino at ...1909... Sun Aug 9 22:42:27 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 09 Aug 2009 22:42:27 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <4A7F2700.3040900@...626...> References: <24889521.post@...1379...> <4A7F150F.7010206@...626...> <24890016.post@...1379...> <4A7F2700.3040900@...626...> Message-ID: <4A7F34B3.8020506@...1909...> Jean-Yves F. Barbier ha scritto: > >> complex that endup over 80+ stored proc . sorry that I not sure about those >> programs that don't required much sql >> > > Actually we don't play on the same ground: most of the projects I was involved > in used 400-4,000 stored procedures. > Dear Jean-Yves, do you mind to tell us what was your role in those gigantic frameworks? Were they a Panamerican Airlines booking system? And even so, I find your language extreme and offensive, as you knew everything. Nobody knows everything, so you may not know of other's needs. The methods one uses for big and complex programs are not well suited for little and simpler programs. But those simple programs are important too. I could agree with some of your statements, but please be more gentle. Sometimes one sees stupid ideas, and only after a while he realizes that those ideas were not so stupid. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From leonardo at ...1237... Sun Aug 9 23:17:02 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 09 Aug 2009 23:17:02 +0200 Subject: [Gambas-user] Errors compiling Gambas In-Reply-To: <200908092030.58257.gambas@...1...> References: <4A771606.4030407@...1237...> <200908091950.05694.gambas@...1...> <2a28d2ab0908091111j47f76ccamf454cead9e587a31@...627...> <200908092030.58257.gambas@...1...> Message-ID: <4A7F3CCE.4080809@...1237...> Beno?t Minisini ha scritto: >> 2009/8/9 Beno?t Minisini >> >>>>>> After reinstalling gcc configure reports the following about gcc: >>>>>> checking for gcc... gcc >>>>>> checking for C compiler default output file name... a.out >>>>>> checking whether the C compiler works... yes >>>>>> checking whether we are cross compiling... no >>>>>> checking for suffix of executables... >>>>>> checking for suffix of object files... o >>>>>> checking whether we are using the GNU C compiler... yes >>>>>> checking whether gcc accepts -g... yes >>>>> The message above was reported by "configure" from gambas 2.15. >>>>> Instead, configure from gambas2-svn still continue to tell me that >>>>> I'm _not_ using a GNU gcc compiler.... >>>>> Why?? :-/ >>>> AFAIK, I changed nothing in the configuration process in Gambas 2 since >>> the >>> >>>> beginning. I recently changed things only in Gambas 3 (/trunk). >>>> >>>> If you don't tell exactly which commands you run to compile Gambas, it >>>> is difficult to understand what happens. >>>> >>>> Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 >>> form >>> >>>> /branches/2.0 ? >>>> >>>> Because there is a "./configure" script located in the 2.15.2 source >>>> package, but it has been generated on my Mandriva. If you do a >>> "./reconf", >>> >>>> you are generating the "./configure" script again, but on your own >>> machine, >>> >>>> which may change many things. >>> If you can send the configure script generated after you have done a >>> "./reconf", I will be able to compare it with the one generated on my >>> machine. >>> That could help in understanding what happens exactly. >>> >>> If Nick Rathke and Dr. Diesel see this message, they can do the same >>> thing. Please tell if you did it for Gambas2, Gambas3, and for which >>> revision or package. >>> >>> Thanks in advance. >>> >>> -- >>> Beno?t >> Please see attached configure script generated on Ubuntu 9.10_32bit machine >> with gcc 4.4.1. >> >> thanks >> Andy > > Sorry, I forgot to tell that I want the configure script inside the main > directory, because it is the more important one. > > Regards, > In attachment you'll find both configure files. Waiting for your replay... -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org -------------- next part -------------- A non-text attachment was scrubbed... Name: configure_2.15.2.gz Type: application/x-gzip Size: 34427 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: configure_svn.gz Type: application/x-gzip Size: 34427 bytes Desc: not available URL: From 12ukwn at ...626... Sun Aug 9 23:43:41 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 09 Aug 2009 23:43:41 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <4A7F34B3.8020506@...1909...> References: <24889521.post@...1379...> <4A7F150F.7010206@...626...> <24890016.post@...1379...> <4A7F2700.3040900@...626...> <4A7F34B3.8020506@...1909...> Message-ID: <4A7F430D.6070006@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >>> complex that endup over 80+ stored proc . sorry that I not sure about those >>> programs that don't required much sql >>> >> Actually we don't play on the same ground: most of the projects I was involved >> in used 400-4,000 stored procedures. >> > Dear Jean-Yves, > > do you mind to tell us what was your role in those gigantic frameworks? > Were they a Panamerican Airlines booking system? And even so, I find Chief of project (one of many) - Freight booking division. Not PanAm: Air-France. If the network is really gigantic (leased lines, phone lines, cables, satellites, ethernet...), frameworks aren't (the data quantity is); you can easily have a more complex system with a complete data management system (ie: Adempiere is far more complex.) > your language extreme and offensive, as you knew everything. Nobody > knows everything, so you may not know of other's needs. The methods one > uses for big and complex programs are not well suited for little and > simpler programs. But those simple programs are important too. I felt the same from what he said and I don't pretend to know everything on anything (but I also don't pretend to know nothing either:), I'm mad because he speaks about things he obviously don't master or confond with other things I don't know about. May be it is because I had the luck to work with and knew talentuous developpers in both programming and DBs and learn a lot from them. I also don't take a rise at "small" programs (huges are often made of smalls), I'm talking about basic rules you can't drift from without going toward many disagrements: it is not because you're buiding a small application that you will do it bad, no?! > I could agree with some of your statements, but please be more gentle. > Sometimes one sees stupid ideas, and only after a while he realizes that > those ideas were not so stupid. Yeah I know, but unfortunately I don't think we're into this particular case. Sorry if you felt it offensive, it should have remained in MP, not public. -- Quid me anxius sum? [ What? Me, worry? ] From kobolds at ...2041... Mon Aug 10 00:31:30 2009 From: kobolds at ...2041... (kobolds) Date: Sun, 9 Aug 2009 15:31:30 -0700 (PDT) Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <4A7F430D.6070006@...626...> References: <24889521.post@...1379...> <4A7F150F.7010206@...626...> <24890016.post@...1379...> <4A7F2700.3040900@...626...> <4A7F34B3.8020506@...1909...> <4A7F430D.6070006@...626...> Message-ID: <24891971.post@...1379...> Jean-Yves F. Barbier-2 wrote: > > Doriano Blengino a ?crit : >> Jean-Yves F. Barbier ha scritto: >>>> complex that endup over 80+ stored proc . sorry that I not sure about >>>> those >>>> programs that don't required much sql >>>> >>> Actually we don't play on the same ground: most of the projects I was >>> involved >>> in used 400-4,000 stored procedures. >>> >> Dear Jean-Yves, >> >> do you mind to tell us what was your role in those gigantic frameworks? >> Were they a Panamerican Airlines booking system? And even so, I find > > Chief of project (one of many) - Freight booking division. > Not PanAm: Air-France. > > If the network is really gigantic (leased lines, phone lines, cables, > satellites, ethernet...), > frameworks aren't (the data quantity is); you can easily have a more > complex system > with a complete data management system (ie: Adempiere is far more > complex.) > >> your language extreme and offensive, as you knew everything. Nobody >> knows everything, so you may not know of other's needs. The methods one >> uses for big and complex programs are not well suited for little and >> simpler programs. But those simple programs are important too. > > I felt the same from what he said and I don't pretend to know everything > on anything > (but I also don't pretend to know nothing either:), I'm mad because he > speaks about > things he obviously don't master or confond with other things I don't know > about. > May be it is because I had the luck to work with and knew talentuous > developpers in both > programming and DBs and learn a lot from them. > > I also don't take a rise at "small" programs (huges are often made of > smalls), I'm > talking about basic rules you can't drift from without going toward many > disagrements: > it is not because you're buiding a small application that you will do it > bad, no?! > >> I could agree with some of your statements, but please be more gentle. >> Sometimes one sees stupid ideas, and only after a while he realizes that >> those ideas were not so stupid. > > Yeah I know, but unfortunately I don't think we're into this particular > case. > > Sorry if you felt it offensive, it should have remained in MP, not public. > > -- > Quid me anxius sum? > [ What? Me, worry? ] > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > can you people come back to main discussion about Query Object . let me give example of the benefit of query object you create a query object call Qcustomer . in your program you can reuse to call it using exec(Qcustomer, param1, param2) . - when you need to modify the sql , all you need is to open Qcustomer and modify the sql code in it . - when error happen , you can execute / run the Qcustomer alone with out running your program . this make easy in debuging . also you can know for sure the result return from the query. of course all this you can manual do your self but why make life difficult . so tell me what so stupid in this idea? -- View this message in context: http://www.nabble.com/Suggestion-SQL-object-tp24889521p24891971.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Aug 10 00:39:53 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Aug 2009 00:39:53 +0200 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <24891971.post@...1379...> References: <24889521.post@...1379...> <4A7F430D.6070006@...626...> <24891971.post@...1379...> Message-ID: <200908100039.53359.gambas@...1...> > Jean-Yves F. Barbier-2 wrote: > > Doriano Blengino a ?crit : > >> Jean-Yves F. Barbier ha scritto: > >>>> complex that endup over 80+ stored proc . sorry that I not sure about > >>>> those > >>>> programs that don't required much sql > >>> > >>> Actually we don't play on the same ground: most of the projects I was > >>> involved > >>> in used 400-4,000 stored procedures. > >> > >> Dear Jean-Yves, > >> > >> do you mind to tell us what was your role in those gigantic frameworks? > >> Were they a Panamerican Airlines booking system? And even so, I find > > > > Chief of project (one of many) - Freight booking division. > > Not PanAm: Air-France. > > > > If the network is really gigantic (leased lines, phone lines, cables, > > satellites, ethernet...), > > frameworks aren't (the data quantity is); you can easily have a more > > complex system > > with a complete data management system (ie: Adempiere is far more > > complex.) > > > >> your language extreme and offensive, as you knew everything. Nobody > >> knows everything, so you may not know of other's needs. The methods one > >> uses for big and complex programs are not well suited for little and > >> simpler programs. But those simple programs are important too. > > > > I felt the same from what he said and I don't pretend to know everything > > on anything > > (but I also don't pretend to know nothing either:), I'm mad because he > > speaks about > > things he obviously don't master or confond with other things I don't > > know about. > > May be it is because I had the luck to work with and knew talentuous > > developpers in both > > programming and DBs and learn a lot from them. > > > > I also don't take a rise at "small" programs (huges are often made of > > smalls), I'm > > talking about basic rules you can't drift from without going toward many > > disagrements: > > it is not because you're buiding a small application that you will do it > > bad, no?! > > > >> I could agree with some of your statements, but please be more gentle. > >> Sometimes one sees stupid ideas, and only after a while he realizes that > >> those ideas were not so stupid. > > > > Yeah I know, but unfortunately I don't think we're into this particular > > case. > > > > Sorry if you felt it offensive, it should have remained in MP, not > > public. > > can you people come back to main discussion about Query Object . > > let me give example of the benefit of query object > you create a query object call Qcustomer . in your program you can reuse to > call it using exec(Qcustomer, param1, param2) . > > - when you need to modify the sql , all you need is to open Qcustomer and > modify the sql code in it . > - when error happen , you can execute / run the Qcustomer alone with out > running your program . this make easy in debuging . also you can know for > sure the result return from the query. > > of course all this you can manual do your self but why make life difficult > . > > so tell me what so stupid in this idea? It's not stupid, but one must find a clean way to implement that in the IDE. -- Beno?t From rterry at ...1946... Mon Aug 10 00:48:04 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 08:48:04 +1000 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <200908100039.53359.gambas@...1...> References: <24889521.post@...1379...> <24891971.post@...1379...> <200908100039.53359.gambas@...1...> Message-ID: <200908100848.04613.rterry@...1946...> On Mon, 10 Aug 2009 08:39:53 am Beno?t Minisini wrote: > > Jean-Yves F. Barbier-2 wrote: > > > Doriano Blengino a ?crit : > > >> Jean-Yves F. Barbier ha scritto: > > >>>> complex that endup over 80+ stored proc . sorry that I not sure > > >>>> about those > > >>>> programs that don't required much sql > > >>> > > >>> Actually we don't play on the same ground: most of the projects I was > > >>> involved > > >>> in used 400-4,000 stored procedures. > > >> > > >> Dear Jean-Yves, > > >> > > >> do you mind to tell us what was your role in those gigantic > > >> frameworks? Were they a Panamerican Airlines booking system? And even > > >> so, I find > > > > > > Chief of project (one of many) - Freight booking division. > > > Not PanAm: Air-France. > > > > > > If the network is really gigantic (leased lines, phone lines, cables, > > > satellites, ethernet...), > > > frameworks aren't (the data quantity is); you can easily have a more > > > complex system > > > with a complete data management system (ie: Adempiere is far more > > > complex.) > > > > > >> your language extreme and offensive, as you knew everything. Nobody > > >> knows everything, so you may not know of other's needs. The methods > > >> one uses for big and complex programs are not well suited for little > > >> and simpler programs. But those simple programs are important too. > > > > > > I felt the same from what he said and I don't pretend to know > > > everything on anything > > > (but I also don't pretend to know nothing either:), I'm mad because he > > > speaks about > > > things he obviously don't master or confond with other things I don't > > > know about. > > > May be it is because I had the luck to work with and knew talentuous > > > developpers in both > > > programming and DBs and learn a lot from them. > > > > > > I also don't take a rise at "small" programs (huges are often made of > > > smalls), I'm > > > talking about basic rules you can't drift from without going toward > > > many disagrements: > > > it is not because you're buiding a small application that you will do > > > it bad, no?! > > > > > >> I could agree with some of your statements, but please be more gentle. > > >> Sometimes one sees stupid ideas, and only after a while he realizes > > >> that those ideas were not so stupid. > > > > > > Yeah I know, but unfortunately I don't think we're into this particular > > > case. > > > > > > Sorry if you felt it offensive, it should have remained in MP, not > > > public. > > > > can you people come back to main discussion about Query Object . > > > > let me give example of the benefit of query object > > you create a query object call Qcustomer . in your program you can reuse > > to call it using exec(Qcustomer, param1, param2) . > > > > - when you need to modify the sql , all you need is to open Qcustomer and > > modify the sql code in it . > > - when error happen , you can execute / run the Qcustomer alone with out > > running your program . this make easy in debuging . also you can know for > > sure the result return from the query. > > > > of course all this you can manual do your self but why make life > > difficult . > > > > so tell me what so stupid in this idea? > > It's not stupid, but one must find a clean way to implement that in the > IDE. I agree - needs an elegant solution. I'll also think about it. Richard From rterry at ...1946... Mon Aug 10 00:56:28 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 08:56:28 +1000 Subject: [Gambas-user] Suggestion SQL object In-Reply-To: <200908100848.04613.rterry@...1946...> References: <24889521.post@...1379...> <200908100039.53359.gambas@...1...> <200908100848.04613.rterry@...1946...> Message-ID: <200908100856.28419.rterry@...1946...> On Mon, 10 Aug 2009 08:48:04 am richard terry wrote: Sorry, misread the email and the discussion, ignore my not related reply!!! Richard > On Mon, 10 Aug 2009 08:39:53 am Beno?t Minisini wrote: > > > Jean-Yves F. Barbier-2 wrote: > > > > Doriano Blengino a ?crit : > > > >> Jean-Yves F. Barbier ha scritto: > > > >>>> complex that endup over 80+ stored proc . sorry that I not sure > > > >>>> about those > > > >>>> programs that don't required much sql > > > >>> > > > >>> Actually we don't play on the same ground: most of the projects I > > > >>> was involved > > > >>> in used 400-4,000 stored procedures. > > > >> > > > >> Dear Jean-Yves, > > > >> > > > >> do you mind to tell us what was your role in those gigantic > > > >> frameworks? Were they a Panamerican Airlines booking system? And > > > >> even so, I find > > > > > > > > Chief of project (one of many) - Freight booking division. > > > > Not PanAm: Air-France. > > > > > > > > If the network is really gigantic (leased lines, phone lines, cables, > > > > satellites, ethernet...), > > > > frameworks aren't (the data quantity is); you can easily have a more > > > > complex system > > > > with a complete data management system (ie: Adempiere is far more > > > > complex.) > > > > > > > >> your language extreme and offensive, as you knew everything. Nobody > > > >> knows everything, so you may not know of other's needs. The methods > > > >> one uses for big and complex programs are not well suited for little > > > >> and simpler programs. But those simple programs are important too. > > > > > > > > I felt the same from what he said and I don't pretend to know > > > > everything on anything > > > > (but I also don't pretend to know nothing either:), I'm mad because > > > > he speaks about > > > > things he obviously don't master or confond with other things I don't > > > > know about. > > > > May be it is because I had the luck to work with and knew talentuous > > > > developpers in both > > > > programming and DBs and learn a lot from them. > > > > > > > > I also don't take a rise at "small" programs (huges are often made of > > > > smalls), I'm > > > > talking about basic rules you can't drift from without going toward > > > > many disagrements: > > > > it is not because you're buiding a small application that you will do > > > > it bad, no?! > > > > > > > >> I could agree with some of your statements, but please be more > > > >> gentle. Sometimes one sees stupid ideas, and only after a while he > > > >> realizes that those ideas were not so stupid. > > > > > > > > Yeah I know, but unfortunately I don't think we're into this > > > > particular case. > > > > > > > > Sorry if you felt it offensive, it should have remained in MP, not > > > > public. > > > > > > can you people come back to main discussion about Query Object . > > > > > > let me give example of the benefit of query object > > > you create a query object call Qcustomer . in your program you can > > > reuse to call it using exec(Qcustomer, param1, param2) . > > > > > > - when you need to modify the sql , all you need is to open Qcustomer > > > and modify the sql code in it . > > > - when error happen , you can execute / run the Qcustomer alone with > > > out running your program . this make easy in debuging . also you can > > > know for sure the result return from the query. > > > > > > of course all this you can manual do your self but why make life > > > difficult . > > > > > > so tell me what so stupid in this idea? > > > > It's not stupid, but one must find a clean way to implement that in the > > IDE. > > I agree - needs an elegant solution. I'll also think about it. > > Richard > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Aug 10 01:41:37 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Aug 2009 01:41:37 +0200 Subject: [Gambas-user] =?utf-8?q?RE=EF=BC=9A_Gambas-user_Digest=2C_Vol_39?= =?utf-8?q?=2C_Issue_22?= In-Reply-To: <174592.64808.qm@...2263...> References: <174592.64808.qm@...2263...> Message-ID: <200908100141.37586.gambas@...1...> > Following code is my program, its has the "ilegal instruction" bug. > In the main class > PUBLIC SUB Main() > DIM fd AS FlowData > DIM at AS ShiXing > at = NEW ShiXing(fd) > > END > > In the FlowData class > PUBLIC CONST ZhengYin AS Integer = 0 > PUBLIC CONST BiJian AS Integer = 1 > PUBLIC CONST JieCai AS Integer = 2 > PUBLIC CONST ShiShen AS Integer = 3 > PUBLIC CONST ShangGuan AS Integer = 4 > PUBLIC CONST PianCai AS Integer = 5 > PUBLIC CONST ZhengCai AS Integer = 6 > PUBLIC CONST QiSha AS Integer = 7 > PUBLIC CONST ZhengGuan AS Integer = 8 > PUBLIC CONST PianYin AS Integer = 9 > > In the ShiXing Class > ' Gambas class file > PRIVATE fd AS FlowData > STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, > fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, > fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, > fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, > fd.JieCai] STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, > fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, > fd.ZhengGuan] STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, > fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, > fd.JieCai, fd.ZhengYin] STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, > fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, > fd.PianYin, fd.ZhengYin] STATIC tk6 AS Integer[] = [fd.ShiShen, > fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, > fd.ZhengGuan, fd.BiJian, fd.JieCai] STATIC tk7 AS Integer[] = [fd.PianCai, > fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, > fd.BiJian, fd.ShiShen, fd.ZhengGuan] STATIC tk8 AS integer[] = > [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, > fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk9 AS Integer[] = > [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, > fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > > PUBLIC SUB _new(fd1 AS FlowData) > fd = fd1 > > > END > And I don't need to write it like this, I' ve a perfect solution to write. > > Thank You > > Hi, The error message displayed is incorrect, but you are not allowed to do that: STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, ... Because fd is a dynamic variable, and you are initializing a static one. Inside static code, you cannot use any dynamic symbol. Instead you must write: STATIC tk0 AS Integer[] = [FlowData.ShangGuan, FlowData.JieCai, FlowData.BiJian, ... Regards, -- Beno?t From sktan007 at ...43... Mon Aug 10 01:53:20 2009 From: sktan007 at ...43... (Swee Kwang Tan) Date: Sun, 9 Aug 2009 16:53:20 -0700 (PDT) Subject: [Gambas-user] =?utf-8?q?RE=EF=BC=9A_Why_I_meet_=22illegal_instruc?= =?utf-8?q?tion=22_=3F?= In-Reply-To: Message-ID: <905537.5318.qm@...2263...> My Dear, If you add this line fd = new flowdata then you still get a "illegal instruction". The main program become below, and the file of FlowData and ShiXing unchange. PUBLIC SUB Main() ????????? DIM fd AS FlowData ????????? DIM at AS ShiXing ????????? fd = NEW FlowData ? ?? 'add this line ????????? at = NEW ShiXing(fd) ??? END Thank You --- 09/8/9 (?)?gambas-user-request at lists.sourceforge.net ??? ???: gambas-user-request at lists.sourceforge.net ??: Gambas-user Digest, Vol 39, Issue 26 ???: gambas-user at lists.sourceforge.net ??: 2009?8?9?,?,??4:34 Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: glut (abdurrahman ulusoy) ???2. Re: How to make a movie-type screen dump (Charlie Reinl) ???3. Re: Problem updating svn from revision 2209 (Ga?l Le Hec'H) ???4. Re: RE? Gambas-user Digest, Vol 39, Issue 22 (Doriano Blengino) ???5. Re: Problem updating svn from revision 2209 (Beno?t Minisini) ???6. Re: Errors compiling Gambas (Leonardo Miliani) ---------------------------------------------------------------------- Message: 1 Date: Sun, 9 Aug 2009 04:28:53 -0700 (PDT) From: abdurrahman ulusoy Subject: Re: [Gambas-user] glut To: mailing list for gambas users Message-ID: <217550.39036.qm at ...2246...> Content-Type: text/plain; charset=utf-8 ok. thanks. --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 14:18 try to join lordheavy for that, he is the maintainer of the ogl part lordheavym at ...626... 2009/8/9 abdurrahman ulusoy : > i saw few example, object selection in glarea? with glut and glut has some ready objects > ( cylinder, box, teapot, etc...) . > > ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 13:59 > > yes it's true ... so what did you need ? qt.opengl ? > > > > > 2009/8/9 abdurrahman ulusoy : >> when i import gb.sdl >> error >> "These components are incompatible: >> gb.qt,gbsdl" >> >> >> >> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] glut >> Kime: "mailing list for gambas users" >> Tarihi: 9 A?ustos 2009 Pazar, 12:04 >> >> no but you can use gb.sdl for the same thing >> >> 2009/8/9 abdurrahman ulusoy : >>> hi >>> i think there arent glut library in gambas. do you think import it. >>> >>> >>> >>> >>> ? ? ?___________________________________________________________________ >>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ? ? ? ___________________________________________________________________ Yahoo! T?rkiye a??ld?!? http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! ------------------------------ Message: 2 Date: Sun, 09 Aug 2009 13:36:59 +0200 From: Charlie Reinl Subject: Re: [Gambas-user] How to make a movie-type screen dump To: mailing list for gambas users Message-ID: <1249817819.7232.3.camel at ...40...> Content-Type: text/plain Am Sonntag, den 09.08.2009, 12:22 +0200 schrieb Fabien Bodard: > http://en.wikipedia.org/wiki/Recordmydesktop > > 2009/8/9 richard terry : > > I wondered if anyone knew how to do a screen capture of ones actions whilst > > using a program for demonstration purposes? > > > > Regards > > > > Richard Salut, http://www.debugmode.com/wink/ nice for making help - demos. -- Amicalment Charlie ------------------------------ Message: 3 Date: Sun, 9 Aug 2009 16:07:48 +0200 From: Ga?l Le Hec'H Subject: Re: [Gambas-user] Problem updating svn from revision 2209 To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 > subversion feels stupid there. Just remove the libltdl directory by hand > before doing 'svn update'. > succeeded to update after removal of main/libltdl but with revision 2228 I get this error when reconf-all /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8:?? run info '(automake)Extending aclocal' /usr/share/aclocal/nspr.m4:8:?? or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39:?? The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39:?? If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39:?? its definition is in aclocal's search path. /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.10/am/depend2.am:???? AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.10/am/depend2.am:???? AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am:?? The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am:?? to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 this on slackware 12.2, no change in gcc or whatever between both revision Regards, Ga?l ------------------------------ Message: 4 Date: Sun, 09 Aug 2009 17:15:05 +0200 From: Doriano Blengino Subject: Re: [Gambas-user] RE? Gambas-user Digest, Vol 39, Issue 22 To: mailing list for gambas users Message-ID: <4A7EE7F9.6000304 at ...1909...> Content-Type: text/plain; charset=UTF-8; format=flowed Swee Kwang Tan ha scritto: > Following code is my program, its has the "ilegal instruction" bug. > In the main class > PUBLIC SUB Main() >? ? ? ? ???DIM fd AS FlowData >? ? ? ? ???DIM at AS ShiXing >? ? ? ? ???at = NEW ShiXing(fd) >? ??? > END > > In the FlowData class > PUBLIC CONST ZhengYin AS Integer = 0 > PUBLIC CONST BiJian AS Integer = 1 > PUBLIC CONST JieCai AS Integer = 2 > PUBLIC CONST ShiShen AS Integer = 3 > PUBLIC CONST ShangGuan AS Integer = 4 > PUBLIC CONST PianCai AS Integer = 5 > PUBLIC CONST ZhengCai AS Integer = 6 > PUBLIC CONST QiSha AS Integer = 7 > PUBLIC CONST ZhengGuan AS Integer = 8 > PUBLIC CONST PianYin AS Integer = 9 > > In the ShiXing Class > ' Gambas class file > PRIVATE fd AS FlowData > STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk6 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk7 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk8 AS integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk9 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > > PUBLIC SUB _new(fd1 AS FlowData) >? ? ? ???fd = fd1 >??? >??? > END > And I don't need to write it? like this, I' ve a perfect solution to write. >??? I think that in Main(), when you do ? ? ? ? ? at = NEW ShiXing(fd) you are creating a new instance of ShiXing, passing the "fd" which is NULL. Then the new "ShiXing" tries to refer to fd, thinking it is an object, but it is not because it is NULL. This should raise some Gambas error, but not an Illegal Instruction. I also notice that the class FlowData only contains constants; if it is so, then there is no need to use a class - better to use a module. This is an argument I don't understand much, but your way to do seems erroneous to me. In ShiXing._new() you assign fd=fd1: there is collision as fd is both a name of class, and an instance of an object. Again, I don't know how this should be interpreted, but my idea is it should be forbidden, and you should avoid it, and Gambas should refuse compilation. But you use this strange form, Gambas does not catch it as an error nor during compilation and nor during runtime, and something strange happens. This is matter for Benoit... Hope this explains a little more... Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." ------------------------------ Message: 5 Date: Sun, 9 Aug 2009 17:23:35 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Problem updating svn from revision 2209 To: mailing list for gambas users Message-ID: <200908091723.35071.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > subversion feels stupid there. Just remove the libltdl directory by hand > > before doing 'svn update'. > > succeeded to update after removal of main/libltdl but with revision > 2228 I get this error when reconf-all > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of > AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8:???run info '(automake)Extending > aclocal' /usr/share/aclocal/nspr.m4:8:???or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > Makefile.am:39:???The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' Makefile.am:39:???to `configure.ac' and run `aclocal' and > `autoconf' again. Makefile.am:39:???If `AC_PROG_LIBTOOL' is in > `configure.ac', make sure Makefile.am:39:???its definition is in aclocal's > search path. > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am:???The usual way to define > `am__fastdepCC' is to add `AC_PROG_CC' > /usr/share/automake-1.10/am/depend2.am:???to `configure.ac' and run > `aclocal' and `autoconf' again. > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:???The usual way to > define > `AMDEP' is to add one of the compiler tests > /usr/share/automake-1.10/am/depend2.am:? ???AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/share/automake-1.10/am/depend2.am:? ???AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am:???to `configure.ac' and > run `aclocal' and `autoconf' again. > Makefile.am: C source seen but `CC' is undefined > Makefile.am:???The usual way to define `CC' is to add `AC_PROG_CC' > Makefile.am:???to `configure.ac' and run `autoconf' again. > autoreconf: automake failed with exit status: 1 > > this on slackware 12.2, no change in gcc or whatever between both revision > > > Regards, > > Ga?l > Since rev. 2210, I have upgraded the source package to libtool 2.6. Which version of libtool do you use on slackware? -- Beno?t ------------------------------ Message: 6 Date: Sun, 09 Aug 2009 18:34:55 +0200 From: Leonardo Miliani Subject: Re: [Gambas-user] Errors compiling Gambas To: mailing list for gambas users Message-ID: <4A7EFAAF.6020503 at ...1237...> Content-Type: text/plain; charset=UTF-8; format=flowed Beno?t Minisini ha scritto: >> Beno?t Minisini ha scritto: >>>> This is the output of the make command on Gambas2 SVN. >>> I think you have a problem on your system, as gcc tells it does not >>> recognize an option... >>> >>> Please post the full output of the compilation process, i.e. with >>> configure. >>> >>> And try to do a checkout from scratch, and a ./reconf before doing >>> "./configure -C". >>> >>> Regards, >> I suppose you know that Arch Linux is a rolling release distro so every >> program is always at the very last version. Maybe there could be a >> compatibily issue between Gambas sources and gcc 4.4.1 that is installed >> on my system? >> >> P.S.: >> I've inclued part of the /reconf-all command too. It contains a loto of >> messages that I've never seen before. > > You have clearly a problem with your installation of gcc. I think either you > didn't install it completely (for example a new gcc with an old linker), or > the new version of gcc is not compatible with the old one, but I think it is > unlikely. > > Regards, > Could you please post the the version of gcc needed to compile Gambas? Or the version that you used? I cannot understand why until the rev. #2127 I was able to compile Gambas and now I'm not. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 39, Issue 26 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com From sktan007 at ...43... Mon Aug 10 01:53:20 2009 From: sktan007 at ...43... (Swee Kwang Tan) Date: Sun, 9 Aug 2009 16:53:20 -0700 (PDT) Subject: [Gambas-user] =?utf-8?q?RE=EF=BC=9A_Why_I_meet_=22illegal_instruc?= =?utf-8?q?tion=22_=3F?= In-Reply-To: Message-ID: <905537.5318.qm@...2263...> My Dear, If you add this line fd = new flowdata then you still get a "illegal instruction". The main program become below, and the file of FlowData and ShiXing unchange. PUBLIC SUB Main() ????????? DIM fd AS FlowData ????????? DIM at AS ShiXing ????????? fd = NEW FlowData ? ?? 'add this line ????????? at = NEW ShiXing(fd) ??? END Thank You --- 09/8/9 (?)?gambas-user-request at lists.sourceforge.net ??? ???: gambas-user-request at lists.sourceforge.net ??: Gambas-user Digest, Vol 39, Issue 26 ???: gambas-user at lists.sourceforge.net ??: 2009?8?9?,?,??4:34 Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: glut (abdurrahman ulusoy) ???2. Re: How to make a movie-type screen dump (Charlie Reinl) ???3. Re: Problem updating svn from revision 2209 (Ga?l Le Hec'H) ???4. Re: RE? Gambas-user Digest, Vol 39, Issue 22 (Doriano Blengino) ???5. Re: Problem updating svn from revision 2209 (Beno?t Minisini) ???6. Re: Errors compiling Gambas (Leonardo Miliani) ---------------------------------------------------------------------- Message: 1 Date: Sun, 9 Aug 2009 04:28:53 -0700 (PDT) From: abdurrahman ulusoy Subject: Re: [Gambas-user] glut To: mailing list for gambas users Message-ID: <217550.39036.qm at ...2246...> Content-Type: text/plain; charset=utf-8 ok. thanks. --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 9 A?ustos 2009 Pazar, 14:18 try to join lordheavy for that, he is the maintainer of the ogl part lordheavym at ...626... 2009/8/9 abdurrahman ulusoy : > i saw few example, object selection in glarea? with glut and glut has some ready objects > ( cylinder, box, teapot, etc...) . > > ? if ther are? object selection (with mouse) example? in opengl in gambas this is enough for me. i dont use ready drawings. > > --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] glut > Kime: "mailing list for gambas users" > Tarihi: 9 A?ustos 2009 Pazar, 13:59 > > yes it's true ... so what did you need ? qt.opengl ? > > > > > 2009/8/9 abdurrahman ulusoy : >> when i import gb.sdl >> error >> "These components are incompatible: >> gb.qt,gbsdl" >> >> >> >> --- 09/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] glut >> Kime: "mailing list for gambas users" >> Tarihi: 9 A?ustos 2009 Pazar, 12:04 >> >> no but you can use gb.sdl for the same thing >> >> 2009/8/9 abdurrahman ulusoy : >>> hi >>> i think there arent glut library in gambas. do you think import it. >>> >>> >>> >>> >>> ? ? ?___________________________________________________________________ >>> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >>> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now.? http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ? ? ?___________________________________________________________________ >> Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr >> ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ? ? ? ___________________________________________________________________ Yahoo! T?rkiye a??ld?!? http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! ------------------------------ Message: 2 Date: Sun, 09 Aug 2009 13:36:59 +0200 From: Charlie Reinl Subject: Re: [Gambas-user] How to make a movie-type screen dump To: mailing list for gambas users Message-ID: <1249817819.7232.3.camel at ...40...> Content-Type: text/plain Am Sonntag, den 09.08.2009, 12:22 +0200 schrieb Fabien Bodard: > http://en.wikipedia.org/wiki/Recordmydesktop > > 2009/8/9 richard terry : > > I wondered if anyone knew how to do a screen capture of ones actions whilst > > using a program for demonstration purposes? > > > > Regards > > > > Richard Salut, http://www.debugmode.com/wink/ nice for making help - demos. -- Amicalment Charlie ------------------------------ Message: 3 Date: Sun, 9 Aug 2009 16:07:48 +0200 From: Ga?l Le Hec'H Subject: Re: [Gambas-user] Problem updating svn from revision 2209 To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 > subversion feels stupid there. Just remove the libltdl directory by hand > before doing 'svn update'. > succeeded to update after removal of main/libltdl but with revision 2228 I get this error when reconf-all /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8:?? run info '(automake)Extending aclocal' /usr/share/aclocal/nspr.m4:8:?? or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39:?? The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39:?? If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39:?? its definition is in aclocal's search path. /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:?? The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.10/am/depend2.am:???? AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.10/am/depend2.am:???? AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am:?? to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am:?? The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am:?? to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 this on slackware 12.2, no change in gcc or whatever between both revision Regards, Ga?l ------------------------------ Message: 4 Date: Sun, 09 Aug 2009 17:15:05 +0200 From: Doriano Blengino Subject: Re: [Gambas-user] RE? Gambas-user Digest, Vol 39, Issue 22 To: mailing list for gambas users Message-ID: <4A7EE7F9.6000304 at ...1909...> Content-Type: text/plain; charset=UTF-8; format=flowed Swee Kwang Tan ha scritto: > Following code is my program, its has the "ilegal instruction" bug. > In the main class > PUBLIC SUB Main() >? ? ? ? ???DIM fd AS FlowData >? ? ? ? ???DIM at AS ShiXing >? ? ? ? ???at = NEW ShiXing(fd) >? ??? > END > > In the FlowData class > PUBLIC CONST ZhengYin AS Integer = 0 > PUBLIC CONST BiJian AS Integer = 1 > PUBLIC CONST JieCai AS Integer = 2 > PUBLIC CONST ShiShen AS Integer = 3 > PUBLIC CONST ShangGuan AS Integer = 4 > PUBLIC CONST PianCai AS Integer = 5 > PUBLIC CONST ZhengCai AS Integer = 6 > PUBLIC CONST QiSha AS Integer = 7 > PUBLIC CONST ZhengGuan AS Integer = 8 > PUBLIC CONST PianYin AS Integer = 9 > > In the ShiXing Class > ' Gambas class file > PRIVATE fd AS FlowData > STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > STATIC tk6 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] > STATIC tk7 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] > STATIC tk8 AS integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] > STATIC tk9 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] > > PUBLIC SUB _new(fd1 AS FlowData) >? ? ? ???fd = fd1 >??? >??? > END > And I don't need to write it? like this, I' ve a perfect solution to write. >??? I think that in Main(), when you do ? ? ? ? ? at = NEW ShiXing(fd) you are creating a new instance of ShiXing, passing the "fd" which is NULL. Then the new "ShiXing" tries to refer to fd, thinking it is an object, but it is not because it is NULL. This should raise some Gambas error, but not an Illegal Instruction. I also notice that the class FlowData only contains constants; if it is so, then there is no need to use a class - better to use a module. This is an argument I don't understand much, but your way to do seems erroneous to me. In ShiXing._new() you assign fd=fd1: there is collision as fd is both a name of class, and an instance of an object. Again, I don't know how this should be interpreted, but my idea is it should be forbidden, and you should avoid it, and Gambas should refuse compilation. But you use this strange form, Gambas does not catch it as an error nor during compilation and nor during runtime, and something strange happens. This is matter for Benoit... Hope this explains a little more... Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." ------------------------------ Message: 5 Date: Sun, 9 Aug 2009 17:23:35 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] Problem updating svn from revision 2209 To: mailing list for gambas users Message-ID: <200908091723.35071.gambas at ...1...> Content-Type: Text/Plain;? charset="utf-8" > > subversion feels stupid there. Just remove the libltdl directory by hand > > before doing 'svn update'. > > succeeded to update after removal of main/libltdl but with revision > 2228 I get this error when reconf-all > > /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of > AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8:???run info '(automake)Extending > aclocal' /usr/share/aclocal/nspr.m4:8:???or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > Makefile.am:39:???The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' Makefile.am:39:???to `configure.ac' and run `aclocal' and > `autoconf' again. Makefile.am:39:???If `AC_PROG_LIBTOOL' is in > `configure.ac', make sure Makefile.am:39:???its definition is in aclocal's > search path. > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/share/automake-1.10/am/depend2.am:???The usual way to define > `am__fastdepCC' is to add `AC_PROG_CC' > /usr/share/automake-1.10/am/depend2.am:???to `configure.ac' and run > `aclocal' and `autoconf' again. > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am:???The usual way to > define > `AMDEP' is to add one of the compiler tests > /usr/share/automake-1.10/am/depend2.am:? ???AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/share/automake-1.10/am/depend2.am:? ???AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am:???to `configure.ac' and > run `aclocal' and `autoconf' again. > Makefile.am: C source seen but `CC' is undefined > Makefile.am:???The usual way to define `CC' is to add `AC_PROG_CC' > Makefile.am:???to `configure.ac' and run `autoconf' again. > autoreconf: automake failed with exit status: 1 > > this on slackware 12.2, no change in gcc or whatever between both revision > > > Regards, > > Ga?l > Since rev. 2210, I have upgraded the source package to libtool 2.6. Which version of libtool do you use on slackware? -- Beno?t ------------------------------ Message: 6 Date: Sun, 09 Aug 2009 18:34:55 +0200 From: Leonardo Miliani Subject: Re: [Gambas-user] Errors compiling Gambas To: mailing list for gambas users Message-ID: <4A7EFAAF.6020503 at ...1237...> Content-Type: text/plain; charset=UTF-8; format=flowed Beno?t Minisini ha scritto: >> Beno?t Minisini ha scritto: >>>> This is the output of the make command on Gambas2 SVN. >>> I think you have a problem on your system, as gcc tells it does not >>> recognize an option... >>> >>> Please post the full output of the compilation process, i.e. with >>> configure. >>> >>> And try to do a checkout from scratch, and a ./reconf before doing >>> "./configure -C". >>> >>> Regards, >> I suppose you know that Arch Linux is a rolling release distro so every >> program is always at the very last version. Maybe there could be a >> compatibily issue between Gambas sources and gcc 4.4.1 that is installed >> on my system? >> >> P.S.: >> I've inclued part of the /reconf-all command too. It contains a loto of >> messages that I've never seen before. > > You have clearly a problem with your installation of gcc. I think either you > didn't install it completely (for example a new gcc with an old linker), or > the new version of gcc is not compatible with the old one, but I think it is > unlikely. > > Regards, > Could you please post the the version of gcc needed to compile Gambas? Or the version that you used? I cannot understand why until the rev. #2127 I was able to compile Gambas and now I'm not. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 39, Issue 26 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com From heracles at ...884... Mon Aug 10 04:25:19 2009 From: heracles at ...884... (Heracles) Date: Mon, 10 Aug 2009 12:25:19 +1000 Subject: [Gambas-user] Movie Box and other Help Question Message-ID: <4A7F850F.7010200@...884...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am trying to set up a sequential numerical reveal over an animation. My initial problem is that my F1/Help is not working and so I am unable to work out how to use the MovieBox tool. I need it to loop a short animation when a key is pressed and then get the number that is revealed to gradually reveal over the animation. This also requires a transparent background to the label in which the number is displayed. My help files are in my Gambas2 directory at /usr/share/gambas2 and I have a link to this at /usr/local/share/gambas2 So my initial questions are: a. How do I get F1/Help to work b. what is the syntax for the movie box and c. how do I set a transparent background? Thanks Heracles -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkp/hQ8ACgkQybPcBAs9CE/hEQCfVs53jnT0zPJQqGE/z6B7SlbX 02gAnjRXJqKlCdvrJX6IMogk5QlGpSG+ =nF4t -----END PGP SIGNATURE----- From oceanosoftlapalma at ...626... Mon Aug 10 09:17:39 2009 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Mon, 10 Aug 2009 08:17:39 +0100 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: <4A7C7980.3000509@...2252...> References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> <4A7C7980.3000509@...2252...> Message-ID: Excuse me Nick, now it's no possible because now the server is in production and it's no possible to downgrade again libtool (at the end I decided to install pakage from ubuntu repositories). Server was a 32 bit PC with Ubuntu 9.04 and I was trying to install gambas 2.15 At the next installation (probably this week - in deploying a gambas project in a customer with 3 differents offices and I'm now in the second - I'll send the output) Regards 2009/8/7 Nick Rathke > Hi Ricardo > > could you send the output of libtool ---version so I could match your > version of 1.5 ? > > That would be a big help . > > -- > Nick Rathke > Scientific Computing and Imaging Institute > Sr. Systems Administrator > nick at ...2252... > www.sci.utah.edu > 801-587-9933 > 801-557-3832 > > "I came I saw I made it possible" Royal Bliss - Here They Come > > > > > Ricardo D?az Mart?n wrote: > > I confirm that Gambas2 from svn doesn't compile without having to > downgrade > > to libtool 1.5 in ubunto 9.04 32 bits out of box. > > > > If you make downgrade of libtool compile with no problems. > > > > Regards > > > > 2009/8/6 Beno?t Minisini > > > > > >>> Nick Rathke wrote: > >>> > >>> Sorry about that it looks like copy/paste didn't take from my Suse 11.1 > >>> VM on a Mac. > >>> > >>> Here is the same error block as the Ubuntu system(s) > >>> > >>> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share > >>> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la > >>> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo > >>> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo > >>> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo > >>> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > >>> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > >>> gb_la-gbx_class_info.lo -lm -ldl -lpthread > >>> ../libtool: line 5001: cd: no: No such file or directory > >>> libtool: link: cannot determine absolute directory name of `no' > >>> make[4]: *** [gb.la] Error 1 > >>> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' > >>> make[3]: *** [all-recursive] Error 1 > >>> make[3]: Leaving directory `/root/Desktop/gambas3/main' > >>> make[2]: *** [all] Error 2 > >>> make[2]: Leaving directory `/root/Desktop/gambas3/main' > >>> make[1]: *** [all-recursive] Error 1 > >>> make[1]: Leaving directory `/root/Desktop/gambas3' > >>> make: *** [all] Error 2 > >>> > >>> -Nick > >>> > >>> > >> Can you send the the output of './reconf' and './configure'? > >> > >> -- > >> Beno?t > >> > >> > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - and > focus > >> on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavym at ...626... Mon Aug 10 09:24:55 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 10 Aug 2009 09:24:55 +0200 Subject: [Gambas-user] glut In-Reply-To: <413548.41928.qm@...2230...> References: <413548.41928.qm@...2230...> Message-ID: <200908100924.55549.lordheavym@...626...> Le dimanche 09 ao?t 2009 22:12:42 abdurrahman ulusoy, vous avez ?crit : > i know this docs. i dont know C and docs. examaples and description for C > code. so i cant use in gambas. > Selection and picking code is missing from opengl component, so currently i'm adding them. After i will too port some example c code to provide you some help. ++ From eilert-sprachen at ...221... Mon Aug 10 10:28:03 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 10 Aug 2009 10:28:03 +0200 Subject: [Gambas-user] COPY does not always copy chgrp and chown In-Reply-To: <200908071459.20979.gambas@...1...> References: <4A7BEBCC.3060306@...221...> <200908071459.20979.gambas@...1...> Message-ID: <4A7FDA13.7070409@...221...> Beno?t Minisini schrieb: >> Just found this (Gambas 2 project) when copying several students from >> one class into another. For each student, there are about 6 files to be >> copied from one directory into another. The first one will always get >> standard chgrp and chown of the application's user. The other files >> SOMETIMES are copied with correct group and ownership, MOSTLY not. >> >> All files have special group and ownership, controlling if teachers or >> only the office can access the data. >> >> Now, this is the function that does the actual copy: >> >> >> >> 'kopiert alle Dateien eines Namens in eine andere Kartei >> '- ziel ist der Zielpfad >> '- wenn eine gleichnamige Datei schon vorhanden ist, kommt "-1" zur?ck >> '- wenn es geklappt hat, kommt "0" zur?ck >> >> 'wird z. B. von dlgNamenKopieren benutzt >> >> PUBLIC FUNCTION NamenKopieren(schlyssel AS String, ziel AS String) AS >> Integer >> DIM original AS String >> DIM odatei AS String >> DIM opfad AS String >> DIM datei AS String >> >> original = getFilename(schlyssel) >> >> odatei = file.BaseName(original) >> opfad = file.Dir(original) >> >> IF Exist(ziel &/ odatei & ".felder") THEN >> RETURN -1 >> END IF >> >> FOR EACH datei IN Dir(opfad, odatei & ".*") >> COPY opfad &/ datei TO ziel &/ datei >> NEXT >> >> RETURN 0 >> >> END >> >> >> Do you see anything wrong here? As it sometimes works correctly I would >> actually think that it's a bug in copy. >> >> The filesystem is ext3. >> >> Regards >> >> Rolf >> > > COPY actually does the same thing as opening the input file, opening the > output file, reading the data, writing the data, closing the input gile, > closing the output file. > > So the output file will have the same authorizations as the input file, except > that they are filtered by the "umask" (man umask) and that the file will be > owned by the process who wrote the file. > > COPY is there just for simple cases. > > I suggest you use the "cp" command, using the "--preserve" option. > > Regards, > Ahh - ok. Wouldn't it be possible to pimp COPY giving it a special "preserve" option which would take care about this? Anyway: thanks for the tip! The only other way I know is using chmod and chgrp after writing the files. But then you have to use a SHELL anyway, so using cp --preserve is much smarter... :-) Regards Rolf From tmp2009 at ...2180... Mon Aug 10 11:03:56 2009 From: tmp2009 at ...2180... (nero) Date: Mon, 10 Aug 2009 11:03:56 +0200 Subject: [Gambas-user] qt4 and form.controls Message-ID: <4f45l6-7uu.ln1@...2181...> hi , I'm trying some of my code on gambas3 to be ready when it's done. I've some problem with form controls using qt4 , i've a form with n controls and want to enumerate them . I'm using somethink like: ------------------------------------------------ Public Sub Button1_Click() Dim ch As Object For Each ch In Me.Controls ta.Insert(ch.name & "\n") Next End ( ta is a textarea) ------------------------------------------------ using qt3 i see all controls , but with qt4 i get nothink and also no error. I'm using svn 2229. thanks, marco. -- Il successo copre una miriade di errori. -- G. B. Shaw From gambas at ...1... Mon Aug 10 12:01:52 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Aug 2009 12:01:52 +0200 Subject: [Gambas-user] COPY does not always copy chgrp and chown In-Reply-To: <4A7FDA13.7070409@...221...> References: <4A7BEBCC.3060306@...221...> <200908071459.20979.gambas@...1...> <4A7FDA13.7070409@...221...> Message-ID: <200908101201.52953.gambas@...1...> > Beno?t Minisini schrieb: > >> Just found this (Gambas 2 project) when copying several students from > >> one class into another. For each student, there are about 6 files to be > >> copied from one directory into another. The first one will always get > >> standard chgrp and chown of the application's user. The other files > >> SOMETIMES are copied with correct group and ownership, MOSTLY not. > >> > >> All files have special group and ownership, controlling if teachers or > >> only the office can access the data. > >> > >> Now, this is the function that does the actual copy: > >> > >> > >> > >> 'kopiert alle Dateien eines Namens in eine andere Kartei > >> '- ziel ist der Zielpfad > >> '- wenn eine gleichnamige Datei schon vorhanden ist, kommt "-1" zur?ck > >> '- wenn es geklappt hat, kommt "0" zur?ck > >> > >> 'wird z. B. von dlgNamenKopieren benutzt > >> > >> PUBLIC FUNCTION NamenKopieren(schlyssel AS String, ziel AS String) AS > >> Integer > >> DIM original AS String > >> DIM odatei AS String > >> DIM opfad AS String > >> DIM datei AS String > >> > >> original = getFilename(schlyssel) > >> > >> odatei = file.BaseName(original) > >> opfad = file.Dir(original) > >> > >> IF Exist(ziel &/ odatei & ".felder") THEN > >> RETURN -1 > >> END IF > >> > >> FOR EACH datei IN Dir(opfad, odatei & ".*") > >> COPY opfad &/ datei TO ziel &/ datei > >> NEXT > >> > >> RETURN 0 > >> > >> END > >> > >> > >> Do you see anything wrong here? As it sometimes works correctly I would > >> actually think that it's a bug in copy. > >> > >> The filesystem is ext3. > >> > >> Regards > >> > >> Rolf > > > > COPY actually does the same thing as opening the input file, opening the > > output file, reading the data, writing the data, closing the input gile, > > closing the output file. > > > > So the output file will have the same authorizations as the input file, > > except that they are filtered by the "umask" (man umask) and that the > > file will be owned by the process who wrote the file. > > > > COPY is there just for simple cases. > > > > I suggest you use the "cp" command, using the "--preserve" option. > > > > Regards, > > Ahh - ok. Wouldn't it be possible to pimp COPY giving it a special > "preserve" option which would take care about this? > Yes but no. Why trying to rewrite "cp"? I even don't know why I wrote COPY. :-) I don't want the interpreter to be too big. So maybe a component dedicated to file operations? -- Beno?t From eilert-sprachen at ...221... Mon Aug 10 12:16:40 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 10 Aug 2009 12:16:40 +0200 Subject: [Gambas-user] COPY does not always copy chgrp and chown In-Reply-To: <200908101201.52953.gambas@...1...> References: <4A7BEBCC.3060306@...221...> <200908071459.20979.gambas@...1...> <4A7FDA13.7070409@...221...> <200908101201.52953.gambas@...1...> Message-ID: <4A7FF388.8030604@...221...> Beno?t Minisini schrieb: >> Beno?t Minisini schrieb: >>>> Just found this (Gambas 2 project) when copying several students from >>>> one class into another. For each student, there are about 6 files to be >>>> copied from one directory into another. The first one will always get >>>> standard chgrp and chown of the application's user. The other files >>>> SOMETIMES are copied with correct group and ownership, MOSTLY not. >>>> >>>> All files have special group and ownership, controlling if teachers or >>>> only the office can access the data. >>>> >>>> Now, this is the function that does the actual copy: >>>> >>>> >>>> >>>> 'kopiert alle Dateien eines Namens in eine andere Kartei >>>> '- ziel ist der Zielpfad >>>> '- wenn eine gleichnamige Datei schon vorhanden ist, kommt "-1" zur?ck >>>> '- wenn es geklappt hat, kommt "0" zur?ck >>>> >>>> 'wird z. B. von dlgNamenKopieren benutzt >>>> >>>> PUBLIC FUNCTION NamenKopieren(schlyssel AS String, ziel AS String) AS >>>> Integer >>>> DIM original AS String >>>> DIM odatei AS String >>>> DIM opfad AS String >>>> DIM datei AS String >>>> >>>> original = getFilename(schlyssel) >>>> >>>> odatei = file.BaseName(original) >>>> opfad = file.Dir(original) >>>> >>>> IF Exist(ziel &/ odatei & ".felder") THEN >>>> RETURN -1 >>>> END IF >>>> >>>> FOR EACH datei IN Dir(opfad, odatei & ".*") >>>> COPY opfad &/ datei TO ziel &/ datei >>>> NEXT >>>> >>>> RETURN 0 >>>> >>>> END >>>> >>>> >>>> Do you see anything wrong here? As it sometimes works correctly I would >>>> actually think that it's a bug in copy. >>>> >>>> The filesystem is ext3. >>>> >>>> Regards >>>> >>>> Rolf >>> COPY actually does the same thing as opening the input file, opening the >>> output file, reading the data, writing the data, closing the input gile, >>> closing the output file. >>> >>> So the output file will have the same authorizations as the input file, >>> except that they are filtered by the "umask" (man umask) and that the >>> file will be owned by the process who wrote the file. >>> >>> COPY is there just for simple cases. >>> >>> I suggest you use the "cp" command, using the "--preserve" option. >>> >>> Regards, >> Ahh - ok. Wouldn't it be possible to pimp COPY giving it a special >> "preserve" option which would take care about this? >> > > Yes but no. Why trying to rewrite "cp"? I even don't know why I wrote COPY. > :-) > > I don't want the interpreter to be too big. So maybe a component dedicated to > file operations? > Good idea! There is already File.Save, File.Load etc. Maybe just an ammendment/extension/pimp to this? From ulusoyab at ...43... Mon Aug 10 12:33:42 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Mon, 10 Aug 2009 03:33:42 -0700 (PDT) Subject: [Gambas-user] glut In-Reply-To: <200908100924.55549.lordheavym@...626...> Message-ID: <979998.58651.qm@...2262...> Thank you . i'm ?wating. --- 10/08/09 Pzt tarihinde Laurent Carlier ??yle yaz?yor: Kimden: Laurent Carlier Konu: Re: [Gambas-user] glut Kime: "mailing list for gambas users" Tarihi: 10 A?ustos 2009 Pazartesi, 10:24 Le dimanche 09 ao?t 2009 22:12:42 abdurrahman ulusoy, vous avez ?crit : > i know this docs.? i dont know C and docs. examaples and description for? C > code. so i cant use in gambas. > Selection and picking code is missing from opengl component, so currently i'm adding them. After i will too port some example c code to provide you some help. ++ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From rterry at ...1946... Mon Aug 10 12:50:07 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 20:50:07 +1000 Subject: [Gambas-user] File dialog question ?can one multi-select Message-ID: <200908102050.07317.rterry@...1946...> I want to popup a file dialog and multi-select files and return these say in a collection, but can't see any way to do this. My code looks like this at present, and allows 1 file: Dialog.Title = "Select Image File" Dialog.Filter = ["*.png", "Image Files", "*", "All files"] If Dialog.OpenFile() Then Return do something with the file...... Thanks in anticipation. Richard From rterry at ...1946... Mon Aug 10 14:01:36 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 22:01:36 +1000 Subject: [Gambas-user] Comparing 2 pictures Message-ID: <200908102201.36862.rterry@...1946...> Hi all, i wondered if anyone could tell me how to comparea picture1 to picture 2 and tell if they were different (ie one had been changed in some way? thanks in anticipation. Richard From nick at ...2252... Mon Aug 10 14:10:25 2009 From: nick at ...2252... (Nick Rathke) Date: Mon, 10 Aug 2009 06:10:25 -0600 Subject: [Gambas-user] Compiling Gambas 3 svn on Ubuntu In-Reply-To: References: <200908042243.09895.gambas@...1...> <4A7B0F26.1030900@...2252...> <4A7B10E8.20101@...2252...> <200908062045.03761.gambas@...1...> <4A7C7980.3000509@...2252...> Message-ID: <4A800E31.6070305@...2252...> Not to worry. I got Gambas(svn) to compile over the the weekend on Ubuntu 9.04 x86_64 with no more issues using libtool 1.5-26 Thanks for the feed back. -Nick Ricardo D?az Mart?n wrote: > Excuse me Nick, now it's no possible because now the server is in production > and it's no possible to downgrade again libtool (at the end I decided to > install pakage from ubuntu repositories). > > Server was a 32 bit PC with Ubuntu 9.04 and I was trying to install gambas > 2.15 > > At the next installation (probably this week - in deploying a gambas project > in a customer with 3 differents offices and I'm now in the second - I'll > send the output) > > Regards > > > > 2009/8/7 Nick Rathke > > >> Hi Ricardo >> >> could you send the output of libtool ---version so I could match your >> version of 1.5 ? >> >> That would be a big help . >> >> -- >> Nick Rathke >> Scientific Computing and Imaging Institute >> Sr. Systems Administrator >> nick at ...2252... >> www.sci.utah.edu >> 801-587-9933 >> 801-557-3832 >> >> "I came I saw I made it possible" Royal Bliss - Here They Come >> >> >> >> >> Ricardo D?az Mart?n wrote: >> >>> I confirm that Gambas2 from svn doesn't compile without having to >>> >> downgrade >> >>> to libtool 1.5 in ubunto 9.04 32 bits out of box. >>> >>> If you make downgrade of libtool compile with no problems. >>> >>> Regards >>> >>> 2009/8/6 Beno?t Minisini >>> >>> >>> >>>>> Nick Rathke wrote: >>>>> >>>>> Sorry about that it looks like copy/paste didn't take from my Suse 11.1 >>>>> VM on a Mac. >>>>> >>>>> Here is the same error block as the Ubuntu system(s) >>>>> >>>>> /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share >>>>> -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la >>>>> -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo >>>>> gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo >>>>> gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo >>>>> gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo >>>>> gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo >>>>> gb_la-gbx_class_info.lo -lm -ldl -lpthread >>>>> ../libtool: line 5001: cd: no: No such file or directory >>>>> libtool: link: cannot determine absolute directory name of `no' >>>>> make[4]: *** [gb.la] Error 1 >>>>> make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' >>>>> make[3]: *** [all-recursive] Error 1 >>>>> make[3]: Leaving directory `/root/Desktop/gambas3/main' >>>>> make[2]: *** [all] Error 2 >>>>> make[2]: Leaving directory `/root/Desktop/gambas3/main' >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make[1]: Leaving directory `/root/Desktop/gambas3' >>>>> make: *** [all] Error 2 >>>>> >>>>> -Nick >>>>> >>>>> >>>>> >>>> Can you send the the output of './reconf' and './configure'? >>>> >>>> -- >>>> Beno?t >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >> >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>> >> 30-Day >> >>>> trial. Simplify your report design, integration and deployment - and >>>> >> focus >> >>>> on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >> >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> >> 30-Day >> >>> trial. Simplify your report design, integration and deployment - and >>> >> focus on >> >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From wdahn at ...1000... Mon Aug 10 14:15:20 2009 From: wdahn at ...1000... (Werner) Date: Mon, 10 Aug 2009 20:15:20 +0800 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102201.36862.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> Message-ID: <4A800F58.9070609@...1000...> richard terry wrote: > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? > > thanks in anticipation. > > Richard > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > If they are supposed to be identical and the size matches maybe md5sum? From rterry at ...1946... Mon Aug 10 14:30:42 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 22:30:42 +1000 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <4A800F58.9070609@...1000...> References: <200908102201.36862.rterry@...1946...> <4A800F58.9070609@...1000...> Message-ID: <200908102230.42485.rterry@...1946...> On Mon, 10 Aug 2009 10:15:20 pm Werner wrote: > richard terry wrote: > > Hi all, > > > > i wondered if anyone could tell me how to comparea picture1 to picture 2 > > and tell if they were different (ie one had been changed in some way? > > > > thanks in anticipation. > > > > Richard > > > > ------------------------------------------------------------------------- > >----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - > > and focus on what you do best, core application coding. Discover what's > > new with Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > If they are supposed to be identical and the size matches maybe md5sum? > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user good idea, I'll try that. I'm just writing my skin excision module and I've set it up so that I can load a photo-graph into the drawing editor and add lines etc, or shapes to outline the exicision, but want to be able to know if there were actually any changes. Will post how I got on. Regards richard From 12ukwn at ...626... Mon Aug 10 14:40:33 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 10 Aug 2009 14:40:33 +0200 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102230.42485.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> <4A800F58.9070609@...1000...> <200908102230.42485.rterry@...1946...> Message-ID: <4A801541.9010002@...626...> richard berry a ?crit : ... > good idea, I'll try that. > > I'm just writing my skin excision module and I've set it up so that I can load > a photo-graph into the drawing editor and add lines etc, or shapes to outline > the exicision, but want to be able to know if there were actually any > changes. none of these methods will work if your files doesn't have the same size; in this case you'll be obliged to use something somewhat subtil, such as files' atime; or keep a backtrack of modifications in a special file. -- I choked Linda Lovelace. From 12ukwn at ...626... Mon Aug 10 14:18:15 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 10 Aug 2009 14:18:15 +0200 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102201.36862.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> Message-ID: <4A801007.4090204@...626...> richard terry a ?crit : > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? The fastest way is to use cmp (comes from 'diff' package): cmp pic1 pic2 and test the returned value -- Do what thou wilt shall be the whole of the Law. -- Aleister Crowley From doriano.blengino at ...1909... Mon Aug 10 14:42:56 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Mon, 10 Aug 2009 14:42:56 +0200 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102201.36862.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> Message-ID: <4A8015D0.3010807@...1909...> richard terry ha scritto: > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? > This is very difficult, if your images are slightly different but a human would say they are the same. I explain better. If two images differ by only one pixel, then a binary comparison fails. So a binary comparison can not work, unless you know your two images should be *exactly* the same (I think no...) There is a program called GQView (and probably others) which have algorithms to compare two images in the right way - ie scale them to same size, compress colors and normalize them, then compare pixel by pixel using a good tolerance. I did something similar, it is a pascal source (if I only remember where I put it); or you can download those sources and look into them (C sources, I suppose). My algorithm works well enough if the images are about the same, but it is fooled if one image has a colored frame around and the other not, or if one image is contained in the other, or one is a shifted version of the other, and so on. May be that GQView has better way to recognize. But I repeat, it is difficult and CPU demanding, perhaps too much for an interpreted language. Regards, Doriano From wdahn at ...1000... Mon Aug 10 15:00:51 2009 From: wdahn at ...1000... (Werner) Date: Mon, 10 Aug 2009 21:00:51 +0800 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102230.42485.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> <4A800F58.9070609@...1000...> <200908102230.42485.rterry@...1946...> Message-ID: <4A801A03.1040001@...1000...> richard terry wrote: > On Mon, 10 Aug 2009 10:15:20 pm Werner wrote: > >> richard terry wrote: >> >>> Hi all, >>> >>> i wondered if anyone could tell me how to comparea picture1 to picture 2 >>> and tell if they were different (ie one had been changed in some way? >>> >>> thanks in anticipation. >>> >>> Richard >>> >>> >> If they are supposed to be identical and the size matches maybe md5sum? >> >> > good idea, I'll try that. > > I'm just writing my skin excision module and I've set it up so that I can load > a photo-graph into the drawing editor and add lines etc, or shapes to outline > the exicision, but want to be able to know if there were actually any > changes. > > Will post how I got on. > > Regards > > richard > > There was a discussion covering picture similarity on slashdot recently. http://ask.slashdot.org/story/09/07/16/2154238/Choosing-Better-Quality-JPEG-Images-With-Software?art_pos=26 Regards Werner From sourceforge-raindog2 at ...94... Mon Aug 10 15:38:02 2009 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Aug 2009 09:38:02 -0400 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <4A8015D0.3010807@...1909...> References: <200908102201.36862.rterry@...1946...> <4A8015D0.3010807@...1909...> Message-ID: <200908100938.03606.sourceforge-raindog2@...94...> On Monday 10 August 2009 08:42 am, Doriano Blengino wrote: > There is a program called GQView (and probably others) which have > algorithms to compare two images in the right way - ie scale them to > same size, compress colors and normalize them, then compare pixel by > pixel using a good tolerance. > I did something similar, it is a pascal source (if I only remember > where I put it); or you can download those sources and look into them (C > sources, I suppose). I did the same thing in Perl about 9 years ago, circa Mandrake 7. Don't know if it would even run with current versions of everything, and it's heavily dependent on Imagemagick for the normalizing, but here it is: http://www.kudla.org/raindog/perl/ (see findimagedupes, the first entry on that page) Also includes someone else's C++ implementation of the comparison function which sped it up by several orders of magnitude. But if both pictures are guaranteed to be the same size, something as simple as converting each one to text-based PPM format and using diff should be sufficient. Rob From rterry at ...1946... Mon Aug 10 15:58:09 2009 From: rterry at ...1946... (richard terry) Date: Mon, 10 Aug 2009 23:58:09 +1000 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908100938.03606.sourceforge-raindog2@...94...> References: <200908102201.36862.rterry@...1946...> <4A8015D0.3010807@...1909...> <200908100938.03606.sourceforge-raindog2@...94...> Message-ID: <200908102358.09811.rterry@...1946...> On Mon, 10 Aug 2009 11:38:02 pm Rob wrote: > On Monday 10 August 2009 08:42 am, Doriano Blengino wrote: > > There is a program called GQView (and probably others) which have > > algorithms to compare two images in the right way - ie scale them to > > same size, compress colors and normalize them, then compare pixel by > > pixel using a good tolerance. > > I did something similar, it is a pascal source (if I only remember > > where I put it); or you can download those sources and look into them (C > > sources, I suppose). > > I did the same thing in Perl about 9 years ago, circa Mandrake 7. Don't > know if it would even run with current versions of everything, and it's > heavily dependent on Imagemagick for the normalizing, but here it is: > > http://www.kudla.org/raindog/perl/ > > (see findimagedupes, the first entry on that page) Also includes someone > else's C++ implementation of the comparison function which sped it up by > several orders of magnitude. > > But if both pictures are guaranteed to be the same size, something as > simple as converting each one to text-based PPM format and using diff > should be sufficient. thanks, but whats a PPM format? (sorry I'm image illiterate) Richard > > Rob > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Aug 10 16:25:51 2009 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Aug 2009 10:25:51 -0400 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908102358.09811.rterry@...1946...> References: <200908102201.36862.rterry@...1946...> <200908100938.03606.sourceforge-raindog2@...94...> <200908102358.09811.rterry@...1946...> Message-ID: <200908101025.51999.sourceforge-raindog2@...94...> On Monday 10 August 2009 09:58 am, richard terry wrote: > > But if both pictures are guaranteed to be the same size, something as > > simple as converting each one to text-based PPM format and using diff > > should be sufficient. > > thanks, but whats a PPM format? (sorry I'm image illiterate) It's just another format like PNG or JPG, but it can be optionally text- based. Assuming you have ImageMagick installed on your system, if you go convert myimage.jpg -compress none test.ppm and then "less test.ppm", you'll see that it's written as a plain text file. Rob From nick at ...2252... Mon Aug 10 17:08:28 2009 From: nick at ...2252... (Nick Rathke) Date: Mon, 10 Aug 2009 09:08:28 -0600 Subject: [Gambas-user] Gambas in Science ? In-Reply-To: <4A7D9FEF.8080201@...626...> References: <4A7C846E.4050803@...2252...> <4A7D9FEF.8080201@...626...> Message-ID: <4A8037EC.5060403@...2252...> Jean-Yves F. Barbier wrote: > Nick Rathke a ?crit : > >> Hi Gambas users, >> >> I was wondering if any one is using Gambas for Science related work ? >> > > No, I tried to rule the world through Gambas, but it didn't worked (yet:) > > >> Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS >> or Lapack ? >> > > May be it is not the right way to consider it, AFAIK these have also command line > possibilities, so may be writing a nice GUI with Gambas and call/retrieve with it > is the solution - True to some degree. They are all also c/c++ libraries with proper API's. CUDA is a bit of a different animal with it's own compiler however, there are wrappers for other languages ie jCUDA and pyCUDA. So next maybe gb.CUDA ? > Yours involve inclusion of alien programming that will call for > too much dependencies (and compilation/optimization problems) and trying to see > things by Beno?t's eyes: its hard enough to maintain AND develop one whole language > to loose time with alien inclusions/evolutions. > Point very well taken. I do note that the gb.opengl components are maintained Laurent Carlier and I am sure there are a few othere developers involved with many of the other components as well. Granted I am very very new to Gambas but it seems like a very open and modular system. So personally I see no reason why Beno?t would need to support or in anyway be involved with maintaining third party components. > JY > > Thanks for the feed back! > -- > Nick Rathke > Scientific Computing and Imaging Institute > Sr. Systems Administrator > nick at ...2252... > www.sci.utah.edu > 801-587-9933 > 801-557-3832 > > "I came I saw I made it possible" Royal Bliss - Here They Come > From 12ukwn at ...626... Mon Aug 10 17:10:44 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 10 Aug 2009 17:10:44 +0200 Subject: [Gambas-user] can't change colour in a DataControl Message-ID: <4A803874.2000300@...626...> Hi list, Under a Databrowser, I've got some DataControls I'd like to change background's color. However, it don't work at all: dtc_label.Background = &H00FF00& or dtc_label.Background = &H0000FF00& don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") JY -- BOFH excuse #285: Telecommunications is upgrading. From 12ukwn at ...626... Mon Aug 10 17:18:31 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 10 Aug 2009 17:18:31 +0200 Subject: [Gambas-user] Gambas in Science ? In-Reply-To: <4A8037EC.5060403@...2252...> References: <4A7C846E.4050803@...2252...> <4A7D9FEF.8080201@...626...> <4A8037EC.5060403@...2252...> Message-ID: <4A803A47.80705@...626...> Nick Rathke a ?crit : ... >> May be it is not the right way to consider it, AFAIK these have also command line >> possibilities, so may be writing a nice GUI with Gambas and call/retrieve with it >> is the solution - > True to some degree. They are all also c/c++ libraries with proper > API's. CUDA is a bit of a different animal with it's own compiler > however, there are wrappers for other languages ie jCUDA and pyCUDA. So > next maybe gb.CUDA ? why not, as far as you are ready to keep it up to date. The more domains Gambas will cover, the more people will be brought to know & use it :) JY -- My mind is a potato field ... From 12ukwn at ...626... Mon Aug 10 17:24:13 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 10 Aug 2009 17:24:13 +0200 Subject: [Gambas-user] can't change colour in a DataControl - oops & huh? In-Reply-To: <4A803874.2000300@...626...> References: <4A803874.2000300@...626...> Message-ID: <4A803B9D.2010100@...626...> Jean-Yves F. Barbier a ?crit : > Hi list, > > Under a Databrowser, I've got some DataControls I'd like to change background's color. > > However, it don't work at all: > dtc_label.Background = &H00FF00& > or dtc_label.Background = &H0000FF00& > don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") Oops: I forgot to say I'm under Gambas V. 2.15.2 Huh?: It even don't work as native (if I change BG colour in properties)!? JY -- Q: What do monsters eat? A: Things. Q: What do monsters drink? A: Coke. (Because Things go better with Coke.) From rospolosco at ...152... Mon Aug 10 17:19:12 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 10 Aug 2009 17:19:12 +0200 Subject: [Gambas-user] File dialog question ?can one multi-select In-Reply-To: <200908102050.07317.rterry@...1946...> References: <200908102050.07317.rterry@...1946...> Message-ID: <200908101719.12805.rospolosco@...152...> Il luned? 10 agosto 2009 12:50:07 richard terry ha scritto: > I want to popup a file dialog and multi-select files and return these say > in a collection, but can't see any way to do this. > > My code looks like this at present, and allows 1 file: > > Dialog.Title = "Select Image File" > Dialog.Filter = ["*.png", "Image Files", "*", "All files"] > > If Dialog.OpenFile() Then Return > > do something with the file...... > > Thanks in anticipation. > > Richard > Using Dialog.OpenFile(TRUE) means you want to select multifile. Then to read the paths you have to use the dialog property paths, (Dialog.Paths) that returns an array of selected paths. See OpenFile help under Dialog for more info. Stefano > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From admin at ...1080... Mon Aug 10 22:12:38 2009 From: admin at ...1080... (werner 007) Date: Mon, 10 Aug 2009 13:12:38 -0700 (PDT) Subject: [Gambas-user] File dialog question ?can one multi-select In-Reply-To: <200908102050.07317.rterry@...1946...> References: <200908102050.07317.rterry@...1946...> Message-ID: <24906701.post@...1379...> Maybe i can help you with a example how i use it in a Project. I use TRY because the user can toggle between Multi- and Single- select TRY fcRoot = File.Dir(fcDialog.SelectedPaths[0]) IF error = 0 then FOR i = 0 TO fcDialog.SelectedPaths.Count - 1 ' loop trough filelist doSomethingWith( fcDialog.SelectedPaths[I] ) NEXT ELSE TRY fcRoot = File.Dir(fcDialog.SelectedPath) ' use single selection doSomethingWith( fcDialog.SelectedPath ) END IF Regards, Wene007 richard terry-5 wrote: > > I want to popup a file dialog and multi-select files and return these say > in a > collection, but can't see any way to do this. > > My code looks like this at present, and allows 1 file: > > Dialog.Title = "Select Image File" > Dialog.Filter = ["*.png", "Image Files", "*", "All files"] > > If Dialog.OpenFile() Then Return > > do something with the file...... > > Thanks in anticipation. > > Richard > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/File-dialog-question--can-one-multi-select-tp24897686p24906701.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...9... Mon Aug 10 23:02:33 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 10 Aug 2009 23:02:33 +0200 Subject: [Gambas-user] can't change colour in a DataControl - oops & huh? In-Reply-To: <4A803B9D.2010100@...626...> References: <4A803874.2000300@...626...> <4A803B9D.2010100@...626...> Message-ID: <1249938153.6398.9.camel@...40...> Am Montag, den 10.08.2009, 17:24 +0200 schrieb Jean-Yves F. Barbier: > Jean-Yves F. Barbier a ?crit : > > Hi list, > > > > Under a Databrowser, I've got some DataControls I'd like to change background's color. > > > > However, it don't work at all: > > dtc_label.Background = &H00FF00& > > or dtc_label.Background = &H0000FF00& > > don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") > > Oops: I forgot to say I'm under Gambas V. 2.15.2 > Huh?: It even don't work as native (if I change BG colour in properties)!? > > JY Salut Jean-Yves, Databrowser is a part of an component made in gambas, you find the source code /comp/src/gb.db.form load the project into the IDE and retry. -- Amicalment Charlie From hugo at ...2169... Tue Aug 11 04:49:10 2009 From: hugo at ...2169... (Hugo Chillon) Date: Mon, 10 Aug 2009 19:49:10 -0700 (PDT) Subject: [Gambas-user] Combobox returns item and item_key Message-ID: <24910878.post@...1379...> For people who looks for a combobox to show items from a database table column but need combobox returns item_key from another column, this is a class for them: ' Gambas class file '*************************************************************************** '* ComboBoxPlus class '* '* Autor: Hugo Chillon Estefanell '* Date: 09/08/2009 '* '* ComboBoxPlus is a class designed to allow a ComboBox works with 2 '* columns from a database table. First column for the key_item, second '* column for the item. Combobox shows item and ComboBoxPlus.ItemId() '* returns key_item '* This class call a class (MysqlConnection) to access a database and obtain '* a Result object with data. You should use your own method to obtain the '* Result object '************************************************************************** PRIVATE cboBase AS NEW Object[] PRIVATE cbo AS ComboBox PUBLIC SUB _New(combo AS ComboBox) cbo = combo END PUBLIC SUB Populate(strTable AS String, strIndex AS String, strValue AS String, strWhere AS String) DIM conn AS MysqlConnection DIM strSQL AS String DIM res AS Result strSQL = "SELECT " & strIndex & ", " & strValue & " FROM " & strTable & " " & strWhere conn = NEW MysqlConnection res = conn.RunDSQ(strSQL) IF res.Count > 1 THEN res.MoveFirst cbo.Add("") cboBase.Add(["", ""]) DO WHILE res.Available cbo.Add(res[1]) cboBase.Add([res[0], res[1]]) res.MoveNext LOOP ENDIF END PUBLIC FUNCTION ItemId() AS Integer DIM intValue AS Integer intValue = cboBase[cbo.Index][0] RETURN intValue END -- View this message in context: http://www.nabble.com/Combobox-returns-item-and-item_key-tp24910878p24910878.html Sent from the gambas-user mailing list archive at Nabble.com. From 12ukwn at ...626... Tue Aug 11 04:55:22 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 11 Aug 2009 04:55:22 +0200 Subject: [Gambas-user] can't change colour in a DataControl - oops & huh? In-Reply-To: <1249938153.6398.9.camel@...40...> References: <4A803874.2000300@...626...> <4A803B9D.2010100@...626...> <1249938153.6398.9.camel@...40...> Message-ID: <4A80DD9A.1010007@...626...> Charlie Reinl a ?crit : > Am Montag, den 10.08.2009, 17:24 +0200 schrieb Jean-Yves F. Barbier: >> Jean-Yves F. Barbier a ?crit : >>> Hi list, >>> >>> Under a Databrowser, I've got some DataControls I'd like to change background's color. >>> >>> However, it don't work at all: >>> dtc_label.Background = &H00FF00& >>> or dtc_label.Background = &H0000FF00& >>> don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") >> Oops: I forgot to say I'm under Gambas V. 2.15.2 >> Huh?: It even don't work as native (if I change BG colour in properties)!? >> >> JY > > Salut Jean-Yves, > > Databrowser is a part of an component made in gambas, you find the > source code > /comp/src/gb.db.form > load the project into the IDE and retry. Hi Charlie, I didn't build it: I was about to when it comes in Debian sid :) and the gb.db.form is checked in my project's components. sniff JY -- Would it help if I got out and pushed? -- Princess Leia Organa From rterry at ...1946... Tue Aug 11 05:13:09 2009 From: rterry at ...1946... (richard terry) Date: Tue, 11 Aug 2009 13:13:09 +1000 Subject: [Gambas-user] Combobox returns item and item_key In-Reply-To: <24910878.post@...1379...> References: <24910878.post@...1379...> Message-ID: <200908111313.09515.rterry@...1946...> On Tue, 11 Aug 2009 12:49:10 pm Hugo Chillon wrote: > For people who looks for a combobox to show items from a database table > column but need combobox returns item_key from another column, this is a > class for them: > > ' Gambas class file > '************************************************************************** >* '* ComboBoxPlus class > '* > '* Autor: Hugo Chillon Estefanell > '* Date: 09/08/2009 > '* > '* ComboBoxPlus is a class designed to allow a ComboBox works with 2 > '* columns from a database table. First column for the key_item, second > '* column for the item. Combobox shows item and ComboBoxPlus.ItemId() > '* returns key_item > > '* This class call a class (MysqlConnection) to access a database and > obtain '* a Result object with data. You should use your own method to > obtain the '* Result object > '************************************************************************** > > PRIVATE cboBase AS NEW Object[] > PRIVATE cbo AS ComboBox > > > PUBLIC SUB _New(combo AS ComboBox) > cbo = combo > END > > > PUBLIC SUB Populate(strTable AS String, strIndex AS String, strValue AS > String, strWhere AS String) > > DIM conn AS MysqlConnection > DIM strSQL AS String > DIM res AS Result > > strSQL = "SELECT " & strIndex & ", " & strValue & " FROM " & strTable & > " " & strWhere > > conn = NEW MysqlConnection > res = conn.RunDSQ(strSQL) > IF res.Count > 1 THEN > res.MoveFirst > cbo.Add("") > cboBase.Add(["", ""]) > DO WHILE res.Available > cbo.Add(res[1]) > cboBase.Add([res[0], res[1]]) > res.MoveNext > LOOP > ENDIF > END > > > PUBLIC FUNCTION ItemId() AS Integer > > DIM intValue AS Integer > > intValue = cboBase[cbo.Index][0] > RETURN intValue > > END Cool, I'll have a look at this sometime as this lack of being able to save the index has been one of my main gripes about combo-boxes. Richard From doriano.blengino at ...1909... Tue Aug 11 07:45:05 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Tue, 11 Aug 2009 07:45:05 +0200 Subject: [Gambas-user] Combobox returns item and item_key In-Reply-To: <24910878.post@...1379...> References: <24910878.post@...1379...> Message-ID: <4A810561.6020000@...1909...> Hugo Chillon ha scritto: > For people who looks for a combobox to show items from a database table > column but need combobox returns item_key from another column, this is a > class for them: > > ' Gambas class file > '*************************************************************************** > '* ComboBoxPlus class > '* > '* Autor: Hugo Chillon Estefanell > '* Date: 09/08/2009 > '* > '* ComboBoxPlus is a class designed to allow a ComboBox works with 2 > '* columns from a database table. First column for the key_item, second > '* column for the item. Combobox shows item and ComboBoxPlus.ItemId() > '* returns key_item > > '* This class call a class (MysqlConnection) to access a database and obtain > '* a Result object with data. You should use your own method to obtain the > '* Result object > '************************************************************************** > > PRIVATE cboBase AS NEW Object[] > PRIVATE cbo AS ComboBox > > > PUBLIC SUB _New(combo AS ComboBox) > cbo = combo > END > > > PUBLIC SUB Populate(strTable AS String, strIndex AS String, strValue AS > String, strWhere AS String) > > DIM conn AS MysqlConnection > DIM strSQL AS String > DIM res AS Result > > strSQL = "SELECT " & strIndex & ", " & strValue & " FROM " & strTable & > " " & strWhere > > conn = NEW MysqlConnection > res = conn.RunDSQ(strSQL) > IF res.Count > 1 THEN > >>>>>>>>>>> Should'nt it be "res.Count > 0"? What happens if a table contains just one row? Just a thought... :-) > res.MoveFirst > cbo.Add("") > cboBase.Add(["", ""]) > DO WHILE res.Available > cbo.Add(res[1]) > cboBase.Add([res[0], res[1]]) > res.MoveNext > LOOP > ENDIF > END > > > PUBLIC FUNCTION ItemId() AS Integer > > DIM intValue AS Integer > > intValue = cboBase[cbo.Index][0] > RETURN intValue > > END > Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From ulusoyab at ...43... Tue Aug 11 08:49:49 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Mon, 10 Aug 2009 23:49:49 -0700 (PDT) Subject: [Gambas-user] A web page for Gambas applications In-Reply-To: <6324a42a0907300458s9b7dcb2xd8c3ec5c2bf1856b@...627...> Message-ID: <90145.71561.qm@...2266...> hii translate to english kedicad site http://cadcizim.googlepages.com/kedicadenglish(i hope people can understand. :) )but software i cant. because in gambas Project/translate then error"For Turkish translate file can not read.File already exists"(error message is? in Turkish. but like this)? --- 30/07/09 Per tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] A web page for Gambas applications Kime: "mailing list for gambas users" Tarihi: 30 Temmuz 2009 Per?embe, 14:58 2009/7/27 abdurrahman ulusoy : >>An english traduction of your software will be great too :) (and the site ...:-)? ? Yes but i am sure, you understand, my english is not good. Neither mine but if you begin to traduce, even with a bad english i thing many people will come to help you in your project, and correct you little errors, ... and then you program can be traduced from the english to many other language and so found undred and undred users... :-) So it is really something important, and gambas make that easy to do >>CAD in gambas ... good work !Gambas is easy and rapid language. infact? a lot of linux user say me:in linux use C or python. they dont like gambas. ?but i like ? :) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From blaze_fx at ...118... Tue Aug 11 08:32:18 2009 From: blaze_fx at ...118... (Peter Tyler) Date: Mon, 10 Aug 2009 23:32:18 -0700 (PDT) Subject: [Gambas-user] pickle? Message-ID: <969512.44477.qm@...2267...> Hi, I'm a bit Gambas newbie, - I've been using Python. One thing I'm looking for in Gambas is something like the python?"pickle" functionality. Does anyone know if this functionality is available? Thank you. ?? Peter. ________________________________ Find local businesses and services in your area with Yahoo!7 Local. Get started. __________________________________________________________________________________ Find local businesses and services in your area with Yahoo!7 Local. Get started: http://local.yahoo.com.au From hugo at ...2169... Tue Aug 11 09:41:03 2009 From: hugo at ...2169... (Hugo Chillon) Date: Tue, 11 Aug 2009 00:41:03 -0700 (PDT) Subject: [Gambas-user] Combobox returns item and item_key In-Reply-To: <24910878.post@...1379...> References: <24910878.post@...1379...> Message-ID: <24913137.post@...1379...> Sorry Doriano, it's true. res.Count > 0 is the correct way. And this class works well if all 'sort' process for items are in the SQL sentence including an "ORDER BY ..." in strWhere. Hugo Chillon Hugo Chillon wrote: > > For people who looks for a combobox to show items from a database table > column but need combobox returns item_key from another column, this is a > class for them: > > ' Gambas class file > '*************************************************************************** > '* ComboBoxPlus class > '* > '* Autor: Hugo Chillon Estefanell > '* Date: 09/08/2009 > '* > '* ComboBoxPlus is a class designed to allow a ComboBox works with 2 > '* columns from a database table. First column for the key_item, second > '* column for the item. Combobox shows item and ComboBoxPlus.ItemId() > '* returns key_item > > '* This class call a class (MysqlConnection) to access a database and > obtain > '* a Result object with data. You should use your own method to obtain the > '* Result object > '************************************************************************** > > PRIVATE cboBase AS NEW Object[] > PRIVATE cbo AS ComboBox > > > PUBLIC SUB _New(combo AS ComboBox) > cbo = combo > END > > > PUBLIC SUB Populate(strTable AS String, strIndex AS String, strValue AS > String, strWhere AS String) > > DIM conn AS MysqlConnection > DIM strSQL AS String > DIM res AS Result > > strSQL = "SELECT " & strIndex & ", " & strValue & " FROM " & strTable > & " " & strWhere > > conn = NEW MysqlConnection > res = conn.RunDSQ(strSQL) > IF res.Count > 1 THEN > res.MoveFirst > cbo.Add("") > cboBase.Add(["", ""]) > DO WHILE res.Available > cbo.Add(res[1]) > cboBase.Add([res[0], res[1]]) > res.MoveNext > LOOP > ENDIF > END > > > PUBLIC FUNCTION ItemId() AS Integer > > DIM intValue AS Integer > > intValue = cboBase[cbo.Index][0] > RETURN intValue > > END > -- View this message in context: http://www.nabble.com/Combobox-returns-item-and-item_key-tp24910878p24913137.html Sent from the gambas-user mailing list archive at Nabble.com. From lordheavym at ...626... Tue Aug 11 10:00:04 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 11 Aug 2009 10:00:04 +0200 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908080004.01339.gambas@...1...> References: <200908042243.09895.gambas@...1...> <2a28d2ab0908071455n6160486bs7f68522f73d9163@...627...> <200908080004.01339.gambas@...1...> Message-ID: <200908111000.05034.lordheavym@...626...> Le samedi 08 ao?t 2009 00:04:01 Beno?t Minisini, vous avez ?crit : > > 2009/8/7 Beno?t Minisini > > > > > > Here you go! > > > > > > > > 2009/8/7 Beno?t Minisini > > > > > > These lines are strange: > > > > > > ... > > > checking whether we are using the GNU C compiler... no > > > checking whether gcc accepts -g... no > > > checking for gcc option to accept ISO C89... unsupported > > > ... > > > > > > Did you correctly install gcc? > > > > > > -- > > > Beno?t > > > > Mmmm, it was installed via standard Ubuntu package manager at install, > > however 9.10 is only to the alpha 3 stage. > > > > I have compiled other stuff ok? > > Then there is something broken on your system, or a big uncompatible change > in gcc: the configure script found the gnu C++ compiler normally, but not > the gnu C compiler. I can't say more at the moment... Got the same problem under debian sid 64 and arch linux 64; all is building fine with 2.0 but not with trunk :-/ ++ From leonardo at ...1237... Tue Aug 11 11:04:45 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 11 Aug 2009 11:04:45 +0200 Subject: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu In-Reply-To: <200908111000.05034.lordheavym@...626...> References: <200908042243.09895.gambas@...1...> <2a28d2ab0908071455n6160486bs7f68522f73d9163@...627...> <200908080004.01339.gambas@...1...> <200908111000.05034.lordheavym@...626...> Message-ID: <4A81342D.2050307@...1237...> IMHO... in the last months several GNU tools have been upgraded, like autoconf, gcc and libtool. I think the Gambas code should be updated to be compatible with them because it is quite impossible, now, to compile Gambas on systems that are up-to-date every day. It is a problem that I've encountered with other old softwares too, on Arch. Leo. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From leonardo at ...1237... Tue Aug 11 11:06:55 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 11 Aug 2009 11:06:55 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <969512.44477.qm@...2267...> References: <969512.44477.qm@...2267...> Message-ID: <4A8134AF.9020309@...1237...> Peter Tyler ha scritto: > > Hi, I'm a bit Gambas newbie, - I've been using Python. > > One thing I'm looking for in Gambas is something like the python "pickle" functionality. > > Does anyone know if this functionality is available? > > Thank you. > Peter. > It should be interesting know exactly what the pickle func. does . I don't know Python, and maybe several other Gambas users too ;-) -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From steven at ...1652... Tue Aug 11 12:30:35 2009 From: steven at ...1652... (Steven revimmo) Date: Tue, 11 Aug 2009 12:30:35 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <4A8134AF.9020309@...1237...> References: <969512.44477.qm@...2267...> <4A8134AF.9020309@...1237...> Message-ID: <1249986635.3988.81.camel@...1936...> Hi, As far as I know, it's used to write/read any variable in a file. So, you can write objects, numbers, arrays, anything into a file, and get them back without conversion or analyses of the text in the file. Very handy indeed. Steven Le mardi 11 ao?t 2009 ? 11:06 +0200, Leonardo Miliani a ?crit : > Peter Tyler ha scritto: > > > > Hi, I'm a bit Gambas newbie, - I've been using Python. > > > > One thing I'm looking for in Gambas is something like the python "pickle" functionality. > > > > Does anyone know if this functionality is available? > > > > Thank you. > > Peter. > > > > It should be interesting know exactly what the pickle func. does . > I don't know Python, and maybe several other Gambas users too ;-) > From sourceforge-raindog2 at ...94... Tue Aug 11 16:07:01 2009 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 11 Aug 2009 10:07:01 -0400 Subject: [Gambas-user] pickle? In-Reply-To: <969512.44477.qm@...2267...> References: <969512.44477.qm@...2267...> Message-ID: <200908111007.02038.sourceforge-raindog2@...94...> On Tuesday 11 August 2009 02:32 am, Peter Tyler wrote: > One thing I'm looking for in Gambas is something like the > python "pickle" functionality. > Does anyone know if this functionality is available? Benoit used to talk about object persistence/serialization as a 3.0 feature, but I don't know the status of that yet. As Steven posted, you can always just write data types to a file directly, but to write them in a semi-human-readable format like pickle does would probably need its own component or module. Parsing existing pickle data would probably not be that hard; I've done it in Perl on a number of occasions. Rob From leonardo at ...1237... Tue Aug 11 21:48:54 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 11 Aug 2009 21:48:54 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <1249986635.3988.81.camel@...1936...> References: <969512.44477.qm@...2267...> <4A8134AF.9020309@...1237...> <1249986635.3988.81.camel@...1936...> Message-ID: <4A81CB26.9090008@...1237...> Steven revimmo ha scritto: > Hi, > > As far as I know, it's used to write/read any variable in a file. > So, you can write objects, numbers, arrays, anything into a file, and > get them back > without conversion or analyses of the text in the file. Something similar to a memory dump of the object, isn't it? Interesting... So it could be possible, i.e., to create a form, dump it into a file and load it at runtime from a Gambas app, maybe? -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From Karl.Reinl at ...9... Tue Aug 11 21:31:05 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 11 Aug 2009 21:31:05 +0200 Subject: [Gambas-user] can't change colour in a DataControl - oops & huh? In-Reply-To: <4A80DD9A.1010007@...626...> References: <4A803874.2000300@...626...> <4A803B9D.2010100@...626...> <1249938153.6398.9.camel@...40...> <4A80DD9A.1010007@...626...> Message-ID: <1250019065.6390.13.camel@...40...> Am Dienstag, den 11.08.2009, 04:55 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a ?crit : > > Am Montag, den 10.08.2009, 17:24 +0200 schrieb Jean-Yves F. Barbier: > >> Jean-Yves F. Barbier a ?crit : > >>> Hi list, > >>> > >>> Under a Databrowser, I've got some DataControls I'd like to change background's color. > >>> > >>> However, it don't work at all: > >>> dtc_label.Background = &H00FF00& > >>> or dtc_label.Background = &H0000FF00& > >>> don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") > >> Oops: I forgot to say I'm under Gambas V. 2.15.2 > >> Huh?: It even don't work as native (if I change BG colour in properties)!? > >> > >> JY > > > > Salut Jean-Yves, > > > > Databrowser is a part of an component made in gambas, you find the > > source code > > /comp/src/gb.db.form > > load the project into the IDE and retry. > > Hi Charlie, > > I didn't build it: I was about to when it comes in Debian sid :) > and the gb.db.form is checked in my project's components. > sniff > > JY Salut Jean-Yves, you can find them on shrine http://prdownloads.sourceforge.net/gambas/gambas2-2.15.2.tar.bz2?download Unpack and copy /gambas2-2.15.2/comp/src/gb.db.form to your working directory, load the project into the IDE and retry. If need more help let me know! -- Amicalment Charlie From dr.diesel at ...626... Tue Aug 11 23:00:26 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Tue, 11 Aug 2009 17:00:26 -0400 Subject: [Gambas-user] New libtool make error Message-ID: <2a28d2ab0908111400v1315456an27e1065f887aa77f@...627...> Not sure what has changed, gambas3 (via svn) compiled just fine about a week ago (no libtool update). Today I updated to latest svn and now I receive this make error: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql -I../share -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT gb_qt4_la-CSplitter.lo -MD -MP -MF .deps/gb_qt4_la-CSplitter.Tpo -c -o gb_qt4_la-CSplitter.lo `test -f 'CSplitter.cpp' || echo './'`CSplitter.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql -I../share -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT gb_qt4_la-CSplitter.lo -MD -MP -MF .deps/gb_qt4_la-CSplitter.Tpo -c CSplitter.cpp -fPIC -DPIC -o .libs/gb_qt4_la-CSplitter.o CSplitter.cpp: In function ?void CSPLITTER_layout(void*, void*)?: CSplitter.cpp:115: error: ?sprintf? was not declared in this scope make[5]: *** [gb_qt4_la-CSplitter.lo] Error 1 make[5]: Leaving directory `/home/andy/trunk/gb.qt4/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/andy/trunk/gb.qt4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/gb.qt4' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/gb.qt4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 [andy at ...40... trunk]$ [root at ...40... ~]# uname -a Linux localhost.localdomain 2.6.29.6-213.fc11.i586 #1 SMP Tue Jul 7 20:45:17 EDT 2009 i686 i686 i386 GNU/Linux [root at ...40... ~]# rpm -qa|grep libtool libtool-2.2.6-11.fc11.i586 libtool-ltdl-2.2.6-11.fc11.i586 [root at ...40... ~]# I have attached my ./configure -C dump as well as the configure script generated in the main directory. Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.tar.gz Type: application/x-gzip Size: 121027 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: log.log.tar.gz Type: application/x-gzip Size: 5633 bytes Desc: not available URL: From gambas.fr at ...626... Tue Aug 11 23:15:06 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 11 Aug 2009 23:15:06 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <4A81CB26.9090008@...1237...> References: <969512.44477.qm@...2267...> <4A8134AF.9020309@...1237...> <1249986635.3988.81.camel@...1936...> <4A81CB26.9090008@...1237...> Message-ID: <6324a42a0908111415v2852335ft85c620b01fa16ed@...627...> gb.setting do that in some way 2009/8/11 Leonardo Miliani : > Steven revimmo ha scritto: >> Hi, >> >> As far as I know, it's used to write/read any variable in a file. >> So, you can write objects, numbers, arrays, anything into a file, and >> get them back >> without conversion or analyses of the text in the file. > > Something similar to a memory dump of the object, isn't it? > Interesting... So it could be possible, i.e., to create a form, dump it > into a file and load it at runtime from a Gambas app, maybe? > > -- > Web: www.leonardomiliani.com > E-mail: leonardo at ...1237... > Scegli software opensource - Choose opensource software > > Co-fondatore di Gambas-it.org > Il sito di riferimento della comunit? italiana degli utenti di Gambas > www.gambas-it.org > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Tue Aug 11 23:32:24 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 11 Aug 2009 23:32:24 +0200 Subject: [Gambas-user] can't change colour in a DataControl - oops & huh? In-Reply-To: <1250019065.6390.13.camel@...40...> References: <4A803874.2000300@...626...> <4A803B9D.2010100@...626...> <1249938153.6398.9.camel@...40...> <4A80DD9A.1010007@...626...> <1250019065.6390.13.camel@...40...> Message-ID: <4A81E368.6080709@...626...> Charlie Reinl a ?crit : > Am Dienstag, den 11.08.2009, 04:55 +0200 schrieb Jean-Yves F. Barbier: >> Charlie Reinl a ?crit : >>> Am Montag, den 10.08.2009, 17:24 +0200 schrieb Jean-Yves F. Barbier: >>>> Jean-Yves F. Barbier a ?crit : >>>>> Hi list, >>>>> >>>>> Under a Databrowser, I've got some DataControls I'd like to change background's color. >>>>> >>>>> However, it don't work at all: >>>>> dtc_label.Background = &H00FF00& >>>>> or dtc_label.Background = &H0000FF00& >>>>> don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'") >>>> Oops: I forgot to say I'm under Gambas V. 2.15.2 >>>> Huh?: It even don't work as native (if I change BG colour in properties)!? >>>> >>>> JY >>> Salut Jean-Yves, >>> >>> Databrowser is a part of an component made in gambas, you find the >>> source code >>> /comp/src/gb.db.form >>> load the project into the IDE and retry. >> Hi Charlie, >> >> I didn't build it: I was about to when it comes in Debian sid :) >> and the gb.db.form is checked in my project's components. >> sniff >> >> JY > > Salut Jean-Yves, > > you can find them on shrine > http://prdownloads.sourceforge.net/gambas/gambas2-2.15.2.tar.bz2?download > Unpack and copy > /gambas2-2.15.2/comp/src/gb.db.form to your working directory, load the project into the IDE and retry. > > If need more help let me know! Salut Charlie, I keep it for modification (I overcame this by changing the whole window backgroung:) Thanks. -- JY From doriano.blengino at ...1909... Wed Aug 12 08:42:24 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 12 Aug 2009 08:42:24 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <4A81CB26.9090008@...1237...> References: <969512.44477.qm@...2267...> <4A8134AF.9020309@...1237...> <1249986635.3988.81.camel@...1936...> <4A81CB26.9090008@...1237...> Message-ID: <4A826450.5060000@...1909...> Leonardo Miliani ha scritto: > Steven revimmo ha scritto: > >> Hi, >> >> As far as I know, it's used to write/read any variable in a file. >> So, you can write objects, numbers, arrays, anything into a file, and >> get them back >> without conversion or analyses of the text in the file. >> > > Something similar to a memory dump of the object, isn't it? > Interesting... So it could be possible, i.e., to create a form, dump it > into a file and load it at runtime from a Gambas app, maybe? > This would be really great; unfortunately, it is not simple to do, because a memory dump does not work. A form has some properties, which can be dumped in a file. Then it has a reference to every object the form contains: labels, buttons and so on. Those objects cannot be dumped in a file by the form, because the form does not know enough of them to do it - every single object must dump itself, and must be able to reload itself from the data in the file, calling constructors for every sub-object it contains, and so on. This means extend every single object to put methods in it for streaming. A lot of work. Regards, Doriano From o.s.p at ...69... Wed Aug 12 13:09:10 2009 From: o.s.p at ...69... (o.s.p) Date: Wed, 12 Aug 2009 13:09:10 +0200 Subject: [Gambas-user] svn2231 - libtool problem? Message-ID: <4A82A2D6.6070104@...69...> hello! gcc version 4.4.1 (Frugalware Linux - current) host-triplet: i686-frugalware-linux-gnu shell: /bin/sh compiler: gcc compiler flags: -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.11 autoconf: autoconf (GNU Autoconf) 2.64 svn 2231 i have this error!!?? (no problems with previous svn) Making install in gbx make[2]: Entering directory `/home/pol/Desktop/src/g/2.0/main/gbx' /bin/sh ../libtool --tag=CC --mode=link ccache gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -module -no-undefined -o gb.la -rpath /usr/local/lib/gambas2 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_c_quote.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread -lffi ccache gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[2]: *** [gb.la] Error 1 make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/main/gbx' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0/main' make: *** [install-recursive] Error 1 From charles at ...1784... Wed Aug 12 14:03:25 2009 From: charles at ...1784... (charlesg) Date: Wed, 12 Aug 2009 05:03:25 -0700 (PDT) Subject: [Gambas-user] Gridview not moving to last line in Gambas 3 Message-ID: <24935036.post@...1379...> The following code works fine in 2.13 on Ubuntu 9.04 i386 and correctly dispays the last line of the result in gridview gvAll On 2.99 2224, however, the last line is not displayed or not fully displayed. You have to scroll to show the last line. I thought it might have something to do with the header but is the same whether the header is on or off. It is also unaffected by the .mode of the gridview. '----------------------------------------------------------------------- PUBLIC sqlAll AS String PUBLIC resAll AS Result 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx PUBLIC FUNCTION showall() gvAll.Clear sqlAll = "select t_number as Trans,t_supcode as Supp, t_invno as Ref, t_date as Date,t_drcr as DrCr, t_net as Net, t_vat as Vat, t_datedue as Due from accTrans order by t_number" resAll = mdFile.$hConnStock.Exec(sqlAll) gvAll.Rows.count = resAll.count gvAll.row = resAll.count - 1 'should take gridview to last line <-------- END 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx PUBLIC SUB gvAll_Data(row AS Integer, Column AS Integer) resAll.MoveTo(row) gvAll.Data.text = Str(resAll[gvAll.Columns[column].text]) END '---------------------------------------------------- PUBLIC SUB Form_Open() ME.center mdFile.flOpen gvAll.Rows.count = 1 gvAll.Columns.count = 8 gvAll.Columns[0].text = "Trans" gvAll.Columns[0].width = 45 gvAll.Columns[1].text = "Supp" gvAll.Columns[1].width = 45 gvAll.Columns[2].text = "Ref" gvAll.Columns[2].width = 55 gvAll.Columns[3].text = "Date" gvAll.Columns[3].width = 55 gvAll.Columns[4].text = "DrCr" gvAll.Columns[4].width = 40 gvAll.Columns[5].text = "Net" gvAll.Columns[5].width = 55 gvAll.Columns[6].text = "Vat" gvAll.Columns[6].Width = 55 gvAll.Columns[7].text = "Due" gvAll.Columns[7].width = 55 showall END '----------------------------------------------------------------------- mdFile is just a module which opens the database. Is this a bug? rgds -- View this message in context: http://www.nabble.com/Gridview-not-moving-to-last-line-in-Gambas-3-tp24935036p24935036.html Sent from the gambas-user mailing list archive at Nabble.com. From leonardo at ...1237... Wed Aug 12 15:03:06 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Wed, 12 Aug 2009 15:03:06 +0200 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <4A82A2D6.6070104@...69...> References: <4A82A2D6.6070104@...69...> Message-ID: <4A82BD8A.80104@...1237...> o.s.p ha scritto: > hello! > gcc version 4.4.1 (Frugalware Linux - current) > > host-triplet: i686-frugalware-linux-gnu > shell: /bin/sh > compiler: gcc > compiler flags: -march=i686 -mtune=generic -O2 -pipe > -fno-strict-aliasing > linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) > libtool: (GNU libtool) 2.2.6 > automake: automake (GNU automake) 1.11 > autoconf: autoconf (GNU Autoconf) 2.64 > > svn 2231 > > i have this error!!?? > (no problems with previous svn) > > Making install in gbx > make[2]: Entering directory `/home/pol/Desktop/src/g/2.0/main/gbx' > /bin/sh ../libtool --tag=CC --mode=link ccache gcc -DGBX_INFO -pipe > -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 > -module -no-undefined -o gb.la -rpath /usr/local/lib/gambas2 > gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo > gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo > gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > gb_la-gbx_c_quote.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread -lffi > ccache gcc -shared .libs/gb_la-gbx_c_class.o > .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o > .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o > .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o > .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o > .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o > .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o > .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so > -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 > gcc: gb.so.0: No such file or directory > gcc: unrecognized option '-soname' > make[2]: *** [gb.la] Error 1 > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/main/gbx' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0/main' > make: *** [install-recursive] Error 1 > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I got *exactly* the same error on my Arch Linux, same message and same point of compilation. I don't know if it is related to libtool or not but I have libttol 2.2 and until rev. #2127 I was able to compile Gambas without problems. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From tomas.eroles at ...277... Wed Aug 12 17:27:13 2009 From: tomas.eroles at ...277... (Tomas Eroles i Forner) Date: Wed, 12 Aug 2009 17:27:13 +0200 Subject: [Gambas-user] text interface apps Message-ID: <4A82DF51.8080601@...277...> Hello all! I would like to know if it's possible, working with text apps, write texts in the screen at any position. An example: I learned programming with dBase III, and we used the command: @2,5 SAY "Hello, what is your name?: " GET w_name to write on the coordinates 2,5 on the screen the phrase Hello, what is... Is it possible to do in GAMBAS? Thanks in advance From 12ukwn at ...626... Wed Aug 12 18:08:18 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 12 Aug 2009 18:08:18 +0200 Subject: [Gambas-user] text interface apps In-Reply-To: <4A82DF51.8080601@...277...> References: <4A82DF51.8080601@...277...> Message-ID: <4A82E8F2.4030308@...626...> Tomas Eroles i Forner a ?crit : > Hello all! > I would like to know if it's possible, working with text apps, write > texts in the screen at any position. > > An example: I learned programming with dBase III, and we used the command: ;-) very good software indeed (I miss it sometimes) > @2,5 SAY "Hello, what is your name?: " GET w_name > > to write on the coordinates 2,5 on the screen the phrase Hello, what is... > > Is it possible to do in GAMBAS? I don't think so, but I'm not a specialist. GB philosophy is much different as you design your "mask" in a graphical way, from the RAD; so you can have an input zone wherever you want to put it (and enable/disable it to make it visible/invisible). If you're talking about making a TEXT mask same as in DB3, I don't know (but I'm also interested by the answer:) JY -- Q: How can you tell if an elephant is having an affair with your wife? A: You have to wait 22 months. From eilert-sprachen at ...221... Wed Aug 12 18:30:09 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 12 Aug 2009 18:30:09 +0200 Subject: [Gambas-user] text interface apps In-Reply-To: <4A82DF51.8080601@...277...> References: <4A82DF51.8080601@...277...> Message-ID: <4A82EE11.90200@...221...> Tomas Eroles i Forner schrieb: > Hello all! > I would like to know if it's possible, working with text apps, write > texts in the screen at any position. > > An example: I learned programming with dBase III, and we used the command: > > @2,5 SAY "Hello, what is your name?: " GET w_name > > to write on the coordinates 2,5 on the screen the phrase Hello, what is... > > Is it possible to do in GAMBAS? > > Thanks in advance > Linux terminal coordinates can have more than 80x25 characters (and mostly have). So it would be necessary to determine the size of the terminal prior to be able to set sensible coordinates. This is missing, as far as I know. However, you can do simple output via PRINT, and if you confine it to 80 x 25, it would be an easy thing to just CLS and overwrite the whole stuff with another 25 lines... And yes: I don't think the special "graphical characters" like in DOS (ASCII > 128) exist on a Linux terminal, do they? So it would be somewhat difficult to build "mask" like things. Though Midnight Commander can do this, how does it handle this? Maybe special fonts for terminal output? And top has lines, too... Interesting anyway! Rolf From 12ukwn at ...626... Wed Aug 12 19:45:28 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 12 Aug 2009 19:45:28 +0200 Subject: [Gambas-user] text interface apps In-Reply-To: <4A82EE11.90200@...221...> References: <4A82DF51.8080601@...277...> <4A82EE11.90200@...221...> Message-ID: <4A82FFB8.7090107@...626...> Rolf-Werner Eilert a ?crit : > Tomas Eroles i Forner schrieb: ... >> @2,5 SAY "Hello, what is your name?: " GET w_name >> to write on the coordinates 2,5 on the screen the phrase Hello, what is... >> Is it possible to do in GAMBAS? > > Linux terminal coordinates can have more than 80x25 characters (and > mostly have). So it would be necessary to determine the size of the > terminal prior to be able to set sensible coordinates. This is missing, > as far as I know. Na, use: stty -a it'll list all specs about your console and have much more power, as you can entirely reconfigure TTYs with it. ... > And yes: I don't think the special "graphical characters" like in DOS > (ASCII > 128) exist on a Linux terminal, do they? So it would be > somewhat difficult to build "mask" like things. Though Midnight > Commander can do this, how does it handle this? Maybe special fonts for > terminal output? And top has lines, too... Na, they exists (try the 'mc' commander), however it's not easy to correctly setup and good docs aren't very easy to find. -- How come if you're horny it's lust, but if she's horny it's affection? From sourceforge-raindog2 at ...94... Wed Aug 12 19:50:14 2009 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Aug 2009 13:50:14 -0400 Subject: [Gambas-user] text interface apps In-Reply-To: <4A82EE11.90200@...221...> References: <4A82DF51.8080601@...277...> <4A82EE11.90200@...221...> Message-ID: <200908121350.14839.sourceforge-raindog2@...94...> On Wednesday 12 August 2009 12:30 pm, Rolf-Werner Eilert wrote: > And yes: I don't think the special "graphical characters" like in DOS > (ASCII > 128) exist on a Linux terminal, do they? So it would be > somewhat difficult to build "mask" like things. Though Midnight > Commander can do this, how does it handle this? Maybe special fonts for > terminal output? And top has lines, too... The ANSI extensions to ASCII include all those graphical characters (and that's how they did them in DOS as well.) Most modern terminal types support ANSI, but you can't count on the user's font supporting them. I assume this is why some Linux console programs use +------+ to make lines and corners instead of those box characters. The way to do this, I think, would be to make a Gambas component that implements as much of gb.form as possible using the ncurses library. ncurses is lower level than gtk or Qt though (I'm not sure it even manages its own event loop), so it would be a big project. But Mono has it (see MonoCurses) so it's certainly possible. I seem to remember a Gtk-like toolkit that sat on top of ncurses, so maybe if that's still being developed it would be an option. Googling got me to mytui, NDK++ and CDK, which are ncurses-based widget sets, but they haven't been updated in a few years. Then again, maybe someone trying to develop a Gambas component could use that code as a starting point. Rob From doriano.blengino at ...1909... Wed Aug 12 19:49:04 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 12 Aug 2009 19:49:04 +0200 Subject: [Gambas-user] text interface apps In-Reply-To: <4A82DF51.8080601@...277...> References: <4A82DF51.8080601@...277...> Message-ID: <4A830090.7010600@...1909...> Tomas Eroles i Forner ha scritto: > Hello all! > I would like to know if it's possible, working with text apps, write > texts in the screen at any position. > > An example: I learned programming with dBase III, and we used the command: > > @2,5 SAY "Hello, what is your name?: " GET w_name > > to write on the coordinates 2,5 on the screen the phrase Hello, what is... > > Is it possible to do in GAMBAS? > > Thanks in advance > There are kinds of program better suited to what you are describing, than to today's GUI interface... Anyway... text screens in linux/unix are much different from the classic PC ones. They can have more (or sometimes less) row and columns, they can be local or (in theory) stupid terminals attached to serial lines, with stupid capabilities. Turns out that writing in a precise position on a video, or erasing something, or setting a color, varies greatly from one case to another, but always is done by printing "ESC sequences". For example, many terminals clear the screen if you send them a ESC [ 2 J. Try this in a terminal: echo -e "\e[2J" Similar escape sequences can do many more funny things. Something like ESC [ row;col H position the cursor: echo -e "\e[2;20H" Now come on on our problem. Gambas doesn't have natively a support for this kind of things. So you can: 1. use directly ESC sequences in your program. Simple sequences will work very often. 2. use libraries like ncurses or slang. They will work always, but you will have to declare all the functions you need from those libraries (external declaration). This is long and tedious. 3. make a set of subroutine which emulates a text screen on a normal form, using labels for example. This is funny. 4. May be some QT or GTK component exists to do point number 3 It depends if you really want to use text mode, and at which degree of completeness. For example, using an emulated text mode in a GUI signifies it will not work with "real" text mode terminals (if someone still has them. I do, BTW...). Choosing to not using libraries will make your program hardly portable, but I think that erasing screen and positioning cursor will work most of the times on linux console, xterm, rxvt, konsole, and many real terminals. This is enough about a reply. If you want to know more, I am at your disposal :-) Regards, Doriano From dr.diesel at ...626... Wed Aug 12 20:54:38 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Wed, 12 Aug 2009 13:54:38 -0500 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <4A82BD8A.80104@...1237...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> Message-ID: <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> On Wed, Aug 12, 2009 at 8:03 AM, Leonardo Miliani < leonardo at ...1237...> wrote: > o.s.p ha scritto: > > hello! > > gcc version 4.4.1 (Frugalware Linux - current) > > > > host-triplet: i686-frugalware-linux-gnu > > shell: /bin/sh > > compiler: gcc > > compiler flags: -march=i686 -mtune=generic -O2 -pipe > > -fno-strict-aliasing > > linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) > > libtool: (GNU libtool) 2.2.6 > > automake: automake (GNU automake) 1.11 > > autoconf: autoconf (GNU Autoconf) 2.64 > > > > svn 2231 > > > > i have this error!!?? > > (no problems with previous svn) > > > > Making install in gbx > > make[2]: Entering directory `/home/pol/Desktop/src/g/2.0/main/gbx' > > /bin/sh ../libtool --tag=CC --mode=link ccache gcc -DGBX_INFO -pipe > > -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 > > -module -no-undefined -o gb.la -rpath /usr/local/lib/gambas2 > > gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo > > gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo > > gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > > gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > > gb_la-gbx_c_quote.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > -lffi > > ccache gcc -shared .libs/gb_la-gbx_c_class.o > > .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o > > .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o > > .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o > > .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o > > .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o > > .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o > > .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so > > -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 > > gcc: gb.so.0: No such file or directory > > gcc: unrecognized option '-soname' > > make[2]: *** [gb.la] Error 1 > > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/main/gbx' > > make[1]: *** [install-recursive] Error 1 > > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0/main' > > make: *** [install-recursive] Error 1 > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > I got *exactly* the same error on my Arch Linux, same message and same > point of compilation. I don't know if it is related to libtool or not > but I have libttol 2.2 and until rev. #2127 I was able to compile Gambas > without problems. I also have this problem. I forwarded (posted yesterday) my ./configure output plus my configure scripts to the list. Hopefully some sense can be made of it! Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From 12ukwn at ...626... Thu Aug 13 03:51:58 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 03:51:58 +0200 Subject: [Gambas-user] TreeView always returns last Item Message-ID: <4A8371BE.80300@...626...> gb 2.15.2 debian sid package ============================ Hi list, I've got a strange TreeView behaviour: my application reads parms from a database and order them into a TreeView. I use a simple line to print selected item's information into the embedded console: PRINT trv_What.Item.Key & " --- " & trv_What.Item.Text, but no matter which item I click, the result' still the same: it is the information from the last item inserted in this TreeView!?? Did I missed something? JY -- From steven at ...2097... Thu Aug 13 04:00:19 2009 From: steven at ...2097... (Steven James Drinnan) Date: Thu, 13 Aug 2009 10:00:19 +0800 Subject: [Gambas-user] TrayIcon and Embeding In-Reply-To: <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> Message-ID: <1250128822.5333.95.camel@...2011...> Hi guys, I have had a look at prev posts but it seems it has not been resolved. I am working on a weather applet specific for Hong Kong. The problem is when I autostart the program on logon I get this error. "Unable to Embed from frmweather.?.0 " Any ideas. My source code can be found here: http://www.sjdsoft.hk/myyum/source/sjdsoft-hkweather.tar.gz Thanks for the help From dosida at ...626... Thu Aug 13 04:20:49 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Wed, 12 Aug 2009 20:20:49 -0600 Subject: [Gambas-user] TreeView always returns last Item In-Reply-To: <4A8371BE.80300@...626...> References: <4A8371BE.80300@...626...> Message-ID: <82bffccf0908121920u4c78eb58p7f36b6b51462df02@...627...> Hey JY, Try this line perhaps it'll work. trv_What.Current.Text it works on my gb.2.14 on my Debian Lenny Hope it helps Regards Dimitris On Wed, Aug 12, 2009 at 7:51 PM, Jean-Yves F. Barbier <12ukwn at ...626...>wrote: > gb 2.15.2 debian sid package > ============================ > Hi list, > > I've got a strange TreeView behaviour: my application reads parms from > a database and order them into a TreeView. > > I use a simple line to print selected item's information into the embedded > console: PRINT trv_What.Item.Key & " --- " & trv_What.Item.Text, > but no matter which item I click, the result' still the same: it is > the information from the last item inserted in this TreeView!?? > > Did I missed something? > > JY > -- > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Thu Aug 13 07:01:35 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 07:01:35 +0200 Subject: [Gambas-user] TreeView always returns last Item In-Reply-To: <82bffccf0908121920u4c78eb58p7f36b6b51462df02@...627...> References: <4A8371BE.80300@...626...> <82bffccf0908121920u4c78eb58p7f36b6b51462df02@...627...> Message-ID: <4A839E2F.1060305@...626...> Dimitris Anogiatis a ?crit : > Hey JY, > > Try this line perhaps it'll work. > > trv_What.Current.Text > > it works on my gb.2.14 on my Debian Lenny Yes Dimitris, I juste find it out 5' ago. It took the whole night to figure that out :( Thanks anyway JY -- "Jesus was a cross dresser" [George Carlin, "Brain Droppings"] From 12ukwn at ...626... Thu Aug 13 07:21:34 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 07:21:34 +0200 Subject: [Gambas-user] treeview multiple selection Message-ID: <4A83A2DE.40901@...626...> Hi list, Is there a possibility to make a multiple selection in a treeview by program, not by mouse. I've got 2 treeviews: 1st is a group list, 2nd is users (only some users are part of a specific group) What I'd like is to select all users belonging to a group I "mouse-select" to visually show the connection. and if there's a manner to change the users selected colors, I'm in too. JY -- Hear about... the guy who had his vasectomy done by Sears? Every time he gets a hard-on, the garage door goes up. From steven at ...1652... Thu Aug 13 09:35:20 2009 From: steven at ...1652... (Steven revimmo) Date: Thu, 13 Aug 2009 09:35:20 +0200 Subject: [Gambas-user] text interface apps In-Reply-To: <200908121350.14839.sourceforge-raindog2@...94...> References: <4A82DF51.8080601@...277...> <4A82EE11.90200@...221...> <200908121350.14839.sourceforge-raindog2@...94...> Message-ID: <1250148920.2891.19.camel@...1936...> Hi, For a few (10?) years I programmed a small "windows" system in sh. It had windows, texts, some widgets etc. So, I think as long as You can do this in sh (with a little help of the curses lib), you should be able to do it in gambas to. (Or just call the appropriate shell routines.) I'll try to find the source, and post it here if it's interesting someone. Steven Le mercredi 12 ao?t 2009 ? 13:50 -0400, Rob a ?crit : > On Wednesday 12 August 2009 12:30 pm, Rolf-Werner Eilert wrote: > > And yes: I don't think the special "graphical characters" like in DOS > > (ASCII > 128) exist on a Linux terminal, do they? So it would be > > somewhat difficult to build "mask" like things. Though Midnight > > Commander can do this, how does it handle this? Maybe special fonts for > > terminal output? And top has lines, too... > > The ANSI extensions to ASCII include all those graphical characters (and > that's how they did them in DOS as well.) Most modern terminal types > support ANSI, but you can't count on the user's font supporting them. I > assume this is why some Linux console programs use +------+ to make lines > and corners instead of those box characters. > > The way to do this, I think, would be to make a Gambas component that > implements as much of gb.form as possible using the ncurses library. > ncurses is lower level than gtk or Qt though (I'm not sure it even manages > its own event loop), so it would be a big project. But Mono has it (see > MonoCurses) so it's certainly possible. > > I seem to remember a Gtk-like toolkit that sat on top of ncurses, so maybe > if that's still being developed it would be an option. Googling got me to > mytui, NDK++ and CDK, which are ncurses-based widget sets, but they haven't > been updated in a few years. Then again, maybe someone trying to develop a > Gambas component could use that code as a starting point. > > Rob > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...2097... Thu Aug 13 10:50:05 2009 From: steven at ...2097... (Steven James Drinnan) Date: Thu, 13 Aug 2009 16:50:05 +0800 Subject: [Gambas-user] Feature Request - Mutiple Mouse Pointer / Keyboard detection In-Reply-To: <1250148920.2891.19.camel@...1936...> References: <4A82DF51.8080601@...277...> <4A82EE11.90200@...221...> <200908121350.14839.sourceforge-raindog2@...94...> <1250148920.2891.19.camel@...1936...> Message-ID: <1250153408.11315.7.camel@...2011...> Hi Beno?t, I have just noticed that with XORG version 1.7 it has support for multiple mouse cursors and Keyboards. (MPX) Is there any chance that you could add someway that Gambas could detect if there is more than one mouse pointer. And which one is being used. It would change the way that we think about how we use a GUI. More events more responses etc. What are thoughts on this. Steven From wdahn at ...1000... Thu Aug 13 11:01:53 2009 From: wdahn at ...1000... (Werner) Date: Thu, 13 Aug 2009 17:01:53 +0800 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <4A83A2DE.40901@...626...> References: <4A83A2DE.40901@...626...> Message-ID: <4A83D681.2080108@...1000...> Jean-Yves F. Barbier wrote: > Hi list, > > Is there a possibility to make a multiple selection in a treeview > by program, not by mouse. > > I've got 2 treeviews: 1st is a group list, 2nd is users (only some users are > part of a specific group) > What I'd like is to select all users belonging to a group I "mouse-select" > to visually show the connection. > > and if there's a manner to change the users selected colors, I'm in too. > > JY > say you have a treeview called Larch. The following stub (untested) should select all treeview items that begin with "A" and deselect all others if not Larch.MoveFirst then repeat if Left$(Larch.Item.Text) = "A" then Larch.Item.Selected = TRUE else Larch.Item.Selected = FALSE endif until Larch.MoveNext endif Regards Werner From lordheavym at ...626... Thu Aug 13 11:07:07 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Thu, 13 Aug 2009 11:07:07 +0200 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> Message-ID: <200908131107.07368.lordheavym@...626...> Le mercredi 12 ao?t 2009 20:54:38 Dr. Diesel, vous avez ?crit : > On Wed, Aug 12, 2009 at 8:03 AM, Leonardo Miliani < > > leonardo at ...1237...> wrote: > > o.s.p ha scritto: > > > hello! > > > gcc version 4.4.1 (Frugalware Linux - current) > > > > > > host-triplet: i686-frugalware-linux-gnu > > > shell: /bin/sh > > > compiler: gcc > > > compiler flags: -march=i686 -mtune=generic -O2 -pipe > > > -fno-strict-aliasing > > > linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) > > > libtool: (GNU libtool) 2.2.6 > > > automake: automake (GNU automake) 1.11 > > > autoconf: autoconf (GNU Autoconf) 2.64 > > > > > > svn 2231 > > > > > > i have this error!!?? > > > (no problems with previous svn) > > > > > > Making install in gbx > > > make[2]: Entering directory `/home/pol/Desktop/src/g/2.0/main/gbx' > > > /bin/sh ../libtool --tag=CC --mode=link ccache gcc -DGBX_INFO -pipe > > > -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 > > > -module -no-undefined -o gb.la -rpath /usr/local/lib/gambas2 > > > gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo > > > gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo > > > gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo > > > gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo > > > gb_la-gbx_c_quote.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread > > > > -lffi > > > > > ccache gcc -shared .libs/gb_la-gbx_c_class.o > > > .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o > > > .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o > > > .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o > > > .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o > > > .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o > > > .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o > > > .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so > > > -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 > > > gcc: gb.so.0: No such file or directory > > > gcc: unrecognized option '-soname' > > > make[2]: *** [gb.la] Error 1 > > > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/main/gbx' > > > make[1]: *** [install-recursive] Error 1 > > > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0/main' > > > make: *** [install-recursive] Error 1 > > > > ------------------------------------------------------------------------- > >----- > > > > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > > > 30-Day > > > > > trial. Simplify your report design, integration and deployment - and > > > > focus on > > > > > what you do best, core application coding. Discover what's new with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > I got *exactly* the same error on my Arch Linux, same message and same > > point of compilation. I don't know if it is related to libtool or not > > but I have libttol 2.2 and until rev. #2127 I was able to compile Gambas > > without problems. > > I also have this problem. I forwarded (posted yesterday) my ./configure > output plus my configure scripts to the list. Hopefully some sense can be > made of it! > > Thanks > Andy I guess i've fixed it in rev 2232 (trunk) 2231 (branch 2.0). I'm a lucky guy, don't know really why but now it work for me (and i hope for you too) Have fun :-p ++ From o.s.p at ...69... Thu Aug 13 12:43:51 2009 From: o.s.p at ...69... (o.s.p) Date: Thu, 13 Aug 2009 12:43:51 +0200 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <200908131107.07368.lordheavym@...626...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <200908131107.07368.lordheavym@...626...> Message-ID: <4A83EE67.9010803@...69...> I guess i've fixed it in rev 2232 (trunk) 2231 (branch 2.0). > I'm a lucky guy, don't know really why but now it work for me (and i hope for > you too) > > Have fun :-p > ++ > little fun 8-( svn 2233: make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o In file included from main.c:27: x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' make: *** [all] Error 2 this are the xtest*.h i've found on my distro file:///usr/include/X11/extensions/xtestconst.h file:///usr/include/X11/extensions/xtestext1const.h file:///usr/include/X11/extensions/xtestext1.h file:///usr/include/X11/extensions/xtestext1proto.h file:///usr/include/X11/extensions/xtestproto.h From lordheavym at ...626... Thu Aug 13 12:56:35 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Thu, 13 Aug 2009 12:56:35 +0200 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <4A83EE67.9010803@...69...> References: <4A82A2D6.6070104@...69...> <200908131107.07368.lordheavym@...626...> <4A83EE67.9010803@...69...> Message-ID: <200908131256.35833.lordheavym@...626...> Le jeudi 13 ao?t 2009 12:43:51 o.s.p, vous avez ?crit : > I guess i've fixed it in rev 2232 (trunk) 2231 (branch 2.0). > > > I'm a lucky guy, don't know really why but now it work for me (and i hope > > for you too) > > > > Have fun :-p > > ++ > > little fun 8-( > svn 2233: > > make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H > -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char > -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o > main.lo main.c > ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo > -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o > In file included from main.c:27: > x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory > make[4]: *** [main.lo] Error 1 > make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' > make: *** [all] Error 2 > > > > this are the xtest*.h i've found on my distro > > file:///usr/include/X11/extensions/xtestconst.h > file:///usr/include/X11/extensions/xtestext1const.h > file:///usr/include/X11/extensions/xtestext1.h > file:///usr/include/X11/extensions/xtestext1proto.h > file:///usr/include/X11/extensions/xtestproto.h > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Open another thread (it's another problem) and add your linux distro and your cpu too please ++ From charles at ...1784... Thu Aug 13 14:30:56 2009 From: charles at ...1784... (charlesg) Date: Thu, 13 Aug 2009 05:30:56 -0700 (PDT) Subject: [Gambas-user] Gridview not moving to last line in Gambas 3 In-Reply-To: <24935036.post@...1379...> References: <24935036.post@...1379...> Message-ID: <24953919.post@...1379...> I noticed that the subsequent addition of a line to the gridview caused it to display correctly. Also a second Gridview on the form behaved itself from _open. So I moved the routine to display the problem gridview from form_open to form_activate and it now works correctly. -- View this message in context: http://www.nabble.com/Gridview-not-moving-to-last-line-in-Gambas-3-tp24935036p24953919.html Sent from the gambas-user mailing list archive at Nabble.com. From lordheavym at ...626... Thu Aug 13 14:33:33 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Thu, 13 Aug 2009 14:33:33 +0200 Subject: [Gambas-user] New libtool make error In-Reply-To: <2a28d2ab0908111400v1315456an27e1065f887aa77f@...627...> References: <2a28d2ab0908111400v1315456an27e1065f887aa77f@...627...> Message-ID: <200908131433.33164.lordheavym@...626...> Le mardi 11 ao?t 2009 23:00:26 Dr. Diesel, vous avez ?crit : > Not sure what has changed, gambas3 (via svn) compiled just fine about a > week ago (no libtool update). Today I updated to latest svn and now I > receive this make error: > > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. > -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT -I/usr/include/QtCore > -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork > -I/usr/include/QtSql -I../share -I../src/share -DGB_QT_COMPONENT -pipe > -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT > gb_qt4_la-CSplitter.lo -MD -MP -MF .deps/gb_qt4_la-CSplitter.Tpo -c -o > gb_qt4_la-CSplitter.lo `test -f 'CSplitter.cpp' || echo './'`CSplitter.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT -DQT_SHARED > -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui > -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql > -I../share -I../src/share -DGB_QT_COMPONENT -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT gb_qt4_la-CSplitter.lo -MD -MP > -MF .deps/gb_qt4_la-CSplitter.Tpo -c CSplitter.cpp -fPIC -DPIC -o > .libs/gb_qt4_la-CSplitter.o > CSplitter.cpp: In function ?void CSPLITTER_layout(void*, void*)?: > CSplitter.cpp:115: error: ?sprintf? was not declared in this scope > make[5]: *** [gb_qt4_la-CSplitter.lo] Error 1 > make[5]: Leaving directory `/home/andy/trunk/gb.qt4/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/andy/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/andy/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/andy/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/andy/trunk' > make: *** [all] Error 2 > [andy at ...40... trunk]$ > > [root at ...40... ~]# uname -a > Linux localhost.localdomain 2.6.29.6-213.fc11.i586 #1 SMP Tue Jul 7 > 20:45:17 EDT 2009 i686 i686 i386 GNU/Linux > [root at ...40... ~]# rpm -qa|grep libtool > libtool-2.2.6-11.fc11.i586 > libtool-ltdl-2.2.6-11.fc11.i586 > [root at ...40... ~]# > > > I have attached my ./configure -C dump as well as the configure script > generated in the main directory. > > Thanks > Andy Should be fix in rev #2234. Thanks for the report. ++ From peter.talken at ...1879... Thu Aug 13 14:57:13 2009 From: peter.talken at ...1879... (Peter Landgren) Date: Thu, 13 Aug 2009 14:57:13 +0200 Subject: [Gambas-user] Gambas 3 ./reconf-all problem Message-ID: <200908131457.14954.peter.talken@...1879...> Hi, When running ./reconf-all I get after svn up to revision 2234: [progdev at ...2241... trunk]$ ./reconf-all Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39: its definition is in aclocal's search path. /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 [progdev at ...2241... trunk]$ /Peter From gambas.fr at ...626... Thu Aug 13 15:41:31 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 13 Aug 2009 15:41:31 +0200 Subject: [Gambas-user] Problem with breakpoint Message-ID: <6324a42a0908130641l439dff55mc02b27ac67678ad5@...627...> Is there other person like me, who have problem with the breack point ? it not stop in the last 3 svn version From gambas.fr at ...626... Thu Aug 13 15:29:59 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 13 Aug 2009 15:29:59 +0200 Subject: [Gambas-user] Comparing 2 pictures In-Reply-To: <200908101025.51999.sourceforge-raindog2@...94...> References: <200908102201.36862.rterry@...1946...> <200908100938.03606.sourceforge-raindog2@...94...> <200908102358.09811.rterry@...1946...> <200908101025.51999.sourceforge-raindog2@...94...> Message-ID: <6324a42a0908130629q5797edc2s8671c8421547423f@...627...> mabe something interresting in the motion project.... 2009/8/10 Rob : > On Monday 10 August 2009 09:58 am, richard terry wrote: >> > But if both pictures are guaranteed to be the same size, something as >> > simple as converting each one to text-based PPM format and using diff >> > should be sufficient. >> >> thanks, but whats a PPM format? (sorry I'm image illiterate) > > It's just another format like PNG or JPG, but it can be optionally text- > based. ?Assuming you have ImageMagick installed on your system, if you go > > convert myimage.jpg -compress none test.ppm > > and then "less test.ppm", you'll see that it's written as a plain text > file. > > Rob > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Thu Aug 13 16:26:56 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 16:26:56 +0200 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <4A83D681.2080108@...1000...> References: <4A83A2DE.40901@...626...> <4A83D681.2080108@...1000...> Message-ID: <4A8422B0.3040602@...626...> Werner a ?crit : ... > say you have a treeview called Larch. The following stub (untested) > should select all treeview items that begin with "A" and deselect all others > > if not Larch.MoveFirst then > repeat > if Left$(Larch.Item.Text) = "A" then > Larch.Item.Selected = TRUE > else > Larch.Item.Selected = FALSE > endif > until Larch.MoveNext > endif No Werner, that don't work (wanted nb, Str, or Obj, got Fnct instead), I'm trying to adapt the base idea with other options, but still no success. JY -- Pick another fortune cookie. From jussi.lahtinen at ...626... Thu Aug 13 16:49:25 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 13 Aug 2009 17:49:25 +0300 Subject: [Gambas-user] TrayIcon and Embeding In-Reply-To: <1250128822.5333.95.camel@...2011...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <1250128822.5333.95.camel@...2011...> Message-ID: <384d3900908130749l7c287c22gb78bf323eea557db@...627...> If your program works otherwise, I think your error would be because something needed has not been started yet... Try to start your program with script: #!/bin/sh sleep 15 #Wait for 15 seconds. gbr2 yourprogranname.gambas Does it work then? Jussi On Thu, Aug 13, 2009 at 05:00, Steven James Drinnan wrote: > Hi guys, > > I have had a look at prev posts but it seems it has not been resolved. > > I am working on a weather applet specific for Hong Kong. The problem is > when I autostart the program on logon I get this > error. "Unable to Embed from frmweather.?.0 " > > Any ideas. > > My source code can be found here: > http://www.sjdsoft.hk/myyum/source/sjdsoft-hkweather.tar.gz > > Thanks for the help > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Thu Aug 13 17:33:53 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 17:33:53 +0200 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <4A8422B0.3040602@...626...> References: <4A83A2DE.40901@...626...> <4A83D681.2080108@...1000...> <4A8422B0.3040602@...626...> Message-ID: <4A843261.4080400@...626...> Jean-Yves F. Barbier a ?crit : ... > No Werner, that don't work (wanted nb, Str, or Obj, got Fnct instead), > I'm trying to adapt the base idea with other options, but still no success. I tried: trv_What.MoveFirst() REPEAT IF Left$(trv_What.Item.Text, 11) = "Tsupplier.a" THEN trv_What.Item.Selected = TRUE ELSE trv_What.Item.Selected = FALSE trv_What.MoveNext() ENDIF UNTIL trv_What.Item.Key = "HL" ' 1st Key of tree I also change ...MoveNext() to ...MoveBelow() but that gives an infinite loop. But that also don't work (seems there's no possibility to do that) I let it down for now and keep moving on. JY -- I think $[ is more like a coelacanth than a mastadon. -- Larry Wall in <199705101952.MAA00756 at ...2236...> From o.s.p at ...69... Thu Aug 13 17:48:37 2009 From: o.s.p at ...69... (o.s.p) Date: Thu, 13 Aug 2009 17:48:37 +0200 Subject: [Gambas-user] svn 2234 make error Message-ID: <4A8435D5.603@...69...> gcc version 4.4.1 (Frugalware Linux) $ libtool --help ....... host-triplet: i686-frugalware-linux-gnu shell: /bin/sh compiler: gcc compiler flags: -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.11 autoconf: autoconf (GNU Autoconf) 2.64 ...... make error: make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o In file included from main.c:27: x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' make: *** [all] Error 2 make searches for XTest.h under the include dir (i think...) but on my distro ther is none. i can find a xtest.h under the xcb include dir (for the libxcb lib) but it is not the required one (many errors). ..... From 12ukwn at ...626... Thu Aug 13 18:04:57 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 18:04:57 +0200 Subject: [Gambas-user] what to use for "reverse" scrolling Message-ID: <4A8439A9.6040608@...626...> Hi list, I'd like to know what widget I should use to have the same behaviour as the console one: when text reach bottom, next text stays visible at bottom (old escapes by top), instead of printing below and beeing invisible (and oblige to manually scroll.) JY -- Parting is such sweet sorrow. -William Shakespeare From jussi.lahtinen at ...626... Thu Aug 13 18:18:17 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 13 Aug 2009 19:18:17 +0300 Subject: [Gambas-user] what to use for "reverse" scrolling In-Reply-To: <4A8439A9.6040608@...626...> References: <4A8439A9.6040608@...626...> Message-ID: <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> Perhaps not best possible way, but I did it like this; TextArea1.Pos = TextArea1.Length TextArea1.EnsureVisible() Jussi On Thu, Aug 13, 2009 at 19:04, Jean-Yves F. Barbier<12ukwn at ...626...> wrote: > Hi list, > > I'd like to know what widget I should use to have the same behaviour as the > console one: when text reach bottom, next text stays visible at bottom (old escapes > by top), instead of printing below and beeing invisible (and oblige to manually scroll.) > > JY > -- > ?Parting is such sweet sorrow. -William Shakespeare > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...9... Thu Aug 13 18:36:17 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 13 Aug 2009 18:36:17 +0200 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <4A843261.4080400@...626...> References: <4A83A2DE.40901@...626...> <4A83D681.2080108@...1000...> <4A8422B0.3040602@...626...> <4A843261.4080400@...626...> Message-ID: <1250181377.6603.6.camel@...40...> Am Donnerstag, den 13.08.2009, 17:33 +0200 schrieb Jean-Yves F. Barbier: > Jean-Yves F. Barbier a ?crit : > ... > > No Werner, that don't work (wanted nb, Str, or Obj, got Fnct instead), > > I'm trying to adapt the base idea with other options, but still no success. > > I tried: > > trv_What.MoveFirst() > REPEAT > IF Left$(trv_What.Item.Text, 11) = "Tsupplier.a" THEN > trv_What.Item.Selected = TRUE > ELSE > trv_What.Item.Selected = FALSE > trv_What.MoveNext() > ENDIF > UNTIL trv_What.Item.Key = "HL" ' 1st Key of tree > > I also change ...MoveNext() to ...MoveBelow() but that gives an infinite loop. > But that also don't work (seems there's no possibility to do that) > > I let it down for now and keep moving on. > > JY Hallo Jean-Yves, to days lesson THE DEADLOOP : set the trv_What.MoveNext after the endif -- Amicalment Charlie From 12ukwn at ...626... Thu Aug 13 18:39:06 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 18:39:06 +0200 Subject: [Gambas-user] what to use for "reverse" scrolling In-Reply-To: <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> References: <4A8439A9.6040608@...626...> <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> Message-ID: <4A8441AA.8030001@...626...> Jussi Lahtinen a ?crit : > Perhaps not best possible way, but I did it like this; > > TextArea1.Pos = TextArea1.Length > TextArea1.EnsureVisible() No Jussi it don't work, it reverse the printing order ASA you reached the bottom, inverting the PB: lines are now hidden on top of the list. -- who gives a shit about US law anyone living in the US. From 12ukwn at ...626... Thu Aug 13 18:41:17 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 18:41:17 +0200 Subject: [Gambas-user] what to use for "reverse" scrolling In-Reply-To: <4A8441AA.8030001@...626...> References: <4A8439A9.6040608@...626...> <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> <4A8441AA.8030001@...626...> Message-ID: <4A84422D.2020400@...626...> Jean-Yves F. Barbier a ?crit : > Jussi Lahtinen a ?crit : >> Perhaps not best possible way, but I did it like this; >> >> TextArea1.Pos = TextArea1.Length >> TextArea1.EnsureVisible() > > No Jussi it don't work, it reverse the printing order ASA you reached the bottom, > inverting the PB: lines are now hidden on top of the list. However, just TextArea1.EnsureVisible() works: last printed line stays visible as top line. Thanks! JY -- Pick another fortune cookie. From 12ukwn at ...626... Thu Aug 13 18:55:58 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 18:55:58 +0200 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <1250181377.6603.6.camel@...40...> References: <4A83A2DE.40901@...626...> <4A83D681.2080108@...1000...> <4A8422B0.3040602@...626...> <4A843261.4080400@...626...> <1250181377.6603.6.camel@...40...> Message-ID: <4A84459E.6060705@...626...> Charlie Reinl a ?crit : ... > Hallo Jean-Yves, Triscott Charlie > to days lesson THE DEADLOOP : > > set the trv_What.MoveNext after the endif Yes, that's better (and with MoveBelow instead MoveNext, my infinite loop is now astonishly tremendous: it freezes GB completely :) Thanks anyway, but my timeline is too short to keep on experimenting, I'll use a popup window to show a digest (which, on 2nd thought, is a better solution, because I'll be able to list all groups and permissions the user is part of) JY -- BOFH excuse #144: Too few computrons available. From Karl.Reinl at ...9... Thu Aug 13 19:21:18 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 13 Aug 2009 19:21:18 +0200 Subject: [Gambas-user] treeview multiple selection In-Reply-To: <4A84459E.6060705@...626...> References: <4A83A2DE.40901@...626...> <4A83D681.2080108@...1000...> <4A8422B0.3040602@...626...> <4A843261.4080400@...626...> <1250181377.6603.6.camel@...40...> <4A84459E.6060705@...626...> Message-ID: <1250184078.6603.9.camel@...40...> Am Donnerstag, den 13.08.2009, 18:55 +0200 schrieb Jean-Yves F. Barbier: > MoveBelow Thanks also, Triscott Jean-Yves, MoveBelow till now i ignored ! Charlie From Karl.Reinl at ...9... Thu Aug 13 19:36:58 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 13 Aug 2009 19:36:58 +0200 Subject: [Gambas-user] Combobox returns item and item_key In-Reply-To: <24910878.post@...1379...> References: <24910878.post@...1379...> Message-ID: <1250185018.6603.19.camel@...40...> Am Montag, den 10.08.2009, 19:49 -0700 schrieb Hugo Chillon: > For people who looks for a combobox to show items from a database table > column but need combobox returns item_key from another column, this is a > class for them: > > ' Gambas class file > '*************************************************************************** > '* ComboBoxPlus class > '* > '* Autor: Hugo Chillon Estefanell > '* Date: 09/08/2009 > '* > '* ComboBoxPlus is a class designed to allow a ComboBox works with 2 > '* columns from a database table. First column for the key_item, second > '* column for the item. Combobox shows item and ComboBoxPlus.ItemId() > '* returns key_item > > '* This class call a class (MysqlConnection) to access a database and obtain > '* a Result object with data. You should use your own method to obtain the > '* Result object > '************************************************************************** > > PRIVATE cboBase AS NEW Object[] > PRIVATE cbo AS ComboBox > > > PUBLIC SUB _New(combo AS ComboBox) > cbo = combo > END > > > PUBLIC SUB Populate(strTable AS String, strIndex AS String, strValue AS > String, strWhere AS String) > > DIM conn AS MysqlConnection > DIM strSQL AS String > DIM res AS Result > > strSQL = "SELECT " & strIndex & ", " & strValue & " FROM " & strTable & > " " & strWhere > > conn = NEW MysqlConnection > res = conn.RunDSQ(strSQL) > IF res.Count > 1 THEN > res.MoveFirst > cbo.Add("") > cboBase.Add(["", ""]) > DO WHILE res.Available > cbo.Add(res[1]) > cboBase.Add([res[0], res[1]]) > res.MoveNext > LOOP > ENDIF > END > > > PUBLIC FUNCTION ItemId() AS Integer > > DIM intValue AS Integer > > intValue = cboBase[cbo.Index][0] > RETURN intValue > > END Salut, did you know that .Tag is not a String PROPERTY Tag AS Variant Returns or sets the control tag. This property is intended for the programmer and is never used by the component. It can contain any Variant value. So you can use an String[] or what ever you need to store your return-values and set it after having filled the combobox to its TAG. Asked for the value, you return combobox.tag[combobox.index] -- Amicalment Charlie From o.s.p at ...69... Thu Aug 13 20:12:59 2009 From: o.s.p at ...69... (o.s.p) Date: Thu, 13 Aug 2009 20:12:59 +0200 Subject: [Gambas-user] svn 2234 make error In-Reply-To: <4A8435D5.603@...69...> References: <4A8435D5.603@...69...> Message-ID: <4A8457AB.70405@...69...> o.s.p ha scritto: > gcc version 4.4.1 (Frugalware Linux) > > $ libtool --help > ....... > host-triplet: i686-frugalware-linux-gnu > shell: /bin/sh > compiler: gcc > compiler flags: -march=i686 -mtune=generic -O2 -pipe > -fno-strict-aliasing > linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) > libtool: (GNU libtool) 2.2.6 > automake: automake (GNU automake) 1.11 > autoconf: autoconf (GNU Autoconf) 2.64 > ...... > > make error: > > make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H > -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char > -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o > main.lo main.c > ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo > -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o > In file included from main.c:27: > x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory > make[4]: *** [main.lo] Error 1 > make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' > make: *** [all] Error 2 > > make searches for XTest.h under the include dir (i think...) but on my > distro ther is none. > i can find a xtest.h under the xcb include dir (for the libxcb lib) but > it is not the required one (many errors). > .... > looking in the repos of my distro i've found XTest.h: it is in xextproto 7.0.2; my current version is 7.1.0. in this version the file disappears, substituted by xtestproto.h i think but i'm not sure, i'm not a programmer... i'll ask to the package mantainer.... From jussi.lahtinen at ...626... Thu Aug 13 22:14:20 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 13 Aug 2009 23:14:20 +0300 Subject: [Gambas-user] what to use for "reverse" scrolling In-Reply-To: <4A84422D.2020400@...626...> References: <4A8439A9.6040608@...626...> <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> <4A8441AA.8030001@...626...> <4A84422D.2020400@...626...> Message-ID: <384d3900908131314lc86ce00rc88d7ab5b8d79144@...627...> Ok... Do you use GTK+ or Qt? Which version of Gambas? With Gambas3, that works (with both GTK+ and Qt3). But I remember some difficulties with GTK+ in earlier versions. I just don't remember what they exactly were... Jussi On Thu, Aug 13, 2009 at 19:41, Jean-Yves F. Barbier<12ukwn at ...626...> wrote: > Jean-Yves F. Barbier a ?crit : >> Jussi Lahtinen a ?crit : >>> Perhaps not best possible way, but I did it like this; >>> >>> TextArea1.Pos = TextArea1.Length >>> TextArea1.EnsureVisible() >> >> No Jussi it don't work, it reverse the printing order ASA you reached the bottom, >> inverting the PB: lines are now hidden on top of the list. > > However, just TextArea1.EnsureVisible() works: last printed line stays visible > as top line. ?Thanks! > > JY > -- > Pick another fortune cookie. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Thu Aug 13 22:38:14 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 13 Aug 2009 22:38:14 +0200 Subject: [Gambas-user] what to use for "reverse" scrolling In-Reply-To: <384d3900908131314lc86ce00rc88d7ab5b8d79144@...627...> References: <4A8439A9.6040608@...626...> <384d3900908130918x55779f5am2e39dd4e153cf607@...627...> <4A8441AA.8030001@...626...> <4A84422D.2020400@...626...> <384d3900908131314lc86ce00rc88d7ab5b8d79144@...627...> Message-ID: <4A8479B6.4070009@...626...> Jussi Lahtinen a ?crit : > Ok... Do you use GTK+ or Qt? Qt > Which version of Gambas? Debian sid regular package of V. 2.15.2 > With Gambas3, that works (with both GTK+ and Qt3). But I remember some > difficulties with GTK+ in earlier versions. > I just don't remember what they exactly were... Don't worry Jussi: take a look @ my last post: only using TextArea1.EnsureVisible() works! JY -- Mathematicians practice absolute freedom. -- Henry Adams From leonardo at ...1237... Thu Aug 13 22:59:15 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 13 Aug 2009 22:59:15 +0200 Subject: [Gambas-user] svn2231 - libtool problem? In-Reply-To: <200908131107.07368.lordheavym@...626...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <200908131107.07368.lordheavym@...626...> Message-ID: <4A847EA3.7050900@...1237...> Laurent Carlier ha scritto: > > I guess i've fixed it in rev 2232 (trunk) 2231 (branch 2.0). It did solve for me. Thanks! One trick: restart compilation from scratch and don't continue the previous one (as SVN suggests) because in this last case you'll have the same error too. -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From rterry at ...1946... Thu Aug 13 23:27:45 2009 From: rterry at ...1946... (richard terry) Date: Fri, 14 Aug 2009 07:27:45 +1000 Subject: [Gambas-user] Problem with breakpoint In-Reply-To: <6324a42a0908130641l439dff55mc02b27ac67678ad5@...627...> References: <6324a42a0908130641l439dff55mc02b27ac67678ad5@...627...> Message-ID: <200908140727.45307.rterry@...1946...> On Thu, 13 Aug 2009 11:41:31 pm Fabien Bodard wrote: > Is there other person like me, who have problem with the breack point > ? it not stop in the last 3 svn version > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I've noticed that for a number of versions as well. Frustrating! richard From lordheavym at ...626... Thu Aug 13 23:43:11 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Thu, 13 Aug 2009 23:43:11 +0200 Subject: [Gambas-user] svn 2234 make error In-Reply-To: <4A8457AB.70405@...69...> References: <4A8435D5.603@...69...> <4A8457AB.70405@...69...> Message-ID: <200908132343.11409.lordheavym@...626...> Le jeudi 13 ao?t 2009 20:12:59 o.s.p, vous avez ?crit : > o.s.p ha scritto: > > gcc version 4.4.1 (Frugalware Linux) > > > > $ libtool --help > > ....... > > host-triplet: i686-frugalware-linux-gnu > > shell: /bin/sh > > compiler: gcc > > compiler flags: -march=i686 -mtune=generic -O2 -pipe > > -fno-strict-aliasing > > linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) > > libtool: (GNU libtool) 2.2.6 > > automake: automake (GNU automake) 1.11 > > autoconf: autoconf (GNU Autoconf) 2.64 > > ...... > > > > make error: > > > > make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > > /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H > > -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char > > -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o > > main.lo main.c > > ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall > > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo > > -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o > > In file included from main.c:27: > > x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory > > make[4]: *** [main.lo] Error 1 > > make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' > > make: *** [all] Error 2 > > > > make searches for XTest.h under the include dir (i think...) but on my > > distro ther is none. > > i can find a xtest.h under the xcb include dir (for the libxcb lib) but > > it is not the required one (many errors). > > .... > > looking in the repos of my distro i've found XTest.h: > it is in xextproto 7.0.2; my current version is 7.1.0. > in this version the file disappears, substituted by xtestproto.h i think > but > i'm not sure, i'm not a programmer... > > i'll ask to the package mantainer.... > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user looklike it must be xextproto, XTest.h isn't remove from XTest x11 extension, i've just checked in the svn. See http://cgit.freedesktop.org/xorg/lib/libXtst/tree/?id=3f4b895a29b1b48336621e6dcc80831a5910bed9 ++ From lordheavym at ...626... Thu Aug 13 23:46:20 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Thu, 13 Aug 2009 23:46:20 +0200 Subject: [Gambas-user] Gambas 3 ./reconf-all problem In-Reply-To: <200908131457.14954.peter.talken@...1879...> References: <200908131457.14954.peter.talken@...1879...> Message-ID: <200908132346.21043.lordheavym@...626...> Le jeudi 13 ao?t 2009 14:57:13 Peter Landgren, vous avez ?crit : > Hi, > > When running ./reconf-all I get after svn up to revision 2234: > > [progdev at ...2241... trunk]$ ./reconf-all > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > Makefile.am:39: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and > `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in > `configure.ac', make sure Makefile.am:39: its definition is in aclocal's > search path. > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to > define `am__fastdepCC' is to add `AC_PROG_CC' > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > `aclocal' and `autoconf' again. > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to > define `AMDEP' is to add one of the compiler tests > /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > AC_PROG_CXX, AC_PROG_OBJC, > /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and > run `aclocal' and `autoconf' again. > Makefile.am: C source seen but `CC' is undefined > Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' > Makefile.am: to `configure.ac' and run `autoconf' again. > autoreconf: automake failed with exit status: 1 > [progdev at ...2241... trunk]$ > > /Peter > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Try to build directly in the main dir (./reconf && ./configure) If you got the same error, remove main dir (rm -rf main) and reload it (svn up), the retry to build it. What is you autoconf version ? (autoconf --version) and linux distro (cpu too) Thanks ++ From steven at ...2097... Fri Aug 14 03:57:57 2009 From: steven at ...2097... (Steven James Drinnan) Date: Fri, 14 Aug 2009 09:57:57 +0800 Subject: [Gambas-user] TrayIcon and Embeding In-Reply-To: <384d3900908130749l7c287c22gb78bf323eea557db@...627...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <1250128822.5333.95.camel@...2011...> <384d3900908130749l7c287c22gb78bf323eea557db@...627...> Message-ID: <1250215077.7690.2.camel@...2011...> Thanks that did the trick. Funny if I run manually from the menu entry all OK. Steven On Thu, 2009-08-13 at 17:49 +0300, Jussi Lahtinen wrote: > If your program works otherwise, I think your error would be because > something needed has not been started yet... > Try to start your program with script: > > #!/bin/sh > sleep 15 #Wait for 15 seconds. > gbr2 yourprogranname.gambas > > > Does it work then? > > > Jussi > > > > > > > On Thu, Aug 13, 2009 at 05:00, Steven James Drinnan wrote: > > Hi guys, > > > > I have had a look at prev posts but it seems it has not been resolved. > > > > I am working on a weather applet specific for Hong Kong. The problem is > > when I autostart the program on logon I get this > > error. "Unable to Embed from frmweather.?.0 " > > > > Any ideas. > > > > My source code can be found here: > > http://www.sjdsoft.hk/myyum/source/sjdsoft-hkweather.tar.gz > > > > Thanks for the help > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ulusoyab at ...43... Fri Aug 14 08:43:52 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Thu, 13 Aug 2009 23:43:52 -0700 (PDT) Subject: [Gambas-user] new label Message-ID: <164853.16608.qm@...2262...> hi.? When user click a button create? a new label, and when click on this label user see a new text. how can i do this. (label quantity more then one ?) ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From o.s.p at ...69... Fri Aug 14 11:01:29 2009 From: o.s.p at ...69... (o.s.p) Date: Fri, 14 Aug 2009 11:01:29 +0200 Subject: [Gambas-user] svn 2234 make error In-Reply-To: <200908132343.11409.lordheavym@...626...> References: <4A8435D5.603@...69...> <4A8457AB.70405@...69...> <200908132343.11409.lordheavym@...626...> Message-ID: <4A8527E9.503@...69...> Laurent Carlier ha scritto: > Le jeudi 13 ao?t 2009 20:12:59 o.s.p, vous avez ?crit : > >> o.s.p ha scritto: >> >>> gcc version 4.4.1 (Frugalware Linux) >>> >>> $ libtool --help >>> ....... >>> host-triplet: i686-frugalware-linux-gnu >>> shell: /bin/sh >>> compiler: gcc >>> compiler flags: -march=i686 -mtune=generic -O2 -pipe >>> -fno-strict-aliasing >>> linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) >>> libtool: (GNU libtool) 2.2.6 >>> automake: automake (GNU automake) 1.11 >>> autoconf: autoconf (GNU Autoconf) 2.64 >>> ...... >>> >>> make error: >>> >>> make[4]: Entering directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' >>> /bin/sh ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H >>> -I. -I.. -D_REENTRANT -pipe -Wall -Wno-unused-value -fsigned-char >>> -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o >>> main.lo main.c >>> ccache gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pipe -Wall >>> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo >>> -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o >>> In file included from main.c:27: >>> x11.h:31:34: error: X11/extensions/XTest.h: No such file or directory >>> make[4]: *** [main.lo] Error 1 >>> make[4]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop/src' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/gb.desktop' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0' >>> make: *** [all] Error 2 >>> >>> make searches for XTest.h under the include dir (i think...) but on my >>> distro ther is none. >>> i can find a xtest.h under the xcb include dir (for the libxcb lib) but >>> it is not the required one (many errors). >>> .... >>> >> looking in the repos of my distro i've found XTest.h: >> it is in xextproto 7.0.2; my current version is 7.1.0. >> in this version the file disappears, substituted by xtestproto.h i think >> but >> i'm not sure, i'm not a programmer... >> >> i'll ask to the package mantainer.... >> >> >> --------------------------------------------------------------------------- >> --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day trial. Simplify your report design, integration and deployment - and >> focus on what you do best, core application coding. Discover what's new >> with Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > looklike it must be xextproto, XTest.h isn't remove from XTest x11 extension, > i've just checked in the svn. > > See > http://cgit.freedesktop.org/xorg/lib/libXtst/tree/?id=3f4b895a29b1b48336621e6dcc80831a5910bed9 > > ++ > yes: solved for me excluding XTest.h from the compilation. From eilert-sprachen at ...221... Fri Aug 14 12:51:28 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 14 Aug 2009 12:51:28 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs Message-ID: <4A8541B0.5090908@...221...> Hi everyone, Just one question, is it possible to write an application with Gambas that manages soundtracks (WAV-files or thelike)? Is there a component which could be used to play (and maybe even record) WAVs? Thanks for all your ideas... Rolf From gambas.fr at ...626... Fri Aug 14 13:25:25 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Aug 2009 13:25:25 +0200 Subject: [Gambas-user] new label In-Reply-To: <164853.16608.qm@...2262...> References: <164853.16608.qm@...2262...> Message-ID: <6324a42a0908140425o91f12cej9be571fca84102c7@...627...> public sub btn_click() dim lbl as label lbl=new label(me) as "lbl" end public sub lbl_click() print Last.name end 2009/8/14 abdurrahman ulusoy : > hi. > When user click a button create? a new label, and when click on this label user see a new text. how can i do this. (label quantity more then one ?) > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Fri Aug 14 14:15:05 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Fri, 14 Aug 2009 13:15:05 +0100 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8541B0.5090908@...221...> References: <4A8541B0.5090908@...221...> Message-ID: <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> I'm sure there is an example project that handles playing wav files... 2009/8/14 Rolf-Werner Eilert > Hi everyone, > > Just one question, is it possible to write an application with Gambas > that manages soundtracks (WAV-files or thelike)? Is there a component > which could be used to play (and maybe even record) WAVs? > > Thanks for all your ideas... > > Rolf > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From peter.talken at ...1879... Fri Aug 14 14:48:56 2009 From: peter.talken at ...1879... (Peter Landgren) Date: Fri, 14 Aug 2009 14:48:56 +0200 Subject: [Gambas-user] Gambas 3 ./reconf-all problem In-Reply-To: <200908132346.21043.lordheavym@...626...> References: <200908131457.14954.peter.talken@...1879...> <200908132346.21043.lordheavym@...626...> Message-ID: <200908141448.57085.peter.talken@...1879...> See answers below. /Peter Den Thursday 13 August 2009 23.46.20 skrev Laurent Carlier: > Le jeudi 13 ao?t 2009 14:57:13 Peter Landgren, vous avez ?crit : > > Hi, > > > > When running ./reconf-all I get after svn up to revision 2234: > > > > [progdev at ...2241... trunk]$ ./reconf-all > > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > > Makefile.am:39: The usual way to define `LIBTOOL' is to add > > `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' > > and `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in > > `configure.ac', make sure Makefile.am:39: its definition is in > > aclocal's search path. > > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in > > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to > > define `am__fastdepCC' is to add `AC_PROG_CC' > > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > > `aclocal' and `autoconf' again. > > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to > > define `AMDEP' is to add one of the compiler tests > > /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > > AC_PROG_CXX, AC_PROG_OBJC, > > /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > > AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: to `configure.ac' > > and run `aclocal' and `autoconf' again. > > Makefile.am: C source seen but `CC' is undefined > > Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' > > Makefile.am: to `configure.ac' and run `autoconf' again. > > autoreconf: automake failed with exit status: 1 > > [progdev at ...2241... trunk]$ > > > > /Peter > > > > > > ------------------------------------------------------------------------- > >-- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > 2008 30-Day trial. Simplify your report design, integration and > > deployment - and focus on what you do best, core application coding. > > Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Try to build directly in the main dir (./reconf && ./configure) Same error. > If you got the same error, remove main dir (rm -rf main) and reload it (svn > up), the retry to build it. Same error. > What is you autoconf version ? (autoconf --version) and linux distro (cpu > too) autoconf (GNU Autoconf) 2.63 Linux hpd1 2.6.27.24-desktop-1mnb #1 SMP Wed Jun 10 17:00:23 EDT 2009 i686 Intel(R) Pentium(R) D CPU 3.00GHz GNU/Linux Mandriva 2009.0 From jussi.lahtinen at ...626... Fri Aug 14 15:11:58 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 14 Aug 2009 16:11:58 +0300 Subject: [Gambas-user] TrayIcon and Embeding In-Reply-To: <1250215077.7690.2.camel@...2011...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <1250128822.5333.95.camel@...2011...> <384d3900908130749l7c287c22gb78bf323eea557db@...627...> <1250215077.7690.2.camel@...2011...> Message-ID: <384d3900908140611u60124c48qd0ba6a274ef03a31@...627...> There is some problems with Ubuntu and Qt... Application that use Qt start before some component of Qt it self. I'm I correct, you are on Ubuntu and your application uses Qt? Jussi On Fri, Aug 14, 2009 at 04:57, Steven James Drinnan wrote: > Thanks that did the trick. > > Funny if I run manually from the menu entry all OK. > > > Steven > > On Thu, 2009-08-13 at 17:49 +0300, Jussi Lahtinen wrote: >> If your program works otherwise, I think your error would be because >> something needed has not been started yet... >> Try to start your program with script: >> >> #!/bin/sh >> sleep 15 #Wait for 15 seconds. >> gbr2 yourprogranname.gambas >> >> >> Does it work then? >> >> >> Jussi >> >> >> >> >> >> >> On Thu, Aug 13, 2009 at 05:00, Steven James Drinnan wrote: >> > Hi guys, >> > >> > I have had a look at prev posts but it seems it has not been resolved. >> > >> > I am working on a weather applet specific for Hong Kong. The problem is >> > when I autostart the program on logon I get this >> > error. "Unable to Embed from frmweather.?.0 " >> > >> > Any ideas. >> > >> > My source code can be found here: >> > http://www.sjdsoft.hk/myyum/source/sjdsoft-hkweather.tar.gz >> > >> > Thanks for the help >> > >> > >> > ------------------------------------------------------------------------------ >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> > trial. Simplify your report design, integration and deployment - and focus on >> > what you do best, core application coding. Discover what's new with >> > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Fri Aug 14 16:14:05 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 16:14:05 +0200 Subject: [Gambas-user] popup masked Message-ID: <4A85712D.3070301@...626...> Hi list, I'm using the excellent piece of code from Dimitris to create popups on a left click using a ListView. Construction overlapping is: Form / Panel / TreeView / ListView (that, in fact, is a direct child from Panel) My PB is if I left click too much right, the popup is cut by the panel's edge. I can't put the ListView (popup) on the Form, as I use many of them and coords are calculated relative to container. How could I have popups exceeding panel limits? JY -- From sourceforge-raindog2 at ...94... Fri Aug 14 16:43:59 2009 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 14 Aug 2009 10:43:59 -0400 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> Message-ID: <200908141044.00764.sourceforge-raindog2@...94...> On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: > I'm sure there is an example project that handles playing wav files... I'm pretty sure I or someone else posted a simple WAV player example to the list shortly after the gb.sdl component was released (I know I wrote one but someone might have beaten me to it.) No idea about recording though.... Rob From lordheavym at ...626... Fri Aug 14 16:57:49 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 14 Aug 2009 16:57:49 +0200 Subject: [Gambas-user] Gambas 3 ./reconf-all problem In-Reply-To: <200908141642.02587.peter.talken@...1879...> References: <200908131457.14954.peter.talken@...1879...> <200908141625.42447.lordheavym@...626...> <200908141642.02587.peter.talken@...1879...> Message-ID: <200908141657.49329.lordheavym@...626...> Le vendredi 14 ao?t 2009 16:42:02, vous avez ?crit : > See answers below. > > > > Den Thursday 13 August 2009 23.46.20 skrev Laurent Carlier: > > > > Le jeudi 13 ao?t 2009 14:57:13 Peter Landgren, vous avez ?crit : > > > > > Hi, > > > > > > > > > > When running ./reconf-all I get after svn up to revision 2234: > > > > > > > > > > [progdev at ...2241... trunk]$ ./reconf-all > > > > > Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL > > > > > Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL > > > > > Makefile.am:39: Libtool library used but `LIBTOOL' is undefined > > > > > Makefile.am:39: The usual way to define `LIBTOOL' is to add > > > > > `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run > > > > > `aclocal' and `autoconf' again. Makefile.am:39: If > > > > > `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39: > > > > > its definition is in aclocal's search path. > > > > > /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not > > > > > appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: > > > > > The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' > > > > > /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run > > > > > `aclocal' and `autoconf' again. > > > > > /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in > > > > > AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual > > > > > way to define `AMDEP' is to add one of the compiler tests > > > > > /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, > > > > > AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, > > > > > /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, > > > > > AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: > > > > > to > > > > > `configure.ac' and run `aclocal' and `autoconf' again. > > > > > Makefile.am: C source seen but `CC' is undefined > > > > > Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' > > > > > Makefile.am: to `configure.ac' and run `autoconf' again. > > > > > autoreconf: automake failed with exit status: 1 > > > > > [progdev at ...2241... trunk]$ > > > > > > > > > > /Peter > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > >-- -- -- -- --- Let Crystal Reports handle the reporting - Free > > > > > Crystal Reports 2008 30-Day trial. Simplify your report design, > > > > > integration and deployment - and focus on what you do best, core > > > > > application coding. Discover what's new with Crystal Reports now. > > > > > http://p.sf.net/sfu/bobj-july > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > Try to build directly in the main dir (./reconf && ./configure) > > > > > > Same error. > > > > > > > If you got the same error, remove main dir (rm -rf main) and reload > > > > it (svn up), the retry to build it. > > > > > > Same error. > > > > > > > What is you autoconf version ? (autoconf --version) and linux distro > > > > (cpu too) > > > > > > autoconf (GNU Autoconf) 2.63 > > > > > > Linux hpd1 2.6.27.24-desktop-1mnb #1 SMP Wed Jun 10 17:00:23 EDT 2009 > > > i686 Intel(R) Pentium(R) D CPU 3.00GHz GNU/Linux > > > > > > Mandriva 2009.0 > > > > Looklike a libtool problem, what is the libtool version ? (libtool > > --version) > > ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18) > > > Try to build a component, to see if there is the same error. > > How di I do that? > > /Peter Your problem seem to be related to libtool, now gambas3 use libtool 2.x, but i guess the problem is related to libltdl. same way, go in the component dir (ex gb.sdl) ./reconf && ./configure && make From 12ukwn at ...626... Fri Aug 14 18:46:23 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 18:46:23 +0200 Subject: [Gambas-user] intercept focus Message-ID: <4A8594DF.8090300@...626...> Hi list, Is there a possibility to intercept events such as FocusIN/FocusOUT (well, not exactly: mouse hovering) from a widget? I want to use that to make my popup Invisible when mouse cursor leaves the widget. JY -- To fear love is to fear life, and those who fear life are already three parts dead. -- Bertrand Russell From Karl.Reinl at ...9... Fri Aug 14 19:10:52 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 14 Aug 2009 19:10:52 +0200 Subject: [Gambas-user] Question about gb.db Message-ID: <1250269852.6474.10.camel@...40...> Salut, till now I use the Request part in $hConn.Find to set my sorting "Order by" Is there a better/easier way, which I ignore ? Hope you have solutions. for gambas2 (2.15.2) -- Amicalment Charlie From david_villalobos_c at ...43... Fri Aug 14 19:25:01 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Fri, 14 Aug 2009 10:25:01 -0700 (PDT) Subject: [Gambas-user] Question about gb.db In-Reply-To: <1250269852.6474.10.camel@...40...> References: <1250269852.6474.10.camel@...40...> Message-ID: <195343.56412.qm@...1782...> Have you ever try $Conn.Exec() Regards -- David ----- Original Message ---- From: Charlie Reinl To: mailing list for gambas users Sent: Friday, August 14, 2009 11:10:52 AM Subject: [Gambas-user] Question about gb.db Salut, till now I use the Request part in $hConn.Find to set my sorting "Order by" Is there a better/easier way, which I ignore ? Hope you have solutions. for gambas2 (2.15.2) -- Amicalment Charlie ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From 12ukwn at ...626... Fri Aug 14 19:26:04 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 19:26:04 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <1250269852.6474.10.camel@...40...> References: <1250269852.6474.10.camel@...40...> Message-ID: <4A859E2C.5090203@...626...> Charlie Reinl a ?crit : > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? Salut Charlie, Yes there's one: include your sort into the query. Query = "SELECT a,b,c FROM mytable WHERE a = 'test' ORDER by b;" (well at least in PostgreSQL) But may be that's not what you're looking for. JY -- What this country needs is a dime that will buy a good five-cent bagel. From wdahn at ...1000... Fri Aug 14 19:54:09 2009 From: wdahn at ...1000... (Werner) Date: Sat, 15 Aug 2009 01:54:09 +0800 Subject: [Gambas-user] Question about gb.db In-Reply-To: <1250269852.6474.10.camel@...40...> References: <1250269852.6474.10.camel@...40...> Message-ID: <4A85A4C1.7060607@...1000...> Charlie Reinl wrote: > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? > > Hope you have solutions. > > for gambas2 (2.15.2) > > I do that, too. My records are only a few thousands so it works well. Typically, I put the retrieved data in a columnview or similar widget and let the user can then sort it to some other criteria. My view is that the software closest to the data knows best how to sort it. Amicalement Werner From Karl.Reinl at ...9... Fri Aug 14 19:58:09 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 14 Aug 2009 19:58:09 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <4A859E2C.5090203@...626...> References: <1250269852.6474.10.camel@...40...> <4A859E2C.5090203@...626...> Message-ID: <1250272689.6474.20.camel@...40...> Am Freitag, den 14.08.2009, 19:26 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a ?crit : > > Salut, > > > > till now I use the Request part in $hConn.Find to set my sorting > > "Order by" > > Is there a better/easier way, which I ignore ? > > Salut Charlie, > > Yes there's one: include your sort into the query. > > Query = "SELECT a,b,c FROM mytable WHERE a = 'test' ORDER by b;" > (well at least in PostgreSQL) > > But may be that's not what you're looking for. > > JY Salut Jean-Yves, I find the the result=$hConn.Find(table,Request, RequestArgu,...) way useful, only one thing I miss, to sort the results. And for that I ask. Charlie From Karl.Reinl at ...9... Fri Aug 14 19:58:12 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 14 Aug 2009 19:58:12 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <195343.56412.qm@...1782...> References: <1250269852.6474.10.camel@...40...> <195343.56412.qm@...1782...> Message-ID: <1250272692.6474.22.camel@...40...> Thanks David, writing SQL strings I'm used to do. I look for the way in : result=$hConn.Find(table,Request, RequestArgu,...) There I add till now after the Request my Order by ... Charlie Am Freitag, den 14.08.2009, 10:25 -0700 schrieb David Villalobos Cambronero: > Have you ever try $Conn.Exec() > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Charlie Reinl > To: mailing list for gambas users > Sent: Friday, August 14, 2009 11:10:52 AM > Subject: [Gambas-user] Question about gb.db > > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? > > Hope you have solutions. > > for gambas2 (2.15.2) > From 12ukwn at ...626... Fri Aug 14 20:03:57 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 20:03:57 +0200 Subject: [Gambas-user] MP | Re: Question about gb.db In-Reply-To: <4A85A4C1.7060607@...1000...> References: <1250269852.6474.10.camel@...40...> <4A85A4C1.7060607@...1000...> Message-ID: <4A85A70D.3070102@...626...> Werner a ?crit : > Charlie Reinl wrote: >> Salut, >> >> till now I use the Request part in $hConn.Find to set my sorting >> "Order by" >> Is there a better/easier way, which I ignore ? >> >> Hope you have solutions. >> >> for gambas2 (2.15.2) >> >> > I do that, too. My records are only a few thousands so it works > well. Typically, I put the retrieved data in a columnview or > similar widget and let the user can then sort it to some other criteria. > My view is that the software closest to the data knows best how to sort it. > > Amicalement > Werner Hi Werner, Have you got some code using this PLS? At this time I only use Qt DataSource, but as soon as I'll have to return only some rows, I'll need this kinda code; and there's not very much of this in examples. Thanks, JY -- If I were to walk on water, the press would say I'm only doing it because I can't swim. -- Bob Stanfield From 12ukwn at ...626... Fri Aug 14 20:10:04 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 20:10:04 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <1250272689.6474.20.camel@...40...> References: <1250269852.6474.10.camel@...40...> <4A859E2C.5090203@...626...> <1250272689.6474.20.camel@...40...> Message-ID: <4A85A87C.6080405@...626...> Charlie Reinl a ?crit : ... > I find the the result=$hConn.Find(table,Request, RequestArgu,...) way > useful, only one thing I miss, to sort the results. > And for that I ask. Ok Charlie, that's interesting to know it exist. But may be you could re-issue the same command changing the request to do the trick JY -- Happiness adds and multiplies as we divide it with others. From gambas.fr at ...626... Fri Aug 14 21:03:01 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Aug 2009 21:03:01 +0200 Subject: [Gambas-user] intercept focus In-Reply-To: <4A8594DF.8090300@...626...> References: <4A8594DF.8090300@...626...> Message-ID: <6324a42a0908141203u254e727eo9f64b1c7913189fc@...627...> 2009/8/14 Jean-Yves F. Barbier <12ukwn at ...626...>: > Hi list, > > Is there a possibility to intercept events such as FocusIN/FocusOUT (well, not > exactly: mouse hovering) from a widget? > > I want to use that to make my popup Invisible when mouse cursor leaves the widget. > > JY > -- > To fear love is to fear life, and those who fear life are already three > parts dead. > ? ? ? ? ? ? ? ?-- Bertrand Russell > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Public sub MyWidjet_Leave() End http://gambasdoc.org/help/comp/gb.qt/control/.leave From Karl.Reinl at ...9... Fri Aug 14 21:07:56 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 14 Aug 2009 21:07:56 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <4A85A87C.6080405@...626...> References: <1250269852.6474.10.camel@...40...> <4A859E2C.5090203@...626...> <1250272689.6474.20.camel@...40...> <4A85A87C.6080405@...626...> Message-ID: <1250276876.6474.35.camel@...40...> Am Freitag, den 14.08.2009, 20:10 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a ?crit : > ... > > I find the the result=$hConn.Find(table,Request, RequestArgu,...) way > > useful, only one thing I miss, to sort the results. > > And for that I ask. > > Ok Charlie, that's interesting to know it exist. > But may be you could re-issue the same command changing the request to do the trick > > JY Hallo Jean-Yves, that's just why I asked for. Finally what I ask for is a separated argument for sorted in like result=$hConn.Find(table,Request,Sorted,RequestArgu,...) Best would be result.sorted("field1,field6,field7 DESC") Charlie From gambas.fr at ...626... Fri Aug 14 21:12:23 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Aug 2009 21:12:23 +0200 Subject: [Gambas-user] popup masked In-Reply-To: <4A85712D.3070301@...626...> References: <4A85712D.3070301@...626...> Message-ID: <6324a42a0908141212wff9aca6t2ee7dbee71cfa549@...627...> You must to set the popup on the form Set the property of the list (ignore=true) The position of your popup is iPos = listview.left hCont = listview.parent do iPos+=hCont.Left hCont = hcont.parent if hCont is WIndow then break loop It's the method used for help popup, autocompletion list in the ide 2009/8/14 Jean-Yves F. Barbier <12ukwn at ...626...>: > Hi list, > > I'm using the excellent piece of code from Dimitris to create popups on a left click > using a ListView. > > Construction overlapping is: Form / Panel / TreeView / ListView (that, in fact, > is a direct child from Panel) > > My PB is if I left click too much right, the popup is cut by the panel's edge. > > I can't put the ListView (popup) on the Form, as I use many of them and coords > are calculated relative to container. > > How could I have popups exceeding panel limits? > > JY > -- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Fri Aug 14 21:19:49 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 21:19:49 +0200 Subject: [Gambas-user] Question about gb.db In-Reply-To: <1250276876.6474.35.camel@...40...> References: <1250269852.6474.10.camel@...40...> <4A859E2C.5090203@...626...> <1250272689.6474.20.camel@...40...> <4A85A87C.6080405@...626...> <1250276876.6474.35.camel@...40...> Message-ID: <4A85B8D5.2040403@...626...> Charlie Reinl a ?crit : > Am Freitag, den 14.08.2009, 20:10 +0200 schrieb Jean-Yves F. Barbier: >> Charlie Reinl a ?crit : >> ... >>> I find the the result=$hConn.Find(table,Request, RequestArgu,...) way >>> useful, only one thing I miss, to sort the results. >>> And for that I ask. >> Ok Charlie, that's interesting to know it exist. >> But may be you could re-issue the same command changing the request to do the trick >> >> JY > > Hallo Jean-Yves, > > that's just why I asked for. > > Finally what I ask for is a separated argument for sorted in > like result=$hConn.Find(table,Request,Sorted,RequestArgu,...) > > Best would be result.sorted("field1,field6,field7 DESC") Ok I see now what you want. but I don't think its relevant: in any way you're obliged to re-issue a request to the DB, so changing the request or changing a parm into the caller is the same (as far as I understand its mechanic) JY -- A newspaper is a circulating library with high blood pressure. -- Arthure "Bugs" Baer From 12ukwn at ...626... Fri Aug 14 21:30:54 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 21:30:54 +0200 Subject: [Gambas-user] intercept focus In-Reply-To: <6324a42a0908141203u254e727eo9f64b1c7913189fc@...627...> References: <4A8594DF.8090300@...626...> <6324a42a0908141203u254e727eo9f64b1c7913189fc@...627...> Message-ID: <4A85BB6E.8060302@...626...> Fabien Bodard a ?crit : ... > Public sub MyWidjet_Leave() > > End thanks fabien (and oops: I didn't saw it). -- QOTD: "I'm on a seafood diet -- I see food and I eat it." From 12ukwn at ...626... Fri Aug 14 21:40:40 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 21:40:40 +0200 Subject: [Gambas-user] popup masked In-Reply-To: <6324a42a0908141212wff9aca6t2ee7dbee71cfa549@...627...> References: <4A85712D.3070301@...626...> <6324a42a0908141212wff9aca6t2ee7dbee71cfa549@...627...> Message-ID: <4A85BDB8.4050702@...626...> Fabien Bodard a ?crit : > You must to set the popup on the form > > Set the property of the list (ignore=true) > > > The position of your popup is > > iPos = listview.left > hCont = listview.parent > > do > iPos+=hCont.Left > hCont = hcont.parent > if hCont is WIndow then break > loop > > It's the method used for help popup, autocompletion list in the ide Thanks, but unfortunately, that won't work with the way my coords are actually calculated. I keep it, and when I'll review a stable code, will try to incoporate it. JY -- I distinctly remember forgetting that. -Clara Barton From 12ukwn at ...626... Fri Aug 14 23:15:03 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 23:15:03 +0200 Subject: [Gambas-user] setfocus eats way too much time Message-ID: <4A85D3D7.8050008@...626...> Hi list, I've got a popup that is a small frame containing a TextArea & 2 buttons. In order to do things right, I've got a default text into TextArea; but to make sure typing will fill the TextArea, I must do 2 things: TextArea1.SelectAll() TextArea1.SetFocus() however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! is there a way to avoid that? JY -- And that's the way it is... -- Walter Cronkite From 12ukwn at ...626... Fri Aug 14 23:19:32 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Fri, 14 Aug 2009 23:19:32 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A85D3D7.8050008@...626...> References: <4A85D3D7.8050008@...626...> Message-ID: <4A85D4E4.1080102@...626...> Jean-Yves F. Barbier a ?crit : > Hi list, > > I've got a popup that is a small frame containing a TextArea & 2 buttons. > > In order to do things right, I've got a default text into TextArea; but to > make sure typing will fill the TextArea, I must do 2 things: > TextArea1.SelectAll() > TextArea1.SetFocus() > > however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! This only happen the first time: next invocations don't have this delay -- This fortune is encrypted -- get your decoder rings ready! From vitaf at ...1977... Sat Aug 15 06:25:25 2009 From: vitaf at ...1977... (=?KOI8-R?Q?=F7=C9=D4=C1=CC=C9=CA?=) Date: Sat, 15 Aug 2009 08:25:25 +0400 Subject: [Gambas-user] Gambas-user Digest, Vol 39, Issue 47 In-Reply-To: References: Message-ID: <125d8f1dd1e53313a27558e0dd8e643b941898fa@...1998...> ??????! ? ????????????? ???????? ??????? ?????? vitaf{cat)rbcmail(point]ru Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Question about gb.db (Charlie Reinl) 2. Re: Question about gb.db (David Villalobos Cambronero) 3. Re: Question about gb.db (Jean-Yves F. Barbier) 4. Re: Question about gb.db (Werner) 5. Re: Question about gb.db (Charlie Reinl) 6. Re: Question about gb.db (Charlie Reinl) 7. MP | Re: Question about gb.db (Jean-Yves F. Barbier) 8. Re: Question about gb.db (Jean-Yves F. Barbier) 9. Re: intercept focus (Fabien Bodard) ---------------------------------------------------------------------- Message: 1 Date: Fri, 14 Aug 2009 19:10:52 +0200 From: Charlie Reinl Subject: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain Salut, till now I use the Request part in $hConn.Find to set my sorting "Order by" Is there a better/easier way, which I ignore ? Hope you have solutions. for gambas2 (2.15.2) -- Amicalment Charlie ------------------------------ Message: 2 Date: Fri, 14 Aug 2009 10:25:01 -0700 (PDT) From: David Villalobos Cambronero Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=us-ascii Have you ever try $Conn.Exec() Regards -- David ----- Original Message ---- From: Charlie Reinl To: mailing list for gambas users Sent: Friday, August 14, 2009 11:10:52 AM Subject: [Gambas-user] Question about gb.db Salut, till now I use the Request part in $hConn.Find to set my sorting "Order by" Is there a better/easier way, which I ignore ? Hope you have solutions. for gambas2 (2.15.2) -- Amicalment Charlie ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------ Message: 3 Date: Fri, 14 Aug 2009 19:26:04 +0200 From: "Jean-Yves F. Barbier" Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 Charlie Reinl a ?crit : > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? Salut Charlie, Yes there's one: include your sort into the query. Query = "SELECT a,b,c FROM mytable WHERE a = 'test' ORDER by b;" (well at least in PostgreSQL) But may be that's not what you're looking for. JY -- What this country needs is a dime that will buy a good five-cent bagel. ------------------------------ Message: 4 Date: Sat, 15 Aug 2009 01:54:09 +0800 From: Werner Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Charlie Reinl wrote: > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? > > Hope you have solutions. > > for gambas2 (2.15.2) > > I do that, too. My records are only a few thousands so it works well. Typically, I put the retrieved data in a columnview or similar widget and let the user can then sort it to some other criteria. My view is that the software closest to the data knows best how to sort it. Amicalement Werner ------------------------------ Message: 5 Date: Fri, 14 Aug 2009 19:58:09 +0200 From: Charlie Reinl Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=utf-8 Am Freitag, den 14.08.2009, 19:26 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a ?crit : > > Salut, > > > > till now I use the Request part in $hConn.Find to set my sorting > > "Order by" > > Is there a better/easier way, which I ignore ? > > Salut Charlie, > > Yes there's one: include your sort into the query. > > Query = "SELECT a,b,c FROM mytable WHERE a = 'test' ORDER by b;" > (well at least in PostgreSQL) > > But may be that's not what you're looking for. > > JY Salut Jean-Yves, I find the the result=$hConn.Find(table,Request, RequestArgu,...) way useful, only one thing I miss, to sort the results. And for that I ask. Charlie ------------------------------ Message: 6 Date: Fri, 14 Aug 2009 19:58:12 +0200 From: Charlie Reinl Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain Thanks David, writing SQL strings I'm used to do. I look for the way in : result=$hConn.Find(table,Request, RequestArgu,...) There I add till now after the Request my Order by ... Charlie Am Freitag, den 14.08.2009, 10:25 -0700 schrieb David Villalobos Cambronero: > Have you ever try $Conn.Exec() > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Charlie Reinl > To: mailing list for gambas users > Sent: Friday, August 14, 2009 11:10:52 AM > Subject: [Gambas-user] Question about gb.db > > Salut, > > till now I use the Request part in $hConn.Find to set my sorting > "Order by" > Is there a better/easier way, which I ignore ? > > Hope you have solutions. > > for gambas2 (2.15.2) > ------------------------------ Message: 7 Date: Fri, 14 Aug 2009 20:03:57 +0200 From: "Jean-Yves F. Barbier" Subject: [Gambas-user] MP | Re: Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 Werner a ?crit : > Charlie Reinl wrote: >> Salut, >> >> till now I use the Request part in $hConn.Find to set my sorting >> "Order by" >> Is there a better/easier way, which I ignore ? >> >> Hope you have solutions. >> >> for gambas2 (2.15.2) >> >> > I do that, too. My records are only a few thousands so it works > well. Typically, I put the retrieved data in a columnview or > similar widget and let the user can then sort it to some other criteria. > My view is that the software closest to the data knows best how to sort it. > > Amicalement > Werner Hi Werner, Have you got some code using this PLS? At this time I only use Qt DataSource, but as soon as I'll have to return only some rows, I'll need this kinda code; and there's not very much of this in examples. Thanks, JY -- If I were to walk on water, the press would say I'm only doing it because I can't swim. -- Bob Stanfield ------------------------------ Message: 8 Date: Fri, 14 Aug 2009 20:10:04 +0200 From: "Jean-Yves F. Barbier" Subject: Re: [Gambas-user] Question about gb.db To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 Charlie Reinl a ?crit : .. > I find the the result=$hConn.Find(table,Request, RequestArgu,...) way > useful, only one thing I miss, to sort the results. > And for that I ask. Ok Charlie, that's interesting to know it exist. But may be you could re-issue the same command changing the request to do the trick JY -- Happiness adds and multiplies as we divide it with others. ------------------------------ Message: 9 Date: Fri, 14 Aug 2009 21:03:01 +0200 From: Fabien Bodard Subject: Re: [Gambas-user] intercept focus To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=ISO-8859-1 2009/8/14 Jean-Yves F. Barbier : > Hi list, > > Is there a possibility to intercept events such as FocusIN/FocusOUT (well, not > exactly: mouse hovering) from a widget? > > I want to use that to make my popup Invisible when mouse cursor leaves the widget. > > JY > -- > To fear love is to fear life, and those who fear life are already three > parts dead. > ? ? ? ? ? ? ? ?-- Bertrand Russell > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Public sub MyWidjet_Leave() End http://gambasdoc.org/help/comp/gb.qt/control/.leave ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 39, Issue 47 ******************************************* From wdahn at ...1000... Sat Aug 15 09:48:33 2009 From: wdahn at ...1000... (Werner) Date: Sat, 15 Aug 2009 15:48:33 +0800 Subject: [Gambas-user] MP | Re: Question about gb.db In-Reply-To: <4A85A70D.3070102@...626...> References: <1250269852.6474.10.camel@...40...> <4A85A4C1.7060607@...1000...> <4A85A70D.3070102@...626...> Message-ID: <4A866851.8050904@...1000...> Jean-Yves F. Barbier wrote: > Werner a ?crit : > >> Charlie Reinl wrote: >> >>> Salut, >>> >>> till now I use the Request part in $hConn.Find to set my sorting >>> "Order by" >>> Is there a better/easier way, which I ignore ? >>> >>> Hope you have solutions. >>> >>> for gambas2 (2.15.2) >>> >>> >>> >> I do that, too. My records are only a few thousands so it works >> well. Typically, I put the retrieved data in a columnview or >> similar widget and let the user can then sort it to some other criteria. >> My view is that the software closest to the data knows best how to sort it. >> >> Amicalement >> Werner >> > > Hi Werner, > > Have you got some code using this PLS? > > At this time I only use Qt DataSource, but as soon as I'll have to > return only some rows, I'll need this kinda code; and there's not very > much of this in examples. > > Thanks, > JY > > I only do what amounts to SELECT * FROM etc because the data fields are small. It would be different with blobs. Regards Werner From gambas.fr at ...626... Sat Aug 15 10:03:23 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 15 Aug 2009 10:03:23 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A85D4E4.1080102@...626...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> Message-ID: <6324a42a0908150103i5088c111od9ffc2ac41e264c2@...627...> strange ... it not happen to me ... have you a long text ? on what toolkit ? have you other process in execution ? (timer event ?) 2009/8/14 Jean-Yves F. Barbier <12ukwn at ...626...>: > Jean-Yves F. Barbier a ?crit : >> Hi list, >> >> I've got a popup that is a small frame containing a TextArea & 2 buttons. >> >> In order to do things right, I've got a default text into TextArea; but to >> make sure typing will fill the TextArea, I must do 2 things: >> TextArea1.SelectAll() >> TextArea1.SetFocus() >> >> however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! > > This only happen the first time: next invocations don't have this delay > > -- > This fortune is encrypted -- get your decoder rings ready! > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From doriano.blengino at ...1909... Sat Aug 15 12:19:12 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 15 Aug 2009 12:19:12 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A85D4E4.1080102@...626...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> Message-ID: <4A868BA0.9040302@...1909...> Jean-Yves F. Barbier ha scritto: > Jean-Yves F. Barbier a ?crit : > >> Hi list, >> >> I've got a popup that is a small frame containing a TextArea & 2 buttons. >> >> In order to do things right, I've got a default text into TextArea; but to >> make sure typing will fill the TextArea, I must do 2 things: >> TextArea1.SelectAll() >> TextArea1.SetFocus() >> >> however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! >> > > This only happen the first time: next invocations don't have this delay > > May be because the first time the whole window is invisible, and the following times is not? You could also set up a timer (a few milliseconds) and posticipate the setfocus. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sat Aug 15 15:53:23 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 15 Aug 2009 15:53:23 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A868BA0.9040302@...1909...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> <4A868BA0.9040302@...1909...> Message-ID: <4A86BDD3.50406@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Jean-Yves F. Barbier a ?crit : >> >>> Hi list, >>> >>> I've got a popup that is a small frame containing a TextArea & 2 buttons. >>> >>> In order to do things right, I've got a default text into TextArea; but to >>> make sure typing will fill the TextArea, I must do 2 things: >>> TextArea1.SelectAll() >>> TextArea1.SetFocus() >>> >>> however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! >>> >> This only happen the first time: next invocations don't have this delay >> >> > May be because the first time the whole window is invisible, and the > following times is not? I don't think so, here's the process: Lanch open FMain that wait for input, btn Ok opens a 2nd window that 1st seek a DB to recover languages, procedure names, schemas & user names, I left-click on an item and choose an action in popup, The small frame that input data for choosen action takes ~1.3sec to show @ 1st (further uses are instantenous!) A timer is runnig on the 2nd Form to drive the selection bar of popup (25ms). Code is quite simple without: blah blah process frm_Group.Visible = TRUE ' Frame that contains next textbox txb_GroupName.SelectAll() ' Select all default text in input zone with: blah blah process frm_Group.Visible = TRUE txb_GroupName.SelectAll() txb_GroupName.SetFocus() ' Aaarghhh For ergonomy I must do that, otherwise the focus isn't on text at opening > You could also set up a timer (a few milliseconds) and posticipate the > setfocus. I don't think so because the procedure isn't that long and that complex, so if I setup a timer, it must be in another place than this procedure; this is the beginning of a future whole mess. JY -- You can no more win a war than you can win an earthquake. -- Jeannette Rankin From 12ukwn at ...626... Sat Aug 15 15:38:41 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 15 Aug 2009 15:38:41 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <6324a42a0908150103i5088c111od9ffc2ac41e264c2@...627...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> <6324a42a0908150103i5088c111od9ffc2ac41e264c2@...627...> Message-ID: <4A86BA61.1000909@...626...> Fabien Bodard a ?crit : > strange ... it not happen to me ... > > have you a long text ? very: "Nouveau Groupe" for the frame and: "Nom" into the textbox > on what toolkit ? debian sid official package 2.15.2 > have you other process in execution ? (timer event ?) Timer's on but it only drive 2 popups (25ms) -- What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875 From rterry at ...1946... Sat Aug 15 16:14:25 2009 From: rterry at ...1946... (richard terry) Date: Sun, 16 Aug 2009 00:14:25 +1000 Subject: [Gambas-user] Build failed 2231/4 -soname gb.so.0 Message-ID: <45bba5c0908150714r66f7ca6ale8925412673b7f18@...627...> *-soname gb.so.0 -O1 -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' anyone got any clues. I've just put a new hdd in my laptop and did a total new re-install of kde4.3. This version did compile on my old system with was kde 3.5 Thanks. Richard * From lordheavym at ...626... Sat Aug 15 16:32:56 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 15 Aug 2009 16:32:56 +0200 Subject: [Gambas-user] Build failed 2231/4 -soname gb.so.0 In-Reply-To: <45bba5c0908150714r66f7ca6ale8925412673b7f18@...627...> References: <45bba5c0908150714r66f7ca6ale8925412673b7f18@...627...> Message-ID: <200908151632.56890.lordheavym@...626...> Le samedi 15 ao?t 2009 16:14:25 richard terry, vous avez ?crit : > *-soname gb.so.0 > -O1 -soname gb.so.0 -o .libs/gb.so.0.0.0 > gcc: gb.so.0: No such file or directory > gcc: unrecognized option '-soname' > > anyone got any clues. > > I've just put a new hdd in my laptop and did a total new re-install of > kde4.3. This version did compile on my old system with was kde 3.5 > > Thanks. > > Richard > Did you do a ./reconf-all ? it's necessary as it is a fix in acinclude.m4 ++ From vitaf at ...1977... Sat Aug 15 16:36:26 2009 From: vitaf at ...1977... (=?KOI8-R?Q?=F7=C9=D4=C1=CC=C9=CA?=) Date: Sat, 15 Aug 2009 18:36:26 +0400 Subject: [Gambas-user] (no subject) In-Reply-To: References: Message-ID: <0540fa340f4baf73ff636d6a1664811c761380a9@...1998...> Est li sredi chitaushih russkoyazichniye? Pishite mne vitaf{cat)rbcmail(point]ru Vitaliy From doriano.blengino at ...1909... Sat Aug 15 17:16:28 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 15 Aug 2009 17:16:28 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A86BDD3.50406@...626...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> <4A868BA0.9040302@...1909...> <4A86BDD3.50406@...626...> Message-ID: <4A86D14C.2060107@...1909...> Jean-Yves F. Barbier ha scritto: > Doriano Blengino a ?crit : > >> Jean-Yves F. Barbier ha scritto: >> >>> Jean-Yves F. Barbier a ?crit : >>> >>> >>>> Hi list, >>>> >>>> I've got a popup that is a small frame containing a TextArea & 2 buttons. >>>> >>>> In order to do things right, I've got a default text into TextArea; but to >>>> make sure typing will fill the TextArea, I must do 2 things: >>>> TextArea1.SelectAll() >>>> TextArea1.SetFocus() >>>> >>>> however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows! >>>> >>>> >>> This only happen the first time: next invocations don't have this delay >>> >>> >>> >> May be because the first time the whole window is invisible, and the >> following times is not? >> > > I don't think so, here's the process: > Lanch open FMain that wait for input, > btn Ok opens a 2nd window that 1st seek a DB to recover languages, procedure names, > schemas & user names, > I left-click on an item and choose an action in popup, > The small frame that input data for choosen action takes ~1.3sec to show @ 1st > (further uses are instantenous!) > > A timer is runnig on the 2nd Form to drive the selection bar of popup (25ms). > > Code is quite simple > without: > blah blah process > frm_Group.Visible = TRUE ' Frame that contains next textbox > txb_GroupName.SelectAll() ' Select all default text in input zone > > with: > blah blah process > frm_Group.Visible = TRUE > txb_GroupName.SelectAll() > txb_GroupName.SetFocus() ' Aaarghhh > > For ergonomy I must do that, otherwise the focus isn't on text at opening > > >> You could also set up a timer (a few milliseconds) and posticipate the >> setfocus. >> > > I don't think so because the procedure isn't that long and that complex, so if > I setup a timer, it must be in another place than this procedure; this is the > beginning of a future whole mess. > > JY > > Fabien was asking what toolkit you are using: GTK or QT? Try the other one, who knows... it's a quick way to know if the problem is in the toolkit. In QT I experienced similar delays whith message boxes - I think those delays are related to sound (yeah, it's very important to play a sound together with a popup... and I don't know how to disable sound). I understand one doesn't want to mess with the code, especially a timer when there is no reason. But sometimes it solves. For example, once I wanted to close a tabstrip from a button sitting on the tabstrip itself. It was impossible without using a timer, because the tabstrip refused to destroy while executing an event from a gadget owned by the tabstrip. Too long to explain - I had to "unrelate" the button and the tabstrip - I did it with a timer. Now I am playing with GTK, and I see that focus and visibility of gadgets (and other things) behave strangely. Trying to use a timer is a 4-lines piece of code: instead of doing a thing, you start a timer. In the event of the timer you do what you want to do, and disable the timer; you don't even need to put the timer in the form; you create it on the fly in the program, and destroy or stop it after it has done the job. The reason for all this is that when you execute somthing.show(), a lot of things must happen; these things sometimes are deferred, but you, just after show(), want to focus a gadget that perhaps is not even visible. By exiting the event handler, you give the toolkit the CPU time to show the window and do whatever it needs. I am not sure, but 4 or 5 lines of code can worth the time. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sun Aug 16 05:40:32 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 05:40:32 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A86D14C.2060107@...1909...> References: <4A85D3D7.8050008@...626...> <4A85D4E4.1080102@...626...> <4A868BA0.9040302@...1909...> <4A86BDD3.50406@...626...> <4A86D14C.2060107@...1909...> Message-ID: <4A877FB0.902@...626...> Doriano Blengino a ?crit : ... > Fabien was asking what toolkit you are using: GTK or QT? Qt > Try the other one, who knows... it's a quick way to know if the problem > is in the toolkit. a real mess: permanent scrolling of GTK errors in console, unusable because printing errors takes all cycles (15 sec. to stop after hitting 'Quit') > In QT I experienced similar delays whith message boxes - I think those > delays are related to sound (yeah, it's very important to play a sound > together with a popup... and I don't know how to disable sound). Strangely, today the delay is only ~0.6 sec (weird: no X restart, no reboot, no more charge than yesterday, no more more (more or less:)) > I understand one doesn't want to mess with the code, especially a timer > when there is no reason. But sometimes it solves. For example, once I > wanted to close a tabstrip from a button sitting on the tabstrip itself. > It was impossible without using a timer, because the tabstrip refused to > destroy while executing an event from a gadget owned by the tabstrip. > Too long to explain - I had to "unrelate" the button and the tabstrip - Yeah, I see what you mean; but I don't see how you made it (got some code?) > I did it with a timer. Now I am playing with GTK, and I see that focus > and visibility of gadgets (and other things) behave strangely. Trying to > use a timer is a 4-lines piece of code: instead of doing a thing, you > start a timer. In the event of the timer you do what you want to do, and > disable the timer; you don't even need to put the timer in the form; you > create it on the fly in the program, and destroy or stop it after it has > done the job. The reason for all this is that when you execute > somthing.show(), a lot of things must happen; these things sometimes are > deferred, but you, just after show(), want to focus a gadget that > perhaps is not even visible. By exiting the event handler, you give the > toolkit the CPU time to show the window and do whatever it needs. Ok I've got the overall. 1st I'll finished the application, and if this last, I'll contact you. Thanks Doriano (late because I had a PB with gmail that took me hours to solve:( -- tearing off a quicky: Gunning the jump. From 12ukwn at ...626... Sun Aug 16 15:47:38 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 15:47:38 +0200 Subject: [Gambas-user] equivalent python self Message-ID: <4A880DFA.4020902@...626...> Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END -- BOFH excuse #7: poor power conditioning From 12ukwn at ...626... Sun Aug 16 15:37:25 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 15:37:25 +0200 Subject: [Gambas-user] Run() Message-ID: <4A880B95.7030601@...626...> Hi list, I'd like to know when exactly the Run() method from a form is run? -- It was Penguin lust... at its ugliest. From doriano.blengino at ...1909... Sun Aug 16 16:25:54 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 16 Aug 2009 16:25:54 +0200 Subject: [Gambas-user] equivalent python self In-Reply-To: <4A880DFA.4020902@...626...> References: <4A880DFA.4020902@...626...> Message-ID: <4A8816F2.2010708@...1909...> Jean-Yves F. Barbier ha scritto: > Hi list, > > Is there an equivalent to Python 'self' into GB? > > i.e. into a proc: > TreeView1_MouseDown() > self.Enable = TRUE > instead of > TreeView.Enable = TRUE > END > > This is LAST. But beware, it is the current sender of an event, not 'self'. There is also ME, which is the current instance of a class. From your example it is not clear what you mean, because it is a little nonsense. To clarify, take a form with a button1 on it. if you write: public button1_click() last.x += 10 end the button will shift to the right every time you click it. If you write public button1_click() me.x += 10 end the form will shift, not the button. I think (and hope) this is what you needed. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sun Aug 16 17:16:11 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 17:16:11 +0200 Subject: [Gambas-user] equivalent python self In-Reply-To: <4A8816F2.2010708@...1909...> References: <4A880DFA.4020902@...626...> <4A8816F2.2010708@...1909...> Message-ID: <4A8822BB.9000300@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> Is there an equivalent to Python 'self' into GB? >> >> i.e. into a proc: >> TreeView1_MouseDown() >> self.Enable = TRUE >> instead of >> TreeView.Enable = TRUE >> END >> >> > This is LAST. But beware, it is the current sender of an event, not > 'self'. There is also ME, which is the current instance of a class. From > your example it is not clear what you mean, because it is a little > nonsense. To clarify, take a form with a button1 on it. if you write: > > public button1_click() > last.x += 10 > end > > > the button will shift to the right every time you click it. If you write > > public button1_click() > me.x += 10 > end > > > the form will shift, not the button. > > I think (and hope) this is what you needed. Regards, I guess so: my purpose is to have a shortcut (some procs have very long names) into procs they "own" (otherwise, GB wouldn't know to which object apply the command) In my example proc is about TreeView1 object, so following what you said, LAST.Enable = TRUE will be applied to TreeView1 BUT will it be applied to another object I could reference into this proc=> i.e.: TreeView1_MouseDown() TextBox2756.Text = "xxxxxxx" LAST.Enable = TRUE => does it apply to TreeView1 or TextBox2756 ? END -- Most legends have their basis in facts. -- Kirk, "And The Children Shall Lead", stardate 5029.5 From Karl.Reinl at ...9... Sun Aug 16 17:16:51 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 16 Aug 2009 17:16:51 +0200 Subject: [Gambas-user] Run() In-Reply-To: <4A880B95.7030601@...626...> References: <4A880B95.7030601@...626...> Message-ID: <1250435811.6411.4.camel@...40...> Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: > Hi list, > > I'd like to know when exactly the Run() method from a form is run? > Salut Jean-Yves, when you call it .Run() from outside -- Amicalment Charlie From 12ukwn at ...626... Sun Aug 16 17:23:50 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 17:23:50 +0200 Subject: [Gambas-user] Run() In-Reply-To: <1250435811.6411.4.camel@...40...> References: <4A880B95.7030601@...626...> <1250435811.6411.4.camel@...40...> Message-ID: <4A882486.2040906@...626...> Charlie Reinl a ?crit : > Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: >> Hi list, >> >> I'd like to know when exactly the Run() method from a form is run? >> > > Salut Jean-Yves, > > when you call it .Run() from outside Salut Charlie, ok, I though the only way was FormX.Open(); so that means 1st Run() and 2nd Open(), I guess? -- If God had a beard, he'd be a UNIX programmer. From doriano.blengino at ...1909... Sun Aug 16 17:45:18 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 16 Aug 2009 17:45:18 +0200 Subject: [Gambas-user] equivalent python self In-Reply-To: <4A8822BB.9000300@...626...> References: <4A880DFA.4020902@...626...> <4A8816F2.2010708@...1909...> <4A8822BB.9000300@...626...> Message-ID: <4A88298E.4050300@...1909...> Jean-Yves F. Barbier ha scritto: > Doriano Blengino a ?crit : > >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> Is there an equivalent to Python 'self' into GB? >>> >>> i.e. into a proc: >>> TreeView1_MouseDown() >>> self.Enable = TRUE >>> instead of >>> TreeView.Enable = TRUE >>> END >>> >>> >>> >> This is LAST. But beware, it is the current sender of an event, not >> 'self'. There is also ME, which is the current instance of a class. From >> your example it is not clear what you mean, because it is a little >> nonsense. To clarify, take a form with a button1 on it. if you write: >> >> public button1_click() >> last.x += 10 >> end >> >> >> the button will shift to the right every time you click it. If you write >> >> public button1_click() >> me.x += 10 >> end >> >> >> the form will shift, not the button. >> >> I think (and hope) this is what you needed. Regards, >> > > I guess so: my purpose is to have a shortcut (some procs have very long names) > into procs they "own" (otherwise, GB wouldn't know to which object apply the command) > Perhaps you are talking about event handlers? Beware that they are different from normal methods... but you will see by yourself. > In my example proc is about TreeView1 object, so following what you said, > LAST.Enable = TRUE will be applied to TreeView1 BUT will it be applied to another > object I could reference into this proc=> > > i.e.: > TreeView1_MouseDown() > TextBox2756.Text = "xxxxxxx" > LAST.Enable = TRUE => does it apply to TreeView1 or TextBox2756 ? > END > applies to TreeView1 -------------^ I see your ideas are not clear. In the above subroutine LAST refers to the object which raised the event - presumably TreeView1 when you pressed a mouse button on it. But you can make several objects call the same event handler: ANewButton = new Button(me) as "TreeView1" ' just to explain... After that declaration, if you click that button, TreeView1_MouseDown will be called, and the same will happen if you click on TreeView1 (two different objects call the same event handler). But in the first case LAST will refer to ANewButton, in the second it will refer to TreeView1. That's all - no other meanings can be attached to LAST, and its life ceases when the subroutine (i.e., event handler) ceases. LAST is a global variable, so gambas will let you access it even when such a thing would be wrong; it makes sense only when referring to "the object which raised this singular event I am managing now". Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sun Aug 16 17:48:18 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 17:48:18 +0200 Subject: [Gambas-user] equivalent python self In-Reply-To: <4A88298E.4050300@...1909...> References: <4A880DFA.4020902@...626...> <4A8816F2.2010708@...1909...> <4A8822BB.9000300@...626...> <4A88298E.4050300@...1909...> Message-ID: <4A882A42.5060501@...626...> Doriano Blengino a ?crit : ... >> i.e.: >> TreeView1_MouseDown() >> TextBox2756.Text = "xxxxxxx" >> LAST.Enable = TRUE => does it apply to TreeView1 or TextBox2756 ? >> END >> > applies to TreeView1 -------------^ > > I see your ideas are not clear. In the above subroutine LAST refers to > the object which raised the event - presumably TreeView1 when you > pressed a mouse button on it. But you can make several objects call the > same event handler: > > ANewButton = new Button(me) as "TreeView1" ' just to explain... > > After that declaration, if you click that button, TreeView1_MouseDown > will be called, and the same will happen if you click on TreeView1 (two > different objects call the same event handler). But in the first case > LAST will refer to ANewButton, in the second it will refer to TreeView1. > That's all - no other meanings can be attached to LAST, and its life > ceases when the subroutine (i.e., event handler) ceases. LAST is a > global variable, so gambas will let you access it even when such a thing > would be wrong; it makes sense only when referring to "the object which > raised this singular event I am managing now". Thanks Doriano it is now clear; so I'll stick to real name to avoid any side effect. JY -- It is far better to sleep with an old hen than pullet. From 12ukwn at ...626... Sun Aug 16 18:02:28 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 18:02:28 +0200 Subject: [Gambas-user] refer to an object with a string Message-ID: <4A882D94.7010005@...626...> Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. But after building my strings that are orders, GB tell me its not an object: PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) DIM lbl AS String DIM ckb AS String lbl = "lbl_" & which & ".Enabled = " ckb = "ckb_" & which & ".Enabled = " IF onoff THEN ' ON lbl &= "TRUE" ckb &= "TRUE" (SOMETHING TO "EXEC" THE STRING)lbl (or may be: (SOMETHING)lbl = TRUE) (SOMETHING TO "EXEC" THE STRING)ckb ENDIF END Is there a way to do that? -- tear leather: To become excited, as in the sentence "Robin Hood tore his leather jerkin' off." From doriano.blengino at ...1909... Sun Aug 16 18:20:54 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 16 Aug 2009 18:20:54 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A882D94.7010005@...626...> References: <4A882D94.7010005@...626...> Message-ID: <4A8831E6.4040607@...1909...> Jean-Yves F. Barbier ha scritto: > Hi list, > > I'm trying to refer to come couples Label/CheckBox that have the same suffix > (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. > > But after building my strings that are orders, GB tell me its not an object: > > PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) > DIM lbl AS String > DIM ckb AS String > > lbl = "lbl_" & which & ".Enabled = " > ckb = "ckb_" & which & ".Enabled = " > IF onoff THEN ' ON > lbl &= "TRUE" > ckb &= "TRUE" > (SOMETHING TO "EXEC" THE STRING)lbl (or may be: (SOMETHING)lbl = TRUE) > (SOMETHING TO "EXEC" THE STRING)ckb > ENDIF > END > > Is there a way to do that? > The EVAL statement, but I never used it and also I am not sure it exists in gambas2. But there are other ways, more efficient. One is to find object handlers using introspection. You can find all the children of a form and, based on their name, do things (you can also scan all the children and, when you find the one which has the right name, do the thing you want). The other one, which I would recommed, is to create dynamically you objects, especially if they are many, and keep a reference to them using arrays or collections. Or a mix of the two: you create a form visually in the IDE, then in a routine collect all the handlers, and from then on you always use those handlers. I suspect you are doing something very large... Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sun Aug 16 18:38:53 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 18:38:53 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A8831E6.4040607@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> Message-ID: <4A88361D.7080309@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> I'm trying to refer to come couples Label/CheckBox that have the same suffix >> (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. >> >> But after building my strings that are orders, GB tell me its not an object: >> >> PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) >> DIM lbl AS String >> DIM ckb AS String >> >> lbl = "lbl_" & which & ".Enabled = " >> ckb = "ckb_" & which & ".Enabled = " >> IF onoff THEN ' ON >> lbl &= "TRUE" >> ckb &= "TRUE" >> (SOMETHING TO "EXEC" THE STRING)lbl (or may be: (SOMETHING)lbl = TRUE) >> (SOMETHING TO "EXEC" THE STRING)ckb >> ENDIF >> END >> >> Is there a way to do that? >> > The EVAL statement, but I never used it and also I am not sure it exists > in gambas2. Yes it exists, however I'm not tough enough to tell if it can work that way > But there are other ways, more efficient. One is to find object handlers > using introspection. You can find all the children of a form and, based > on their name, do things (you can also scan all the children and, when > you find the one which has the right name, do the thing you want). The I don't see (may be you're talking about iterating form content is a Variant) > other one, which I would recommed, is to create dynamically you objects, > especially if they are many, and keep a reference to them using arrays > or collections. Or a mix of the two: you create a form visually in the > IDE, then in a routine collect all the handlers, and from then on you > always use those handlers. I suspect you are doing something very large... No, in fact, not that big. On 2nd thought, it wasn't a good idea (even if it has worked, code would have been beeing too much obscur) But I keep your idea about very large arrays because I'll soon need it :) Regards JY -- A visit to a strange place will bring fresh work. From doriano.blengino at ...1909... Sun Aug 16 19:08:47 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 16 Aug 2009 19:08:47 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A88361D.7080309@...626...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> Message-ID: <4A883D1F.1070703@...1909...> Jean-Yves F. Barbier ha scritto: > Doriano Blengino a ?crit : > >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> I'm trying to refer to come couples Label/CheckBox that have the same suffix >>> (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. >>> >>> But after building my strings that are orders, GB tell me its not an object: >>> >>> PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) >>> DIM lbl AS String >>> DIM ckb AS String >>> >>> lbl = "lbl_" & which & ".Enabled = " >>> ckb = "ckb_" & which & ".Enabled = " >>> IF onoff THEN ' ON >>> lbl &= "TRUE" >>> ckb &= "TRUE" >>> (SOMETHING TO "EXEC" THE STRING)lbl (or may be: (SOMETHING)lbl = TRUE) >>> (SOMETHING TO "EXEC" THE STRING)ckb >>> ENDIF >>> END >>> >>> Is there a way to do that? >>> >>> >> The EVAL statement, but I never used it and also I am not sure it exists >> in gambas2. >> > > Yes it exists, however I'm not tough enough to tell if it can work that way > > >> But there are other ways, more efficient. One is to find object handlers >> using introspection. You can find all the children of a form and, based >> on their name, do things (you can also scan all the children and, when >> you find the one which has the right name, do the thing you want). The >> > > I don't see (may be you're talking about iterating form content is a Variant) > The following is a routine which transfers data from a form (or other container) to a record of a database. The gadgets which are operated on are named like "edDBxxxx", where "xxxx" is the name of the field in the database. This routine manages textboxes, checkboxes and other; i attach it because you can see how to walk in a form, get the names and operate on gadgets: ' transfers a record from page to database; TRUE if error PUBLIC SUB save_record(hCont AS Container, recmod AS Result) AS Boolean DIM obj AS Object DIM st AS String FOR EACH obj IN hCont.Children IF obj.name LIKE "edDB*" THEN SELECT Lower(object.Type(obj)) CASE "textbox", "tdbsimplebox" recmod[Mid(obj.name, 5)] = obj.text CASE "tdbcalcbox" recmod[Mid(obj.name, 5)] = utils.formatted2float(obj.text) CASE "tdbdatebox" st = canonicaldate(obj.text) IF st <> "" THEN recmod[Mid(obj.name, 5)] = Val(st) CASE "checkbox" recmod[Mid(obj.name, 5)] = obj.value END SELECT ENDIF NEXT recmod.Update RETURN FALSE CATCH Message.Error("Error " & error.Text & " in " & error.Where) RETURN TRUE END >> other one, which I would recommed, is to create dynamically you objects, >> especially if they are many, and keep a reference to them using arrays >> or collections. Or a mix of the two: you create a form visually in the >> IDE, then in a routine collect all the handlers, and from then on you >> always use those handlers. I suspect you are doing something very large... >> > > No, in fact, not that big. > On 2nd thought, it wasn't a good idea (even if it has worked, code would have > been beeing too much obscur) > I saw a "Label2572"... it seemed to me a little strange... And about obscure code, I think that well commented (and written!) code is never obscure, but sometimes one writes code too much complex for the purpose that has to be done. I sometimes do that... Re-regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From Karl.Reinl at ...9... Sun Aug 16 17:42:13 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 16 Aug 2009 17:42:13 +0200 Subject: [Gambas-user] overwrite a component ???? Message-ID: <1250437333.6411.17.camel@...40...> Salut, my to days problem is: since gambas-0.95 I use an InputBox called InputBox, works good for me. With gambas2 it became a component (user-component). To day I added to the project the gb.form component, which includes his own InputBox even called InputBox. What is to do, to overwrite the gb.form.InputBox component? -- Amicalment Charlie From Karl.Reinl at ...9... Sun Aug 16 20:37:04 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 16 Aug 2009 14:37:04 -0400 Subject: [Gambas-user] Run() In-Reply-To: <4A882486.2040906@...626...> References: <4A880B95.7030601@...626...> <1250435811.6411.4.camel@...40...> <4A882486.2040906@...626...> Message-ID: <1250447824.6411.24.camel@...40...> Am Sonntag, den 16.08.2009, 17:23 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a ?crit : > > Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: > >> Hi list, > >> > >> I'd like to know when exactly the Run() method from a form is run? > >> > > > > Salut Jean-Yves, > > > > when you call it .Run() from outside > > Salut Charlie, ok, I though the only way was FormX.Open(); > so that means 1st Run() and 2nd Open(), I guess? > Salut Jean-Yves, Yes like this, in run() you prepare and can make a .show. Or return to the caller pushing some variables and then make a .show Charlie From Karl.Reinl at ...9... Sun Aug 16 21:01:02 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 16 Aug 2009 15:01:02 -0400 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A883D1F.1070703@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> Message-ID: <1250449262.6411.40.camel@...40...> Am Sonntag, den 16.08.2009, 19:08 +0200 schrieb Doriano Blengino: > Jean-Yves F. Barbier ha scritto: > > Doriano Blengino a ?crit : > > > >> Jean-Yves F. Barbier ha scritto: > >> > >>> Hi list, > >>> > >>> I'm trying to refer to come couples Label/CheckBox that have the same suffix > >>> (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. > >>> > >>> But after building my strings that are orders, GB tell me its not an object: > >>> > >>> PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) > >>> DIM lbl AS String > >>> DIM ckb AS String > >>> > >>> lbl = "lbl_" & which & ".Enabled = " > >>> ckb = "ckb_" & which & ".Enabled = " > >>> IF onoff THEN ' ON > >>> lbl &= "TRUE" > >>> ckb &= "TRUE" > >>> (SOMETHING TO "EXEC" THE STRING)lbl (or may be: (SOMETHING)lbl = TRUE) > >>> (SOMETHING TO "EXEC" THE STRING)ckb > >>> ENDIF > >>> END > >>> > >>> Is there a way to do that? > >>> > >>> > >> The EVAL statement, but I never used it and also I am not sure it exists > >> in gambas2. > >> > > > > Yes it exists, however I'm not tough enough to tell if it can work that way > > > > > >> But there are other ways, more efficient. One is to find object handlers > >> using introspection. You can find all the children of a form and, based > >> on their name, do things (you can also scan all the children and, when > >> you find the one which has the right name, do the thing you want). The > >> > > > > I don't see (may be you're talking about iterating form content is a Variant) > > > > The following is a routine which transfers data from a form (or other > container) to a record of a database. > The gadgets which are operated on are named like "edDBxxxx", where > "xxxx" is the name of the field in the database. > This routine manages textboxes, checkboxes and other; i attach it > because you can see how to walk in a form, > get the names and operate on gadgets: > > ' transfers a record from page to database; TRUE if error > PUBLIC SUB save_record(hCont AS Container, recmod AS Result) AS Boolean > DIM obj AS Object > DIM st AS String > > FOR EACH obj IN hCont.Children > IF obj.name LIKE "edDB*" THEN > SELECT Lower(object.Type(obj)) > CASE "textbox", "tdbsimplebox" > recmod[Mid(obj.name, 5)] = obj.text > > CASE "tdbcalcbox" > recmod[Mid(obj.name, 5)] = utils.formatted2float(obj.text) > > CASE "tdbdatebox" > st = canonicaldate(obj.text) > IF st <> "" THEN recmod[Mid(obj.name, 5)] = Val(st) > > CASE "checkbox" > recmod[Mid(obj.name, 5)] = obj.value default 'check here if it is a Container ' if yes call save_record(obj,recmod) > > END SELECT > ENDIF > NEXT > recmod.Update > RETURN FALSE > > CATCH > Message.Error("Error " & error.Text & " in " & error.Where) > RETURN TRUE > END > > > >> other one, which I would recommed, is to create dynamically you objects, > >> especially if they are many, and keep a reference to them using arrays > >> or collections. Or a mix of the two: you create a form visually in the > >> IDE, then in a routine collect all the handlers, and from then on you > >> always use those handlers. I suspect you are doing something very large... > >> > > > > No, in fact, not that big. > > On 2nd thought, it wasn't a good idea (even if it has worked, code would have > > been beeing too much obscur) > > > I saw a "Label2572"... it seemed to me a little strange... > And about obscure code, I think that well commented (and written!) code > is never obscure, but sometimes one writes code too much complex for the > purpose that has to be done. I sometimes do that... > > Re-regards, > > -- > Doriano Blengino > > "Listen twice before you speak. > This is why we have two ears, but only one mouth." From gambas at ...1... Sun Aug 16 22:43:42 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 16 Aug 2009 22:43:42 +0200 Subject: [Gambas-user] overwrite a component ???? In-Reply-To: <1250437333.6411.17.camel@...40...> References: <1250437333.6411.17.camel@...40...> Message-ID: <200908162243.42326.gambas@...1...> > Salut, > > my to days problem is: > > since gambas-0.95 I use an InputBox called InputBox, works good for me. > With gambas2 it became a component (user-component). > > To day I added to the project the gb.form component, which includes his > own InputBox even called InputBox. > > What is to do, to overwrite the gb.form.InputBox component? You must export it (with the EXPORT keyword). It will not actually overwrite the gb.form InputBox, it will inherit it. So be careful! Regards, -- Beno?t From Karl.Reinl at ...9... Sun Aug 16 23:25:38 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 16 Aug 2009 23:25:38 +0200 Subject: [Gambas-user] overwrite a component ???? In-Reply-To: <200908162243.42326.gambas@...1...> References: <1250437333.6411.17.camel@...40...> <200908162243.42326.gambas@...1...> Message-ID: <1250457938.19890.4.camel@...40...> Am Sonntag, den 16.08.2009, 22:43 +0200 schrieb Beno?t Minisini: > > Salut, > > > > my to days problem is: > > > > since gambas-0.95 I use an InputBox called InputBox, works good for me. > > With gambas2 it became a component (user-component). > > > > To day I added to the project the gb.form component, which includes his > > own InputBox even called InputBox. > > > > What is to do, to overwrite the gb.form.InputBox component? > > You must export it (with the EXPORT keyword). It will not actually overwrite > the gb.form InputBox, it will inherit it. So be careful! Salut, yes I felt it, that's way I wrote overwrite! Gambas said "Cannot load class 'Input':Mulitple inheritance" Regards Charlie From 12ukwn at ...626... Sun Aug 16 23:31:55 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 23:31:55 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A883D1F.1070703@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> Message-ID: <4A887ACB.4030907@...626...> Doriano Blengino a ?crit : ........ Thanks to both ouf you, I saved this thread to be sure to have it when needed :) > I saw a "Label2572"... it seemed to me a little strange... > And about obscure code, I think that well commented (and written!) code > is never obscure, but sometimes one writes code too much complex for the > purpose that has to be done. I sometimes do that... Just a joke, I leave only "unused" object stay with their generated names, I renamed other with "talking" names; real names of these variables are: lbl_CONNECT (title of ->) and ckb_CONNECT (CheckBox). I avoid esoteric names JY -- Let's all show human CONCERN for REVERAND MOON's legal difficulties!! From 12ukwn at ...626... Sun Aug 16 23:31:55 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 16 Aug 2009 23:31:55 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A883D1F.1070703@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> Message-ID: <4A887ACB.4030907@...626...> Doriano Blengino a ?crit : ........ Thanks to both ouf you, I saved this thread to be sure to have it when needed :) > I saw a "Label2572"... it seemed to me a little strange... > And about obscure code, I think that well commented (and written!) code > is never obscure, but sometimes one writes code too much complex for the > purpose that has to be done. I sometimes do that... Just a joke, I leave only "unused" object stay with their generated names, I renamed other with "talking" names; real names of these variables are: lbl_CONNECT (title of ->) and ckb_CONNECT (CheckBox). I avoid esoteric names JY -- Let's all show human CONCERN for REVERAND MOON's legal difficulties!! From gambas at ...1... Mon Aug 17 00:07:15 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 00:07:15 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A877FB0.902@...626...> References: <4A85D3D7.8050008@...626...> <4A86D14C.2060107@...1909...> <4A877FB0.902@...626...> Message-ID: <200908170007.15850.gambas@...1...> > Doriano Blengino a ?crit : > ... > > > Fabien was asking what toolkit you are using: GTK or QT? > > Qt > I've heard of a bug in the clipboard management of recent Qt4 versions. Could it be the source of your delay? > > Try the other one, who knows... it's a quick way to know if the problem > > is in the toolkit. > > a real mess: permanent scrolling of GTK errors in console, unusable because > printing errors takes all cycles (15 sec. to stop after hitting 'Quit') Which warnings or errors messages do you have? It is not normal to have such many messages! Regards, -- Beno?t From 12ukwn at ...626... Mon Aug 17 00:15:21 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 17 Aug 2009 00:15:21 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <200908170007.15850.gambas@...1...> References: <4A85D3D7.8050008@...626...> <4A86D14C.2060107@...1909...> <4A877FB0.902@...626...> <200908170007.15850.gambas@...1...> Message-ID: <4A8884F9.3080107@...626...> Beno?t Minisini a ?crit : >>> Fabien was asking what toolkit you are using: GTK or QT? >> Qt > > I've heard of a bug in the clipboard management of recent Qt4 versions. Could > it be the source of your delay? IDTS: it is V. 2.15.2 official debian sid package (QT3 I think) >>> Try the other one, who knows... it's a quick way to know if the problem >>> is in the toolkit. >> a real mess: permanent scrolling of GTK errors in console, unusable because >> printing errors takes all cycles (15 sec. to stop after hitting 'Quit') > > Which warnings or errors messages do you have? It is not normal to have such > many messages! No time to see; it goes as fast as the timer is (25ms); if you want I can export it as an executable and 2>&1 >my.log and put the log file here. -- BOFH excuse #336: the xy axis in the trackball is coordinated with the summer solstice From 12ukwn at ...626... Mon Aug 17 00:22:42 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 17 Aug 2009 00:22:42 +0200 Subject: [Gambas-user] treeview all leaves Message-ID: <4A8886B2.1000703@...626...> Hi list, is there a fast'n easy way to read a treview (depth goes up to 5 levels) from 1st node to last without missing any leaf? JY -- List at least two alternate dates. From gambas at ...1... Mon Aug 17 00:28:26 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 00:28:26 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems Message-ID: <200908170028.26627.gambas@...1...> Hi, I was in holidays the last week, but I took time to work on Gambas a little anyway. I did the following changes in the configuration process: - I put all custom autoconf macros in a "m4" directory. I have upgraded them with the one provided by Ubuntu 9.04. - I drop libltdl, the library loader provided by libtool. Now the interpreter directly uses dlopen(). That way, now I can do a ./reconf && ./configure on a Ubuntu 9.04 without any warnings and errors. Now I have to test on Mandriva these changes. Please tell me if compiling Gambas 3 on your system now is better. When the problems will be fixed, I will backport the changes to Gambas 2. Regards, -- Beno?t From dr.diesel at ...626... Mon Aug 17 00:42:28 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 16 Aug 2009 18:42:28 -0400 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170028.26627.gambas@...1...> References: <200908170028.26627.gambas@...1...> Message-ID: <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> 2009/8/16 Beno?t Minisini > Hi, > > I was in holidays the last week, but I took time to work on Gambas a little > anyway. > > I did the following changes in the configuration process: > > - I put all custom autoconf macros in a "m4" directory. I have upgraded > them > with the one provided by Ubuntu 9.04. > > - I drop libltdl, the library loader provided by libtool. Now the > interpreter > directly uses dlopen(). > > That way, now I can do a ./reconf && ./configure on a Ubuntu 9.04 without > any > warnings and errors. > > Now I have to test on Mandriva these changes. > > Please tell me if compiling Gambas 3 on your system now is better. When the > problems will be fixed, I will backport the changes to Gambas 2. > > Regards, > > -- > Beno?t Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [garage at ...40... trunk]$ ./reconf-all aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with exit status: 1 [garage at ...40... trunk]$ Fedora 11, 64bit machine Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From gambas at ...1... Mon Aug 17 00:47:01 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 00:47:01 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> References: <200908170028.26627.gambas@...1...> <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> Message-ID: <200908170047.01279.gambas@...1...> > > Many thanks for the dedication and quick support! Is this an issue with > the changes above, or some system issue on my part? > > Updated to revision 2236. > [garage at ...40... trunk]$ ./reconf-all > aclocal: couldn't open directory `m4': No such file or directory > autoreconf: aclocal failed with exit status: 1 > [garage at ...40... trunk]$ > > Fedora 11, 64bit machine > > Thanks > Andy Maybe some files I forgot to commit. Wait a little... -- Beno?t From gambas at ...1... Mon Aug 17 00:52:19 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 00:52:19 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170047.01279.gambas@...1...> References: <200908170028.26627.gambas@...1...> <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> <200908170047.01279.gambas@...1...> Message-ID: <200908170052.19293.gambas@...1...> > > Many thanks for the dedication and quick support! Is this an issue with > > the changes above, or some system issue on my part? > > > > Updated to revision 2236. > > [garage at ...40... trunk]$ ./reconf-all > > aclocal: couldn't open directory `m4': No such file or directory > > autoreconf: aclocal failed with exit status: 1 > > [garage at ...40... trunk]$ > > > > Fedora 11, 64bit machine > > > > Thanks > > Andy > > Maybe some files I forgot to commit. Wait a little... Try with revision #2237. -- Beno?t From Karl.Reinl at ...9... Mon Aug 17 00:52:07 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 17 Aug 2009 00:52:07 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170028.26627.gambas@...1...> References: <200908170028.26627.gambas@...1...> Message-ID: <1250463127.19890.8.camel@...40...> Am Montag, den 17.08.2009, 00:28 +0200 schrieb Beno?t Minisini: > Hi, > > I was in holidays the last week, but I took time to work on Gambas a little > anyway. > > I did the following changes in the configuration process: > > - I put all custom autoconf macros in a "m4" directory. I have upgraded them > with the one provided by Ubuntu 9.04. > > - I drop libltdl, the library loader provided by libtool. Now the interpreter > directly uses dlopen(). > > That way, now I can do a ./reconf && ./configure on a Ubuntu 9.04 without any > warnings and errors. > > Now I have to test on Mandriva these changes. > > Please tell me if compiling Gambas 3 on your system now is better. When the > problems will be fixed, I will backport the changes to Gambas 2. > > Regards, > Big Changes on the reconf-all.log. Ubuntu 8.04.3 LTS charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: reconf-all.log Type: text/x-log Size: 112 bytes Desc: not available URL: From dr.diesel at ...626... Mon Aug 17 01:45:00 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Sun, 16 Aug 2009 19:45:00 -0400 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170052.19293.gambas@...1...> References: <200908170028.26627.gambas@...1...> <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> <200908170047.01279.gambas@...1...> <200908170052.19293.gambas@...1...> Message-ID: <2a28d2ab0908161645y1c8b8e3yd8f207b887b40ad6@...627...> 2009/8/16 Beno?t Minisini > > > Many thanks for the dedication and quick support! Is this an issue > with > > > the changes above, or some system issue on my part? > > > > > > Updated to revision 2236. > > > [garage at ...40... trunk]$ ./reconf-all > > > aclocal: couldn't open directory `m4': No such file or directory > > > autoreconf: aclocal failed with exit status: 1 > > > [garage at ...40... trunk]$ > > > > > > Fedora 11, 64bit machine > > > > > > Thanks > > > Andy > > > > Maybe some files I forgot to commit. Wait a little... > > Try with revision #2237. > > -- > Beno?t > [garage at ...40... trunk]$ ./reconf-all aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' [garage at ...40... trunk]$ reconfig and configure ran, still working out some 64bit package deps but looks much better so far, thanks again! -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From Karl.Reinl at ...9... Mon Aug 17 01:47:26 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 17 Aug 2009 01:47:26 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170052.19293.gambas@...1...> References: <200908170028.26627.gambas@...1...> <2a28d2ab0908161542i4aeabff5g6afeae9812c9176d@...627...> <200908170047.01279.gambas@...1...> <200908170052.19293.gambas@...1...> Message-ID: <1250466447.6869.6.camel@...40...> Am Montag, den 17.08.2009, 00:52 +0200 schrieb Beno?t Minisini: > > > Many thanks for the dedication and quick support! Is this an issue with > > > the changes above, or some system issue on my part? > > > > > > Updated to revision 2236. > > > [garage at ...40... trunk]$ ./reconf-all > > > aclocal: couldn't open directory `m4': No such file or directory > > > autoreconf: aclocal failed with exit status: 1 > > > [garage at ...40... trunk]$ > > > > > > Fedora 11, 64bit machine > > > > > > Thanks > > > Andy > > > > Maybe some files I forgot to commit. Wait a little... > > Try with revision #2237. > Ubuntu 8.04.3 LTS I didn't make changes,I just compiled. Here are the log's (normally I use --disable-v4l , not this time) Charlie Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.log.tar.bz2 Type: application/x-bzip-compressed-tar Size: 28486 bytes Desc: not available URL: From doriano.blengino at ...1909... Mon Aug 17 06:58:45 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Mon, 17 Aug 2009 06:58:45 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A887ACB.4030907@...626...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> <4A887ACB.4030907@...626...> Message-ID: <4A88E385.4060406@...1909...> Jean-Yves F. Barbier ha scritto: > Doriano Blengino a ?crit : > ........ > > Thanks to both ouf you, I saved this thread to be sure to have it when needed :) > > >> I saw a "Label2572"... it seemed to me a little strange... >> And about obscure code, I think that well commented (and written!) code >> is never obscure, but sometimes one writes code too much complex for the >> purpose that has to be done. I sometimes do that... >> > > Just a joke, I leave only "unused" object stay with their generated names, I > renamed other with "talking" names; real names of these variables are: > lbl_CONNECT (title of ->) and ckb_CONNECT (CheckBox). > > I avoid esoteric names > I didn't want to say that Label2572 is obscure code: instead the first thing that came to my mind is "how many labels are in this form?". So I pointed out that perhaps dynamic construction of gadgets would have been useful to you. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From steven at ...2097... Mon Aug 17 07:20:00 2009 From: steven at ...2097... (Steven James Drinnan) Date: Mon, 17 Aug 2009 13:20:00 +0800 Subject: [Gambas-user] TrayIcon and Embeding In-Reply-To: <384d3900908140611u60124c48qd0ba6a274ef03a31@...627...> References: <4A82A2D6.6070104@...69...> <4A82BD8A.80104@...1237...> <2a28d2ab0908121154t12cc8c1fmee9c4d3328f47fc7@...627...> <1250128822.5333.95.camel@...2011...> <384d3900908130749l7c287c22gb78bf323eea557db@...627...> <1250215077.7690.2.camel@...2011...> <384d3900908140611u60124c48qd0ba6a274ef03a31@...627...> Message-ID: <1250486401.3455.3.camel@...2011...> No I am on fedora 11. It just appears to be loading problem. The delay fixed the problem. The error only happened when I auto-started the program on login. So it looks like some libraries were not initiated yet. Steven On Fri, 2009-08-14 at 16:11 +0300, Jussi Lahtinen wrote: > There is some problems with Ubuntu and Qt... > Application that use Qt start before some component of Qt it self. > I'm I correct, you are on Ubuntu and your application uses Qt? > > > Jussi > > > > On Fri, Aug 14, 2009 at 04:57, Steven James Drinnan wrote: > > Thanks that did the trick. > > > > Funny if I run manually from the menu entry all OK. > > > > > > Steven > > > > On Thu, 2009-08-13 at 17:49 +0300, Jussi Lahtinen wrote: > >> If your program works otherwise, I think your error would be because > >> something needed has not been started yet... > >> Try to start your program with script: > >> > >> #!/bin/sh > >> sleep 15 #Wait for 15 seconds. > >> gbr2 yourprogranname.gambas > >> > >> > >> Does it work then? > >> > >> > >> Jussi > >> > >> > >> > >> > >> > >> > >> On Thu, Aug 13, 2009 at 05:00, Steven James Drinnan wrote: > >> > Hi guys, > >> > > >> > I have had a look at prev posts but it seems it has not been resolved. > >> > > >> > I am working on a weather applet specific for Hong Kong. The problem is > >> > when I autostart the program on logon I get this > >> > error. "Unable to Embed from frmweather.?.0 " > >> > > >> > Any ideas. > >> > > >> > My source code can be found here: > >> > http://www.sjdsoft.hk/myyum/source/sjdsoft-hkweather.tar.gz > >> > > >> > Thanks for the help > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > >> > trial. Simplify your report design, integration and deployment - and focus on > >> > what you do best, core application coding. Discover what's new with > >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > >> ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > >> trial. Simplify your report design, integration and deployment - and focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Mon Aug 17 08:25:57 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Aug 2009 08:25:57 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> Message-ID: <4A88F7F5.1060108@...221...> Joshua Higgins schrieb: > I'm sure there is an example project that handles playing wav files... > Oh yes, you're right! Here in the office, I don't have the necessary library installed (why could that be?), but on my Laptop it might run. I'll check it later... Rolf From eilert-sprachen at ...221... Mon Aug 17 08:42:36 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Aug 2009 08:42:36 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <200908141044.00764.sourceforge-raindog2@...94...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> Message-ID: <4A88FBDC.4080206@...221...> Rob schrieb: > On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: >> I'm sure there is an example project that handles playing wav files... > > I'm pretty sure I or someone else posted a simple WAV player example to the > list shortly after the gb.sdl component was released (I know I wrote one > but someone might have beaten me to it.) No idea about recording > though.... > > Rob > Meanwhile I found an example app, but I haven't gb.sdl running - what are the dependencies or what would I have to do that it compiles? Rolf From dosida at ...626... Mon Aug 17 09:25:50 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 17 Aug 2009 01:25:50 -0600 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A88FBDC.4080206@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A88FBDC.4080206@...221...> Message-ID: <82bffccf0908170025h12f6f920n8083a93271d92964@...627...> Hey Rolf, This is what I got from the gambasdoc website for the gb.sdl.sound section ------------------------------------------------------------------ NEW Sound (gb.sdl.sound) *Syntax* DIM hSound AS Sound hSound = NEW Sound ( *File* AS String ) Creates a new sound from a WAV file. ------------------------------------------------------------------ Now gb.sdl.sound has what it calls channels... it's how you can play sound effects in games (in WAV format). You can load WAVs and play them at the same time OR at a specific time moment depending on your application). This is how you can play a sound in a channel ------------------------------------------------------------------ Channel.Play (gb.sdl.sound) *Syntax* SUB *Play* ( *[* *Sound* AS Sound , *Loops* AS Integer *]* ) Plays the specified Sound on the channel. With the *Loops* parameter, you can specify how many times the sound will be played. If *Loops* is -1, then the sound is played forever. By default, the sound is played once. ------------------------------------------------------------------ if you want to play MP3s or OGGs then you use the music object that's available in gb.sdl.sound I don't know if it's gb.sdl.sound that doesn't allow channels to play mp3 or m4a or other files in channels or SDL itself... (it would be awesome if we could do that then mixing music would be a breeze. I would also check the music player example in the sound section of the gambas examples as it does use gb.sdl.sound Hope this helps Regards Dimitris On Mon, Aug 17, 2009 at 12:42 AM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Rob schrieb: > > On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: > >> I'm sure there is an example project that handles playing wav files... > > > > I'm pretty sure I or someone else posted a simple WAV player example to > the > > list shortly after the gb.sdl component was released (I know I wrote one > > but someone might have beaten me to it.) No idea about recording > > though.... > > > > Rob > > > > Meanwhile I found an example app, but I haven't gb.sdl running - what > are the dependencies or what would I have to do that it compiles? > > Rolf > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charles at ...1784... Mon Aug 17 09:34:32 2009 From: charles at ...1784... (charlesg) Date: Mon, 17 Aug 2009 00:34:32 -0700 (PDT) Subject: [Gambas-user] Pass parameter to Gambas prog. Message-ID: <25002337.post@...1379...> Hi all, Can I pass a parameter to a Gambas program? e.g myprog.gambas parm1 How do I read the parameter? Any help gratefully received. rgds -- View this message in context: http://www.nabble.com/Pass-parameter-to-Gambas-prog.-tp25002337p25002337.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Aug 17 09:50:43 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 09:50:43 +0200 Subject: [Gambas-user] =?utf-8?q?libtool_management_in_Gambas_3_=26_compil?= =?utf-8?q?ation=09problems?= In-Reply-To: <1250466447.6869.6.camel@...40...> References: <200908170028.26627.gambas@...1...> <200908170052.19293.gambas@...1...> <1250466447.6869.6.camel@...40...> Message-ID: <200908170950.43974.gambas@...1...> > Am Montag, den 17.08.2009, 00:52 +0200 schrieb Beno?t Minisini: > > > > Many thanks for the dedication and quick support! Is this an issue > > > > with the changes above, or some system issue on my part? > > > > > > > > Updated to revision 2236. > > > > [garage at ...40... trunk]$ ./reconf-all > > > > aclocal: couldn't open directory `m4': No such file or directory > > > > autoreconf: aclocal failed with exit status: 1 > > > > [garage at ...40... trunk]$ > > > > > > > > Fedora 11, 64bit machine > > > > > > > > Thanks > > > > Andy > > > > > > Maybe some files I forgot to commit. Wait a little... > > > > Try with revision #2237. > > Ubuntu 8.04.3 LTS > > I didn't make changes,I just compiled. > > Here are the log's (normally I use --disable-v4l , not this time) > > Charlie > > Charlie Is it better with revision #2240? -- Beno?t From eilert-sprachen at ...221... Mon Aug 17 09:54:32 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Aug 2009 09:54:32 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <82bffccf0908170025h12f6f920n8083a93271d92964@...627...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A88FBDC.4080206@...221...> <82bffccf0908170025h12f6f920n8083a93271d92964@...627...> Message-ID: <4A890CB8.9070903@...221...> Hello Dimitris, Thanks for your tips! However, my problem is that when compiling my Gambas, it didn't include gb.sdl at all for some reason. I'd have to find out why before being able to proceed. On the other hand, this is true for my business machine in the office. My Laptop could have it, I'll check that later when I'm at home again :-) Regards Rolf Dimitris Anogiatis schrieb: > Hey Rolf, > > This is what I got from the gambasdoc website for the gb.sdl.sound section > ------------------------------------------------------------------ > NEW Sound (gb.sdl.sound) > *Syntax* > > DIM hSound AS Sound > > hSound = NEW Sound > ( *File* AS > String ) > > Creates a new sound from a WAV file. > ------------------------------------------------------------------ > > Now gb.sdl.sound has what it calls channels... it's how you can play sound > effects > in games (in WAV format). You can load WAVs and play them at the same time > OR at a specific time moment depending on your application). > This is how you can play a sound in a channel > ------------------------------------------------------------------ > Channel.Play (gb.sdl.sound) > *Syntax* > > SUB *Play* ( *[* *Sound* AS Sound > , *Loops* AS > Integer *]* ) > > Plays the specified Sound on the channel. > > With the *Loops* parameter, you can specify how many times the sound will be > played. > > If *Loops* is -1, then the sound is played forever. > > By default, the sound is played once. > ------------------------------------------------------------------ > > if you want to play MP3s or OGGs > then you use the music object that's available in gb.sdl.sound > I don't know if it's gb.sdl.sound that doesn't allow channels to play mp3 or > m4a or other files > in channels or SDL itself... (it would be awesome if we could do that then > mixing music would > be a breeze. > > I would also check the music player example in the sound section of the > gambas examples > as it does use gb.sdl.sound > > Hope this helps > > Regards > Dimitris > > On Mon, Aug 17, 2009 at 12:42 AM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> Rob schrieb: >>> On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: >>>> I'm sure there is an example project that handles playing wav files... >>> I'm pretty sure I or someone else posted a simple WAV player example to >> the >>> list shortly after the gb.sdl component was released (I know I wrote one >>> but someone might have beaten me to it.) No idea about recording >>> though.... >>> >>> Rob >>> >> Meanwhile I found an example app, but I haven't gb.sdl running - what >> are the dependencies or what would I have to do that it compiles? >> >> Rolf >> >> From steven at ...2097... Mon Aug 17 10:59:19 2009 From: steven at ...2097... (Steven James Drinnan) Date: Mon, 17 Aug 2009 16:59:19 +0800 Subject: [Gambas-user] Pass parameter to Gambas prog. In-Reply-To: <25002337.post@...1379...> References: <25002337.post@...1379...> Message-ID: <1250499560.9499.2.camel@...2011...> short answer yes you retrieve it by using Application.Args[index] nb: Application.Args[0] is the program name Check in help for more details of how to use. Steven On Mon, 2009-08-17 at 00:34 -0700, charlesg wrote: > Hi all, > > Can I pass a parameter to a Gambas program? > e.g myprog.gambas parm1 > > How do I read the parameter? > Any help gratefully received. > > rgds From dosida at ...626... Mon Aug 17 11:13:11 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 17 Aug 2009 03:13:11 -0600 Subject: [Gambas-user] Pass parameter to Gambas prog. In-Reply-To: <1250499560.9499.2.camel@...2011...> References: <25002337.post@...1379...> <1250499560.9499.2.camel@...2011...> Message-ID: <82bffccf0908170213y5d13493bn2901f7b3104589b0@...627...> Hey charlesg, you might want to experiment with the gb.option and the GetOptions class here's an example to get you started DIM opt AS NEW GetOptions("la:b:c:") IF opt["?"] = 1 PRINT "error parsing the arguments" ENDIF IF opt["l"] = 1 PRINT "found option l" ENDIF IF opt["a"] <> 1 AND opt["a"] <> 0 PRINT opt["a"] ENDIF IF opt["b"] <> 1 AND opt["a"] <> 0 PRINT opt["b"] ENDIF IF opt["c"] <> 1 AND opt["c"] <> 0 PRINT opt["c"] ENDIF Hope it helps Regards Dimitris On Mon, Aug 17, 2009 at 2:59 AM, Steven James Drinnan wrote: > short answer yes > > you retrieve it by using Application.Args[index] > > nb: Application.Args[0] is the program name > > Check in help for more details of how to use. > > Steven > > > On Mon, 2009-08-17 at 00:34 -0700, charlesg wrote: > > Hi all, > > > > Can I pass a parameter to a Gambas program? > > e.g myprog.gambas parm1 > > > > How do I read the parameter? > > Any help gratefully received. > > > > rgds > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From arosa at ...2015... Mon Aug 17 12:01:47 2009 From: arosa at ...2015... (Toni) Date: Mon, 17 Aug 2009 11:01:47 +0100 Subject: [Gambas-user] Pass parameter to Gambas prog. In-Reply-To: <25002337.post@...1379...> References: <25002337.post@...1379...> Message-ID: <4A892A8B.7000507@...2015...> Hi Charles, You can use the array in Application.Args to retrieve the parameters passed to the program, taking into account that the first occurrence in the array is the application own name. regards, Toni En/na charlesg ha escrit: > Hi all, > > Can I pass a parameter to a Gambas program? > e.g myprog.gambas parm1 > > How do I read the parameter? > Any help gratefully received. > > rgds > From Karl.Reinl at ...9... Mon Aug 17 12:16:05 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 17 Aug 2009 12:16:05 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170950.43974.gambas@...1...> References: <200908170028.26627.gambas@...1...> <200908170052.19293.gambas@...1...> <1250466447.6869.6.camel@...40...> <200908170950.43974.gambas@...1...> Message-ID: <1250504166.6387.2.camel@...40...> Am Montag, den 17.08.2009, 09:50 +0200 schrieb Beno?t Minisini: > > Am Montag, den 17.08.2009, 00:52 +0200 schrieb Beno?t Minisini: > > > > > Many thanks for the dedication and quick support! Is this an issue > > > > > with the changes above, or some system issue on my part? > > > > > > > > > > Updated to revision 2236. > > > > > [garage at ...40... trunk]$ ./reconf-all > > > > > aclocal: couldn't open directory `m4': No such file or directory > > > > > autoreconf: aclocal failed with exit status: 1 > > > > > [garage at ...40... trunk]$ > > > > > > > > > > Fedora 11, 64bit machine > > > > > > > > > > Thanks > > > > > Andy > > > > > > > > Maybe some files I forgot to commit. Wait a little... > > > > > > Try with revision #2237. > > > > Ubuntu 8.04.3 LTS > > > > I didn't make changes,I just compiled. > > > > Here are the log's (normally I use --disable-v4l , not this time) > > > > Charlie > > > > Charlie > > Is it better with revision #2240? Ubuntu 8.04.3 LTS --disable-v4l coming closer (shorter Error-list) but not touched. Regards Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.log.tar.bz2 Type: application/x-bzip-compressed-tar Size: 9450 bytes Desc: not available URL: From charles at ...1784... Mon Aug 17 14:16:14 2009 From: charles at ...1784... (charlesg) Date: Mon, 17 Aug 2009 05:16:14 -0700 (PDT) Subject: [Gambas-user] Pass parameter to Gambas prog. In-Reply-To: <4A892A8B.7000507@...2015...> References: <25002337.post@...1379...> <4A892A8B.7000507@...2015...> Message-ID: <25005719.post@...1379...> Thanks to all. Just what I want. rgds -- View this message in context: http://www.nabble.com/Pass-parameter-to-Gambas-prog.-tp25002337p25005719.html Sent from the gambas-user mailing list archive at Nabble.com. From 12ukwn at ...626... Mon Aug 17 15:05:42 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 17 Aug 2009 15:05:42 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A88E385.4060406@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> <4A887ACB.4030907@...626...> <4A88E385.4060406@...1909...> Message-ID: <4A8955A6.5010407@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Doriano Blengino a ?crit : >> ........ >> >> Thanks to both ouf you, I saved this thread to be sure to have it when needed :) >> >> >>> I saw a "Label2572"... it seemed to me a little strange... >>> And about obscure code, I think that well commented (and written!) code >>> is never obscure, but sometimes one writes code too much complex for the >>> purpose that has to be done. I sometimes do that... >>> >> Just a joke, I leave only "unused" object stay with their generated names, I >> renamed other with "talking" names; real names of these variables are: >> lbl_CONNECT (title of ->) and ckb_CONNECT (CheckBox). >> >> I avoid esoteric names >> > I didn't want to say that Label2572 is obscure code: instead the first > thing that came to my mind is "how many labels are in this form?". > So I pointed out that perhaps dynamic construction of gadgets would have > been useful to you. Ha, ok (at first, I intended to put label2445316, hopefully I didn't: I would have been responsible from a stroke;-) I you could point me to an example it would be nice, because I really don't get the interest of on-ze-fly construction (seems complicated, what pros? what cons?) Thanks, JY -- NEVER swerve to hit a lawyer riding a bicycle -- it might be your bicycle. From ronstk at ...239... Mon Aug 17 17:42:00 2009 From: ronstk at ...239... (Ron_1st) Date: Mon, 17 Aug 2009 17:42:00 +0200 Subject: [Gambas-user] =?utf-8?q?libtool_management_in_Gambas_3_=26=09comp?= =?utf-8?q?ilation=09problems?= In-Reply-To: <1250504166.6387.2.camel@...40...> References: <200908170028.26627.gambas@...1...> <200908170950.43974.gambas@...1...> <1250504166.6387.2.camel@...40...> Message-ID: <200908171742.01291.ronstk@...239...> On Monday 17 August 2009, Charlie Reinl wrote: > Am Montag, den 17.08.2009, 09:50 +0200 schrieb Beno?t Minisini: > > > Am Montag, den 17.08.2009, 00:52 +0200 schrieb Beno?t Minisini: > > > > > > Many thanks for the dedication and quick support! Is this an issue > > > > > > with the changes above, or some system issue on my part? > > > > > > > > > > > > Updated to revision 2236. > > > > > > [garage at ...40... trunk]$ ./reconf-all > > > > > > aclocal: couldn't open directory `m4': No such file or directory > > > > > > autoreconf: aclocal failed with exit status: 1 > > > > > > [garage at ...40... trunk]$ > > > > > > > > > > > > Fedora 11, 64bit machine > > > > > > > > > > > > Thanks > > > > > > Andy > > > > > > > > > > Maybe some files I forgot to commit. Wait a little... > > > > > > > > Try with revision #2237. > > > > > > Ubuntu 8.04.3 LTS > > > > > > I didn't make changes,I just compiled. > > > > > > Here are the log's (normally I use --disable-v4l , not this time) > > > > > > Charlie > > > > > > Charlie > > > > Is it better with revision #2240? > Ubuntu 8.04.3 LTS > --disable-v4l > > coming closer (shorter Error-list) but not touched. > > Regards Charlie > Just for the record flow as a note to forget :=) In your first log I see for sdl the is CDPATH or so not definied. What worries me more is next thing I found in the configure.log. I see component GTK, QT4-OPENGL and an other QT are disabled message. How come at the end of the configure? ************************************************************ ALL COMPONENTS WILL BE COMPILED ************************************************************ Beside if make returns an error, try to do make install would posible also not work. Bit useless I think but information could be extracted. Best regards, Ron_1st -- From eilert-sprachen at ...221... Mon Aug 17 17:44:44 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Aug 2009 17:44:44 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <200908141044.00764.sourceforge-raindog2@...94...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> Message-ID: <4A897AEC.7000705@...221...> Rob schrieb: > On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: >> I'm sure there is an example project that handles playing wav files... > > I'm pretty sure I or someone else posted a simple WAV player example to the > list shortly after the gb.sdl component was released (I know I wrote one > but someone might have beaten me to it.) No idea about recording > though.... > > Rob > Looking this up, I found that on my laptop I do not have gb.sdl.sound either. So my first question would be, what do I have to provide to get it included? I mean, it's one of the components that have to be compiled and included, isn't it? Rolf From Karl.Reinl at ...9... Mon Aug 17 18:07:30 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 17 Aug 2009 18:07:30 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908171742.01291.ronstk@...239...> References: <200908170028.26627.gambas@...1...> <200908170950.43974.gambas@...1...> <1250504166.6387.2.camel@...40...> <200908171742.01291.ronstk@...239...> Message-ID: <1250525250.6401.15.camel@...40...> Am Montag, den 17.08.2009, 17:42 +0200 schrieb Ron_1st: > On Monday 17 August 2009, Charlie Reinl wrote: > > Am Montag, den 17.08.2009, 09:50 +0200 schrieb Beno?t Minisini: > > > > Am Montag, den 17.08.2009, 00:52 +0200 schrieb Beno?t Minisini: > > > > > > > Many thanks for the dedication and quick support! Is this an issue > > > > > > > with the changes above, or some system issue on my part? > > > > > > > > > > > > > > Updated to revision 2236. > > > > > > > [garage at ...40... trunk]$ ./reconf-all > > > > > > > aclocal: couldn't open directory `m4': No such file or directory > > > > > > > autoreconf: aclocal failed with exit status: 1 > > > > > > > [garage at ...40... trunk]$ > > > > > > > > > > > > > > Fedora 11, 64bit machine > > > > > > > > > > > > > > Thanks > > > > > > > Andy > > > > > > > > > > > > Maybe some files I forgot to commit. Wait a little... > > > > > > > > > > Try with revision #2237. > > > > > > > > Ubuntu 8.04.3 LTS > > > > > > > > I didn't make changes,I just compiled. > > > > > > > > Here are the log's (normally I use --disable-v4l , not this time) > > > > > > > > Charlie > > > > > > > > Charlie > > > > > > Is it better with revision #2240? > > Ubuntu 8.04.3 LTS > > --disable-v4l > > > > coming closer (shorter Error-list) but not touched. > > > > Regards Charlie > > > > Just for the record flow as a note to forget :=) > > In your first log I see for sdl the is CDPATH or so not definied. > > What worries me more is next thing I found in the configure.log. > I see component GTK, QT4-OPENGL and an other QT are disabled message. > How come at the end of the configure? > > ************************************************************ > ALL COMPONENTS WILL BE COMPILED > ************************************************************ > > Beside if make returns an error, try to do make install > would posible also not work. > Bit useless I think but information could be extracted. > > > > > Best regards, > > Ron_1st > Salut Ron (the 1st), lazy like I am, I open a terminal cd to the svn-directory for gambas3 and start a update script. Then I minimize that term, or go away. Later or when I come back, I have to enter my password and by the time which is used to execute the make install I see if something went wrong. On the terminal are not much informations, because all is > ../LogFilename.log 2>&1 to a logfile. -- Amicalment Charlie From dosida at ...626... Mon Aug 17 18:21:26 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 17 Aug 2009 10:21:26 -0600 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A897AEC.7000705@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> Message-ID: <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> Rolf, It should have been this case yes. If you use ubuntu or Debian perhaps try to re-create your application's executable, re-produce your deb packages and logically the dependency should be included in the final product... check out the resulting deb file with gdebi at first (it will tell you in red if you're trying to install a package with a missing dependency) or KPackage if you want a complete list of the files associated with the package you're trying to install. if that doesn't work an email to the package maintainers of either ubuntu or debian will prolly get you a bit further than this. Or perhaps Benoit could help you with this one as well... but logically it should work Hope it helps. Regards Dimitris On Mon, Aug 17, 2009 at 9:44 AM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Rob schrieb: > > On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: > >> I'm sure there is an example project that handles playing wav files... > > > > I'm pretty sure I or someone else posted a simple WAV player example to > the > > list shortly after the gb.sdl component was released (I know I wrote one > > but someone might have beaten me to it.) No idea about recording > > though.... > > > > Rob > > > > > Looking this up, I found that on my laptop I do not have gb.sdl.sound > either. So my first question would be, what do I have to provide to get > it included? I mean, it's one of the components that have to be compiled > and included, isn't it? > > Rolf > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kazutaka802 at ...1907... Mon Aug 17 16:53:01 2009 From: kazutaka802 at ...1907... (HARADA Kazutaka) Date: Mon, 17 Aug 2009 23:53:01 +0900 Subject: [Gambas-user] How to show a form with keyboard shortcut In-Reply-To: <200907031204.25265.gambas@...1...> References: <20090703060108.11097.qmail@...2229...> <200907031204.25265.gambas@...1...> Message-ID: <4A896ECD.9080602@...1907...> Sorry fo late reply, > You can't if you don't have the focus. What you need is a global shortcut, > which is managed by your desktop environment, or a special program. > > For example, in KDE, there is a control panel entry for configuring them. > Yes, you are right. But I'm looking for a window manager (or desktop environment) independent way. So I start to write a test program using Xlib with EXTERN declaration like this. ' Gambas module file EXTERN XOpenDisplay(DpyName AS String) AS Pointer IN "libX11" EXTERN XDefaultScreen(Display AS Pointer) AS Integer IN "libX11" EXTERN XDefaultRootWindow(Display AS Pointer) AS Integer IN "libX11" EXTERN XSelectInput(Display AS Pointer, Window AS Integer, KeyMask AS Long) IN "libX11" EXTERN XNextEvent(Display AS Pointer, XEvent AS Pointer) IN "libX11" EXTERN XGrabKey(Display AS Pointer, KeyCode AS Integer, Modifiers AS Integer, Window AS Pointer, OwnEvent AS Boolean, PointerMode AS Integer, KeyboardMode AS Integer) IN "libX11" PUBLIC SUB Main() DIM pDisplay AS Pointer DIM pRootWindow AS Pointer DIM pEvent AS Pointer pDisplay = XOpenDisplay("") pRootWindow = XDefaultRootWindow(pDisplay) XSelectInput(pDisplay, pRootWindow, 1) '1 = KeyPressMask XGrabKey(pDisplay, 95, 0, pRootWindow, FALSE, 1, 1) '95 = F11 key, 1=GrabModeAsync DO XNextEvent(pDisplay, pEvent) PRINT ("Key F11 Pressed") LOOP END When F11 Key, keycode is 95 on my japanese keyboard, is pressed, It should print the message. But actually program exit with signal 11. Any comments or suggestions are wlecome. Regards, -- -------------------------------------- Kazutaka HARADA e-mail:kazutaka802 at ...1907... -------------------------------------- From ronstk at ...239... Mon Aug 17 18:51:49 2009 From: ronstk at ...239... (Ron_1st) Date: Mon, 17 Aug 2009 18:51:49 +0200 Subject: [Gambas-user] =?utf-8?q?libtool_management_in_Gambas_3=09=26=09co?= =?utf-8?q?mpilation=09problems?= In-Reply-To: <1250525250.6401.15.camel@...40...> References: <200908170028.26627.gambas@...1...> <200908171742.01291.ronstk@...239...> <1250525250.6401.15.camel@...40...> Message-ID: <200908171851.49942.ronstk@...239...> On Monday 17 August 2009, Charlie Reinl wrote: > Am Montag, den 17.08.2009, 17:42 +0200 schrieb Ron_1st: > > On Monday 17 August 2009, Charlie Reinl wrote: ----8<-------8<-------8<-------8<-------8<-------8<-------8<------>8---- > > > > Best regards, > > > > Ron_1st > > > Salut Ron (the 1st), > > lazy like I am, I open a terminal > cd to the svn-directory for gambas3 > and start a update script. > Then I minimize that term, or go away. > Later or when I come back, I have to enter my password and by the time > which is used to execute the make install I see if something went wrong. > On the terminal are not much informations, because all is > > ../LogFilename.log 2>&1 to a logfile. > Ein guten Tag Karl, After sending my replay i realize you mentioned that in the past. Good to see your 2 files in second log, I did shameless copy them to my tree and use it now :) Best regards, Ron_1st PS I just add the --prefix option in the ./configure line -- From Karl.Reinl at ...9... Mon Aug 17 19:38:24 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 17 Aug 2009 19:38:24 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908171851.49942.ronstk@...239...> References: <200908170028.26627.gambas@...1...> <200908171742.01291.ronstk@...239...> <1250525250.6401.15.camel@...40...> <200908171851.49942.ronstk@...239...> Message-ID: <1250530705.6401.24.camel@...40...> Am Montag, den 17.08.2009, 18:51 +0200 schrieb Ron_1st: > On Monday 17 August 2009, Charlie Reinl wrote: > > Am Montag, den 17.08.2009, 17:42 +0200 schrieb Ron_1st: > > > On Monday 17 August 2009, Charlie Reinl wrote: > > ----8<-------8<-------8<-------8<-------8<-------8<-------8<------>8---- > > > > > > > Best regards, > > > > > > Ron_1st > > > > > Salut Ron (the 1st), > > > > lazy like I am, I open a terminal > > cd to the svn-directory for gambas3 > > and start a update script. > > Then I minimize that term, or go away. > > Later or when I come back, I have to enter my password and by the time > > which is used to execute the make install I see if something went wrong. > > On the terminal are not much informations, because all is > > > ../LogFilename.log 2>&1 to a logfile. > > > > Ein guten Tag Karl, > > After sending my replay i realize you mentioned that in the past. > Good to see your 2 files in second log, > I did shameless copy them to my tree and use it now :) > > Best regards, > > Ron_1st > > PS > I just add the --prefix option in the ./configure line > Oh, shameless you! :) Charlie From linuxos at ...1896... Mon Aug 17 20:27:44 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 17 Aug 2009 20:27:44 +0200 Subject: [Gambas-user] Gambas performances Message-ID: Hello Benoit, Just a question about performances of Gambas 2.14 on Fedora 10 x86_32 (32bits) I'm trying my scheduler written in Gambas on Fedora 10 on 3 differentes machines: 1) 1x Celeron 2.6 Ghz 512Mb Ram (simple PC) Time to execute 730 snmp requests: around 49 sec 2) 1x Dual-Core 2,4 Ghz 512Mb Ram (simple PC) (2 cpu inside the Dual-core) 3500 bogomips per cpu Time to execute 730 snmp requests: around 21 sec 3) 1x Intel Xeon 3,4 GHz 1Gb Ram (HP DL360 server) (2 cpu inside the Intel Core) 6800 bogomips per cpu Time to execute 730 snmp requests: around 37 sec I don't understand why this is not better with the Xeon machine. May be I should try with the x86_64 version of the Fedora 64 to have a better performances on this machine ? I think the Xeon does not use really the both cpu than then Dual-core in this test ? If you have any idea about that, I will be very happy, because I need to win time to execute much more snmp request and others programs written in Gambas on the same machine. For the moment I have 1 machine per program and I would put all of this programs on a only one. Olivier Cruilles Mail: linuxos at ...1896... From gambas at ...1... Mon Aug 17 21:22:14 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 21:22:14 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: References: Message-ID: <200908172122.14167.gambas@...1...> > Hello Benoit, > > Just a question about performances of Gambas 2.14 on Fedora 10 > x86_32 (32bits) > > I'm trying my scheduler written in Gambas on Fedora 10 on 3 > differentes machines: > > 1) 1x Celeron 2.6 Ghz 512Mb Ram (simple PC) > > Time to execute 730 snmp requests: around 49 sec > > 2) 1x Dual-Core 2,4 Ghz 512Mb Ram (simple PC) (2 cpu inside > the Dual-core) 3500 bogomips per cpu > > Time to execute 730 snmp requests: around 21 sec > > 3) 1x Intel Xeon 3,4 GHz 1Gb Ram (HP DL360 server) (2 cpu > inside the Intel Core) 6800 bogomips per cpu > > Time to execute 730 snmp requests: around 37 sec > > > I don't understand why this is not better with the Xeon machine. May > be I should try with the x86_64 version of the Fedora 64 > to have a better performances on this machine ? > > I think the Xeon does not use really the both cpu than then Dual-core > in this test ? > > > If you have any idea about that, I will be very happy, because I need > to win time to execute > much more snmp request and others programs written in Gambas on the > same machine. > > For the moment I have 1 machine per program and I would put all of > this programs on a only one. > > > > Olivier Cruilles > Mail: linuxos at ...1896... > 1) What did you measure exactly? 2) If a faster CPU has no effect, or a reverse effect, then that means that the bottleneck is not in the CPU speed. What is the CPU load? 3) What is done exactly when you do one snmp request? Do you send and receive packets from the network? Well, I can't say better without more information... -- Beno?t From linuxos at ...1896... Mon Aug 17 21:56:58 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 17 Aug 2009 21:56:58 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: <200908172122.14167.gambas@...1...> References: <200908172122.14167.gambas@...1...> Message-ID: <44D42738-E385-4ACE-AE31-500DB255F1BC@...1896...> I measure the time to execute 730 snmpget commands started as process (SHELL command) in a Gambas program. In the first time I start 20 processes in the same time and when one is finished, I start a new one to follow the list of requests to execute. I measure the time from the first process started to the last process finished. On the Celeron cpu, during all the time, the cpu is at 100% On the Dual-Core machine, during all the time, the both cpus are at around 80% On the Xeon machine, during all the time, the both cpus are at around 85% I try to change the network connection from Ethernet card 100 Mb to 1Gb but nothing change in all cases. So it's really about cpu technology where the problem is. Maybe the Xeon works really on SMP mode with a x86_64 distribution and lesser with x86_32 kernel ? I don't understand why ? I use the official packages of Gambas on the Fedora 10 distribution. Does you optimize the runtime of Gambas for x86_32 dual core cpu ? Olivier Cruilles Mail: linuxos at ...1896... Le 17 ao?t 09 ? 21:22, Beno?t Minisini a ?crit : >> Hello Benoit, >> >> Just a question about performances of Gambas 2.14 on Fedora 10 >> x86_32 (32bits) >> >> I'm trying my scheduler written in Gambas on Fedora 10 on 3 >> differentes machines: >> >> 1) 1x Celeron 2.6 Ghz 512Mb Ram (simple PC) >> >> Time to execute 730 snmp requests: around 49 sec >> >> 2) 1x Dual-Core 2,4 Ghz 512Mb Ram (simple PC) (2 cpu >> inside >> the Dual-core) 3500 bogomips per cpu >> >> Time to execute 730 snmp requests: around 21 sec >> >> 3) 1x Intel Xeon 3,4 GHz 1Gb Ram (HP DL360 server) (2 cpu >> inside the Intel Core) 6800 bogomips per cpu >> >> Time to execute 730 snmp requests: around 37 sec >> >> >> I don't understand why this is not better with the Xeon machine. May >> be I should try with the x86_64 version of the Fedora 64 >> to have a better performances on this machine ? >> >> I think the Xeon does not use really the both cpu than then Dual-core >> in this test ? >> >> >> If you have any idea about that, I will be very happy, because I need >> to win time to execute >> much more snmp request and others programs written in Gambas on the >> same machine. >> >> For the moment I have 1 machine per program and I would put all of >> this programs on a only one. >> >> >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > 1) What did you measure exactly? > > 2) If a faster CPU has no effect, or a reverse effect, then that > means that > the bottleneck is not in the CPU speed. What is the CPU load? > > 3) What is done exactly when you do one snmp request? Do you send > and receive > packets from the network? > > Well, I can't say better without more information... > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From nando_f at ...951... Mon Aug 17 21:13:29 2009 From: nando_f at ...951... (nando) Date: Mon, 17 Aug 2009 14:13:29 -0500 Subject: [Gambas-user] Gambas performances In-Reply-To: References: Message-ID: <20090817191141.M66409@...951...> My question is: are you really testing Gambas or kernel networking (snmp)?? ---------- Original Message ----------- From: Olivier Cruilles To: mailing list for gambas users Sent: Mon, 17 Aug 2009 20:27:44 +0200 Subject: [Gambas-user] Gambas performances > Hello Benoit, > > Just a question about performances of Gambas 2.14 on Fedora 10 > x86_32 (32bits) > > I'm trying my scheduler written in Gambas on Fedora 10 on 3 > differentes machines: > > 1) 1x Celeron 2.6 Ghz 512Mb Ram (simple PC) > > Time to execute 730 snmp requests: around 49 sec > > 2) 1x Dual-Core 2,4 Ghz 512Mb Ram (simple PC) (2 cpu inside > the Dual-core) 3500 bogomips per cpu > > Time to execute 730 snmp requests: around 21 sec > > 3) 1x Intel Xeon 3,4 GHz 1Gb Ram (HP DL360 server) (2 cpu > inside the Intel Core) 6800 bogomips per cpu > > Time to execute 730 snmp requests: around 37 sec > > I don't understand why this is not better with the Xeon machine. May > be I should try with the x86_64 version of the Fedora 64 > to have a better performances on this machine ? > > I think the Xeon does not use really the both cpu than then Dual-core > in this test ? > > If you have any idea about that, I will be very happy, because I need > to win time to execute > much more snmp request and others programs written in Gambas on the > same machine. > > For the moment I have 1 machine per program and I would put all of > this programs on a only one. > > Olivier Cruilles > Mail: linuxos at ...1896... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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 ...1... Mon Aug 17 22:07:10 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 22:07:10 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: <44D42738-E385-4ACE-AE31-500DB255F1BC@...1896...> References: <200908172122.14167.gambas@...1...> <44D42738-E385-4ACE-AE31-500DB255F1BC@...1896...> Message-ID: <200908172207.10941.gambas@...1...> > I measure the time to execute 730 snmpget commands started as process > (SHELL command) in a Gambas program. Why do you use SHELL to run snmpget? It runs the command inside "/bin/sh", which is very heavy. > > > In the first time I start 20 processes in the same time and when one > is finished, I start a new one to follow the list of requests > to execute. > > I measure the time from the first process started to the last process > finished. > > On the Celeron cpu, during all the time, the cpu is at 100% > > On the Dual-Core machine, during all the time, the both cpus are at > around 80% > > On the Xeon machine, during all the time, the both cpus are at around > 85% If process usage is less than 100% (provided that no other heavy process runs on the machine), then that means that the CPU is fast enough, and that the bottleneck is not the CPU. As the time taken by the OS to run shells is not included in the cpu usage, I think you should really use EXEC instead of SHELL. > > I try to change the network connection from Ethernet card 100 Mb to > 1Gb but nothing change in all cases. > So the network should not be the bottleneck - if, of course, the network driver is fast enough to fill the 1Gb flow, but I think so. > > So it's really about cpu technology where the problem is. As I said before, I don't agree, until you use 100% of all cpu cores, or 100% of one cpu core if you run one thing at once. > Maybe the > Xeon works really on SMP mode with a x86_64 distribution and > lesser with x86_32 kernel ? > > I don't understand why ? > > I use the official packages of Gambas on the Fedora 10 distribution. > Does you optimize the runtime of Gambas for x86_32 dual core cpu ? There is no architecture specific optimization at all in the standard package, but anyone could add it easily I think. Regards, -- Beno?t From linuxos at ...1896... Mon Aug 17 22:29:16 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 17 Aug 2009 22:29:16 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: <200908172207.10941.gambas@...1...> References: <200908172122.14167.gambas@...1...> <44D42738-E385-4ACE-AE31-500DB255F1BC@...1896...> <200908172207.10941.gambas@...1...> Message-ID: <4882AAB9-4127-4C41-BBB5-A7577610A923@...1896...> I tried the both solutions: SHELL and EXEC, but the parameters used are not the same for each command executed. So, after many tries, I the EXEC command give me errors during execution because it's very difficult to play with the character " or ' in the command. I know that the EXEC command is faster than the SHELL command but SHELL command is easier to use for me. At the beginning, it was just a question because you are the developer of Gambas project and you are better than me about all of developing way in general. Le 17 ao?t 09 ? 22:07, Beno?t Minisini a ?crit : >> I measure the time to execute 730 snmpget commands started as process >> (SHELL command) in a Gambas program. > > Why do you use SHELL to run snmpget? It runs the command inside "/ > bin/sh", > which is very heavy. > >> >> >> In the first time I start 20 processes in the same time and when one >> is finished, I start a new one to follow the list of requests >> to execute. >> >> I measure the time from the first process started to the last process >> finished. >> >> On the Celeron cpu, during all the time, the cpu is at 100% >> >> On the Dual-Core machine, during all the time, the both cpus are at >> around 80% >> >> On the Xeon machine, during all the time, the both cpus are at around >> 85% > > If process usage is less than 100% (provided that no other heavy > process runs > on the machine), then that means that the CPU is fast enough, and > that the > bottleneck is not the CPU. As the time taken by the OS to run shells > is not > included in the cpu usage, I think you should really use EXEC > instead of > SHELL. > >> >> I try to change the network connection from Ethernet card 100 Mb to >> 1Gb but nothing change in all cases. >> > > So the network should not be the bottleneck - if, of course, the > network > driver is fast enough to fill the 1Gb flow, but I think so. > >> >> So it's really about cpu technology where the problem is. > > As I said before, I don't agree, until you use 100% of all cpu > cores, or 100% > of one cpu core if you run one thing at once. > >> Maybe the >> Xeon works really on SMP mode with a x86_64 distribution and >> lesser with x86_32 kernel ? >> >> I don't understand why ? >> >> I use the official packages of Gambas on the Fedora 10 distribution. >> Does you optimize the runtime of Gambas for x86_32 dual core cpu ? > > There is no architecture specific optimization at all in the > standard package, > but anyone could add it easily I think. > > Regards, > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Olivier Cruilles Mail: linuxos at ...1896... From gambas at ...1... Mon Aug 17 22:30:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 17 Aug 2009 22:30:50 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: <4882AAB9-4127-4C41-BBB5-A7577610A923@...1896...> References: <200908172207.10941.gambas@...1...> <4882AAB9-4127-4C41-BBB5-A7577610A923@...1896...> Message-ID: <200908172230.50586.gambas@...1...> > I tried the both solutions: SHELL and EXEC, but the parameters used > are not the same for each command executed. > > So, after many tries, I the EXEC command give me errors during > execution because it's very difficult to play with the character " or > ' in the command. You just have to replace: SHELL "command " & Quote.Shell(arg1) & " " & Quote.Shell(arg2) ... By: EXEC [ "/usr/bin/command", arg1, arg2, ... ] ... I strongly suggest that you do replace SHELL by EXEC. I almost sure that the bottleneck is there! But I may be wrong. -- Beno?t From doriano.blengino at ...1909... Mon Aug 17 22:44:07 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Mon, 17 Aug 2009 22:44:07 +0200 Subject: [Gambas-user] How to show a form with keyboard shortcut In-Reply-To: <4A896ECD.9080602@...1907...> References: <20090703060108.11097.qmail@...2229...> <200907031204.25265.gambas@...1...> <4A896ECD.9080602@...1907...> Message-ID: <4A89C117.3050105@...1909...> HARADA Kazutaka ha scritto: > Sorry fo late reply, > > >> You can't if you don't have the focus. What you need is a global shortcut, >> which is managed by your desktop environment, or a special program. >> >> For example, in KDE, there is a control panel entry for configuring them. >> >> > > Yes, you are right. > But I'm looking for a window manager (or desktop environment) > independent way. > > So I start to write a test program using Xlib with EXTERN declaration > like this. > > ' Gambas module file > EXTERN XOpenDisplay(DpyName AS String) AS Pointer IN "libX11" > EXTERN XDefaultScreen(Display AS Pointer) AS Integer IN "libX11" > EXTERN XDefaultRootWindow(Display AS Pointer) AS Integer IN "libX11" > EXTERN XSelectInput(Display AS Pointer, Window AS Integer, KeyMask AS > Long) IN "libX11" > EXTERN XNextEvent(Display AS Pointer, XEvent AS Pointer) IN "libX11" > EXTERN XGrabKey(Display AS Pointer, KeyCode AS Integer, Modifiers AS > Integer, Window AS Pointer, OwnEvent AS Boolean, PointerMode AS Integer, > KeyboardMode AS Integer) IN "libX11" > > PUBLIC SUB Main() > > DIM pDisplay AS Pointer > DIM pRootWindow AS Pointer > DIM pEvent AS Pointer > > pDisplay = XOpenDisplay("") > pRootWindow = XDefaultRootWindow(pDisplay) > XSelectInput(pDisplay, pRootWindow, 1) '1 = KeyPressMask > XGrabKey(pDisplay, 95, 0, pRootWindow, FALSE, 1, 1) '95 = F11 key, > 1=GrabModeAsync > DO > XNextEvent(pDisplay, pEvent) > PRINT ("Key F11 Pressed") > LOOP > END > > When F11 Key, keycode is 95 on my japanese keyboard, is pressed, > It should print the message. But actually program exit with signal 11. > > Any comments or suggestions are wlecome. > Hi, I think that in the call to XNextEvent you are passing a NIL pointer; libX11 tries to put data in the area pointed by pEvent. You should allocate some memory in it, enough to hold the event data. If, on the other hand (I don't have the docs at hands right now), X11 should allocate the event, and return to you the pointer to the event, then again you should pass to X11 a pointer to a pointer... but you pass it a NULL. Anyway, my compliments for the low-level management. This is not seen every day :-) Regards, Doriano From doriano.blengino at ...1909... Mon Aug 17 22:44:20 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Mon, 17 Aug 2009 22:44:20 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A8955A6.5010407@...626...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> <4A887ACB.4030907@...626...> <4A88E385.4060406@...1909...> <4A8955A6.5010407@...626...> Message-ID: <4A89C124.5020100@...1909...> Jean-Yves F. Barbier ha scritto: > Doriano Blengino a ?crit : > >> I didn't want to say that Label2572 is obscure code: instead the first >> thing that came to my mind is "how many labels are in this form?". >> So I pointed out that perhaps dynamic construction of gadgets would have >> been useful to you. >> > > Ha, ok (at first, I intended to put label2445316, hopefully I didn't: I would > have been responsible from a stroke;-) > I you could point me to an example it would be nice, because I really don't get > the interest of on-ze-fly construction (seems complicated, what pros? what cons?) > I think there are two cases when dynamic construction comes in place. The first is when you have many widgets sharing most of their properties. Instead of drawing them in the IDE, one can make a cycle and create them on the fly. If you have, say, eight buttons all similar, you can do something like (not tested code listing): public sub create_buttons() dim abutton as Button dim i as integer for i=1 to 8 abutton = NEW Button(ME) as "mybutton" ' the as... is for event handler abutton.x = 20 abutton.y = i*20 + 50 abutton.text = "Button #" & i abutton.tag = i next end public sub mybutton_Click() print "You pressed button #" & LAST.tag end This example is just a simple one - one can also create 8 buttons in the IDE. But, if after some try, you decide to change the text of the buttons, you must change 8 items, while you could change a single line in code. In this example the variable abutton is used over and over, so it only keeps the last created button (and goes out of scope at the end of the sub). But using an array, one can "remember" all the created buttons, and operate on them through for-next cycles. Using a constant declaration (MAX_BUTTON as integer = 16), one can, by changing just a value, have 2, 4 or 12 buttons, at will. Clearly, this approach has an advantage only if the logic of the program requires this. I rarely used this, though. The second case is when you want to have several instances of a form (or something else). For example, I recently wrote an accounting program, with a dozen forms. Through the menu you open those forms, but they are "swallowed" inside a tabstrip. So I can start to make an invoice; from there, I can open the customers table to browse for a name; if someone asks me to produce quickly another invoice, I open another instance of the invoice form. At this point I have two invoices open, created dynamically. I can also cut/paste data between them. It goes like this: ' a menu item click to create an invoice PUBLIC SUB mnInvoice_Click() DIM ht AS Object IF swall() THEN RETURN ' create a new page in tabstrip - refuses if too much of them ht = NEW fmInvoice(tsMain) ' create dynamically the new form, child of the tabstrip END This is a sort of MDI (multiple document interface), only the documents are all kept in a tabstrip. Regards, Doriano From linuxos at ...1896... Mon Aug 17 23:01:23 2009 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 17 Aug 2009 23:01:23 +0200 Subject: [Gambas-user] Gambas performances In-Reply-To: <200908172230.50586.gambas@...1...> References: <200908172207.10941.gambas@...1...> <4882AAB9-4127-4C41-BBB5-A7577610A923@...1896...> <200908172230.50586.gambas@...1...> Message-ID: <9E656E5D-A415-48E3-BE81-35CF0F236E57@...1896...> I will try to change it but if I remember exactly, it was the snmpget with more than one OIDs in the list that does not understand correctly with the EXEC command. And it works perfectly with SHELL command. Example: /usr/bin/snmpget - c public - v 2c 198.168.0.3 enterprises.ucdavis.52.101.1 enterprises.ucdavis.52.101.2 enterprises.ucdavis.52.101.3 enterprises.ucdavis.52.101.4 enterprises.ucdavis.52.101.5 And, the result that only the 1st Oids is executed on EXEC command but all are executed on the SHELL command. The list of OIDs depend of the config line to execute so it's a variable parameter. Le 17 ao?t 09 ? 22:30, Beno?t Minisini a ?crit : >> I tried the both solutions: SHELL and EXEC, but the parameters used >> are not the same for each command executed. >> >> So, after many tries, I the EXEC command give me errors during >> execution because it's very difficult to play with the character " or >> ' in the command. > > You just have to replace: > > SHELL "command " & Quote.Shell(arg1) & " " & Quote.Shell(arg2) ... > > By: > > EXEC [ "/usr/bin/command", arg1, arg2, ... ] ... > > I strongly suggest that you do replace SHELL by EXEC. I almost sure > that the > bottleneck is there! But I may be wrong. > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Olivier Cruilles Mail: linuxos at ...1896... From 12ukwn at ...626... Mon Aug 17 23:16:24 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 17 Aug 2009 23:16:24 +0200 Subject: [Gambas-user] refer to an object with a string In-Reply-To: <4A89C124.5020100@...1909...> References: <4A882D94.7010005@...626...> <4A8831E6.4040607@...1909...> <4A88361D.7080309@...626...> <4A883D1F.1070703@...1909...> <4A887ACB.4030907@...626...> <4A88E385.4060406@...1909...> <4A8955A6.5010407@...626...> <4A89C124.5020100@...1909...> Message-ID: <4A89C8A8.1040101@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Doriano Blengino a ?crit : >> >>> I didn't want to say that Label2572 is obscure code: instead the first >>> thing that came to my mind is "how many labels are in this form?". >>> So I pointed out that perhaps dynamic construction of gadgets would have >>> been useful to you. >>> >> Ha, ok (at first, I intended to put label2445316, hopefully I didn't: I would >> have been responsible from a stroke;-) >> I you could point me to an example it would be nice, because I really don't get >> the interest of on-ze-fly construction (seems complicated, what pros? what cons?) >> > I think there are two cases when dynamic construction comes in place. > The first is when you have many widgets sharing most of their > properties. Instead of drawing them in the IDE, one can make a cycle and > create them on the fly. If you have, say, eight buttons all similar, you > can do something like (not tested code listing): > > public sub create_buttons() > dim abutton as Button > dim i as integer > > for i=1 to 8 > abutton = NEW Button(ME) as "mybutton" ' the as... is for > event handler > abutton.x = 20 > abutton.y = i*20 + 50 > abutton.text = "Button #" & i > abutton.tag = i > next > end > > public sub mybutton_Click() > print "You pressed button #" & LAST.tag > end > > This example is just a simple one - one can also create 8 buttons in the > IDE. But, if after some try, you decide to change the text of the > buttons, you must change 8 items, while you could change a single line > in code. In this example the variable abutton is used over and over, so > it only keeps the last created button (and goes out of scope at the end > of the sub). But using an array, one can "remember" all the created > buttons, and operate on them through for-next cycles. Using a constant > declaration (MAX_BUTTON as integer = 16), one can, by changing just a > value, have 2, 4 or 12 buttons, at will. Clearly, this approach has an > advantage only if the logic of the program requires this. > I rarely used this, though. Ok Doriano, now I see what you meant. > The second case is when you want to have several instances of a form (or > something else). For example, I recently wrote an accounting program, > with a dozen forms. Through the menu you open those forms, but they are > "swallowed" inside a tabstrip. So I can start to make an invoice; from > there, I can open the customers table to browse for a name; if someone > asks me to produce quickly another invoice, I open another instance of > the invoice form. At this point I have two invoices open, created > dynamically. I can also cut/paste data between them. It goes like this: > > ' a menu item click to create an invoice > PUBLIC SUB mnInvoice_Click() > DIM ht AS Object > > IF swall() THEN RETURN ' create a new page in tabstrip - > refuses if too much of them > ht = NEW fmInvoice(tsMain) ' create dynamically the new form, > child of the tabstrip > END > > This is a sort of MDI (multiple document interface), only the documents > are all kept in a tabstrip. This is very interesting and will be useful for my next project (ERP+accounting) As a matter of fact, I was seeking for a manner to do exactly what you just explained: beeing able to create/modify/... multiple instances of a kind of document at the same time :) Thanks again JY -- If women didn't exist, all the money in the world would have no meaning. -- Aristotle Onassis From 12ukwn at ...626... Tue Aug 18 04:37:36 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 04:37:36 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <200908170007.15850.gambas@...1...> References: <4A85D3D7.8050008@...626...> <4A86D14C.2060107@...1909...> <4A877FB0.902@...626...> <200908170007.15850.gambas@...1...> Message-ID: <4A8A13F0.7050006@...626...> Beno?t Minisini a ?crit : >> Doriano Blengino a ?crit : >> ... >> >>> Fabien was asking what toolkit you are using: GTK or QT? >> Qt >> > > I've heard of a bug in the clipboard management of recent Qt4 versions. Could > it be the source of your delay? > >>> Try the other one, who knows... it's a quick way to know if the problem >>> is in the toolkit. >> a real mess: permanent scrolling of GTK errors in console, unusable because >> printing errors takes all cycles (15 sec. to stop after hitting 'Quit') > > Which warnings or errors messages do you have? It is not normal to have such > many messages! Debian sid package 2.15.2 Hi Beno?t, I made an executable in GTK and launched it, CPU is 100% bloatted and program is almost unresponsive; here's the permanent output: (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != NULL' failed (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != NULL' failed And BTW I was not shure till now, but I confirm a bug under Qt: if you have a TextBox with a colored background that is disabled @ creation; running under GTK renders correct background color, however Qt leaves it in standard-disabled-gray. JY -- It's OKAY -- I'm an INTELLECTUAL, too. From 12ukwn at ...626... Tue Aug 18 05:29:34 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 05:29:34 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A8A13F0.7050006@...626...> References: <4A85D3D7.8050008@...626...> <4A86D14C.2060107@...1909...> <4A877FB0.902@...626...> <200908170007.15850.gambas@...1...> <4A8A13F0.7050006@...626...> Message-ID: <4A8A201E.3020806@...626...> BTW2: having the possibility to switch from RAD tabs by CTRL-PgUP/PgDwn would be VERY nice AND useful: as I formerly told you, that's the way to switch tabs into iceweasel/firefox so I guess many people should be used to that command too. Pointing the wanted tab takes much longer than use the keyboard, as you have to lift your hand from the keyboard, grab the mouse, correctly point and click; this don't look like much, but when you oftenly switch tabs to watch a name into the form and back to class it begins to count... Regards, JY -- Mountain Dew and doughnuts... because breakfast is the most important meal of the day. From steven at ...2097... Tue Aug 18 06:37:51 2009 From: steven at ...2097... (Steven James Drinnan) Date: Tue, 18 Aug 2009 12:37:51 +0800 Subject: [Gambas-user] Gambas applications In-Reply-To: <200907261516.51657.gambas@...1...> References: <405252.72460.qm@...2242...> <200907261516.51657.gambas@...1...> Message-ID: <1250570271.18021.5.camel@...2011...> Hi Beno?t Here is an application for you to consider. It is still in alpha right now with limited functionality. Name: Steven James Drinnan / SJDSoft Application: SJDSoftMyEduBase 0.1.43 Description: A database focused on the needs of schools in Hong Kong. Student, Class, Teacher etc. Website: http://www.sjdsoft.hk (Main Site) http://www.sjdsoft.hk/myedubase/index.htm (direct) Licence: GPL Steven Drinnan From gambas at ...1... Tue Aug 18 11:00:29 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 11:00:29 +0200 Subject: [Gambas-user] Gambas applications In-Reply-To: <1250570271.18021.5.camel@...2011...> References: <405252.72460.qm@...2242...> <200907261516.51657.gambas@...1...> <1250570271.18021.5.camel@...2011...> Message-ID: <200908181100.29172.gambas@...1...> > Hi Beno?t > > Here is an application for you to consider. It is still in alpha right > now with limited functionality. > > Name: Steven James Drinnan / SJDSoft > Application: SJDSoftMyEduBase 0.1.43 > Description: A database focused on the needs of schools in Hong Kong. > Student, Class, Teacher etc. > Website: http://www.sjdsoft.hk (Main Site) > http://www.sjdsoft.hk/myedubase/index.htm (direct) > Licence: GPL > > Steven Drinnan > > Can you create the page yourself? -- Beno?t From gambas at ...1... Tue Aug 18 11:00:53 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 11:00:53 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A8A201E.3020806@...626...> References: <4A85D3D7.8050008@...626...> <4A8A13F0.7050006@...626...> <4A8A201E.3020806@...626...> Message-ID: <200908181100.53152.gambas@...1...> > BTW2: having the possibility to switch from RAD tabs by CTRL-PgUP/PgDwn > would be VERY nice AND useful: as I formerly told you, that's the way to > switch tabs into iceweasel/firefox so I guess many people should be used to > that command too. > > Pointing the wanted tab takes much longer than use the keyboard, as you > have to lift your hand from the keyboard, grab the mouse, correctly point > and click; this don't look like much, but when you oftenly switch tabs to > watch a name into the form and back to class it begins to count... > > Regards, > JY Done in revision #2245 (for Gambas 2). Regards, -- Beno?t From gambas at ...1... Tue Aug 18 11:02:52 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 11:02:52 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A8A13F0.7050006@...626...> References: <4A85D3D7.8050008@...626...> <200908170007.15850.gambas@...1...> <4A8A13F0.7050006@...626...> Message-ID: <200908181102.52642.gambas@...1...> > Beno?t Minisini a ?crit : > >> Doriano Blengino a ?crit : > >> ... > >> > >>> Fabien was asking what toolkit you are using: GTK or QT? > >> > >> Qt > > > > I've heard of a bug in the clipboard management of recent Qt4 versions. > > Could it be the source of your delay? > > > >>> Try the other one, who knows... it's a quick way to know if the problem > >>> is in the toolkit. > >> > >> a real mess: permanent scrolling of GTK errors in console, unusable > >> because printing errors takes all cycles (15 sec. to stop after hitting > >> 'Quit') > > > > Which warnings or errors messages do you have? It is not normal to have > > such many messages! > > Debian sid package 2.15.2 > > Hi Beno?t, > > I made an executable in GTK and launched it, CPU is 100% bloatted and > program is almost unresponsive; here's the permanent output: > > (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: > gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != > NULL' failed > > (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: > gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != > NULL' failed Can you provide a project that shows this behaviour? > > And BTW I was not shure till now, but I confirm a bug under Qt: if you have > a TextBox with a colored background that is disabled @ creation; running > under GTK renders correct background color, however Qt leaves it in > standard-disabled-gray. It's more a bug in gb.gtk. Both toolkits do not handle colors the same way. Regrds, -- Beno?t From kazutaka802 at ...1907... Tue Aug 18 14:11:35 2009 From: kazutaka802 at ...1907... (HARADA Kazutaka) Date: Tue, 18 Aug 2009 21:11:35 +0900 Subject: [Gambas-user] How to show a form with keyboard shortcut In-Reply-To: <4A89C117.3050105@...1909...> References: <20090703060108.11097.qmail@...2229...> <200907031204.25265.gambas@...1...> <4A896ECD.9080602@...1907...> <4A89C117.3050105@...1909...> Message-ID: <4A8A9A77.2000102@...1907...> Doriano Blengino wrote: > I think that in the call to XNextEvent you are passing a NIL pointer; > libX11 tries to put data in the area pointed by pEvent. You should > allocate some memory in it, enough to hold the event data. If, on the > Hi, Doriano Thanks for your comment. As you suggested above, I added following line to allocate the memrory, then program runs normally. No signall 11 error. pEvent = Alloc(15) ' 15 is temporary size Now I can go to the next step! Regards, -- -------------------------------------- Kazutaka HARADA e-mail:kazutaka802 at ...1907... -------------------------------------- From 12ukwn at ...626... Tue Aug 18 14:15:38 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 14:15:38 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <200908181100.53152.gambas@...1...> References: <4A85D3D7.8050008@...626...> <4A8A13F0.7050006@...626...> <4A8A201E.3020806@...626...> <200908181100.53152.gambas@...1...> Message-ID: <4A8A9B6A.90709@...626...> Beno?t Minisini a ?crit : >> BTW2: having the possibility to switch from RAD tabs by CTRL-PgUP/PgDwn >> would be VERY nice AND useful: as I formerly told you, that's the way to >> switch tabs into iceweasel/firefox so I guess many people should be used to >> that command too. >> >> Pointing the wanted tab takes much longer than use the keyboard, as you >> have to lift your hand from the keyboard, grab the mouse, correctly point >> and click; this don't look like much, but when you oftenly switch tabs to >> watch a name into the form and back to class it begins to count... >> >> Regards, >> JY > > Done in revision #2245 (for Gambas 2). > > Regards, Hmmm, how cool you are :) -- An empty cab drove up and Sarah Bernhardt got out. -Arthur Baer, American comic and columnist From 12ukwn at ...626... Tue Aug 18 14:22:31 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 14:22:31 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <200908181102.52642.gambas@...1...> References: <4A85D3D7.8050008@...626...> <200908170007.15850.gambas@...1...> <4A8A13F0.7050006@...626...> <200908181102.52642.gambas@...1...> Message-ID: <4A8A9D07.4000703@...626...> Beno?t Minisini a ?crit : ... >> (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: >> gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != >> NULL' failed > > Can you provide a project that shows this behaviour? > >> And BTW I was not shure till now, but I confirm a bug under Qt: if you have >> a TextBox with a colored background that is disabled @ creation; running >> under GTK renders correct background color, however Qt leaves it in >> standard-disabled-gray. > > It's more a bug in gb.gtk. Both toolkits do not handle colors the same way. Here you're Rgds JY -- Make a wish, it might come true. -------------- next part -------------- A non-text attachment was scrubbed... Name: PG_RIGHTS_MGT-0.0.3.tar.gz Type: application/x-gzip Size: 62082 bytes Desc: not available URL: From gambas at ...1... Tue Aug 18 15:01:33 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 15:01:33 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <4A8A9D07.4000703@...626...> References: <4A85D3D7.8050008@...626...> <200908181102.52642.gambas@...1...> <4A8A9D07.4000703@...626...> Message-ID: <200908181501.33274.gambas@...1...> > Beno?t Minisini a ?crit : > ... > > >> (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: > >> gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != > >> NULL' failed > > > > Can you provide a project that shows this behaviour? > > > >> And BTW I was not shure till now, but I confirm a bug under Qt: if you > >> have a TextBox with a colored background that is disabled @ creation; > >> running under GTK renders correct background color, however Qt leaves it > >> in standard-disabled-gray. > > > > It's more a bug in gb.gtk. Both toolkits do not handle colors the same > > way. > > Here you're > Rgds > JY Without the database, I hardly can do anything! -- Beno?t From 12ukwn at ...626... Tue Aug 18 15:11:03 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 15:11:03 +0200 Subject: [Gambas-user] setfocus eats way too much time In-Reply-To: <200908181501.33274.gambas@...1...> References: <4A85D3D7.8050008@...626...> <200908181102.52642.gambas@...1...> <4A8A9D07.4000703@...626...> <200908181501.33274.gambas@...1...> Message-ID: <4A8AA867.2030707@...626...> Beno?t Minisini a ?crit : >> Beno?t Minisini a ?crit : >> ... >> >>>> (PG_RIGHTS_MGT.gambas:12328): Gtk-CRITICAL **: >>>> gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != >>>> NULL' failed >>> Can you provide a project that shows this behaviour? >>> >>>> And BTW I was not shure till now, but I confirm a bug under Qt: if you >>>> have a TextBox with a colored background that is disabled @ creation; >>>> running under GTK renders correct background color, however Qt leaves it >>>> in standard-disabled-gray. >>> It's more a bug in gb.gtk. Both toolkits do not handle colors the same >>> way. >> Here you're >> Rgds >> JY > > Without the database, I hardly can do anything! ok, \i PRE_DOMAIN.csv and the rest will follow (pg >=8.4 only) JY -- Cocaine's a joke! (Who's got the next line?) -------------- next part -------------- A non-text attachment was scrubbed... Name: DB.tar.bz2 Type: application/x-bzip Size: 30536 bytes Desc: not available URL: From 12ukwn at ...626... Tue Aug 18 19:46:45 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 18 Aug 2009 19:46:45 +0200 Subject: [Gambas-user] ambiguous help Message-ID: <4A8AE905.3050805@...626...> Hi list, I made a test as: A=B=C=5, the non-clear error msg is: "Ambiguous expression. Please use braces" does it mean: {curly braces}, (round brackets / parenthesis) or [square brackets]? (as many people improperly use the 2nd one with this name) JY -- Shit Happens. From Karl.Reinl at ...9... Tue Aug 18 21:52:14 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 18 Aug 2009 21:52:14 +0200 Subject: [Gambas-user] libtool management in Gambas 3 & compilation problems In-Reply-To: <200908170950.43974.gambas@...1...> References: <200908170028.26627.gambas@...1...> <200908170052.19293.gambas@...1...> <1250466447.6869.6.camel@...40...> <200908170950.43974.gambas@...1...> Message-ID: <1250625134.6608.10.camel@...40...> Am Montag, den 17.08.2009, 09:50 +0200 schrieb Beno?t Minisini: --------------8<---------------------- > > > > > > Try with revision #2237. > > > > Ubuntu 8.04.3 LTS > > > > I didn't make changes,I just compiled. > > > > Here are the log's (normally I use --disable-v4l , not this time) > > > > Charlie > > > > Charlie > > Is it better with revision #2240? > Salut, on a freshly installed/downloaded gambas3 from SVN. toujours Ubuntu 8.04.3 LTS Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.log.tar.bz2 Type: application/x-bzip-compressed-tar Size: 32899 bytes Desc: not available URL: From prog at ...2177... Tue Aug 18 22:08:08 2009 From: prog at ...2177... (craf) Date: Tue, 18 Aug 2009 16:08:08 -0400 Subject: [Gambas-user] Error gb.desktop Message-ID: <1250626088.3558.0.camel@...651...> Hello. Today I failed to open prawns. This gives me the following message: ERROR: # 27: Can not load component 'gb.desktop': can not find library file Do I delete something? Regards. From gambas at ...1... Tue Aug 18 22:15:26 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 22:15:26 +0200 Subject: [Gambas-user] Error gb.desktop In-Reply-To: <1250626088.3558.0.camel@...651...> References: <1250626088.3558.0.camel@...651...> Message-ID: <200908182215.26232.gambas@...1...> > Hello. > > Today I failed to open prawns. This gives me the following message: > ERROR: # 27: Can not load component 'gb.desktop': can not find library > file > > Do I delete something? > > Regards. Apparently: the missing file is gb.desktop.so.0, which should be located in the gambas component installation directory (/usr/local/lib/gambas3 by default). Regards, -- Beno?t From prog at ...2177... Tue Aug 18 22:16:04 2009 From: prog at ...2177... (craf) Date: Tue, 18 Aug 2009 16:16:04 -0400 Subject: [Gambas-user] [Fwd: Error gb.desktop] Message-ID: <1250626564.3558.2.camel@...651...> Hello. Today I failed to open (prawns) Sorry, evil google translate (Gambas) ;=). This gives me the following message: ERROR: # 27: Can not load component 'gb.desktop': can not find library file Do I delete something? Regards. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Aug 18 23:08:28 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 18 Aug 2009 23:08:28 +0200 Subject: [Gambas-user] Need help / call for volunteers Message-ID: <200908182308.28684.gambas@...1...> Hi, As you may have noticed, each time someone has a problem with Gambas, the same information is always requested. So I'm looking for kind peoples who would write a shell script for Gambas that automatically dump all the needed information in a text file. The information needed are: - The OS. - The distribution. - The distribution version. - The CPU. - The architecture (32/64 bits). - The version of Gambas. - The output of ./reconf && ./configure -C (optional) Of course, other information can be added. I have tons of things to do, so I ask for help. Any volunteer? -- Beno?t From david_villalobos_c at ...43... Tue Aug 18 23:43:29 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Tue, 18 Aug 2009 14:43:29 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908182308.28684.gambas@...1...> References: <200908182308.28684.gambas@...1...> Message-ID: <448407.80375.qm@...1670...> Hi, how can I take The distribution & The distribution version? It the same for all Linux? Regards -- David ----- Original Message ---- From: Beno?t Minisini To: gambas-user at lists.sourceforge.net Sent: Tuesday, August 18, 2009 3:08:28 PM Subject: [Gambas-user] Need help / call for volunteers Hi, As you may have noticed, each time someone has a problem with Gambas, the same information is always requested. So I'm looking for kind peoples who would write a shell script for Gambas that automatically dump all the needed information in a text file. The information needed are: - The OS. - The distribution. - The distribution version. - The CPU. - The architecture (32/64 bits). - The version of Gambas. - The output of ./reconf && ./configure -C (optional) Of course, other information can be added. I have tons of things to do, so I ask for help. Any volunteer? -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From m0e.lnx at ...626... Tue Aug 18 23:27:50 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 18 Aug 2009 16:27:50 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908182308.28684.gambas@...1...> References: <200908182308.28684.gambas@...1...> Message-ID: <1f1e8c1b0908181427o28ee9251nd4d761a2cf8c947e@...627...> Interesting project. My hands are plenty tied with my own projects though, but I think we can all pitch in to work with who ever takes up the project for example by giving any pointer that would help him/her identify whichever distro we all run and that sort of stuff. From arosa at ...2015... Tue Aug 18 23:52:59 2009 From: arosa at ...2015... (Toni) Date: Tue, 18 Aug 2009 22:52:59 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <448407.80375.qm@...1670...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> Message-ID: <4A8B22BB.3000604@...2015...> Hi David, I normaly look at the "/etc/issue" file, which if not edited, contains the distribution name and version. It works for Fedoras and Ubuntus, but I am not sure whether it's standard across other distributions. Regards, Toni En/na David Villalobos Cambronero ha escrit: > Hi, how can I take The distribution & The distribution version? > > It the same for all Linux? > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Beno?t Minisini > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, August 18, 2009 3:08:28 PM > Subject: [Gambas-user] Need help / call for volunteers > > Hi, > > As you may have noticed, each time someone has a problem with Gambas, the same > information is always requested. > > So I'm looking for kind peoples who would write a shell script for Gambas that > automatically dump all the needed information in a text file. > > The information needed are: > - The OS. > - The distribution. > - The distribution version. > - The CPU. > - The architecture (32/64 bits). > - The version of Gambas. > - The output of ./reconf && ./configure -C (optional) > > Of course, other information can be added. > > I have tons of things to do, so I ask for help. Any volunteer? > > From nick at ...2252... Tue Aug 18 23:57:49 2009 From: nick at ...2252... (Nick Rathke) Date: Tue, 18 Aug 2009 15:57:49 -0600 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A8B22BB.3000604@...2015...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> Message-ID: <4A8B23DD.5020606@...2252...> also works with all version of Suse and I believe (but can't confirm) BSD as well. .n Toni wrote: > Hi David, > I normaly look at the "/etc/issue" file, which if not edited, contains > the distribution name and version. It works for Fedoras and Ubuntus, but > I am not sure whether it's standard across other distributions. > Regards, > Toni > > > En/na David Villalobos Cambronero ha escrit: > >> Hi, how can I take The distribution & The distribution version? >> >> It the same for all Linux? >> >> Regards >> >> >> -- >> David >> >> >> >> ----- Original Message ---- >> From: Beno?t Minisini >> To: gambas-user at lists.sourceforge.net >> Sent: Tuesday, August 18, 2009 3:08:28 PM >> Subject: [Gambas-user] Need help / call for volunteers >> >> Hi, >> >> As you may have noticed, each time someone has a problem with Gambas, the same >> information is always requested. >> >> So I'm looking for kind peoples who would write a shell script for Gambas that >> automatically dump all the needed information in a text file. >> >> The information needed are: >> - The OS. >> - The distribution. >> - The distribution version. >> - The CPU. >> - The architecture (32/64 bits). >> - The version of Gambas. >> - The output of ./reconf && ./configure -C (optional) >> >> Of course, other information can be added. >> >> I have tons of things to do, so I ask for help. Any volunteer? >> >> >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come From Karl.Reinl at ...9... Tue Aug 18 23:31:36 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 18 Aug 2009 23:31:36 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908182308.28684.gambas@...1...> References: <200908182308.28684.gambas@...1...> Message-ID: <1250631096.6608.20.camel@...40...> Am Dienstag, den 18.08.2009, 23:08 +0200 schrieb Beno?t Minisini: > Hi, > > As you may have noticed, each time someone has a problem with Gambas, the same > information is always requested. > > So I'm looking for kind peoples who would write a shell script for Gambas that > automatically dump all the needed information in a text file. > > The information needed are: > - The OS. > - The distribution. > - The distribution version. > - The CPU. > - The architecture (32/64 bits). > - The version of Gambas. > - The output of ./reconf && ./configure -C (optional) > > Of course, other information can be added. > > I have tons of things to do, so I ask for help. Any volunteer? > Salut Benoit, some of these you can find in my sysinfo.sh which has as output a sysinfo.log For compiling I have to propose 2 scripts (in that case for gambas3), update30 (svn update, copy svnmake into the directory and run it) svnmake with all output. Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: sysInfo.sh Type: application/x-shellscript Size: 4220 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: svnMake Type: application/x-shellscript Size: 1029 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: update30 Type: application/x-shellscript Size: 284 bytes Desc: not available URL: From gambas at ...1... Wed Aug 19 00:02:23 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 19 Aug 2009 00:02:23 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A8B22BB.3000604@...2015...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> Message-ID: <200908190002.23256.gambas@...1...> > Hi David, > I normaly look at the "/etc/issue" file, which if not edited, contains > the distribution name and version. It works for Fedoras and Ubuntus, but > I am not sure whether it's standard across other distributions. > Regards, > Toni > It works for Mandriva too. -- Beno?t From 12ukwn at ...626... Wed Aug 19 00:03:17 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 00:03:17 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A8B22BB.3000604@...2015...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> Message-ID: <4A8B2525.2070707@...626...> Toni a ?crit : > Hi David, > I normaly look at the "/etc/issue" file, which if not edited, contains > the distribution name and version. It works for Fedoras and Ubuntus, but > I am not sure whether it's standard across other distributions. of course, it works for Debian. -- BOFH excuse #15: temporary routing anomaly From david_villalobos_c at ...43... Wed Aug 19 00:17:45 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Tue, 18 Aug 2009 15:17:45 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908190002.23256.gambas@...1...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> <200908190002.23256.gambas@...1...> Message-ID: <156635.48961.qm@...1782...> Well, right now I'm learning Java (under windows :( ), so I'm very busy, if no body take cake of it I'll take a look on it next week. Regards -- David ----- Original Message ---- From: Beno?t Minisini To: mailing list for gambas users Sent: Tuesday, August 18, 2009 4:02:23 PM Subject: Re: [Gambas-user] Need help / call for volunteers > Hi David, > I normaly look at the "/etc/issue" file, which if not edited, contains > the distribution name and version. It works for Fedoras and Ubuntus, but > I am not sure whether it's standard across other distributions. > Regards, > Toni > It works for Mandriva too. -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From arosa at ...2015... Wed Aug 19 00:21:00 2009 From: arosa at ...2015... (Toni) Date: Tue, 18 Aug 2009 23:21:00 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <448407.80375.qm@...1670...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> Message-ID: <4A8B294C.3040504@...2015...> Hi again, While writing my previous message I remembered having read about it somewhere, and after some searches here you are: http://www.howtoforge.com/how_to_find_out_about_your_linux_distribution The wee bad news is that I have tested the proposed shell script in the page, and It doesn't correctly identifies my system, and instead of reporting "Ubuntu 8.10 64bits" or similar, it reports "Linux Debian lenny/sid ( 2.6.27-14-generic x86_64)". I hope that at least it might help you implementing the gathering information script. OTOH, it's just occurred to me that the "/etc/issue" doesn't give information about the system being 32 or 64 bit. Maybe the information from a "uname -a" would be necessary too. Regards, Toni En/na David Villalobos Cambronero ha escrit: > Hi, how can I take The distribution & The distribution version? > > It the same for all Linux? > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Beno?t Minisini > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, August 18, 2009 3:08:28 PM > Subject: [Gambas-user] Need help / call for volunteers > > Hi, > > As you may have noticed, each time someone has a problem with Gambas, the same > information is always requested. > > So I'm looking for kind peoples who would write a shell script for Gambas that > automatically dump all the needed information in a text file. > > The information needed are: > - The OS. > - The distribution. > - The distribution version. > - The CPU. > - The architecture (32/64 bits). > - The version of Gambas. > - The output of ./reconf && ./configure -C (optional) > > Of course, other information can be added. > > I have tons of things to do, so I ask for help. Any volunteer? > > From rospolosco at ...152... Wed Aug 19 00:23:25 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 19 Aug 2009 00:23:25 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <448407.80375.qm@...1670...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> Message-ID: <200908190023.26089.rospolosco@...152...> Il marted? 18 agosto 2009 23:43:29 David Villalobos Cambronero ha scritto: > Hi, how can I take The distribution & The distribution version? > > It the same for all Linux? > > Regards > > > -- > David > cat /etc/issue doesn't work on Slackware. On Slackware the version is: cat /etc/slackware-version (reply on console: Slackware 12.2.0) and it seems that Debian uses the same. So cat /etc/*-version should cover some distros. On the web other people says for other distro: cat /etc/*-release or ls /etc/ | grep release to have the file name that contains the info. Stefano > > > ----- Original Message ---- > From: Beno?t Minisini > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, August 18, 2009 3:08:28 PM > Subject: [Gambas-user] Need help / call for volunteers > > Hi, > > As you may have noticed, each time someone has a problem with Gambas, the > same information is always requested. > > So I'm looking for kind peoples who would write a shell script for Gambas > that automatically dump all the needed information in a text file. > > The information needed are: > - The OS. > - The distribution. > - The distribution version. > - The CPU. > - The architecture (32/64 bits). > - The version of Gambas. > - The output of ./reconf && ./configure -C (optional) > > Of course, other information can be added. > > I have tons of things to do, so I ask for help. Any volunteer? From nick at ...2252... Tue Aug 18 23:53:26 2009 From: nick at ...2252... (Nick Rathke) Date: Tue, 18 Aug 2009 15:53:26 -0600 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <448407.80375.qm@...1670...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> Message-ID: <4A8B22D6.5050209@...2252...> Hi, I am not a script kiddy, but I do have access to just about every version of Linux in both 32bit and 64bit flavors, so I am happy to help test any build/debug scripts. Also have there been any discussions around a build server ? We have used CDash with great success. Just a thought.... http://www.cdash.org/ -- Nick Rathke Scientific Computing and Imaging Institute Sr. Systems Administrator nick at ...2252... www.sci.utah.edu 801-587-9933 801-557-3832 "I came I saw I made it possible" Royal Bliss - Here They Come David Villalobos Cambronero wrote: > Hi, how can I take The distribution & The distribution version? > > It the same for all Linux? > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Beno?t Minisini > To: gambas-user at lists.sourceforge.net > Sent: Tuesday, August 18, 2009 3:08:28 PM > Subject: [Gambas-user] Need help / call for volunteers > > Hi, > > As you may have noticed, each time someone has a problem with Gambas, the same > information is always requested. > > So I'm looking for kind peoples who would write a shell script for Gambas that > automatically dump all the needed information in a text file. > > The information needed are: > - The OS. > - The distribution. > - The distribution version. > - The CPU. > - The architecture (32/64 bits). > - The version of Gambas. > - The output of ./reconf && ./configure -C (optional) > > Of course, other information can be added. > > I have tons of things to do, so I ask for help. Any volunteer? > > From wdahn at ...1000... Wed Aug 19 03:17:33 2009 From: wdahn at ...1000... (Werner) Date: Wed, 19 Aug 2009 09:17:33 +0800 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A8B22BB.3000604@...2015...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> Message-ID: <4A8B52AD.4020601@...1000...> Toni wrote: > Hi David, > I normaly look at the "/etc/issue" file, which if not edited, contains > the distribution name and version. It works for Fedoras and Ubuntus, but > I am not sure whether it's standard across other distributions. > Regards, > Toni > > > En/na David Villalobos Cambronero ha escrit: > >> Hi, how can I take The distribution & The distribution version? >> >> It the same for all Linux? >> >> Regards >> >> >> -- >> David >> /etc/issue on openSUSE 11.1 |Welcome to openSUSE 11.1 - Kernel \r (\l). | The | is added by me as a delimiter. There are 2 empty lines. Regards Werner From m0e.lnx at ...626... Wed Aug 19 05:06:41 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 18 Aug 2009 22:06:41 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A8B52AD.4020601@...1000...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> <4A8B52AD.4020601@...1000...> Message-ID: <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> For vectorlinux, you want the result of # cat /etc/vector-version console responds with something like "Vectorlinux 6.0 SOHO built on 08012008" I know a lot of distros have something in etc like /etc/slackware-version /etc/debian etc...etc...etc. From shordi at ...626... Wed Aug 19 11:06:27 2009 From: shordi at ...626... (shordi) Date: Wed, 19 Aug 2009 02:06:27 -0700 (PDT) Subject: [Gambas-user] =?utf-8?q?_=C2=BFWhy_I_can=27t_modify_a_Table_in_Te?= =?utf-8?q?xtEdit_Example=3F?= Message-ID: <25040495.post@...1379...> I'm making tries with the TextEdit example of Gambas2. (I need a simple web editor integrated with mi proyect). And I have tried this: Make a new toolbutton with this code DIM tabla AS String tabla = "
hola mundo como estas
yo muy biengracias
" TextEdit1.text &= tabla TextEdit1.Refresh The table appears on screen integrated in the example text... but I can't modify in Main form the content of the table. Why? Confused... -- View this message in context: http://www.nabble.com/%C2%BFWhy-I-can%27t-modify-a-Table-in-TextEdit-Example--tp25040495p25040495.html Sent from the gambas-user mailing list archive at Nabble.com. From blaze_fx at ...118... Wed Aug 19 11:19:44 2009 From: blaze_fx at ...118... (Peter Tyler) Date: Wed, 19 Aug 2009 02:19:44 -0700 (PDT) Subject: [Gambas-user] pickle? In-Reply-To: <200908111007.02038.sourceforge-raindog2@...94...> References: <969512.44477.qm@...2267...> <200908111007.02038.sourceforge-raindog2@...94...> Message-ID: <952337.51421.qm@...2272...> O.k. sometimes I'm on the road - and it takes me a while to get back to gambas. Ideally I just want to write a class, which is all strings, to a file and read it back in. I saw in one of the posts that there may be a way to do this, but there wasn't any detail... Can any one explain further? FYI Pickle explained (sortof): ----- snip ------ "Rather than have users be constantly writing and debugging code to save complicated data types, Python provides a standard module called ?pickle?. This is an amazing module that can take almost any Python object (even some forms of Python code!), and convert it to a string representation; this process is called pickling. Reconstructing the object from the string representation is called unpickling. Between pickling and unpickling, the string representing the object may have been stored in a file or data, or sent over a network connection to some distant machine. " ref http://www.network-theory.co.uk/docs/pytut/pickleModule.html -------------------- Thanks in advance a gambas newbie :) Peter. ________________________________ From: Rob To: gambas-user at lists.sourceforge.net Sent: Wednesday, 12 August, 2009 12:07:01 AM Subject: Re: [Gambas-user] pickle? On Tuesday 11 August 2009 02:32 am, Peter Tyler wrote: > One thing I'm looking for in Gambas is something like the > python "pickle" functionality. > Does anyone know if this functionality is available? Benoit used to talk about object persistence/serialization as a 3.0 feature, but I don't know the status of that yet. As Steven posted, you can always just write data types to a file directly, but to write them in a semi-human-readable format like pickle does would probably need its own component or module. Parsing existing pickle data would probably not be that hard; I've done it in Perl on a number of occasions. Rob ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user __________________________________________________________________________________ Find local businesses and services in your area with Yahoo!7 Local. Get started: http://local.yahoo.com.au From gambas at ...1... Wed Aug 19 11:30:59 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 19 Aug 2009 11:30:59 +0200 Subject: [Gambas-user] pickle? In-Reply-To: <952337.51421.qm@...2272...> References: <969512.44477.qm@...2267...> <200908111007.02038.sourceforge-raindog2@...94...> <952337.51421.qm@...2272...> Message-ID: <200908191130.59688.gambas@...1...> > O.k. sometimes I'm on the road - and it takes me a while to get back to > gambas. > > Ideally I just want to write a class, which is all strings, to a file and > read it back in. > > I saw in one of the posts that there may be a way to do this, but there > wasn't any detail... Can any one explain further? > > > FYI Pickle explained (sortof): > ----- snip ------ > "Rather than have users be constantly writing and debugging code to > save complicated data types, Python provides a standard module called > ?pickle?. This is an amazing module that can take almost > any Python object (even some forms of Python code!), and convert it to > a string representation; this process is called pickling. > Reconstructing the object from the string representation is called > unpickling. Between pickling and unpickling, the string representing the > object may have been stored in a file or data, or sent over a network > connection to some distant machine. " > > ref http://www.network-theory.co.uk/docs/pytut/pickleModule.html > -------------------- > > Thanks in advance > a gambas newbie :) > Peter. > That process is usually called "serialization". There are some serialization routines in the gb.web component. They are used to store the session contents inside a file. But they can only handle native datatypes, arrays and collections. They cannot handle arbitrary Gambas objects. Regards, -- Beno?t From doriano.blengino at ...1909... Wed Aug 19 15:58:08 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 19 Aug 2009 15:58:08 +0200 Subject: [Gambas-user] ambiguous help In-Reply-To: <4A8AE905.3050805@...626...> References: <4A8AE905.3050805@...626...> Message-ID: <4A8C04F0.3080005@...1909...> Jean-Yves F. Barbier ha scritto: > Hi list, > > I made a test as: A=B=C=5, the non-clear error msg is: > "Ambiguous expression. Please use braces" > does it mean: {curly braces}, (round brackets / parenthesis) or [square brackets]? > (as many people improperly use the 2nd one with this name) > > JY > As this is basic (well, "Almost Basic"), normal parenthesis (-) should be used... Are you trying to test for "B equals C" and assign the result to A? Or whatever? The gambas parser is not the most intelligent I've seen, but the expression is truely ambiguous, so the reply of the parser is 'correctly' ambiguous too... :-) Regards, Doriano From demosthenesk at ...626... Wed Aug 19 15:31:29 2009 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 19 Aug 2009 16:31:29 +0300 Subject: [Gambas-user] Paypal language Message-ID: Hi all! I check out the Paypal link at first page of Gambas web site, and i saw that the language is set to French and i dont know to read the form labels of Visa form. Is it good idea to switch Paypal language to English? -- ???? ???? ?? ?????!!! Regards, Demosthenes Koptsis From gambas at ...1... Wed Aug 19 16:06:24 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 19 Aug 2009 16:06:24 +0200 Subject: [Gambas-user] ambiguous help In-Reply-To: <4A8C04F0.3080005@...1909...> References: <4A8AE905.3050805@...626...> <4A8C04F0.3080005@...1909...> Message-ID: <200908191606.24133.gambas@...1...> > Jean-Yves F. Barbier ha scritto: > > Hi list, > > > > I made a test as: A=B=C=5, the non-clear error msg is: > > "Ambiguous expression. Please use braces" > > does it mean: {curly braces}, (round brackets / parenthesis) or [square > > brackets]? (as many people improperly use the 2nd one with this name) > > > > JY > > As this is basic (well, "Almost Basic"), normal parenthesis (-) should > be used... > Are you trying to test for "B equals C" and assign the result to A? Or > whatever? The gambas parser is not the most intelligent I've seen, but > the expression is truely ambiguous, so the reply of the parser is > 'correctly' ambiguous too... :-) > > Regards, > Doriano > The '=' operator is binary and not associative, so your expression is ambiguous. What you want to achieve is that: (A = B) And (B = C) And (C = 5) Regards, -- Beno?t From 12ukwn at ...626... Wed Aug 19 16:17:58 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 16:17:58 +0200 Subject: [Gambas-user] ambiguous help In-Reply-To: <4A8C04F0.3080005@...1909...> References: <4A8AE905.3050805@...626...> <4A8C04F0.3080005@...1909...> Message-ID: <4A8C0996.5080607@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> I made a test as: A=B=C=5, the non-clear error msg is: >> "Ambiguous expression. Please use braces" >> does it mean: {curly braces}, (round brackets / parenthesis) or [square brackets]? >> (as many people improperly use the 2nd one with this name) >> >> JY >> > As this is basic (well, "Almost Basic"), normal parenthesis (-) should > be used... so, its brackets, not braces > Are you trying to test for "B equals C" and assign the result to A? Or > whatever? The gambas parser is not the most intelligent I've seen, but > the expression is truely ambiguous, so the reply of the parser is > 'correctly' ambiguous too... :-) no, I don't wanna make a comparison, I just wanna have A=5, B=5 & C=5 (did that in C if I remember well), as normally, the rightmost operande should propagate to the left. That's not SO important: I was just making small test to see if it was possible, this is a very common writing in Python too. -- Hear about... the absent minded sculptor who put his model to bed and started chiseling on his wife? From gambas at ...1... Wed Aug 19 16:21:37 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 19 Aug 2009 16:21:37 +0200 Subject: [Gambas-user] Paypal language In-Reply-To: References: Message-ID: <200908191621.37033.gambas@...1...> > Hi all! > > I check out the Paypal link at first page of Gambas web site, and i > saw that the language is set to French and i dont know to read the > form labels of Visa form. > Is it good idea to switch Paypal language to English? I tried, but I found no option to change that. If someone that knows Paypal better could help me... -- Beno?t From gambas at ...1... Wed Aug 19 16:26:18 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 19 Aug 2009 16:26:18 +0200 Subject: [Gambas-user] ambiguous help In-Reply-To: <4A8C0996.5080607@...626...> References: <4A8AE905.3050805@...626...> <4A8C04F0.3080005@...1909...> <4A8C0996.5080607@...626...> Message-ID: <200908191626.18831.gambas@...1...> > Doriano Blengino a ?crit : > > Jean-Yves F. Barbier ha scritto: > >> Hi list, > >> > >> I made a test as: A=B=C=5, the non-clear error msg is: > >> "Ambiguous expression. Please use braces" > >> does it mean: {curly braces}, (round brackets / parenthesis) or [square > >> brackets]? (as many people improperly use the 2nd one with this name) > >> > >> JY > > > > As this is basic (well, "Almost Basic"), normal parenthesis (-) should > > be used... > > so, its brackets, not braces > You're right, I will fix that. > > Are you trying to test for "B equals C" and assign the result to A? Or > > whatever? The gambas parser is not the most intelligent I've seen, but > > the expression is truely ambiguous, so the reply of the parser is > > 'correctly' ambiguous too... :-) > > no, I don't wanna make a comparison, I just wanna have A=5, B=5 & C=5 > (did that in C if I remember well), as normally, the rightmost operande > should propagate to the left. > That's not SO important: I was just making small test to see if it was > possible, this is a very common writing in Python too. You must each assignment on its own line: A = 5 B = 5 C = 5 Because of the BASIC syntax, '=' is the assignment operator *and* the equality comparison operator, and so the C-like syntax cannot be implemented. Regards, -- Beno?t From 12ukwn at ...626... Wed Aug 19 16:37:10 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 16:37:10 +0200 Subject: [Gambas-user] ambiguous help In-Reply-To: <200908191626.18831.gambas@...1...> References: <4A8AE905.3050805@...626...> <4A8C04F0.3080005@...1909...> <4A8C0996.5080607@...626...> <200908191626.18831.gambas@...1...> Message-ID: <4A8C0E16.4060301@...626...> Beno?t Minisini a ?crit : ... > You must each assignment on its own line: > > A = 5 > B = 5 > C = 5 > > Because of the BASIC syntax, '=' is the assignment operator *and* the equality > comparison operator, and so the C-like syntax cannot be implemented. ok that's clear now :) JY -- I know why the sun never sets on the British Empire -- God wouldn't trust an Englishman in the dark. -- Duncan Spaeth From demosthenesk at ...626... Wed Aug 19 17:59:44 2009 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 19 Aug 2009 18:59:44 +0300 Subject: [Gambas-user] Paypal language In-Reply-To: <200908191621.37033.gambas@...1...> References: <200908191621.37033.gambas@...1...> Message-ID: i dont have an account at Paypal so i can't help. But you can ask help from Paypal support. 2009/8/19 Beno?t Minisini : >> Hi all! >> >> I check out the Paypal link at first page of Gambas web site, and i >> saw that the language is set to French and i dont know to read the >> form labels of Visa form. >> Is it good idea to switch Paypal language to English? > > I tried, but I found no option to change that. If someone that knows Paypal > better could help me... > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- ???? ???? ?? ?????!!! Regards, Demosthenes Koptsis From 12ukwn at ...626... Wed Aug 19 19:03:35 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 19:03:35 +0200 Subject: [Gambas-user] pb changing a char in a string Message-ID: <4A8C3067.8020209@...626...> Hi list, I've got a global flag that is a string of 2 chars. In some procs, I've to change the 1st char, but I've got an error: Global (class) => EXPORT CREATE STATIC PUBLIC lastSelection AS String = "DU" monitor => Global.lastSelection = "DU" prout, prout, prout... monitor => Global.lastSelection = "TG" proc => Global.last.Selection[1] = "W" gives me a "not an object" error in proc!?? why am I not able to access one char into a string? JY -- Zoid: we're nuts, but we're productive nuts:) * taniwha wonders what productive nuts taste like From Karl.Reinl at ...9... Wed Aug 19 19:26:23 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 19 Aug 2009 19:26:23 +0200 Subject: [Gambas-user] pb changing a char in a string In-Reply-To: <4A8C3067.8020209@...626...> References: <4A8C3067.8020209@...626...> Message-ID: <1250702783.6386.5.camel@...40...> Am Mittwoch, den 19.08.2009, 19:03 +0200 schrieb Jean-Yves F. Barbier: > Hi list, > > I've got a global flag that is a string of 2 chars. > > In some procs, I've to change the 1st char, but I've got an error: > > Global (class) => EXPORT > CREATE STATIC > PUBLIC lastSelection AS String = "DU" > > monitor => Global.lastSelection = "DU" > prout, prout, prout... > monitor => Global.lastSelection = "TG" > > proc => Global.last.Selection[1] = "W" > > gives me a "not an object" error in proc!?? > why am I not able to access one char into a string? > > JY Salut Jean-Yves, that you can add to your collection : schizophrenia, four eyes see more then two! | Global.lastSelection| = "TG" Global.last.Selectio|n[1] = "W" | <-------- line made by me -- Amicalment Charlie From doriano.blengino at ...1909... Wed Aug 19 19:32:07 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 19 Aug 2009 19:32:07 +0200 Subject: [Gambas-user] pb changing a char in a string In-Reply-To: <4A8C3067.8020209@...626...> References: <4A8C3067.8020209@...626...> Message-ID: <4A8C3717.7000502@...1909...> Jean-Yves F. Barbier ha scritto: > Hi list, > > I've got a global flag that is a string of 2 chars. > > In some procs, I've to change the 1st char, but I've got an error: > > Global (class) => EXPORT > CREATE STATIC > PUBLIC lastSelection AS String = "DU" > > monitor => Global.lastSelection = "DU" > prout, prout, prout... > monitor => Global.lastSelection = "TG" > > proc => Global.last.Selection[1] = "W" > > gives me a "not an object" error in proc!?? > why am I not able to access one char into a string? > > JY > Dear Jean-Yves, basic is not stupid C. If C doesn't distinguish between strings and arrays, well, many others do, including gambas. I can't remember well, but I think that you can't change a single character in a string - you must use MID$() and & to extract the left part, add the changed part, and add the last part. Something like: global.last.selection = "W" & mid(global.last.selection,2) (there is no left part to preserve) ...but read about mid$(), I am not sure. Perhaps you are thinking that gambas is stupid, but this way you can collect a single character, or many, while in C you use two different methods ([...] access and strcat() and so on). Regards, Doriano From lordheavym at ...626... Wed Aug 19 19:54:13 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Wed, 19 Aug 2009 19:54:13 +0200 Subject: [Gambas-user] pb changing a char in a string In-Reply-To: <4A8C3067.8020209@...626...> References: <4A8C3067.8020209@...626...> Message-ID: <200908191954.13777.lordheavym@...626...> Le mercredi 19 ao?t 2009 19:03:35 Jean-Yves F. Barbier, vous avez ?crit : > > proc => Global.last.Selection[1] = "W" > > gives me a "not an object" error in proc!?? > why am I not able to access one char into a string? > > JY Because a string is a string, not an array of char :-) Global.lastSelection = "W" & Right$(Global.lastSelection) should work ++ From 12ukwn at ...626... Wed Aug 19 20:03:59 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 20:03:59 +0200 Subject: [Gambas-user] pb changing a char in a string In-Reply-To: <1250702783.6386.5.camel@...40...> References: <4A8C3067.8020209@...626...> <1250702783.6386.5.camel@...40...> Message-ID: <4A8C3E8F.2060002@...626...> Charlie Reinl a ?crit : > Am Mittwoch, den 19.08.2009, 19:03 +0200 schrieb Jean-Yves F. Barbier: >> Hi list, >> >> I've got a global flag that is a string of 2 chars. >> >> In some procs, I've to change the 1st char, but I've got an error: >> >> Global (class) => EXPORT >> CREATE STATIC >> PUBLIC lastSelection AS String = "DU" >> >> monitor => Global.lastSelection = "DU" >> prout, prout, prout... >> monitor => Global.lastSelection = "TG" >> >> proc => Global.last.Selection[1] = "W" >> >> gives me a "not an object" error in proc!?? >> why am I not able to access one char into a string? >> >> JY > > Salut Jean-Yves, > > that you can add to your collection : > > schizophrenia, four eyes see more then two! > | > Global.lastSelection| = "TG" > Global.last.Selectio|n[1] = "W" > | <-------- line made by me Typo! You can add this to your collection too, Charlie: "If you awake with four balls, don't think you're a super-human, watch the friend that's behind you" :) JY -- Special engagement; no discounts, passes or coupons accepted. From 12ukwn at ...626... Wed Aug 19 20:05:29 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Wed, 19 Aug 2009 20:05:29 +0200 Subject: [Gambas-user] pb changing a char in a string In-Reply-To: <4A8C3067.8020209@...626...> References: <4A8C3067.8020209@...626...> Message-ID: <4A8C3EE9.9030101@...626...> Jean-Yves F. Barbier a ?crit : ... > why am I not able to access one char into a string? Ok thanks to Doriano & Laurent; strange but acknoledged. JY -- About the time we think we can make ends meet, somebody moves the ends. -- Herbert Hoover From shordi at ...626... Thu Aug 20 10:26:48 2009 From: shordi at ...626... (shordi) Date: Thu, 20 Aug 2009 01:26:48 -0700 (PDT) Subject: [Gambas-user] =?utf-8?q?=C2=BFWhy_I_can=27t_modify_a_Table_in_Tex?= =?utf-8?q?tEdit_Example=3F?= In-Reply-To: <25040495.post@...1379...> References: <25040495.post@...1379...> Message-ID: <25057993.post@...1379...> shordi wrote: > > I'm making tries with the TextEdit example of Gambas2. (I need a simple > web editor integrated with mi proyect). And I have tried this: > > Make a new toolbutton with this code > > DIM tabla AS String > tabla = "
hola mundo > como estas
yo muy > biengracias
" > TextEdit1.text &= tabla > TextEdit1.Refresh > > The table appears on screen integrated in the example text... but I can't > modify in Main form the content of the table. > Why? > Confused... > Nobody knows? I need some clues, please... -- View this message in context: http://www.nabble.com/%C2%BFWhy-I-can%27t-modify-a-Table-in-TextEdit-Example--tp25040495p25057993.html Sent from the gambas-user mailing list archive at Nabble.com. From steven at ...2097... Thu Aug 20 10:33:41 2009 From: steven at ...2097... (Steven James Drinnan) Date: Thu, 20 Aug 2009 16:33:41 +0800 Subject: [Gambas-user] Gambas applications In-Reply-To: <200908181100.29172.gambas@...1...> References: <405252.72460.qm@...2242...> <200907261516.51657.gambas@...1...> <1250570271.18021.5.camel@...2011...> <200908181100.29172.gambas@...1...> Message-ID: <1250757224.10621.3.camel@...2273...> Think you need to add me to the wiki users list Name: Steven James Drinnnan You can decide Steven Drinnan On Tue, 2009-08-18 at 11:00 +0200, Beno?t Minisini wrote: > > Hi Beno?t > > > > Here is an application for you to consider. It is still in alpha right > > now with limited functionality. > > > > Name: Steven James Drinnan / SJDSoft > > Application: SJDSoftMyEduBase 0.1.43 > > Description: A database focused on the needs of schools in Hong Kong. > > Student, Class, Teacher etc. > > Website: http://www.sjdsoft.hk (Main Site) > > http://www.sjdsoft.hk/myedubase/index.htm (direct) > > Licence: GPL > > > > Steven Drinnan > > > > > > Can you create the page yourself? > From eilert-sprachen at ...221... Thu Aug 20 10:39:38 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Aug 2009 10:39:38 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> Message-ID: <4A8D0BCA.20802@...221...> Hi Dimitris, It may sound strange, but I simply didn't know that the name sdl refers to a library with the same name... Browsing the source for gb.sdl and gb.sdl.sound, I found SDL and read the documentation they provide on their site. Do you know if it is possible to slightly change playback speed during playback (by only one or a few percent)? If not, for my project I would have to use this function that sets playback to a certain position (which would result in a slight sound-skip, stuttering). Anyway, it would have to be done during playback. Regards Rolf Dimitris Anogiatis schrieb: > Rolf, > > It should have been this case yes. > > If you use ubuntu or Debian perhaps try to re-create your application's > executable, re-produce > your deb packages and logically the dependency should be included in the > final product... > check out the resulting deb file with gdebi at first (it will tell you in > red if you're trying to > install a package with a missing dependency) or KPackage if you want a > complete list of the > files associated with the package you're trying to install. > > if that doesn't work an email to the package maintainers of either ubuntu or > debian will prolly get > you a bit further than this. Or perhaps Benoit could help you with this one > as well... but logically > it should work > > Hope it helps. > > Regards > Dimitris > > On Mon, Aug 17, 2009 at 9:44 AM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> Rob schrieb: >>> On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: >>>> I'm sure there is an example project that handles playing wav files... >>> I'm pretty sure I or someone else posted a simple WAV player example to >> the >>> list shortly after the gb.sdl component was released (I know I wrote one >>> but someone might have beaten me to it.) No idea about recording >>> though.... >>> >>> Rob >>> >> >> Looking this up, I found that on my laptop I do not have gb.sdl.sound >> either. So my first question would be, what do I have to provide to get >> it included? I mean, it's one of the components that have to be compiled >> and included, isn't it? >> >> Rolf >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Aug 20 11:33:52 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 20 Aug 2009 11:33:52 +0200 Subject: [Gambas-user] =?utf-8?q?=C2=BFWhy_I_can=27t_modify_a_Table_in_Tex?= =?utf-8?q?tEdit_Example=3F?= In-Reply-To: <25057993.post@...1379...> References: <25040495.post@...1379...> <25057993.post@...1379...> Message-ID: <200908201133.52954.gambas@...1...> > shordi wrote: > > I'm making tries with the TextEdit example of Gambas2. (I need a simple > > web editor integrated with mi proyect). And I have tried this: > > > > Make a new toolbutton with this code > > > > DIM tabla AS String > > tabla = "
hola mundo > > como estas
yo muy > > biengracias
" > > TextEdit1.text &= tabla > > TextEdit1.Refresh > > > > The table appears on screen integrated in the example text... but I can't > > modify in Main form the content of the table. > > Why? > > Confused... > > Nobody knows? I need some clues, please... Maybe a limitation of the underlying Qt control? TextEdit was never intended to be a Wysisyg HTLM editor anyway... Regards, -- Beno?t From gambas at ...1... Thu Aug 20 11:34:46 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 20 Aug 2009 11:34:46 +0200 Subject: [Gambas-user] Gambas applications In-Reply-To: <1250757224.10621.3.camel@...2273...> References: <405252.72460.qm@...2242...> <200908181100.29172.gambas@...1...> <1250757224.10621.3.camel@...2273...> Message-ID: <200908201134.46669.gambas@...1...> > Think you need to add me to the wiki users list > > Name: Steven James Drinnnan > > You can decide > Steven Drinnan > You don't want to choose your password? -- Beno?t From dosida at ...626... Thu Aug 20 13:08:45 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 20 Aug 2009 05:08:45 -0600 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D0BCA.20802@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> Message-ID: <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> Hey Rolf, It doesn't sound strange. I'm learning Gambas as I go along too :) >From what I can gather from Gambasdoc (which is my usual reference point) you can only get position control in the music object. The only thing you can get in the channel object is just a Play method. Unfortunately in the current state of the gb.sdl.sound library there's no way to change the playback speed at all. I would assume the rationale behind such a simplistic object is most likely that the Channels would only be used as means to implement special effects. or sound notifications (which usually don't last more than a couple [and in some cases a few] seconds). And the Music Object is just a basic way of playing an MP3. The whole library needs a bit more work before you can do more complex things such as on-the-fly speed changes and (hopefully) support for more audio formats. In the Music Object there are 2 static properties, Pos & Volume. Now... if your project involves taking an MP3 song/music track and playing it concurrently with other tracks... what I would do given the current state of the objects in the gb.sdl.sound library... would be to create one music object for every track and keep track of a global timeline so I could play those songs whenever I set them in the timeline and it would prolly look something like this |---------------------------------------------------------------------------------------------------------------| <- Timeline |---------------| <- First Track |-------------------------| <- Second Track |-------------------------| <- Third Track I can see 2-3 major obstacles if you follow this approach. 1) Performance. Depending on how heavy the Music Object is, you would need to trial an error to see how far you can go creating objects like that. 2) Layout Representation. Are you going to look for a graphical way to represent your timeline and your tracks? Or are you using Listboxes / listviews / Gridviews? 3) Recording. As the gb.sdl.sound doesn't offer any recording capabilities (yet) what's your next option? Personally for my internet radio project I'm using xmms2 as my playback option but I would love to use native gambas libraries for that; there's not much I can do but wait till the gb.sdl.sound library gets in par with what SDL can do :) I don't have lots of info regarding the approach you take in your project or what the goal is so I hope all this brainstorming helps (and I hope I didn't confuse you more) Regards Dimitris On Thu, Aug 20, 2009 at 2:39 AM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Hi Dimitris, > > It may sound strange, but I simply didn't know that the name sdl refers > to a library with the same name... Browsing the source for gb.sdl and > gb.sdl.sound, I found SDL and read the documentation they provide on > their site. > > Do you know if it is possible to slightly change playback speed during > playback (by only one or a few percent)? If not, for my project I would > have to use this function that sets playback to a certain position > (which would result in a slight sound-skip, stuttering). Anyway, it > would have to be done during playback. > > Regards > > Rolf > > > Dimitris Anogiatis schrieb: > > Rolf, > > > > It should have been this case yes. > > > > If you use ubuntu or Debian perhaps try to re-create your application's > > executable, re-produce > > your deb packages and logically the dependency should be included in the > > final product... > > check out the resulting deb file with gdebi at first (it will tell you in > > red if you're trying to > > install a package with a missing dependency) or KPackage if you want a > > complete list of the > > files associated with the package you're trying to install. > > > > if that doesn't work an email to the package maintainers of either ubuntu > or > > debian will prolly get > > you a bit further than this. Or perhaps Benoit could help you with this > one > > as well... but logically > > it should work > > > > Hope it helps. > > > > Regards > > Dimitris > > > > On Mon, Aug 17, 2009 at 9:44 AM, Rolf-Werner Eilert < > > eilert-sprachen at ...221...> wrote: > > > >> Rob schrieb: > >>> On Friday 14 August 2009 08:15 am, Joshua Higgins wrote: > >>>> I'm sure there is an example project that handles playing wav files... > >>> I'm pretty sure I or someone else posted a simple WAV player example to > >> the > >>> list shortly after the gb.sdl component was released (I know I wrote > one > >>> but someone might have beaten me to it.) No idea about recording > >>> though.... > >>> > >>> Rob > >>> > >> > >> Looking this up, I found that on my laptop I do not have gb.sdl.sound > >> either. So my first question would be, what do I have to provide to get > >> it included? I mean, it's one of the components that have to be compiled > >> and included, isn't it? > >> > >> Rolf > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - and > focus > >> on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Aug 20 13:10:31 2009 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Thu, 20 Aug 2009 13:10:31 +0200 Subject: [Gambas-user] =?iso-8859-1?q?=BFWhy_I_can=27t_modify_a_Table_in_T?= =?iso-8859-1?q?extEdit_Example=3F?= In-Reply-To: <200908201133.52954.gambas@...1...> References: <25040495.post@...1379...> <25057993.post@...1379...> <200908201133.52954.gambas@...1...> Message-ID: I think so too. Rich Text is not html text.. Its a Pity. I've use html with a template system of my own to output prints of database. I have to call /usr/bin/ooweb (or any other html editor) to edit that html, and all seems be ok, but ooweb changes the code that it don't understand -the template-, and is very confuse for my clients who don't know html language. I need a basic html wisiwig editor who respect (or ignore) all code I put in the text. TextEdit example is near of that, but not enough (I need html tables). This is a image of the screen. The html code don't means nothing at all to my users. They can use "Editar Plantilla con Editor Externo" to call a editor, but after edit code, they must rewite the templates (<--LOOP--> OR {databasefield}) in it's proper place. ?Some idea of what control (or external editor) can I use to embed or call from my application? Excuse me English. Hop not have been too much confuse. Regards 2009/8/20 Beno?t Minisini > > shordi wrote: > > > I'm making tries with the TextEdit example of Gambas2. (I need a simple > > > web editor integrated with mi proyect). And I have tried this: > > > > > > Make a new toolbutton with this code > > > > > > DIM tabla AS String > > > tabla = "
hola mundo > > > como estas
yo muy > > > biengracias
" > > > TextEdit1.text &= tabla > > > TextEdit1.Refresh > > > > > > The table appears on screen integrated in the example text... but I > can't > > > modify in Main form the content of the table. > > > Why? > > > Confused... > > > > Nobody knows? I need some clues, please... > > Maybe a limitation of the underlying Qt control? TextEdit was never > intended > to be a Wysisyg HTLM editor anyway... > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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: Pantallazo.png Type: image/png Size: 70108 bytes Desc: not available URL: From dosida at ...626... Thu Aug 20 13:44:38 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 20 Aug 2009 05:44:38 -0600 Subject: [Gambas-user] =?iso-8859-1?q?=BFWhy_I_can=27t_modify_a_Table_in_T?= =?iso-8859-1?q?extEdit_Example=3F?= In-Reply-To: References: <25040495.post@...1379...> <25057993.post@...1379...> <200908201133.52954.gambas@...1...> Message-ID: <82bffccf0908200444q5e969c7cj19c56218e28de13d@...627...> hey shordi, The only thing closer to a wysiwyg editor would prolly be to use the WebBrowser control. What that means is that you have to limit yourself to the Qt framework and your dependencies are way more... if that's no concern you can try the FCKEditor; put the editor into your gambas project and point the webbrowser to the index file. After you're done all you need to do is get the code from the editor and get back the one you edited already. Check the live demo @ http://www.fckeditor.net/demo Don't forget to enable Javascript in the Webbrowser control you get the webbrower control by pressing Ctrl + P then select Components and click on the gb.qt, gb.qt.kde and gb.qt.kde.html Point the path to the index file of the FCKEditor and that should be it. I hope this helps Regards Dimitris On Thu, Aug 20, 2009 at 5:10 AM, Jorge Carri?n wrote: > I think so too. Rich Text is not html text.. > Its a Pity. I've use html with a template system of my own to output prints > of database. I have to call /usr/bin/ooweb (or any other html editor) to > edit that html, and all seems be ok, but ooweb changes the code that it > don't understand -the template-, and is very confuse for my clients who > don't know html language. > I need a basic html wisiwig editor who respect (or ignore) all code I put > in > the text. TextEdit example is near of that, but not enough (I need html > tables). > This is a image of the screen. The html code don't means nothing at all to > my users. They can use "Editar Plantilla con Editor Externo" to call a > editor, but after edit code, they must rewite the templates (<--LOOP--> OR > {databasefield}) in it's proper place. > > ?Some idea of what control (or external editor) can I use to embed or call > from my application? > > Excuse me English. Hop not have been too much confuse. > > Regards > > 2009/8/20 Beno?t Minisini > > > > shordi wrote: > > > > I'm making tries with the TextEdit example of Gambas2. (I need a > simple > > > > web editor integrated with mi proyect). And I have tried this: > > > > > > > > Make a new toolbutton with this code > > > > > > > > DIM tabla AS String > > > > tabla = "
hola > mundo > > > > como estas
yo muy > > > > biengracias
" > > > > TextEdit1.text &= tabla > > > > TextEdit1.Refresh > > > > > > > > The table appears on screen integrated in the example text... but I > > can't > > > > modify in Main form the content of the table. > > > > Why? > > > > Confused... > > > > > > Nobody knows? I need some clues, please... > > > > Maybe a limitation of the underlying Qt control? TextEdit was never > > intended > > to be a Wysisyg HTLM editor anyway... > > > > Regards, > > > > -- > > Beno?t > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From shordi at ...626... Thu Aug 20 15:09:45 2009 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Thu, 20 Aug 2009 15:09:45 +0200 Subject: [Gambas-user] =?iso-8859-1?q?=BFWhy_I_can=27t_modify_a_Table_in_T?= =?iso-8859-1?q?extEdit_Example=3F?= In-Reply-To: <82bffccf0908200444q5e969c7cj19c56218e28de13d@...627...> References: <25040495.post@...1379...> <25057993.post@...1379...> <200908201133.52954.gambas@...1...> <82bffccf0908200444q5e969c7cj19c56218e28de13d@...627...> Message-ID: Mmm It sounds fine. I'll try it. Thanks a lot Dimitris. Regards 2009/8/20 Dimitris Anogiatis > hey shordi, > > The only thing closer to a wysiwyg editor would prolly be to use the > WebBrowser > control. What that means is that you have to limit yourself to the Qt > framework > and your dependencies are way more... if that's no concern you can try > the FCKEditor; put the editor into your gambas project and point the > webbrowser > to the index file. After you're done all you need to do is get the code > from > the > editor and get back the one you edited already. > > Check the live demo @ http://www.fckeditor.net/demo > > Don't forget to enable Javascript in the Webbrowser control > > you get the webbrower control by pressing Ctrl + P then select > Components and click on the gb.qt, gb.qt.kde and gb.qt.kde.html > > Point the path to the index file of the FCKEditor and that should be > it. > > I hope this helps > > Regards > Dimitris > > On Thu, Aug 20, 2009 at 5:10 AM, Jorge Carri?n wrote: > > > I think so too. Rich Text is not html text.. > > Its a Pity. I've use html with a template system of my own to output > prints > > of database. I have to call /usr/bin/ooweb (or any other html editor) to > > edit that html, and all seems be ok, but ooweb changes the code that it > > don't understand -the template-, and is very confuse for my clients who > > don't know html language. > > I need a basic html wisiwig editor who respect (or ignore) all code I put > > in > > the text. TextEdit example is near of that, but not enough (I need html > > tables). > > This is a image of the screen. The html code don't means nothing at all > to > > my users. They can use "Editar Plantilla con Editor Externo" to call a > > editor, but after edit code, they must rewite the templates (<--LOOP--> > OR > > {databasefield}) in it's proper place. > > > > ?Some idea of what control (or external editor) can I use to embed or > call > > from my application? > > > > Excuse me English. Hop not have been too much confuse. > > > > Regards > > > > 2009/8/20 Beno?t Minisini > > > > > > shordi wrote: > > > > > I'm making tries with the TextEdit example of Gambas2. (I need a > > simple > > > > > web editor integrated with mi proyect). And I have tried this: > > > > > > > > > > Make a new toolbutton with this code > > > > > > > > > > DIM tabla AS String > > > > > tabla = "
hola > > mundo > > > > > como estas
yo > muy > > > > > biengracias
" > > > > > TextEdit1.text &= tabla > > > > > TextEdit1.Refresh > > > > > > > > > > The table appears on screen integrated in the example text... but I > > > can't > > > > > modify in Main form the content of the table. > > > > > Why? > > > > > Confused... > > > > > > > > Nobody knows? I need some clues, please... > > > > > > Maybe a limitation of the underlying Qt control? TextEdit was never > > > intended > > > to be a Wysisyg HTLM editor anyway... > > > > > > Regards, > > > > > > -- > > > Beno?t > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day > > > trial. Simplify your report design, integration and deployment - and > > focus > > > on > > > what you do best, core application coding. Discover what's new with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Thu Aug 20 16:13:45 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Aug 2009 16:13:45 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> Message-ID: <4A8D5A19.9030605@...221...> Very interesting ideas, Dimitris, > you can only get position control in the music object. The only thing you For the beginning, this might be ok. If it is possible to set the position during playback. > current > state of the gb.sdl.sound library there's no way to change the playback > speed > at all. As far as I could see from the docs on the SDL homepage, it isn't even provided for the original one. Doesn't make sense for the guys anyway... > <- Timeline > |---------------| <- First Track > |-------------------------| <- Second Track > |-------------------------| <- Third Track > I think it's time I explain what I really intended to do: I want to synchronise sound with an external signal (from a film projector). But it would be only 1 track with everything on it (readily mixed in some program prior to projection). > > 2) Layout Representation. Are you going to look for a graphical way to > represent your timeline > and your tracks? Or are you using Listboxes / listviews / Gridviews? At this time, as far as my own needs are concerned, it would be ok if it had a "set to zero position" button and "start". The tricky thing would be following the signals from the projector and keeping the soundtrack synchronised to them. If there was a playback speed option, it would make things somewhat easier. Without it, you will have to correct the position from time to time, resulting in little "jumps" or "stutter" of the sound. Many years ago, in the time of i386 machines, I programmed a similar thing under DOS with PowerBasic, but as far as I remember, I never found an easy way of reading the impulses, and of course I missed an app for mixing the soundtrack as it exists today. But playing a soundtrack at varying speeds wasn't that difficult, even varying by only a few percent. Maybe this is the solution: Preparing the soundtrack with all the elegant apps of the early 21st century, and then playback it with a simple machine that doesn't know problems caused by any OS but has direct access to the soundcard :-) Regards Rolf From joshiggins at ...1601... Thu Aug 20 16:44:26 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Thu, 20 Aug 2009 15:44:26 +0100 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D5A19.9030605@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> Message-ID: <4247f5440908200744p41bd72acvf91711f7ba596846@...627...> > > Maybe this is the solution: Preparing the soundtrack with all the > elegant apps of the early 21st century, and then playback it with a > simple machine that doesn't know problems caused by any OS but has > direct access to the soundcard :-) Wheres the fun in that? :) -- joshua higgins >>>>>>------ From ron at ...1740... Thu Aug 20 17:11:48 2009 From: ron at ...1740... (Ron) Date: Thu, 20 Aug 2009 17:11:48 +0200 Subject: [Gambas-user] Databrowser/Gridview events? Message-ID: <4A8D67B4.1020309@...1740...> Is it possible to catch events from a DataBrowser object? Lets say PUBLIC SUB DataBrowser1_MouseUp() ... END PUBLIC SUB DataBrowser1_DblClick() ... END The docs say those are valid but I cannot get it to work, they dont seem to get called, anyone use these? Gambas 2.15.2, qt. Regards, Ron_2nd. From 12ukwn at ...626... Thu Aug 20 17:18:07 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 20 Aug 2009 17:18:07 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D5A19.9030605@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> Message-ID: <4A8D692F.5030900@...626...> Rolf-Werner Eilert a ?crit : ... > At this time, as far as my own needs are concerned, it would be ok if it > had a "set to zero position" button and "start". The tricky thing would > be following the signals from the projector and keeping the soundtrack > synchronised to them. If there was a playback speed option, it would > make things somewhat easier. Without it, you will have to correct the > position from time to time, resulting in little "jumps" or "stutter" of > the sound. This is quite a nonsense unless you have another track that indicates where is the next possible jump (usually @ the beginning of a music measure) - in case it is music, for speech there's no solution. > Many years ago, in the time of i386 machines, I programmed a similar > thing under DOS with PowerBasic, but as far as I remember, I never found > an easy way of reading the impulses, and of course I missed an app for Use the parallel port, or on some machines (if it already exists) the swi switch/connector. > mixing the soundtrack as it exists today. But playing a soundtrack at > varying speeds wasn't that difficult, even varying by only a few percent. You can't do that unless you're varying *very* slowly, otherwise the result will be terribly audible. What you could do is testing the shifting (and it timing) you can apply on a particular music (the earing difference also depends on frequencies you have in music) and determine a windows of opportunity in which you can go to next dia (before or after the normal point). You can also prepare a lot of music (same drum beat) and mix them in ~0.7s to avoid speed drifting. Anyway you'll go into this way will be a PITA because you take the problem upside down. -- If dolphins are so smart, why did Flipper work for television? From 12ukwn at ...626... Thu Aug 20 17:20:19 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 20 Aug 2009 17:20:19 +0200 Subject: [Gambas-user] Databrowser/Gridview events? In-Reply-To: <4A8D67B4.1020309@...1740...> References: <4A8D67B4.1020309@...1740...> Message-ID: <4A8D69B3.6070700@...626...> Ron a ?crit : > Is it possible to catch events from a DataBrowser object? > > Lets say > PUBLIC SUB DataBrowser1_MouseUp() > ... > END > PUBLIC SUB DataBrowser1_DblClick() > ... > END > > The docs say those are valid but I cannot get it to work, they dont seem > to get called, anyone use these? > > Gambas 2.15.2, qt. Wild guess: they're preempted by the sorting command it applies to a column when you click on its header. JY -- You are here: *** *** ********* ******* ***** *** * But you're not all there. From eilert-sprachen at ...221... Thu Aug 20 18:07:51 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Aug 2009 18:07:51 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D692F.5030900@...626...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> <4A8D692F.5030900@...626...> Message-ID: <4A8D74D7.2070909@...221...> Hi Jean-Yves, you're right: > ... >> At this time, as far as my own needs are concerned, it would be ok if it >> had a "set to zero position" button and "start". The tricky thing would >> be following the signals from the projector and keeping the soundtrack >> synchronised to them. If there was a playback speed option, it would >> make things somewhat easier. Without it, you will have to correct the >> position from time to time, resulting in little "jumps" or "stutter" of >> the sound. > > This is quite a nonsense unless you have another track that indicates where > is the next possible jump (usually @ the beginning of a music measure) - in > case it is music, for speech there's no solution. It's ugly. But I think, most projectors run so evenly that in 99 % of the cases the sound will play synchronously anyway. Maybe a very slight correction after 10 or 15 minutes would be necessary. However, there's one thing I've discussed with other folks in a film forum. They proposed to take the film with a video camera first and then make a soundtrack for it within one of the usual video cutting programs. This way you would have it basically synchronous. The trick would then be to have this resulting soundtrack run synchronously with the projector when the film is shown "in real". Just imagine, you have every frame on the video and the soundtrack fitting to it, but the projector might not have the correct speed but could vary in speed by a few frames. The art in it would be analysing on the fly how much THIS very machine differs from the speed of the soundtrack and adapting its playback speed so it plays synchronously after a while. And as you put it, it must be so smoothly that the audience will nearly not hear it. > >> Many years ago, in the time of i386 machines, I programmed a similar >> thing under DOS with PowerBasic, but as far as I remember, I never found >> an easy way of reading the impulses, and of course I missed an app for > > Use the parallel port, or on some machines (if it already exists) the swi > switch/connector. Good idea :-) But which switch/connector do you mean? Rolf From 12ukwn at ...626... Thu Aug 20 18:56:37 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Thu, 20 Aug 2009 18:56:37 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D74D7.2070909@...221...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> <4A8D692F.5030900@...626...> <4A8D74D7.2070909@...221...> Message-ID: <4A8D8045.40800@...626...> Rolf-Werner Eilert a ?crit : > Hi Jean-Yves, > > you're right: > >> ... >>> At this time, as far as my own needs are concerned, it would be ok if it >>> had a "set to zero position" button and "start". The tricky thing would >>> be following the signals from the projector and keeping the soundtrack >>> synchronised to them. If there was a playback speed option, it would >>> make things somewhat easier. Without it, you will have to correct the >>> position from time to time, resulting in little "jumps" or "stutter" of >>> the sound. >> This is quite a nonsense unless you have another track that indicates where >> is the next possible jump (usually @ the beginning of a music measure) - in >> case it is music, for speech there's no solution. > > It's ugly. But I think, most projectors run so evenly that in 99 % of > the cases the sound will play synchronously anyway. Maybe a very slight > correction after 10 or 15 minutes would be necessary. Not at all: as the bip that launch next dia is ON the sound track, there can't be any drift. > However, there's one thing I've discussed with other folks in a film > forum. They proposed to take the film with a video camera first and then > make a soundtrack for it within one of the usual video cutting programs. > This way you would have it basically synchronous. YES: THIS is THE idea :) this way you just have to determine the window in which you're allowed to go further, knowing that at the end of this window, if you haven't pressed 'next' it will be automatically done. > The trick would then be to have this resulting soundtrack run > synchronously with the projector when the film is shown "in real". Just > imagine, you have every frame on the video and the soundtrack fitting to > it, but the projector might not have the correct speed but could vary in > speed by a few frames. The art in it would be analysing on the fly how > much THIS very machine differs from the speed of the soundtrack and > adapting its playback speed so it plays synchronously after a while. The regular way to do it is to have the projector correctly adjusted to its nominal speed(s) by regularly sending it to a specialist. However, it is very easy to get a square signal from the projector, integrate it, and make an sound lock loop (through a PLL, exactly alike radio frequency generators), the only parameter added is: what is my non-audible timing speed I can use to vary sound, so people won't ear the drift catch; this has a specific name in PLL but I didn't touch it for years, so I don't remember it. > And as you put it, it must be so smoothly that the audience will nearly > not hear it. Yes: earing is one of the most precise "tool" when you speak about frequency accuracy (obviously :D), so the drifting shall be so slow that id don't ring a bell, saying: "hey, you inside - the moron making the conference is tricking ya about sound speed!" It is easy to realize that if you use 2 turntables with drift possibility: sometimes, in order to make a good transition between two musics with different beats, you'll be obliged to: raise/reduce next speed || raise/reduce current speed || take inverted actions on both depending on the time you'll take to do so, it can be non-noticeable, disagreable, or terrible. >>> Many years ago, in the time of i386 machines, I programmed a similar >>> thing under DOS with PowerBasic, but as far as I remember, I never found >>> an easy way of reading the impulses, and of course I missed an app for >> Use the parallel port, or on some machines (if it already exists) the swi >> switch/connector. > > Good idea :-) But which switch/connector do you mean? I don't know it it already exists but there was such a connector (at least; sometimes a physical switch) that raises an SWI (SoftWare Interrupt), this way you just have to have a small launcher @ SWI address to interract [well, that's not so easy, because usually SWI also need an 8 bits address present on the bus @ SWI trigger time]. You have to make research because this info comes from quite a bit of time ago. The other way is to build a special addon card with an embedded DSP, which will be able to solve all @ once (but at a cost that is non-trivial.) JY -- Beware of low-flying butterflies. From doriano.blengino at ...1909... Thu Aug 20 20:47:28 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 20 Aug 2009 20:47:28 +0200 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D8045.40800@...626...> References: <4A8541B0.5090908@...221...> <4247f5440908140515x3cd526c0h466f68c8ba9d771@...627...> <200908141044.00764.sourceforge-raindog2@...94...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> <4A8D692F.5030900@...626...> <4A8D74D7.2070909@...221...> <4A8D8045.40800@...626...> Message-ID: <4A8D9A40.6090106@...1909...> Jean-Yves F. Barbier ha scritto: > The regular way to do it is to have the projector correctly adjusted to its > nominal speed(s) by regularly sending it to a specialist. > However, it is very easy to get a square signal from the projector, integrate > it, and make an sound lock loop (through a PLL, exactly alike radio frequency > generators), the only parameter added is: what is my non-audible timing speed > I can use to vary sound, so people won't ear the drift catch; this has a specific > name in PLL but I didn't touch it for years, so I don't remember it. > At which frequency this square wave runs? The PLL seems too much for this... (see later) >>>> Many years ago, in the time of i386 machines, I programmed a similar >>>> thing under DOS with PowerBasic, but as far as I remember, I never found >>>> an easy way of reading the impulses, and of course I missed an app for >>>> >>> Use the parallel port, or on some machines (if it already exists) the swi >>> switch/connector. >>> >> Good idea :-) But which switch/connector do you mean? >> > > I don't know it it already exists but there was such a connector (at least; sometimes > a physical switch) that raises an SWI (SoftWare Interrupt), this way you just have to > have a small launcher @ SWI address to interract [well, that's not so easy, because > usually SWI also need an 8 bits address present on the bus @ SWI trigger time]. > You have to make research because this info comes from quite a bit of time ago. > > The other way is to build a special addon card with an embedded DSP, which will be > able to solve all @ once (but at a cost that is non-trivial.) > > JY > The ISA bus was very easy to operate, and there was also a pin which raised INT3 (debug interrupt); anyway, it was easy to grab any other interrupt. The PCI bus is very complicated instead. But... could'nt it work to use some USB adapter, perhaps a USB-to-parallel (5V interface, it has an ACK interrupt) or an USB-to-serial (it has interrupt too, for modem line change). Last resort, he he he..., use a USB mouse for the normal work, and a fake mouse in the PS/2 port (several switches: left button, right, middle and others, wheel). This last solution is not fast enough, perhaps - the system talks to the mouse with a serial interface. But probably, with added hardware (a small CPU), this last way is still more simple than going with the PCI bus. At least, there is no need to open the case... the CPU can count pulses very quickly (in real real-time), and pass to the computer some data more easy to manage. Thinking over, surely there are around USB adapters for general IO. Surely you can find PCI cards. May be, though, that those equipment does not have drivers for linux. I imagine: OCX for visual basic, DLL for visual C, and this should be enough for the world... Regards, Doriano From dosida at ...626... Fri Aug 21 00:39:46 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 20 Aug 2009 16:39:46 -0600 Subject: [Gambas-user] Managing soundtracks, WAVs In-Reply-To: <4A8D9A40.6090106@...1909...> References: <4A8541B0.5090908@...221...> <4A897AEC.7000705@...221...> <82bffccf0908170921n57e61e2dg73d78adac95f2038@...627...> <4A8D0BCA.20802@...221...> <82bffccf0908200408l2765da32h90007ad4958b299f@...627...> <4A8D5A19.9030605@...221...> <4A8D692F.5030900@...626...> <4A8D74D7.2070909@...221...> <4A8D8045.40800@...626...> <4A8D9A40.6090106@...1909...> Message-ID: <82bffccf0908201539t2acf01b7q4502aa26ac6f5b0d@...627...> Hey Rolf, Ok correct me if I'm reading this wrong but... when talking about a projector what are we talking about? is it an 8mm or super-8 reel projector? OR is it a modern projector that has inputs for video and audio? cause in case of the modern projector... then what you can use (in case video from an avi file is desynchronised) is mplayer. mplayer has a built in option to synchronise the video and audio (I think you press [ and ] not entirely sure but I also think you can set this in command-line options) So until the gb.sdl.sound and gb.sdl get a bit more developed with a few more features on their interfaces you could use this workaround if we're talking about Reel Projectors there has to be some kind of marking or way to find keyframes so your sound can be synchronised with the video... unfortunately I can't think of anything else in the reel projector case. I hope this helps Regards Dimitris On Thu, Aug 20, 2009 at 12:47 PM, Doriano Blengino < doriano.blengino at ...1909...> wrote: > Jean-Yves F. Barbier ha scritto: > > The regular way to do it is to have the projector correctly adjusted to > its > > nominal speed(s) by regularly sending it to a specialist. > > However, it is very easy to get a square signal from the projector, > integrate > > it, and make an sound lock loop (through a PLL, exactly alike radio > frequency > > generators), the only parameter added is: what is my non-audible timing > speed > > I can use to vary sound, so people won't ear the drift catch; this has a > specific > > name in PLL but I didn't touch it for years, so I don't remember it. > > > At which frequency this square wave runs? The PLL seems too much for > this... (see later) > >>>> Many years ago, in the time of i386 machines, I programmed a similar > >>>> thing under DOS with PowerBasic, but as far as I remember, I never > found > >>>> an easy way of reading the impulses, and of course I missed an app for > >>>> > >>> Use the parallel port, or on some machines (if it already exists) the > swi > >>> switch/connector. > >>> > >> Good idea :-) But which switch/connector do you mean? > >> > > > > I don't know it it already exists but there was such a connector (at > least; sometimes > > a physical switch) that raises an SWI (SoftWare Interrupt), this way you > just have to > > have a small launcher @ SWI address to interract [well, that's not so > easy, because > > usually SWI also need an 8 bits address present on the bus @ SWI trigger > time]. > > You have to make research because this info comes from quite a bit of > time ago. > > > > The other way is to build a special addon card with an embedded DSP, > which will be > > able to solve all @ once (but at a cost that is non-trivial.) > > > > JY > > > The ISA bus was very easy to operate, and there was also a pin which > raised INT3 (debug interrupt); anyway, it was easy to grab any other > interrupt. The PCI bus is very complicated instead. But... could'nt it > work to use some USB adapter, perhaps a USB-to-parallel (5V interface, > it has an ACK interrupt) or an USB-to-serial (it has interrupt too, for > modem line change). Last resort, he he he..., use a USB mouse for the > normal work, and a fake mouse in the PS/2 port (several switches: left > button, right, middle and others, wheel). This last solution is not fast > enough, perhaps - the system talks to the mouse with a serial interface. > But probably, with added hardware (a small CPU), this last way is still > more simple than going with the PCI bus. At least, there is no need to > open the case... the CPU can count pulses very quickly (in real > real-time), and pass to the computer some data more easy to manage. > > Thinking over, surely there are around USB adapters for general IO. > Surely you can find PCI cards. May be, though, that those equipment does > not have drivers for linux. I imagine: OCX for visual basic, DLL for > visual C, and this should be enough for the world... > > Regards, > Doriano > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From steven at ...2097... Fri Aug 21 02:13:44 2009 From: steven at ...2097... (Steven James Drinnan) Date: Fri, 21 Aug 2009 08:13:44 +0800 Subject: [Gambas-user] Gambas applications In-Reply-To: <200908201134.46669.gambas@...1...> References: <405252.72460.qm@...2242...> <200908181100.29172.gambas@...1...> <1250757224.10621.3.camel@...2273...> <200908201134.46669.gambas@...1...> Message-ID: <1250813625.2725.1.camel@...2273...> Sorry Pwd: ETq1a2d3 Thanks Steven Drinnan On Thu, 2009-08-20 at 11:34 +0200, Beno?t Minisini wrote: > > Think you need to add me to the wiki users list > > > > Name: Steven James Drinnnan > > > > You can decide > > Steven Drinnan > > > > You don't want to choose your password? > From gambas at ...1... Fri Aug 21 02:33:07 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 21 Aug 2009 02:33:07 +0200 Subject: [Gambas-user] Gambas applications In-Reply-To: <1250813625.2725.1.camel@...2273...> References: <405252.72460.qm@...2242...> <200908201134.46669.gambas@...1...> <1250813625.2725.1.camel@...2273...> Message-ID: <200908210233.07351.gambas@...1...> > Sorry > > > Pwd: ETq1a2d3 > > Thanks > > Steven Drinnan > A mailing-list is usually not a good place to post passwords. :-) Can you choose another one and send it to my own e-mail? -- Beno?t From jussi.lahtinen at ...626... Fri Aug 21 21:15:37 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Aug 2009 22:15:37 +0300 Subject: [Gambas-user] To the wish list... Message-ID: <384d3900908211215t30cf725et169ad481e1430d0@...627...> Hi! Gambas has VERY good set of methods regarding arrays, but something is missing! I'd like to see iMyArray.RemoveDuplicates. Because with large arrays this simple task is pretty CPU intensive! What do you think? Jussi From m0e.lnx at ...626... Fri Aug 21 21:19:27 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 21 Aug 2009 14:19:27 -0500 Subject: [Gambas-user] To the wish list... In-Reply-To: <384d3900908211215t30cf725et169ad481e1430d0@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> Message-ID: <1f1e8c1b0908211219s4a4b30b9iec6723e6a3acad67@...627...> Can you use the array.find() method? maybe loop through the array? From gambas at ...1... Fri Aug 21 21:31:18 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 21 Aug 2009 21:31:18 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <384d3900908211215t30cf725et169ad481e1430d0@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> Message-ID: <200908212131.18686.gambas@...1...> > Hi! > Gambas has VERY good set of methods regarding arrays, but something is > missing! I'd like to see iMyArray.RemoveDuplicates. Because with large > arrays this simple task > is pretty CPU intensive! > What do you think? > > > Jussi > Why do you have duplicates inside your array? -- Beno?t From m0e.lnx at ...626... Fri Aug 21 21:34:42 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 21 Aug 2009 14:34:42 -0500 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908212131.18686.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> Message-ID: <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> What I do also to avoid duplicates is check the array before you add the new entry to it IF MyArray.Find("YourString") = -1 THEN MyArray.Add("YourString") From dosida at ...626... Fri Aug 21 21:43:42 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 21 Aug 2009 13:43:42 -0600 Subject: [Gambas-user] To the wish list... In-Reply-To: <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> Message-ID: <82bffccf0908211243p3f198e10j2cf525f5b9b392cf@...627...> Hey Jussi, If you want to find the duplicate values in an array... give this trick a try 1) turn the array into a string 2) store it in a temp string variable 3) find the first occurence of the value you want 4) put the rest of the string in another temp variable 5) do a replace(tempString, "what you want to replace,", "") 6) concat the 2 temp strings together 7) split the string back into an array If you notice in step 5 I included the coma in the string you want to replace and that's because we don't want any duplicate comas it'll screw up the splitting process at the end It's less cpu intensive than doing a for loop to find the duplicates (At least I think so, correct me if I'm wrong) I've used a similar technique to filter certain items from a string array don't think this technique would work on other kinds of arrays I hope it helps Regards Dimitris On Fri, Aug 21, 2009 at 1:34 PM, M0E Lnx wrote: > What I do also to avoid duplicates is check the array before you add > the new entry to it > > IF MyArray.Find("YourString") = -1 THEN MyArray.Add("YourString") > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Aug 21 21:43:23 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Aug 2009 22:43:23 +0300 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908212131.18686.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> Message-ID: <384d3900908211243n7e03fbfdu8e3271eab31a2950@...627...> Now I use algorithm like this (maybe not optimal); Dim ii As Integer Dim jj As Integer Dim bRemove As Boolean While ii < iMyArray.Count jj = 0 bRemove = False While jj < iMyArray.Count If ii <> jj And iMyArray[ii] = iMyArray[jj] Then iMyArray.Remove(ii) bRemove = True Else Inc jj Endif Wend If bRemove = False Then Inc ii Endif Wend Good point Ben?it. Array is populated from file, but maybe I should use .Find() before .Add(). Jussi 2009/8/21 Beno?t Minisini : >> Hi! >> Gambas has VERY good set of methods regarding arrays, but something is >> missing! I'd like to see iMyArray.RemoveDuplicates. Because with large >> arrays this simple task >> is pretty CPU intensive! >> What do you think? >> >> >> Jussi >> > > Why do you have duplicates inside your array? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Aug 21 21:49:05 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Aug 2009 22:49:05 +0300 Subject: [Gambas-user] To the wish list... In-Reply-To: <82bffccf0908211243p3f198e10j2cf525f5b9b392cf@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> <82bffccf0908211243p3f198e10j2cf525f5b9b392cf@...627...> Message-ID: <384d3900908211249p5e8dd902scf1eefc7ce0a21ab@...627...> Usually string handling is slower than integer, although I haven't test that in Gambas. Jussi On Fri, Aug 21, 2009 at 22:43, Dimitris Anogiatis wrote: > Hey Jussi, > > If you want to find the duplicate values in an array... give this trick a > try > > 1) turn the array into a string > 2) store it in a temp string variable > 3) find the first occurence of the value you want > 4) put the rest of the string in another temp variable > 5) do a replace(tempString, "what you want to replace,", "") > 6) concat the 2 temp strings together > 7) split the string back into an array > > If you notice in step 5 I included the coma in the string you want to > replace > and that's because we don't want any duplicate comas it'll screw up the > splitting process at the end > > It's less cpu intensive than doing a for loop to find the duplicates > (At least I think so, correct me if I'm wrong) > > I've used a similar technique to filter certain items from a string array > don't think this technique would work on other kinds of arrays > > I hope it helps > > Regards > Dimitris > > On Fri, Aug 21, 2009 at 1:34 PM, M0E Lnx wrote: > >> What I do also to avoid duplicates is check the array before you add >> the new entry to it >> >> IF MyArray.Find("YourString") = -1 THEN MyArray.Add("YourString") >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dosida at ...626... Fri Aug 21 21:54:54 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 21 Aug 2009 13:54:54 -0600 Subject: [Gambas-user] To the wish list... In-Reply-To: <384d3900908211249p5e8dd902scf1eefc7ce0a21ab@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> <82bffccf0908211243p3f198e10j2cf525f5b9b392cf@...627...> <384d3900908211249p5e8dd902scf1eefc7ce0a21ab@...627...> Message-ID: <82bffccf0908211254h29cf9d47y7947298a5dfd590c@...627...> hey Jussi, I've tried a similar technique filtering about 5230 filenames and with my old HyperThreaded P4 at ...2274... It works pretty good for me :) as I said give it a try :) Regards Dimitris On Fri, Aug 21, 2009 at 1:49 PM, Jussi Lahtinen wrote: > Usually string handling is slower than integer, although I haven't > test that in Gambas. > > Jussi > > > On Fri, Aug 21, 2009 at 22:43, Dimitris Anogiatis wrote: > > Hey Jussi, > > > > If you want to find the duplicate values in an array... give this trick a > > try > > > > 1) turn the array into a string > > 2) store it in a temp string variable > > 3) find the first occurence of the value you want > > 4) put the rest of the string in another temp variable > > 5) do a replace(tempString, "what you want to replace,", "") > > 6) concat the 2 temp strings together > > 7) split the string back into an array > > > > If you notice in step 5 I included the coma in the string you want to > > replace > > and that's because we don't want any duplicate comas it'll screw up the > > splitting process at the end > > > > It's less cpu intensive than doing a for loop to find the duplicates > > (At least I think so, correct me if I'm wrong) > > > > I've used a similar technique to filter certain items from a string array > > don't think this technique would work on other kinds of arrays > > > > I hope it helps > > > > Regards > > Dimitris > > > > On Fri, Aug 21, 2009 at 1:34 PM, M0E Lnx wrote: > > > >> What I do also to avoid duplicates is check the array before you add > >> the new entry to it > >> > >> IF MyArray.Find("YourString") = -1 THEN MyArray.Add("YourString") > >> > >> > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - and > focus > >> on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dosida at ...626... Fri Aug 21 22:22:33 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 21 Aug 2009 14:22:33 -0600 Subject: [Gambas-user] To the wish list... In-Reply-To: <82bffccf0908211254h29cf9d47y7947298a5dfd590c@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <1f1e8c1b0908211234l5214ef71ja0fe8813c3e2e64@...627...> <82bffccf0908211243p3f198e10j2cf525f5b9b392cf@...627...> <384d3900908211249p5e8dd902scf1eefc7ce0a21ab@...627...> <82bffccf0908211254h29cf9d47y7947298a5dfd590c@...627...> Message-ID: <82bffccf0908211322o6e928500o4aca653ac8c31bb@...627...> hey Jussi, if of course you prefer the integer approach rather than my approach you could try this one. -------------------------------------------------------------------------------------------------- Dim tmpInitial as Integer tmpInitial = iMyArray.Find("my item") iMyArray[tmpInitial] &= "-beginning" While iMyArray.Find("my item")> -1 iMyArray.Remove(iMyArray.Find("my item")) Wend iMyArray[tmpInitial] = left(iMyArray[tmpInitial],-10) -------------------------------------------------------------------------------------------------- I think this approach might speed up things for you since you only go to the duplicate items and remove them one by one instead of going through the whole array. the string approach might also be of use to you try either one and see which one fits very well in your project :) I hope this helps Regards Dimitris On Fri, Aug 21, 2009 at 1:54 PM, Dimitris Anogiatis wrote: > hey Jussi, > > I've tried a similar technique filtering about 5230 filenames and with my > old HyperThreaded P4 at ...2274... > It works pretty good for me :) > > as I said give it a try :) > > Regards > Dimitris > > > On Fri, Aug 21, 2009 at 1:49 PM, Jussi Lahtinen wrote: > >> Usually string handling is slower than integer, although I haven't >> test that in Gambas. >> >> Jussi >> >> >> On Fri, Aug 21, 2009 at 22:43, Dimitris Anogiatis >> wrote: >> > Hey Jussi, >> > >> > If you want to find the duplicate values in an array... give this trick >> a >> > try >> > >> > 1) turn the array into a string >> > 2) store it in a temp string variable >> > 3) find the first occurence of the value you want >> > 4) put the rest of the string in another temp variable >> > 5) do a replace(tempString, "what you want to replace,", "") >> > 6) concat the 2 temp strings together >> > 7) split the string back into an array >> > >> > If you notice in step 5 I included the coma in the string you want to >> > replace >> > and that's because we don't want any duplicate comas it'll screw up the >> > splitting process at the end >> > >> > It's less cpu intensive than doing a for loop to find the duplicates >> > (At least I think so, correct me if I'm wrong) >> > >> > I've used a similar technique to filter certain items from a string >> array >> > don't think this technique would work on other kinds of arrays >> > >> > I hope it helps >> > >> > Regards >> > Dimitris >> > >> > On Fri, Aug 21, 2009 at 1:34 PM, M0E Lnx wrote: >> > >> >> What I do also to avoid duplicates is check the array before you add >> >> the new entry to it >> >> >> >> IF MyArray.Find("YourString") = -1 THEN MyArray.Add("YourString") >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> >> trial. Simplify your report design, integration and deployment - and >> focus >> >> on >> >> what you do best, core application coding. Discover what's new with >> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > >> ------------------------------------------------------------------------------ >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> > trial. Simplify your report design, integration and deployment - and >> focus on >> > what you do best, core application coding. Discover what's new with >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Fri Aug 21 22:22:53 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 21 Aug 2009 22:22:53 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <384d3900908211243n7e03fbfdu8e3271eab31a2950@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <384d3900908211243n7e03fbfdu8e3271eab31a2950@...627...> Message-ID: <200908212222.53688.gambas@...1...> > Now I use algorithm like this (maybe not optimal); > > Dim ii As Integer > Dim jj As Integer > Dim bRemove As Boolean > > While ii < iMyArray.Count > > jj = 0 > bRemove = False > While jj < iMyArray.Count > If ii <> jj And iMyArray[ii] = iMyArray[jj] Then > iMyArray.Remove(ii) > bRemove = True > Else > Inc jj > Endif > Wend > > If bRemove = False Then > Inc ii > Endif > Wend > > > Good point Ben?it. Array is populated from file, but maybe I should use > .Find() before .Add(). > > > Jussi > You should use a collection to detect duplicates, otherwise your algorithm is O(n^2) Regards, -- Beno?t From jussi.lahtinen at ...626... Fri Aug 21 23:37:30 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Aug 2009 00:37:30 +0300 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908212222.53688.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <384d3900908211243n7e03fbfdu8e3271eab31a2950@...627...> <200908212222.53688.gambas@...1...> Message-ID: <384d3900908211437t6aea8665ga60424c1b7d17155@...627...> Meaning like this? Should be faster! Dim col As New Collection For ii = 0 To iMyArray.Max col.Add(iMyArray[ii], iMyArray[ii]) Next iMyArray.Clear() For Each ii In col iMyArray.Add(ii) Next Jussi 2009/8/21 Beno?t Minisini : >> Now I use algorithm like this (maybe not optimal); >> >> Dim ii As Integer >> Dim jj As Integer >> Dim bRemove As Boolean >> >> While ii < iMyArray.Count >> >> ?jj = 0 >> ?bRemove = False >> ?While jj < iMyArray.Count >> ? If ii <> jj And iMyArray[ii] = iMyArray[jj] Then >> ? iMyArray.Remove(ii) >> ? bRemove = True >> ? Else >> ? Inc jj >> ? Endif >> ?Wend >> >> If bRemove = False Then >> Inc ii >> Endif >> Wend >> >> >> Good point Ben?it. Array is populated from file, but maybe I should use >> .Find() before .Add(). >> >> >> Jussi >> > > You should use a collection to detect duplicates, otherwise your algorithm is > O(n^2) > > Regards, > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From doriano.blengino at ...1909... Sat Aug 22 07:53:30 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 22 Aug 2009 07:53:30 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <384d3900908211437t6aea8665ga60424c1b7d17155@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908212131.18686.gambas@...1...> <384d3900908211243n7e03fbfdu8e3271eab31a2950@...627...> <200908212222.53688.gambas@...1...> <384d3900908211437t6aea8665ga60424c1b7d17155@...627...> Message-ID: <4A8F87DA.4050203@...1909...> Jussi Lahtinen ha scritto: > Meaning like this? Should be faster! > > Dim col As New Collection > > For ii = 0 To iMyArray.Max > col.Add(iMyArray[ii], iMyArray[ii]) > Next > > iMyArray.Clear() > > For Each ii In col > iMyArray.Add(ii) > Next > > > Jussi > > > 2009/8/21 Beno?t Minisini : > >>> Now I use algorithm like this (maybe not optimal); >>> >>> Dim ii As Integer >>> Dim jj As Integer >>> Dim bRemove As Boolean >>> >>> While ii < iMyArray.Count >>> >>> jj = 0 >>> bRemove = False >>> While jj < iMyArray.Count >>> If ii <> jj And iMyArray[ii] = iMyArray[jj] Then >>> iMyArray.Remove(ii) >>> bRemove = True >>> Else >>> Inc jj >>> Endif >>> Wend >>> >>> If bRemove = False Then >>> Inc ii >>> Endif >>> Wend >>> >>> >>> Good point Ben?it. Array is populated from file, but maybe I should use >>> .Find() before .Add(). >>> >>> >>> Jussi >>> >>> >> You should use a collection to detect duplicates, otherwise your algorithm is >> O(n^2) >> Another technique could be to keep the array (or collection, don't know) sorted while constructing it. If sorted, a single run can detect all the duplicates, giving O(n). If the logic behind requires the values in the original order, then this information should be kept in a parallel array. Just for fun... Regards, Doriano From gambas at ...1... Sat Aug 22 11:52:08 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 22 Aug 2009 11:52:08 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <4A8F87DA.4050203@...1909...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <384d3900908211437t6aea8665ga60424c1b7d17155@...627...> <4A8F87DA.4050203@...1909...> Message-ID: <200908221152.08216.gambas@...1...> > Jussi Lahtinen ha scritto: > > Meaning like this? Should be faster! > > > > Dim col As New Collection > > > > For ii = 0 To iMyArray.Max > > col.Add(iMyArray[ii], iMyArray[ii]) > > Next > > > > iMyArray.Clear() > > > > For Each ii In col > > iMyArray.Add(ii) > > Next > > > > > > Jussi > > > > 2009/8/21 Beno?t Minisini : > >>> Now I use algorithm like this (maybe not optimal); > >>> > >>> Dim ii As Integer > >>> Dim jj As Integer > >>> Dim bRemove As Boolean > >>> > >>> While ii < iMyArray.Count > >>> > >>> jj = 0 > >>> bRemove = False > >>> While jj < iMyArray.Count > >>> If ii <> jj And iMyArray[ii] = iMyArray[jj] Then > >>> iMyArray.Remove(ii) > >>> bRemove = True > >>> Else > >>> Inc jj > >>> Endif > >>> Wend > >>> > >>> If bRemove = False Then > >>> Inc ii > >>> Endif > >>> Wend > >>> > >>> > >>> Good point Ben?it. Array is populated from file, but maybe I should use > >>> .Find() before .Add(). > >>> > >>> > >>> Jussi > >> > >> You should use a collection to detect duplicates, otherwise your > >> algorithm is O(n^2) > > Another technique could be to keep the array (or collection, don't know) > sorted while constructing it. If sorted, a single run can detect all the > duplicates, giving O(n). If the logic behind requires the values in the > original order, then this information should be kept in a parallel array. > > Just for fun... > > Regards, > Doriano > Yes. I wanted to add two methods: AddSorted() and FindSorted(), that will assume the array is sorted, and so will be fastest. Regards, -- Beno?t From dosida at ...626... Sat Aug 22 12:46:46 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 22 Aug 2009 04:46:46 -0600 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908221152.08216.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <384d3900908211437t6aea8665ga60424c1b7d17155@...627...> <4A8F87DA.4050203@...1909...> <200908221152.08216.gambas@...1...> Message-ID: <82bffccf0908220346r477c183an179129be357e2f36@...627...> Beno?t, Perhaps you could also enhance Find to accept regular expressions (or something similar to what we can use with LIKE) If it already does can you provide some more documentation about it in Gambasdoc? Regards Dimitris 2009/8/22 Beno?t Minisini > > Jussi Lahtinen ha scritto: > > > Meaning like this? Should be faster! > > > > > > Dim col As New Collection > > > > > > For ii = 0 To iMyArray.Max > > > col.Add(iMyArray[ii], iMyArray[ii]) > > > Next > > > > > > iMyArray.Clear() > > > > > > For Each ii In col > > > iMyArray.Add(ii) > > > Next > > > > > > > > > Jussi > > > > > > 2009/8/21 Beno?t Minisini : > > >>> Now I use algorithm like this (maybe not optimal); > > >>> > > >>> Dim ii As Integer > > >>> Dim jj As Integer > > >>> Dim bRemove As Boolean > > >>> > > >>> While ii < iMyArray.Count > > >>> > > >>> jj = 0 > > >>> bRemove = False > > >>> While jj < iMyArray.Count > > >>> If ii <> jj And iMyArray[ii] = iMyArray[jj] Then > > >>> iMyArray.Remove(ii) > > >>> bRemove = True > > >>> Else > > >>> Inc jj > > >>> Endif > > >>> Wend > > >>> > > >>> If bRemove = False Then > > >>> Inc ii > > >>> Endif > > >>> Wend > > >>> > > >>> > > >>> Good point Ben?it. Array is populated from file, but maybe I should > use > > >>> .Find() before .Add(). > > >>> > > >>> > > >>> Jussi > > >> > > >> You should use a collection to detect duplicates, otherwise your > > >> algorithm is O(n^2) > > > > Another technique could be to keep the array (or collection, don't know) > > sorted while constructing it. If sorted, a single run can detect all the > > duplicates, giving O(n). If the logic behind requires the values in the > > original order, then this information should be kept in a parallel array. > > > > Just for fun... > > > > Regards, > > Doriano > > > > Yes. I wanted to add two methods: AddSorted() and FindSorted(), that will > assume the array is sorted, and so will be fastest. > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 22 13:24:56 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 22 Aug 2009 13:24:56 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <82bffccf0908220346r477c183an179129be357e2f36@...627...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908221152.08216.gambas@...1...> <82bffccf0908220346r477c183an179129be357e2f36@...627...> Message-ID: <200908221324.56907.gambas@...1...> > Beno?t, > > Perhaps you could also enhance Find to accept regular expressions (or > something similar to what we can use with LIKE) > > If it already does can you provide some more documentation about it in > Gambasdoc? > > > Regards > Dimitris > I'm not sure I will do that. But I'm not sure I won't. -- Beno?t From jussi.lahtinen at ...626... Sat Aug 22 13:40:52 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Aug 2009 14:40:52 +0300 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908221324.56907.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <200908221152.08216.gambas@...1...> <82bffccf0908220346r477c183an179129be357e2f36@...627...> <200908221324.56907.gambas@...1...> Message-ID: <384d3900908220440j657fd9dfg63c91fa0cce6f5e3@...627...> I think AddSorted() and FindSorted() are very useful (in other parts of my code). Quickly looking in to my code, I find 8 instances were to use them... that would increase performance. Jussi 2009/8/22 Beno?t Minisini : >> Beno?t, >> >> Perhaps you could also enhance Find to accept regular expressions (or >> something similar to what we can use with LIKE) >> >> If it already does can you provide some more documentation about it in >> Gambasdoc? >> >> >> Regards >> Dimitris >> > > I'm not sure I will do that. But I'm not sure I won't. > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From afroehlke at ...784... Sat Aug 22 13:12:22 2009 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Sat, 22 Aug 2009 13:12:22 +0200 Subject: [Gambas-user] Problem with breakpoint In-Reply-To: <200908140727.45307.rterry@...1946...> References: <6324a42a0908130641l439dff55mc02b27ac67678ad5@...627...> <200908140727.45307.rterry@...1946...> Message-ID: <8D42310D957CFB46AA11921A711D4D16024C3C9118@...1899...> The same problem exist in Stable Gambas Version 2.15.2. Is there an solution? Restarting gambas don't solve the problem. The just run over the breakpoints. Regards Andreas -----Urspr?ngliche Nachricht----- Von: richard terry [mailto:rterry at ...1946...] Gesendet: Donnerstag, 13. August 2009 23:28 An: mailing list for gambas users Betreff: Re: [Gambas-user] Problem with breakpoint On Thu, 13 Aug 2009 11:41:31 pm Fabien Bodard wrote: > Is there other person like me, who have problem with the breack point > ? it not stop in the last 3 svn version > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I've noticed that for a number of versions as well. Frustrating! richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Aug 22 13:51:17 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 22 Aug 2009 13:51:17 +0200 Subject: [Gambas-user] Problem with breakpoint In-Reply-To: <8D42310D957CFB46AA11921A711D4D16024C3C9118@...1899...> References: <6324a42a0908130641l439dff55mc02b27ac67678ad5@...627...> <200908140727.45307.rterry@...1946...> <8D42310D957CFB46AA11921A711D4D16024C3C9118@...1899...> Message-ID: <200908221351.17208.gambas@...1...> > The same problem exist in Stable Gambas Version 2.15.2. Is there an > solution? Restarting gambas don't solve the problem. The just run over the > breakpoints. > > Regards > > Andreas > That bug has been fixed in /branches/2.0. You must wait for a new release... -- Beno?t From gambas at ...1... Sat Aug 22 14:18:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 22 Aug 2009 14:18:50 +0200 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908221324.56907.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <82bffccf0908220346r477c183an179129be357e2f36@...627...> <200908221324.56907.gambas@...1...> Message-ID: <200908221418.50559.gambas@...1...> > > Beno?t, > > > > Perhaps you could also enhance Find to accept regular expressions (or > > something similar to what we can use with LIKE) > > > > If it already does can you provide some more documentation about it in > > Gambasdoc? > > > > > > Regards > > Dimitris > > I'm not sure I will do that. But I'm not sure I won't. Hey, I did it in revision 2260: MyStringArray.Find("LIKE pattern", gb.Like) will use the LIKE instruction to search the array. -- Beno?t From 12ukwn at ...626... Sat Aug 22 18:21:44 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 18:21:44 +0200 Subject: [Gambas-user] TreeView print events chain Message-ID: <4A901B18.2000607@...626...> Hi list, In order to solve some PBs, I want to print the whole chain of events in console when I click on a leaf or expand/develop it; is this possible? JY -- The difference between graffiti and philosophy is the word "fuck". From 12ukwn at ...626... Sat Aug 22 18:40:57 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 18:40:57 +0200 Subject: [Gambas-user] TreeView item focus Message-ID: <4A901F99.6090407@...626...> Hi list, Is it normal that expanding a branch in TreeView doesn't give focus to the root item of this branch (it stays on TreeView root), as this prevents forbidding an expand under conditions? JY -- From dosida at ...626... Sat Aug 22 19:16:34 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 22 Aug 2009 11:16:34 -0600 Subject: [Gambas-user] To the wish list... In-Reply-To: <200908221418.50559.gambas@...1...> References: <384d3900908211215t30cf725et169ad481e1430d0@...627...> <82bffccf0908220346r477c183an179129be357e2f36@...627...> <200908221324.56907.gambas@...1...> <200908221418.50559.gambas@...1...> Message-ID: <82bffccf0908221016s73ff5d72m9295769c9f5efb4c@...627...> Thanks Beno?t, I will compile revision 2260 in a few days since I got a few other things to take care of Regards, Dimitris 2009/8/22 Beno?t Minisini > > > Beno?t, > > > > > > Perhaps you could also enhance Find to accept regular expressions (or > > > something similar to what we can use with LIKE) > > > > > > If it already does can you provide some more documentation about it in > > > Gambasdoc? > > > > > > > > > Regards > > > Dimitris > > > > I'm not sure I will do that. But I'm not sure I won't. > > Hey, I did it in revision 2260: > > MyStringArray.Find("LIKE pattern", gb.Like) will use the LIKE instruction > to > search the array. > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 22 19:19:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 22 Aug 2009 19:19:50 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A901F99.6090407@...626...> References: <4A901F99.6090407@...626...> Message-ID: <200908221919.50770.gambas@...1...> > Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the > root item of this branch (it stays on TreeView root), as this prevents > forbidding an expand under conditions? > > JY Expanding a branch should not change the focused item. Why ? And please remind us if you use gb.qt or gb.gtk, as their behaviour may not be the same even if it should. Regards, -- Beno?t From doriano.blengino at ...1909... Sat Aug 22 19:29:30 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 22 Aug 2009 19:29:30 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A901F99.6090407@...626...> References: <4A901F99.6090407@...626...> Message-ID: <4A902AFA.7070706@...1909...> Jean-Yves F. Barbier ha scritto: > Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the root > item of this branch (it stays on TreeView root), as this prevents forbidding an > expand under conditions? > > JY > The only thing I can say is that when I first deployed DirTreeView (or something like that - a treeview for directories), I had to rewrite it from scratch. It was too different from what I needed. It is not difficult - take the source of gambas as a starting point, and do the things you want to do; I suspect that if you don't do so, you will loose a lot of time, and gain a lot of anger. Salut, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From 12ukwn at ...626... Sat Aug 22 19:30:00 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 19:30:00 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <200908221919.50770.gambas@...1...> References: <4A901F99.6090407@...626...> <200908221919.50770.gambas@...1...> Message-ID: <4A902B18.4070305@...626...> Beno?t Minisini a ?crit : >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root item of this branch (it stays on TreeView root), as this prevents >> forbidding an expand under conditions? >> >> JY > > Expanding a branch should not change the focused item. Why ? Yes, this is the question: I don't understand why the developed branch' father don't become the Current item. > And please remind us if you use gb.qt or gb.gtk, as their behaviour may not be > the same even if it should. oops, forgot one more time :( 2.15.2 regular Debian sid package gb.qt JY -- If they sent one man to the moon, why can't they send them all? From 12ukwn at ...626... Sat Aug 22 19:38:29 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 19:38:29 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A902AFA.7070706@...1909...> References: <4A901F99.6090407@...626...> <4A902AFA.7070706@...1909...> Message-ID: <4A902D15.1000201@...626...> Doriano Blengino a ?crit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the root >> item of this branch (it stays on TreeView root), as this prevents forbidding an >> expand under conditions? >> >> JY >> > The only thing I can say is that when I first deployed DirTreeView (or > something like that - a treeview for directories), I had to rewrite it > from scratch. It was too different from what I needed. > > It is not difficult - take the source of gambas as a starting point, and > do the things you want to do; I suspect that if you don't do so, you > will loose a lot of time, and gain a lot of anger. No, this is not a reasonable option Doriano, because that could mean I modify it each time it don't fit my needs - while making the application totally non-compatible with regular Gambas package(s). (not to mention that I'm not sure I'm skilled enough to do so.) The goal is to install Gambas stable branch and my application final dot; otherwise it will very swiftly turn into a real mess. JY -- The SAME WAVE keeps coming in and COLLAPSING like a rayon MUU-MUU ... From doriano.blengino at ...1909... Sat Aug 22 19:42:41 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 22 Aug 2009 19:42:41 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A902AFA.7070706@...1909...> References: <4A901F99.6090407@...626...> <4A902AFA.7070706@...1909...> Message-ID: <4A902E11.2010500@...1909...> Doriano Blengino ha scritto: > Jean-Yves F. Barbier ha scritto: > >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the root >> item of this branch (it stays on TreeView root), as this prevents forbidding an >> expand under conditions? >> >> JY >> >> > The only thing I can say is that when I first deployed DirTreeView (or > something like that - a treeview for directories), I had to rewrite it > from scratch. It was too different from what I needed. > > It is not difficult - take the source of gambas as a starting point, and > do the things you want to do; I suspect that if you don't do so, you > will loose a lot of time, and gain a lot of anger. > > Salut, > > ROLLBACK forget the words above. I was watching sport @ Berlin - did'nt read carefully the message. Sorry. Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." From gambas.fr at ...626... Sat Aug 22 19:40:11 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 22 Aug 2009 19:40:11 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A902B18.4070305@...626...> References: <4A901F99.6090407@...626...> <200908221919.50770.gambas@...1...> <4A902B18.4070305@...626...> Message-ID: <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true On some case we don't want to change the item selected.... so by default it is better like that 2009/8/22 Jean-Yves F. Barbier <12ukwn at ...626...>: > Beno?t Minisini a ?crit : >>> Hi list, >>> >>> Is it normal that expanding a branch in TreeView doesn't give focus to the >>> root item of this branch (it stays on TreeView root), as this prevents >>> forbidding an expand under conditions? >>> >>> JY >> >> Expanding a branch should not change the focused item. Why ? > > Yes, this is the question: I don't understand why the developed branch' father > don't become the Current item. > >> And please remind us if you use gb.qt or gb.gtk, as their behaviour may not be >> the same even if it should. > > oops, forgot one more time :( > > 2.15.2 regular Debian sid package > gb.qt > > JY > -- > If they sent one man to the moon, why can't they send them all? > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Sat Aug 22 19:50:39 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 19:50:39 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A902E11.2010500@...1909...> References: <4A901F99.6090407@...626...> <4A902AFA.7070706@...1909...> <4A902E11.2010500@...1909...> Message-ID: <4A902FEF.4000902@...626...> Doriano Blengino a ?crit : > Doriano Blengino ha scritto: >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> Is it normal that expanding a branch in TreeView doesn't give focus to the root >>> item of this branch (it stays on TreeView root), as this prevents forbidding an >>> expand under conditions? >>> >>> JY >>> >>> >> The only thing I can say is that when I first deployed DirTreeView (or >> something like that - a treeview for directories), I had to rewrite it >> from scratch. It was too different from what I needed. >> >> It is not difficult - take the source of gambas as a starting point, and >> do the things you want to do; I suspect that if you don't do so, you >> will loose a lot of time, and gain a lot of anger. >> >> Salut, >> >> > ROLLBACK Funny: my 1st application is a PostgreSQL groups/users management made easy :) > forget the words above. I was watching sport @ Berlin - did'nt read > carefully the message. Sorry. Haaach ich weisse: weitsen, schnaps, spezial und bretzel, und so weiter ;-) jy -- You are not dead yet. But watch for further reports. From 12ukwn at ...626... Sat Aug 22 20:03:16 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 22 Aug 2009 20:03:16 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> References: <4A901F99.6090407@...626...> <200908221919.50770.gambas@...1...> <4A902B18.4070305@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> Message-ID: <4A9032E4.5050708@...626...> Fabien Bodard a ?crit : > you can do that by hand ! > > no ? > > in TreeView_Expand() May be, I'm gonna dig this possibility (I don't already know all about widgets, so I still miss some skills) But @ first glance I don't know what could change as I'll trigger this event each time I expand a branch, good, BUT if I'm still stuck with treeview root as current leaf... how would I know where I am? > Last.Item.Selected=true This one is impossible, precisely because if I only expand branches without selecting any item, focus' stuck on the treeview root. > On some case we don't want to change the item selected.... so by > default it is better like that Having the choice would be great... (some cases or almost any cases? I'm pretty sure it is 'some'.) JY -- Ya'll hear about the geometer who went to the beach to catch some rays and became a tangent ? From joshiggins at ...1601... Sat Aug 22 21:58:51 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Sat, 22 Aug 2009 20:58:51 +0100 Subject: [Gambas-user] workspace, but without the tabs? Message-ID: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> Is it possible to embed a form into another, in the same way a workspace does, but without the tabs? Thanks. -- joshua higgins >>>>>>------ From gambas.fr at ...626... Sat Aug 22 23:05:58 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 22 Aug 2009 23:05:58 +0200 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> Message-ID: <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> simply like that dim hForm as FMyForm hForm = new hMyForm(FMain) 2009/8/22 Joshua Higgins : > Is it possible to embed a form into another, in the same way a workspace > does, but without the tabs? > > Thanks. > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Sun Aug 23 00:14:07 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Sat, 22 Aug 2009 23:14:07 +0100 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> Message-ID: <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> Please could you elaborate slightly? I'm not understanding where to use this and where the container for the embedded form is. -- joshua higgins >>>>>>------ From demosthenesk at ...626... Sat Aug 22 23:35:48 2009 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 23 Aug 2009 00:35:48 +0300 Subject: [Gambas-user] gambas2-2.15.2 and Ubuntu 9.04 compile errors Message-ID: Hi, i try to install gambas2-2.15.2 in Ubuntu 9.04. i get these errors... make[5]: Entering directory `/home/user/Downloads/gambas2-2.15.2/main/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c ./libtool: line 467: CDPATH: command not found ./libtool: line 1145: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2.6a-1ubuntu1, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-1ubuntu1 libtool: and run autoconf again. make[5]: *** [ltdl.lo] Error 63 make[5]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/Downloads/gambas2-2.15.2' make: *** [all] Error 2 any ideas? -- ???? ???? ?? ?????!!! Regards, Demosthenes Koptsis From gambas at ...1... Sun Aug 23 01:34:22 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 23 Aug 2009 01:34:22 +0200 Subject: [Gambas-user] gambas2-2.15.2 and Ubuntu 9.04 compile errors In-Reply-To: References: Message-ID: <200908230134.22210.gambas@...1...> > Hi, i try to install gambas2-2.15.2 in Ubuntu 9.04. > > i get these errors... > > make[5]: Entering directory > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' /bin/bash ./libtool > --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo > ltdl.c > ./libtool: line 467: CDPATH: command not found > ./libtool: line 1145: func_opt_split: command not found > libtool: Version mismatch error. This is libtool 2.2.6 > Debian-2.2.6a-1ubuntu1, but the > libtool: definition of this LT_INIT comes from an older release. > libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 > Debian-2.2.6a-1ubuntu1 > libtool: and run autoconf again. > make[5]: *** [ltdl.lo] Error 63 > make[5]: Leaving directory > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[4]: *** [all] Error > 2 > make[4]: Leaving directory > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[3]: *** > [all-recursive] Error 1 > make[3]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/user/Downloads/gambas2-2.15.2' > make: *** [all] Error 2 > > any ideas? The fix is in Gambas 3, waiting to be backported in Gambas 2. But I am watching Dr House now, so... -- Beno?t From 12ukwn at ...626... Sun Aug 23 04:08:26 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 04:08:26 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB Message-ID: <4A90A49A.4090608@...626...> Hi list, In my application I use CheckBoxes to display&set|unset individual rights from a database. When I check|uncheck one, the corresponding xxx_MouseUp() is directly issuing an SQL request to GRANT|REVOKE the corresponding right. However, for some CheckBoxes I must *reverse* the check as it seems they're not set|unset as entering xxx_MouseUp() - AND this behaviour isn't the same from one CheckBox to another!?? Is it a normal behaviour? JY -- printk("ufs_read_super: fucking Sun blows me\n"); -- /usr/src/linux/fs/ufs/ufs_super.c From 12ukwn at ...626... Sun Aug 23 05:31:56 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 05:31:56 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB - oops In-Reply-To: <4A90A49A.4090608@...626...> References: <4A90A49A.4090608@...626...> Message-ID: <4A90B82C.3040901@...626...> Jean-Yves F. Barbier a ?crit : > Hi list, > > In my application I use CheckBoxes to display&set|unset individual rights from > a database. > > When I check|uncheck one, the corresponding xxx_MouseUp() is directly issuing an SQL > request to GRANT|REVOKE the corresponding right. > However, for some CheckBoxes I must *reverse* the check as it seems they're not > set|unset as entering xxx_MouseUp() - AND this behaviour isn't the same from one > CheckBox to another!?? > > Is it a normal behaviour? forgot again :( 2.15.2 regular Debian sid package, gb.qt JY -- Eat shit -- billions of flies can't be wrong. From ronstk at ...239... Sun Aug 23 09:01:03 2009 From: ronstk at ...239... (Ron_1st) Date: Sun, 23 Aug 2009 09:01:03 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A9032E4.5050708@...626...> References: <4A901F99.6090407@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> <4A9032E4.5050708@...626...> Message-ID: <200908230901.04223.ronstk@...239...> On Saturday 22 August 2009, Jean-Yves F. Barbier wrote: > Fabien Bodard a ?crit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > May be, I'm gonna dig this possibility (I don't already know all about > widgets, so I still miss some skills) > > But @ first glance I don't know what could change as I'll trigger this > event each time I expand a branch, good, no? Lets assume the treeview show directories. On the side there is a listview. If it is a file browser like konqueror/nautilus then you have a list of files. When you click "on the directory" { treeview_click() } the listview get the file list for it. When you click "on the plus/minus" { treeview_expand() } you want to expand the treeview. Here the treeview_expand() event can read the directory and add found directories to the treeview. Else you must fill the treeview with ALL directories on your system and take the risk the directory does not exists at the moment you expand this directory. Also you miss the add directories after you did fill initial the treeview. Now you want to move a file in the listview to other place. You scroll down in the treeview expand some directory and there expand onother. Now you can drag/drop from the listview a selected file to the last expanded in the treeview. That is the good reason to not make the expanded directory the "selected" one. > BUT if I'm still stuck with treeview root as current leaf... how would I know where I am? > > > Last.Item.Selected=true > > This one is impossible, precisely because if I only expand branches > without selecting any item, focus' stuck on the treeview root. ??? As far I know Last.Item is the one from the expand event and should work. (treeview_Selected() event?) > > > On some case we don't want to change the item selected.... so by > > default it is better like that > > Having the choice would be great... > (some cases or almost any cases? I'm pretty sure it is 'some'.) > > JY Therefore if those events as _expand and _click did not exist you had to fill the treeview and listview with all directories and files on your system at opening of the form. With more the 200 directories and over 10000 files it is done in less then 1 nano second. Just for a filemanager example. Best regards, Ron_1st -- From gambas.fr at ...626... Sun Aug 23 12:49:23 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 12:49:23 +0200 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> Message-ID: <6324a42a0908230349r1d215b96ic1ec58e8cf0a06d2@...627...> this is a demo 2009/8/23 Joshua Higgins : > Please could you elaborate slightly? I'm not understanding where to use this > and where the container for the embedded form is. > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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: demoEmbedForm-0.0.1.tar.gz Type: application/x-gzip Size: 7579 bytes Desc: not available URL: From joshiggins at ...1601... Sun Aug 23 13:46:52 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Sun, 23 Aug 2009 12:46:52 +0100 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <4247f5440908230445l51445c1awab4ccd0c9f235a6b@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> <6324a42a0908230349r1d215b96ic1ec58e8cf0a06d2@...627...> <4247f5440908230445l51445c1awab4ccd0c9f235a6b@...627...> Message-ID: <4247f5440908230446g63494a0dg5f676bb935aaa9aa@...627...> I figured it out DIM hForm AS FChild hForm = NEW FChild(Panel1) Thanks Fabien ! -- joshua higgins >>>>>>------ From joshiggins at ...1601... Sun Aug 23 13:45:01 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Sun, 23 Aug 2009 12:45:01 +0100 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <6324a42a0908230349r1d215b96ic1ec58e8cf0a06d2@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> <6324a42a0908230349r1d215b96ic1ec58e8cf0a06d2@...627...> Message-ID: <4247f5440908230445l51445c1awab4ccd0c9f235a6b@...627...> Is there any way to change the position of the embedded form? Like put it in a container? 2009/8/23 Fabien Bodard > this is a demo > > > > > 2009/8/23 Joshua Higgins : > > Please could you elaborate slightly? I'm not understanding where to use > this > > and where the container for the embedded form is. > > > > -- > > joshua higgins > >>>>>>>------ > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From 12ukwn at ...626... Sun Aug 23 14:24:35 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 14:24:35 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> References: <4A901F99.6090407@...626...> <200908221919.50770.gambas@...1...> <4A902B18.4070305@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> Message-ID: <4A913503.5080905@...626...> Fabien Bodard a ?crit : > you can do that by hand ! > > no ? > > in TreeView_Expand() > > Last.Item.Selected=true Ok Fabien, thanks it is working :) but I didn't find any reference to that in the documentation: even a grep didn't return anything:( grep -R "Last.Item" /usr/share/gambas2/help/help/* => nada grep -Rw Last /usr/share/gambas2/help/help/* => /usr/share/gambas2/help/help/changes.html:Gambas Documentation - Last Changes /usr/share/gambas2/help/help/changes.html:Last Changes /usr/share/gambas2/help/help/help.html:Last Changes    /usr/share/gambas2/help/help/lang/stat.html:
  • Last modification time. I can learn quite fast, but not out of nowhere. JY -- You will be dead within a year. From lordheavym at ...626... Sun Aug 23 14:53:50 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 23 Aug 2009 14:53:50 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A913503.5080905@...626...> References: <4A901F99.6090407@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> <4A913503.5080905@...626...> Message-ID: <200908231453.50157.lordheavym@...626...> Le dimanche 23 ao?t 2009 14:24:35 Jean-Yves F. Barbier, vous avez ?crit : > Fabien Bodard a ?crit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > > > Last.Item.Selected=true > > Ok Fabien, thanks it is working :) > > but I didn't find any reference to that in the documentation: even a grep > didn't return anything:( > grep -R "Last.Item" /usr/share/gambas2/help/help/* => nada > grep -Rw Last /usr/share/gambas2/help/help/* => > /usr/share/gambas2/help/help/changes.html:Gambas Documentation - Last > Changes /usr/share/gambas2/help/help/changes.html:Last Changes > /usr/share/gambas2/help/help/help.html:Last > Changes    > /usr/share/gambas2/help/help/lang/stat.html:
  • Last modification time. > > I can learn quite fast, but not out of nowhere. > > JY Perhaps here: http://64.128.110.55/help/lang/last "Returns a reference to the object that raised the last event" ++ From 12ukwn at ...626... Sun Aug 23 15:03:11 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 15:03:11 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <200908231453.50157.lordheavym@...626...> References: <4A901F99.6090407@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> <4A913503.5080905@...626...> <200908231453.50157.lordheavym@...626...> Message-ID: <4A913E0F.2080905@...626...> Laurent Carlier a ?crit : ... >> I can learn quite fast, but not out of nowhere. >> >> JY > > Perhaps here: > http://64.128.110.55/help/lang/last > > "Returns a reference to the object that raised the last event" yaah: on the site, but NOT existant into the package's docs :( -- From Karl.Reinl at ...9... Sun Aug 23 17:38:04 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 23 Aug 2009 17:38:04 +0200 Subject: [Gambas-user] gambas2-2.15.2 and Ubuntu 9.04 compile errors In-Reply-To: <200908230134.22210.gambas@...1...> References: <200908230134.22210.gambas@...1...> Message-ID: <1251041884.6374.4.camel@...40...> Am Sonntag, den 23.08.2009, 01:34 +0200 schrieb Beno?t Minisini: > > Hi, i try to install gambas2-2.15.2 in Ubuntu 9.04. > > > > i get these errors... > > > > make[5]: Entering directory > > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' /bin/bash ./libtool > > --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo > > ltdl.c > > ./libtool: line 467: CDPATH: command not found > > ./libtool: line 1145: func_opt_split: command not found > > libtool: Version mismatch error. This is libtool 2.2.6 > > Debian-2.2.6a-1ubuntu1, but the > > libtool: definition of this LT_INIT comes from an older release. > > libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 > > Debian-2.2.6a-1ubuntu1 > > libtool: and run autoconf again. > > make[5]: *** [ltdl.lo] Error 63 > > make[5]: Leaving directory > > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[4]: *** [all] Error > > 2 > > make[4]: Leaving directory > > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[3]: *** > > [all-recursive] Error 1 > > make[3]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/user/Downloads/gambas2-2.15.2' > > make: *** [all] Error 2 > > > > any ideas? > > The fix is in Gambas 3, waiting to be backported in Gambas 2. But I am > watching Dr House now, so... > I hope its the super long version! Means that older OS (like my Ubuntu 8.04 Long Term Support) will run in troubles soon ? Charlie From demosthenesk at ...626... Sun Aug 23 19:34:38 2009 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 23 Aug 2009 20:34:38 +0300 Subject: [Gambas-user] gambas2-2.15.2 and Ubuntu 9.04 compile errors In-Reply-To: <1251041884.6374.4.camel@...40...> References: <200908230134.22210.gambas@...1...> <1251041884.6374.4.camel@...40...> Message-ID: Please if you could anytime to add the fix because the official ubuntu version of gambas is 2.8 and is a bit old... is it very hard-working to add the fix? On Sun, Aug 23, 2009 at 6:38 PM, Charlie Reinl wrote: > Am Sonntag, den 23.08.2009, 01:34 +0200 schrieb Beno?t Minisini: >> > Hi, i try to install gambas2-2.15.2 in Ubuntu 9.04. >> > >> > i get these errors... >> > >> > make[5]: Entering directory >> > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' /bin/bash ./libtool >> > --tag=CC ? --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo >> > ltdl.c >> > ./libtool: line 467: CDPATH: command not found >> > ./libtool: line 1145: func_opt_split: command not found >> > libtool: Version mismatch error. ?This is libtool 2.2.6 >> > Debian-2.2.6a-1ubuntu1, but the >> > libtool: definition of this LT_INIT comes from an older release. >> > libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 >> > Debian-2.2.6a-1ubuntu1 >> > libtool: and run autoconf again. >> > make[5]: *** [ltdl.lo] Error 63 >> > make[5]: Leaving directory >> > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[4]: *** [all] Error >> > 2 >> > make[4]: Leaving directory >> > `/home/user/Downloads/gambas2-2.15.2/main/libltdl' make[3]: *** >> > [all-recursive] Error 1 >> > make[3]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' >> > make[2]: *** [all] Error 2 >> > make[2]: Leaving directory `/home/user/Downloads/gambas2-2.15.2/main' >> > make[1]: *** [all-recursive] Error 1 >> > make[1]: Leaving directory `/home/user/Downloads/gambas2-2.15.2' >> > make: *** [all] Error 2 >> > >> > any ideas? >> >> The fix is in Gambas 3, waiting to be backported in Gambas 2. But I am >> watching Dr House now, so... >> > I hope its the super long version! > Means that older OS (like my Ubuntu 8.04 Long Term Support) will run in > troubles soon ? > > Charlie > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- ???? ???? ?? ?????!!! Regards, Demosthenes Koptsis From ronstk at ...239... Sun Aug 23 19:58:49 2009 From: ronstk at ...239... (Ron_1st) Date: Sun, 23 Aug 2009 19:58:49 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A913503.5080905@...626...> References: <4A901F99.6090407@...626...> <6324a42a0908221040m45f59c8cwbcf0f6d855cd5cf6@...627...> <4A913503.5080905@...626...> Message-ID: <200908231958.50204.ronstk@...239...> On Sunday 23 August 2009, Jean-Yves F. Barbier wrote: > Fabien Bodard a ?crit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > > > Last.Item.Selected=true > > Ok Fabien, thanks it is working :) > > but I didn't find any reference to that in the documentation: even a grep > didn't return anything:( > grep -R "Last.Item" /usr/share/gambas2/help/help/* => nada > grep -Rw Last /usr/share/gambas2/help/help/* => > /usr/share/gambas2/help/help/changes.html:Gambas Documentation - Last Changes > /usr/share/gambas2/help/help/changes.html:Last Changes > /usr/share/gambas2/help/help/help.html:Last Changes    > /usr/share/gambas2/help/help/lang/stat.html:
  • Last modification time. > > I can learn quite fast, but not out of nowhere. > > JY http://gambasdoc.org/help?en 1)See Language: 2)see Components for ? exactly Find all on the same page for gb.qt treeview: http://gambasdoc.org/help/comp/gb.qt/treeview http://gambasdoc.org/help/comp/gb.qt/treeview/item http://gambasdoc.org/help/comp/gb.qt/treeview/.select http://gambasdoc.org/help/comp/gb.qt/treeview/.expand http://gambasdoc.org/help/comp/gb.qt/control/expand Last is not a component but part of the Language 2)see Language Index http://gambasdoc.org/help/lang At the index by name: http://gambasdoc.org/help/lang/last A child can fly the plain :) I go read about grep -Rw now. :( Best regards, Ron_1st -- From ronstk at ...239... Sun Aug 23 20:13:48 2009 From: ronstk at ...239... (Ron_1st) Date: Sun, 23 Aug 2009 20:13:48 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <4A913E0F.2080905@...626...> References: <4A901F99.6090407@...626...> <200908231453.50157.lordheavym@...626...> <4A913E0F.2080905@...626...> Message-ID: <200908232013.48468.ronstk@...239...> On Sunday 23 August 2009, Jean-Yves F. Barbier wrote: > Laurent Carlier a ?crit : > ... > >> I can learn quite fast, but not out of nowhere. > >> > >> JY > > > > Perhaps here: > > http://64.128.110.55/help/lang/last > > > > "Returns a reference to the object that raised the last event" > > yaah: on the site, but NOT existant into the package's docs :( > At my box I found: /usr/local/share/gambas3/help/help/lang/last.html The grep -Rw give a result but not easy to destilate. Alternative I use mostly is the 'find' cli. $ find /usr/local/share/gambas3/help/help/* -iname last* /usr/local/share/gambas3/help/help/comp/gb/process/lastvalue.html /usr/local/share/gambas3/help/help/comp/gb/process/laststate.html /usr/local/share/gambas3/help/help/comp/gb/stat/lastchange.html /usr/local/share/gambas3/help/help/comp/gb/stat/lastaccess.html /usr/local/share/gambas3/help/help/comp/gb/stat/lastmodified.html /usr/local/share/gambas3/help/help/comp/gb+form/wizard/lastindex.html /usr/local/share/gambas3/help/help/lang/last.html Knowing Last is part of the Language $ find /usr/local/share/gambas3/help/help/lang/* -iname last* /usr/local/share/gambas3/help/help/lang/last.html Interesting all those search methods. But anyway you must know indeed what you search for and that is not always easy. Best regards, Ron_1st -- From 12ukwn at ...626... Sun Aug 23 20:23:38 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 20:23:38 +0200 Subject: [Gambas-user] TreeView item focus In-Reply-To: <200908232013.48468.ronstk@...239...> References: <4A901F99.6090407@...626...> <200908231453.50157.lordheavym@...626...> <4A913E0F.2080905@...626...> <200908232013.48468.ronstk@...239...> Message-ID: <4A91892A.8070101@...626...> Ron_1st a ?crit : ... > But anyway you must know indeed what you search for and that > is not always easy. Yes Ron_1st, this is the problem when you don't master all aspects. An overall schema should be fine, but I'm not sure it could be easy to setup. Regards JY_last -- Raising pet electric eels is gaining a lot of current popularity. From 12ukwn at ...626... Sun Aug 23 20:50:11 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 20:50:11 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A90A49A.4090608@...626...> References: <4A90A49A.4090608@...626...> Message-ID: <4A918F63.9030804@...626...> Jean-Yves F. Barbier a ?crit : > Hi list, > > In my application I use CheckBoxes to display&set|unset individual rights from > a database. > > When I check|uncheck one, the corresponding xxx_MouseUp() is directly issuing an SQL > request to GRANT|REVOKE the corresponding right. > However, for some CheckBoxes I must *reverse* the check as it seems they're not > set|unset as entering xxx_MouseUp() - AND this behaviour isn't the same from one > CheckBox to another!?? > > Is it a normal behaviour? 2.15.2 regular Debian sid package A small test show (once all events are terminated): action uncheck check GTK ..._MouseDown() n/a n/a ..._MouseUp() n/a n/a ..._Click() 0 -1 Qt ..._MouseDown() -1 0 ..._MouseUp() -1 0 ..._Click() 0 -1 This don't seem to be a normal behaviour as I also set a counter to seek the procs order: they are executed as they're listed here. So, may be MouseDown() could represent the Checkbox status before it occurs (in which case it should be the only one reversed), but surely not MouseUp & Click: they should be the same and alike Click(). Of course, this is all false if MouseXXX events begin before the change of status. How about that? Does anybody have a tree showing where and when events and changes take place? JY -- Now I can finally explain to everyone why I do this. I just got $7 worth of free stuff for working on Debian ! From gambas.fr at ...626... Sun Aug 23 21:44:16 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 21:44:16 +0200 Subject: [Gambas-user] workspace, but without the tabs? In-Reply-To: <4247f5440908230446g63494a0dg5f676bb935aaa9aa@...627...> References: <4247f5440908221258x3f86f93fr8859e7af9ddade0e@...627...> <6324a42a0908221405m15e34292q93a38ada866753d5@...627...> <4247f5440908221514g773d23c7wa4f7d7b1a5e80e5c@...627...> <6324a42a0908230349r1d215b96ic1ec58e8cf0a06d2@...627...> <4247f5440908230445l51445c1awab4ccd0c9f235a6b@...627...> <4247f5440908230446g63494a0dg5f676bb935aaa9aa@...627...> Message-ID: <6324a42a0908231244i514de04bhaadc7e27e85a3824@...627...> then the embedded form act itself as a container ... so you can have the Left, Top values, and the width, height, 2009/8/23 Joshua Higgins : > I figured it out > > ?DIM hForm AS FChild > > ?hForm = NEW FChild(Panel1) > > Thanks Fabien ! > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 23 21:52:35 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 21:52:35 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A918F63.9030804@...626...> References: <4A90A49A.4090608@...626...> <4A918F63.9030804@...626...> Message-ID: <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> it seem that the click event is send after the .value setting... but the MouseUp before. why did you not use the click event ? 2009/8/23 Jean-Yves F. Barbier <12ukwn at ...626...>: > Jean-Yves F. Barbier a ?crit : >> Hi list, >> >> In my application I use CheckBoxes to display&set|unset individual rights from >> a database. >> >> When I check|uncheck one, the corresponding xxx_MouseUp() is directly issuing an SQL >> request to GRANT|REVOKE the corresponding right. >> However, for some CheckBoxes I must *reverse* the check as it seems they're not >> set|unset as entering xxx_MouseUp() - AND this behaviour isn't the same from one >> CheckBox to another!?? >> >> Is it a normal behaviour? > > 2.15.2 regular Debian sid package > > A small test show (once all events are terminated): > > action ? ? ? ? ? uncheck ? check > ? ? ? GTK > ..._MouseDown() ? ?n/a ? ? ?n/a > ..._MouseUp() ? ? ?n/a ? ? ?n/a > ..._Click() ? ? ? ? 0 ? ? ? -1 > > ? ? ? Qt > ..._MouseDown() ? ?-1 ? ? ? ?0 > ..._MouseUp() ? ? ?-1 ? ? ? ?0 > ..._Click() ? ? ? ? 0 ? ? ? -1 > > This don't seem to be a normal behaviour as I also set a counter to seek the procs order: > they are executed as they're listed here. > > So, may be MouseDown() could represent the Checkbox status before it occurs > (in which case it should be the only one reversed), but surely not MouseUp > & Click: they should be the same and alike Click(). > > Of course, this is all false if MouseXXX events begin before the change of status. > > How about that? > > Does anybody have a tree showing where and when events and changes take place? > > JY > -- > Now I can finally explain to everyone why I do this. ?I just got $7 worth > of free stuff for working on Debian ! > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Sun Aug 23 22:05:35 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 22:05:35 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> References: <4A90A49A.4090608@...626...> <4A918F63.9030804@...626...> <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> Message-ID: <4A91A10F.4050008@...626...> Fabien Bodard a ?crit : > it seem that the click event is send after the .value setting... but > the MouseUp before. > > why did you not use the click event ? I don't use it because it is raised after the .Value has changed and I need to be able to forbid any change in some conditions. -- From gambas.fr at ...626... Sun Aug 23 22:13:53 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 22:13:53 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A91A10F.4050008@...626...> References: <4A90A49A.4090608@...626...> <4A918F63.9030804@...626...> <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> <4A91A10F.4050008@...626...> Message-ID: <6324a42a0908231313n7206d10am37d6e7d37ba16dfb@...627...> Public Sub CheckBox1_MouseUp() If not Last.Value and ItIsNotGood then Stop Event End You need to take in mind that the value is changed after the mouseup event ... 2009/8/23 Jean-Yves F. Barbier <12ukwn at ...626...>: > Fabien Bodard a ?crit : >> it seem that the click event is send after the .value setting... but >> the MouseUp before. >> >> why did you not use the click event ? > > I don't use it because it is raised after the .Value has changed and I > need to be able to forbid any change in some conditions. > > -- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 23 22:15:32 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 22:15:32 +0200 Subject: [Gambas-user] TreeView print events chain In-Reply-To: <4A901B18.2000607@...626...> References: <4A901B18.2000607@...626...> Message-ID: <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> ??? more clearly ? 2009/8/22 Jean-Yves F. Barbier <12ukwn at ...626...>: > Hi list, > > In order to solve some PBs, I want to print the whole chain of events in > console when I click on a leaf or expand/develop it; is this possible? > > JY > -- > The difference between graffiti and philosophy is the word "fuck". > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 23 22:16:07 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Aug 2009 22:16:07 +0200 Subject: [Gambas-user] TreeView print events chain In-Reply-To: <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> References: <4A901B18.2000607@...626...> <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> Message-ID: <6324a42a0908231316j222f2e39g3824296e40d17da2@...627...> note: this is not english 2009/8/23 Fabien Bodard : > ??? more clearly ? > > 2009/8/22 Jean-Yves F. Barbier <12ukwn at ...626...>: >> Hi list, >> >> In order to solve some PBs, I want to print the whole chain of events in >> console when I click on a leaf or expand/develop it; is this possible? >> >> JY >> -- >> The difference between graffiti and philosophy is the word "fuck". >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From gambas at ...1... Sun Aug 23 22:25:14 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 23 Aug 2009 22:25:14 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A91A10F.4050008@...626...> References: <4A90A49A.4090608@...626...> <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> <4A91A10F.4050008@...626...> Message-ID: <200908232225.14554.gambas@...1...> > Fabien Bodard a ?crit : > > it seem that the click event is send after the .value setting... but > > the MouseUp before. > > > > why did you not use the click event ? > > I don't use it because it is raised after the .Value has changed and I > need to be able to forbid any change in some conditions. - You can't assume any relationship between Mouse events and the Click event raised when the value has changed. - If the checkbox should not be changed, then it must be disabled before the user tries to change it. Regards, -- Beno?t From 12ukwn at ...626... Sun Aug 23 22:36:08 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 22:36:08 +0200 Subject: [Gambas-user] TreeView print events chain In-Reply-To: <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> References: <4A901B18.2000607@...626...> <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> Message-ID: <4A91A838.4070800@...626...> Fabien Bodard a ?crit : > ??? more clearly ? something like a trace (NOT a tire trace:): event = Enter event = MouseUp event = MouseDown event = Click event if you're thirsty, I remember you that there's no beer in the fridge... but without passing through the aforementionned procs; but I guess this could only be done by using a debugger on a source specially recompiled. JY -- If someone had told me I would be Pope one day, I would have studied harder. -- Pope John Paul I From lordheavym at ...626... Sun Aug 23 22:50:25 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 23 Aug 2009 22:50:25 +0200 Subject: [Gambas-user] TreeView print events chain In-Reply-To: <4A91A838.4070800@...626...> References: <4A901B18.2000607@...626...> <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> <4A91A838.4070800@...626...> Message-ID: <200908232250.26050.lordheavym@...626...> Le dimanche 23 ao?t 2009 22:36:08 Jean-Yves F. Barbier, vous avez ?crit : > Fabien Bodard a ?crit : > > ??? more clearly ? > > something like a trace (NOT a tire trace:): > event = Enter > event = MouseUp > event = MouseDown > event = Click > event if you're thirsty, I remember you that there's no beer in the > fridge... > > but without passing through the aforementionned procs; but I guess this > could only be done by using a debugger on a source specially recompiled. > > JY Perhaps you can do that with the Observer: http://64.128.110.55/help/comp/gb/observer ++ From 12ukwn at ...626... Sun Aug 23 22:52:58 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 22:52:58 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <200908232225.14554.gambas@...1...> References: <4A90A49A.4090608@...626...> <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> <4A91A10F.4050008@...626...> <200908232225.14554.gambas@...1...> Message-ID: <4A91AC2A.5000603@...626...> Beno?t Minisini a ?crit : >> Fabien Bodard a ?crit : >>> it seem that the click event is send after the .value setting... but >>> the MouseUp before. >>> >>> why did you not use the click event ? >> I don't use it because it is raised after the .Value has changed and I >> need to be able to forbid any change in some conditions. > > - You can't assume any relationship between Mouse events and the Click event > raised when the value has changed. That's NOW obvious, but not @ first glance and without a test to see exactly which order is given to events. > - If the checkbox should not be changed, then it must be disabled before the > user tries to change it. That doesn't prevent MouseDown/Up etc events to be raised (remember, I use it for 2 purposes: display and set/unset; BTW, Fabien, that remember me why I didn't used the Click event: it is also raised when the application change the .Value of the CheckBox) That may also me that pops: I didn't programmed for many years and I'm also working on database (which has a very different logic), while making some tests under Erlang (which has an alien logic). JY -- Lost: gray and white female cat. Answers to electric can opener. From gambas at ...1... Sun Aug 23 22:59:03 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 23 Aug 2009 22:59:03 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A91AC2A.5000603@...626...> References: <4A90A49A.4090608@...626...> <200908232225.14554.gambas@...1...> <4A91AC2A.5000603@...626...> Message-ID: <200908232259.03140.gambas@...1...> > Beno?t Minisini a ?crit : > >> Fabien Bodard a ?crit : > >>> it seem that the click event is send after the .value setting... but > >>> the MouseUp before. > >>> > >>> why did you not use the click event ? > >> > >> I don't use it because it is raised after the .Value has changed and I > >> need to be able to forbid any change in some conditions. > > > > - You can't assume any relationship between Mouse events and the Click > > event raised when the value has changed. > > That's NOW obvious, but not @ first glance and without a test to see > exactly which order is given to events. > And because you can raise the Click event by code, or by using only the keyboard. > > - If the checkbox should not be changed, then it must be disabled before > > the user tries to change it. > > That doesn't prevent MouseDown/Up etc events to be raised Why should it? > (remember, I use > it for 2 purposes: display and set/unset; BTW, Fabien, that remember me why > I didn't used the Click event: it is also raised when the application > change the .Value of the CheckBox) > If you really have to make a difference between a change coming from the application and a change coming from the user, then use a boolean flag, like "bIgnoreClickEvent", that you set explicitely when needed. Regards, -- Beno?t From 12ukwn at ...626... Sun Aug 23 22:55:04 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 22:55:04 +0200 Subject: [Gambas-user] TreeView print events chain In-Reply-To: <200908232250.26050.lordheavym@...626...> References: <4A901B18.2000607@...626...> <6324a42a0908231315o2daf2047y493aea6576bfb15@...627...> <4A91A838.4070800@...626...> <200908232250.26050.lordheavym@...626...> Message-ID: <4A91ACA8.9050304@...626...> Laurent Carlier a ?crit : ... > Perhaps you can do that with the Observer: > http://64.128.110.55/help/comp/gb/observer Hey, that one's nice, and might be my answer, thanks! JY -- No problem is insoluble. -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4 From 12ukwn at ...626... Sun Aug 23 23:10:10 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 23:10:10 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <200908232259.03140.gambas@...1...> References: <4A90A49A.4090608@...626...> <200908232225.14554.gambas@...1...> <4A91AC2A.5000603@...626...> <200908232259.03140.gambas@...1...> Message-ID: <4A91B032.7000908@...626...> Beno?t Minisini a ?crit : ... > > If you really have to make a difference between a change coming from the > application and a change coming from the user, then use a boolean flag, like > "bIgnoreClickEvent", that you set explicitely when needed. May be that's a solution. Now I know which order events take, I'll first re-check the existing code to see if I can avoid tricky code. But all this isn't negative: I'm (almost) sure to remember where I made errors :) JY -- Darth Vader! Only you would be so bold! -- Princess Leia Organa From 12ukwn at ...626... Sun Aug 23 22:44:12 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 22:44:12 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <6324a42a0908231313n7206d10am37d6e7d37ba16dfb@...627...> References: <4A90A49A.4090608@...626...> <4A918F63.9030804@...626...> <6324a42a0908231252i68a2841bpb766c5563f4d63b3@...627...> <4A91A10F.4050008@...626...> <6324a42a0908231313n7206d10am37d6e7d37ba16dfb@...627...> Message-ID: <4A91AA1C.3000503@...626...> Fabien Bodard a ?crit : > Public Sub CheckBox1_MouseUp() > > If not Last.Value and ItIsNotGood then Stop Event I didn't knew it was possible to stop an event > End > > You need to take in mind that the value is changed after the mouseup event ... Yeah, but as there no explanation nor map about that, I'm obliged to make small tests to see what's going on exactly. -- I marvel at the strength of human weakness. From gambas at ...1... Sun Aug 23 23:27:06 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 23 Aug 2009 23:27:06 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <4A91B032.7000908@...626...> References: <4A90A49A.4090608@...626...> <200908232259.03140.gambas@...1...> <4A91B032.7000908@...626...> Message-ID: <200908232327.06963.gambas@...1...> > Beno?t Minisini a ?crit : > ... > > > If you really have to make a difference between a change coming from the > > application and a change coming from the user, then use a boolean flag, > > like "bIgnoreClickEvent", that you set explicitely when needed. > > May be that's a solution. > Now I know which order events take, I'll first re-check the existing code > to see if I can avoid tricky code. Depending or the order of events when these events are not "physically" related is not a good idea. Your code may break in the future. -- Beno?t From 12ukwn at ...626... Sun Aug 23 23:38:20 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sun, 23 Aug 2009 23:38:20 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <200908232327.06963.gambas@...1...> References: <4A90A49A.4090608@...626...> <200908232259.03140.gambas@...1...> <4A91B032.7000908@...626...> <200908232327.06963.gambas@...1...> Message-ID: <4A91B6CC.8040703@...626...> Beno?t Minisini a ?crit : >> Beno?t Minisini a ?crit : >> ... >> >>> If you really have to make a difference between a change coming from the >>> application and a change coming from the user, then use a boolean flag, >>> like "bIgnoreClickEvent", that you set explicitely when needed. >> May be that's a solution. >> Now I know which order events take, I'll first re-check the existing code >> to see if I can avoid tricky code. > > Depending or the order of events when these events are not "physically" > related is not a good idea. Your code may break in the future. It is the only easy way I found to use the same CheckBoxes to both display my database rights when an item is selected, and set/unset them. JY -- The good oxymoron, to define it by a self-illustration, must be a planned inadvertency. -Wilson Follett From dkmerriman at ...626... Sun Aug 23 23:59:46 2009 From: dkmerriman at ...626... (Dave Merriman) Date: Sun, 23 Aug 2009 15:59:46 -0600 Subject: [Gambas-user] Keep variable value between subroutine calls? Message-ID: <200908231559.55269.dkmerriman@...626...> I'm having trouble getting my mind around how to do something in Gambas, and I'm hoping that someone can explain (or even better, show) how to do it. As part of an application I'm trying to write, I need to be able to change a variable in a subroutine and still have the value available the next time the subroutine is called. I _used_ to think that this was called a "static" variable, but now I'm not so sure any more :-) How can I keep the value of a variable intact between calls to the same subroutine? sub Routine() V as integer select case V case 0 V = 3 case 1 V = 2 case 2 V = 0 case 3 V = 1 case else V = 0 end select end Each time I call the subroutine, I want it to "remember" what "V" was. How? DMerriman -- Encrypted email encouraged and PREFERRED Sunday, August 23, 2009 @ 1545 ** A cat is always on the wrong side of a door. ** ---------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Mon Aug 24 00:09:19 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 00:09:19 +0200 Subject: [Gambas-user] Keep variable value between subroutine calls? In-Reply-To: <200908231559.55269.dkmerriman@...626...> References: <200908231559.55269.dkmerriman@...626...> Message-ID: <200908240009.19990.gambas@...1...> > I'm having trouble getting my mind around how to do something in Gambas, > and I'm hoping that someone can explain (or even better, show) how to do > it. > > As part of an application I'm trying to write, I need to be able to > change a variable in a subroutine and still have the value available the > next time the subroutine is called. I _used_ to think that this was > called a "static" variable, but now I'm not so sure any more :-) > > How can I keep the value of a variable intact between calls to the same > subroutine? > > sub Routine() > V as integer > > select case V > case 0 > V = 3 > case 1 > V = 2 > case 2 > V = 0 > case 3 > V = 1 > case else > V = 0 > end select > > end > > Each time I call the subroutine, I want it to "remember" what "V" was. > How? > > DMerriman You must declare your static variable globally, as you cannot do that locally in Gambas. Regards, -- Beno?t From aromeroastorga at ...626... Mon Aug 24 03:37:08 2009 From: aromeroastorga at ...626... (Angel Romero Astorga) Date: Mon, 24 Aug 2009 03:37:08 +0200 Subject: [Gambas-user] Database Manager at Gambas 2.15 Message-ID: <69ef2ddd0908231837yd2e4b31o7a47046497a472df@...627...> Hi all I have installed Gambas on my PC at Xubuntu 8.04. All Gambas run ok, but... when I click at the menu to open Database Manager, it don't open. ?Why? Thanks PD: Sorry, my english is very bad From doriano.blengino at ...1909... Mon Aug 24 10:00:08 2009 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Mon, 24 Aug 2009 10:00:08 +0200 Subject: [Gambas-user] CheckBox_MouseUp huge PB In-Reply-To: <200908232259.03140.gambas@...1...> References: <4A90A49A.4090608@...626...> <200908232225.14554.gambas@...1...> <4A91AC2A.5000603@...626...> <200908232259.03140.gambas@...1...> Message-ID: <4A924888.5020309@...1909...> Beno?t Minisini ha scritto: >> Beno?t Minisini a ?crit : >> >>>> Fabien Bodard a ?crit : >>>> >>>>> it seem that the click event is send after the .value setting... but >>>>> the MouseUp before. >>>>> >>>>> why did you not use the click event ? >>>>> >>>> I don't use it because it is raised after the .Value has changed and I >>>> need to be able to forbid any change in some conditions. >>>> >>> - You can't assume any relationship between Mouse events and the Click >>> event raised when the value has changed. >>> >> That's NOW obvious, but not @ first glance and without a test to see >> exactly which order is given to events. >> >> > > And because you can raise the Click event by code, or by using only the > keyboard. > > >>> - If the checkbox should not be changed, then it must be disabled before >>> the user tries to change it. >>> >> That doesn't prevent MouseDown/Up etc events to be raised >> > > Why should it? > This affirmation seems strange to me. A disabled control should not raise events... why should it? What is the purpose of disabling a control? I think it is to make it read-only - so the user can not interact with it. Anyway, if I remember well, there is another way to prevent control to raise events: lock(), right? And here I remember another thing: most toolkit raise click, changed, and so on when something in a control is changed by code and not by user. I think this is stupid. If the program changes something in the control, the very same code can take appropriate actions, so there is no need to use events for that. But normally events are raised in such situations, and one must use added code to ignore events, and so on. What is happening to Jean-Yves is one example; another one it's from me; I am using GTK to write an IDE. I take a gtk_text_view and load into it a file to be edited. The flag "changed" becomes true, and an event is fired. But the file is not changed - it has just been readed from disk! And there are many more. In the Gambas sources of DirTreeView there are tricks like "bIgnore" and lock() and so on. This way code gets more obfuscated instead of being more clear and straight. Regards, Doriano From aleks.l at ...1865... Mon Aug 24 15:38:31 2009 From: aleks.l at ...1865... (Aleksandrs Livshics) Date: Mon, 24 Aug 2009 16:38:31 +0300 Subject: [Gambas-user] How to set a slider value? Message-ID: <200908241638.31346.aleks.l@...1865...> Dear Gambas users, I am new to Gambas and my question may be silly, however I cannot find how to set a slider value in the code. (Not the initial value, this is easy) I want to specify some event (like double click on a slider) to force it to jump to a predefined position/value. If I write Dbl_click() method and use something like My_slider.value = The_value in it, then slider on screen does not move from where I have set it previously with a mouse. More precisely, It jumps to a position which corresponds to The_value and back to where it was before! Any ideas would be helpful. From gambas at ...1... Mon Aug 24 16:21:21 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 16:21:21 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE Message-ID: <200908241621.21802.gambas@...1...> Hi, In Gambas 3 IDE, you can now modify the contents of local variables, global variables, and any field in debugger watch windows. While debugging of course... This feature is fresh, so you may have crashes! Regards, -- Beno?t From gambas.fr at ...626... Mon Aug 24 16:33:39 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 16:33:39 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <200908241638.31346.aleks.l@...1865...> References: <200908241638.31346.aleks.l@...1865...> Message-ID: <6324a42a0908240733y79d1b48ax91e46db1736f5f24@...627...> 2009/8/24 Aleksandrs Livshics : > Dear Gambas users, > I am new to Gambas and my question may be silly, > however I cannot find how to set a slider value in the > code. (Not the initial value, this is easy) > I want to specify some event (like double click on a slider) > to force it to jump to a predefined position/value. > > If I write Dbl_click() method and use something like > My_slider.value = The_value > in it, then slider on screen does not move from where > I have set it previously with a mouse. More precisely, > It jumps to a position which corresponds to The_value > and back to where it was before! > Any ideas would be helpful. > try to stop the event after setting the value public sub MySlider_DblClick() My_slider.value = The_value Stop Event end > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Mon Aug 24 16:33:49 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 15:33:49 +0100 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <200908241638.31346.aleks.l@...1865...> References: <200908241638.31346.aleks.l@...1865...> Message-ID: <4247f5440908240733vc385644k54f4d194c7a2bc93@...627...> Using the Slider's _menu event, for right click, instead of _DblClick works as expected. 2009/8/24 Aleksandrs Livshics > Dear Gambas users, > I am new to Gambas and my question may be silly, > however I cannot find how to set a slider value in the > code. (Not the initial value, this is easy) > I want to specify some event (like double click on a slider) > to force it to jump to a predefined position/value. > > If I write Dbl_click() method and use something like > My_slider.value = The_value > in it, then slider on screen does not move from where > I have set it previously with a mouse. More precisely, > It jumps to a position which corresponds to The_value > and back to where it was before! > Any ideas would be helpful. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From david_villalobos_c at ...43... Mon Aug 24 17:02:46 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 08:02:46 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> <4A8B52AD.4020601@...1000...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> Message-ID: <742763.62706.qm@...1655...> Hi, at the and, any volunteers? Regards -- David ----- Original Message ---- From: M0E Lnx To: mailing list for gambas users Sent: Tuesday, August 18, 2009 9:06:41 PM Subject: Re: [Gambas-user] Need help / call for volunteers For vectorlinux, you want the result of # cat /etc/vector-version console responds with something like "Vectorlinux 6.0 SOHO built on 08012008" I know a lot of distros have something in etc like /etc/slackware-version /etc/debian etc...etc...etc. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon Aug 24 17:27:35 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 24 Aug 2009 18:27:35 +0300 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <742763.62706.qm@...1655...> References: <200908182308.28684.gambas@...1...> <448407.80375.qm@...1670...> <4A8B22BB.3000604@...2015...> <4A8B52AD.4020601@...1000...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> Message-ID: <384d3900908240827q48ea3b50l8d82eb2f4cc462d3@...627...> I think I'm too new to Linux to be useful... but I'm very willing to do testing, if that helps. Jussi On Mon, Aug 24, 2009 at 18:02, David Villalobos Cambronero wrote: > Hi, at the and, any volunteers? > > ?Regards > > > -- > David > > > > ----- Original Message ---- > From: M0E Lnx > To: mailing list for gambas users > Sent: Tuesday, August 18, 2009 9:06:41 PM > Subject: Re: [Gambas-user] Need help / call for volunteers > > For vectorlinux, you want the result of > > # cat /etc/vector-version > > console responds with something like "Vectorlinux 6.0 SOHO built on 08012008" > > I know a lot of distros have something in etc like > /etc/slackware-version > /etc/debian > etc...etc...etc. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Aug 24 17:29:50 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 17:29:50 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <742763.62706.qm@...1655...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> Message-ID: <200908241729.50282.gambas@...1...> > Hi, at the and, any volunteers? > > Regards > > > -- > David > Charlie's script seems to be a good start. Any volunteer to take it, work on it and send it to me so that I put it inside the source tree? It would be cool if this script actually outputs a file with that format: [xxxxx] Field1=Value1 Field2=Value2 ... so that it can be read by the Settings class. -- Beno?t From david_villalobos_c at ...43... Mon Aug 24 17:39:19 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 08:39:19 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908241729.50282.gambas@...1...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> Message-ID: <260884.48849.qm@...1782...> Ok, I'll take it. Regards -- David ----- Original Message ---- From: Beno?t Minisini To: mailing list for gambas users Sent: Monday, August 24, 2009 9:29:50 AM Subject: Re: [Gambas-user] Need help / call for volunteers > Hi, at the and, any volunteers? > > Regards > > > -- > David > Charlie's script seems to be a good start. Any volunteer to take it, work on it and send it to me so that I put it inside the source tree? It would be cool if this script actually outputs a file with that format: [xxxxx] Field1=Value1 Field2=Value2 ... so that it can be read by the Settings class. -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Mon Aug 24 18:35:08 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 09:35:08 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <260884.48849.qm@...1782...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> Message-ID: <430532.94730.qm@...1658...> Hi, this is my first try!! any comment Regards -- David ----- Original Message ---- From: David Villalobos Cambronero To: mailing list for gambas users Sent: Monday, August 24, 2009 9:39:19 AM Subject: Re: [Gambas-user] Need help / call for volunteers Ok, I'll take it. Regards -- David ----- Original Message ---- From: Beno?t Minisini To: mailing list for gambas users Sent: Monday, August 24, 2009 9:29:50 AM Subject: Re: [Gambas-user] Need help / call for volunteers > Hi, at the and, any volunteers? > > Regards > > > -- > David > Charlie's script seems to be a good start. Any volunteer to take it, work on it and send it to me so that I put it inside the source tree? It would be cool if this script actually outputs a file with that format: [xxxxx] Field1=Value1 Field2=Value2 ... so that it can be read by the Settings class. -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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: report Type: application/octet-stream Size: 1327 bytes Desc: not available URL: From dr.diesel at ...626... Mon Aug 24 18:48:22 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Mon, 24 Aug 2009 12:48:22 -0400 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <430532.94730.qm@...1658...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> Message-ID: <2a28d2ab0908240948g36c5d8b7va545919e002eb8d6@...627...> On Mon, Aug 24, 2009 at 12:35 PM, David Villalobos Cambronero < david_villalobos_c at ...43...> wrote: > Hi, this is my first try!! any comment > > Regards > > > -- > David Looks good on the Fedora 10 side. [garage at ...40... Download]$ ./report ./report: line 35: gbx: command not found ./report: line 36: gbx2: command not found [garage at ...40... Download]$ report.log: [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.29.5-84.fc10.x86_64" Distribution="Fedora release 10 (Cambridge)" [Hardwate] [Gambas] Gambas="" Gambas2="" Gambas3="2.99.0" -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From gambas at ...1... Mon Aug 24 18:53:57 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 18:53:57 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <430532.94730.qm@...1658...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> Message-ID: <200908241853.57765.gambas@...1...> > Hi, this is my first try!! any comment > > Regards > > > -- > David > > You must fix the english terms (Operat*ing* system, Hardw*are*, etc.) You must handle distributions that do not use /etc/issue (ex: vector linux, see the prevous mails in this thread). Regards, -- Beno?t From steven at ...1652... Mon Aug 24 18:59:25 2009 From: steven at ...1652... (Steven revimmo) Date: Mon, 24 Aug 2009 18:59:25 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <2a28d2ab0908240948g36c5d8b7va545919e002eb8d6@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <2a28d2ab0908240948g36c5d8b7va545919e002eb8d6@...627...> Message-ID: <1251133165.5877.57.camel@...1936...> And Suse 11.0 : [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.25.20-0.4-pae" Distribution="" [Hardwate] [Gambas] Gambas="" Gambas2="2.8.1" Gambas3="" Steven Le lundi 24 ao?t 2009 ? 12:48 -0400, Dr. Diesel a ?crit : > On Mon, Aug 24, 2009 at 12:35 PM, David Villalobos Cambronero < > david_villalobos_c at ...43...> wrote: > > > Hi, this is my first try!! any comment > > > > Regards > > > > > > -- > > David > > > Looks good on the Fedora 10 side. > > [garage at ...40... Download]$ ./report > ./report: line 35: gbx: command not found > ./report: line 36: gbx2: command not found > [garage at ...40... Download]$ > > > report.log: > > [OperativeSystem] > OperativeSystem="Linux" > KernelRelease="2.6.29.5-84.fc10.x86_64" > Distribution="Fedora release 10 (Cambridge)" > > [Hardwate] > > [Gambas] > Gambas="" > Gambas2="" > Gambas3="2.99.0" > > > From 12ukwn at ...626... Mon Aug 24 18:57:20 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 18:57:20 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <430532.94730.qm@...1658...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> Message-ID: <4A92C670.4000100@...626...> David Villalobos Cambronero a ?crit : > Hi, this is my first try!! any comment ... Debian SID =========== [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.25.4" Distribution="Debian GNU/Linux squeeze/sid \n \l" ==>>> head -n1 /etc/issue | cut -d '\' -f 1 ^^^^^ [Hardwate] [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" =========== It is: OperatingSystem Works ok for me :) JY -- Q: What's the difference between a man and the weekend? A: The weekend never comes too soon. From m0e.lnx at ...626... Mon Aug 24 19:03:44 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:03:44 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92C670.4000100@...626...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C670.4000100@...626...> Message-ID: <1f1e8c1b0908241003t44db7497x7079f9600076abe7@...627...> Ohh, I guess it needs gambas3 I'm still using gambas2 here. Wanted to try it on VectorLinux From 12ukwn at ...626... Mon Aug 24 19:07:58 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:07:58 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241003t44db7497x7079f9600076abe7@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C670.4000100@...626...> <1f1e8c1b0908241003t44db7497x7079f9600076abe7@...627...> Message-ID: <4A92C8EE.7030100@...626...> M0E Lnx a ?crit : > Ohh, I guess it needs gambas3 > > I'm still using gambas2 here. Wanted to try it on VectorLinux take a look @ the script Moe, it covers v.1, v.2 & v.3 -- I marvel at the strength of human weakness. From 12ukwn at ...626... Mon Aug 24 19:09:52 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:09:52 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <430532.94730.qm@...1658...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> Message-ID: <4A92C960.3050904@...626...> David Villalobos Cambronero a ?crit : > Hi, this is my first try!! any comment About Debian: there's also a /etc/debian_version JY -- From m0e.lnx at ...626... Mon Aug 24 19:13:40 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:13:40 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92C960.3050904@...626...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> Message-ID: <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> I see where it detected my gambas version But there is no OS information reported ------------------------- root:$ cat report.log [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.27.29" Distribution="" [Hardwate] [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" ------------------------------ You can search for /etc/vector-version You can also check for /etc/slack-ware version. But I would do /etc/vector-version first, as vector has both. that way, you can correctly identify a vectorlinux install. From joshiggins at ...1601... Mon Aug 24 19:25:35 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 18:25:35 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> Message-ID: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> I've adapted David's original script, adding more distro detection and cpu architecture identification. Attached, writes log to report2.log -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report2 Type: application/octet-stream Size: 1251 bytes Desc: not available URL: From m0e.lnx at ...626... Mon Aug 24 19:36:11 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:36:11 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> Message-ID: <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> I get an error says report2: line 23: [: /etc/slackware-version: binary operator expected From joshiggins at ...1601... Mon Aug 24 19:38:28 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 18:38:28 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> Message-ID: <4247f5440908241038w3f4faca3iff1a63279c21a6b@...627...> Can you post the contents of /etc/slackware-version?? -- joshua higgins >>>>>>------ From m0e.lnx at ...626... Mon Aug 24 19:39:04 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:39:04 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> Message-ID: <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> and the overall output is not good... your quotes are throwin the whole thing off I think ============== #!/bin/bash # System Report # GPL'd # Based on David Villalobos Cambronero's original report script # Collect the data for OS OutputFile='report2.log'; OS="`uname`" KERNEL="`uname -r`" ARCH="`uname -m`" ==================== maybe try OS=$(uname) KERNEL=$(uname -r) ARCH=$(uname -m) From 12ukwn at ...626... Mon Aug 24 19:42:18 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:42:18 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> Message-ID: <4A92D0FA.6010502@...626...> Joshua Higgins a ?crit : > I've adapted David's original script, adding more distro detection and cpu > architecture identification. Debian sid ========== [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.25.4 CPUArchitecture=i686 Distribution=squeeze/sid [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= ========== Looks good :) JY -- printk("ufs_read_super: fucking Sun blows me\n"); -- /usr/src/linux/fs/ufs/ufs_super.c From david_villalobos_c at ...43... Mon Aug 24 19:41:18 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:41:18 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> Message-ID: <846034.55468.qm@...1678...> Thanks Joshua, I'll add your code ASAP, just let me finish some small changes. Can we try this, specially on vector Linux? Please. I now adding ./reconf-all, etc are pending, just be paitient. Regards -- David ----- Original Message ---- From: Joshua Higgins To: mailing list for gambas users Sent: Monday, August 24, 2009 11:25:35 AM Subject: Re: [Gambas-user] Need help / call for volunteers I've adapted David's original script, adding more distro detection and cpu architecture identification. Attached, writes log to report2.log -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report Type: application/octet-stream Size: 1681 bytes Desc: not available URL: From gambas at ...1... Mon Aug 24 19:43:20 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 19:43:20 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> Message-ID: <200908241943.20810.gambas@...1...> > and the overall output is not good... > > your quotes are throwin the whole thing off I think > > ============== > #!/bin/bash > > # System Report > # GPL'd > # Based on David Villalobos Cambronero's original report script > > # Collect the data for OS > > OutputFile='report2.log'; > > > OS="`uname`" > KERNEL="`uname -r`" > ARCH="`uname -m`" > > ==================== > maybe try > OS=$(uname) > KERNEL=$(uname -r) > ARCH=$(uname -m) > /usr/bin/gbx* are symbolic links that points at where Gambas is installed, so it would be cool to use it to get the Gambas installation path. -- Beno?t From joshiggins at ...1601... Mon Aug 24 19:44:46 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 18:44:46 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> Message-ID: <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> M0E Lnx, can you try this? 2009/8/24 M0E Lnx > and the overall output is not good... > > your quotes are throwin the whole thing off I think > > ============== > #!/bin/bash > > # System Report > # GPL'd > # Based on David Villalobos Cambronero's original report script > > # Collect the data for OS > > OutputFile='report2.log'; > > > OS="`uname`" > KERNEL="`uname -r`" > ARCH="`uname -m`" > > ==================== > maybe try > OS=$(uname) > KERNEL=$(uname -r) > ARCH=$(uname -m) > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report2 Type: application/octet-stream Size: 1241 bytes Desc: not available URL: From jussi.lahtinen at ...626... Mon Aug 24 19:44:56 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 24 Aug 2009 20:44:56 +0300 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> Message-ID: <384d3900908241044q1941400fwa79a869a444fa768@...627...> Hmmm.... I run it from Desktop, did I do something wrong? @Ubuntu 9.04 64bit [: 35: -a: unexpected operator [: 35: -a: unexpected operator [: 35: -a: unexpected operator [: 35: -a: unexpected operator report2: 39: gbx: not found (I haven't install Gambas1) Report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.28-15-generic CPUArchitecture=x86_64 Distribution= [Gambas] Gambas1= Gambas2=2.10.2 Gambas3=2.99.0 Jussi On Mon, Aug 24, 2009 at 20:39, M0E Lnx wrote: > and the overall output is not good... > > your quotes are throwin the whole thing off I think > > ============== > #!/bin/bash > > # System Report > # GPL'd > # Based on David Villalobos Cambronero's original report script > > # Collect the data for OS > > OutputFile='report2.log'; > > > OS="`uname`" > KERNEL="`uname -r`" > ARCH="`uname -m`" > > ==================== > maybe try > OS=$(uname) > KERNEL=$(uname -r) > ARCH=$(uname -m) > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dr.diesel at ...626... Mon Aug 24 19:47:30 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Mon, 24 Aug 2009 13:47:30 -0400 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> Message-ID: <2a28d2ab0908241047s26311019geaa3865031935920@...627...> On Mon, Aug 24, 2009 at 1:44 PM, Joshua Higgins wrote: > M0E Lnx, can you try this? > > 2009/8/24 M0E Lnx > > > and the overall output is not good... > > > > your quotes are throwin the whole thing off I think > > > > ============== > > #!/bin/bash > > > > # System Report > > # GPL'd > > # Based on David Villalobos Cambronero's original report script > > > > # Collect the data for OS > > > > OutputFile='report2.log'; > > > > > > OS="`uname`" > > KERNEL="`uname -r`" > > ARCH="`uname -m`" > > > > ==================== > > maybe try > > OS=$(uname) > > KERNEL=$(uname -r) > > ARCH=$(uname -m) > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Fedora requires /etc/*release or /etc/issue, /etc*-release does not work! Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From david_villalobos_c at ...43... Mon Aug 24 19:46:43 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:46:43 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908241943.20810.gambas@...1...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <200908241943.20810.gambas@...1...> Message-ID: <820335.30038.qm@...1670...> Ok, I'll check that. Regards -- David ----- Original Message ---- From: Beno?t Minisini To: mailing list for gambas users Sent: Monday, August 24, 2009 11:43:20 AM Subject: Re: [Gambas-user] Need help / call for volunteers > and the overall output is not good... > > your quotes are throwin the whole thing off I think > > ============== > #!/bin/bash > > # System Report > # GPL'd > # Based on David Villalobos Cambronero's original report script > > # Collect the data for OS > > OutputFile='report2.log'; > > > OS="`uname`" > KERNEL="`uname -r`" > ARCH="`uname -m`" > > ==================== > maybe try > OS=$(uname) > KERNEL=$(uname -r) > ARCH=$(uname -m) > /usr/bin/gbx* are symbolic links that points at where Gambas is installed, so it would be cool to use it to get the Gambas installation path. -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Mon Aug 24 19:41:18 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:41:18 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> Message-ID: <846034.55468.qm@...1678...> Thanks Joshua, I'll add your code ASAP, just let me finish some small changes. Can we try this, specially on vector Linux? Please. I now adding ./reconf-all, etc are pending, just be paitient. Regards -- David ----- Original Message ---- From: Joshua Higgins To: mailing list for gambas users Sent: Monday, August 24, 2009 11:25:35 AM Subject: Re: [Gambas-user] Need help / call for volunteers I've adapted David's original script, adding more distro detection and cpu architecture identification. Attached, writes log to report2.log -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report Type: application/octet-stream Size: 1681 bytes Desc: not available URL: From m0e.lnx at ...626... Mon Aug 24 19:50:53 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:50:53 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <384d3900908241044q1941400fwa79a869a444fa768@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <384d3900908241044q1941400fwa79a869a444fa768@...627...> Message-ID: <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> Still not good on Vector ============== vluser:$ cat report.log [OperatingSystem] OperatingSystem="Linux" KernelRelease="2.6.27.29" [Distribution] ID="" RELEASE="" CODENAME="" DESCRIPTION= [Hardware] Architecture="2.6.27.29" [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" ====================== And here is the complete output of report2.log ================== vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= =========================== From Karl.Reinl at ...9... Mon Aug 24 19:52:42 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 24 Aug 2009 19:52:42 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908241853.57765.gambas@...1...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <200908241853.57765.gambas@...1...> Message-ID: <1251136362.6419.18.camel@...40...> Salut, about, sysinfo.sh the infos about distros, worked at the time I'v used them, today only for Ubuntu I can confirm that. the gambas2/3 Revision is not puled out from svn, so it my be not the one who is finally/successfully installed on the box. It would be useful to know from Benoit, which versions are not needed and which one are needed and not in the list. One I added this afternoon for Qt4 : echo ----------------- QT4 --------------------------------------------------------------------->> sysInfo.log 2>&1 dpkg -p libqt4-core >> sysInfo.log 2>&1 and ther are nothing for KDE4 Some info's could be shorter with a egrep or grep -e Charlie Am Montag, den 24.08.2009, 18:53 +0200 schrieb Beno?t Minisini: > > Hi, this is my first try!! any comment > > > > Regards > > > > > > -- > > David > > > > > > You must fix the english terms (Operat*ing* system, Hardw*are*, etc.) > > You must handle distributions that do not use /etc/issue (ex: vector linux, > see the prevous mails in this thread). > > Regards, > From 12ukwn at ...626... Mon Aug 24 19:53:41 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:53:41 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908241943.20810.gambas@...1...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <200908241943.20810.gambas@...1...> Message-ID: <4A92D3A5.2040307@...626...> Beno?t Minisini a ?crit : ... > /usr/bin/gbx* are symbolic links that points at where Gambas is installed, so > it would be cool to use it to get the Gambas installation path. ls -Al /usr/bin/gbx* -- From joshiggins at ...1601... Mon Aug 24 19:54:33 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 18:54:33 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <384d3900908241044q1941400fwa79a869a444fa768@...627...> <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> Message-ID: <4247f5440908241054g68ba6e32m5f64c907c0835b45@...627...> M0E Lnx: I think that there are two /etc/*-version files for Vector, and my script only expects there to be 1. 2009/8/24 M0E Lnx > Still not good on Vector > > ============== > vluser:$ cat report.log > [OperatingSystem] > OperatingSystem="Linux" > KernelRelease="2.6.27.29" > > [Distribution] > ID="" > RELEASE="" > CODENAME="" > DESCRIPTION= > > [Hardware] > Architecture="2.6.27.29" > > [Gambas] > Gambas="" > Gambas2="2.15.2" > Gambas3="" > ====================== > > And here is the complete output of report2.log > ================== > vluser:$ sh report2 > report2: line 22: [: /etc/slackware-version: binary operator expected > report2: line 39: gbx: command not found > report2: line 41: gbx3: command not found > VLVM:/~/Downloads > vluser:$ cat report2.log > [OperatingSystem] > > OperatingSystem=Linux > KernelRelease=2.6.27.29 > CPUArchitecture=i686 > Distribution= > > [Gambas] > Gambas1= > Gambas2=2.15.2 > Gambas3= > =========================== > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From 12ukwn at ...626... Mon Aug 24 19:56:13 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:56:13 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> Message-ID: <4A92D43D.6020400@...626...> Joshua Higgins a ?crit : > M0E Lnx, can you try this? > > 2009/8/24 M0E Lnx > >> and the overall output is not good... >> >> your quotes are throwin the whole thing off I think ... V2 is also ok for Debian -- From david_villalobos_c at ...43... Mon Aug 24 19:55:33 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:55:33 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <384d3900908241044q1941400fwa79a869a444fa768@...627...> <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> Message-ID: <762368.50234.qm@...1655...> The same for any other distro? Regards -- David ----- Original Message ---- From: M0E Lnx To: mailing list for gambas users Sent: Monday, August 24, 2009 11:50:53 AM Subject: Re: [Gambas-user] Need help / call for volunteers Still not good on Vector ============== vluser:$ cat report.log [OperatingSystem] OperatingSystem="Linux" KernelRelease="2.6.27.29" [Distribution] ID="" RELEASE="" CODENAME="" DESCRIPTION= [Hardware] Architecture="2.6.27.29" [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" ====================== And here is the complete output of report2.log ================== vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= =========================== ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From 12ukwn at ...626... Mon Aug 24 19:59:06 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 19:59:06 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <846034.55468.qm@...1678...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <846034.55468.qm@...1678...> Message-ID: <4A92D4EA.3050206@...626...> David Villalobos Cambronero a ?crit : > Thanks Joshua, I'll add your code ASAP, just let me finish some small changes. > > Can we try this, specially on vector Linux? Please. > > I now adding ./reconf-all, etc are pending, just be paitient. PB under Debian: ================ sed: impossible de lire /etc/lsb-release: Aucun fichier ou dossier de ce type sed: impossible de lire /etc/lsb-release: Aucun fichier ou dossier de ce type sed: impossible de lire /etc/lsb-release: Aucun fichier ou dossier de ce type sed: impossible de lire /etc/lsb-release: Aucun fichier ou dossier de ce type ./report: line 42: gbx : commande introuvable ./report: line 44: gbx3 : commande introuvable Output: ======= [OperatingSystem] OperatingSystem="Linux" KernelRelease="2.6.25.4" [Distribution] ID="" RELEASE="" CODENAME="" DESCRIPTION= [Hardware] Architecture="2.6.25.4" [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" Architecture is relevant. JY -- From m0e.lnx at ...626... Mon Aug 24 19:59:40 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 12:59:40 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92D43D.6020400@...626...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> <4A92D43D.6020400@...626...> Message-ID: <1f1e8c1b0908241059o7a6418b9qe2e852bbdac14fec@...627...> As I said before, vector has both, /etc/vector-version and /etc/slackware-version From m0e.lnx at ...626... Mon Aug 24 20:02:12 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 13:02:12 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92D4EA.3050206@...626...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <846034.55468.qm@...1678...> <4A92D4EA.3050206@...626...> Message-ID: <1f1e8c1b0908241102j4496497bj8edb10f4d9ebb981@...627...> I think most slackware derivates have 2 also.. I know ubuntu has a ubuntu and a debian identifier as well this is not unique to vectorlinux From joshiggins at ...1601... Mon Aug 24 20:04:59 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 19:04:59 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241102j4496497bj8edb10f4d9ebb981@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <846034.55468.qm@...1678...> <4A92D4EA.3050206@...626...> <1f1e8c1b0908241102j4496497bj8edb10f4d9ebb981@...627...> Message-ID: <4247f5440908241104r7188b1b5kd22cdf3c886a5a92@...627...> Just to let everyone know, I'm working on reliably detecting the distro... 2009/8/24 M0E Lnx > I think most slackware derivates have 2 also.. > I know ubuntu has a ubuntu and a debian identifier as well > > this is not unique to vectorlinux > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From david_villalobos_c at ...43... Mon Aug 24 19:55:33 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:55:33 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <384d3900908241044q1941400fwa79a869a444fa768@...627...> <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> Message-ID: <762368.50234.qm@...1655...> The same for any other distro? Regards -- David ----- Original Message ---- From: M0E Lnx To: mailing list for gambas users Sent: Monday, August 24, 2009 11:50:53 AM Subject: Re: [Gambas-user] Need help / call for volunteers Still not good on Vector ============== vluser:$ cat report.log [OperatingSystem] OperatingSystem="Linux" KernelRelease="2.6.27.29" [Distribution] ID="" RELEASE="" CODENAME="" DESCRIPTION= [Hardware] Architecture="2.6.27.29" [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" ====================== And here is the complete output of report2.log ================== vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= =========================== ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From 12ukwn at ...626... Mon Aug 24 20:09:08 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 20:09:08 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241059o7a6418b9qe2e852bbdac14fec@...627...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> <4A92D43D.6020400@...626...> <1f1e8c1b0908241059o7a6418b9qe2e852bbdac14fec@...627...> Message-ID: <4A92D744.3010707@...626...> M0E Lnx a ?crit : > As I said before, vector has both, /etc/vector-version and > /etc/slackware-version bad vektor, change vektor. it seems it is the only distro that has a doublon as /etc/*-version ... make sure it is native and don't come from a change/upgrade -- From 12ukwn at ...626... Mon Aug 24 20:12:54 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 20:12:54 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241102j4496497bj8edb10f4d9ebb981@...627...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <846034.55468.qm@...1678...> <4A92D4EA.3050206@...626...> <1f1e8c1b0908241102j4496497bj8edb10f4d9ebb981@...627...> Message-ID: <4A92D826.7000105@...626...> M0E Lnx a ?crit : > I think most slackware derivates have 2 also.. > I know ubuntu has a ubuntu and a debian identifier as well > > this is not unique to vectorlinux PLS answer against the good node, otherwise this heavy thread will fast look like crap. -- From m0e.lnx at ...626... Mon Aug 24 20:17:04 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 13:17:04 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92D744.3010707@...626...> References: <200908182308.28684.gambas@...1...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <4247f5440908241044r6dd84a0ch1d1f675a636aa897@...627...> <4A92D43D.6020400@...626...> <1f1e8c1b0908241059o7a6418b9qe2e852bbdac14fec@...627...> <4A92D744.3010707@...626...> Message-ID: <1f1e8c1b0908241117ncb51df7v780f3792a3990f54@...627...> Change distro is not the answer.... Detect it is the answer. I know for afact other distros that are derived from something else have 2 also. maybe you should take a look at this detection script from os-prober http://nopaste.com/p/ayiMYbr8cb From mconfortino at ...1877... Mon Aug 24 20:10:26 2009 From: mconfortino at ...1877... (Marcelo Confortino) Date: Mon, 24 Aug 2009 15:10:26 -0300 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <430532.94730.qm@...1658...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> Message-ID: <4A92D792.3000107@...1877...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gentoo: [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.27-gentoo-r8" Distribution="" [Hardwate] [Gambas] Gambas="gbx-1.0.19" Gambas2="2.13.0" Gambas3="" Nice work! M. David Villalobos Cambronero escribi?: > Hi, this is my first try!! any comment > > Regards > > > -- > David > > > > ----- Original Message ---- > From: David Villalobos Cambronero > To: mailing list for gambas users > Sent: Monday, August 24, 2009 9:39:19 AM > Subject: Re: [Gambas-user] Need help / call for volunteers > > Ok, I'll take it. > > Regards > > > -- > David > > > > ----- Original Message ---- > From: Beno?t Minisini > To: mailing list for gambas users > Sent: Monday, August 24, 2009 9:29:50 AM > Subject: Re: [Gambas-user] Need help / call for volunteers > >> Hi, at the and, any volunteers? >> >> Regards >> >> >> -- >> David >> > > Charlie's script seems to be a good start. > > Any volunteer to take it, work on it and send it to me so that I put it inside > the source tree? > > It would be cool if this script actually outputs a file with that format: > > [xxxxx] > Field1=Value1 > Field2=Value2 > ... > > so that it can be read by the Settings class. > > > ---------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > ---------------------------------------------------------------------- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqS15EACgkQ6+gNQbxrPhohPACdEAMRin5Bb6se22ETlonnaFog DboAoM/L+SlQRQ9jZ3a9YJO7Gy6DPj+G =uW+L -----END PGP SIGNATURE----- __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar From mconfortino at ...1877... Mon Aug 24 20:13:20 2009 From: mconfortino at ...1877... (Marcelo Confortino) Date: Mon, 24 Aug 2009 15:13:20 -0300 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> Message-ID: <4A92D840.9000104@...1877...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gentoo: [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27-gentoo-r8 CPUArchitecture=i686 Distribution=Gentoo Base System release 1.12.11.1 [Gambas] Gambas1=gbx-1.0.19 Gambas2=2.13.0 Gambas3= M. Joshua Higgins escribi?: > I've adapted David's original script, adding more distro detection > and cpu architecture identification. > > Attached, writes log to report2.log > > > > ---------------------------------------------------------------------- > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports > 2008 30-Day trial. Simplify your report design, integration and > deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july > > ---------------------------------------------------------------------- > > > _______________________________________________ Gambas-user mailing > list Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqS2EAACgkQ6+gNQbxrPhrQ7ACgyTEbrDlRoub+YwoRi84GjGaQ EWsAoL6l1cSR8YSElXK+GXte4fpy8982 =uDjA -----END PGP SIGNATURE----- __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar From david_villalobos_c at ...43... Mon Aug 24 19:55:33 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 10:55:33 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <1f1e8c1b0908241036l151e44e5g66310b8d5da12845@...627...> <1f1e8c1b0908241039t34a6f8c1u8b5237e146630735@...627...> <384d3900908241044q1941400fwa79a869a444fa768@...627...> <1f1e8c1b0908241050l50e3f8aaw1dd9efbe03e09116@...627...> Message-ID: <762368.50234.qm@...1655...> The same for any other distro? Regards -- David ----- Original Message ---- From: M0E Lnx To: mailing list for gambas users Sent: Monday, August 24, 2009 11:50:53 AM Subject: Re: [Gambas-user] Need help / call for volunteers Still not good on Vector ============== vluser:$ cat report.log [OperatingSystem] OperatingSystem="Linux" KernelRelease="2.6.27.29" [Distribution] ID="" RELEASE="" CODENAME="" DESCRIPTION= [Hardware] Architecture="2.6.27.29" [Gambas] Gambas="" Gambas2="2.15.2" Gambas3="" ====================== And here is the complete output of report2.log ================== vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= =========================== ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From joshiggins at ...1601... Mon Aug 24 21:11:51 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 20:11:51 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92D840.9000104@...1877...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> Message-ID: <4247f5440908241211g37412123scdf46a812c836a71@...627...> OK, So I've thought about this.... It seems that its not feasible to expect only one /etc/*-release or any file describing the distribution. As M0E Lnx said, most derivatives will have more than one. Detecting using the * symbol is also too unreliable, and cannot handle multiple matches easily. I've attached report-ng, which hopefully should reliably detect every distro listed on this page http://gambasdoc.org/help/doc/distro?en&view, including Vector (not currently listed). Its similar to the os-prober script, except its much much easier to add support for detection of more distributions. Its a good idea to place derivative distributions before the distro that they are based on in the script, so that those locations are checked first, and it doesn't, for example, report Vector as being Slackware, because the script found slackware's version file first and so stops looking. This script also finds the path to the gambas executables, and suppresses error messages making it into the output file. It might also be handy to ask the user if the script is unable to identify the distro properly, and send the data back to whoever maintains this for adding detection in. Please test this if you can... -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report-ng Type: application/octet-stream Size: 2617 bytes Desc: not available URL: From m0e.lnx at ...626... Mon Aug 24 21:17:55 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 24 Aug 2009 14:17:55 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241211g37412123scdf46a812c836a71@...627...> References: <200908182308.28684.gambas@...1...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> Message-ID: <1f1e8c1b0908241217y614ff8b6q9e2bd29edf78b218@...627...> that works here ================= vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 DistributionVendor=vector DistributionRelease=Vector Linux 6.0 SOHO Alpha 1.16 [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/bin/gbx2 Gambas3=Not Installed ====================================== From dr.diesel at ...626... Mon Aug 24 21:19:47 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Mon, 24 Aug 2009 15:19:47 -0400 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1f1e8c1b0908241217y614ff8b6q9e2bd29edf78b218@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1f1e8c1b0908241217y614ff8b6q9e2bd29edf78b218@...627...> Message-ID: <2a28d2ab0908241219g7e5a82ebh45b0f11b58f2aba9@...627...> On Mon, Aug 24, 2009 at 3:17 PM, M0E Lnx wrote: > that works here > ================= > vluser:$ cat report2.log > [OperatingSystem] > > OperatingSystem=Linux > KernelRelease=2.6.27.29 > CPUArchitecture=i686 > DistributionVendor=vector > DistributionRelease=Vector Linux 6.0 SOHO Alpha 1.16 > > [Gambas] > Gambas1=Not Installed > Gambas2=2.15.2 > Gambas2Path=/usr/bin/gbx2 > Gambas3=Not Installed > ====================================== And here: [garage at ...40... Download]$ ./report-ng System Report for Gambas Found distro information at /etc/redhat-release! Detected distro: redhat Saved to report2.log Done. [garage at ...40... Download]$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.29.5-84.fc10.x86_64 CPUArchitecture=x86_64 DistributionVendor=redhat DistributionRelease=Fedora release 10 (Cambridge) [Gambas] Gambas1=Not Installed Gambas2=Not Installed Gambas3=2.99.0 Gambas3Path= [garage at ...40... Download]$ -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From 12ukwn at ...626... Mon Aug 24 21:32:24 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 21:32:24 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241211g37412123scdf46a812c836a71@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> Message-ID: <4A92EAC8.8030808@...626...> Joshua Higgins a ?crit : ... > Please test this if you can... Seems to work ok under Debian sid: ================================== [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.25.4 CPUArchitecture=i686 DistributionVendor=debian DistributionRelease=squeeze/sid [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/bin/gbx2 Gambas3=Not Installed I guess this is most needed for ML reports (and for B?n??t:) However, for web compatibility reporting, this quest could last a long time. Somebody recently posted about: http://www.cdash.org/ this may be THE (web reporting) solution, as it is very easy to add a new distro (also to add an existing but modified distro, such as, for example, Debian Lenny + backports) JY -- If men couldn't fuck there'd be a bounty on their heads. From gambas.fr at ...626... Mon Aug 24 21:42:38 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 21:42:38 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A92EAC8.8030808@...626...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> Message-ID: <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> fabien at ...1008...:~$ sh report-ng System Report for Gambas Found distro information at /etc/lsb-release! Detected distro: ubuntu Saved to report2.log Done. fabien at ...1008...:~$ cat report report2.log report-ng fabien at ...1008...:~$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.28-14-generic CPUArchitecture=x86_64 DistributionVendor=ubuntu DistributionRelease="Ubuntu 9.04" [Gambas] Gambas1=Not Installed Gambas2=2.8.2 Gambas2Path=/usr/bin/gbx2 Gambas3=2.99.0 Gambas3Path= fabien at ...1008...:~$ it work well here too... just ... you have a blank line after "[OperatingSystem]" 2009/8/24 Jean-Yves F. Barbier <12ukwn at ...626...>: > Joshua Higgins a ?crit : > ... >> Please test this if you can... > > Seems to work ok under Debian sid: > ================================== > > [OperatingSystem] > > OperatingSystem=Linux > KernelRelease=2.6.25.4 > CPUArchitecture=i686 > DistributionVendor=debian > DistributionRelease=squeeze/sid > > [Gambas] > Gambas1=Not Installed > Gambas2=2.15.2 > Gambas2Path=/usr/bin/gbx2 > Gambas3=Not Installed > > > I guess this is most needed for ML reports (and for B?n??t:) > > However, for web compatibility reporting, this quest could last > a long time. > Somebody recently posted about: http://www.cdash.org/ > this may be THE (web reporting) solution, as it is very easy to > add a new distro (also to add an existing but modified distro, > such as, for example, Debian Lenny + backports) > > JY > -- > If men couldn't fuck there'd be a bounty on their heads. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Mon Aug 24 21:48:17 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 20:48:17 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> Message-ID: <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> > > it work well here too... just ... you have a blank line after > "[OperatingSystem]" > At the moment, I'm unsure whether to keep updating and attaching this script until we know the status of David's script and how far he is along... However the blank line is by accident... nothing should be there :-) -- joshua higgins >>>>>>------ From gambas.fr at ...626... Mon Aug 24 21:52:53 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 21:52:53 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> Message-ID: <6324a42a0908241252u5a563a4amc394d552802704f2@...627...> This is a little modification to get the true gambas path ... in every distrib :) GAMBASPATH=$(which gbx 2>/dev/null) GAMBAS2PATH=$(which gbx2 2>/dev/null) GAMBAS3PATH=$(which gbx3 2>/dev/null) 2009/8/24 Fabien Bodard : > fabien at ...1008...:~$ sh report-ng > System Report for Gambas > Found distro information at /etc/lsb-release! > Detected distro: ubuntu > Saved to report2.log > Done. > fabien at ...1008...:~$ cat report > report2.log ?report-ng > fabien at ...1008...:~$ cat report2.log > [OperatingSystem] > > OperatingSystem=Linux > KernelRelease=2.6.28-14-generic > CPUArchitecture=x86_64 > DistributionVendor=ubuntu > DistributionRelease="Ubuntu 9.04" > > [Gambas] > Gambas1=Not Installed > Gambas2=2.8.2 > Gambas2Path=/usr/bin/gbx2 > Gambas3=2.99.0 > Gambas3Path= > fabien at ...1008...:~$ > > > it work well here too... just ... you have a blank line after > "[OperatingSystem]" > > > > 2009/8/24 Jean-Yves F. Barbier <12ukwn at ...626...>: >> Joshua Higgins a ?crit : >> ... >>> Please test this if you can... >> >> Seems to work ok under Debian sid: >> ================================== >> >> [OperatingSystem] >> >> OperatingSystem=Linux >> KernelRelease=2.6.25.4 >> CPUArchitecture=i686 >> DistributionVendor=debian >> DistributionRelease=squeeze/sid >> >> [Gambas] >> Gambas1=Not Installed >> Gambas2=2.15.2 >> Gambas2Path=/usr/bin/gbx2 >> Gambas3=Not Installed >> >> >> I guess this is most needed for ML reports (and for B?n??t:) >> >> However, for web compatibility reporting, this quest could last >> a long time. >> Somebody recently posted about: http://www.cdash.org/ >> this may be THE (web reporting) solution, as it is very easy to >> add a new distro (also to add an existing but modified distro, >> such as, for example, Debian Lenny + backports) >> >> JY >> -- >> If men couldn't fuck there'd be a bounty on their heads. >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> 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: report-ng Type: application/octet-stream Size: 2590 bytes Desc: not available URL: From gambas.fr at ...626... Mon Aug 24 21:55:53 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 21:55:53 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> References: <200908182308.28684.gambas@...1...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> Message-ID: <6324a42a0908241255x247e6e04h6740cdfee6911134@...627...> without the blank line 2009/8/24 Joshua Higgins : >> >> it work well here too... just ... you have a blank line after >> "[OperatingSystem]" >> > > At the moment, I'm unsure whether to keep updating and attaching this script > until we know the status of David's script and how far he is along... > > However the blank line is by accident... nothing should be there :-) > > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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: report-ng Type: application/octet-stream Size: 2567 bytes Desc: not available URL: From Karl.Reinl at ...9... Mon Aug 24 21:59:13 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 24 Aug 2009 21:59:13 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241211g37412123scdf46a812c836a71@...627...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908182006r2234817ck70e69ddc71ad93f5@...627...> <742763.62706.qm@...1655...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> Message-ID: <1251143953.6419.26.camel@...40...> ---------------8<-------------------------- > Please test this if you can... here path not found e at ...1622...:~$ which gbx3 /usr/local/bin/gbx3 [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.24-24-generic CPUArchitecture=i686 DistributionVendor=ubuntu DistributionRelease="Ubuntu 8.04.3 LTS" [Gambas] Gambas1=gbx-1.0.17 Gambas1Path=/usr/bin/gbx Gambas2=2.15.2 Gambas2Path= Gambas3=2.99.0 Gambas3Path= From gambas.fr at ...626... Mon Aug 24 22:04:46 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 22:04:46 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1251143953.6419.26.camel@...40...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> Message-ID: <6324a42a0908241304q40d388f3v331336341742eee4@...627...> could you try with the file i send ? 2009/8/24 Charlie Reinl : > ---------------8<-------------------------- >> Please test this if you can... > > here path not found > > e at ...1622...:~$ which gbx3 > /usr/local/bin/gbx3 > > [OperatingSystem] > > OperatingSystem=Linux > KernelRelease=2.6.24-24-generic > CPUArchitecture=i686 > DistributionVendor=ubuntu > DistributionRelease="Ubuntu 8.04.3 LTS" > > [Gambas] > Gambas1=gbx-1.0.17 > Gambas1Path=/usr/bin/gbx > Gambas2=2.15.2 > Gambas2Path= > Gambas3=2.99.0 > Gambas3Path= > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From david_villalobos_c at ...43... Mon Aug 24 22:07:26 2009 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 24 Aug 2009 13:07:26 -0700 (PDT) Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> References: <200908182308.28684.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> Message-ID: <94468.28830.qm@...1678...> Well, I think you're closer than me. So you can finish the job. Regards -- David ----- Original Message ---- From: Joshua Higgins To: mailing list for gambas users Sent: Monday, August 24, 2009 1:48:17 PM Subject: Re: [Gambas-user] Need help / call for volunteers > > it work well here too... just ... you have a blank line after > "[OperatingSystem]" > At the moment, I'm unsure whether to keep updating and attaching this script until we know the status of David's script and how far he is along... However the blank line is by accident... nothing should be there :-) -- joshua higgins >>>>>>------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Mon Aug 24 22:42:39 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Aug 2009 22:42:39 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <94468.28830.qm@...1678...> References: <200908182308.28684.gambas@...1...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <4A92EAC8.8030808@...626...> <6324a42a0908241242w117020cj22dc0f5c4a5ab2ff@...627...> <4247f5440908241248k7919ec47t51cec9afefbfc4eb@...627...> <94468.28830.qm@...1678...> Message-ID: <6324a42a0908241342m6c0367a9u345d7383ad6d6c0d@...627...> 2009/8/24 David Villalobos Cambronero : > Well, I think you're closer than me. So you can finish the job. i've just corrected two line you know ... i'm not really good at the sh game :) finish it please as i've not more time than you regards > > ?Regards > > > -- > David > > > > ----- Original Message ---- > From: Joshua Higgins > To: mailing list for gambas users > Sent: Monday, August 24, 2009 1:48:17 PM > Subject: Re: [Gambas-user] Need help / call for volunteers > >> >> it work well here too... just ... you have a blank line after >> "[OperatingSystem]" >> > > At the moment, I'm unsure whether to keep updating and attaching this script > until we know the status of David's script and how far he is along... > > However the blank line is by accident... nothing should be there :-) > > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...9... Mon Aug 24 22:48:59 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 24 Aug 2009 22:48:59 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <6324a42a0908241304q40d388f3v331336341742eee4@...627...> References: <200908182308.28684.gambas@...1...> <200908241729.50282.gambas@...1...> <260884.48849.qm@...1782...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> Message-ID: <1251146939.6419.29.camel@...40...> Am Montag, den 24.08.2009, 22:04 +0200 schrieb Fabien Bodard: > could you try with the file i send ? > > 2009/8/24 Charlie Reinl : > > ---------------8<-------------------------- > >> Please test this if you can... > > > > here path not found > > > > e at ...1622...:~$ which gbx3 > > /usr/local/bin/gbx3 > > > > [OperatingSystem] > > > > OperatingSystem=Linux > > KernelRelease=2.6.24-24-generic > > CPUArchitecture=i686 > > DistributionVendor=ubuntu > > DistributionRelease="Ubuntu 8.04.3 LTS" > > > > [Gambas] > > Gambas1=gbx-1.0.17 > > Gambas1Path=/usr/bin/gbx > > Gambas2=2.15.2 > > Gambas2Path= > > Gambas3=2.99.0 > > Gambas3Path= > > > > used Fabiens version, good so! [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.24-24-generic CPUArchitecture=i686 DistributionVendor=ubuntu DistributionRelease="Ubuntu 8.04.3 LTS" [Gambas] Gambas1=gbx-1.0.17 Gambas1Path=/usr/bin/gbx Gambas2=2.15.2 Gambas2Path=/usr/local/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 From joshiggins at ...1601... Mon Aug 24 23:09:19 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 24 Aug 2009 22:09:19 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <1251146939.6419.29.camel@...40...> References: <200908182308.28684.gambas@...1...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> Message-ID: <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> Okay, so this version of the script with the additions by Fabien seems to be fairly stable. Also now includes system total ram. Now outputs to gambas_report.log instead of report2.log. -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report-ng Type: application/octet-stream Size: 2795 bytes Desc: not available URL: From dr.diesel at ...626... Mon Aug 24 23:16:35 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Mon, 24 Aug 2009 17:16:35 -0400 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <200908241621.21802.gambas@...1...> References: <200908241621.21802.gambas@...1...> Message-ID: <2a28d2ab0908241416u2d7be44cr8c7680635bdf5d2c@...627...> 2009/8/24 Beno?t Minisini > Hi, > > In Gambas 3 IDE, you can now modify the contents of local variables, global > variables, and any field in debugger watch windows. While debugging of > course... > > This feature is fresh, so you may have crashes! > > Regards, > > -- > Beno?t You sir, are the man! Many thanks for such a great enviroment! This post got me wondering, the roadmap on the gambas website does not mention any date for the v3 release? Any available guess/estimate? Although svn has been serving me just fine :D Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From Karl.Reinl at ...9... Mon Aug 24 23:21:18 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 24 Aug 2009 23:21:18 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> References: <200908182308.28684.gambas@...1...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> Message-ID: <1251148878.6419.31.camel@...40...> Am Montag, den 24.08.2009, 22:09 +0100 schrieb Joshua Higgins: > Okay, so this version of the script with the additions by Fabien seems to be > fairly stable. > > Also now includes system total ram. > > Now outputs to gambas_report.log instead of report2.log. looks OK. [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.24-24-generic DistributionVendor=ubuntu DistributionRelease="Ubuntu 8.04.3 LTS" [System] CPUArchitecture=i686 TotalRam=506932 kB [Gambas] Gambas1=gbx-1.0.17 Gambas1Path=/usr/bin/gbx Gambas2=2.15.2 Gambas2Path=/usr/local/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 From 12ukwn at ...626... Mon Aug 24 23:21:32 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Mon, 24 Aug 2009 23:21:32 +0200 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> References: <200908182308.28684.gambas@...1...> <430532.94730.qm@...1658...> <4A92C960.3050904@...626...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> Message-ID: <4A93045C.6020608@...626...> Joshua Higgins a ?crit : > Okay, so this version of the script with the additions by Fabien seems to be > fairly stable. > > Also now includes system total ram. > > Now outputs to gambas_report.log instead of report2.log. Works good with Debian sid: =========================== [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.25.4 DistributionVendor=debian DistributionRelease=squeeze/sid [System] CPUArchitecture=i686 TotalRam=1556336 kB [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/bin/gbx2 Gambas3=Not Installed -- From gambas at ...1... Mon Aug 24 23:24:30 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 24 Aug 2009 23:24:30 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <2a28d2ab0908241416u2d7be44cr8c7680635bdf5d2c@...627...> References: <200908241621.21802.gambas@...1...> <2a28d2ab0908241416u2d7be44cr8c7680635bdf5d2c@...627...> Message-ID: <200908242324.30548.gambas@...1...> > 2009/8/24 Beno?t Minisini > > > Hi, > > > > In Gambas 3 IDE, you can now modify the contents of local variables, > > global variables, and any field in debugger watch windows. While > > debugging of course... > > > > This feature is fresh, so you may have crashes! > > > > Regards, > > > > -- > > Beno?t > > You sir, are the man! Many thanks for such a great enviroment! > > This post got me wondering, the roadmap on the gambas website does not > mention any date for the v3 release? Any available guess/estimate? > Although svn has been serving me just fine :D > > Andy The problem is the following: either I don't release a v3 soon, which may be a bad idea, or I release a v3 "soon", but I have to implement sort of independant versioning system for each Gambas part so that I can add the missing features later. At the moment, I choose the second solution, except that I don't know exactly how to implement the independant versioning system. Must think about it more... Regards, -- Beno?t From Karl.Reinl at ...9... Mon Aug 24 23:41:43 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 24 Aug 2009 23:41:43 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <200908242324.30548.gambas@...1...> References: <200908241621.21802.gambas@...1...> <2a28d2ab0908241416u2d7be44cr8c7680635bdf5d2c@...627...> <200908242324.30548.gambas@...1...> Message-ID: <1251150103.6419.36.camel@...40...> Am Montag, den 24.08.2009, 23:24 +0200 schrieb Beno?t Minisini: > > 2009/8/24 Beno?t Minisini > > > > > Hi, > > > > > > In Gambas 3 IDE, you can now modify the contents of local variables, > > > global variables, and any field in debugger watch windows. While > > > debugging of course... > > > > > > This feature is fresh, so you may have crashes! > > > > > > Regards, > > > > > > -- > > > Beno?t > > > > You sir, are the man! Many thanks for such a great enviroment! > > > > This post got me wondering, the roadmap on the gambas website does not > > mention any date for the v3 release? Any available guess/estimate? > > Although svn has been serving me just fine :D > > > > Andy > > The problem is the following: either I don't release a v3 soon, which may be a > bad idea, or I release a v3 "soon", but I have to implement sort of > independant versioning system for each Gambas part so that I can add the > missing features later. > > At the moment, I choose the second solution, except that I don't know exactly > how to implement the independant versioning system. Must think about it > more... > > Regards, > Hey ? and Dr. House ? ;) From dr.diesel at ...626... Tue Aug 25 00:09:43 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Mon, 24 Aug 2009 18:09:43 -0400 Subject: [Gambas-user] webcam weirdness Message-ID: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> Not sure what to include with this, please ask for additional info. Attached is a pict of some webcam weirdness with no error messages generated. Doesn't appear to be a webcam issue as the image looks fine with Cheese Webcam Booth. This was taken with gambas v3 SVN as of yesterday running the WebCam example program. usb 4-1: new full speed USB device using uhci_hcd and address 4 usb 4-1: New USB device found, idVendor=0733, idProduct=0401 usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 4-1: configuration #1 chosen from 1 choice gspca: probing 0733:0401 gspca: probe ok [andy at ...40... trunk]$ Only gambas debug info was this: (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] /snip gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent -------------- next part -------------- A non-text attachment was scrubbed... Name: webcam1.png Type: image/png Size: 84172 bytes Desc: not available URL: From 12ukwn at ...626... Tue Aug 25 01:14:40 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 01:14:40 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <1251150103.6419.36.camel@...40...> References: <200908241621.21802.gambas@...1...> <2a28d2ab0908241416u2d7be44cr8c7680635bdf5d2c@...627...> <200908242324.30548.gambas@...1...> <1251150103.6419.36.camel@...40...> Message-ID: <4A931EE0.2040806@...626...> Charlie Reinl a ?crit : ... >> At the moment, I choose the second solution, except that I don't know exactly >> how to implement the independant versioning system. Must think about it >> more... >> >> Regards, >> > Hey ? and Dr. House ? ;) He's cheating Charlie: the day he talked about House MD there was no broadcast in fr (may be he has built a pirate decoder in Gambas:) JY -- I do not take drugs -- I am drugs. -- Salvador Dali From gambas at ...1... Tue Aug 25 01:32:25 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 25 Aug 2009 01:32:25 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <4A931EE0.2040806@...626...> References: <200908241621.21802.gambas@...1...> <1251150103.6419.36.camel@...40...> <4A931EE0.2040806@...626...> Message-ID: <200908250132.25987.gambas@...1...> > Charlie Reinl a ?crit : > ... > > >> At the moment, I choose the second solution, except that I don't know > >> exactly how to implement the independant versioning system. Must think > >> about it more... > >> > >> Regards, > > > > Hey ? and Dr. House ? ;) > > He's cheating Charlie: the day he talked about House MD there > was no broadcast in fr (may be he has built a pirate decoder in Gambas:) > > JY I never cheat. I'm a good guy. :-) -- Beno?t From gambas at ...1... Tue Aug 25 01:32:43 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 25 Aug 2009 01:32:43 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <1251150103.6419.36.camel@...40...> References: <200908241621.21802.gambas@...1...> <200908242324.30548.gambas@...1...> <1251150103.6419.36.camel@...40...> Message-ID: <200908250132.43530.gambas@...1...> > Am Montag, den 24.08.2009, 23:24 +0200 schrieb Beno?t Minisini: > > > 2009/8/24 Beno?t Minisini > > > > > > > Hi, > > > > > > > > In Gambas 3 IDE, you can now modify the contents of local variables, > > > > global variables, and any field in debugger watch windows. While > > > > debugging of course... > > > > > > > > This feature is fresh, so you may have crashes! > > > > > > > > Regards, > > > > > > > > -- > > > > Beno?t > > > > > > You sir, are the man! Many thanks for such a great enviroment! > > > > > > This post got me wondering, the roadmap on the gambas website does not > > > mention any date for the v3 release? Any available guess/estimate? > > > Although svn has been serving me just fine :D > > > > > > Andy > > > > The problem is the following: either I don't release a v3 soon, which may > > be a bad idea, or I release a v3 "soon", but I have to implement sort of > > independant versioning system for each Gambas part so that I can add the > > missing features later. > > > > At the moment, I choose the second solution, except that I don't know > > exactly how to implement the independant versioning system. Must think > > about it more... > > > > Regards, > > Hey ? and Dr. House ? ;) > Inside Season 2 at the moment... -- Beno?t From gambas at ...1... Tue Aug 25 01:42:54 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 25 Aug 2009 01:42:54 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> Message-ID: <200908250142.54523.gambas@...1...> > Not sure what to include with this, please ask for additional info. > Attached is a pict of some webcam weirdness with no error messages > generated. Doesn't appear to be a webcam issue as the image looks fine > with Cheese Webcam Booth. > > This was taken with gambas v3 SVN as of yesterday running the WebCam > example program. > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > usb 4-1: configuration #1 chosen from 1 choice > gspca: probing 0733:0401 > gspca: probe ok > [andy at ...40... trunk]$ > > Only gambas debug info was this: > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > assertion `atom != GDK_NONE' failed > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > /snip > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > > Thanks > Andy This is an image conversion problem: the SPCA501 is an image format, and the gb.v4l component prints it each time it cannot convert it to RGB. Apparently the component can convert only a few format to the one supported by Gambas: RGB & RGBA. But I don't know what SPCA501 is exactly. A conversion library format is needed... Regards, -- Beno?t From 12ukwn at ...626... Tue Aug 25 01:46:57 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 01:46:57 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <200908250132.43530.gambas@...1...> References: <200908241621.21802.gambas@...1...> <200908242324.30548.gambas@...1...> <1251150103.6419.36.camel@...40...> <200908250132.43530.gambas@...1...> Message-ID: <4A932671.2030101@...626...> Beno?t Minisini a ?crit : ... >> Hey ? and Dr. House ? ;) >> > > Inside Season 2 at the moment... I really love season 5, especially the "koh-lantha episode" :) (and original sound is far better than the fr one) -- There are no answers, only cross-references. -- Weiner From 12ukwn at ...626... Tue Aug 25 01:48:25 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 01:48:25 +0200 Subject: [Gambas-user] New feature in Gambas 3 IDE In-Reply-To: <200908250132.25987.gambas@...1...> References: <200908241621.21802.gambas@...1...> <1251150103.6419.36.camel@...40...> <4A931EE0.2040806@...626...> <200908250132.25987.gambas@...1...> Message-ID: <4A9326C9.4090801@...626...> Beno?t Minisini a ?crit : >> Charlie Reinl a ?crit : >> ... >> >>>> At the moment, I choose the second solution, except that I don't know >>>> exactly how to implement the independant versioning system. Must think >>>> about it more... >>>> >>>> Regards, >>> Hey ? and Dr. House ? ;) >> He's cheating Charlie: the day he talked about House MD there >> was no broadcast in fr (may be he has built a pirate decoder in Gambas:) >> >> JY > > I never cheat. I'm a good guy. :-) Hmmmmm, denegation is not plausible (Charlie, build a Gambas-Polygraph!) JY -- Our comedies are not to be laughed at. -Samuel Goldwyn From 12ukwn at ...626... Tue Aug 25 02:05:27 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 02:05:27 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> Message-ID: <4A932AC7.5030206@...626...> Dr. Diesel a ?crit : > Not sure what to include with this, please ask for additional info. > Attached is a pict of some webcam weirdness with no error messages > generated. Doesn't appear to be a webcam issue as the image looks fine with > Cheese Webcam Booth. > > This was taken with gambas v3 SVN as of yesterday running the WebCam example > program. > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > usb 4-1: configuration #1 chosen from 1 choice > gspca: probing 0733:0401 > gspca: probe ok > [andy at ...40... trunk]$ > > Only gambas debug info was this: > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > assertion `atom != GDK_NONE' failed > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > /snip > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] 2.15.2 under Debian sid with a Philips PCVC740K, MyWebCam don't even "talk", it stays black and mute (this WC works right with camstream.) JY -- In breeding cattle you need one bull for every twenty-five cows, unless the cows are known sluts. -- Johnny Carson From ronstk at ...239... Tue Aug 25 02:37:58 2009 From: ronstk at ...239... (Ron_1st) Date: Tue, 25 Aug 2009 02:37:58 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <4A932AC7.5030206@...626...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <4A932AC7.5030206@...626...> Message-ID: <200908250237.59660.ronstk@...239...> On Tuesday 25 August 2009, Jean-Yves F. Barbier wrote: > Dr. Diesel a ?crit : > > Not sure what to include with this, please ask for additional info. > > Attached is a pict of some webcam weirdness with no error messages > > generated. Doesn't appear to be a webcam issue as the image looks fine with > > Cheese Webcam Booth. > > > > This was taken with gambas v3 SVN as of yesterday running the WebCam example > > program. > > > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > usb 4-1: configuration #1 chosen from 1 choice > > gspca: probing 0733:0401 > > gspca: probe ok > > [andy at ...40... trunk]$ > > > > Only gambas debug info was this: > > > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > > assertion `atom != GDK_NONE' failed > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > /snip > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > 2.15.2 under Debian sid with a Philips PCVC740K, MyWebCam don't even "talk", > it stays black and mute (this WC works right with camstream.) > > JY The pwc driver returns a v4l2 installation. The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM I have the same problem with the philips cams, i.e. PCVC645, and flash (adobe) and i'm using flashcam package http://flashcam.sourceforge.net A project to make Adobe Flash for Linux support V4L2 webcams or video devices. It's using a modified vloopback from the motion project. This is in use for webcam on the intraweb site. Best regards, Ron_1st -- From 12ukwn at ...626... Tue Aug 25 02:56:35 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 02:56:35 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <200908250237.59660.ronstk@...239...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <4A932AC7.5030206@...626...> <200908250237.59660.ronstk@...239...> Message-ID: <4A9336C3.7080508@...626...> Ron_1st a ?crit : ... > The pwc driver returns a v4l2 installation. > The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM normally no: ie: camstream uses the v4L1 compatibility mode that I compiled into my kernel (but may be the program spcifically "ask" for that mode, which could explain why it don't work with MyWebCam) > I have the same problem with the philips cams, i.e. PCVC645, and flash (adobe) > and i'm using flashcam package http://flashcam.sourceforge.net > A project to make Adobe Flash for Linux support V4L2 webcams or video devices. I avoid using adobe products in general (not free, super-bloatted, unexistant security (a very small worm is enough to activate it and spy you through flash webcam/mike facility); and you don't know what is transmitted to adobe), and flash in particular, as it don't have *any* interest in it. (the only thing it does very well is making my old CPU jump straight to 100% each time I'm obliged to use it.) > It's using a modified vloopback from the motion project. > This is in use for webcam on the intraweb site. I successfuly installed Ekiga in many places: it is fully m$n compatible, can uses many sound codecs, and the H264 video mode has really an amazing quality (on a LAN, and if you have a good WC, you're close to DVD quality:) Try it, you'll love it. > Ron_1st JY_666th -- If rash develops, discontinue use. From steven at ...2097... Tue Aug 25 03:00:14 2009 From: steven at ...2097... (Steven James Drinnan) Date: Tue, 25 Aug 2009 09:00:14 +0800 Subject: [Gambas-user] webcam weirdness In-Reply-To: <4A932AC7.5030206@...626...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <4A932AC7.5030206@...626...> Message-ID: <1251162015.2828.2.camel@...2273...> Try for 32bit systems LD_PRELOAD='/usr/lib/libv4l/v4l1compat.so' gambas2 for 64bit systems LD_PRELOAD='/usr/lib64/libv4l/v4l1compat.so' gambas2 You can do the same for any application that you make with gambas. Steven Drinnan On Tue, 2009-08-25 at 02:05 +0200, Jean-Yves F. Barbier wrote: > Dr. Diesel a ?crit : > > Not sure what to include with this, please ask for additional info. > > Attached is a pict of some webcam weirdness with no error messages > > generated. Doesn't appear to be a webcam issue as the image looks fine with > > Cheese Webcam Booth. > > > > This was taken with gambas v3 SVN as of yesterday running the WebCam example > > program. > > > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > usb 4-1: configuration #1 chosen from 1 choice > > gspca: probing 0733:0401 > > gspca: probe ok > > [andy at ...40... trunk]$ > > > > Only gambas debug info was this: > > > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > > assertion `atom != GDK_NONE' failed > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > /snip > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > 2.15.2 under Debian sid with a Philips PCVC740K, MyWebCam don't even "talk", > it stays black and mute (this WC works right with camstream.) > > JY From 12ukwn at ...626... Tue Aug 25 03:40:09 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 03:40:09 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <1251162015.2828.2.camel@...2273...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <4A932AC7.5030206@...626...> <1251162015.2828.2.camel@...2273...> Message-ID: <4A9340F9.6070208@...626...> Steven James Drinnan a ?crit : > Try > > for 32bit systems > > LD_PRELOAD='/usr/lib/libv4l/v4l1compat.so' gambas2 > YES Steven, that's working :) JY -- A woman was in love with fourteen soldiers. It was clearly platoonic. From bleketux at ...626... Tue Aug 25 06:35:42 2009 From: bleketux at ...626... (MSulchan Darmawan) Date: Tue, 25 Aug 2009 11:35:42 +0700 Subject: [Gambas-user] type mismatch: wanted integer, got string instead Message-ID: <20090825113542.4fd9d3ea@...2286...> Dear sir, I have the following code : DIM sRain AS String DIM iRain AS Integer DIM iPos AS Integer DIM iYear AS String DIM iMonth AS String modMain.Connect hRes = modMain.$Con.Exec("SELECT * FROM table") FOR EACH hRes iPos = hRes!id iYear = hRes!yr iMonth = hRes!mn sRain = hRes!r1 ' PRINT iPos, iYear, iMonth, sRain iRain = CInt(sRain) IF iRain > 100 THEN PRINT iPos, iYear, iMonth NEXT on this line : iRain = CInt(sRain) I got the type mismatch error. This is my first try to program on gambas. So why the error happened ? Any suggestion to fix are welcome. FYI, the database connected successfully, hRes!r1 is a string, sRain is a string, and I'd like to get the integer value of sRain. The possible value of sRain is : "0", "1", "2", "x", "-", NULL. Help ! I'm using gambas2 2.8.2 on linux mint 7. Thanks in advance. Regards, Sulchan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From dosida at ...626... Tue Aug 25 07:00:07 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 24 Aug 2009 23:00:07 -0600 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825113542.4fd9d3ea@...2286...> References: <20090825113542.4fd9d3ea@...2286...> Message-ID: <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> Hey MSulchan, if you're trying to convert either "x", "-", or NULL to an integer you're correctly going to get a mismatch error basically the mismatch error is a way of saying "I can't convert "x" into an integer, I don't know what number to convert "x" to" what I would personally use instead of iRain = CInt(sRain) is a Select statement like this one SELECT CASE sRain Case "0" iRain = 0 Case "1" iRain = 1 Case "2" iRain = 2 Case "x" iRain = 3 Case "-" iRain = 4 Case ELSE 'this case would be used in case of anything else including null iRain = -1 END SELECT this way iRain would always have an integer and you wouldn't have to worry about the mismatch error... assuming "0", "1", "2", "x", "-" and NULL are the only values used in your database. I hope this helps Regards Dimitris On Mon, Aug 24, 2009 at 10:35 PM, MSulchan Darmawan wrote: > Dear sir, > > I have the following code : > > DIM sRain AS String > DIM iRain AS Integer > DIM iPos AS Integer > DIM iYear AS String > DIM iMonth AS String > > modMain.Connect > hRes = modMain.$Con.Exec("SELECT * FROM table") > > FOR EACH hRes > > iPos = hRes!id > iYear = hRes!yr > iMonth = hRes!mn > sRain = hRes!r1 > > ' PRINT iPos, iYear, iMonth, sRain > iRain = CInt(sRain) > IF iRain > 100 THEN PRINT iPos, iYear, iMonth > > NEXT > > on this line : iRain = CInt(sRain) > I got the type mismatch error. > This is my first try to program on gambas. > So why the error happened ? Any suggestion to fix are welcome. > > FYI, the database connected successfully, hRes!r1 is a string, sRain is > a string, and I'd like to get the integer value of sRain. > The possible value of sRain is : "0", "1", "2", "x", "-", NULL. > > Help ! > I'm using gambas2 2.8.2 on linux mint 7. > > Thanks in advance. > Regards, > Sulchan > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From 12ukwn at ...626... Tue Aug 25 07:03:16 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Tue, 25 Aug 2009 07:03:16 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825113542.4fd9d3ea@...2286...> References: <20090825113542.4fd9d3ea@...2286...> Message-ID: <4A937094.6000700@...626...> MSulchan Darmawan a ?crit : > Dear sir, > > I have the following code : > > DIM sRain AS String > DIM iRain AS Integer > DIM iPos AS Integer > DIM iYear AS String > DIM iMonth AS String > > modMain.Connect > hRes = modMain.$Con.Exec("SELECT * FROM table") > > FOR EACH hRes > > iPos = hRes!id > iYear = hRes!yr > iMonth = hRes!mn > sRain = hRes!r1 > > ' PRINT iPos, iYear, iMonth, sRain > iRain = CInt(sRain) > IF iRain > 100 THEN PRINT iPos, iYear, iMonth > > NEXT > > on this line : iRain = CInt(sRain) > I got the type mismatch error. > This is my first try to program on gambas. > So why the error happened ? Any suggestion to fix are welcome. Because you don't feed CInt() with an integer > FYI, the database connected successfully, hRes!r1 is a string, sRain is > a string, and I'd like to get the integer value of sRain. > The possible value of sRain is : "0", "1", "2", "x", "-", NULL. ^^^^^^^^^^^^^^ Those aren't integer! May be you're trying to convert an ASCCI to its DECIMAL value in the ASCII table: Asc("x") You can't ask a converter to convert "x" or "-" to a number: they are not, so it is not possible. And once for all, NULL is NOT a value: it is... NULL, so it need a separate processing: IsNull("something") SELECT CASE iRain CASE IsNull(iRain) ' Do something CASE IsAscii(iRain) ' Do another thing ... END SELECT JY -- From bleketux at ...626... Tue Aug 25 07:40:59 2009 From: bleketux at ...626... (MSulchan Darmawan) Date: Tue, 25 Aug 2009 12:40:59 +0700 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> Message-ID: <20090825124059.159cd130@...2286...> Pada Mon, 24 Aug 2009 23:00:07 -0600 Dimitris Anogiatis menulis: > this way iRain would always have an integer and you wouldn't have to > worry about > the mismatch error... assuming "0", "1", "2", "x", "-" and NULL are > the only values > used in your database. Thanks Dimitris and JY, Unfortunately, the possible values are more then that, it's just a sample. The values are amount of rainfall data, so it has numbers (0 to 400) also with floating number 0.5, 1.7, and so on. The field of old data on the database was set with string type, which "x" represent as a value less then 0.5, "-" represent as no rain, and NULL represent as no data. So, for temporary solution, I'll use TRY statement to exclude "x", "-", and NULL, but the problem is with the floating number. I don't know how to handle this yet. any idea how to solve this ? thanks in advance, Regards, Sulchan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gambas.fr at ...626... Tue Aug 25 08:23:13 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Aug 2009 08:23:13 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825124059.159cd130@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> Message-ID: <6324a42a0908242323i7dcea0ceq74085aad597b8662@...627...> 2009/8/25 MSulchan Darmawan : > Pada Mon, 24 Aug 2009 23:00:07 -0600 > Dimitris Anogiatis menulis: > >> this way iRain would always have an integer and you wouldn't have to >> worry about >> the mismatch error... assuming "0", "1", "2", "x", "-" and NULL are >> the only values >> used in your database. > > Thanks Dimitris and JY, > > Unfortunately, the possible values are more then that, it's just a > sample. > The values are amount of rainfall data, so it has numbers (0 to 400) > also with floating number 0.5, 1.7, and so on. > The field of old data on the database was set with string type, which > "x" represent as a value less then 0.5, "-" represent as no rain, and > NULL represent as no data. > > So, for temporary solution, I'll use TRY statement to exclude "x", "-", > and NULL, but the problem is with the floating number. > I don't know how to handle this yet. > any idea how to solve this ? you test the string first : if instr(hResult!Fall, "-") >0 or if instr(hResult!Fall, "x") >0 or if hResult!Fall=null then iValue =0 else if instr(hResult!Fall, "x") >0 then iValue =0 else iValue= CInt(val(hResult!Fall)) endif Endif Be carefull, the current localisation is used by Val() on problem ... try iValue = CFloat(hResult!Fall) or iValue = Cint(CFloat(hResult!Fall) ) http://www.gambasdoc.org/help/cat/conv?v3 > > thanks in advance, > Regards, > Sulchan > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From eilert-sprachen at ...221... Tue Aug 25 08:40:10 2009 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 25 Aug 2009 08:40:10 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825124059.159cd130@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> Message-ID: <4A93874A.2090703@...221...> Why don't you just convert the characters into numbers before converting the values? > Unfortunately, the possible values are more then that, it's just a > sample. > The values are amount of rainfall data, so it has numbers (0 to 400) > also with floating number 0.5, 1.7, and so on. > The field of old data on the database was set with string type, which > "x" represent as a value less then 0.5, "-" represent as no rain, and > NULL represent as no data. For example, you could use Replace to change "x" into 0.4, "-" into 0 and NULL (search for chr$(0)...) into 0.3 or whatever. So everything is a value now, and the converting functions will be happy. Regards Rolf From dosida at ...626... Tue Aug 25 08:50:52 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 25 Aug 2009 00:50:52 -0600 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825124059.159cd130@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> Message-ID: <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> MSulchan, in http://www.gambasdoc.org/help/cat/datatypes you will find a breakdown of the available data types supported by Gambas2 and in http://www.gambasdoc.org/help/cat/conv the available data conversion functions. In this section of Gambasdoc http://www.gambasdoc.org/help/cat/type you will also find datatype functions that can help you with the special cases... ie IsNULL will detect if your variable is null or not. Now as for a strategy to deal with the floats... Depending on the floating number's floating part (meaning if the number's floating part is no more than 2 digits ie 0.90) seeing as it represents percentage you could always multiply them * 100 and turn them into an integer. If of course you get a large number like 0.9999582694 multiplying it by 100 and turning that into an integer, you'll end up with rounded data. The other approach is to use a float type variable but then you need to change your code to handle floats. With this new data about your project's input You could try something like this... '------------------------------------------------------------------------------------------------------------------------------------------------------ 'if the value of sRain is NOT a null if IsNull(Val(sRain)) = False THEN 'if the number is an integer just assign it to the iRain variable if IsInteger(Val(sRain)) = TRUE THEN iRain = Val(sRain) 'if it's not an integer ELSE 'check to see if it's a string SELECT CASE isString(sRain) CASE True 'if it's a string check here to see which one of the 'designated strings you have and assign a value to iRain if sRain = "x" then iRain = 0.4 'or anything else you want to make it if sRain = "-" then iRain = 0 'or anything else you want to make it CASE False ' if it's neither an integer nor a string, convert it into an integer multiply it by 100 turn it assign it to the iRain variable iRain = Val(sRain) * 100 CASE ELSE END SELECT ENDIF 'if the value of sRain is a null then just assign a negative integer to iRain ELSE iRain = -1 ENDIF '------------------------------------------------------------------------------------------------------------------------------------------------------ I hope this helps a bit more Regards Dimitris On Mon, Aug 24, 2009 at 11:40 PM, MSulchan Darmawan wrote: > Pada Mon, 24 Aug 2009 23:00:07 -0600 > Dimitris Anogiatis menulis: > > > this way iRain would always have an integer and you wouldn't have to > > worry about > > the mismatch error... assuming "0", "1", "2", "x", "-" and NULL are > > the only values > > used in your database. > > Thanks Dimitris and JY, > > Unfortunately, the possible values are more then that, it's just a > sample. > The values are amount of rainfall data, so it has numbers (0 to 400) > also with floating number 0.5, 1.7, and so on. > The field of old data on the database was set with string type, which > "x" represent as a value less then 0.5, "-" represent as no rain, and > NULL represent as no data. > > So, for temporary solution, I'll use TRY statement to exclude "x", "-", > and NULL, but the problem is with the floating number. > I don't know how to handle this yet. > any idea how to solve this ? > > thanks in advance, > Regards, > Sulchan > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From dosida at ...626... Tue Aug 25 08:52:27 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 25 Aug 2009 00:52:27 -0600 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> Message-ID: <82bffccf0908242352l4b991ac3i4a3197fa281ae081@...627...> one small correction in this line if sRain = "x" then iRain = 0.4 'or anything else you want to make it it should be if sRain = "x" then iRain = 40 'or anything else you want to make it On Tue, Aug 25, 2009 at 12:50 AM, Dimitris Anogiatis wrote: > MSulchan, > > in http://www.gambasdoc.org/help/cat/datatypes you will find a breakdown > of the available data types > supported by Gambas2 and in http://www.gambasdoc.org/help/cat/conv the > available data conversion > functions. In this section of Gambasdoc > http://www.gambasdoc.org/help/cat/type you will also find > datatype functions that can help you with the special cases... ie IsNULL > will detect if your variable > is null or not. > > Now as for a strategy to deal with the floats... > > Depending on the floating number's floating part (meaning if the number's > floating part is no more than 2 digits ie 0.90) > seeing as it represents percentage you could always multiply them * 100 and > turn them into an integer. If of course > you get a large number like 0.9999582694 multiplying it by 100 and turning > that into an integer, you'll end up with > rounded data. The other approach is to use a float type variable but then > you need to change your code to handle > floats. > > With this new data about your project's input > > You could try something like this... > > '------------------------------------------------------------------------------------------------------------------------------------------------------ > 'if the value of sRain is NOT a null > > if IsNull(Val(sRain)) = False THEN > > 'if the number is an integer just assign it to the iRain variable > if IsInteger(Val(sRain)) = TRUE THEN > iRain = Val(sRain) > > 'if it's not an integer > ELSE > 'check to see if it's a string > SELECT CASE isString(sRain) > CASE True > > 'if it's a string check here to see which one of the > 'designated strings you have and assign a value to iRain > > if sRain = "x" then iRain = 0.4 'or anything else you want to > make it > if sRain = "-" then iRain = 0 'or anything else you want to > make it > CASE False > > ' if it's neither an integer nor a string, convert it into an > integer multiply it by 100 turn it assign it to the iRain variable > iRain = Val(sRain) * 100 > CASE ELSE > END SELECT > ENDIF > > 'if the value of sRain is a null then just assign a negative integer to > iRain > ELSE > iRain = -1 > ENDIF > > '------------------------------------------------------------------------------------------------------------------------------------------------------ > > I hope this helps a bit more > > Regards > Dimitris > > > On Mon, Aug 24, 2009 at 11:40 PM, MSulchan Darmawan wrote: > >> Pada Mon, 24 Aug 2009 23:00:07 -0600 >> Dimitris Anogiatis menulis: >> >> > this way iRain would always have an integer and you wouldn't have to >> > worry about >> > the mismatch error... assuming "0", "1", "2", "x", "-" and NULL are >> > the only values >> > used in your database. >> >> Thanks Dimitris and JY, >> >> Unfortunately, the possible values are more then that, it's just a >> sample. >> The values are amount of rainfall data, so it has numbers (0 to 400) >> also with floating number 0.5, 1.7, and so on. >> The field of old data on the database was set with string type, which >> "x" represent as a value less then 0.5, "-" represent as no rain, and >> NULL represent as no data. >> >> So, for temporary solution, I'll use TRY statement to exclude "x", "-", >> and NULL, but the problem is with the floating number. >> I don't know how to handle this yet. >> any idea how to solve this ? >> >> thanks in advance, >> Regards, >> Sulchan >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > From aleks.l at ...1865... Tue Aug 25 09:08:21 2009 From: aleks.l at ...1865... (Aleksandrs Livshics) Date: Tue, 25 Aug 2009 10:08:21 +0300 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <6324a42a0908240733y79d1b48ax91e46db1736f5f24@...627...> References: <200908241638.31346.aleks.l@...1865...> <6324a42a0908240733y79d1b48ax91e46db1736f5f24@...627...> Message-ID: <200908251008.21609.aleks.l@...1865...> On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: > 2009/8/24 Aleksandrs Livshics : > > Dear Gambas users, > > I am new to Gambas and my question may be silly, > > however I cannot find how to set a slider value in the > > code. (Not the initial value, this is easy) > > I want to specify some event (like double click on a slider) > > to force it to jump to a predefined position/value. > > > > If I write Dbl_click() method and use something like > > My_slider.value = The_value > > in it, then slider on screen does not move from where > > I have set it previously with a mouse. More precisely, > > It jumps to a position which corresponds to The_value > > and back to where it was before! > > Any ideas would be helpful. > > try to stop the event after setting the value > > public sub MySlider_DblClick() > My_slider.value = The_value > Stop Event > end > Thank you for a quick reply. Unfortunately when I have added the "STOP EVENT " line nothing really has been changed. When I assign some value to the slider and PRINT it after the "STOP EVENT" I have the wanted value printed 2 TIMES and then probably the "change" event happens. In my "Change" I print the value again as you see below. It is printed also 2 times and in both cases the old value is restored. PUBLIC SUB SMySlider_Change() PRINT " Change -> ", MySlider.value END The slider on the screen shows the same: first it jumps to a specified position and the back... Alex From bleketux at ...626... Tue Aug 25 09:15:13 2009 From: bleketux at ...626... (MSulchan Darmawan) Date: Tue, 25 Aug 2009 14:15:13 +0700 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> Message-ID: <20090825141513.5a97cbb1@...2286...> Pada Tue, 25 Aug 2009 00:50:52 -0600 Dimitris Anogiatis menulis: > I hope this helps a bit more Great... this is more reasonable... I'll try it first... Thank you guys... -- Cheers, [-Sulchan-] Terbang dengan claws-mail 3.7.2 Mendarat di hardy heron 8.04.3 LTS -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gambas.fr at ...626... Tue Aug 25 11:25:08 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Aug 2009 11:25:08 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <200908251008.21609.aleks.l@...1865...> References: <200908241638.31346.aleks.l@...1865...> <6324a42a0908240733y79d1b48ax91e46db1736f5f24@...627...> <200908251008.21609.aleks.l@...1865...> Message-ID: <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> you don't understand the stop event function.. stop event stop the event propagation...(so the widjet stop to act) but not the current sub execution ! if you want to stop the sub too you need to add a 'return' keyword ! if ok then stop event return endif nevertheless send me a short sample exemple and i will see what i can do 2009/8/25 Aleksandrs Livshics : > On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: >> 2009/8/24 Aleksandrs Livshics : >> > Dear Gambas users, >> > I am new to Gambas and my question may be silly, >> > however I cannot find how to set a slider value in the >> > code. (Not the initial value, this is easy) >> > I want to specify some event (like double click on a slider) >> > to force it to jump to a predefined position/value. >> > >> > If I write Dbl_click() method and use something like >> > My_slider.value = The_value >> > in it, then slider on screen does not move from where >> > I have set it previously with a mouse. More precisely, >> > It jumps to a position which corresponds to The_value >> > and back to where it was before! >> > Any ideas would be helpful. >> >> try to stop the event after setting the value >> >> public sub MySlider_DblClick() >> ? My_slider.value = The_value >> ? Stop Event >> end >> > Thank you for a quick reply. Unfortunately > when I have added the "STOP EVENT " line > nothing really has been changed. When I assign > some value to the slider and PRINT it after the "STOP EVENT" > I have the wanted value printed 2 TIMES and ?then probably the > "change" ?event happens. In my "Change" > I print the value again as you see below. It is printed also 2 > times and in both cases the old value is restored. > > > PUBLIC SUB SMySlider_Change() > PRINT " ?Change -> ", MySlider.value > END > > The slider on the screen shows the same: > first it jumps to a specified position and the back... > Alex > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue Aug 25 11:33:19 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Aug 2009 11:33:19 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> References: <200908241638.31346.aleks.l@...1865...> <6324a42a0908240733y79d1b48ax91e46db1736f5f24@...627...> <200908251008.21609.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> Message-ID: <6324a42a0908250233m335ee87dh72e27e40841774f1@...627...> nevertheless it seem to be a bad idea... can't you prefer a default button ? to set the value ?... just put it at the right of the widget 2009/8/25 Fabien Bodard : > you don't understand the stop event function.. > > stop event stop the event propagation...(so the widjet stop to act) > but not the current sub execution ! > > if you want to stop the sub too you need to add a 'return' keyword ! > > > > if ok then > ?stop event > ?return > endif > > nevertheless send me a short sample exemple and i will see what i can do > > 2009/8/25 Aleksandrs Livshics : >> On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: >>> 2009/8/24 Aleksandrs Livshics : >>> > Dear Gambas users, >>> > I am new to Gambas and my question may be silly, >>> > however I cannot find how to set a slider value in the >>> > code. (Not the initial value, this is easy) >>> > I want to specify some event (like double click on a slider) >>> > to force it to jump to a predefined position/value. >>> > >>> > If I write Dbl_click() method and use something like >>> > My_slider.value = The_value >>> > in it, then slider on screen does not move from where >>> > I have set it previously with a mouse. More precisely, >>> > It jumps to a position which corresponds to The_value >>> > and back to where it was before! >>> > Any ideas would be helpful. >>> >>> try to stop the event after setting the value >>> >>> public sub MySlider_DblClick() >>> ? My_slider.value = The_value >>> ? Stop Event >>> end >>> >> Thank you for a quick reply. Unfortunately >> when I have added the "STOP EVENT " line >> nothing really has been changed. When I assign >> some value to the slider and PRINT it after the "STOP EVENT" >> I have the wanted value printed 2 TIMES and ?then probably the >> "change" ?event happens. In my "Change" >> I print the value again as you see below. It is printed also 2 >> times and in both cases the old value is restored. >> >> >> PUBLIC SUB SMySlider_Change() >> PRINT " ?Change -> ", MySlider.value >> END >> >> The slider on the screen shows the same: >> first it jumps to a specified position and the back... >> Alex >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From gambas.fr at ...626... Tue Aug 25 11:38:02 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Aug 2009 11:38:02 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <20090825141513.5a97cbb1@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> Message-ID: <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> if IsInteger(Val(sRain)) = TRUE THEN iRain = Val(sRain) 'if it's not an integer ELSE and if it's not an integer ? ... a float for exemple... and be carefull ... select case if more slow than if then why did you convert a string into a val to see if it is a string ??? 2009/8/25 MSulchan Darmawan : > Pada Tue, 25 Aug 2009 00:50:52 -0600 > Dimitris Anogiatis menulis: > >> I hope this helps a bit more > > Great... this is more reasonable... > I'll try it first... > Thank you guys... > > -- > Cheers, > [-Sulchan-] > Terbang dengan claws-mail 3.7.2 > Mendarat di hardy heron 8.04.3 LTS > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ronstk at ...239... Tue Aug 25 11:42:24 2009 From: ronstk at ...239... (Ron_1st) Date: Tue, 25 Aug 2009 11:42:24 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <4A9336C3.7080508@...626...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908250237.59660.ronstk@...239...> <4A9336C3.7080508@...626...> Message-ID: <200908251142.24896.ronstk@...239...> On Tuesday 25 August 2009, Jean-Yves F. Barbier wrote: > Ron_1st a ?crit : > ... > > The pwc driver returns a v4l2 installation. > > The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM > > normally no: ie: camstream uses the v4L1 compatibility mode that I compiled > into my kernel (but may be the program spcifically "ask" for that mode, which > could explain why it don't work with MyWebCam) I see with KMplayer (koos de vries) the philips web cam as v4l2 device interface. I hoop this explains more clear. (see note at the end) > > > I have the same problem with the philips cams, i.e. PCVC645, and flash (adobe) > > and i'm using flashcam package http://flashcam.sourceforge.net > > A project to make Adobe Flash for Linux support V4L2 webcams or video devices. > > I avoid using adobe products in general (not free, super-bloatted, unexistant > security (a very small worm is enough to activate it and spy you through > flash webcam/mike facility); and you don't know what is transmitted to adobe), > and flash in particular, as it don't have *any* interest in it. > (the only thing it does very well is making my old CPU jump straight to 100% > each time I'm obliged to use it.) In my case the page use flash for connection and audio/video streaming and flash could not find the v4l2 device. Avoiding is no option in this case.You may say go not to that site. How when it is intra-web site of my employer? > > > It's using a modified vloopback from the motion project. > > This is in use for webcam on the intraweb site. > > I successfuly installed Ekiga in many places: it is fully m$n compatible, > can uses many sound codecs, and the H264 video mode has really an amazing > quality (on a LAN, and if you have a good WC, you're close to DVD quality:) > Try it, you'll love it. I avoid such applications as mush as possible. I need a computer for work not for ammusement, then I go to the cafe/bioscoop/theater etc :) > > > Ron_1st > > JY_666th Anyway some driver/modules of video devices give the v4l1 and/or v4l2 interface, the philips cam in my case only v4l2. I do have a microscoop (microdia) and that on is also v4l2 only. My TV-Card (terratec) using the bt8x8 driver returns both interfaces. Another cam just only v4l1 as interface, and bad quality picture too. Some applications have the same problem for using v4l1 and/or v4l2. What to do if applicaton support only v4l1 and the cam the other one? 1) The vloopback is for programs using the v4l1, and _not_ v4l2 for using the v4l1 API to talk to a v4l2 API. 2) Flash support only v4l1 and with _specific settings_. In my case flashcam does 1 and 2 together. Good solution for me. Note: The gb.v4l component was written by Daniel C. for his v4l1 cam. Gareth did however had a v4l2 cam and he rewrote a part of the component and released a test application that uses his modified driver. So ATM I would say the gb.component is more or less broken/incomplete. If your cam is v4l1 only then you should use the D.C. version. If your cam is v4l2 only then you should use the Gareth version. This is what happend in the background of the component and the v4l2 is only for the cam of Gareth implemented, i.e. the colorspace. Both are written for specific WC with very restricted capabilities. My active involvement ATM is only for the modified code of Gareth, specific the compile time error/abort, about undefinied variable names/values for some videodev.h versions. I solved my other wishes/problems with hardware solution instead of software. Best regards, Ron_1st -- From aleks.l at ...1865... Tue Aug 25 11:43:05 2009 From: aleks.l at ...1865... (Aleksandrs Livshics) Date: Tue, 25 Aug 2009 12:43:05 +0300 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> References: <200908241638.31346.aleks.l@...1865...> <200908251008.21609.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> Message-ID: <200908251243.06118.aleks.l@...1865...> On Tuesday 25 August 2009 12:25:08 Fabien Bodard wrote: > you don't understand the stop event function.. > > stop event stop the event propagation...(so the widjet stop to act) > but not the current sub execution ! > > if you want to stop the sub too you need to add a 'return' keyword ! > > > > if ok then > stop event > return > endif > > nevertheless send me a short sample exemple and i will see what i can do > > 2009/8/25 Aleksandrs Livshics : > > On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: > >> 2009/8/24 Aleksandrs Livshics : > >> > Dear Gambas users, > >> > I am new to Gambas and my question may be silly, > >> > however I cannot find how to set a slider value in the > >> > code. (Not the initial value, this is easy) > >> > I want to specify some event (like double click on a slider) > >> > to force it to jump to a predefined position/value. > >> > > >> > If I write Dbl_click() method and use something like > >> > My_slider.value = The_value > >> > in it, then slider on screen does not move from where > >> > I have set it previously with a mouse. More precisely, > >> > It jumps to a position which corresponds to The_value > >> > and back to where it was before! > >> > Any ideas would be helpful. > >> > >> try to stop the event after setting the value > >> > >> public sub MySlider_DblClick() > >> ? My_slider.value = The_value > >> ? Stop Event > >> end > > > > Thank you for a quick reply. Unfortunately > > when I have added the "STOP EVENT " line > > nothing really has been changed. When I assign > > some value to the slider and PRINT it after the "STOP EVENT" > > I have the wanted value printed 2 TIMES and ?then probably the > > "change" ?event happens. In my "Change" > > I print the value again as you see below. It is printed also 2 > > times and in both cases the old value is restored. > > > > > > PUBLIC SUB SMySlider_Change() > > PRINT " ?Change -> ", MySlider.value > > END > > > > The slider on the screen shows the same: > > first it jumps to a specified position and the back... > > Alex > > > > > > ------------------------------------------------------------------------- > >----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day trial. Simplify your report design, integration and deployment - > > and focus on what you do best, core application coding. Discover what's > > new with Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user OK, here is an example... The form has just one slider, nothing else. I want it to jump to ZERO if double clicked, no matter where it was before. If it is not at the ZERO position when double clicked it in fact jumps to ZERO and immediately back !... -------------- next part -------------- A non-text attachment was scrubbed... Name: FMain.class Type: application/x-java Size: 245 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 2.0 { Form Form MoveScaled(0,0,50,50) Text = ("") { Slider1 Slider MoveScaled(6,20,36,3) } } From aleks.l at ...1865... Tue Aug 25 11:53:04 2009 From: aleks.l at ...1865... (Aleksandrs Livshics) Date: Tue, 25 Aug 2009 12:53:04 +0300 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <6324a42a0908250233m335ee87dh72e27e40841774f1@...627...> References: <200908241638.31346.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> <6324a42a0908250233m335ee87dh72e27e40841774f1@...627...> Message-ID: <200908251253.04508.aleks.l@...1865...> I have just found that it works (without "stop event") but only if i double click inside the slider, but NOT on it's moving part ! Aleks On Tuesday 25 August 2009 12:33:19 Fabien Bodard wrote: > nevertheless it seem to be a bad idea... can't you prefer a default > button ? to set the value ?... just put it at the right of the widget > > 2009/8/25 Fabien Bodard : > > you don't understand the stop event function.. > > > > stop event stop the event propagation...(so the widjet stop to act) > > but not the current sub execution ! > > > > if you want to stop the sub too you need to add a 'return' keyword ! > > > > > > > > if ok then > > ?stop event > > ?return > > endif > > > > nevertheless send me a short sample exemple and i will see what i can do > > > > 2009/8/25 Aleksandrs Livshics : > >> On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: > >>> 2009/8/24 Aleksandrs Livshics : > >>> > Dear Gambas users, > >>> > I am new to Gambas and my question may be silly, > >>> > however I cannot find how to set a slider value in the > >>> > code. (Not the initial value, this is easy) > >>> > I want to specify some event (like double click on a slider) > >>> > to force it to jump to a predefined position/value. > >>> > > >>> > If I write Dbl_click() method and use something like > >>> > My_slider.value = The_value > >>> > in it, then slider on screen does not move from where > >>> > I have set it previously with a mouse. More precisely, > >>> > It jumps to a position which corresponds to The_value > >>> > and back to where it was before! > >>> > Any ideas would be helpful. > >>> > >>> try to stop the event after setting the value > >>> > >>> public sub MySlider_DblClick() > >>> ? My_slider.value = The_value > >>> ? Stop Event > >>> end > >> > >> Thank you for a quick reply. Unfortunately > >> when I have added the "STOP EVENT " line > >> nothing really has been changed. When I assign > >> some value to the slider and PRINT it after the "STOP EVENT" > >> I have the wanted value printed 2 TIMES and ?then probably the > >> "change" ?event happens. In my "Change" > >> I print the value again as you see below. It is printed also 2 > >> times and in both cases the old value is restored. > >> > >> > >> PUBLIC SUB SMySlider_Change() > >> PRINT " ?Change -> ", MySlider.value > >> END > >> > >> The slider on the screen shows the same: > >> first it jumps to a specified position and the back... > >> Alex > >> > >> > >> ------------------------------------------------------------------------ > >>------ Let Crystal Reports handle the reporting - Free Crystal Reports > >> 2008 30-Day trial. Simplify your report design, integration and > >> deployment - and focus on what you do best, core application coding. > >> Discover what's new with Crystal Reports now. > >> ?http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rospolosco at ...152... Tue Aug 25 12:06:41 2009 From: rospolosco at ...152... (Stefano Palmeri) Date: Tue, 25 Aug 2009 12:06:41 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <200908251243.06118.aleks.l@...1865...> References: <200908241638.31346.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> <200908251243.06118.aleks.l@...1865...> Message-ID: <200908251206.41338.rospolosco@...152...> Il marted? 25 agosto 2009 11:43:05 Aleksandrs Livshics ha scritto: > On Tuesday 25 August 2009 12:25:08 Fabien Bodard wrote: > > you don't understand the stop event function.. > > > > stop event stop the event propagation...(so the widjet stop to act) > > but not the current sub execution ! > > > > if you want to stop the sub too you need to add a 'return' keyword ! > > > > > > > > if ok then > > stop event > > return > > endif > > > > nevertheless send me a short sample exemple and i will see what i can do > > > > 2009/8/25 Aleksandrs Livshics : > > > On Monday 24 August 2009 17:33:39 Fabien Bodard wrote: > > >> 2009/8/24 Aleksandrs Livshics : > > >> > Dear Gambas users, > > >> > I am new to Gambas and my question may be silly, > > >> > however I cannot find how to set a slider value in the > > >> > code. (Not the initial value, this is easy) > > >> > I want to specify some event (like double click on a slider) > > >> > to force it to jump to a predefined position/value. > > >> > > > >> > If I write Dbl_click() method and use something like > > >> > My_slider.value = The_value > > >> > in it, then slider on screen does not move from where > > >> > I have set it previously with a mouse. More precisely, > > >> > It jumps to a position which corresponds to The_value > > >> > and back to where it was before! > > >> > Any ideas would be helpful. > > >> > > >> try to stop the event after setting the value > > >> > > >> public sub MySlider_DblClick() > > >> ? My_slider.value = The_value > > >> ? Stop Event > > >> end > > > > > > Thank you for a quick reply. Unfortunately > > > when I have added the "STOP EVENT " line > > > nothing really has been changed. When I assign > > > some value to the slider and PRINT it after the "STOP EVENT" > > > I have the wanted value printed 2 TIMES and ?then probably the > > > "change" ?event happens. In my "Change" > > > I print the value again as you see below. It is printed also 2 > > > times and in both cases the old value is restored. > > > > > > > > > PUBLIC SUB SMySlider_Change() > > > PRINT " ?Change -> ", MySlider.value > > > END > > > > > > The slider on the screen shows the same: > > > first it jumps to a specified position and the back... > > > Alex > > > > > > > > > ----------------------------------------------------------------------- > > >-- ----- Let Crystal Reports handle the reporting - Free Crystal Reports > > > 2008 30-Day trial. Simplify your report design, integration and > > > deployment - and focus on what you do best, core application coding. > > > Discover what's new with Crystal Reports now. > > > ?http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > >-- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > 2008 30-Day trial. Simplify your report design, integration and > > deployment - and focus on what you do best, core application coding. > > Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > OK, here is an example... > The form has just one slider, nothing else. > I want it to jump to ZERO if double clicked, no matter > where it was before. > If it is not at the ZERO position when double clicked > it in fact jumps to ZERO and immediately back !... Found a solution: ' Gambas class file PRIVATE $boolWantZeroValue AS Boolean PUBLIC SUB _new() END PUBLIC SUB Form_Open() END PUBLIC SUB Slider1_Change() PRINT "change: ", Slider1.Value IF $boolWantZeroValue THEN Slider1.Value = 0 $boolWantZeroValue = FALSE ENDIF END PUBLIC SUB Slider1_DblClick() $boolWAntZeroValue = TRUE Slider1.Value = 0 PRINT "dbl: ", Slider1.Value END From dosida at ...626... Tue Aug 25 12:29:32 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 25 Aug 2009 04:29:32 -0600 Subject: [Gambas-user] type mismatch: wanted integer, got string instead In-Reply-To: <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> Message-ID: <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> Fabien, if IsInteger(Val(sRain)) turns out to be false the select statement will check whether it's either an "x" or a "-" if that is also false then it must be a float. but looking at your remarks and taking a second look at my code I see now where I was wrong. '------------------------------------------------------------------------------------------------------------------------------------------------------ 'if the value of sRain is NOT a null if IsNull(sRain) = False THEN 'if the number is an integer just assign it to the iRain variable if IsInteger(Val(sRain)) = TRUE THEN iRain = Val(sRain) 'if it's not an integer ELSE 'check to see if it's a string SELECT CASE sRain CASE "x" iRain = 40 'or anything else you want to make it CASE "-" iRain = 0 'or anything else you want to make it CASE False ' if it's neither an integer nor a string, convert it into an integer multiply it by 100 turn it assign it to the iRain variable iRain = Val(sRain) * 100 CASE ELSE END SELECT ENDIF 'if the value of sRain is a null then just assign a negative integer to iRain ELSE iRain = -1 ENDIF '------------------------------------------------------------------------------------------------------------------------------------------------------ I think this will work much better. give it a try MSulchan and tell me if it works for you Performance is always a multifaceted issue... if MSulchan wants to squeeze every ounce of performance out of that piece of code all he has to do is change the select statement into a few if/then statements like the ones below: if sRain ="x" then iRain = 40 if sRain = "-" then iRain = 0 if Comp(sRain, "x") <> 0 and Comp(sRain, "-") <> 0 THEN iRain = Val(sRain)*100 But thanks Fabien for picking up on my mistakes. Regards Dimitris On Tue, Aug 25, 2009 at 3:38 AM, Fabien Bodard wrote: > if IsInteger(Val(sRain)) = TRUE THEN > iRain = Val(sRain) > > 'if it's not an integer > ELSE > > > and if it's not an integer ? ... a float for exemple... > > > and be carefull ... select case if more slow than if then > > > why did you convert a string into a val to see if it is a string ??? > > > > > > 2009/8/25 MSulchan Darmawan : > > Pada Tue, 25 Aug 2009 00:50:52 -0600 > > Dimitris Anogiatis menulis: > > > >> I hope this helps a bit more > > > > Great... this is more reasonable... > > I'll try it first... > > Thank you guys... > > > > -- > > Cheers, > > [-Sulchan-] > > Terbang dengan claws-mail 3.7.2 > > Mendarat di hardy heron 8.04.3 LTS > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Aug 25 14:06:48 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 25 Aug 2009 14:06:48 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <200908250142.54523.gambas@...1...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908250142.54523.gambas@...1...> Message-ID: <200908251406.48305.gambas@...1...> > > Not sure what to include with this, please ask for additional info. > > Attached is a pict of some webcam weirdness with no error messages > > generated. Doesn't appear to be a webcam issue as the image looks fine > > with Cheese Webcam Booth. > > > > This was taken with gambas v3 SVN as of yesterday running the WebCam > > example program. > > > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > usb 4-1: configuration #1 chosen from 1 choice > > gspca: probing 0733:0401 > > gspca: probe ok > > [andy at ...40... trunk]$ > > > > Only gambas debug info was this: > > > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > > assertion `atom != GDK_NONE' failed > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > /snip > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > > > Thanks > > Andy > > This is an image conversion problem: the SPCA501 is an image format, and > the gb.v4l component prints it each time it cannot convert it to RGB. > > Apparently the component can convert only a few format to the one supported > by Gambas: RGB & RGBA. > > But I don't know what SPCA501 is exactly. A conversion library format is > needed... > > Regards, I know what should be done: with v4l is developed a library named libv4lconvert that does all the conversion stuff. The gb.v4l component must use that library, instead of its own conversion routines. Regards, -- Beno?t From gambas at ...1... Tue Aug 25 14:07:46 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 25 Aug 2009 14:07:46 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> References: <200908241638.31346.aleks.l@...1865...> <200908251008.21609.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> Message-ID: <200908251407.46120.gambas@...1...> > you don't understand the stop event function.. > > stop event stop the event propagation...(so the widjet stop to act) > but not the current sub execution ! > > if you want to stop the sub too you need to add a 'return' keyword ! > > > > if ok then > stop event > return > endif > > nevertheless send me a short sample exemple and i will see what i can do > STOP EVENT only works for a few events where it has sense. It has no effects in most of events. Regards, -- Beno?t From gambas.fr at ...626... Tue Aug 25 14:30:58 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Aug 2009 14:30:58 +0200 Subject: [Gambas-user] How to set a slider value? In-Reply-To: <200908251407.46120.gambas@...1...> References: <200908241638.31346.aleks.l@...1865...> <200908251008.21609.aleks.l@...1865...> <6324a42a0908250225v21cb5d70qf9affc8c5b9843a1@...627...> <200908251407.46120.gambas@...1...> Message-ID: <6324a42a0908250530v1e162c01r53b10907e6133e51@...627...> Le 25 ao?t 2009 14:07, Beno?t Minisini a ?crit : >> you don't understand the stop event function.. >> >> stop event stop the event propagation...(so the widjet stop to act) >> but not the current sub execution ! >> >> if you want to stop the sub too you need to add a 'return' keyword ! >> >> >> >> if ok then >> ? stop event >> ? return >> endif >> >> nevertheless send me a short sample exemple and i will see what i can do >> > > STOP EVENT only works for a few events where it has sense. It has no effects > in most of events. > > Regards, > > -- > Beno?t I don't know that information :-) From ivanwms64 at ...43... Tue Aug 25 15:22:20 2009 From: ivanwms64 at ...43... (Ivan Williams) Date: Tue, 25 Aug 2009 06:22:20 -0700 (PDT) Subject: [Gambas-user] howto set starting path for dirview? In-Reply-To: References: Message-ID: <10286.78178.qm@...2287...> Greetings I am wring a small app that utilizes dirview. As long as the directories are contained within the user home directory the app can be utilized properly but if the user mounts a external drive the app cannot changedir to the external drive because it is mounted under the /media directory and not the $HOME dir. How do I change the path of the dirview to see the entire system? I have tried dirview.root= "/" but it does not work. Thank you for any assistance. Ivan I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. From m0e.lnx at ...626... Tue Aug 25 15:31:40 2009 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 25 Aug 2009 08:31:40 -0500 Subject: [Gambas-user] howto set starting path for dirview? In-Reply-To: <10286.78178.qm@...2287...> References: <10286.78178.qm@...2287...> Message-ID: <1f1e8c1b0908250631l2737ee28r3f05ae43ea589e6a@...627...> If that doesnt work, you may have found a bug... that should be the correct method From ivanwms64 at ...43... Tue Aug 25 15:38:19 2009 From: ivanwms64 at ...43... (Ivan Williams) Date: Tue, 25 Aug 2009 06:38:19 -0700 (PDT) Subject: [Gambas-user] solved dirview set path problem - sorry for bothering you In-Reply-To: References: Message-ID: <839244.46517.qm@...2288...> Greetings Solved my own problem with the default path problem - I was not in the form load area when I set the path - sorry for bothering you fine folks. Ivan I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. From jussi.lahtinen at ...626... Tue Aug 25 18:44:08 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 25 Aug 2009 19:44:08 +0300 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4A93045C.6020608@...626...> References: <200908182308.28684.gambas@...1...> <1f1e8c1b0908241013l1ad4d125yb5afbf87cc53a1fb@...627...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> <4A93045C.6020608@...626...> Message-ID: <384d3900908250944q4e8b90d3t94e20cfe6690fc56@...627...> [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.28-15-generic DistributionVendor=ubuntu DistributionRelease="Ubuntu 9.04" [System] CPUArchitecture=x86_64 TotalRam=3993220 kB [Gambas] Gambas1=Not Installed Gambas2=2.10.2 Gambas2Path=/usr/local/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 Everything correct! Jussi On Tue, Aug 25, 2009 at 00:21, Jean-Yves F. Barbier<12ukwn at ...626...> wrote: > Joshua Higgins a ?crit : >> Okay, so this version of the script with the additions by Fabien seems to be >> fairly stable. >> >> Also now includes system total ram. >> >> Now outputs to gambas_report.log instead of report2.log. > > Works good with Debian sid: > =========================== > > [OperatingSystem] > OperatingSystem=Linux > KernelRelease=2.6.25.4 > DistributionVendor=debian > DistributionRelease=squeeze/sid > > [System] > CPUArchitecture=i686 > TotalRam=1556336 kB > > [Gambas] > Gambas1=Not Installed > Gambas2=2.15.2 > Gambas2Path=/usr/bin/gbx2 > Gambas3=Not Installed > > -- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From acardenas at ...2158... Tue Aug 25 19:27:07 2009 From: acardenas at ...2158... (Alonso Cardenas Marquez) Date: Tue, 25 Aug 2009 12:27:07 -0500 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <384d3900908250944q4e8b90d3t94e20cfe6690fc56@...627...> References: <200908182308.28684.gambas@...1...> <4247f5440908241025t73356f29l85adee2172e5f95e@...627...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> <4A93045C.6020608@...626...> <384d3900908250944q4e8b90d3t94e20cfe6690fc56@...627...> Message-ID: <4a173bfc0908251027n611f625bv6d8f455325c6604c@...627...> 2009/8/25 Jussi Lahtinen : > [OperatingSystem] > OperatingSystem=Linux > KernelRelease=2.6.28-15-generic > DistributionVendor=ubuntu > DistributionRelease="Ubuntu 9.04" > > [System] > CPUArchitecture=x86_64 > TotalRam=3993220 kB > > [Gambas] > Gambas1=Not Installed > Gambas2=2.10.2 > Gambas2Path=/usr/local/bin/gbx2 > Gambas3=2.99.0 > Gambas3Path=/usr/local/bin/gbx3 > > ?Everything correct! > > > Jussi Works on FreeBSD too OperatingSystem=FreeBSD KernelRelease=7.2-RELEASE DistributionVendor=generic-undetected DistributionRelease= [System] CPUArchitecture=i386 TotalRam= [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/local/bin/gbx2 Gambas3=Not Installed Maybe we could use for detect available ram (Kb) on FreeBSD the following command if [ "$OS" = "FreeBSD" ]; then RAM=$(echo `sysctl -n hw.physmem` / 1024 | bc -l | cut -d . -f1)" Kb" else RAM="`cat /proc/meminfo | grep MemTotal | awk -F: '{print $2}' | sed -e 's/^[ \t]*//'`" fi Greetings ACM From joshiggins at ...1601... Tue Aug 25 20:23:33 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Tue, 25 Aug 2009 19:23:33 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4a173bfc0908251027n611f625bv6d8f455325c6604c@...627...> References: <200908182308.28684.gambas@...1...> <4A92D840.9000104@...1877...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> <4A93045C.6020608@...626...> <384d3900908250944q4e8b90d3t94e20cfe6690fc56@...627...> <4a173bfc0908251027n611f625bv6d8f455325c6604c@...627...> Message-ID: <4247f5440908251123p36501e54v99d505e75327b6d4@...627...> Included fix for FreeBSD ram detection. -- joshua higgins >>>>>>------ From joshiggins at ...1601... Tue Aug 25 20:24:25 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Tue, 25 Aug 2009 19:24:25 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908251123p36501e54v99d505e75327b6d4@...627...> References: <200908182308.28684.gambas@...1...> <4247f5440908241211g37412123scdf46a812c836a71@...627...> <1251143953.6419.26.camel@...40...> <6324a42a0908241304q40d388f3v331336341742eee4@...627...> <1251146939.6419.29.camel@...40...> <4247f5440908241409t16705f6cy79be5bc4a8422b18@...627...> <4A93045C.6020608@...626...> <384d3900908250944q4e8b90d3t94e20cfe6690fc56@...627...> <4a173bfc0908251027n611f625bv6d8f455325c6604c@...627...> <4247f5440908251123p36501e54v99d505e75327b6d4@...627...> Message-ID: <4247f5440908251124j27fdab30h3b3d123c4872cf3b@...627...> Forgot to attach :-) -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report-ng Type: application/octet-stream Size: 2943 bytes Desc: not available URL: From rterry at ...1946... Wed Aug 26 00:42:27 2009 From: rterry at ...1946... (richard terry) Date: Wed, 26 Aug 2009 08:42:27 +1000 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908251124j27fdab30h3b3d123c4872cf3b@...627...> References: <200908182308.28684.gambas@...1...> <4247f5440908251123p36501e54v99d505e75327b6d4@...627...> <4247f5440908251124j27fdab30h3b3d123c4872cf3b@...627...> Message-ID: <200908260842.27152.rterry@...1946...> On Wednesday 26 August 2009 04:24:25 Joshua Higgins wrote: > Forgot to attach :-) > > >>>>>>------ Output from my ARCH linux box. [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.30-ARCH DistributionVendor=generic-undetected Arch Linux \r (\n) (\l) [System] CPUArchitecture=i686 TotalRam=2073964 kB [Gambas] Gambas1=Not Installed Gambas2=Not Installed Gambas3=2.99.0 Gambas3Path=/usr/bin/gbx3 From gambas at ...1... Wed Aug 26 01:42:08 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 26 Aug 2009 01:42:08 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> Message-ID: <200908260142.08671.gambas@...1...> > Not sure what to include with this, please ask for additional info. > Attached is a pict of some webcam weirdness with no error messages > generated. Doesn't appear to be a webcam issue as the image looks fine > with Cheese Webcam Booth. > > This was taken with gambas v3 SVN as of yesterday running the WebCam > example program. > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > usb 4-1: configuration #1 chosen from 1 choice > gspca: probing 0733:0401 > gspca: probe ok > [andy at ...40... trunk]$ > > Only gambas debug info was this: > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > assertion `atom != GDK_NONE' failed > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > /snip > gambas v4l2: SPCA501 [11] > gambas v4l2: SPCA501 [11] > > Thanks > Andy Is it better if you use the latest revision? gb.v4l now uses the standard Video4Linux conversion library, so it should handle the specific format of your camera correctly. -- Beno?t From dr.diesel at ...626... Wed Aug 26 02:30:14 2009 From: dr.diesel at ...626... (Dr. Diesel) Date: Tue, 25 Aug 2009 20:30:14 -0400 Subject: [Gambas-user] webcam weirdness In-Reply-To: <200908260142.08671.gambas@...1...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908260142.08671.gambas@...1...> Message-ID: <2a28d2ab0908251730s630d91beld548cde988e7f42e@...627...> 2009/8/25 Beno?t Minisini > > Not sure what to include with this, please ask for additional info. > > Attached is a pict of some webcam weirdness with no error messages > > generated. Doesn't appear to be a webcam issue as the image looks fine > > with Cheese Webcam Booth. > > > > This was taken with gambas v3 SVN as of yesterday running the WebCam > > example program. > > > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > usb 4-1: configuration #1 chosen from 1 choice > > gspca: probing 0733:0401 > > gspca: probe ok > > [andy at ...40... trunk]$ > > > > Only gambas debug info was this: > > > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > > assertion `atom != GDK_NONE' failed > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > /snip > > gambas v4l2: SPCA501 [11] > > gambas v4l2: SPCA501 [11] > > > > Thanks > > Andy > > Is it better if you use the latest revision? > > gb.v4l now uses the standard Video4Linux conversion library, so it should > handle the specific format of your camera correctly. > > -- > Beno?t > Yes, thank you, it now works perfectly. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent From bleketux at ...626... Wed Aug 26 04:01:03 2009 From: bleketux at ...626... (MSulchan Darmawan) Date: Wed, 26 Aug 2009 09:01:03 +0700 Subject: [Gambas-user] type mismatch: wanted integer, got string instead (solved) In-Reply-To: <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> Message-ID: <20090826090103.1ecae5fe@...2286...> Pada Tue, 25 Aug 2009 04:29:32 -0600 Dimitris Anogiatis menulis: > give it a try MSulchan and tell me if it works for you Thank you Dimitris, after a little try and error, I change the code into like this : IF IsNull(Val(sRain)) = FALSE THEN IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 OR InStr(sRain, ".") > 0 THEN IF InStr(LCase(sRain), "x") > 0 THEN fRain = 0 IF InStr(sRain, "-") > 0 THEN fRain = 0 IF InStr(sRain, ".") > 0 THEN sRainy = Replace(sRain, ".", ",") fRain = Val(sRainy) ENDIF ELSE fRain = CFloat(Val(sRain)) ENDIF ELSE fRain = -1 ENDIF Decided to change iRain (integer) to fRain (float). As Fabien told that Val() use current localization, so I need to change the decimal separator from dot to comma. And I think it is fast enough :D Thanks again. -- Cheers, [-Sulchan-] Terbang dengan claws-mail 3.7.2 Mendarat di hardy heron 8.04.3 LTS -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From steven at ...2097... Wed Aug 26 04:46:48 2009 From: steven at ...2097... (Steven James Drinnan) Date: Wed, 26 Aug 2009 10:46:48 +0800 Subject: [Gambas-user] webcam weirdness In-Reply-To: <2a28d2ab0908251730s630d91beld548cde988e7f42e@...627...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908260142.08671.gambas@...1...> <2a28d2ab0908251730s630d91beld548cde988e7f42e@...627...> Message-ID: <1251254808.3200.0.camel@...2273...> For which version 2 or 3? Steven On Tue, 2009-08-25 at 20:30 -0400, Dr. Diesel wrote: > 2009/8/25 Beno?t Minisini > > > > Not sure what to include with this, please ask for additional info. > > > Attached is a pict of some webcam weirdness with no error messages > > > generated. Doesn't appear to be a webcam issue as the image looks fine > > > with Cheese Webcam Booth. > > > > > > This was taken with gambas v3 SVN as of yesterday running the WebCam > > > example program. > > > > > > usb 4-1: new full speed USB device using uhci_hcd and address 4 > > > usb 4-1: New USB device found, idVendor=0733, idProduct=0401 > > > usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > > > usb 4-1: configuration #1 chosen from 1 choice > > > gspca: probing 0733:0401 > > > gspca: probe ok > > > [andy at ...40... trunk]$ > > > > > > Only gambas debug info was this: > > > > > > (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: > > > assertion `atom != GDK_NONE' failed > > > gambas v4l2: SPCA501 [11] > > > gambas v4l2: SPCA501 [11] > > > gambas v4l2: SPCA501 [11] > > > /snip > > > gambas v4l2: SPCA501 [11] > > > gambas v4l2: SPCA501 [11] > > > > > > Thanks > > > Andy > > > > Is it better if you use the latest revision? > > > > gb.v4l now uses the standard Video4Linux conversion library, so it should > > handle the specific format of your camera correctly. > > > > -- > > Beno?t > > > > Yes, thank you, it now works perfectly. > > > > From dosida at ...626... Wed Aug 26 06:21:51 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 25 Aug 2009 22:21:51 -0600 Subject: [Gambas-user] type mismatch: wanted integer, got string instead (solved) In-Reply-To: <20090826090103.1ecae5fe@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> <20090826090103.1ecae5fe@...2286...> Message-ID: <82bffccf0908252121rdc8dd92xa947bf7d01a75f1b@...627...> You're welcome MSulchan :) I'm glad you solved that problem and I'm glad I helped :) Keep up the good work :) Regards Dimitris On Tue, Aug 25, 2009 at 8:01 PM, MSulchan Darmawan wrote: > Pada Tue, 25 Aug 2009 04:29:32 -0600 > Dimitris Anogiatis menulis: > > > give it a try MSulchan and tell me if it works for you > > Thank you Dimitris, after a little try and error, I change the code > into like this : > > IF IsNull(Val(sRain)) = FALSE THEN > IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 OR > InStr(sRain, ".") > 0 THEN > IF InStr(LCase(sRain), "x") > 0 THEN fRain = 0 > IF InStr(sRain, "-") > 0 THEN fRain = 0 > IF InStr(sRain, ".") > 0 THEN > sRainy = Replace(sRain, ".", ",") > fRain = Val(sRainy) > ENDIF > ELSE > fRain = CFloat(Val(sRain)) > ENDIF > ELSE > fRain = -1 > ENDIF > > Decided to change iRain (integer) to fRain (float). > As Fabien told that Val() use current localization, so I need to change > the decimal separator from dot to comma. > And I think it is fast enough :D > > Thanks again. > > -- > Cheers, > [-Sulchan-] > Terbang dengan claws-mail 3.7.2 > Mendarat di hardy heron 8.04.3 LTS > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ron at ...1740... Wed Aug 26 08:00:30 2009 From: ron at ...1740... (Ron) Date: Wed, 26 Aug 2009 08:00:30 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <200908260142.08671.gambas@...1...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908260142.08671.gambas@...1...> Message-ID: <4A94CF7E.2080509@...1740...> Beno?t Minisini wrote: >> > > Is it better if you use the latest revision? > > gb.v4l now uses the standard Video4Linux conversion library, so it should > handle the specific format of your camera correctly. > > Is it save/possible to backport this to the stable version? Regards, Ron_2nd. From gambas at ...1... Wed Aug 26 08:44:10 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 26 Aug 2009 08:44:10 +0200 Subject: [Gambas-user] webcam weirdness In-Reply-To: <4A94CF7E.2080509@...1740...> References: <2a28d2ab0908241509u2da42485ub519f7942c5adf37@...627...> <200908260142.08671.gambas@...1...> <4A94CF7E.2080509@...1740...> Message-ID: <200908260844.10193.gambas@...1...> > Beno?t Minisini wrote: > > Is it better if you use the latest revision? > > > > gb.v4l now uses the standard Video4Linux conversion library, so it should > > handle the specific format of your camera correctly. > > Is it save/possible to backport this to the stable version? > > Regards, > Ron_2nd. > I'm afraid not, as gb.v4l in Gambas 2 only uses Video4Linux version 1. The libv4lconvert library seems to be dependent on V4L version 2. If someone could show me that I am wrong, it will be different of course. Regards, -- Beno?t From joshiggins at ...1601... Wed Aug 26 09:15:12 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 26 Aug 2009 08:15:12 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908260842.27152.rterry@...1946...> References: <200908182308.28684.gambas@...1...> <4247f5440908251123p36501e54v99d505e75327b6d4@...627...> <4247f5440908251124j27fdab30h3b3d123c4872cf3b@...627...> <200908260842.27152.rterry@...1946...> Message-ID: <4247f5440908260015n68aa8e6did428edc11d0e5f33@...627...> Richard, does the /etc/arch-release file exist on your system? If not, is there anything along those lines, arch-version etc... -- joshua higgins >>>>>>------ From rterry at ...1946... Wed Aug 26 09:44:11 2009 From: rterry at ...1946... (richard terry) Date: Wed, 26 Aug 2009 17:44:11 +1000 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908260015n68aa8e6did428edc11d0e5f33@...627...> References: <200908182308.28684.gambas@...1...> <200908260842.27152.rterry@...1946...> <4247f5440908260015n68aa8e6did428edc11d0e5f33@...627...> Message-ID: <200908261744.11876.rterry@...1946...> On Wednesday 26 August 2009 17:15:12 Joshua Higgins wrote: > Richard, does the /etc/arch-release file exist on your system? If not, is > there anything along those lines, arch-version etc... > > >>>>>>------ > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes it does, its empty, I'll post to the arch list and ask why. Any other identifiers you need? Richard From gambas at ...1... Wed Aug 26 09:54:57 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 26 Aug 2009 09:54:57 +0200 Subject: [Gambas-user] Database Manager at Gambas 2.15 In-Reply-To: <69ef2ddd0908231837yd2e4b31o7a47046497a472df@...627...> References: <69ef2ddd0908231837yd2e4b31o7a47046497a472df@...627...> Message-ID: <200908260954.57767.gambas@...1...> > Hi all > > I have installed Gambas on my PC at Xubuntu 8.04. All Gambas run ok, but... > when I click at the menu to open Database Manager, it don't open. ?Why? > > Thanks > > PD: Sorry, my english is very bad Please provide all the details: Gambas version, how you did the install (from sources, from packages?)... -- Beno?t From rterry at ...1946... Wed Aug 26 10:16:51 2009 From: rterry at ...1946... (richard terry) Date: Wed, 26 Aug 2009 18:16:51 +1000 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908261744.11876.rterry@...1946...> References: <200908182308.28684.gambas@...1...> <4247f5440908260015n68aa8e6did428edc11d0e5f33@...627...> <200908261744.11876.rterry@...1946...> Message-ID: <200908261816.51878.rterry@...1946...> On Wednesday 26 August 2009 17:44:11 richard terry wrote: > On Wednesday 26 August 2009 17:15:12 Joshua Higgins wrote: > > Richard, does the /etc/arch-release file exist on your system? If not, is > > there anything along those lines, arch-version etc... > > > > >>>>>>------ > > > > ------------------------------------------------------------------------- > >-- --- Let Crystal Reports handle the reporting - Free Crystal Reports > > 2008 30-Day trial. Simplify your report design, integration and > > deployment - and focus on what you do best, core application coding. > > Discover what's new with Crystal Reports now. > > http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Yes it does, its empty, I'll post to the arch list and ask why. > > Any other identifiers you need? > > > Richard > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ok, arch list says Meant to be empty, they keep it there for compatability reasons, as arch is a 'rolling system' it wouldn't serve much point.. I guess with arch every day I do this. Pacman -Syu and that updates every single package on my entire system with the latest versions. If there is a kernel upgrade it just recompiles everything that's needed etc. Nice system, love pacman! I find compiling gambas really easy - I usually do it a couple of times a day as Benoit updates the svn as it only takes a few minutes with a one-liner. 'makepkg' in the build directory produces a tar.gz file which I then install. (Pacman is the package manager) richard From joshiggins at ...1601... Wed Aug 26 11:36:11 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 26 Aug 2009 10:36:11 +0100 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <200908261816.51878.rterry@...1946...> References: <200908182308.28684.gambas@...1...> <4247f5440908260015n68aa8e6did428edc11d0e5f33@...627...> <200908261744.11876.rterry@...1946...> <200908261816.51878.rterry@...1946...> Message-ID: <4247f5440908260236p3805d5ffo200491e41670682e@...627...> Attached updated version, should now correctly detect arch, instead of identifying it as generic-undetected. -- joshua higgins >>>>>>------ -------------- next part -------------- A non-text attachment was scrubbed... Name: report-ng Type: application/octet-stream Size: 3113 bytes Desc: not available URL: From o.s.p at ...69... Wed Aug 26 13:38:45 2009 From: o.s.p at ...69... (o.s.p) Date: Wed, 26 Aug 2009 13:38:45 +0200 Subject: [Gambas-user] gb3 svn 2277 make error Message-ID: <4A951EC5.30908@...69...> i've had this problem with gb2 2234 too: Making install in gbx make[2]: Entering directory `/home/pol/Desktop/src/g/trunk/main/gbx' /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -module -O1 -z defs -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -ldl -lpthread -lffi gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[2]: *** [gb.la] Error 1 make[2]: Leaving directory `/home/pol/Desktop/src/g/trunk/main/gbx' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pol/Desktop/src/g/trunk/main' make: *** [install-recursive] Error 1 gcc 4.4.1 doesn't like -soname.... From pinozollo at ...626... Wed Aug 26 18:45:24 2009 From: pinozollo at ...626... (Pino Zollo) Date: Wed, 26 Aug 2009 12:45:24 -0400 Subject: [Gambas-user] How to to copy a file which is into the project directory ? Message-ID: <200908261245.24861.pinozollo@...626...> Hi I would like to copy a default configuration file from the project directory to its natural place...but I do not succeed. -------- IF NOT Exist(User.Home &/ ".config/gambas" &/ Application.Name & ".conf") THEN COPY Application.Name & ".conf " TO User.Home &/ ".config/gambas " &/ Application.Name & ".conf " ENDIF --------- Which path has Application.Name & ".conf " stored into the project dir. ? I remember having read something on the argument, but I can not find it again. Thanks Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From pinozollo at ...626... Wed Aug 26 21:42:28 2009 From: pinozollo at ...626... (Pino Zollo) Date: Wed, 26 Aug 2009 15:42:28 -0400 Subject: [Gambas-user] How to to copy a file which is into the project directory ? Message-ID: <200908261542.28465.pinozollo@...626...> Sorry, forget about...an extra space into the destination file was producing a misleading message "file or directory not found". The string auto-completion always make me do errors. Thanks Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From leonardo at ...1237... Thu Aug 27 01:12:04 2009 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 27 Aug 2009 01:12:04 +0200 Subject: [Gambas-user] gb3 svn 2277 make error In-Reply-To: <4A951EC5.30908@...69...> References: <4A951EC5.30908@...69...> Message-ID: <4A95C144.9080903@...1237...> o.s.p ha scritto: > i've had this problem with gb2 2234 too: > (CUT) > gcc 4.4.1 doesn't like -soname.... I'm waiting a fix too ;-) -- Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunit? italiana degli utenti di Gambas www.gambas-it.org From pinozollo at ...626... Wed Aug 26 23:24:56 2009 From: pinozollo at ...626... (Pino Zollo) Date: Wed, 26 Aug 2009 17:24:56 -0400 Subject: [Gambas-user] How many row in a GridView ? Message-ID: <200908261724.56741.pinozollo@...626...> Hi, Is there a way to determine how many rows appear in a GridView ? I have noticed that moving my project from a computer to another with different screen definition or different QT settings all the forms change their dimensions. The labels do not fit anymore into their spaces, the number of row change, and, in general, all the looking is worst. I am looking for a general way of using parameters to define the dimension of the various objects on the forms. Meanwhile for the width there is some possibility, for the height I do not find any. Any suggestion will be very appreciated. Regards Pino ZP4KFX GG15lv -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From rterry at ...1946... Wed Aug 26 23:29:19 2009 From: rterry at ...1946... (richard terry) Date: Thu, 27 Aug 2009 07:29:19 +1000 Subject: [Gambas-user] Need help / call for volunteers In-Reply-To: <4247f5440908260236p3805d5ffo200491e41670682e@...627...> References: <200908182308.28684.gambas@...1...> <200908261816.51878.rterry@...1946...> <4247f5440908260236p3805d5ffo200491e41670682e@...627...> Message-ID: <200908270729.20000.rterry@...1946...> On Wednesday 26 August 2009 19:36:11 Joshua Higgins wrote: > Attached updated version, should now correctly detect arch, instead of > identifying it as generic-undetected. > > >>>>>>------ Output as below: [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.30-ARCH DistributionVendor=arch DistributionRelease=n/a [System] CPUArchitecture=i686 TotalRam=2073964 kB [Gambas] Gambas1=Not Installed Gambas2=Not Installed Gambas3=2.99.0 Gambas3Path=/usr/bin/gbx3 Only one problem with your script - you need minimal checking on file permissions eg I'd run the script (Bad bad bad) orginally as root for some reason so when this script ran it bombed. Regards From dosida at ...626... Wed Aug 26 23:53:06 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Wed, 26 Aug 2009 15:53:06 -0600 Subject: [Gambas-user] How many row in a GridView ? In-Reply-To: <200908261724.56741.pinozollo@...626...> References: <200908261724.56741.pinozollo@...626...> Message-ID: <82bffccf0908261453o25935460wec566483aedf4718@...627...> hey Pino, you can count the number of rows in the gridview control like this Gridview1.Rows.Count as for the height of each one of the rows... now that you prolly have to do some calculations yourself using the fonts that your gridview control and your QT Theme use. I hope it helps Regards, Dimitris On Wed, Aug 26, 2009 at 3:24 PM, Pino Zollo wrote: > Hi, > Is there a way to determine how many rows appear in a GridView ? > > I have noticed that moving my project from a computer to another with > different screen definition or different QT settings all the forms change > their dimensions. > The labels do not fit anymore into their spaces, the number of row change, > and, in general, all the looking is worst. > > I am looking for a general way of using parameters to define the dimension > of > the various objects on the forms. > > Meanwhile for the width there is some possibility, for the height I do not > find any. > > Any suggestion will be very appreciated. > > Regards > > Pino ZP4KFX GG15lv > > -- > Key ID: 0xF6768208 > Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 > Key server: hkp://wwwkeys.eu.pgp.net > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Wed Aug 26 23:53:24 2009 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 26 Aug 2009 22:53:24 +0100 Subject: [Gambas-user] How many row in a GridView ? In-Reply-To: <200908261724.56741.pinozollo@...626...> References: <200908261724.56741.pinozollo@...626...> Message-ID: <4247f5440908261453h19969227rfdeec344af3b008b@...627...> I think what you are looking for is the "Scaled" property for the form. If you set this to false, I understand the objects should stay the same size. Hope this helps -- joshua higgins >>>>>>------ From pinozollo at ...626... Thu Aug 27 00:57:28 2009 From: pinozollo at ...626... (Pino Zollo) Date: Wed, 26 Aug 2009 18:57:28 -0400 Subject: [Gambas-user] Error in the documentation Message-ID: <200908261857.29094.pinozollo@...626...> HI Maybe there is an error in the documentation example of the instruction OPEN. ----------------------- ' Watching a serial port DIM hFile AS File hFile = OPEN "/dev/ttyS0" FOR READ WRITE WATCH ... PUBLIC SUB File_Read() <---- hFile_Read() ?????? DIM iByte AS Byte READ #hFile, iByte PRINT "Got one byte: "; iByte END ---------------------- Saludos Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From rterry at ...1946... Thu Aug 27 11:55:01 2009 From: rterry at ...1946... (richard terry) Date: Thu, 27 Aug 2009 19:55:01 +1000 Subject: [Gambas-user] Empty string sets controls and collections members to null Question Message-ID: <200908271955.01499.rterry@...1946...> This question is really around how to set a collection member to an empty string without destroying it. I've noticed (forever) that this code textbox1 = "" when one accidentally forgot to write textbox1.text ="", actually sets the control to null. But I've also I just noticed this: Lets say you have a collection dim aCollection as new collection aCollection!value = "hi there" is a valid statement aCollection.Remove("value") - removes the item aCollecton!value = "" actually works like aCollection.Remove("value") which is sort of inconvenient if you want the collection member to be an empty string Am I wrong ?any suggestions/observations. regards richard From rterry at ...1946... Thu Aug 27 23:29:53 2009 From: rterry at ...1946... (richard terry) Date: Fri, 28 Aug 2009 07:29:53 +1000 Subject: [Gambas-user] configuring toolbar in code Message-ID: <200908280729.53357.rterry@...1946...> I wondered if anyone had the code/knew how to make ones program react to the user clickign on that little vertical button on the end of a toolbar - to popup a list of available tool buttons and allow drag-n-drop, like in the gambas IDE. I trolled the gambas3 ide code but couldn't find it. Regards Richard From gambas at ...1... Thu Aug 27 23:37:46 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 27 Aug 2009 23:37:46 +0200 Subject: [Gambas-user] configuring toolbar in code In-Reply-To: <200908280729.53357.rterry@...1946...> References: <200908280729.53357.rterry@...1946...> Message-ID: <200908272337.46809.gambas@...1...> > I wondered if anyone had the code/knew how to make ones program react to > the user clickign on that little vertical button on the end of a toolbar - > to popup a list of available tool buttons and allow drag-n-drop, like in > the gambas IDE. I trolled the gambas3 ide code but couldn't find it. > > Regards > > Richard > It is automatic. Otherwise you have the Action.ConfigureToolbar() method if you really want to open the configuration toolbar by hand. Regards, -- Beno?t From rterry at ...1946... Thu Aug 27 23:57:33 2009 From: rterry at ...1946... (richard terry) Date: Fri, 28 Aug 2009 07:57:33 +1000 Subject: [Gambas-user] configuring toolbar in code In-Reply-To: <200908272337.46809.gambas@...1...> References: <200908280729.53357.rterry@...1946...> <200908272337.46809.gambas@...1...> Message-ID: <200908280757.33955.rterry@...1946...> On Friday 28 August 2009 07:37:46 Beno?t Minisini wrote: > > I wondered if anyone had the code/knew how to make ones program react to > > the user clickign on that little vertical button on the end of a toolbar > > - to popup a list of available tool buttons and allow drag-n-drop, like > > in the gambas IDE. I trolled the gambas3 ide code but couldn't find it. > > > > Regards > > > > Richard > > It is automatic. Otherwise you have the Action.ConfigureToolbar() method if > you really want to open the configuration toolbar by hand. > > Regards, Nothing popups up when I click mine, must be doing something wrong. I'll take another look. Richard From gambas at ...1... Fri Aug 28 00:14:51 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 28 Aug 2009 00:14:51 +0200 Subject: [Gambas-user] configuring toolbar in code In-Reply-To: <200908280757.33955.rterry@...1946...> References: <200908280729.53357.rterry@...1946...> <200908272337.46809.gambas@...1...> <200908280757.33955.rterry@...1946...> Message-ID: <200908280014.51479.gambas@...1...> > On Friday 28 August 2009 07:37:46 Beno?t Minisini wrote: > > > I wondered if anyone had the code/knew how to make ones program react > > > to the user clickign on that little vertical button on the end of a > > > toolbar - to popup a list of available tool buttons and allow > > > drag-n-drop, like in the gambas IDE. I trolled the gambas3 ide code but > > > couldn't find it. > > > > > > Regards > > > > > > Richard > > > > It is automatic. Otherwise you have the Action.ConfigureToolbar() method > > if you really want to open the configuration toolbar by hand. > > > > Regards, > > Nothing popups up when I click mine, must be doing something wrong. I'll > take another look. > > Richard > You must define the toolbar key property, and the action property of each toolbar control. Regards, -- Beno?t From rterry at ...1946... Fri Aug 28 00:26:43 2009 From: rterry at ...1946... (richard terry) Date: Fri, 28 Aug 2009 08:26:43 +1000 Subject: [Gambas-user] configuring toolbar in code In-Reply-To: <200908280014.51479.gambas@...1...> References: <200908280729.53357.rterry@...1946...> <200908280757.33955.rterry@...1946...> <200908280014.51479.gambas@...1...> Message-ID: <200908280826.43652.rterry@...1946...> On Friday 28 August 2009 08:14:51 Beno?t Minisini wrote: > > On Friday 28 August 2009 07:37:46 Beno?t Minisini wrote: > > > > I wondered if anyone had the code/knew how to make ones program react > > > > to the user clickign on that little vertical button on the end of a > > > > toolbar - to popup a list of available tool buttons and allow > > > > drag-n-drop, like in the gambas IDE. I trolled the gambas3 ide code > > > > but couldn't find it. > > > > > > > > Regards > > > > > > > > Richard > > > > > > It is automatic. Otherwise you have the Action.ConfigureToolbar() > > > method if you really want to open the configuration toolbar by hand. > > > > > > Regards, > > > > Nothing popups up when I click mine, must be doing something wrong. I'll > > take another look. > > > > Richard > > You must define the toolbar key property, and the action property of each > toolbar control. > > Regards, Don't suppoise you could point me to a sample code in the IDE? From gambas.fr at ...626... Fri Aug 28 08:52:32 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Aug 2009 08:52:32 +0200 Subject: [Gambas-user] Error in the documentation In-Reply-To: <200908261857.29094.pinozollo@...626...> References: <200908261857.29094.pinozollo@...626...> Message-ID: <6324a42a0908272352q73ac08f8u65391abd8ca78279@...627...> it's not an error it's a generic handle name like with form in your fom class code.. form_open is not the name of your form ! 2009/8/27 Pino Zollo : > HI > Maybe there is an error in the documentation example of the instruction OPEN. > ----------------------- > ' Watching a serial port > > DIM hFile AS File > > hFile = OPEN "/dev/ttyS0" FOR READ WRITE WATCH > > ... > > PUBLIC SUB File_Read() ? ?<---- hFile_Read() ??????? > > ?DIM iByte AS Byte > > ?READ #hFile, iByte > ?PRINT "Got one byte: "; iByte > > END > ---------------------- > > Saludos > Pino > > -- > Key ID: 0xF6768208 > Key fingerprint = B16D 0A7C 5B29 A334 CE6A ?71F6 EAF8 3D88 F676 8208 > Key server: hkp://wwwkeys.eu.pgp.net > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri Aug 28 10:50:38 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Aug 2009 10:50:38 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead (solved) In-Reply-To: <20090826090103.1ecae5fe@...2286...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> <20090826090103.1ecae5fe@...2286...> Message-ID: <6324a42a0908280150n7f9b7c41oaab58ee3b8be82f2@...627...> 2009/8/26 MSulchan Darmawan : > Pada Tue, 25 Aug 2009 04:29:32 -0600 > Dimitris Anogiatis menulis: > >> give it a try MSulchan and tell me if it works for you > > Thank you Dimitris, after a little try and error, I change the code > into like this : > > ? ? ?IF IsNull(Val(sRain)) = FALSE THEN > ? ? ? ?IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 OR InStr(sRain, ".") > 0 THEN > ? ? ? ? ? ?IF InStr(LCase(sRain), "x") > 0 THEN fRain = 0 > ? ? ? ? ? ?IF InStr(sRain, "-") > 0 THEN fRain = 0 > ? ? ? ? ? ?IF InStr(sRain, ".") > 0 THEN > ? ? ? ? ? ? ?sRainy = Replace(sRain, ".", ",") > ? ? ? ? ? ? ?fRain = Val(sRainy) > ? ? ? ? ? ?ENDIF > ? ? ? ?ELSE > ? ? ? ? ? ?fRain = CFloat(Val(sRain)) > ? ? ? ?ENDIF > ? ? ?ELSE > ? ? ? ?fRain = -1 > ? ? ?ENDIF > IF IsNull(Val(sRain)) = FALSE THEN IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 THEN fRain=0 ELSE try fRain = CFloat(sRain) If ERROR THEN fRain=-1 'Not a Valid Number ENDIF ELSE fRain=-1 ENDIF It will Work > Decided to change iRain (integer) to fRain (float). > As Fabien told that Val() use current localization, so I need to change > the decimal separator from dot to comma. > And I think it is fast enough :D > > Thanks again. > > -- > Cheers, > [-Sulchan-] > Terbang dengan claws-mail 3.7.2 > Mendarat di hardy heron 8.04.3 LTS > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Fri Aug 28 11:23:59 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Aug 2009 11:23:59 +0200 Subject: [Gambas-user] type mismatch: wanted integer, got string instead (solved) In-Reply-To: <6324a42a0908280150n7f9b7c41oaab58ee3b8be82f2@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> <20090826090103.1ecae5fe@...2286...> <6324a42a0908280150n7f9b7c41oaab58ee3b8be82f2@...627...> Message-ID: <6324a42a0908280223k3a5b030cq431350fa305ca0fb@...627...> try this IF NOT sRain THEN IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 THEN fRain=0 ELSE TRY fRain = CFloat(sRain) IF ERROR THEN fRain=-1 'Not a Valid Number ENDIF ELSE fRain=-1 ENDIF From gambas at ...1... Fri Aug 28 12:44:51 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 28 Aug 2009 12:44:51 +0200 Subject: [Gambas-user] configuring toolbar in code In-Reply-To: <200908280826.43652.rterry@...1946...> References: <200908280729.53357.rterry@...1946...> <200908280014.51479.gambas@...1...> <200908280826.43652.rterry@...1946...> Message-ID: <200908281244.51247.gambas@...1...> > On Friday 28 August 2009 08:14:51 Beno?t Minisini wrote: > > > On Friday 28 August 2009 07:37:46 Beno?t Minisini wrote: > > > > > I wondered if anyone had the code/knew how to make ones program > > > > > react to the user clickign on that little vertical button on the > > > > > end of a toolbar - to popup a list of available tool buttons and > > > > > allow drag-n-drop, like in the gambas IDE. I trolled the gambas3 > > > > > ide code but couldn't find it. > > > > > > > > > > Regards > > > > > > > > > > Richard > > > > > > > > It is automatic. Otherwise you have the Action.ConfigureToolbar() > > > > method if you really want to open the configuration toolbar by hand. > > > > > > > > Regards, > > > > > > Nothing popups up when I click mine, must be doing something wrong. > > > I'll take another look. > > > > > > Richard > > > > You must define the toolbar key property, and the action property of each > > toolbar control. > > > > Regards, > > Don't suppoise you could point me to a sample code in the IDE? > There is no code at all. You define these properties in the property sheet. Look at the main toolbar in the FMain form of the IDE for example, and in the menus. -- Beno?t From ulusoyab at ...43... Fri Aug 28 23:45:44 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Fri, 28 Aug 2009 14:45:44 -0700 (PDT) Subject: [Gambas-user] web browser. Message-ID: <882251.73550.qm@...2266...> when i wait for opengl selection :) , i add some codes to webbrowser (in gambas examples). if you want to develope gambasweb codes here ?http://code.google.com/p/gambasweb/ ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From prog at ...2177... Sat Aug 29 02:00:51 2009 From: prog at ...2177... (craf) Date: Fri, 28 Aug 2009 20:00:51 -0400 Subject: [Gambas-user] web browser. In-Reply-To: <882251.73550.qm@...2266...> References: <882251.73550.qm@...2266...> Message-ID: <1251504051.3556.0.camel@...651...> it's great???. -----Mensaje original----- De: abdurrahman ulusoy Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: [Gambas-user] web browser. Fecha: Fri, 28 Aug 2009 14:45:44 -0700 (PDT) when i wait for opengl selection :) , i add some codes to webbrowser (in gambas examples). if you want to develope gambasweb codes here http://code.google.com/p/gambasweb/ ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From dosida at ...626... Sat Aug 29 02:11:24 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 28 Aug 2009 18:11:24 -0600 Subject: [Gambas-user] web browser. In-Reply-To: <882251.73550.qm@...2266...> References: <882251.73550.qm@...2266...> Message-ID: <82bffccf0908281711u10d402cqd48c053a5e0adfa0@...627...> abdurrahman it works pretty well, keep up the great work :) Regards Dimitris On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy wrote: > when i wait for opengl selection :) , i add some codes to webbrowser (in > gambas examples). > > if you want to develope gambasweb codes here > > http://code.google.com/p/gambasweb/ > > > > > ___________________________________________________________________ > Yahoo! T?rkiye a??ld?! http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Fri Aug 28 21:01:04 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Fri, 28 Aug 2009 21:01:04 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error Message-ID: <4A982970.1090505@...221...> Hi, new in Gambas, I encountered the following problem: I have a DataSource and a DataBrowser and managed to display the data fine. Now, I wanted to display details of the data in several DataControls. If I fill the "Field" property of the DataControls (e.g. Artikel), I get an Error Message "No Current Connection", right at the start of the program. Nothing runs. If I leave the "Field" property empty, the program runs. But, of course, the DataControls are empty. After a lot trial and error I found out, that doing the same thing in code DataControl1.Field = "Artikel" works. This way, everything works fine. I wonder why the "normal" way (like in the Gambas example) produces this error? And why does the "code" way work? From steven at ...2097... Sat Aug 29 07:55:19 2009 From: steven at ...2097... (Steven James Drinnan) Date: Sat, 29 Aug 2009 13:55:19 +0800 Subject: [Gambas-user] web browser. In-Reply-To: <82bffccf0908281711u10d402cqd48c053a5e0adfa0@...627...> References: <882251.73550.qm@...2266...> <82bffccf0908281711u10d402cqd48c053a5e0adfa0@...627...> Message-ID: <1251525319.3856.1.camel@...2273...> Does not work in gnome, need KDE to run. You may want to add that to your requirements. Steven Drinnan On Fri, 2009-08-28 at 18:11 -0600, Dimitris Anogiatis wrote: > abdurrahman > > it works pretty well, > keep up the great work :) > > Regards > Dimitris > > On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy wrote: > > > when i wait for opengl selection :) , i add some codes to webbrowser (in > > gambas examples). > > > > if you want to develope gambasweb codes here > > > > http://code.google.com/p/gambasweb/ > > > > > > > > > > ___________________________________________________________________ > > Yahoo! T?rkiye a??ld?! http://yahoo.com.tr > > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dosida at ...626... Sat Aug 29 08:02:13 2009 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 29 Aug 2009 00:02:13 -0600 Subject: [Gambas-user] web browser. In-Reply-To: <1251525319.3856.1.camel@...2273...> References: <882251.73550.qm@...2266...> <82bffccf0908281711u10d402cqd48c053a5e0adfa0@...627...> <1251525319.3856.1.camel@...2273...> Message-ID: <82bffccf0908282302w17a7e256qb07cc0337d9e7966@...627...> Hey Steven, it does work in gnome. Because the webbrowser control is based on a KDE library if you load the kbuildsycoca package (or the one that contains it) and re-run the webbrowser code it might work. I'm running it on a Debian Lenny and Gnome 2.22.3. And it works just fine. Regards, Dimitris On Fri, Aug 28, 2009 at 11:55 PM, Steven James Drinnan wrote: > Does not work in gnome, need KDE to run. You may want to add that to > your requirements. > > > > Steven Drinnan > > On Fri, 2009-08-28 at 18:11 -0600, Dimitris Anogiatis wrote: > > abdurrahman > > > > it works pretty well, > > keep up the great work :) > > > > Regards > > Dimitris > > > > On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy >wrote: > > > > > when i wait for opengl selection :) , i add some codes to webbrowser > (in > > > gambas examples). > > > > > > if you want to develope gambasweb codes here > > > > > > http://code.google.com/p/gambasweb/ > > > > > > > > > > > > > > > > ___________________________________________________________________ > > > Yahoo! T?rkiye a??ld?! http://yahoo.com.tr > > > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > > > > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > > trial. Simplify your report design, integration and deployment - and > focus > > > on > > > what you do best, core application coding. Discover what's new with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ulusoyab at ...43... Sat Aug 29 14:00:49 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sat, 29 Aug 2009 05:00:49 -0700 (PDT) Subject: [Gambas-user] web browser. In-Reply-To: <82bffccf0908281711u10d402cqd48c053a5e0adfa0@...627...> Message-ID: <28741.43888.qm@...2262...> Thank you. i daily use this. And thanks to Benoit Minisini? and? Daniel Campos Fern?ndez(pdf viewer coder). There are? some errors. usually pdf? file? download and pdf viewer not show file. (download process not? finish, but? viewer start so it cant find file ) also usually pic. file? download and form2? not show file. --- 29/08/09 Cts tarihinde Dimitris Anogiatis ??yle yaz?yor: Kimden: Dimitris Anogiatis Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 29 A?ustos 2009 Cumartesi, 3:11 abdurrahman it works pretty well, keep up the great work :) Regards Dimitris On Fri, Aug 28, 2009 at 3:45 PM, abdurrahman ulusoy wrote: > when i wait for opengl selection :) , i add some codes to webbrowser (in > gambas examples). > > if you want to develope gambasweb codes here > >? http://code.google.com/p/gambasweb/ > > > > >? ? ? ___________________________________________________________________ > Yahoo! T?rkiye a??ld?!? http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From gambas at ...1... Sat Aug 29 14:35:38 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 29 Aug 2009 14:35:38 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <882251.73550.qm@...2266...> References: <882251.73550.qm@...2266...> Message-ID: <200908291435.38983.gambas@...1...> > when i wait for opengl selection :) , i add some codes to webbrowser (in > gambas examples). > > if you want to develope gambasweb codes here > > http://code.google.com/p/gambasweb/ > > Do you think making a Gambas 3 version with gb.qt4.webkit? -- Beno?t From gambas at ...1... Sat Aug 29 14:36:33 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 29 Aug 2009 14:36:33 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error In-Reply-To: <4A982970.1090505@...221...> References: <4A982970.1090505@...221...> Message-ID: <200908291436.33042.gambas@...1...> > Hi, > new in Gambas, I encountered the following problem: > > I have a DataSource and a DataBrowser and managed to display the data fine. > > Now, I wanted to display details of the data in several DataControls. > If I fill the "Field" property of the DataControls (e.g. Artikel), I get an > Error Message "No Current Connection", right at the start of the program. > Nothing runs. > If I leave the "Field" property empty, the program runs. But, of course, > the DataControls are empty. > > After a lot trial and error I found out, that doing the same thing in code > DataControl1.Field = "Artikel" > works. This way, everything works fine. > > I wonder why the "normal" way (like in the Gambas example) produces this > error? And why does the "code" way work? > You must open a database connection before doing anything else. Regards, -- Beno?t From gambas at ...1... Sat Aug 29 14:37:44 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 29 Aug 2009 14:37:44 +0200 Subject: [Gambas-user] Empty string sets controls and collections members to null Question In-Reply-To: <200908271955.01499.rterry@...1946...> References: <200908271955.01499.rterry@...1946...> Message-ID: <200908291437.44733.gambas@...1...> > This question is really around how to set a collection member to an empty > string without destroying it. > > > I've noticed (forever) that this code > > textbox1 = "" when one accidentally forgot to write > > textbox1.text ="", actually sets the control to null. > > But I've also I just noticed this: > > > Lets say you have a collection > > dim aCollection as new collection > > aCollection!value = "hi there" > > is a valid statement > > aCollection.Remove("value") - removes the item > > aCollecton!value = "" actually works like aCollection.Remove("value") > > which is sort of inconvenient if you want the collection member to be an > empty string > > Am I wrong ?any suggestions/observations. > > regards > > richard > You can't do what you want. There is no difference between NULL and an empty string in Gambas, and so putting a void string inside a Collection is the same thing as removing the element. Regards, -- Beno?t From bill-lancaster at ...2231... Sat Aug 29 15:03:05 2009 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sat, 29 Aug 2009 06:03:05 -0700 (PDT) Subject: [Gambas-user] Installing Gambas2 Message-ID: <25202728.post@...1379...> Have been using Gambas for only a short while. Having moved to a new computer I get error when installing Gambas (gambas2-2.15.2). After "make install" the following error occurs (the previous steps were error free) /usr/bin/install -c gbx2 /usr/local/bin/gbx2 /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2': Permission denied make[3]: *** [install-binPROGRAMS] Error 1 Can anyone help? -- View this message in context: http://www.nabble.com/Installing-Gambas2-tp25202728p25202728.html Sent from the gambas-user mailing list archive at Nabble.com. From 12ukwn at ...626... Sat Aug 29 15:23:13 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 29 Aug 2009 15:23:13 +0200 Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <25202728.post@...1379...> References: <25202728.post@...1379...> Message-ID: <4A992BC1.2050302@...626...> Bill-Lancaster a ?crit : > Have been using Gambas for only a short while. > > Having moved to a new computer I get error when installing Gambas > (gambas2-2.15.2). > > After "make install" the following error occurs (the previous steps were > error free) > > /usr/bin/install -c gbx2 /usr/local/bin/gbx2 > > /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2': > Permission denied you compiled GB as a user and tried to install it in a system path. either compile it into root account (or use fakeroot) to install it in a system path, or as a user but change the installation path to any directory you're able write to (and make sure that this path is part of the $PATH env variable to directly access your executable.) -- my computer was once one of the building blocks of a great pyramid From jussi.lahtinen at ...626... Sat Aug 29 15:27:14 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Aug 2009 16:27:14 +0300 Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <4A992BC1.2050302@...626...> References: <25202728.post@...1379...> <4A992BC1.2050302@...626...> Message-ID: <384d3900908290627q7250b697qfd02b5767d35d237@...627...> I always do; sudo make install Jussi On Sat, Aug 29, 2009 at 16:23, Jean-Yves F. Barbier<12ukwn at ...626...> wrote: > Bill-Lancaster a ?crit : >> Have been using Gambas for only a short while. >> >> Having moved to a new computer I get error when installing Gambas >> (gambas2-2.15.2). >> >> After "make install" the following error occurs ?(the previous steps were >> error free) >> >> /usr/bin/install -c gbx2 /usr/local/bin/gbx2 >> >> /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2': >> Permission denied > > you compiled GB as a user and tried to install it in a system path. > > either compile it into root account (or use fakeroot) to install it > in a system path, or as a user but change the installation path to > any directory you're able write to (and make sure that this path is > part of the $PATH env variable to directly access your executable.) > > -- > my computer was once one of the building blocks of a great > ? ? ? ? ?pyramid > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Sat Aug 29 17:51:54 2009 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sat, 29 Aug 2009 08:51:54 -0700 (PDT) Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <4A992BC1.2050302@...626...> References: <25202728.post@...1379...> <4A992BC1.2050302@...626...> Message-ID: <25204028.post@...1379...> Jean - thanks for the quick reply. I get "permission denied" when I try to navigate to root. What is "fakeroot" ? Bill Jean-Yves F. Barbier-2 wrote: > > Bill-Lancaster a ?crit : >> Have been using Gambas for only a short while. >> >> Having moved to a new computer I get error when installing Gambas >> (gambas2-2.15.2). >> >> After "make install" the following error occurs (the previous steps were >> error free) >> >> /usr/bin/install -c gbx2 /usr/local/bin/gbx2 >> >> /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2': >> Permission denied > > you compiled GB as a user and tried to install it in a system path. > > either compile it into root account (or use fakeroot) to install it > in a system path, or as a user but change the installation path to > any directory you're able write to (and make sure that this path is > part of the $PATH env variable to directly access your executable.) > > -- > my computer was once one of the building blocks of a great > pyramid > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/Installing-Gambas2-tp25202728p25204028.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sat Aug 29 18:06:36 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Aug 2009 19:06:36 +0300 Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <25204028.post@...1379...> References: <25202728.post@...1379...> <4A992BC1.2050302@...626...> <25204028.post@...1379...> Message-ID: <384d3900908290906w6b7c53d2i422d6421e558160e@...627...> Type "man fakeroot" to terminal, to see what it does. BUT, I recommend to just use sudo! It is simpler. If you don't have root password, then you have to change installation path. Jussi On Sat, Aug 29, 2009 at 18:51, Bill-Lancaster wrote: > > Jean - thanks for the quick reply. > I get "permission denied" when I try to navigate to root. > What is "fakeroot" ? > Bill > > > Jean-Yves F. Barbier-2 wrote: >> >> Bill-Lancaster a ?crit : >>> Have been using Gambas for only a short while. >>> >>> Having moved to a new computer I get error when installing Gambas >>> (gambas2-2.15.2). >>> >>> After "make install" the following error occurs ?(the previous steps were >>> error free) >>> >>> /usr/bin/install -c gbx2 /usr/local/bin/gbx2 >>> >>> /usr/bin/install: cannot create regular file `/usr/local/bin/gbx2': >>> Permission denied >> >> you compiled GB as a user and tried to install it in a system path. >> >> either compile it into root account (or use fakeroot) to install it >> in a system path, or as a user but change the installation path to >> any directory you're able write to (and make sure that this path is >> part of the $PATH env variable to directly access your executable.) >> >> -- >> my computer was once one of the building blocks of a great >> ? ? ? ? ? pyramid >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > -- > View this message in context: http://www.nabble.com/Installing-Gambas2-tp25202728p25204028.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From 12ukwn at ...626... Sat Aug 29 18:10:37 2009 From: 12ukwn at ...626... (Jean-Yves F. Barbier) Date: Sat, 29 Aug 2009 18:10:37 +0200 Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <25204028.post@...1379...> References: <25202728.post@...1379...> <4A992BC1.2050302@...626...> <25204028.post@...1379...> Message-ID: <4A9952FD.9050104@...626...> Bill-Lancaster a ?crit : > Jean - thanks for the quick reply. > I get "permission denied" when I try to navigate to root. whao, I think you misunderstood me: I didn't say cd to /root, I said BE the root user. (but anyway, that is not normal to be refused /root access as a user @ least for read, except of course for some sensible files) If you don't know how to go to root from user, type: su - (the '-' IS important: man su) then enter the password of root user; normally the prompt will change from '$' (user) to '#' (root) and you'll be really root user. When you reach this point, 'cd /pathofzesource', 'make clean', './configure', and 'make install' should do the work. > What is "fakeroot" ? As I only use Debian it may be typical from it. It creates a pseudo-root environment and allow you to make some stuffs only root is permitted (but I re-read the doc and it was a bad idea: you can manipulate root files, but not install to system path with it) JY -- Just because your doctor has a name for your condition doesn't mean he knows what it is. From gambas at ...1... Sat Aug 29 18:15:55 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 29 Aug 2009 18:15:55 +0200 Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <4A9952FD.9050104@...626...> References: <25202728.post@...1379...> <25204028.post@...1379...> <4A9952FD.9050104@...626...> Message-ID: <200908291815.55080.gambas@...1...> > Bill-Lancaster a ?crit : > > Jean - thanks for the quick reply. > > I get "permission denied" when I try to navigate to root. > > whao, I think you misunderstood me: I didn't say cd to /root, > I said BE the root user. (but anyway, that is not normal to be > refused /root access as a user @ least for read, except of course > for some sensible files) > > If you don't know how to go to root from user, type: > su - (the '-' IS important: man su) > then enter the password of root user; > normally the prompt will change from '$' (user) to '#' (root) > and you'll be really root user. > > When you reach this point, 'cd /pathofzesource', 'make clean', > './configure', and 'make install' should do the work. Just "make install". All other commands must be run as a normal user. -- Beno?t From ulusoyab at ...43... Sat Aug 29 19:47:21 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sat, 29 Aug 2009 10:47:21 -0700 (PDT) Subject: [Gambas-user] web browser. In-Reply-To: <200908291435.38983.gambas@...1...> Message-ID: <577098.7785.qm@...2247...> yes. i want. i try to install gambas3? a lot of times but? i cant. --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: Kimden: Beno?t Minisini Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > when i wait for opengl selection :) , i add some codes to webbrowser (in > gambas examples). > > if you want to develope gambasweb codes here > >? http://code.google.com/p/gambasweb/ > > Do you think making a Gambas 3 version with gb.qt4.webkit? -- Beno?t ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From math.eber at ...221... Sat Aug 29 20:32:11 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Sat, 29 Aug 2009 20:32:11 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error In-Reply-To: <200908291436.33042.gambas@...1...> References: <4A982970.1090505@...221...> <200908291436.33042.gambas@...1...> Message-ID: <4A99742B.3070806@...221...> Thanks, Benoit. But the database connection IS open, that's why I am confused. DataSource reads the table, and DataBrowser shows the data in the columns I set in properties. So, the connection seems to be not the problem. The only things that don't work are the DataControls. They always produce this "No current Connection". Or am I completely wrong?? I open the database connection in the PUBLIC SUB Form_Open(), first thing. That's the earliest point I can imagine. I also tried printing out several events, and always the "connected to database" was the first one, everything else came later. Regards Mathias Beno?t Minisini schrieb: >> Hi, >> new in Gambas, I encountered the following problem: >> >> I have a DataSource and a DataBrowser and managed to display the data fine. >> >> Now, I wanted to display details of the data in several DataControls. >> If I fill the "Field" property of the DataControls (e.g. Artikel), I get an >> Error Message "No Current Connection", right at the start of the program. >> Nothing runs. >> If I leave the "Field" property empty, the program runs. But, of course, >> the DataControls are empty. >> >> After a lot trial and error I found out, that doing the same thing in code >> DataControl1.Field = "Artikel" >> works. This way, everything works fine. >> >> I wonder why the "normal" way (like in the Gambas example) produces this >> error? And why does the "code" way work? >> > > You must open a database connection before doing anything else. > > Regards, > From Karl.Reinl at ...9... Sat Aug 29 20:58:38 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 29 Aug 2009 20:58:38 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error In-Reply-To: <4A99742B.3070806@...221...> References: <4A982970.1090505@...221...> <200908291436.33042.gambas@...1...> <4A99742B.3070806@...221...> Message-ID: <1251572318.6407.6.camel@...40...> Am Samstag, den 29.08.2009, 20:32 +0200 schrieb Mathias Ebermann: > Thanks, Benoit. > > But the database connection IS open, that's why I am confused. > > DataSource reads the table, and DataBrowser shows the data in the columns I set in properties. So, the connection seems to be > not the problem. > The only things that don't work are the DataControls. They always produce this "No current Connection". > > Or am I completely wrong?? > I open the database connection in the PUBLIC SUB Form_Open(), first thing. That's the earliest point I can imagine. I also > tried printing out several events, and always the "connected to database" was the first one, everything else came later. > > Regards Mathias > > > Beno?t Minisini schrieb: > >> Hi, > >> new in Gambas, I encountered the following problem: > >> > >> I have a DataSource and a DataBrowser and managed to display the data fine. > >> > >> Now, I wanted to display details of the data in several DataControls. > >> If I fill the "Field" property of the DataControls (e.g. Artikel), I get an > >> Error Message "No Current Connection", right at the start of the program. > >> Nothing runs. > >> If I leave the "Field" property empty, the program runs. But, of course, > >> the DataControls are empty. > >> > >> After a lot trial and error I found out, that doing the same thing in code > >> DataControl1.Field = "Artikel" > >> works. This way, everything works fine. > >> > >> I wonder why the "normal" way (like in the Gambas example) produces this > >> error? And why does the "code" way work? > >> > > > > You must open a database connection before doing anything else. > > > > Regards, > > Salut, is the open connection "visible" (is the connection public declared) where you/try to use it ? Could you send the DB and the project as archive ? Charlie From gambas at ...1... Sat Aug 29 21:03:25 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 29 Aug 2009 21:03:25 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error In-Reply-To: <4A99742B.3070806@...221...> References: <4A982970.1090505@...221...> <200908291436.33042.gambas@...1...> <4A99742B.3070806@...221...> Message-ID: <200908292103.25563.gambas@...1...> > Thanks, Benoit. > > But the database connection IS open, that's why I am confused. > > DataSource reads the table, and DataBrowser shows the data in the columns I > set in properties. So, the connection seems to be not the problem. > The only things that don't work are the DataControls. They always produce > this "No current Connection". > > Or am I completely wrong?? > I open the database connection in the PUBLIC SUB Form_Open(), first thing. > That's the earliest point I can imagine. You must open it before showing the form. Either you reimplement the public static Main function in your startup form, either you create a startup module for that. Regards, -- Beno?t From gambas.fr at ...626... Sun Aug 30 00:25:17 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Aug 2009 00:25:17 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <577098.7785.qm@...2247...> References: <200908291435.38983.gambas@...1...> <577098.7785.qm@...2247...> Message-ID: <6324a42a0908291525q242017e9i6b861b24e7cda065@...627...> say us what is the problem on the gb3 install 2009/8/29 abdurrahman ulusoy : > > yes. i want. i try to install gambas3? a lot of times but? i cant. > > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: > > Kimden: Beno?t Minisini > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > >> when i wait for opengl selection :) , i add some codes to webbrowser (in >> gambas examples). >> >> if you want to develope gambasweb codes here >> >>? http://code.google.com/p/gambasweb/ >> >> > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Sun Aug 30 09:26:38 2009 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 30 Aug 2009 00:26:38 -0700 (PDT) Subject: [Gambas-user] Installing Gambas2 In-Reply-To: <200908291815.55080.gambas@...1...> References: <25202728.post@...1379...> <4A992BC1.2050302@...626...> <25204028.post@...1379...> <4A9952FD.9050104@...626...> <200908291815.55080.gambas@...1...> Message-ID: <25209369.post@...1379...> Dear Benoit Thanks for the advice. After setting root password with "sudo passwd root" I could then follow your instructions and everything works Thanks again Bill Lancaster Beno?t Minisini wrote: > >> Bill-Lancaster a ?crit : >> > Jean - thanks for the quick reply. >> > I get "permission denied" when I try to navigate to root. >> >> whao, I think you misunderstood me: I didn't say cd to /root, >> I said BE the root user. (but anyway, that is not normal to be >> refused /root access as a user @ least for read, except of course >> for some sensible files) >> >> If you don't know how to go to root from user, type: >> su - (the '-' IS important: man su) >> then enter the password of root user; >> normally the prompt will change from '$' (user) to '#' (root) >> and you'll be really root user. >> >> When you reach this point, 'cd /pathofzesource', 'make clean', >> './configure', and 'make install' should do the work. > > Just "make install". All other commands must be run as a normal user. > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/Installing-Gambas2-tp25202728p25209369.html Sent from the gambas-user mailing list archive at Nabble.com. From ulusoyab at ...43... Sun Aug 30 10:06:06 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 30 Aug 2009 01:06:06 -0700 (PDT) Subject: [Gambas-user] web browser. In-Reply-To: <6324a42a0908291525q242017e9i6b861b24e7cda065@...627...> Message-ID: <727209.36955.qm@...2243...> THESE COMPONENTS ARE DISABLED: - gb.cairo - gb.compress.bzlib2 - gb.db.sqlite2 - gb.gtk - gb.gtk.svg - gb.image.imlib - gb.image.io - gb.net.curl - gb.net.smtp - gb.opengl - gb.pdf - gb.qt4 - gb.sdl - gb.v4l - gb.xml ************************************************ gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....)? on my computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, gb.qt4...) are not. This is true. ? i installed some deps. and reconf? ./configure -C? but again say me? disabled. --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: Kimden: Fabien Bodard Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 30 A?ustos 2009 Pazar, 1:25 say us what is the problem on the gb3 install 2009/8/29 abdurrahman ulusoy : > > yes. i want. i try to install gambas3? a lot of times but? i cant. > > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: > > Kimden: Beno?t Minisini > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > >> when i wait for opengl selection :) , i add some codes to webbrowser (in >> gambas examples). >> >> if you want to develope gambasweb codes here >> >>? http://code.google.com/p/gambasweb/ >> >> > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From Karl.Reinl at ...9... Sun Aug 30 12:01:17 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 30 Aug 2009 12:01:17 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <727209.36955.qm@...2243...> References: <727209.36955.qm@...2243...> Message-ID: <1251626477.6648.6.camel@...40...> Am Sonntag, den 30.08.2009, 01:06 -0700 schrieb abdurrahman ulusoy: > THESE COMPONENTS ARE DISABLED: > > - gb.cairo > - gb.compress.bzlib2 > - gb.db.sqlite2 > - gb.gtk > - gb.gtk.svg > - gb.image.imlib > - gb.image.io > - gb.net.curl > - gb.net.smtp > - gb.opengl > - gb.pdf > - gb.qt4 > - gb.sdl > - gb.v4l > - gb.xml > > ************************************************ > gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....) on my computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, gb.qt4...) are not. This is true. > i installed some deps. and reconf ./configure -C but again say me disabled. > > --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 1:25 > > say us what is the problem on the gb3 install > > 2009/8/29 abdurrahman ulusoy : > > > > yes. i want. i try to install gambas3 a lot of times but i cant. > > > > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: > > > > Kimden: Beno?t Minisini > > Konu: Re: [Gambas-user] web browser. > > Kime: "mailing list for gambas users" > > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > > > >> when i wait for opengl selection :) , i add some codes to webbrowser (in > >> gambas examples). > >> > >> if you want to develope gambasweb codes here > >> > >> http://code.google.com/p/gambasweb/ > >> > >> > > > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > > > -- > > Beno?t > > Salut, an information I missing (or have not seen) is you Linux-Distribution. attached you the script report-ng from Joshua Higgins, make it executable (set the x) you can sent us the output = gambas_report.log -- Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: report-ng Type: application/x-shellscript Size: 2795 bytes Desc: not available URL: From matteo.pasotti at ...626... Sun Aug 30 13:05:04 2009 From: matteo.pasotti at ...626... (Matteo Pasotti) Date: Sun, 30 Aug 2009 13:05:04 +0200 Subject: [Gambas-user] gb.chart Chart.Colors.Values issue Message-ID: <4A9A5CE0.3060301@...626...> Dear sirs, I'm experiencing a problem using gb.chart. It seems that an instruction like this Chart.Style = ChartStyle.Custom Chart.Colors.Values = [Color.Violet, Color.Cyan] is ignored. However the chart works using what I suppose to be the default settings (purple, orange and so on). I'm working on Debian Lenny with gambas2 version 2.7 but I've also tried 2.15 (from unstable repo) without success. What's wrong? Regards, Matteo From math.eber at ...221... Sun Aug 30 13:24:02 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Sun, 30 Aug 2009 13:24:02 +0200 Subject: [Gambas-user] DataControl and "No current Connection" Error In-Reply-To: <200908292103.25563.gambas@...1...> References: <4A982970.1090505@...221...> <200908291436.33042.gambas@...1...> <4A99742B.3070806@...221...> <200908292103.25563.gambas@...1...> Message-ID: <4A9A6152.6080605@...221...> Ah, now I understand. Thanks! It's explained in your help file gb.db/Connection. Didn't see that before. Beno?t Minisini schrieb: >> Thanks, Benoit. >> >> But the database connection IS open, that's why I am confused. >> >> DataSource reads the table, and DataBrowser shows the data in the columns I >> set in properties. So, the connection seems to be not the problem. >> The only things that don't work are the DataControls. They always produce >> this "No current Connection". >> >> Or am I completely wrong?? >> I open the database connection in the PUBLIC SUB Form_Open(), first thing. >> That's the earliest point I can imagine. > > You must open it before showing the form. Either you reimplement the public > static Main function in your startup form, either you create a startup module > for that. > > Regards, > From pinozollo at ...626... Sun Aug 30 18:27:16 2009 From: pinozollo at ...626... (Pino Zollo) Date: Sun, 30 Aug 2009 12:27:16 -0400 Subject: [Gambas-user] How many row in a GridView ? In-Reply-To: <4247f5440908261453h19969227rfdeec344af3b008b@...627...> References: <200908261724.56741.pinozollo@...626...> <4247f5440908261453h19969227rfdeec344af3b008b@...627...> Message-ID: <200908301227.16820.pinozollo@...626...> Alle 17:53, mercoled? 26 agosto 2009, hai scritto: > I think what you are looking for is the "Scaled" property for the form. If > you set this to false, I understand the objects should stay the same size. > > Hope this helps Thanks, ...but GridView does not seem to have a "Scaled" property. -------------------- >hey Pino, >you can count the number of rows in the gridview control like this >Gridview1.Rows.Count >as for the height of each one of the rows... now that you prolly have to do >some calculations yourself using the fonts that your gridview control and >your QT Theme use. >I hope it helps >Regards, >Dimitris -------------------- I know exactely how many rows there are because I write at 12 by 12. The problem is that if the screen is 1280X1024 I get all them, but in 1024X768 the number of rows is less. The strange is that reducing the font size in QT-config I get less (not more) raws. How can I calculate ? How can I know how hight is a row in GridView in function of the font ? Best regards Pino -- Key ID: 0xF6768208 Key fingerprint = B16D 0A7C 5B29 A334 CE6A 71F6 EAF8 3D88 F676 8208 Key server: hkp://wwwkeys.eu.pgp.net From gambas at ...1... Sun Aug 30 18:36:27 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 30 Aug 2009 18:36:27 +0200 Subject: [Gambas-user] Compiling Gambas 2 on recent Ubuntu systems (and maybe others) Message-ID: <200908301836.27088.gambas@...1...> Hi, I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. Can those who had problems with compiling Gambas 2 try the revision #2287 and tell me if things go better? Thanks in advance! -- Beno?t From ulusoyab at ...43... Sun Aug 30 19:06:54 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 30 Aug 2009 10:06:54 -0700 (PDT) Subject: [Gambas-user] web browser. In-Reply-To: <1251626477.6648.6.camel@...40...> Message-ID: <892348.83276.qm@...2243...> which distro, gambas3 install easiest. --- 30/08/09 Pzr tarihinde Charlie Reinl ??yle yaz?yor: Kimden: Charlie Reinl Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 30 A?ustos 2009 Pazar, 13:01 Am Sonntag, den 30.08.2009, 01:06 -0700 schrieb abdurrahman ulusoy: > THESE COMPONENTS ARE DISABLED: > > - gb.cairo > - gb.compress.bzlib2 > - gb.db.sqlite2 > - gb.gtk > - gb.gtk.svg > - gb.image.imlib > - gb.image.io > - gb.net.curl > - gb.net.smtp > - gb.opengl > - gb.pdf > - gb.qt4 > - gb.sdl > - gb.v4l > - gb.xml > > ************************************************ > gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....)? on my computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, gb.qt4...) are not. This is true. >???i installed some deps. and reconf? ./configure -C? but again say me? disabled. > > --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 1:25 > > say us what is the problem on the gb3 install > > 2009/8/29 abdurrahman ulusoy : > > > > yes. i want. i try to install gambas3? a lot of times but? i cant. > > > > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: > > > > Kimden: Beno?t Minisini > > Konu: Re: [Gambas-user] web browser. > > Kime: "mailing list for gambas users" > > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > > > >> when i wait for opengl selection :) , i add some codes to webbrowser (in > >> gambas examples). > >> > >> if you want to develope gambasweb codes here > >> > >>? http://code.google.com/p/gambasweb/ > >> > >> > > > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > > > -- > > Beno?t > > Salut, an information I missing (or have not seen) is you Linux-Distribution. attached you the script report-ng from? Joshua Higgins, make it executable (set the x) you can sent us the? output =? gambas_report.log -- Amicalment Charlie -----Sat?r ??i Eki Var----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july -----Sat?r ??i Eki Var----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From ron at ...1740... Sun Aug 30 19:22:13 2009 From: ron at ...1740... (Ron) Date: Sun, 30 Aug 2009 19:22:13 +0200 Subject: [Gambas-user] Compiling Gambas 2 on recent Ubuntu systems (and maybe others) In-Reply-To: <200908301836.27088.gambas@...1...> References: <200908301836.27088.gambas@...1...> Message-ID: <4A9AB545.4010508@...1740...> Beno?t Minisini schreef: > Hi, > > I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. > > Can those who had problems with compiling Gambas 2 try the revision #2287 and > tell me if things go better? > > Thanks in advance! > > I just removed the downgraded libtool version lock in synaptics and upgraded to the current libtool in 9.04 (2.2.6) with apt-get upgrade Updated gambas svn source and recompiled Gambas 2.15 without any problems! Very nice! Regards, Ron_2nd. From Karl.Reinl at ...9... Sun Aug 30 19:27:26 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 30 Aug 2009 19:27:26 +0200 Subject: [Gambas-user] Compiling Gambas 2 on recent Ubuntu systems (and maybe others) In-Reply-To: <200908301836.27088.gambas@...1...> References: <200908301836.27088.gambas@...1...> Message-ID: <1251653246.6407.1.camel@...40...> Am Sonntag, den 30.08.2009, 18:36 +0200 schrieb Beno?t Minisini: > Hi, > > I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. > > Can those who had problems with compiling Gambas 2 try the revision #2287 and > tell me if things go better? > > Thanks in advance! > Something told (my Kubuntu 9.04) that he can't add gb.sdl/m4 because the object with such a name exists. Charlie From jussi.lahtinen at ...626... Sun Aug 30 19:29:03 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Aug 2009 20:29:03 +0300 Subject: [Gambas-user] web browser. In-Reply-To: <892348.83276.qm@...2243...> References: <1251626477.6648.6.camel@...40...> <892348.83276.qm@...2243...> Message-ID: <384d3900908301029w710316fag828c1aac0008a98f@...627...> It should install pretty easily to almost any distro... please run report-ng (to terminal "sh report-ng") and attach the result "gambas_report.log". At the beginning I had a lot of problems installing it to Ubuntu, but today everything works as expected. Jussi On Sun, Aug 30, 2009 at 20:06, abdurrahman ulusoy wrote: > which distro, gambas3 install easiest. > > --- 30/08/09 Pzr tarihinde Charlie Reinl ??yle yaz?yor: > > Kimden: Charlie Reinl > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 13:01 > > Am Sonntag, den 30.08.2009, 01:06 -0700 schrieb abdurrahman ulusoy: >> THESE COMPONENTS ARE DISABLED: >> >> - gb.cairo >> - gb.compress.bzlib2 >> - gb.db.sqlite2 >> - gb.gtk >> - gb.gtk.svg >> - gb.image.imlib >> - gb.image.io >> - gb.net.curl >> - gb.net.smtp >> - gb.opengl >> - gb.pdf >> - gb.qt4 >> - gb.sdl >> - gb.v4l >> - gb.xml >> >> ************************************************ >> gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....)? on my computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, gb.qt4...) are not. This is true. >>???i installed some deps. and reconf? ./configure -C? but again say me? disabled. >> >> --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: >> >> Kimden: Fabien Bodard >> Konu: Re: [Gambas-user] web browser. >> Kime: "mailing list for gambas users" >> Tarihi: 30 A?ustos 2009 Pazar, 1:25 >> >> say us what is the problem on the gb3 install >> >> 2009/8/29 abdurrahman ulusoy : >> > >> > yes. i want. i try to install gambas3? a lot of times but? i cant. >> > >> > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: >> > >> > Kimden: Beno?t Minisini >> > Konu: Re: [Gambas-user] web browser. >> > Kime: "mailing list for gambas users" >> > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 >> > >> >> when i wait for opengl selection :) , i add some codes to webbrowser (in >> >> gambas examples). >> >> >> >> if you want to develope gambasweb codes here >> >> >> >>? http://code.google.com/p/gambasweb/ >> >> >> >> >> > >> > Do you think making a Gambas 3 version with gb.qt4.webkit? >> > >> > -- >> > Beno?t >> > > Salut, > > an information I missing (or have not seen) is you Linux-Distribution. > > attached you the script report-ng from? Joshua Higgins, make it > executable (set the x) you can sent us the? output =? gambas_report.log > > > -- > Amicalment > Charlie > > -----Sat?r ??i Eki Var----- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > -----Sat?r ??i Eki Var----- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 30 19:53:43 2009 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 30 Aug 2009 19:53:43 +0200 Subject: [Gambas-user] =?utf-8?q?Compiling_Gambas_2_on_recent_Ubuntu_syste?= =?utf-8?q?ms_=28_and=09maybe_others=29?= In-Reply-To: <1251653246.6407.1.camel@...40...> References: <200908301836.27088.gambas@...1...> <1251653246.6407.1.camel@...40...> Message-ID: <200908301953.44049.gambas@...1...> > Am Sonntag, den 30.08.2009, 18:36 +0200 schrieb Beno?t Minisini: > > Hi, > > > > I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. > > > > Can those who had problems with compiling Gambas 2 try the revision #2287 > > and tell me if things go better? > > > > Thanks in advance! > > Something told (my Kubuntu 9.04) that he can't add gb.sdl/m4 because the > object with such a name exists. > > Charlie > subversion sucks when you replace a directory by a symbolic link. Try to checkout from scratch. -- Beno?t From ulusoyab at ...43... Sun Aug 30 20:04:31 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 30 Aug 2009 11:04:31 -0700 (PDT) Subject: [Gambas-user] web browser. Message-ID: <223778.1391.qm@...2264...> result attached. --- 30/08/09 Pzr tarihinde Charlie Reinl ??yle yaz?yor: Kimden: Charlie Reinl Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 30 A?ustos 2009 Pazar, 13:01 Am Sonntag, den 30.08.2009, 01:06 -0700 schrieb abdurrahman ulusoy: > THESE COMPONENTS ARE DISABLED: > > - gb.cairo > - gb.compress.bzlib2 > - gb.db.sqlite2 > - gb.gtk > - gb.gtk.svg > - gb.image.imlib > - gb.image.io > - gb.net.curl > - gb.net.smtp > - gb.opengl > - gb.pdf > - gb.qt4 > - gb.sdl > - gb.v4l > - gb.xml > > ************************************************ > gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....)? on my computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, gb.qt4...) are not. This is true. >???i installed some deps. and reconf? ./configure -C? but again say me? disabled. > > --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle yaz?yor: > > Kimden: Fabien Bodard > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 1:25 > > say us what is the problem on the gb3 install > > 2009/8/29 abdurrahman ulusoy : > > > > yes. i want. i try to install gambas3? a lot of times but? i cant. > > > > --- 29/08/09 Cts tarihinde Beno?t Minisini ??yle yaz?yor: > > > > Kimden: Beno?t Minisini > > Konu: Re: [Gambas-user] web browser. > > Kime: "mailing list for gambas users" > > Tarihi: 29 A?ustos 2009 Cumartesi, 15:35 > > > >> when i wait for opengl selection :) , i add some codes to webbrowser (in > >> gambas examples). > >> > >> if you want to develope gambasweb codes here > >> > >>? http://code.google.com/p/gambasweb/ > >> > >> > > > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > > > -- > > Beno?t > > Salut, an information I missing (or have not seen) is you Linux-Distribution. attached you the script report-ng from? Joshua Higgins, make it executable (set the x) you can sent us the? output =? gambas_report.log -- Amicalment Charlie -----Sat?r ??i Eki Var----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july -----Sat?r ??i Eki Var----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas_report.log Type: application/octet-stream Size: 286 bytes Desc: not available URL: From lordheavym at ...626... Sat Aug 29 20:31:01 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 29 Aug 2009 20:31:01 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <882251.73550.qm@...2266...> References: <882251.73550.qm@...2266...> Message-ID: <200908292031.01140.lordheavym@...626...> Le vendredi 28 ao?t 2009 23:45:44 abdurrahman ulusoy, vous avez ?crit : > when i wait for opengl selection :) , i add some codes to webbrowser (in > gambas examples). > > if you want to develope gambasweb codes here > > http://code.google.com/p/gambasweb/ > > Selection code is now available for gambas 3 :-) and it's working pretty well See OpenGL Red Book for explainations about selecting/feedback http://www.glprogramming.com/red/chapter13.html ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: glSelect.png Type: image/png Size: 205675 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: select-0.0.2.tar.gz Type: application/x-compressed-tar Size: 8943 bytes Desc: not available URL: From lordheavym at ...626... Sun Aug 30 20:30:14 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 30 Aug 2009 20:30:14 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <223778.1391.qm@...2264...> References: <223778.1391.qm@...2264...> Message-ID: <200908302030.14544.lordheavym@...626...> Le dimanche 30 ao?t 2009 20:04:31 abdurrahman ulusoy, vous avez ?crit : > > THESE COMPONENTS ARE DISABLED: > > > > - gb.cairo > > - gb.compress.bzlib2 > > - gb.db.sqlite2 > > - gb.gtk > > - gb.gtk.svg > > - gb.image.imlib > > - gb.image.io > > - gb.net.curl > > - gb.net.smtp > > - gb.opengl > > - gb.pdf > > - gb.qt4 > > - gb.sdl > > - gb.v4l > > - gb.xml > > As found here: ftp://ftp.surfnet.nl/pub/os/Linux/distr/pardusrepo/2008 try : sudo pisi it qt4 curl cairo gtk2 poppler-glib libsdl sdl-image sdl-ttf Give us the result ++ From math.eber at ...221... Sun Aug 30 20:54:03 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Sun, 30 Aug 2009 20:54:03 +0200 Subject: [Gambas-user] DataCombo doesn't work Message-ID: <4A9ACACB.7040409@...221...> Hi, I'm experimenting with a DataCombo. Maybe I'm wrong again, but as I understand, it should work like this: Let's say I have a movie database. The table "movie" is in my DataSource. In this table is a field "Directors_ID", the directors are stored in the table "directors", where there is a field "Name". Then I would put a DataCombo in my DataSource with the properties: Field = "Directors_ID" Table = "directors" Display = "Name" But all I get is "Query failed: SQL error or missing database". (the database is sqlite, but that shouldn't matter?) When I test it with Field = "id", I get a greyed DataCombo with a name, but of course with the wrong index. What am I doing wrong or thinking wrong? Of course, I can use code and fill a TextBox or ComboBox with the names, but - would be nice without, and - what would be the event to react to, if the record is changed? In VB this was some "RecordChanged" or so event, easy to use, but here I can't find anything. Thanks for help. Matti From jussi.lahtinen at ...626... Sun Aug 30 21:24:44 2009 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Aug 2009 22:24:44 +0300 Subject: [Gambas-user] Compiling Gambas 2 on recent Ubuntu systems ( and maybe others) In-Reply-To: <200908301953.44049.gambas@...1...> References: <200908301836.27088.gambas@...1...> <1251653246.6407.1.camel@...40...> <200908301953.44049.gambas@...1...> Message-ID: <384d3900908301224j2509cdc7tde928d4bf7718255@...627...> No problems with my system! [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.28-15-generic DistributionVendor=ubuntu DistributionRelease="Ubuntu 9.04" [System] CPUArchitecture=x86_64 TotalRam=3993220 kB [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/local/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 And with libtool 2.2.6. Great work! Jussi 2009/8/30 Beno?t Minisini : >> Am Sonntag, den 30.08.2009, 18:36 +0200 schrieb Beno?t Minisini: >> > Hi, >> > >> > I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. >> > >> > Can those who had problems with compiling Gambas 2 try the revision #2287 >> > and tell me if things go better? >> > >> > Thanks in advance! >> >> Something told (my Kubuntu 9.04) that he can't add gb.sdl/m4 because the >> object with such a name exists. >> >> Charlie >> > > subversion sucks when you replace a directory by a symbolic link. Try to > checkout from scratch. > > -- > Beno?t > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ulusoyab at ...43... Sun Aug 30 21:44:54 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 30 Aug 2009 12:44:54 -0700 (PDT) Subject: [Gambas-user] dental patience record software Message-ID: <653597.82479.qm@...2243...> http://code.google.com/p/dis2/downloads/list patience record software dor dentist. if you interest download and use or develope. ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From ulusoyab at ...43... Sun Aug 30 21:50:18 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sun, 30 Aug 2009 12:50:18 -0700 (PDT) Subject: [Gambas-user] web browser. In-Reply-To: <200908302030.14544.lordheavym@...626...> Message-ID: <112007.57045.qm@...2230...> i installed? them a long time ago. but maybe path different, gambas3 not find them. --- 30/08/09 Pzr tarihinde Laurent Carlier ??yle yaz?yor: Kimden: Laurent Carlier Konu: Re: [Gambas-user] web browser. Kime: "mailing list for gambas users" Tarihi: 30 A?ustos 2009 Pazar, 21:30 Le dimanche 30 ao?t 2009 20:04:31 abdurrahman ulusoy, vous avez ?crit : > > THESE COMPONENTS ARE DISABLED: > > > > - gb.cairo > > - gb.compress.bzlib2 > > - gb.db.sqlite2 > > - gb.gtk > > - gb.gtk.svg > > - gb.image.imlib > > - gb.image.io > > - gb.net.curl > > - gb.net.smtp > > - gb.opengl > > - gb.pdf > > - gb.qt4 > > - gb.sdl > > - gb.v4l > > - gb.xml > > As found here: ftp://ftp.surfnet.nl/pub/os/Linux/distr/pardusrepo/2008 try : sudo pisi it qt4 curl cairo gtk2 poppler-glib libsdl sdl-image sdl-ttf Give us the result ++ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From gambas.fr at ...626... Sun Aug 30 22:37:35 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Aug 2009 22:37:35 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <112007.57045.qm@...2230...> References: <200908302030.14544.lordheavym@...626...> <112007.57045.qm@...2230...> Message-ID: <6324a42a0908301337u2bf79243v9ad7c44fbf8c38d4@...627...> and you have installed the -dev package file ? 2009/8/30 abdurrahman ulusoy : > i installed? them a long time ago. but maybe path different, gambas3 not find them. > > --- 30/08/09 Pzr tarihinde Laurent Carlier ??yle yaz?yor: > > Kimden: Laurent Carlier > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 21:30 > > Le dimanche 30 ao?t 2009 20:04:31 abdurrahman ulusoy, vous avez ?crit : >> > THESE COMPONENTS ARE DISABLED: >> > >> > - gb.cairo >> > - gb.compress.bzlib2 >> > - gb.db.sqlite2 >> > - gb.gtk >> > - gb.gtk.svg >> > - gb.image.imlib >> > - gb.image.io >> > - gb.net.curl >> > - gb.net.smtp >> > - gb.opengl >> > - gb.pdf >> > - gb.qt4 >> > - gb.sdl >> > - gb.v4l >> > - gb.xml >> > > > As found here: > ftp://ftp.surfnet.nl/pub/os/Linux/distr/pardusrepo/2008 > > try : sudo pisi it qt4 curl cairo gtk2 poppler-glib libsdl sdl-image sdl-ttf > > Give us the result > > ++ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavym at ...626... Sun Aug 30 22:56:45 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 30 Aug 2009 22:56:45 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <6324a42a0908301337u2bf79243v9ad7c44fbf8c38d4@...627...> References: <200908302030.14544.lordheavym@...626...> <112007.57045.qm@...2230...> <6324a42a0908301337u2bf79243v9ad7c44fbf8c38d4@...627...> Message-ID: <200908302256.45572.lordheavym@...626...> Le dimanche 30 ao?t 2009 22:37:35 Fabien Bodard, vous avez ?crit : > and you have installed the -dev package file ? > Fixed during a gtalk session ! The magic command : sudo pisi install -c system.devel \o/ From gambas.fr at ...626... Sun Aug 30 23:00:03 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Aug 2009 23:00:03 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <200908302256.45572.lordheavym@...626...> References: <200908302030.14544.lordheavym@...626...> <112007.57045.qm@...2230...> <6324a42a0908301337u2bf79243v9ad7c44fbf8c38d4@...627...> <200908302256.45572.lordheavym@...626...> Message-ID: <6324a42a0908301400p37a18f8ci7df966521d4c0c63@...627...> put this on gambasdoc ! 2009/8/30 Laurent Carlier : > Le dimanche 30 ao?t 2009 22:37:35 Fabien Bodard, vous avez ?crit : >> and you have installed the -dev package file ? >> > > Fixed during a gtalk session ! > > The magic command : sudo pisi install -c system.devel > > \o/ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 30 23:02:11 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Aug 2009 23:02:11 +0200 Subject: [Gambas-user] gb.chart Chart.Colors.Values issue In-Reply-To: <4A9A5CE0.3060301@...626...> References: <4A9A5CE0.3060301@...626...> Message-ID: <6324a42a0908301402q64ae5d07hf08133c65a147b88@...627...> the gb.chart is really bugged on the gb2 version ... i've only corrected the gb3 one... you must understand that this component is an alfa one... not ready 2009/8/30 Matteo Pasotti : > Dear sirs, > I'm experiencing a problem using gb.chart. > It seems that an instruction like this > Chart.Style = ChartStyle.Custom > Chart.Colors.Values = [Color.Violet, Color.Cyan] > is ignored. > However the chart works using what I suppose to be the default settings > (purple, orange and so on). > I'm working on Debian Lenny with gambas2 version 2.7 but I've also tried > 2.15 (from unstable repo) without success. > What's wrong? > Regards, > ? ?Matteo > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...9... Sun Aug 30 23:11:58 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 30 Aug 2009 23:11:58 +0200 Subject: [Gambas-user] Compiling Gambas 2 on recent Ubuntu systems (and maybe others) In-Reply-To: <200908301836.27088.gambas@...1...> References: <200908301836.27088.gambas@...1...> Message-ID: <1251666718.6407.13.camel@...40...> Am Sonntag, den 30.08.2009, 18:36 +0200 schrieb Beno?t Minisini: > Hi, > > I backported from Gambas 3 the fixes that made it compile on Ubuntu 9.04. > > Can those who had problems with compiling Gambas 2 try the revision #2287 and > tell me if things go better? > > Thanks in advance! > Salut Benoit, after making a backup, Updated to 2285 and remade a backup, I compiled gambas2 rev 2287 in a new dir. And what a surprise it works on my Ubuntu 8.04.3 LTS , ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-1ubuntu1 (1.1220.2.493 2008/02/01 16:58:18) -- Amicalment Charlie From lordheavym at ...626... Sun Aug 30 23:12:53 2009 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 30 Aug 2009 23:12:53 +0200 Subject: [Gambas-user] web browser. In-Reply-To: <6324a42a0908301400p37a18f8ci7df966521d4c0c63@...627...> References: <200908302030.14544.lordheavym@...626...> <200908302256.45572.lordheavym@...626...> <6324a42a0908301400p37a18f8ci7df966521d4c0c63@...627...> Message-ID: <200908302312.53092.lordheavym@...626...> Le dimanche 30 ao?t 2009 23:00:03 Fabien Bodard, vous avez ?crit : > put this on gambasdoc ! > > 2009/8/30 Laurent Carlier : > > Le dimanche 30 ao?t 2009 22:37:35 Fabien Bodard, vous avez ?crit : > >> and you have installed the -dev package file ? > > > > Fixed during a gtalk session ! > > > > The magic command : sudo pisi install -c system.devel > > > > \o/ > > Patch commited ! ;-p From rterry at ...1946... Sun Aug 30 23:28:59 2009 From: rterry at ...1946... (richard terry) Date: Mon, 31 Aug 2009 07:28:59 +1000 Subject: [Gambas-user] Easiest distro for gambas (changed thread title) In-Reply-To: <892348.83276.qm@...2243...> References: <892348.83276.qm@...2243...> Message-ID: <200908310728.59975.rterry@...1946...> On Monday 31 August 2009 03:06:54 abdurrahman ulusoy wrote: > which distro, gambas3 install easiest. I'm Biased (ARCH LINUX), build file included. > > --- 30/08/09 Pzr tarihinde Charlie Reinl ??yle > yaz?yor: > > Kimden: Charlie Reinl > Konu: Re: [Gambas-user] web browser. > Kime: "mailing list for gambas users" > Tarihi: 30 A?ustos 2009 Pazar, 13:01 > > Am Sonntag, den 30.08.2009, 01:06 -0700 schrieb abdurrahman ulusoy: > > THESE COMPONENTS ARE DISABLED: > > > > - gb.cairo > > - gb.compress.bzlib2 > > - gb.db.sqlite2 > > - gb.gtk > > - gb.gtk.svg > > - gb.image.imlib > > - gb.image.io > > - gb.net.curl > > - gb.net.smtp > > - gb.opengl > > - gb.pdf > > - gb.qt4 > > - gb.sdl > > - gb.v4l > > - gb.xml > > > > ************************************************ > > gambas2 dep.s(gb.pdf,gb.v4l,gbxml, gb.gtk, gb.opengl....) on my > > computer. but error say me disabled. and some gambas3 dep.s (gb.cairo, > > gb.qt4...) are not. This is true. i installed some deps. and reconf > > ./configure -C but again say me disabled. > > > > --- 30/08/09 Pzr tarihinde Fabien Bodard ??yle > > yaz?yor: > > > > Kimden: Fabien Bodard > > Konu: Re: [Gambas-user] web browser. > > Kime: "mailing list for gambas users" > > Tarihi: 30 A?ustos 2009 Pazar, 1:25 > > > > say us what is the problem on the gb3 install > > > > 2009/8/29 abdurrahman ulusoy : > > > yes. i want. i try to install gambas3 a lot of times but i cant. > > > > > > --- 29/08/09 Cts tarihinde Beno?t Minisini > > > ??yle yaz?yor: > > > > > > Kimden: Beno?t Minisini > > > Konu: Re: [Gambas-user] web browser. > > > Kime: "mailing list for gambas users" > > > Tarihi: 29 A?ustos 2009 Cumartesi, > > > 15:35 > > > > > >> when i wait for opengl selection :) , i add some codes to webbrowser > > >> (in gambas examples). > > >> > > >> if you want to develope gambasweb codes here > > >> > > >> http://code.google.com/p/gambasweb/ > > > > > > Do you think making a Gambas 3 version with gb.qt4.webkit? > > > > > > -- > > > Beno?t > > Salut, > > an information I missing (or have not seen) is you Linux-Distribution. > > attached you the script report-ng from Joshua Higgins, make it > executable (set the x) you can sent us the output = gambas_report.log -------------- next part -------------- # Contributor: Toni Foerster # changed by Richard Terry (so it is probably Wrong! rterry at ...1946... # to get the lastest development branch of Gambas libffi added as dependency pkgname=gambas3-svn pkgrel=2 pkgver=2284 arch=('i686') url="http://gambas.sourceforge.net" depends=('libldap' 'librsvg' 'postgresql' 'libmysqlclient' 'curl' 'sqlite2' \ 'sqlite3' 'sdl_mixer' 'sdl_image' 'unixodbc' 'poppler' \ 'libfbclient' 'omniorb' 'libffi' 'autoconf' 'automake') license=('GPL') conflicts=('gambas_3' 'gambas3') install=gambas3-svn.install source=(gambas3.desktop gambas3.png) md5sums=('177837d2a53cd202ab0fc307656a8c50' '682f60d694dd1df53d786c21939622c5') _svntrunk=https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk _svnrevision=2284 build() { msg "Checking out svn-tree..." svn checkout -r $_svnrevision $_svntrunk|| return 1 cd $startdir/src/trunk msg "Configure files..." ./reconf-all ./configure --disable-qte \ --prefix=/usr msg "Start Compiling..." #make LDFLAGS+="-L/opt/qt/lib" make LDFLAGS+=-L/opt/qt/lib bindir=$startdir/pkg/usr/bin || return 1 make DESTDIR=$startdir/pkg install || return 1 chmod -R 755 $startdir/pkg/usr/share/gambas3/help install -D -m644 $startdir/src/gambas3.desktop \ $startdir/pkg/usr/share/applications/gambas3.desktop install -D -m644 $startdir/src/gambas3.png \ $startdir/pkg/usr/share/pixmaps/gambas3.png } From matteo.pasotti at ...626... Mon Aug 31 00:43:11 2009 From: matteo.pasotti at ...626... (Matteo Pasotti) Date: Mon, 31 Aug 2009 00:43:11 +0200 Subject: [Gambas-user] gb.chart Chart.Colors.Values issue In-Reply-To: <6324a42a0908301402q64ae5d07hf08133c65a147b88@...627...> References: <4A9A5CE0.3060301@...626...> <6324a42a0908301402q64ae5d07hf08133c65a147b88@...627...> Message-ID: <4A9B007F.9020102@...626...> I just wanted to understand if it was an error of my code or something else. I'll wait patiently the gb3 official release :-) Thank you for your time and work. Regards, Matteo Fabien Bodard wrote: > the gb.chart is really bugged on the gb2 version ... i've only > corrected the gb3 one... you must understand that this component is an > alfa one... not ready > > 2009/8/30 Matteo Pasotti : > >> Dear sirs, >> I'm experiencing a problem using gb.chart. >> It seems that an instruction like this >> Chart.Style = ChartStyle.Custom >> Chart.Colors.Values = [Color.Violet, Color.Cyan] >> is ignored. >> However the chart works using what I suppose to be the default settings >> (purple, orange and so on). >> I'm working on Debian Lenny with gambas2 version 2.7 but I've also tried >> 2.15 (from unstable repo) without success. >> What's wrong? >> Regards, >> Matteo >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bleketux at ...626... Mon Aug 31 04:31:39 2009 From: bleketux at ...626... (MSulchan Darmawan) Date: Mon, 31 Aug 2009 09:31:39 +0700 Subject: [Gambas-user] type mismatch: wanted integer, got string instead (solved) In-Reply-To: <6324a42a0908280223k3a5b030cq431350fa305ca0fb@...627...> References: <20090825113542.4fd9d3ea@...2286...> <82bffccf0908242200i25908004i52b13518147b6fd1@...627...> <20090825124059.159cd130@...2286...> <82bffccf0908242350wc0e5759i9011cf2da5567d33@...627...> <20090825141513.5a97cbb1@...2286...> <6324a42a0908250238q7e033a97h6290c692b5284a23@...627...> <82bffccf0908250329r767b00bck8febe83ae78a4dd4@...627...> <20090826090103.1ecae5fe@...2286...> <6324a42a0908280150n7f9b7c41oaab58ee3b8be82f2@...627...> <6324a42a0908280223k3a5b030cq431350fa305ca0fb@...627...> Message-ID: <20090831093139.65498453@...2286...> Pada Fri, 28 Aug 2009 11:23:59 +0200 Fabien Bodard menulis: > IF NOT sRain THEN > IF InStr(LCase(sRain), "x") > 0 OR InStr(sRain, "-") > 0 THEN > fRain=0 > ELSE > TRY fRain = CFloat(sRain) > IF ERROR THEN fRain=-1 'Not a Valid Number > ENDIF > ELSE > fRain=-1 > ENDIF Thanks Fabien, But First, I need to change dot to comma as decimal separator, since the original string at the database was dot. Does "TRY fRain = CFloat(sRain)" automatically turn into floating number without detecting localization ? My latest code was working, so I didn't touch it again. But looks like yours more simpler and efficient :D -- Cheers, [-Sulchan-] Terbang dengan claws-mail 3.7.2 Mendarat di hardy heron 8.04.3 LTS -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ulusoyab at ...43... Mon Aug 31 09:56:57 2009 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Mon, 31 Aug 2009 00:56:57 -0700 (PDT) Subject: [Gambas-user] gambas2 gambas3 port guide Message-ID: <53114.24002.qm@...2264...> i installed gambas3. (thaks to lordheavy)? how will i port my projects. Are there gambas2 / gambas3? difference page, guide? etc...? ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! From aleks.l at ...1865... Mon Aug 31 11:28:13 2009 From: aleks.l at ...1865... (Aleksandrs Livshics) Date: Mon, 31 Aug 2009 12:28:13 +0300 Subject: [Gambas-user] menu action Message-ID: <200908311228.13468.aleks.l@...1865...> Hi Gambas users. Is it possible to assign some action to a menu directly (this menu has just one item and it is silly to click first on a menu and then on the only item) Alternatively, Is it possible to place a simple button on a menu line of the form? Also is there any way (I cannot find it, sorry) to change menu color like it is possible for the form background? Aleks From rterry at ...1946... Mon Aug 31 12:40:06 2009 From: rterry at ...1946... (richard terry) Date: Mon, 31 Aug 2009 20:40:06 +1000 Subject: [Gambas-user] What happens on a form close event Message-ID: <200908312040.06827.rterry@...1946...> I was just doing some work where I wanted to get access to the tag: me.parent.parent and found that though, at the start of loading the form that it exists (obviously) but that as soon as Form_close() is called that whearas the object me still exists until the form actually is destroyed, that me.parent = null. (hence no parent.parent) Can anyone explain the closing sequence, and can one get to the bit of data I want, from within form_close but before thet data is destroyed? Regards Richard From gambas.fr at ...626... Mon Aug 31 13:27:28 2009 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 31 Aug 2009 13:27:28 +0200 Subject: [Gambas-user] gambas2 gambas3 port guide In-Reply-To: <53114.24002.qm@...2264...> References: <53114.24002.qm@...2264...> Message-ID: <6324a42a0908310427j54e4818v2915d232a74d596c@...627...> you just copy your project and then open it with gb3... then use the tool to convrtforms... and save your project... the most part is automatic 2009/8/31 abdurrahman ulusoy : > i installed gambas3. (thaks to lordheavy)? how will i port my projects. Are there gambas2 / gambas3? difference page, guide? etc... > > > > ? ? ?___________________________________________________________________ > Yahoo! T?rkiye a??ld?! ?http://yahoo.com.tr > ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From wspinto at ...1405... Mon Aug 31 13:55:47 2009 From: wspinto at ...1405... (Wellington de Souza Pinto) Date: Mon, 31 Aug 2009 08:55:47 -0300 Subject: [Gambas-user] gambas3 changelog page Message-ID: <1251719747.4a9bba4321ec8@...1825...> Hi Benoit! Why dont have one changelog gambas page for svn version? And the README is out date in gambas3. New library as add (dbus and others). When i complile the svn gambas3 the gb.sdbu and gb.IMAGE.xxx as disabled) Reguards, Souza, Wellington Only idea of course. ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From math.eber at ...221... Mon Aug 31 21:52:28 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Mon, 31 Aug 2009 21:52:28 +0200 Subject: [Gambas-user] DataBrowser Message-ID: <4A9C29FC.8040005@...221...> Hi, DataBrowser is a really great tool.You don't need any code for displaying the fields of records, depending on what the user clicks in the GridView.. But since DataBrowser uses only ONE table (set in DataSource), I can't find a way to display for example "Producer.Name" in the GridView instead of "ProducerID". Is there any possibility to show a reference to another table in the DataBrowser.GridView? Thannks for help Matti From Karl.Reinl at ...9... Mon Aug 31 22:11:25 2009 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 31 Aug 2009 22:11:25 +0200 Subject: [Gambas-user] DataBrowser In-Reply-To: <4A9C29FC.8040005@...221...> References: <4A9C29FC.8040005@...221...> Message-ID: <1251749485.6475.22.camel@...40...> Am Montag, den 31.08.2009, 21:52 +0200 schrieb Mathias Ebermann: > Hi, > > DataBrowser is a really great tool.You don't need any code for displaying the fields of records, depending on what the user > clicks in the GridView.. > > But since DataBrowser uses only ONE table (set in DataSource), I can't find a way to display for example "Producer.Name" in > the GridView instead of "ProducerID". > > Is there any possibility to show a reference to another table in the DataBrowser.GridView? > > Thannks for help > Matti Salut Mathias, this is out of examples/Database/FTest if you mean the headers text PUBLIC SUB Form_Open() WITH DataBrowser2.GridView .Columns[0].Text = "Color" END WITH WITH DataBrowser1.GridView .Columns[0].Text = "Id" .Columns[0].Width = 48 .Columns[1].Text = "Active" .Columns[2].Text = "Name" .Columns[3].Text = "Firstname" .Columns[4].Text = "Birthday" END WITH END -- Amicalment Charlie From math.eber at ...221... Mon Aug 31 22:58:43 2009 From: math.eber at ...221... (Mathias Ebermann) Date: Mon, 31 Aug 2009 22:58:43 +0200 Subject: [Gambas-user] DataBrowser In-Reply-To: <1251749485.6475.22.camel@...40...> References: <4A9C29FC.8040005@...221...> <1251749485.6475.22.camel@...40...> Message-ID: <4A9C3983.8060903@...221...> No, Charlie, I didn't mean the headers. I know how to rename them. What I meant is: In my DataSource table I have a field "ProducerID". That points to another table "Producers" with the key field "id" and the field "Name". Now I would like to have the Column "Producers.Name" in the list instead of "ProducerID". I mean the field values of the records, not the headers. Charlie Reinl schrieb: > Am Montag, den 31.08.2009, 21:52 +0200 schrieb Mathias Ebermann: >> Hi, >> >> DataBrowser is a really great tool.You don't need any code for displaying the fields of records, depending on what the user >> clicks in the GridView.. >> >> But since DataBrowser uses only ONE table (set in DataSource), I can't find a way to display for example "Producer.Name" in >> the GridView instead of "ProducerID". >> >> Is there any possibility to show a reference to another table in the DataBrowser.GridView? >> >> Thannks for help >> Matti > > Salut Mathias, > > this is out of examples/Database/FTest if you mean the headers text > > PUBLIC SUB Form_Open() > > WITH DataBrowser2.GridView > .Columns[0].Text = "Color" > END WITH > > WITH DataBrowser1.GridView > .Columns[0].Text = "Id" > .Columns[0].Width = 48 > .Columns[1].Text = "Active" > .Columns[2].Text = "Name" > .Columns[3].Text = "Firstname" > .Columns[4].Text = "Birthday" > END WITH > > END > >