From marcobra.ubuntu at ...176... Tue Jun 1 01:30:49 2010 From: marcobra.ubuntu at ...176... (marco bra) Date: Tue, 1 Jun 2010 01:30:49 +0200 Subject: [Gambas-devel] [ Gambas3 ] testing tree-view 0.0.2 example: impossible to view main window In-Reply-To: <201005301612.17539.gambas@...1...> References: <201005301612.17539.gambas@...1...> Message-ID: fixed... Thank you Best regards, Marco From marcobra.ubuntu at ...176... Tue Jun 1 02:19:01 2010 From: marcobra.ubuntu at ...176... (marco bra) Date: Tue, 1 Jun 2010 02:19:01 +0200 Subject: [Gambas-devel] Gambas 3 svn revision 2987 testing examples Message-ID: Testing all examples in gambas3 ( i report here only examples with issue) KateBrowser 0.0.7 ? don't compile in the FBrowser.class it get this error: Unknown identifier Menu in form definition Scripting 0.0.1 ? don't compile error: FScript.class Unknown identifier Label in form definition DataReportExamle 0.0.1 ? report component not found gb.qt (but must be my env) AnalogWatch 0.0.1 ? error on running Unknown Symbol "ForeColor" in class "Draw" in class frmclock at line 99 Barcode 0.0.3 ? error on print barcode: "Not a drawable object" in class Fmain at line 60 Sensors 0.0.87 ? it run without errors but i cannot view any sensors image RobotsFindKitten 1.0.2 ? error on running Unknown Symbol "ForeColor" in class "Label" in class frfk at line 114 Evaluator 0.0.1 ? unknown symbol on Update-result if a number have a "0,5" in it all work if the number is 0.5 Printing 0.0.4 ? unknown identifier Drawing in class FormPrinting.class at line 71 Hope this helps Best Regards Marco -- Linux Infinite Freedom From vscott59 at ...651... Tue Jun 1 05:59:10 2010 From: vscott59 at ...651... (Vince Scott (Live)) Date: Mon, 31 May 2010 22:59:10 -0500 Subject: [Gambas-devel] Building Components In-Reply-To: <201005301944.15503.gambas@...1...> References: <201005251615.22019.gambas@...1...> <201005301944.15503.gambas@...1...> Message-ID: Does that mean...no help on build components? -----Original Message----- From: Beno?t Minisini [mailto:gambas at ...1...] Sent: Sunday, May 30, 2010 12:44 PM To: mailing list for gambas developers Subject: Re: [Gambas-devel] Building Components > Benoit, > > First, I want to say thanks for the reply. Second, I have really enjoyed > writing applications in Gambas. It has allowed many Windows developers to > migrate to Linux. > > Where might I find the documentation for component written in Gambas. I've > create the shell of one but don't understand what do with the 2 classes > created or where I need to put them to access them. > > I'm want to put reusable logic in these components so they can be more > easily tested and reuse. I have found that sharing class file between > projects can be very complicated. It should not be complicated now that a Gambas project can use other Gambas projects as "library", by using their exported classes, as if these libraries are components. See the mail about libraries on the mailing-list for more details. > In this situation I would want to build > components in Gambas to abstract the data. Our legacy system is built on > C/C++. I would like to build components that interface better with this > legacy code and encapsulate our business logic...thus also allowing us to > automate testing. > > If you can help me I would be willing to document the process I go through > of creating a simple component and posting it for others. Yes, give me some details, and ask me some precise questions. > I think the real > strength of Gambas is yet to be tapped with the development of components. > That's what made VB so powerful...were all the 3rd party components. Mmm. I have bad memories from VB 3rd party components: badly documented and full of bugs! :-) Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas.fr at ...176... Tue Jun 1 13:11:54 2010 From: gambas.fr at ...176... (Fabien Bodard) Date: Tue, 1 Jun 2010 13:11:54 +0200 Subject: [Gambas-devel] Building Components In-Reply-To: References: <201005251615.22019.gambas@...1...> <201005301944.15503.gambas@...1...> Message-ID: Old Mail >>>> Hi, In the last revision, I added the implementation of "libraries" in Gambas 3. That libraries completely replace the "user components" concept of Gambas 2. How does it work? You have a new tab named "libraries" in the IDE project property dialog. In that tab, you can define a list of gambas executables (*.gambas files) that will be used as libraries. When adding a library to a project, the IDE will extract from it all the information needed for the automatic completion, as for the normal components. These libraries will be loaded at program startup by the interpreter exactly like any component written in Gambas. When your project in run in debugging mode, i.e. from the IDE, the libraries are located by using the absolute path specified in the project property dialog. But when running the project normally, the library is searched in the following directory only: - The same directory as the project. - /usr/bin - /bin So, a Gambas executable that must act as a library for another program must be installed in /bin, /usr/bin, or in the same directory as the program using it. Now I'm waiting for your comments about this new feature! Regards, <<<<< This is the mail recently sended by benoit, that explain how to use the new component process. From rterry at ...627... Fri Jun 4 01:51:44 2010 From: rterry at ...627... (richard terry) Date: Fri, 4 Jun 2010 09:51:44 +1000 Subject: [Gambas-devel] Building Components In-Reply-To: References: Message-ID: <201006040951.44459.rterry@...627...> Fabian, I just updated to 2989 of gambas, tried to include my component and got the message "does not export any class" or something similar. Could you explain/assist Thanks Richard On Tuesday 01 June 2010 21:11:54 Fabien Bodard wrote: > Old Mail >>>> > > Hi, > > In the last revision, I added the implementation of "libraries" in Gambas > 3. That libraries completely replace the "user components" concept of > Gambas 2. > > How does it work? > > You have a new tab named "libraries" in the IDE project property dialog. In > that tab, you can define a list of gambas executables (*.gambas files) that > will be used as libraries. > > When adding a library to a project, the IDE will extract from it all the > information needed for the automatic completion, as for the normal > components. > > These libraries will be loaded at program startup by the interpreter > exactly like any component written in Gambas. > > When your project in run in debugging mode, i.e. from the IDE, the > libraries are located by using the absolute path specified in the project > property dialog. > > But when running the project normally, the library is searched in the > following directory only: > - The same directory as the project. > - /usr/bin > - /bin > > So, a Gambas executable that must act as a library for another program must > be installed in /bin, /usr/bin, or in the same directory as the program > using it. > > Now I'm waiting for your comments about this new feature! > > Regards, > > > <<<<< > This is the mail recently sended by benoit, that explain how to use > the new component process. > > --------------------------------------------------------------------------- > --- > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From fabianfloresvadell at ...176... Fri Jun 4 19:19:27 2010 From: fabianfloresvadell at ...176... (=?ISO-8859-1?Q?Fabi=E1n_Flores_Vadell?=) Date: Fri, 4 Jun 2010 14:19:27 -0300 Subject: [Gambas-devel] Ideas4Gambas Message-ID: Hi Benoit and all devs. I found in my desk a file that I wrote some time ago, about some things I would like to see in Gambas. I'm surprised about that Gambas 3 has incorporated some. Well, some ideas maybe are stupid or unrealizable, but I would like to know what you think about them. There are only two, to not be heavy: IDEA: Gambas could provide an abbreviated way to declare members in a class. I'm sloth and I like avoid writing code as much as possible Instead to write: PRIVATE $sFirstName AS String PRIVATE $sSurName AS String PRIVATE $iAge AS Integer PRIVATE $iWeight AS Integer Alternately, write that code in this way or something like that: PRIVATE $sFirstName, $sSurName AS String PRIVATE $iAge, $iWeight AS Integer = {21, 75} Or much better: PRIVATE $sFirstName, $sSurName AS String $iAge, $iWeight AS Integer = {21, 75} CONST ACONST, OTHER, ANOTHER AS Byte = {0,1,2} I used "{}" because it's a common math symbol, used to define sets. ----------- IDEA: Gambas could make writing and running unit tests Building a framework to facilitate the construction, implementation and evaluation of unit tests. Maybe by adapting some of existing test frameworks. Regards. -- Fabi?n Flores Vadell www.speedbooksargentina.blogspot.com From gambas at ...1... Sat Jun 5 00:25:08 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 5 Jun 2010 00:25:08 +0200 Subject: [Gambas-devel] Gambas 3 svn revision 2987 testing examples In-Reply-To: References: Message-ID: <201006050025.08626.gambas@...1...> > Testing all examples in gambas3 ( i report here only examples with issue) > > KateBrowser 0.0.7 ? don't compile in the FBrowser.class it get this > error: Unknown identifier Menu in form definition > Scripting 0.0.1 ? don't compile error: FScript.class Unknown > identifier Label in form definition > DataReportExamle 0.0.1 ? report component not found gb.qt (but must be my > env) AnalogWatch 0.0.1 ? error on running Unknown Symbol "ForeColor" in > class "Draw" in class frmclock at line 99 > Barcode 0.0.3 ? error on print barcode: "Not a drawable object" in > class Fmain at line 60 > Sensors 0.0.87 ? it run without errors but i cannot view any sensors image > RobotsFindKitten 1.0.2 ? error on running Unknown Symbol "ForeColor" > in class "Label" in class frfk at line 114 > Evaluator 0.0.1 ? unknown symbol on Update-result if a number have a > "0,5" in it all work if the number is 0.5 > Printing 0.0.4 ? unknown identifier Drawing in class > FormPrinting.class at line 71 > > Hope this helps > Best Regards > Marco Thanks. It is "just" some old code whose syntax has not been ported, some properties that were deprecated, and some examples that should be removed (KateBrowser & Scripting), or rewritten with gb.dbus. Regards, -- Beno?t Minisini From priastefano at ...506... Mon Jun 28 13:43:11 2010 From: priastefano at ...506... (Tim Stefano) Date: Mon, 28 Jun 2010 13:43:11 +0200 Subject: [Gambas-devel] BUG with multiple selection in listbox with GTK and COMBOBOX.click on QT with touch screen References: Message-ID: <07D7810AC1464A218535BD5B9632B025@...650...> Montelupo Fiorentino - Italy 28 June 2010 Hi, On Asus EEE Top All in one with Debian 2.6.32 - ICEWM - Gambas 2.20.2 if I use qt I have a freeze situation when I click on combobox with touch screen (with mouse it's ok)... I need to switch off the panel in the same application if I use gtk in listbox with multiple selection I have all set TRUE when I check wich is selected. Thanks for your help Distinti saluti - Best regards Stefano Pria From gambas at ...1... Mon Jun 28 15:40:23 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 28 Jun 2010 15:40:23 +0200 Subject: [Gambas-devel] Error on Gambas3 using TabStrip In-Reply-To: References: Message-ID: <201006281540.23303.gambas@...1...> > See the proyect attached and see the pic attached, the picture shows the > form that is shown at execution time. > > [OperatingSystem] > > OperatingSystem=Linux > > KernelRelease=2.6.31.12-desktop-3mnb > > DistributionVendor=MandrivaLinux > > DistributionRelease="Mandriva Linux 2010.0" > > > [System] > > CPUArchitecture=i686 > > TotalRam=2035740 kB > > > [Gambas] > > Gambas1=Not Installed > > Gambas2=Not Installed > > Gambas3=2.99.0 > > Gambas3Path=/usr/local/bin/gbx3 Is it fixed now? -- Beno?t Minisini From gambas at ...1... Mon Jun 28 15:36:57 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 28 Jun 2010 15:36:57 +0200 Subject: [Gambas-devel] Ideas4Gambas In-Reply-To: References: Message-ID: <201006281536.57683.gambas@...1...> > Hi Benoit and all devs. > > I found in my desk a file that I wrote some time ago, about some > things I would like to see in Gambas. I'm surprised about that Gambas > 3 has incorporated some. > > Well, some ideas maybe are stupid or unrealizable, but I would like to > know what you think about them. There are only two, to not be heavy: > > IDEA: Gambas could provide an abbreviated way to declare members in a > class. I'm sloth and I like avoid writing code as much as possible > > Instead to write: > > PRIVATE $sFirstName AS String > PRIVATE $sSurName AS String > PRIVATE $iAge AS Integer > PRIVATE $iWeight AS Integer > At the moment, you have to write one declaration by line because it is simpler to parse. But note that you can declare several local variables on the same line with the DIM keyword. > Alternately, write that code in this way or something like that: > > PRIVATE $sFirstName, $sSurName AS String Implementing that syntax is possible, like for the DIM syntax. > PRIVATE $iAge, $iWeight AS Integer = {21, 75} > > Or much better: > > PRIVATE > $sFirstName, $sSurName AS String > $iAge, $iWeight AS Integer = {21, 75} > > CONST > ACONST, OTHER, ANOTHER AS Byte = {0,1,2} > > > I used "{}" because it's a common math symbol, used to define sets. > But I won't do that one: "{" & "}" are reserved for defining identifiers that the compiler must not interpret as keywords. > ----------- > > IDEA: Gambas could make writing and running unit tests > > Building a framework to facilitate the construction, implementation > and evaluation of unit tests. Maybe by adapting some of existing test > frameworks. Can you give more details? -- Beno?t Minisini From gambas at ...1... Mon Jun 28 15:37:53 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 28 Jun 2010 15:37:53 +0200 Subject: [Gambas-devel] Building Components In-Reply-To: <201006040951.44459.rterry@...627...> References: <201006040951.44459.rterry@...627...> Message-ID: <201006281537.53237.gambas@...1...> > Fabian, > > I just updated to 2989 of gambas, tried to include my component and got the > message "does not export any class" or something similar. > > Could you explain/assist > > Thanks > > Richard > A project must export at least one class to be used as a library (and as a component too, this is internally the same thing). -- Beno?t Minisini From david.villalobos.c at ...176... Mon Jun 28 16:43:37 2010 From: david.villalobos.c at ...176... (David Villalobos Cambronero) Date: Mon, 28 Jun 2010 08:43:37 -0600 Subject: [Gambas-devel] Error on Gambas3 using TabStrip In-Reply-To: <201006281540.23303.gambas@...1...> References: <201006281540.23303.gambas@...1...> Message-ID: Yes, It is. Thanks Regards --- David 2010/6/28 Beno?t Minisini > > See the proyect attached and see the pic attached, the picture shows the > > form that is shown at execution time. > > > > [OperatingSystem] > > > > OperatingSystem=Linux > > > > KernelRelease=2.6.31.12-desktop-3mnb > > > > DistributionVendor=MandrivaLinux > > > > DistributionRelease="Mandriva Linux 2010.0" > > > > > > [System] > > > > CPUArchitecture=i686 > > > > TotalRam=2035740 kB > > > > > > [Gambas] > > > > Gambas1=Not Installed > > > > Gambas2=Not Installed > > > > Gambas3=2.99.0 > > > > Gambas3Path=/usr/local/bin/gbx3 > > Is it fixed now? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vscott59 at ...651... Mon Jun 28 17:20:14 2010 From: vscott59 at ...651... (Vince Scott) Date: Mon, 28 Jun 2010 10:20:14 -0500 Subject: [Gambas-devel] Building Components In-Reply-To: <201006281537.53237.gambas@...1...> References: , , <201006040951.44459.rterry@...627...>, <201006281537.53237.gambas@...1...> Message-ID: Hi, I am still looking for direction on implimenting components built in GAMBAS. I how to I expose the component and how do I link it in to other projects. I want to put our business logic into gambas components. Thanks, Vince Scott > From: gambas at ...1... > To: gambas-devel at lists.sourceforge.net > Date: Mon, 28 Jun 2010 15:37:53 +0200 > Subject: Re: [Gambas-devel] Building Components > > > Fabian, > > > > I just updated to 2989 of gambas, tried to include my component and got the > > message "does not export any class" or something similar. > > > > Could you explain/assist > > > > Thanks > > > > Richard > > > > A project must export at least one class to be used as a library (and as a > component too, this is internally the same thing). > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: