From adamnt42 at gmail.com Mon Jun 1 09:25:20 2020 From: adamnt42 at gmail.com (Bruce) Date: Mon, 1 Jun 2020 16:55:20 +0930 Subject: [Gambas-user] ValueBox: Is the LostFocus event raised when the focus is changed programmatically? or see more. Message-ID: <613a4733-4d57-b82d-565d-5dd12cc0b045@gmail.com> i.e. I have a ValueBox1_LostFocus event handler that does execute when the user clicks on another input control but if they click on a button it doesn't? So I put AnotherTextBox.SetFocus in the button handler. The ValueBox1_LostFocus event handler still doen't execute. Any clues? tia bruce From g4mba5 at gmail.com Mon Jun 1 11:58:32 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jun 2020 11:58:32 +0200 Subject: [Gambas-user] ValueBox: Is the LostFocus event raised when the focus is changed programmatically? or see more. In-Reply-To: <613a4733-4d57-b82d-565d-5dd12cc0b045@gmail.com> References: <613a4733-4d57-b82d-565d-5dd12cc0b045@gmail.com> Message-ID: Le 01/06/2020 ? 09:25, Bruce a ?crit?: > i.e. I have a ValueBox1_LostFocus event handler that does execute when > the user clicks on another input control but if they click on a button > it doesn't? So I put AnotherTextBox.SetFocus in the button handler. > The ValueBox1_LostFocus event handler still doen't execute. > > Any clues? > tia > bruce > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- As usual, show us a project that reproduces the problem. -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 1 12:04:34 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jun 2020 12:04:34 +0200 Subject: [Gambas-user] No mouse event data?? In-Reply-To: References: Message-ID: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> Le 30/05/2020 ? 23:44, Jussi Lahtinen a ?crit?: > Is this bug in Gambas or has something changed? > Run the attached project, click on the alarm on the main form. > > > Jussi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > The bug is yours: you use Mouse class properties inside a Click event handler. Mouse class properties are guaranteed to be available only inside Mouse event handlers. You were lucky because Mouse data were available inside GridView click events, but this is not the case anymore. Regards, -- Beno?t Minisini From tmorehen at ajm-software.com Mon Jun 1 15:41:13 2020 From: tmorehen at ajm-software.com (Tony Morehen) Date: Mon, 1 Jun 2020 09:41:13 -0400 Subject: [Gambas-user] No mouse event data?? In-Reply-To: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> References: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> Message-ID: <63ecbd3a-05e4-ce66-afe5-5d8f9fdd494d@ajm-software.com> While this change broke programs of mine that have worked for years, I agree that the fault was mine.? The click code should be restricted to=2 code that runs for any click event. However, I wonder about the event sequence: MouseDown, MouseUp, Click, Menu.? Shouldn't Menu happen before Click?? That way your Menu handler can use Stop Event to prevent Click, ie the specific event handler tells the general event handler that the event has been handled. On 2020-06-01 5:04 a.m., Beno?t Minisini wrote: > Le 30/05/2020 ? 23:44, Jussi Lahtinen a ?crit?: >> Is this bug in Gambas or has something changed? >> Run the attached project, click on the alarm on the main form. >> >> >> Jussi >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> > > The bug is yours: you use Mouse class properties inside a Click event > handler. Mouse class properties are guaranteed to be available only > inside Mouse event handlers. > > You were lucky because Mouse data were available inside GridView click > events, but this is not the case anymore. > > Regards, > -- Email domain proudly hosted at https://migadu.com From g4mba5 at gmail.com Mon Jun 1 15:55:05 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jun 2020 15:55:05 +0200 Subject: [Gambas-user] No mouse event data?? In-Reply-To: <63ecbd3a-05e4-ce66-afe5-5d8f9fdd494d@ajm-software.com> References: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> <63ecbd3a-05e4-ce66-afe5-5d8f9fdd494d@ajm-software.com> Message-ID: Le 01/06/2020 ? 15:41, Tony Morehen a ?crit?: > While this change broke programs of mine that have worked for years, I > agree that the fault was mine.? The click code should be restricted to=2 > code that runs for any click event. > > However, I wonder about the event sequence: MouseDown, MouseUp, Click, > Menu.? Shouldn't Menu happen before Click?? That way your Menu handler > can use Stop Event to prevent Click, ie the specific event handler tells > the general event handler that the event has been handled. > "Menu" is a mouse event, but not "Click". It is actually higher level, and its behaviour depends on the specific control implementing it. For example: ComboBox "Click" event is raised when you change the Index property by code. No mouse involved here. So making assumptions on how "Menu" and "Click" events interact is very risky! Regards, -- Beno?t Minisini From jussi.lahtinen at gmail.com Mon Jun 1 22:26:31 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 1 Jun 2020 23:26:31 +0300 Subject: [Gambas-user] No mouse event data?? In-Reply-To: References: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> <63ecbd3a-05e4-ce66-afe5-5d8f9fdd494d@ajm-software.com> Message-ID: > > For example: ComboBox "Click" event is raised when you change the Index > property by code. No mouse involved here. > This is not very intuitive... is there easy way to give compiler warning about this? "Click" is kind of mouse term. Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jun 1 22:36:14 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jun 2020 22:36:14 +0200 Subject: [Gambas-user] No mouse event data?? In-Reply-To: References: <2e41cb0c-0497-7fad-ce8d-0bc2e0b57341@gmail.com> <63ecbd3a-05e4-ce66-afe5-5d8f9fdd494d@ajm-software.com> Message-ID: <449337c3-cae2-6742-2944-0792c7a0c77e@gmail.com> Le 01/06/2020 ? 22:26, Jussi Lahtinen a ?crit?: > For example: ComboBox "Click" event is raised when you change the Index > property by code. No mouse involved here. > > > This is not very intuitive... is there easy way to give compiler warning > about this? > "Click" is kind of mouse term. > > > Jussi > I know, it comes from Visual Basic. At the beginning of Gambas, I wanted to make the transition from VB to Gambas easy. Regards, -- Beno?t Minisini From adamnt42 at gmail.com Tue Jun 2 03:21:03 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 2 Jun 2020 10:51:03 +0930 Subject: [Gambas-user] ValueBox: Is the LostFocus event raised when the focus is changed programmatically? or see more. In-Reply-To: References: <613a4733-4d57-b82d-565d-5dd12cc0b045@gmail.com> Message-ID: On 1/6/20 7:28 pm, Beno?t Minisini wrote: > Le 01/06/2020 ?? 09:25, Bruce a ??crit??: >> i.e. I have a ValueBox1_LostFocus event handler that does execute when >> the user clicks on another input control but if they click on a button >> it doesn't? So I put AnotherTextBox.SetFocus in the button handler. >> The ValueBox1_LostFocus event handler still doen't execute. >> >> Any clues? > > As usual, show us a project that reproduces the problem. > Will do, but it is a bit difficult to extract. I have found one clue though. The valuebox is in a custom composite control, the button is on the form in a project that uses the control. So I guess that within the composite control the focus is still on the valuebox. (Composite control = a custom control that uses a Form with 3 textboxes and a valuebox as it's visual representation.) The more I think about this, the more it makes sense. But it is an interesting take on the whole Focus situation. i.e when a custom control loses focus then should all its' children also lose focus? I don't know maybe that would upset things. I'll have to build demo from scratch to demonstrate the problem. b From denisc at exemail.com.au Thu Jun 4 04:05:37 2020 From: denisc at exemail.com.au (Denis Crowther) Date: Thu, 4 Jun 2020 12:05:37 +1000 Subject: [Gambas-user] IDE - Search Change Idea Message-ID: <532a9c3e-bcda-a06b-6fcc-aa7d3ca77201@exemail.com.au> Hi Guys, What is the protocol for asking/suggeting changes to the IDE. eg; In the IDE when searching in Source, Data and All Files the search results are shown in the console. I would much prefer this to also happen when searching in the Current Procedure and Current File. -- Regards Denis From tercoide at hotmail.com Fri Jun 5 00:13:14 2020 From: tercoide at hotmail.com (martin p cristia) Date: Thu, 4 Jun 2020 19:13:14 -0300 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: Message-ID: Hello fellow gambers. We are a small team doing a CAD program. It started as a silly graphics practice but as we found the ease to do things with our language it got bigger and we got ambitious. We beleive it can be a LibreCAD replacement as it is no longer mantained/improved. If you are entusiastic over CAD you can join the team. Depending on your skills at programming a task will be given to you. Don't miss the posibility to do something good for the community!! In the link you will find the code for download, a screenshot and some roadmap. It's an early alpha, it will hung at certain point for sure!!! https://github.com/tercoide/GauchoCAD -- Saludos Ing. Martin P Cristia From roberto.premoli at tiscali.it Fri Jun 5 12:14:51 2020 From: roberto.premoli at tiscali.it (Roberto Premoli) Date: Fri, 5 Jun 2020 12:14:51 +0200 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: Message-ID: <25a8e97a-97ca-4ebe-234e-beb7875d68de@tiscali.it> On 05/06/20 00:13, martin p cristia wrote: > Hello fellow gambers. We are a small team doing a CAD program. It > started as a silly graphics practice but as we found the ease to do > things with our language it got bigger and we got ambitious. We beleive > it can be a LibreCAD replacement as it is no longer mantained/improved. > If you are entusiastic over CAD you can join the team. Depending on your > skills at programming a task will be given to you. Don't miss the > posibility to do something good for the community!! In the link you will > find the code for download, a screenshot and some roadmap. It's an early > alpha, it will hung at certain point for sure!!! > > https://github.com/tercoide/GauchoCAD > why "redo the weel"? why did you not choose to mantain libreCAD but start from scratch with a new project? I am not looking for a flame, im just curious about your motivation. THanks. From mati86dl at gmail.com Fri Jun 5 16:14:29 2020 From: mati86dl at gmail.com (Matias De lellis) Date: Fri, 5 Jun 2020 11:14:29 -0300 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: Message-ID: Hi Martin, Congratulations on the project, it is interesting and hope you progress ;) That you start doing it in OpenGl is already a good start to not have to rewrite later. El jue., 4 jun. 2020 a las 19:14, martin p cristia () escribi?: > Hello fellow gambers. We are a small team doing a CAD program. It > started as a silly graphics practice but as we found the ease to do > things with our language it got bigger and we got ambitious. We beleive > it can be a LibreCAD replacement as it is no longer mantained/improved. > If you are entusiastic over CAD you can join the team. Depending on your > skills at programming a task will be given to you. Don't miss the > posibility to do something good for the community!! In the link you will > find the code for download, a screenshot and some roadmap. It's an early > alpha, it will hung at certain point for sure!!! > > https://github.com/tercoide/GauchoCAD > > -- > Saludos > > Ing. Martin P Cristia > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.aaron.rose at gmail.com Fri Jun 5 18:22:39 2020 From: john.aaron.rose at gmail.com (John Rose) Date: Fri, 5 Jun 2020 17:22:39 +0100 Subject: [Gambas-user] Problem with Lock method for DrawingArea class Message-ID: This problem is difficult to explain, so please bear with me. The idea behind my app is to allow the user to select a Desktop Window. This is done by having the FSelectWindow form overlay (with Opacity=35, Arrangement=Vertical) the available desktop. The Select_Window form contains only one control (DrawingAreaDesktop with Expand=True). This results in the Drawing AreaDesktop forming a semi-opaque layer over the available desktop. If before you run my app, you close all windows except Gambas (but not full screen) and Compile All, there are no compilation errors or warnings. Then run my app and click on the Select button (in the FMain form), you will see that all the desktop windows (i.e. only the Gambas one) are shown in a semi-opaque 'mode'. If you now click on a point in an empty area, a Message Box will be displayed saying "Try again:" & "Did not click on window.": caused by lines 106-107 of Sub DrawingAreaDesktop_MouseUp() event. If you click on the Ok button, then (with the Lock command in line 104 commented out) the Mouse_Up event is entered again: this is shown by examining the Console output. To prevent (re-)entry to the Mouse_Up event coding when the user clicks the Message Box Ok button, I tried to use the Lock method in line 104 to prevent this (re-)entry. However, I then get an error window saying "Unknown symbol in 'Lock' in class 'Drawing Area' at FSelectWindow.DrawingAreaDesktop - MouseUp.104 (generated by line 135) . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SelectWindow.tar.gz Type: application/gzip Size: 18924 bytes Desc: not available URL: From mbelmonte at belmotek.net Fri Jun 5 20:06:53 2020 From: mbelmonte at belmotek.net (=?UTF-8?Q?Mart=c3=adn_Belmonte?=) Date: Fri, 5 Jun 2020 20:06:53 +0200 Subject: [Gambas-user] GauchoCAD In-Reply-To: <25a8e97a-97ca-4ebe-234e-beb7875d68de@tiscali.it> References: <25a8e97a-97ca-4ebe-234e-beb7875d68de@tiscali.it> Message-ID: It is a valid question, I have asked myself, but, as you know, developing LibreCAD implies doing it in c++ and also, what ide to use? Jetbrains that aren't free? Have you used librecad? Its use is not very friendly. So my main motivation is to make a CAD that I like to use and with Gambas that is spectacular and has everything, compiler, interpreter, packager, development environment. Now I'm curious. Why not do a CAD in prawns? El 05. 06. 20 a las 12:14, Roberto Premoli escribi?: > why "redo the weel"? why did you not choose to mantain libreCAD but > start from scratch with a new project? > I am not looking for a flame, im just curious about your motivation. > THanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tercoide at hotmail.com Fri Jun 5 21:15:50 2020 From: tercoide at hotmail.com (martin p cristia) Date: Fri, 5 Jun 2020 16:15:50 -0300 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: Message-ID: > why "redo the weel"? Quarantine free time :)? But it started as something else, just wanted to do a rapid modeler for structures, a support software for my other project. Check out my pretty face and what I want to accomplish here : https://www.youtube.com/watch?v=zFOyvxSDBrI > why did you not choose to mantain libreCAD but > start from scratch with a new project? It's in C++. That's chinesse to me. And no fun. Why do we program anyway? Since it is all done! > Congratulations on the project, it is interesting and hope you progress Thank you. It started with Qt4 Paint , then Cairo , then Qt5 Paint , then OpenGL. Sadly its 23 year old v1.1 OpenGL; no Gambas fault, but Linux vs Nvidia figth. Anyway it's fast enogh for up to 200k entities. We are having same perfomance (in terms of number of entities/screen refreshing rate) as current commercial software like Briscad, VeriCAD, DraftSigth or others. -- Saludos Ing. Martin P Cristia From jussi.lahtinen at gmail.com Fri Jun 5 23:43:12 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sat, 6 Jun 2020 00:43:12 +0300 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: <25a8e97a-97ca-4ebe-234e-beb7875d68de@tiscali.it> Message-ID: Code::Blocks IDE is open source. I use it to write C. But I have no opinion about writing CAD with Gambas... why not. Jussi On Fri, Jun 5, 2020 at 9:45 PM Mart?n Belmonte wrote: > It is a valid question, I have asked myself, but, as you know, developing > LibreCAD implies doing it in c++ and also, what ide to use? Jetbrains > that aren't free? Have you used librecad? Its use is not very friendly. > So my main motivation is to make a CAD that I like to use and with Gambas > that is spectacular and has everything, compiler, interpreter, packager, > development environment. > Now I'm curious. Why not do a CAD in prawns? > El 05. 06. 20 a las 12:14, Roberto Premoli escribi?: > > why "redo the weel"? why did you not choose to mantain libreCAD but start > from scratch with a new project? > I am not looking for a flame, im just curious about your motivation. > THanks. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.aaron.rose at gmail.com Sat Jun 6 10:28:30 2020 From: john.aaron.rose at gmail.com (John Rose) Date: Sat, 6 Jun 2020 09:28:30 +0100 Subject: [Gambas-user] Continuation Lines Message-ID: <9ebc1807-2050-e030-7842-ddf5fc53448a@gmail.com> If I remember correctly there used to be a way in VB of continuing long lines of code (e.g. a long IF command with a few ANDs, thus saving having to do a nested IF). I have a feeling that it was done by use of the _ character at the end of a line. Though my memory could be failing me and perhaps it's in B4A (Basic4android). Is there a way of doing this in Gambas coding? From kicking177 at gmail.com Sat Jun 6 11:21:27 2020 From: kicking177 at gmail.com (KKing) Date: Sat, 6 Jun 2020 10:21:27 +0100 Subject: [Gambas-user] Project Properties Options Debugging section missing Message-ID: running Gambas 3.12.2 as from Debian 10 repository when I navigate to ?Project->Properties->Options The Debugging section is missing (so I can't set "Use terminal window") the last section show is Translation. Is this section dependent on something either within config of Gambas or a package dependency not met? K. From adamnt42 at gmail.com Sat Jun 6 11:24:44 2020 From: adamnt42 at gmail.com (Bruce) Date: Sat, 6 Jun 2020 18:54:44 +0930 Subject: [Gambas-user] Continuation Lines In-Reply-To: <9ebc1807-2050-e030-7842-ddf5fc53448a@gmail.com> References: <9ebc1807-2050-e030-7842-ddf5fc53448a@gmail.com> Message-ID: On 6/6/20 5:58 pm, John Rose wrote: > If I remember correctly there used to be a way in VB of continuing long > lines of code (e.g. a long IF command with a few ANDs, thus saving > having to do a nested IF). I have a feeling that it was done by use of > the _ character at the end of a line. Though my memory could be failing > me and perhaps it's in B4A (Basic4android). Is there a way of doing this > in Gambas coding? > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- The IDE has an "Automatic Word Wrap" option that goes a long way to alleviating this need. Also Strings can be split over lines. Can't remember trying to split IF a AND b, maybe this is a good idea. (If it already doesn't work) I do see your point, working with a lot of SQL queries I do appreciate SQL editors that let you format the boolean clauses in a way that makes it easier to groke the logic. That's about all the help I can offer here. b From kicking177 at gmail.com Sat Jun 6 11:28:24 2020 From: kicking177 at gmail.com (KKing) Date: Sat, 6 Jun 2020 10:28:24 +0100 Subject: [Gambas-user] Running multiple versions of Gambas and or use of --program-suffix Message-ID: <36fa581a-ac79-ebde-642e-8c29e1a5e044@gmail.com> @Benoit, don't think I saw a response to this, is it a non starter / just too difficult? Is there a root config file that holds the main version at 3 that I could for my own purposes say change to 9 so could create a disguised 3.14 as 9.14 for my testing? I tried looking and testing, but I seem to find a lot of references and the make would still generate a mixture of gambas3 and gambas9 references and e.g. gbr3 but gbc9. K From g4mba5 at gmail.com Sat Jun 6 11:45:47 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 6 Jun 2020 11:45:47 +0200 Subject: [Gambas-user] Running multiple versions of Gambas and or use of --program-suffix In-Reply-To: <36fa581a-ac79-ebde-642e-8c29e1a5e044@gmail.com> References: <36fa581a-ac79-ebde-642e-8c29e1a5e044@gmail.com> Message-ID: <50c8e8bd-2a59-3877-09b4-59c2b34a7973@gmail.com> Le 06/06/2020 ? 11:28, KKing a ?crit?: > @Benoit, don't think I saw a response to this, is it a non starter / > just too difficult? > > Is there a root config file that holds the main version at 3 that I > could for my own purposes say change to 9 so could create a disguised > 3.14 as 9.14 for my testing? > I tried looking and testing, but I seem to find a lot of references and > the make would still generate a mixture of gambas3 and gambas9 > references and e.g. gbr3 but gbc9. > > K > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- I think you can achieve what you want by: - Compiling from sources by using './configure --prefix=XXX'. For example: './configure --prefix=/opt/gambas/3.8' - Set the GB_PATH environment variable with the path of the specific interpreter. For example: 'setenv GB_PATH /opt/gambas/3.8/bin/gbx3'. If you want to run two versions at the same time, you have to switch the 'GB_PATH' environment variable according to the version you want to run. Tell me if it works. Regards, -- Beno?t Minisini From kicking177 at gmail.com Sat Jun 6 13:02:54 2020 From: kicking177 at gmail.com (KKing) Date: Sat, 6 Jun 2020 12:02:54 +0100 Subject: [Gambas-user] Running multiple versions of Gambas and or use of Message-ID: $ export GB_PATH=/opt/gambas/9.13/bin/gbx3 $ gambas3 ** ** OOPS! INTERNAL ERROR. Program aborting, sorry! :-( ** Unable to find JIT compilation method ** ** ERROR: Unable to find method _Compile in class Jit. Return type does not match ** ** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2]. ** [1] http://gambaswiki.org/bugtracker ** [2] https://lists.gambas-basic.org/listinfo/user ** From roberto.premoli at tiscali.it Sat Jun 6 19:36:46 2020 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Sat, 06 Jun 2020 19:36:46 +0200 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: <25a8e97a-97ca-4ebe-234e-beb7875d68de@tiscali.it> Message-ID: <286176e8ab54e5ca17c5e71d0e995b41@tiscali.it> yes, i used librecad and really i dislike it. i will enjoy to have a more end user friendly kind of 2D/3D CAD. About the coding taking as basic that everyone is free to do what ever he wants, i think also this: gambas is interpreted, C/C++ is compiled. it means that gambas will in average slower than C/C++. 2 years ago I did some rountines both gambas and C: gambas needs quarter of hours, C, few seconds. so, if i search for easy going coding and nice end user interfaces, i go with gambas, but for speed, i go C. and a CAD software, that can scale to large projects with million of objects to be managed (objects= lines, circles, ecc) i think it should be better done with a faster language. I end sayng that i prefere and use gambas over other languages, but i am also aware of his limits. Il 05.06.2020 20:06 Mart?n Belmonte ha scritto: > It is a valid question, I have asked myself, but, as you know, developing LibreCAD implies doing it in c++ and also, what ide to use? Jetbrains that aren't free? Have you used librecad? Its use is not very friendly. > So my main motivation is to make a CAD that I like to use and with Gambas that is spectacular and has everything, compiler, interpreter, packager, development environment. > Now I'm curious. Why not do a CAD in prawns? > El 05. 06. 20 a las 12:14, Roberto Premoli escribi?: > >> why "redo the weel"? why did you not choose to mantain libreCAD but start from scratch with a new project? >> I am not looking for a flame, im just curious about your motivation. >> THanks. Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in 4G a soli 8,99? al mese. http://tisca.li/smart30 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Mon Jun 8 15:55:54 2020 From: mbelmonte at belmotek.net (=?UTF-8?Q?Mart=c3=adn_Belmonte?=) Date: Mon, 8 Jun 2020 15:55:54 +0200 Subject: [Gambas-user] Component + C Library, how does it work Message-ID: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> Hello everyone. I am trying to learn how to make a component that works with a C library (LibreDWG). Can anyone tell me where to find an example (Component + C) to study how it works? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From olivier.cruilles at yahoo.fr Mon Jun 8 16:10:51 2020 From: olivier.cruilles at yahoo.fr (Linus) Date: Mon, 8 Jun 2020 10:10:51 -0400 Subject: [Gambas-user] Component + C Library, how does it work In-Reply-To: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> References: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> Message-ID: <2EF5791B-1B64-450C-9053-96167C157515@yahoo.fr> Hello Martin, You can find an example in the Farm of Gambas, a project named ?gb.sshclient? that I wrote for long time. This version is not the latest but it can give you a good overview. I hope it could help you The most important is to install the Devel package of you Library to find in the *.h files how to deal with the various C functions and declare those into Gambas Olivier Cruilles > Le 8 juin 2020 ? 09:55, Mart?n Belmonte a ?crit : > > Hello everyone. > I am trying to learn how to make a component that works with a C library (LibreDWG). Can anyone tell me where to find an example (Component + C) to study how it works? > Regards. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From olivier.cruilles at yahoo.fr Mon Jun 8 16:17:26 2020 From: olivier.cruilles at yahoo.fr (Linus) Date: Mon, 8 Jun 2020 10:17:26 -0400 Subject: [Gambas-user] Component + C Library, how does it work In-Reply-To: <2EF5791B-1B64-450C-9053-96167C157515@yahoo.fr> References: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> <2EF5791B-1B64-450C-9053-96167C157515@yahoo.fr> Message-ID: <78E7D054-AFBB-4FC2-8C53-BFEE86051B12@yahoo.fr> The file dwg.h from libdwg-0.6 src is a good start point for you work. A lot of Structures and Enumeration are described In the end of the file, the liste of functions Olivier Cruilles > Le 8 juin 2020 ? 10:10, Linus a ?crit : > > Hello Martin, > > You can find an example in the Farm of Gambas, a project named ?gb.sshclient? that I wrote for long time. > This version is not the latest but it can give you a good overview. > > I hope it could help you > > The most important is to install the Devel package of you Library to find in the *.h files how to deal with the various C functions and declare those into Gambas > > > Olivier Cruilles > >> Le 8 juin 2020 ? 09:55, Mart?n Belmonte > a ?crit : >> >> Hello everyone. >> I am trying to learn how to make a component that works with a C library (LibreDWG). Can anyone tell me where to find an example (Component + C) to study how it works? >> Regards. >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuott at tiscali.it Mon Jun 8 16:29:35 2020 From: vuott at tiscali.it (vuott at tiscali.it) Date: Mon, 08 Jun 2020 16:29:35 +0200 Subject: [Gambas-user] Component + C Library, how does it work In-Reply-To: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> References: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> Message-ID: <6adebb312e2f576c193c4d78d7a13298@tiscali.it> Hello, I suggest you T. Boege's tutorial: http://www-e.uni-magdeburg.de/tboege/gambas/native_comp.pdf regards Il 08.06.2020 15:55 Mart?n Belmonte ha scritto: > Hello everyone. > I am trying to learn how to make a component that works with a C library (LibreDWG). Can anyone tell me where to find an example (Component + C) to study how it works? > Regards. Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in 4G a soli 8,99? al mese. http://tisca.li/smart30 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Mon Jun 8 19:01:25 2020 From: mbelmonte at belmotek.net (=?UTF-8?Q?Mart=c3=adn_Belmonte?=) Date: Mon, 8 Jun 2020 19:01:25 +0200 Subject: [Gambas-user] Component + C Library, how does it work In-Reply-To: <2EF5791B-1B64-450C-9053-96167C157515@yahoo.fr> References: <4dd0454d-f1a0-f746-fd3f-47f4065b06cc@belmotek.net> <2EF5791B-1B64-450C-9053-96167C157515@yahoo.fr> Message-ID: <65a6eb2f-6d1c-e83a-7e63-4276af1201e7@belmotek.net> ok, tanks Olivier, i'll check this project. Actualy the current version is 0.10.1 https://github.com/LibreDWG/libredwg/releases Mart?n Belmonte. El 08. 06. 20 a las 16:10, Linus via User escribi?: > Hello Martin, > > You can find an example in the Farm of Gambas, a project named > ?gb.sshclient? that I wrote for long time. > This version is not the latest but it can give you a good overview. > > I hope it could help you > > The most important is to install the Devel package of you Library to > find in the *.h files how to deal with the various C functions and > declare those into Gambas > > > Olivier Cruilles > >> Le 8 juin 2020 ? 09:55, Mart?n Belmonte > > a ?crit : >> >> Hello everyone. >> I am trying to learn how to make a component that works with a C >> library (LibreDWG). Can anyone tell me where to find an example >> (Component + C) to study how it works? >> Regards. >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From tercoide at hotmail.com Mon Jun 8 20:11:53 2020 From: tercoide at hotmail.com (martin p cristia) Date: Mon, 8 Jun 2020 15:11:53 -0300 Subject: [Gambas-user] GauchoCAD In-Reply-To: References: Message-ID: > But I have no opinion about writing CAD with Gambas... why not. The question is not "why not", it's "when is going to be ready for use" ;) Saldy I'm the only one doing all the graphics and functional part, so it's going to take a while. Martin Belmonte is doing the GUI and file I/O, and we got help from the guy maintaining LibreDWG so we are going to have support for up to 2019 DWG/DXF wich is current I beleive. -- Saludos Ing. Martin P Cristia From kicking177 at gmail.com Wed Jun 10 18:39:04 2020 From: kicking177 at gmail.com (KKing) Date: Wed, 10 Jun 2020 17:39:04 +0100 Subject: [Gambas-user] Project Properties Options Debugging section missing Message-ID: running Gambas 3.12.2 as from Debian 10 repository when I navigate to ?Project->Properties->Options The Debugging section is missing (so I can't set "Use terminal window") the last section show is Translation. Is this section dependent on something either within config of Gambas or a package dependency not met? K. From g4mba5 at gmail.com Wed Jun 10 18:47:36 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 10 Jun 2020 18:47:36 +0200 Subject: [Gambas-user] Project Properties Options Debugging section missing In-Reply-To: References: Message-ID: <0197127b-ed5e-5ab2-2eba-3729f7fb16e8@gmail.com> Le 10/06/2020 ? 18:39, KKing a ?crit?: > running Gambas 3.12.2 as from Debian 10 repository when I navigate to > ?Project->Properties->Options > The Debugging section is missing (so I can't set "Use terminal window") > the last section show is Translation. > Is this section dependent on something either within config of Gambas or > a package dependency not met? > K. > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- The option is available in the debug menu. Regards, -- Beno?t Minisini From brian at westwoodsvcs.com Fri Jun 12 07:10:19 2020 From: brian at westwoodsvcs.com (Brian G) Date: Thu, 11 Jun 2020 22:10:19 -0700 (PDT) Subject: [Gambas-user] Windows for linux ubuntu 20.04 Message-ID: <368242979.1380.1591938619281.JavaMail.zimbra@westwoodsvcs.com> Well just installed windows for linux..... ubuntu 20.04 . Should be called linux on windows... oh well i guess the windows word needs to be first. Running scripter from daily. All my scripts seem to run fine. very happy! Thanks Beno?t Minisini ! Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From dosida at gmail.com Fri Jun 12 21:34:05 2020 From: dosida at gmail.com (Dimitris Anogiatis) Date: Fri, 12 Jun 2020 13:34:05 -0600 Subject: [Gambas-user] Windows for linux ubuntu 20.04 In-Reply-To: <368242979.1380.1591938619281.JavaMail.zimbra@westwoodsvcs.com> References: <368242979.1380.1591938619281.JavaMail.zimbra@westwoodsvcs.com> Message-ID: Are you referring to WSL2? On Thu, Jun 11, 2020 at 11:37 PM Brian G wrote: > Well just installed windows for linux..... ubuntu 20.04 . Should be called > linux on windows... oh well i guess the windows word needs to be first. > > Running scripter from daily. All my scripts seem to run fine. very happy! > > Thanks Beno?t Minisini ! > > Thank You > Brian G > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Fri Jun 12 22:39:02 2020 From: brian at westwoodsvcs.com (brian at westwoodsvcs.com) Date: Fri, 12 Jun 2020 23:39:02 +0300 Subject: [Gambas-user] =?utf-8?q?Windows_for_linux_ubuntu_20=2E04?= In-Reply-To: References: <368242979.1380.1591938619281.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <1591994342.647691782@f21.my.com> Yes! -- Thanks Brian Friday, 12 June 2020, 00:35PM -07:00 from Dimitris Anogiatis dosida at gmail.com : >Are you referring to WSL2? >On Thu, Jun 11, 2020 at 11:37 PM Brian G < brian at westwoodsvcs.com> wrote: >>Well just installed windows for linux..... ubuntu 20.04 . Should be called linux on windows... oh well i guess the windows word needs to be first. >> >>Running scripter from daily. All my scripts seem to run fine. very happy! >> >>Thanks Beno?t Minisini ! >> >>Thank You >>Brian G >>----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Reinl at Fen-Net.de Sat Jun 13 16:52:37 2020 From: Karl.Reinl at Fen-Net.de (Charlie Reinl) Date: Sat, 13 Jun 2020 16:52:37 +0200 Subject: [Gambas-user] rem out a line with a breakpoint Message-ID: <5fff327a7a1616054d5bbd7108a0c8d9918c510c.camel@Fen-Net.de> Salut, if you rem out a line with a breakpoint. The breakpoint point disappears, but the program remains on the next line. It can then only be deleted using the breakpoint list. From kicking177 at gmail.com Sat Jun 13 18:16:12 2020 From: kicking177 at gmail.com (KKing) Date: Sat, 13 Jun 2020 17:16:12 +0100 Subject: [Gambas-user] Running multiple versions of Gambas and or use of --program-suffix Message-ID: <7cea237f-5448-9dbd-ac84-f2b87c93561b@gmail.com> Hi @Benoit, any thoughts on this, does it scupper the './configure --prefix=XXX' approach? $ export GB_PATH=/opt/gambas/9.13/bin/gbx3 $ gambas3 ** ** OOPS! INTERNAL ERROR. Program aborting, sorry! ** Unable to find JIT compilation method ** ** ERROR: Unable to find method _Compile in class Jit. Return type does not match ** ** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2]. ** [1] http://gambaswiki.org/bugtracker ** [2] https://lists.gambas-basic.org/listinfo/user ** From brian at westwoodsvcs.com Sun Jun 14 00:11:20 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sat, 13 Jun 2020 15:11:20 -0700 (PDT) Subject: [Gambas-user] Help, Expression to complex error. Message-ID: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> How is this error generated? I have started getting it for tables built automatically be a script. When the generated script is compiled! Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sun Jun 14 00:32:07 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 14 Jun 2020 01:32:07 +0300 Subject: [Gambas-user] Help, Expression to complex error. In-Reply-To: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> References: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> Message-ID: Please show the line that causes the error. Jussi On Sun, Jun 14, 2020 at 1:22 AM Brian G wrote: > How is this error generated? I have started getting it for tables built > automatically be a script. > When the generated script is compiled! > > Thank You > Brian G > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sun Jun 14 00:38:42 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 14 Jun 2020 00:38:42 +0200 Subject: [Gambas-user] Help, Expression to complex error. In-Reply-To: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> References: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <110e1f52-b2ac-18a2-0e48-636b6f756eb0@gmail.com> Le 14/06/2020 ? 00:11, Brian G a ?crit?: > How is this error generated? I have started getting it for tables built > automatically be a script. > When the generated script is compiled! > > Thank You > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > You reached a compiler limit: http://gambaswiki.org/wiki/doc/limit -- Beno?t Minisini From brian at westwoodsvcs.com Sun Jun 14 00:55:55 2020 From: brian at westwoodsvcs.com (brian at westwoodsvcs.com) Date: Sun, 14 Jun 2020 01:55:55 +0300 Subject: [Gambas-user] =?utf-8?q?Help=2C_Expression_to_complex_error=2E?= In-Reply-To: <110e1f52-b2ac-18a2-0e48-636b6f756eb0@gmail.com> References: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> <110e1f52-b2ac-18a2-0e48-636b6f756eb0@gmail.com> Message-ID: <1592088955.888924024@f40.my.com> I am making an online array eg Dim abc as string[] =["AAA","eeeee", ...] The error is on the number entries in the array inline Which limit is this? -- Thanks Brian Saturday, 13 June 2020, 03:39PM -07:00 from Beno?t Minisini g4mba5 at gmail.com : >Le 14/06/2020 ? 00:11, Brian G a ?crit?: > How is this error generated? I have started getting it for tables built > automatically be a script. > When the generated script is compiled! > > Thank You > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > >You reached a compiler limit: http://gambaswiki.org/wiki/doc/limit > >-- >Beno?t Minisini > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sun Jun 14 01:45:11 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 14 Jun 2020 02:45:11 +0300 Subject: [Gambas-user] Help, Expression to complex error. In-Reply-To: <1592088955.888924024@f40.my.com> References: <1448281539.1608.1592086280859.JavaMail.zimbra@westwoodsvcs.com> <110e1f52-b2ac-18a2-0e48-636b6f756eb0@gmail.com> <1592088955.888924024@f40.my.com> Message-ID: I guess it's "Maximum number of syntax patterns in an expression". Can't you divide the array with insert method? Jussi On Sun, Jun 14, 2020 at 2:07 AM wrote: > I am making an online array eg > > Dim abc as string[] =["AAA","eeeee", ...] > The error is on the number entries in the array inline > > Which limit is this? > > -- > Thanks > Brian > Saturday, 13 June 2020, 03:39PM -07:00 from Beno?t Minisini > g4mba5 at gmail.com: > > Le 14/06/2020 ? 00:11, Brian G a ?crit : > > How is this error generated? I have started getting it for tables built > > automatically be a script. > > When the generated script is compiled! > > > > Thank You > > Brian G > > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > > You reached a compiler limit: http://gambaswiki.org/wiki/doc/limit > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuott at tiscali.it Sun Jun 14 16:34:51 2020 From: vuott at tiscali.it (vuott at tiscali.it) Date: Sun, 14 Jun 2020 16:34:51 +0200 Subject: [Gambas-user] Warning: symbol lookup error Message-ID: Hello, updating "Gambas" with the version 0406cdf4 master, during "make install" I get this warning many times (an example among all): Installing gb.scanner... /usr/bin/gbi3: symbol lookup error: /usr/lib/gambas3/gb.pdf.so: undefined symbol: globalParams The installation takes place and Gambas works regularly, but I want to report that warning. Regards Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in 4G a soli 8,99? al mese. http://tisca.li/smart30 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Sun Jun 14 17:27:43 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sun, 14 Jun 2020 08:27:43 -0700 (PDT) Subject: [Gambas-user] Making Installation package, .hidden subdirectory Message-ID: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> Is it possible to include an entire subdirectory from .hidden when creating an installation package. Or is it required to have every file that will be packaged in the .hidden directory? When there are a lot of files which are part of a project that may be packaged, it would be nice to organize them into a sub directory or link the production directory to the .hidden directory. Then just include the directory as part of the package. I have tried but it does not seem to work. Maybe I don't understand! Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sun Jun 14 23:32:51 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 14 Jun 2020 23:32:51 +0200 Subject: [Gambas-user] Warning: symbol lookup error In-Reply-To: References: Message-ID: <01391e00-b820-e414-9ac8-3629f9860cbc@gmail.com> Le 14/06/2020 ? 16:34, vuott at tiscali.it a ?crit?: > Hello, > updating "Gambas" with the version 0406cdf4 master, during "make > install" I get this warning many times (an example among all): > > ?? Installing gb.scanner... > ?? /usr/bin/gbi3: symbol lookup error: /usr/lib/gambas3/gb.pdf.so: > undefined symbol: globalParams > > > The installation takes place and Gambas works regularly, but I want to > report that warning. > Regards > > > > Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga > in 4G a soli 8,99? al mese. http://tisca.li/smart30 > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > I confirm. I don't understand why at the moment... -- Beno?t Minisini From tmorehen at ajm-software.com Mon Jun 15 00:49:33 2020 From: tmorehen at ajm-software.com (Tony Morehen) Date: Sun, 14 Jun 2020 18:49:33 -0400 Subject: [Gambas-user] Warning: symbol lookup error In-Reply-To: References: Message-ID: gb.pdf rears its ugly head once again. I get a similar warning: /shared/work/Gambas/master/src/fakeinstall/usr/bin/gbi3: symbol lookup error: /shared/work/Gambas/master/src/fakeinstall/usr/lib/gambas3/gb.pdf.so: undefined symbol: _ZTI10BaseStream _ZTI10BaseStream can be found in the various poppler library files but is not in any of the poppler includes. On 2020-06-14 9:34 a.m., vuott at tiscali.it wrote: > Hello, > updating "Gambas" with the version 0406cdf4 master, during "make > install" I get this warning many times (an example among all): > > ?? Installing gb.scanner... > ?? /usr/bin/gbi3: symbol lookup error: /usr/lib/gambas3/gb.pdf.so: > undefined symbol: globalParams > > > The installation takes place and Gambas works regularly, but I want to > report that warning. > Regards > > > > Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 > Giga in 4G a soli 8,99? al mese. http://tisca.li/smart30 > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -- Email domain proudly hosted at https://migadu.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jun 15 09:28:08 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 15 Jun 2020 09:28:08 +0200 Subject: [Gambas-user] Warning: symbol lookup error In-Reply-To: References: Message-ID: Le 15/06/2020 ? 00:49, Tony Morehen a ?crit?: > gb.pdf rears its ugly head once again. I get a similar warning: > > /shared/work/Gambas/master/src/fakeinstall/usr/bin/gbi3: symbol lookup > error: > /shared/work/Gambas/master/src/fakeinstall/usr/lib/gambas3/gb.pdf.so: > undefined symbol: _ZTI10BaseStream > > _ZTI10BaseStream can be found in the various poppler library files but > is not in any of the poppler includes. > It should be fixed in the last commit. Regards, -- Beno?t Minisini From vuott at tiscali.it Mon Jun 15 15:58:07 2020 From: vuott at tiscali.it (vuott at tiscali.it) Date: Mon, 15 Jun 2020 15:58:07 +0200 Subject: [Gambas-user] Warning: symbol lookup error In-Reply-To: References: Message-ID: <53109a5853d300235c4b333a4dbc4c07@tiscali.it> Yes, it is. Il 15.06.2020 09:28 Beno?t Minisini ha scritto: > Le 15/06/2020 ? 00:49, Tony Morehen a ?crit : > >> gb.pdf rears its ugly head once again. I get a similar warning: /shared/work/Gambas/master/src/fakeinstall/usr/bin/gbi3: symbol lookup error: /shared/work/Gambas/master/src/fakeinstall/usr/lib/gambas3/gb.pdf.so: undefined symbol: _ZTI10BaseStream _ZTI10BaseStream can be found in the various poppler library files but is not in any of the poppler includes. > > It should be fixed in the last commit. > > Regards, > > -- Beno?t Minisini ----[ http://gambaswiki.org/wiki/doc/netiquette [1] ]---- Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in 4G a soli 8,99? al mese. http://tisca.li/smart30 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Wed Jun 17 18:52:31 2020 From: brian at westwoodsvcs.com (Brian G) Date: Wed, 17 Jun 2020 09:52:31 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing Message-ID: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> I am finishing the updates to the scripter for gambas3 I wanted to know if it is possible to use the test module to verify the functionality of the scripter module I am not seeing much detailed documentation on how to do this. Where will I find some detailed information regarding test. Maybe Christof or Tobias can help me out if possible. Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Jun 17 21:08:01 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 17 Jun 2020 21:08:01 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> Am 17.06.20 um 18:52 schrieb Brian G: > I am finishing the updates to the scripter for gambas3 > > I wanted to know if it is possible to use the test module to verify > the functionality of the scripter module > > I am not seeing much detailed documentation on how to do this. Here is the documentation how to use gb.test: http://gambaswiki.org/wiki/doc/unittesting Does it help? If you have any questions, please ask! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From brian at westwoodsvcs.com Wed Jun 17 22:19:51 2020 From: brian at westwoodsvcs.com (brian at westwoodsvcs.com) Date: Wed, 17 Jun 2020 23:19:51 +0300 Subject: [Gambas-user] =?utf-8?q?Using_test_interface_for_scripter_testin?= =?utf-8?q?g?= In-Reply-To: <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> Message-ID: <1592425191.350292726@f20.my.com> Thanks, I will try, it's going to take a few days I think to figure it out! -- Thanks Brian Wednesday, 17 June 2020, 00:09PM -07:00 from Christof Thalhofer chrisml at deganius.de : >Am 17.06.20 um 18:52 schrieb Brian G: > > I am finishing the updates to the scripter for gambas3 > > I wanted to know if it is possible to use the test module to verify > the functionality of the scripter module > > I am not seeing much detailed documentation on how to do this. > >Here is the documentation how to use gb.test: >http://gambaswiki.org/wiki/doc/unittesting > >Does it help? If you have any questions, please ask! > > >Alles Gute > >Christof Thalhofer > >-- >Dies ist keine Signatur > > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chabotdaniel at orange.fr Thu Jun 18 12:39:27 2020 From: chabotdaniel at orange.fr (chab) Date: Thu, 18 Jun 2020 12:39:27 +0200 Subject: [Gambas-user] makepkg est introuvable Message-ID: <1db70a1c-c7e8-2f60-0219-0ac061f8b71b@orange.fr> Linux Mint 19.3 Gambas 3.14.90+git6775.4ad678e Since the last daily update impossible to create installation packages: "makepkg was not found" Depuis la derni?re mise ? jour quotidienne impossible de cr?er des paquets d'intallation: "makepkg est introuvable" Cordialement, DC From chabotdaniel at orange.fr Sat Jun 20 14:09:07 2020 From: chabotdaniel at orange.fr (chab) Date: Sat, 20 Jun 2020 14:09:07 +0200 Subject: [Gambas-user] Fwd: makepkg est introuvable In-Reply-To: <1db70a1c-c7e8-2f60-0219-0ac061f8b71b@orange.fr> References: <1db70a1c-c7e8-2f60-0219-0ac061f8b71b@orange.fr> Message-ID: <0efc677b-06f7-0a0c-cd71-d88e42d2efec@orange.fr> Gambas still exist? Is there someone on the air ??? -------- Message transf?r? -------- Sujet?: [Gambas-user] makepkg est introuvable Date?: Thu, 18 Jun 2020 12:39:27 +0200 De?: chab R?pondre ??: Gambas Mailing List Pour?: user at lists.gambas-basic.org Linux Mint 19.3 Gambas 3.14.90+git6775.4ad678e Since the last daily update impossible to create installation packages: "makepkg was not found" Depuis la derni?re mise ? jour quotidienne impossible de cr?er des paquets d'intallation: "makepkg est introuvable" Cordialement, DC ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sat Jun 20 14:16:43 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 20 Jun 2020 14:16:43 +0200 Subject: [Gambas-user] Fwd: makepkg est introuvable In-Reply-To: <0efc677b-06f7-0a0c-cd71-d88e42d2efec@orange.fr> References: <1db70a1c-c7e8-2f60-0219-0ac061f8b71b@orange.fr> <0efc677b-06f7-0a0c-cd71-d88e42d2efec@orange.fr> Message-ID: <82e9c52d-e39c-189e-d9f0-26cf33f5ec9f@gmail.com> Le 20/06/2020 ? 14:09, chab a ?crit?: > Gambas still exist? Is there someone on the air ??? > > > > -------- Message transf?r? -------- > Sujet?: [Gambas-user] makepkg est introuvable > Date?: Thu, 18 Jun 2020 12:39:27 +0200 > De?: chab > R?pondre ??: Gambas Mailing List > Pour?: user at lists.gambas-basic.org > > > > Linux Mint 19.3 > > Gambas 3.14.90+git6775.4ad678e > > Since the last daily update impossible to create installation packages: > > "makepkg was not found" > > > Depuis la derni?re mise ? jour quotidienne impossible de cr?er des > paquets d'intallation: > > "makepkg est introuvable" > > > Cordialement, > > DC > Did you install "makepkg" on your system? By the way which system? If you don't give any contextual information, nobody can answer you. -- Beno?t Minisini From charlie at cogier.com Sun Jun 21 15:39:17 2020 From: charlie at cogier.com (Charlie Ogier) Date: Sun, 21 Jun 2020 14:39:17 +0100 Subject: [Gambas-user] Desktop.Open bug Message-ID: Hi, I am using Desktop.Open(User.Home,True) which, if I understand the command correctly, should open the File Manager and wait until the File Manager is closed before continuing. The open part works but the command never returns control to the program. It just hangs. An example program is attached which includes my system details. Regards, Charlie Ogier -------------- next part -------------- A non-text attachment was scrubbed... Name: Testing5-0.0.1.tar.gz Type: application/gzip Size: 13047 bytes Desc: not available URL: From t.lee.davidson at gmail.com Sun Jun 21 18:26:00 2020 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 21 Jun 2020 12:26:00 -0400 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: <088bb2e7-b4d6-7aa8-0580-2ff5d5e86194@gmail.com> On 6/21/20 9:39 AM, Charlie Ogier wrote: > Hi, > > I am using Desktop.Open(User.Home,True) which, if I understand the command correctly, should open the File Manager and wait > until the File Manager is closed before continuing. The open part works but the command never returns control to the program. It > just hangs. > > An example program is attached which includes my system details. > > Regards, > > Charlie Ogier > On my system, the program does not stop or hang. It does not even Wait for the File Manager to close. The Timer starts immediately. -- Lee [System] Gambas=3.14.3 OperatingSystem=Linux Kernel=4.12.14-lp151.28.52-default Architecture=x86_64 Distribution=openSUSE Leap 15.1 Desktop=KDE5 Theme=Breeze Language=en_US.UTF-8 Memory=16030M [Libraries] Cairo=/usr/lib64/libcairo.so.2.11510.0 Curl=/usr/lib64/libcurl.so.4.5.0 DBus=/usr/lib64/libdbus-1.so.3.19.4 GStreamer=/usr/lib64/libgstreamer-1.0.so.0.1205.0 GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.32 GTK+3=/usr/lib64/libgtk-3.so.0.2200.30 OpenGL=/usr/lib64/libGL.so.1.0.0 Poppler=/usr/lib64/libpoppler.so.73.0.0 QT4=/usr/lib64/libQtCore.so.4.8.7 QT5=/usr/lib64/libQt5Core.so.5.9.7 SDL=/usr/lib64/libSDL-1.2.so.0.11.4 SQLite=/usr/lib64/libsqlite3.so.0.8.6 [Environment] ALSA_CONFIG_PATH=/etc/alsa-pulse.conf AUDIODRIVER=pulseaudio COLORTERM=1 CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DBUS_SESSION_BUS_ADDRESS=unix:path=/run//1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma5 DISPLAY=:0 FROM_HEADER= GB_GUI=gb.qt5 GPG_TTY=not a tty GS_LIB=/.fonts GTK_IM_MODULE=cedilla GTK_MODULES=canberra-gtk-module G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME= HOST= HOSTNAME= HOSTTYPE=x86_64 JAVA_BINDIR=/usr/lib64/jvm/java/bin JAVA_HOME=/usr/lib64/jvm/java JAVA_ROOT=/usr/lib64/jvm/java JDK_HOME=/usr/lib64/jvm/java JRE_HOME=/usr/lib64/jvm/java KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=en_US.UTF-8 LESS=-M -I -R LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME= MACHTYPE=x86_64-suse-linux MAIL=/var/spool/mail/ MANPATH=/usr/local/man:/usr/share/man MINICOM=-c on MORE=-sl OSTYPE=linux PAGER=less PATH=/bin:/usr/local/bin:/usr/bin:/bin:/snap/bin:/opt/GNAT/2019/bin PROFILEREAD=true PWD= QEMU_AUDIO_DRV=pa QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_IM_MODULE=xim QT_IM_SWITCHER=imsw-multi QT_SYSTEM_DIR=/usr/share/desktop-data SDK_HOME=/usr/lib64/jvm/java SDL_AUDIODRIVER=pulse SESSION_MANAGER=local/:@/tmp/.ICE-unix/1863,unix/:/tmp/.ICE-unix/1863 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=1763 SSH_ASKPASS=/usr/lib/ssh/ssh-askpass SSH_AUTH_SOCK=/tmp/ssh-d0RcZCcq7wiV/agent.1711 TERM=xterm TZ=:/etc/localtime USER= WINDOWMANAGER=/usr/bin/startkde XAUTHLOCALHOSTNAME= XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_RUNTIME_DIR=/run//1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS= XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XMODIFIERS=@im=local XNLSPATH=/usr/share/X11/nls XSESSION_IS_UP=yes _=/usr/bin/kwrapper5 From mbelmonte at belmotek.net Sun Jun 21 19:31:25 2020 From: mbelmonte at belmotek.net (=?UTF-8?Q?Mart=c3=adn_Belmonte?=) Date: Sun, 21 Jun 2020 19:31:25 +0200 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: Hi Charlie. I test your program in my system (xfce desktop) the file manager (Thunar) open but start the counter without wait for closed thunar. Well, the behavior is the same and apparently it doesn't work as you say for directories but it does for files. try using: Desktop.Open(User.home &/ "somefile.txt", True) its works, waiting for closed text editor to continued. Maybe it's not a bug, maybe it's designed expressly this way. Regards. Mart?n Belmonte (tincho). El 21. 06. 20 a las 15:39, Charlie Ogier escribi?: > Hi, > > I am using Desktop.Open(User.Home,True) which, if I understand the > command correctly, should open the File Manager and wait until the > File Manager is closed before continuing. The open part works but the > command never returns control to the program. It just hangs. > > An example program is attached which includes my system details. > > Regards, > > Charlie Ogier > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Mon Jun 22 09:51:24 2020 From: mbelmonte at belmotek.net (=?UTF-8?Q?Mart=c3=adn_Belmonte?=) Date: Mon, 22 Jun 2020 09:51:24 +0200 Subject: [Gambas-user] Fwd: makepkg est introuvable In-Reply-To: <0efc677b-06f7-0a0c-cd71-d88e42d2efec@orange.fr> References: <1db70a1c-c7e8-2f60-0219-0ac061f8b71b@orange.fr> <0efc677b-06f7-0a0c-cd71-d88e42d2efec@orange.fr> Message-ID: Hi, Daniel, if you are using Linux mint wich, as you know, is based on ubuntu is normal that makepkg becaue this is a auxiliar package to pacman the packages manager for arch ditro. But please expand further the information you send us. Tell us what you are trying to do, under what circumstances this message appears etc. the better you ask the question the better answer you will get. Regards. Mart?n Belmonte El 20. 06. 20 a las 14:09, chab escribi?: > > Gambas still exist? Is there someone on the air ??? > > > > -------- Message transf?r? -------- > Sujet?: [Gambas-user] makepkg est introuvable > Date?: Thu, 18 Jun 2020 12:39:27 +0200 > De?: chab > R?pondre ??: Gambas Mailing List > Pour?: user at lists.gambas-basic.org > > > > Linux Mint 19.3 > > Gambas 3.14.90+git6775.4ad678e > > Since the last daily update impossible to create installation packages: > > "makepkg was not found" > > > Depuis la derni?re mise ? jour quotidienne impossible de cr?er des > paquets d'intallation: > > "makepkg est introuvable" > > > Cordialement, > > DC > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jun 22 13:38:17 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 13:38:17 +0200 Subject: [Gambas-user] Making Installation package, .hidden subdirectory In-Reply-To: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> References: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> Message-ID: Le 14/06/2020 ? 17:27, Brian G a ?crit?: > Is it possible to include an entire subdirectory from .hidden when > creating an installation package. Or is it required to have every file > that will be packaged in the .hidden directory? > > When there are a lot of files which are part of a project that may be > packaged, it would be nice to organize them into a sub directory or link > the production directory to the .hidden directory. Then just include the > directory as part of the package. > > I have tried but it does not seem to work. Maybe I don't understand! > > Thank You > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > According to the code, it is supposed to work. What happens exactly when you do that? -- Beno?t Minisini From tmorehen at ajm-software.com Mon Jun 22 15:21:13 2020 From: tmorehen at ajm-software.com (Tony Morehen) Date: Mon, 22 Jun 2020 09:21:13 -0400 Subject: [Gambas-user] gb.poppler Message-ID: I've been using the new gb.poppler component in place of gb.pdf. It meets everything I need for a simple pdf viewer application. Thanks Benoit! One minor suggestion:? use the screen resolution as the default resolution for the page render method.? The current default renders an=2 overly large image. -- Email domain proudly hosted at https://migadu.com From g4mba5 at gmail.com Mon Jun 22 15:55:20 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 15:55:20 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: References: Message-ID: <954d0a1d-fd30-ae85-a289-3be5190eb8b5@gmail.com> Le 22/06/2020 ? 15:21, Tony Morehen a ?crit?: > I've been using the new gb.poppler component in place of gb.pdf. It > meets everything I need for a simple pdf viewer application. Thanks Benoit! > > One minor suggestion:? use the screen resolution as the default > resolution for the page render method.? The current default renders an=2 > overly large image. > OK, I used 300 DPI as default, so that I can see the details to check if the PDF is rendered correctly. I will switch back to 72 DPI. Note that this is what I have to send to poppler. I don't know how if it converts these DPI in pixels in a reliable way. Regards, -- Beno?t Minisini From rwe-sse at osnanet.de Mon Jun 22 16:37:48 2020 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Mon, 22 Jun 2020 16:37:48 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: References: Message-ID: Am 22.06.20 um 15:21 schrieb Tony Morehen: > I've been using the new gb.poppler component in place of gb.pdf. Oops - but gb.pdf will prevail, will it?! I'd have too much work recoding everything because I use it so much in my projects. Regards Rolf From tmorehen at ajm-software.com Mon Jun 22 17:25:56 2020 From: tmorehen at ajm-software.com (Tony Morehen) Date: Mon, 22 Jun 2020 11:25:56 -0400 Subject: [Gambas-user] gb.poppler In-Reply-To: <954d0a1d-fd30-ae85-a289-3be5190eb8b5@gmail.com> References: <954d0a1d-fd30-ae85-a289-3be5190eb8b5@gmail.com> Message-ID: <1203927f-b001-6b35-ac7b-9b858ec42965@ajm-software.com> Right now I'm using: Dim img As Image = $PDFDocument[$spinPage.Value - 1].Render(,,,,, Desktop.Resolution) This gives me a resolution of 96 dpi and exactly the same image and size as qpdfview at 100%.? This is my preference. On 2020-06-22 8:55 a.m., Beno?t Minisini wrote: > Le 22/06/2020 ? 15:21, Tony Morehen a ?crit?: >> I've been using the new gb.poppler component in place of gb.pdf. It >> meets everything I need for a simple pdf viewer application. Thanks >> Benoit! >> >> One minor suggestion:? use the screen resolution as the default >> resolution for the page render method.? The current default renders an=2 >> overly large image. >> > > OK, I used 300 DPI as default, so that I can see the details to check > if the PDF is rendered correctly. > > I will switch back to 72 DPI. > > Note that this is what I have to send to poppler. I don't know how if > it converts these DPI in pixels in a reliable way. > > Regards, > -- Email domain proudly hosted at https://migadu.com From g4mba5 at gmail.com Mon Jun 22 16:59:39 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 16:59:39 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: References: Message-ID: <7d13ef6f-651d-54e0-07c0-f25dc68bf703@gmail.com> Le 22/06/2020 ? 16:37, Rolf-Werner Eilert a ?crit?: > Am 22.06.20 um 15:21 schrieb Tony Morehen: >> I've been using the new gb.poppler component in place of gb.pdf. > > Oops - but gb.pdf will prevail, will it?! I'd have too much work > recoding everything because I use it so much in my projects. > > Regards > Rolf > 'gb.pdf' has been deprecated. It means that it is still present, but it will not be developed anymore. 'gb.poppler' aims at replacing it. As 'gb.poppler' uses the high-level Poppler API, it should not break as often as 'gb.pdf' that was based on the low-level Poppler API. I strongly suggest that you think about using gb.poppler instead, as gb.pdf may not compile anymore in future releases of your preferred distribution because of these breakages. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 22 19:39:23 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 19:39:23 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: <1203927f-b001-6b35-ac7b-9b858ec42965@ajm-software.com> References: <954d0a1d-fd30-ae85-a289-3be5190eb8b5@gmail.com> <1203927f-b001-6b35-ac7b-9b858ec42965@ajm-software.com> Message-ID: <0f9deb1c-c618-8d74-96af-3dbfc5a12417@gmail.com> Le 22/06/2020 ? 17:25, Tony Morehen a ?crit?: > Right now I'm using: > > Dim img As Image = $PDFDocument[$spinPage.Value - 1].Render(,,,,, > Desktop.Resolution) > > This gives me a resolution of 96 dpi and exactly the same image and size > as qpdfview at 100%.? This is my preference. > The default resolution in poppler is 72 DPI. Maybe we should keep the default of the library, and let the user specify what he wants exactly. Anyway you have to specify the DPI of *your* screen. It is not necessarily 96 DPI! -- Beno?t Minisini From rwe-sse at osnanet.de Mon Jun 22 19:41:46 2020 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Mon, 22 Jun 2020 19:41:46 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: <7d13ef6f-651d-54e0-07c0-f25dc68bf703@gmail.com> References: <7d13ef6f-651d-54e0-07c0-f25dc68bf703@gmail.com> Message-ID: Am 22.06.20 um 16:59 schrieb Beno?t Minisini: > Le 22/06/2020 ? 16:37, Rolf-Werner Eilert a ?crit?: >> Am 22.06.20 um 15:21 schrieb Tony Morehen: >>> I've been using the new gb.poppler component in place of gb.pdf. >> >> Oops - but gb.pdf will prevail, will it?! I'd have too much work >> recoding everything because I use it so much in my projects. >> >> Regards >> Rolf >> > > 'gb.pdf' has been deprecated. It means that it is still present, but it > will not be developed anymore. 'gb.poppler' aims at replacing it. > > As 'gb.poppler' uses the high-level Poppler API, it should not break as > often as 'gb.pdf' that was based on the low-level Poppler API. > > I strongly suggest that you think about using gb.poppler instead, as > gb.pdf may not compile anymore in future releases of your preferred > distribution because of these breakages. > > Regards, > Thank you very much for that advice, Benoit. I will try as soon as possible. Just too few time right now. And "deprecated" means it's still there, I will see what happens later. Regards Rolf From g4mba5 at gmail.com Mon Jun 22 19:56:26 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 19:56:26 +0200 Subject: [Gambas-user] gb.poppler In-Reply-To: References: <7d13ef6f-651d-54e0-07c0-f25dc68bf703@gmail.com> Message-ID: Le 22/06/2020 ? 19:41, Rolf-Werner Eilert a ?crit?: > > Thank you very much for that advice, Benoit. I will try as soon as > possible. Just too few time right now. And "deprecated" means it's still > there, I will see what happens later. > > Regards > Rolf > I won't remove any components from the Gambas source tree. It's the distributions that remove the libraries that allow them to compile. Regards, -- Beno?t Minisini From brian at westwoodsvcs.com Mon Jun 22 21:05:09 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 12:05:09 -0700 (PDT) Subject: [Gambas-user] Making Installation package, .hidden subdirectory In-Reply-To: References: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <1295918339.15.1592852709209.JavaMail.zimbra@westwoodsvcs.com> Ok, I have narrowed it down to file with an extension of gambas so far, which was what was in my directory So plugins, for my app i could not get them to be in installation package from the directory. I include a sample project. Thank You Brian G ----- Original Message ----- From: "Beno?t Minisini" To: "Gambas mailing list" Sent: Monday, June 22, 2020 4:38:17 AM Subject: Re: [Gambas-user] Making Installation package, .hidden subdirectory Le 14/06/2020 ? 17:27, Brian G a ?crit?: > Is it possible to include an entire subdirectory from .hidden when > creating an installation package. Or is it required to have every file > that will be packaged in the .hidden directory? > > When there are a lot of files which are part of a project that may be > packaged, it would be nice to organize them into a sub directory or link > the production directory to the .hidden directory. Then just include the > directory as part of the package. > > I have tried but it does not seem to work. Maybe I don't understand! > > Thank You > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > According to the code, it is supposed to work. What happens exactly when you do that? -- Beno?t Minisini ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- A non-text attachment was scrubbed... Name: testpackagebuild-0.0.1.tar.gz Type: application/x-compressed-tar Size: 11842 bytes Desc: not available URL: From brian at westwoodsvcs.com Mon Jun 22 21:29:42 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 12:29:42 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> Message-ID: <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> Hi I am working on this testing today and I am unable to start, I am using the gambas daily build and trying shift F4 to create test suite for my project with nothing happening when I press shift-F4 I am not really sure how to get started here? Thank You Brian G ----- Original Message ----- From: "Christof Thalhofer" To: "Gambas mailing list" Sent: Wednesday, June 17, 2020 12:08:01 PM Subject: Re: [Gambas-user] Using test interface for scripter testing Am 17.06.20 um 18:52 schrieb Brian G: > I am finishing the updates to the scripter for gambas3 > > I wanted to know if it is possible to use the test module to verify > the functionality of the scripter module > > I am not seeing much detailed documentation on how to do this. Here is the documentation how to use gb.test: http://gambaswiki.org/wiki/doc/unittesting Does it help? If you have any questions, please ask! Alles Gute Christof Thalhofer -- Dies ist keine Signatur ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From brian at westwoodsvcs.com Mon Jun 22 21:47:52 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 12:47:52 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> I have a few question regarding, how to test for output from an application, IE the printed output for example if my command line is gbs3 -v and it print 3.14.5 how do I capture the output and compare in the test class I see how to test functions and class function within an application. can i do an exec and capture output in the test module then compare? can i compare the content of an output file with an expected output using fileload... within the test module What is allowed? Thank You Brian G ----- Original Message ----- From: "Brian" To: "Gambas mailing list" Subject: Re: [Gambas-user] Using test interface for scripter testing From taboege at gmail.com Mon Jun 22 22:44:39 2020 From: taboege at gmail.com (Tobias Boege) Date: Mon, 22 Jun 2020 22:44:39 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20200622204439.GE142326@highrise.localdomain> On Mon, 22 Jun 2020, Brian G wrote: > I have a few question regarding, how to test for output from an application, IE the printed output > > for example if my command line is gbs3 -v and it print 3.14.5 > > how do I capture the output and compare in the test class > > I see how to test functions and class function within an application. > > can i do an exec and capture output in the test module then compare? > There is no dedicated assertion for running an external program and comparing its output. You would have to do it in steps: Dim sOut As String Exec ["gbs3", "-v"] To sOut Test.Equals(sOut, "3.14.5", "scripter version is 3.14.5") > can i compare the content of an output file with an expected output using fileload... within the test module > > What is allowed? > A test module is mostly a normal Gambas module. The only difference is that the execution of its methods is orchestrated and wrapped by gb.test. You can do everything you would normally do in Gambas -- although for somewhat technical reasons you should avoid anything that prints to stdout. (If you must, use Test.Note). The test methods (subroutines in your test module) run any kind of Gambas code and occasionally call methods of the Test class to make assertions about the current state of the process. The test results you communicate via assertions are redirected to a side channel (actually, the main channel, stdout, which is why you should not print to it by yourself). Of course you can File.Load and Exec. You can even set up databases, download files from the web or show a GUI form in your test methods. It's normal startup class-style code that makes use of the Test class to report test results. The parts of Gambas you can use is not restricted by gb.test. Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Mon Jun 22 23:03:30 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 23:03:30 +0200 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: Le 21/06/2020 ? 15:39, Charlie Ogier a ?crit?: > Hi, > > I am using Desktop.Open(User.Home,True) which, if I understand the > command correctly, should open the File Manager and wait until the File > Manager is closed before continuing. The open part works but the command > never returns control to the program. It just hangs. > > An example program is attached which includes my system details. > > Regards, > > Charlie Ogier > > Note that Desktop.Open() is just a call to the 'xdg-open' script from the xdg-util project. It's the script that manages the "Wait" argument. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 22 23:04:59 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 23:04:59 +0200 Subject: [Gambas-user] rem out a line with a breakpoint In-Reply-To: <5fff327a7a1616054d5bbd7108a0c8d9918c510c.camel@Fen-Net.de> References: <5fff327a7a1616054d5bbd7108a0c8d9918c510c.camel@Fen-Net.de> Message-ID: Le 13/06/2020 ? 16:52, Charlie Reinl a ?crit?: > Salut, > > if you rem out a line with a breakpoint. The breakpoint point > disappears, but the program remains on the next line. > It can then only be deleted using the breakpoint list. > > I couldn't reproduce that. Can you elaborate on exactly what you did? -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 22 23:07:06 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 22 Jun 2020 23:07:06 +0200 Subject: [Gambas-user] Problem with Lock method for DrawingArea class In-Reply-To: References: Message-ID: <0955633f-8dec-06d7-755e-f8102fcdad5b@gmail.com> Le 05/06/2020 ? 18:22, John Rose a ?crit?: > This problem is difficult to explain, so please bear with me. The idea > behind my app is to allow the user to select a Desktop Window. This is > done by having the FSelectWindow form overlay (with Opacity=35, > Arrangement=Vertical) the available desktop. The Select_Window form > contains only one control (DrawingAreaDesktop with Expand=True). This > results in the Drawing AreaDesktop forming a semi-opaque layer over the > available desktop. > > If before you run my app, you close all windows except Gambas (but not > full screen) and Compile All, there are no compilation errors or > warnings. Then run my app and click on the Select button (in the FMain > form), you will see that all the desktop windows (i.e. only the Gambas > one) are shown in a semi-opaque 'mode'. If you now click on a point in > an empty area, a Message Box will be displayed saying "Try again:" & > "Did not click on window.": caused by lines 106-107 of Sub > DrawingAreaDesktop_MouseUp() event. If you click on the Ok button, then > (with the Lock command in line 104 commented out) the Mouse_Up event is > entered again: this is shown by examining the Console output. To prevent > (re-)entry to the Mouse_Up event coding when the user clicks the Message > Box Ok button, I tried to use the Lock method in line 104 to prevent > this (re-)entry. However, I then get an error window saying "Unknown > symbol in 'Lock' in class 'Drawing Area' at > FSelectWindow.DrawingAreaDesktop - MouseUp.104 (generated by line 135) . > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > You can lock an object by using the static method "Object.Lock". There is no "Lock" method in the DrawingArea class. http://gambaswiki.org/wiki/comp/gb/object/lock Regards, -- Beno?t Minisini From jussi.lahtinen at gmail.com Tue Jun 23 00:09:49 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 23 Jun 2020 01:09:49 +0300 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: Yes, it seem xdg-open script is buggy. $ xdg-open ~ Nemo-Share-Message: 01:06:47.289: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing. And the script stays there to wait a key. Jussi On Tue, Jun 23, 2020 at 12:04 AM Beno?t Minisini wrote: > Le 21/06/2020 ? 15:39, Charlie Ogier a ?crit : > > Hi, > > > > I am using Desktop.Open(User.Home,True) which, if I understand the > > command correctly, should open the File Manager and wait until the File > > Manager is closed before continuing. The open part works but the command > > never returns control to the program. It just hangs. > > > > An example program is attached which includes my system details. > > > > Regards, > > > > Charlie Ogier > > > > > > Note that Desktop.Open() is just a call to the 'xdg-open' script from > the xdg-util project. It's the script that manages the "Wait" argument. > > Regards, > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Tue Jun 23 00:00:19 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 15:00:19 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200622204439.GE142326@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> <20200622204439.GE142326@highrise.localdomain> Message-ID: <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> Will all of the test modules be included in the production application distribution when I do a make executable or make installation package? I am including a sample app with test module for things I will need to do my testing. As you suggested I am capturing printed output, which works, but also seems to print into the test result file. Is there some better way to use test to test functions which produce printed messages. Thank You Brian G ----- Original Message ----- From: "Brian" To: "Gambas mailing list" Sent: Monday, June 22, 2020 1:58:24 PM Subject: Re: [Gambas-user] Using test interface for scripter testing When I press F4 I am getting the error assert.ok is incorrectly overridden in class 'Assert' Thank You Brian G ----- Original Message ----- From: "Tobias Boege" To: "Gambas mailing list" Sent: Monday, June 22, 2020 1:44:39 PM Subject: Re: [Gambas-user] Using test interface for scripter testing On Mon, 22 Jun 2020, Brian G wrote: > I have a few question regarding, how to test for output from an application, IE the printed output > > for example if my command line is gbs3 -v and it print 3.14.5 > > how do I capture the output and compare in the test class > > I see how to test functions and class function within an application. > > can i do an exec and capture output in the test module then compare? > There is no dedicated assertion for running an external program and comparing its output. You would have to do it in steps: Dim sOut As String Exec ["gbs3", "-v"] To sOut Test.Equals(sOut, "3.14.5", "scripter version is 3.14.5") > can i compare the content of an output file with an expected output using fileload... within the test module > > What is allowed? > A test module is mostly a normal Gambas module. The only difference is that the execution of its methods is orchestrated and wrapped by gb.test. You can do everything you would normally do in Gambas -- although for somewhat technical reasons you should avoid anything that prints to stdout. (If you must, use Test.Note). The test methods (subroutines in your test module) run any kind of Gambas code and occasionally call methods of the Test class to make assertions about the current state of the process. The test results you communicate via assertions are redirected to a side channel (actually, the main channel, stdout, which is why you should not print to it by yourself). Of course you can File.Load and Exec. You can even set up databases, download files from the web or show a GUI form in your test methods. It's normal startup class-style code that makes use of the Test class to report test results. The parts of Gambas you can use is not restricted by gb.test. Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- A non-text attachment was scrubbed... Name: testpackagebuild-0.0.1.tar.gz Type: application/x-compressed-tar Size: 12627 bytes Desc: not available URL: From taboege at gmail.com Tue Jun 23 00:25:07 2020 From: taboege at gmail.com (Tobias Boege) Date: Tue, 23 Jun 2020 00:25:07 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> <20200622204439.GE142326@highrise.localdomain> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20200622222507.GH142326@highrise.localdomain> On Mon, 22 Jun 2020, Brian G wrote: > Will all of the test modules be included in the production application distribution when I do a make executable or make installation package? > I have not worked on this, so I have no idea. My advice would be to try it out: make an executable and use `gbr3 -s` to override the startup class to probe if the interpreter could potentially find a test module when it is instructed to use one as the startup class. If yes, consider opening a feature request. I vaguely remember everyone agreeing that tests should *not* be included in "production" things. > I am including a sample app with test module for things I will need to do my testing. As you suggested I am capturing printed output, which works, but also seems to print into the test result file. > > Is there some better way to use test to test functions which produce printed messages. > Hmm, I am not at a computer right now which has an up-to-date Gambas version, so I cannot run the project (plus it's bed time). But I can see that wanting to test functions which inevitably print to stdout as a side effect can be troublesome. I think it would be reasonable for gb.test to get a reference to the process's original stdout and then redirecting it to /dev/null via Output To. This way, all unintentional Print statements or external processes inheriting stdout and printing messages would be silenced. At the same time you have the option to use Output To or Exec To yourself to collect output from selected functions or subprocesses if your tests require that. Hopefully someone else from the gb.test task force is reading this to give an opinion. Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at gmail.com Tue Jun 23 03:27:15 2020 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 22 Jun 2020 21:27:15 -0400 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: On 6/22/20 6:09 PM, Jussi Lahtinen wrote: > Yes, it seem xdg-open script is buggy. > $ xdg-open ~ > Nemo-Share-Message: 01:06:47.289: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on > directory /var/run/samba/msg.lock: Permission denied > net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory > Please ask your system administrator to enable user sharing. > > And the script stays there to wait a key. > > > Jussi Hmmm. Works fine on my system (openSUSE Leap 15.1); no errors whatsoever and an immediate return to the command prompt after launching Dolphin. -- Lee From jussi.lahtinen at gmail.com Tue Jun 23 03:44:31 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 23 Jun 2020 04:44:31 +0300 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: The script does different things on different systems. I ran it on linux Mint 19.3. It seems on this system xdg-open does not have "wait" argument and if this ( https://stackoverflow.com/questions/46736478/perl-wait-for-xdg-open-to-quit-before-continuing ) can be trusted, it is not easy to do. Jussi On Tue, Jun 23, 2020 at 4:28 AM T Lee Davidson wrote: > On 6/22/20 6:09 PM, Jussi Lahtinen wrote: > > Yes, it seem xdg-open script is buggy. > > $ xdg-open ~ > > Nemo-Share-Message: 01:06:47.289: Called "net usershare info" but it > failed: 'net usershare' returned error 255: mkdir failed on > > directory /var/run/samba/msg.lock: Permission denied > > net usershare: cannot open usershare directory > /var/lib/samba/usershares. Error No such file or directory > > Please ask your system administrator to enable user sharing. > > > > And the script stays there to wait a key. > > > > > > Jussi > > Hmmm. Works fine on my system (openSUSE Leap 15.1); no errors whatsoever > and an immediate return to the command prompt after > launching Dolphin. > > > -- > Lee > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Tue Jun 23 04:05:32 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 23 Jun 2020 11:35:32 +0930 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: <10879e31-2f42-6d07-e6ed-5236286f2915@gmail.com> On 23/6/20 11:14 am, Jussi Lahtinen wrote: > The script does different things on different systems. I ran it on linux > Mint 19.3. > It seems on this system xdg-open does not have "wait" argument and if this > ( > https://stackoverflow.com/questions/46736478/perl-wait-for-xdg-open-to-quit-before-continuing > ) can be trusted, it is not easy to do. > > > Jussi Also note that xdg-open bases it's selection on what to use to open a file or url by which desktop is in operation. I have xdg-open version 1.1.3 which appears to operate correctly for all the tests I can think of on a MATE desktop. b From adamnt42 at gmail.com Tue Jun 23 04:14:21 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 23 Jun 2020 11:44:21 +0930 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: Also, note the following may shed some light on why certain xdg scripts dont work on some distros. which xdg-open xdg-open --version enc|grep XDG b From adamnt42 at gmail.com Tue Jun 23 04:15:12 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 23 Jun 2020 11:45:12 +0930 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: References: Message-ID: <2290f87e-8170-86f2-4984-638cebce12ab@gmail.com> oops, meant env|grep XDG From jussi.lahtinen at gmail.com Tue Jun 23 04:16:58 2020 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 23 Jun 2020 05:16:58 +0300 Subject: [Gambas-user] Desktop.Open bug In-Reply-To: <10879e31-2f42-6d07-e6ed-5236286f2915@gmail.com> References: <10879e31-2f42-6d07-e6ed-5236286f2915@gmail.com> Message-ID: Of course, that is its purpose. I forgot to add that I have cinnamon desktop. Jussi On Tue, Jun 23, 2020 at 5:05 AM Bruce wrote: > > > On 23/6/20 11:14 am, Jussi Lahtinen wrote: > > The script does different things on different systems. I ran it on linux > > Mint 19.3. > > It seems on this system xdg-open does not have "wait" argument and if > this > > ( > > > https://stackoverflow.com/questions/46736478/perl-wait-for-xdg-open-to-quit-before-continuing > > ) can be trusted, it is not easy to do. > > > > > > Jussi > > Also note that xdg-open bases it's selection on what to use to open a > file or url by which desktop is in operation. > > I have xdg-open version 1.1.3 which appears to operate correctly for all > the tests I can think of on a MATE desktop. > > b > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.aaron.rose at gmail.com Tue Jun 23 07:54:18 2020 From: john.aaron.rose at gmail.com (John Rose) Date: Tue, 23 Jun 2020 06:54:18 +0100 Subject: [Gambas-user] Problem with Lock method for DrawingArea class Message-ID: > You can lock an object by using the static method "Object.Lock". > There is no "Lock" method in the DrawingArea class." I don't understand the above. Quoting from https://gambaswiki.org/wiki/doc/object-model#t10: >2.3. Locking Objects > An object can be locked so that it stops raising events, and can be > unlocked so that it raises > them again. See > the Object.Lock ?and Object.Unlock ?methods. > 2.4. Observers > Observers ?are objects that allow you to intercept events raised by > other objects. They > "observe" them. Since the above (later on in that web page) refers to a Button as an Object , I think that a Drawing Area is an object and therefore Lock & Unlock should be methods available to it. Also, the compiler does not object to e.g. DesktopDrawingArea (a Drawing? Area) being used with Lock as in DesktopDrawingArea.Lock. I do try to follow Netiquette (in http://gambaswiki.org/wiki/doc/netiquette), so please tell me _specifically _where I go wrong. Regards, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Tue Jun 23 08:17:06 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 23 Jun 2020 08:17:06 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <6d148610-45c9-1f0b-9e2e-e261e609f561@deganius.de> Am 22.06.20 um 21:29 schrieb Brian G: > Hi I am working on this testing today and I am unable to start, I am > using the gambas daily build and trying shift F4 to create test suite > for my project with nothing happening when I press shift-F4 The IDE only shows the form if the project contains a testmodule. A testsuite can only be defined with existing testmodules. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Tue Jun 23 08:28:14 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 23 Jun 2020 08:28:14 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> <20200622204439.GE142326@highrise.localdomain> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> Am 23.06.20 um 00:00 schrieb Brian G: > I am including a sample app with test module for things I will need > to do my testing. As you suggested I am capturing printed output, > which works, but also seems to print into the test result file. > > Is there some better way to use test to test functions which produce > printed messages. Use a function that creates the message as string and test the output of that function. And then use that function in a method that prints. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From brian at westwoodsvcs.com Tue Jun 23 08:20:57 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 23:20:57 -0700 (PDT) Subject: [Gambas-user] Adding notes to source code? Message-ID: <481326.474.1592893257716.JavaMail.zimbra@westwoodsvcs.com> How do I add notes to the source code? I see a tab for them? Have I been missing something? Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Tue Jun 23 08:22:30 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 22 Jun 2020 23:22:30 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <6d148610-45c9-1f0b-9e2e-e261e609f561@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <6d148610-45c9-1f0b-9e2e-e261e609f561@deganius.de> Message-ID: <703092670.485.1592893350066.JavaMail.zimbra@westwoodsvcs.com> I seem to be writing more code to test the darn thing , than code in the darn thing... Thank You Brian G ----- Original Message ----- From: "Christof Thalhofer" To: "Gambas mailing list" Sent: Monday, June 22, 2020 11:17:06 PM Subject: Re: [Gambas-user] Using test interface for scripter testing Am 22.06.20 um 21:29 schrieb Brian G: > Hi I am working on this testing today and I am unable to start, I am > using the gambas daily build and trying shift F4 to create test suite > for my project with nothing happening when I press shift-F4 The IDE only shows the form if the project contains a testmodule. A testsuite can only be defined with existing testmodules. Alles Gute Christof Thalhofer -- Dies ist keine Signatur ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From chrisml at deganius.de Tue Jun 23 08:49:25 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 23 Jun 2020 08:49:25 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <703092670.485.1592893350066.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <6d148610-45c9-1f0b-9e2e-e261e609f561@deganius.de> <703092670.485.1592893350066.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <9ce995eb-4379-5959-6411-27497f5606a2@deganius.de> Am 23.06.20 um 08:22 schrieb Brian G: > I seem to be writing more code to test the darn thing , than code in the darn thing... :-) Yes, sometimes testing is quite expensive ... but as a benefit you will be sure that your code does what you have defined it has to do. It makes your code more reliable ... for a long time. It prevents you from destroying functionality in your (tested) code by accident later. In your example you mix code to be tested and testcode in a testmodule. That's not the way it is thought. If you do TDD you first write a testmodule with testmethod(s) and after that the production code in *separated classes*. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From adamnt42 at gmail.com Tue Jun 23 09:48:28 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 23 Jun 2020 17:18:28 +0930 Subject: [Gambas-user] Adding notes to source code? In-Reply-To: <481326.474.1592893257716.JavaMail.zimbra@westwoodsvcs.com> References: <481326.474.1592893257716.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <2708fee9-d876-94a4-21f4-126612910ecf@gmail.com> On 23/6/20 3:50 pm, Brian G wrote: > How do I add notes to the source code? I see a tab for them? Have I been missing something? > > Thank You > Brian G > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > ' NOTE: Here is a note ' TODO: Here is a thing to do ' FIXME: This code is wrong N.B. ' or '' + space + notertype + space + coment hth b From g4mba5 at gmail.com Tue Jun 23 09:53:04 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 23 Jun 2020 09:53:04 +0200 Subject: [Gambas-user] Problem with Lock method for DrawingArea class In-Reply-To: References: Message-ID: <66c505c1-7148-6c5e-378a-c5668ec2da75@gmail.com> Le 23/06/2020 ? 07:54, John Rose a ?crit?: > > You can lock an object by using the static method "Object.Lock". > > There is no "Lock" method in the DrawingArea class." > > I don't understand the above. Quoting from > https://gambaswiki.org/wiki/doc/object-model#t10: > > > >2.3. Locking Objects > > An object can be locked so that it stops raising events, and can be > > unlocked so that it raises > them again. See > > the Object.Lock > ?and > Object.Unlock > ?methods. > > 2.4. Observers > > Observers ?are > objects that allow you to intercept events raised by > > other objects. They > "observe" them. > > Since the above (later on in that web page) refers to a Button as an > Object , I think that a Drawing Area is an object and therefore Lock & > Unlock should be methods available to it. > Also, the compiler does not object to e.g. DesktopDrawingArea (a > Drawing? Area) being used with Lock as in DesktopDrawingArea.Lock. > > I do try to follow Netiquette (in > http://gambaswiki.org/wiki/doc/netiquette), so please tell me > _specifically _where I go wrong. > > Regards, > John > It means that you have to do: Object.Lock(MyDrawingArea) instead of: MyDrawingArea.Lock() Regards, -- Beno?t Minisini From g4mba5 at gmail.com Tue Jun 23 09:56:41 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 23 Jun 2020 09:56:41 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200622222507.GH142326@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> <20200622204439.GE142326@highrise.localdomain> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <20200622222507.GH142326@highrise.localdomain> Message-ID: Le 23/06/2020 ? 00:25, Tobias Boege a ?crit?: > On Mon, 22 Jun 2020, Brian G wrote: >> Will all of the test modules be included in the production application distribution when I do a make executable or make installation package? >> > > I have not worked on this, so I have no idea. My advice would be to try > it out: make an executable and use `gbr3 -s` to override the startup > class to probe if the interpreter could potentially find a test module > when it is instructed to use one as the startup class. > > If yes, consider opening a feature request. I vaguely remember everyone > agreeing that tests should *not* be included in "production" things. > Mmm... yes I didn't really think about that. At the moment, test modules are included in the executable as any other classes. It allows to test the executable using the '-T' interpreter option. But on the other hand you are providing your tests to the final user in an executable bigger thant it should be. Maybe not a wanted thing... I guess I should add one more option! Regards, -- Beno?t Minisini From mbelmonte at belmotek.net Tue Jun 23 14:21:14 2020 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Tue, 23 Jun 2020 14:21:14 +0200 Subject: [Gambas-user] Rectangular picture in menu Message-ID: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> Hi, I want to use an image of rectangular shape in the menu but the menu takes it as its outside was square and expands the size. In combobox it is not possible to put images in each item so use the menubutton control with a menu but it doesn't seem to work properly. Tanks. Mart?n Belmonte. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura de pantalla_2020-06-23_14-13-57.png Type: image/png Size: 17340 bytes Desc: not available URL: From g4mba5 at gmail.com Tue Jun 23 16:16:40 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 23 Jun 2020 16:16:40 +0200 Subject: [Gambas-user] Rectangular picture in menu In-Reply-To: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> References: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> Message-ID: Le 23/06/2020 ? 14:21, Martin Belmonte a ?crit?: > Hi, > > I want to use an image of rectangular shape in the menu but the menu > takes it as its outside was square and expands the size. > In combobox it is not possible to put images in each item so use the > menubutton control with a menu but it doesn't seem to work properly. > > Tanks. > > Mart?n Belmonte. > > You can't. If this is what you really want, you have to write it from scratch. Regards, -- Beno?t Minisini From tercoide at hotmail.com Tue Jun 23 20:20:40 2020 From: tercoide at hotmail.com (martin p cristia) Date: Tue, 23 Jun 2020 15:20:40 -0300 Subject: [Gambas-user] Rectangular picture in menu In-Reply-To: References: Message-ID: Nice challenge, Tincho ;) El 6/23/20 a las 11:17 AM, user-request at lists.gambas-basic.org escribi?: > You can't. If this is what you really want, you have to write it from > scratch. -- Saludos Ing. Martin P Cristia From g4mba5 at gmail.com Wed Jun 24 00:09:49 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 24 Jun 2020 00:09:49 +0200 Subject: [Gambas-user] Making Installation package, .hidden subdirectory In-Reply-To: <1295918339.15.1592852709209.JavaMail.zimbra@westwoodsvcs.com> References: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> <1295918339.15.1592852709209.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <547b6bbf-41fe-1b77-04af-fb81449a177d@gmail.com> Le 22/06/2020 ? 21:05, Brian G a ?crit?: > Ok, I have narrowed it down to file with an extension of gambas so far, which was what was in my directory > > So plugins, for my app i could not get them to be in installation package from the directory. > > I include a sample project. > > Thank You > Brian G > It's a problem with debian packages only. Is it fixed for you with the last commit? -- Beno?t Minisini From rwe-sse at osnanet.de Wed Jun 24 08:15:26 2020 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 24 Jun 2020 08:15:26 +0200 Subject: [Gambas-user] Rectangular picture in menu In-Reply-To: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> References: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> Message-ID: <491be560-c227-06ee-aba7-c8963b1bed9e@osnanet.de> Am 23.06.20 um 14:21 schrieb Martin Belmonte: > Hi, > > I want to use an image of rectangular shape in the menu but the menu > takes it as its outside was square and expands the size. > In combobox it is not possible to put images in each item so use the > menubutton control with a menu but it doesn't seem to work properly. > > Tanks. > > Mart?n Belmonte. > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Preparing the image to have a square frame-something with the rectangular picture within, would that be a workaround to force the menu to show the desired form? I cannot clearly make out from your screenshot what your intention was. Maybe I got you wrong here. Regards Rolf From adamnt42 at gmail.com Wed Jun 24 08:21:48 2020 From: adamnt42 at gmail.com (Bruce) Date: Wed, 24 Jun 2020 15:51:48 +0930 Subject: [Gambas-user] Rectangular picture in menu In-Reply-To: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> References: <203ae620-c531-d69d-7457-85d64e46e64a@belmotek.net> Message-ID: <1e01f98a-2ce3-a16d-b9a5-88798f87f7ce@gmail.com> On 23/6/20 9:51 pm, Martin Belmonte wrote: > Hi, > > I want to use an image of rectangular shape in the menu but the menu > takes it as its outside was square and expands the size. > In combobox it is not possible to put images in each item so use the > menubutton control with a menu but it doesn't seem to work properly. > > Tanks. > > Mart??n Belmonte. > Why not just make the image square by padding it? I mean how many pixels are we really trying to save here? b From chrisml at deganius.de Wed Jun 24 11:15:52 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 24 Jun 2020 11:15:52 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <9a1eafba-3ad5-c7ee-0397-a0a2f11696ea@deganius.de> <1810992436.33.1592854182136.JavaMail.zimbra@westwoodsvcs.com> <1759468893.62.1592855272738.JavaMail.zimbra@westwoodsvcs.com> <20200622204439.GE142326@highrise.localdomain> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <20200622222507.GH142326@highrise.localdomain> Message-ID: <4b8c8a00-7752-0a09-59a8-81dd6433ff3e@deganius.de> Am 23.06.20 um 09:56 schrieb Beno?t Minisini: >> If yes, consider opening a feature request. I vaguely remember everyone >> agreeing that tests should *not* be included in "production" things. > > Mmm... yes I didn't really think about that. > > At the moment, test modules are included in the executable as any other > classes. > > It allows to test the executable using the '-T' interpreter option. > > But on the other hand you are providing your tests to the final user in > an executable bigger thant it should be. Maybe not a wanted thing... I think the testclasses do no harm. In an average project they are small. And it they exist they provide the benefit to test the executable on a machine in production later. For me I see no reason to remove them by default. > I guess I should add one more option! Yes, sure, why not. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From mtitouinfo at yahoo.fr Thu Jun 25 14:21:03 2020 From: mtitouinfo at yahoo.fr (mtitouinfo at yahoo.fr) Date: Thu, 25 Jun 2020 12:21:03 +0000 (UTC) Subject: [Gambas-user] HMAC-MD5 & CRAM-MD5 References: <144185978.6367480.1593087663853.ref@mail.yahoo.com> Message-ID: <144185978.6367480.1593087663853@mail.yahoo.com> hellohow to translate this function, in native gambas, with component gb.openssl, without "Shell" ?? thanks. gambas version:?3.14.3 Private Function CramMD5(email As String, password As String, challenge As String) As String ?'ok it works? ?Dim token As String??System.shell = "/bin/bash"?Shell "awk '{print $NF}' < <(openssl dgst -hex -md5 -hmac " & password & " < <(openssl base64 -d <<<" & challenge & "))" To token?token = Base64(Trim(email & " " & token)) ?Return token?End -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Thu Jun 25 14:47:04 2020 From: taboege at gmail.com (Tobias Boege) Date: Thu, 25 Jun 2020 14:47:04 +0200 Subject: [Gambas-user] HMAC-MD5 & CRAM-MD5 In-Reply-To: <144185978.6367480.1593087663853@mail.yahoo.com> References: <144185978.6367480.1593087663853.ref@mail.yahoo.com> <144185978.6367480.1593087663853@mail.yahoo.com> Message-ID: <20200625124704.GB878465@highrise.localdomain> On Thu, 25 Jun 2020, mtitouinfo--- via User wrote: > hellohow to translate this function, in native gambas, with component gb.openssl, without "Shell" ?? thanks. > gambas version:?3.14.3 > Private Function CramMD5(email As String, password As String, challenge As String) As String > ?'ok it works? > ?Dim token As String??System.shell = "/bin/bash"?Shell "awk '{print $NF}' < <(openssl dgst -hex -md5 -hmac " & password & " < <(openssl base64 -d <<<" & challenge & "))" To token?token = Base64(Trim(email & " " & token)) > ?Return token?End echo -n challenge | openssl dgst -binary -md5 -hmac passwd | base64 > FaMyMCJdxjKw3+gJd96a+g== Print Base64$(HMac("passwd", "challenge", "MD5")) > FaMyMCJdxjKw3+gJd96a+g== Note that your shell substitutions such as <<<"" may add newlines to your data. I explicitly use `echo -n` here to show that the outputs can match when you're careful enough about that. Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Fri Jun 26 10:21:59 2020 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 26 Jun 2020 10:21:59 +0200 Subject: [Gambas-user] gb.currency wiki Message-ID: Hi Benoit, I only changed the example like this: http://gambaswiki.org/wiki/comp/gb/gb/currency I hope it goes well. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtitouinfo at yahoo.fr Fri Jun 26 17:23:15 2020 From: mtitouinfo at yahoo.fr (mtitouinfo at yahoo.fr) Date: Fri, 26 Jun 2020 15:23:15 +0000 (UTC) Subject: [Gambas-user] HMAC-MD5 & CRAM-MD5 In-Reply-To: <20200625124704.GB878465@highrise.localdomain> References: <144185978.6367480.1593087663853.ref@mail.yahoo.com> <144185978.6367480.1593087663853@mail.yahoo.com> <20200625124704.GB878465@highrise.localdomain> Message-ID: <227376687.7487466.1593184995482@mail.yahoo.com> Le jeudi 25 juin 2020 ? 14:48:05 UTC+2, Tobias Boege --- a ?crit : On Thu, 25 Jun 2020, mtitouinfo--- via User wrote: > hellohow to translate this function, in native gambas, with component gb.openssl, without "Shell" ?? thanks. > gambas version:?3.14.3 > Private Function CramMD5(email As String, password As String, challenge As String) As String > ?'ok it works? > ?Dim token As String??System.shell = "/bin/bash"?Shell "awk '{print $NF}' < <(openssl dgst -hex -md5 -hmac " & password & " < <(openssl base64 -d <<<" & challenge & "))" To token?token = Base64(Trim(email & " " & token)) > ?Return token?End ? echo -n challenge | openssl dgst -binary -md5 -hmac passwd | base64 ? > FaMyMCJdxjKw3+gJd96a+g== ? Print Base64$(HMac("passwd", "challenge", "MD5")) ? > FaMyMCJdxjKw3+gJd96a+g== Note that your shell substitutions such as <<<"" may add newlines to your data. I explicitly use `echo -n` here to show that the outputs can match when you're careful enough about that. Regards, Tobias ---------- hi Tobias :~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge", "MD5"))'MMain.Main.5: #18: No return valueMMain.Main.5?:~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge", "md5"))'MMain.Main.5: #18: No return valueMMain.Main.5?:~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge"))'sbW1+7EULk2FR6c8iJMKcIWUcAc= packet broken ? :~$ apt show gambas3-gb-openssl?Package: gambas3-gb-opensslVersion: 3.14.3+git6015.2a35dde+build5.a086335.13.3ac8a0c~ubuntu16.04.1Priority: optionalSection: libdevelSource: gambas3Maintainer: Sebastian Kulesz Installed-Size: 34,8 kBDepends: libc6 (>= 2.14), libssl1.0.0 (>= 1.0.0)Download-Size: 12,0 kBAPT-Manual-Installed: yesAPT-Sources: http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial/main amd64 PackagesDescription: Gambas OpenSSL component Bye. Titou. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Fri Jun 26 18:01:55 2020 From: taboege at gmail.com (Tobias Boege) Date: Fri, 26 Jun 2020 18:01:55 +0200 Subject: [Gambas-user] HMAC-MD5 & CRAM-MD5 In-Reply-To: <227376687.7487466.1593184995482@mail.yahoo.com> References: <144185978.6367480.1593087663853.ref@mail.yahoo.com> <144185978.6367480.1593087663853@mail.yahoo.com> <20200625124704.GB878465@highrise.localdomain> <227376687.7487466.1593184995482@mail.yahoo.com> Message-ID: <20200626160155.GE1527334@highrise.localdomain> On Fri, 26 Jun 2020, mtitouinfo--- via User wrote: > hi Tobias > :~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge", "MD5"))'MMain.Main.5: #18: No return valueMMain.Main.5?:~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge", "md5"))'MMain.Main.5: #18: No return valueMMain.Main.5?:~$ gbs3 -u 'gb.openssl' -e 'Print Base64$(HMac("passwd", "challenge"))'sbW1+7EULk2FR6c8iJMKcIWUcAc= > packet broken ? > :~$ apt show gambas3-gb-openssl?Package: gambas3-gb-opensslVersion: 3.14.3+git6015.2a35dde+build5.a086335.13.3ac8a0c~ubuntu16.04.1Priority: optionalSection: libdevelSource: gambas3Maintainer: Sebastian Kulesz Installed-Size: 34,8 kBDepends: libc6 (>= 2.14), libssl1.0.0 (>= 1.0.0)Download-Size: 12,0 kBAPT-Manual-Installed: yesAPT-Sources: http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial/main amd64 PackagesDescription: Gambas OpenSSL component > Bye. Titou. > ? Too old: $ gbs3 -u gb.openssl -e 'Print Base64$(HMac("passwd", "challenge", "MD5"))' FaMyMCJdxjKw3+gJd96a+g== $ gbs3 --version 3.14.90 The possibility to specify the hash function for the HMac was added in 3.14.0 but a critical bugfix afterwards has not been released in a stable Gambas version yet. You would have to wait for 3.15.0 or use the daily builds [1]. If you want to do neither but can patch your Gambas, the only commit on top of the 3.14.0 sources that you have to apply to fix this issue is b76e4001bc119b7e. Regards, Tobias [1] https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From brian at westwoodsvcs.com Sat Jun 27 15:29:18 2020 From: brian at westwoodsvcs.com (=?UTF-8?B?QnJpYW4gRw==?=) Date: Sat, 27 Jun 2020 16:29:18 +0300 Subject: [Gambas-user] =?utf-8?q?Using_test_interface_for_scripter_testin?= =?utf-8?q?g?= In-Reply-To: <4b8c8a00-7752-0a09-59a8-81dd6433ff3e@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <4b8c8a00-7752-0a09-59a8-81dd6433ff3e@deganius.de> Message-ID: <1593264558.636161397@f36.my.com> Certain types of tests could produce a security risk if left as part of a production app. I think if they are global and the app allows user plugins. -- Thanks Brian Wednesday, 24 June 2020, 02:16AM -07:00 from Christof Thalhofer chrisml at deganius.de : >Am 23.06.20 um 09:56 schrieb Beno?t Minisini: > >> If yes, consider opening a feature request. I vaguely remember everyone >> agreeing that tests should *not* be included in "production" things. > > Mmm... yes I didn't really think about that. > > At the moment, test modules are included in the executable as any other > classes. > > It allows to test the executable using the '-T' interpreter option. > > But on the other hand you are providing your tests to the final user in > an executable bigger thant it should be. Maybe not a wanted thing... > >I think the testclasses do no harm. In an average project they are >small. And it they exist they provide the benefit to test the executable >on a machine in production later. > >For me I see no reason to remove them by default. > > I guess I should add one more option! > >Yes, sure, why not. > >Alles Gute > >Christof Thalhofer > >-- >Dies ist keine Signatur > > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Sat Jun 27 15:35:43 2020 From: brian at westwoodsvcs.com (=?UTF-8?B?QnJpYW4gRw==?=) Date: Sat, 27 Jun 2020 16:35:43 +0300 Subject: [Gambas-user] =?utf-8?q?Using_test_interface_for_scripter_testin?= =?utf-8?q?g?= In-Reply-To: <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> Message-ID: <1593264943.863220852@f36.my.com> Does that not defeat the purpose of testing the the app for production use. Ie checking if correct errors are generated by error conditions etc. Have to alter code, then not test the actual method or module that outputs them.... Ummm -- Thanks Brian Monday, 22 June 2020, 11:29PM -07:00 from Christof Thalhofer chrisml at deganius.de : >Am 23.06.20 um 00:00 schrieb Brian G: > > I am including a sample app with test module for things I will need > to do my testing. As you suggested I am capturing printed output, > which works, but also seems to print into the test result file. > > Is there some better way to use test to test functions which produce > printed messages. > >Use a function that creates the message as string and test the output of >that function. > >And then use that function in a method that prints. > >Alles Gute > >Christof Thalhofer > >-- >Dies ist keine Signatur > > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Sat Jun 27 20:15:59 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sat, 27 Jun 2020 11:15:59 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1593264943.863220852@f36.my.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> Message-ID: <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. AssertStdOut.Equal(Function(), "Expected",".....") AssertStdErr.Equal(Function(), "Expected,"....") Now I have to explain that most of the time, I replaced the 'got value' with the actual function call from the tested module Is it possible to have an AssertWithTimeout.equal(time, OpendbInput("parm"),"Timeout","The Called func Times out and returns an error from function") ' function times out and returns error before the assert timeout happens Does something along the lines of pressing stop in the ide.... if timeout expires. Or have an optional setting test.SetTimeout(time) such that if a call hangs it does not end the sequence of tests. For situations where a bad function is really bad or the test module itself fails. Having a macro/switch which prevents an app from exiting on quit/etc when testing error conditions generated for the interface of modules. And so ensure errors are being handled correctly. Perhaps test should do by default. e.g. Replaced the 'got value' with the actual function call from the test module test.exitDisable() AssertStdOut.Equal(main(), "Operation Competed OK", "test if module runs to completion") ' this because test normally uses stdout AssertStdErr.Equal(PrintMessage("Complete")," achev?","Test translation") try CriticalFile("junk") Assert.Error( ..... 'if the module quits when it gets an error and the quit is overridden can we still see the last error if the module function does this for bad example: sub CriticalFile(Filename as string) as file mfile as file try mfile = open FileName for read if error then quit 6 return mfile end and do this following If it is possible to to catch exits from app i.e. quit 6, is it possible to catch and verify the exit code returned CriticalFile("junk") Assert.ExitCode(6,"Exit value test for 6") test.exitEnable() also perhaps as a dream try GenProg("xxx") assert.NotError("Build Prog no error") AssertFile.Equal("ModelFilePathName", "OutPutFilePathName","Function Output text Verify") 'binary compare Is it possible to have a way of pushing app command line args before calling a module, to test for correct parsing and processing of options. Yes right now we can call functions but can not test the interface to the app. e.g. test.exitDisable() ' maybe app exiting should be disabled by test framework by default test.args("-v", ....) AssertStdOut.Equal(main() ,"Version output", "version output error from main") ' test captures the stream and compares test.args("-z",....) AssertStdErr.Equal(optparser(),"optparser output parm error","test bad parameter passed") ' test captures the stream and compares etc. Maybe just dreaming Is it possible to make all variables/functions public and override the private setting during testing so that global tables that are constructed by private functions from input can be checked without making them public in the actual code. This would help a great deal during the testing phase. Right now I needed add a flag into the actual code that stops app exits/quit with return. This itself adds a possible point of error. It often takes far more code to correctly test an application and all of it's possible errors and outputs than the app code actually is in size. And it is quite possible if left in place that some of the tests may create a security risk as they seem to be public. Are you thinking of this as more of a modelling tool than a test framework. Where you build an app framework with test then build your app to match that framework rather than actually testing the complete functionality and robustness of an application for production use. Should not a good test frame work allow simple direct testing providing interfaces to the most common functions of an average app. I t would be really nice if you could input data to a form field/button or input command through a keyboard or mouse simulation rather than just using test to call bits of an app. Test.KeyStrokes(&x20,&x34,&x35,.....) assert.equal(SomeField.text," 45","test that input works correctly") or Test.KeyStrokes(ctrl-F, &x20) assert.equal(SomeControl.HasFocus,true,"test that input works correctly") These are some of my thoughts. I have to say that what you have built is a great thing, and has helped me find a number of possible bugs, but I have had to build much of what I am talking about to test more completely. I believe that the framework you have built is a very solid foundation. Thank you for the effort and thought you have put into it. And I understand that there are thing I still don't understand that are included into the test module. Thank You Brian G From: "Brian" To: "Gambas mailing list" Sent: Saturday, June 27, 2020 6:35:43 AM Subject: Re: [Gambas-user] Using test interface for scripter testing Does that not defeat the purpose of testing the the app for production use. Ie checking if correct errors are generated by error conditions etc. Have to alter code, then not test the actual method or module that outputs them.... Ummm -- Thanks Brian Monday, 22 June 2020, 11:29PM -07:00 from Christof Thalhofer [ mailto:chrisml at deganius.de | chrisml at deganius.de ] : Am 23.06.20 um 00:00 schrieb Brian G: > I am including a sample app with test module for things I will need > to do my testing. As you suggested I am capturing printed output, > which works, but also seems to print into the test result file. > > Is there some better way to use test to test functions which produce > printed messages. Use a function that creates the message as string and test the output of that function. And then use that function in a method that prints. Alles Gute Christof Thalhofer -- Dies ist keine Signatur ----[ [ http://gambaswiki.org/wiki/doc/netiquette | http://gambaswiki.org/wiki/doc/netiquette ] ]---- ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Sat Jun 27 20:44:44 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sat, 27 Jun 2020 11:44:44 -0700 (PDT) Subject: [Gambas-user] Making Installation package, .hidden subdirectory In-Reply-To: <547b6bbf-41fe-1b77-04af-fb81449a177d@gmail.com> References: <162585127.1722.1592148463109.JavaMail.zimbra@westwoodsvcs.com> <1295918339.15.1592852709209.JavaMail.zimbra@westwoodsvcs.com> <547b6bbf-41fe-1b77-04af-fb81449a177d@gmail.com> Message-ID: <1629705453.2866.1593283484102.JavaMail.zimbra@westwoodsvcs.com> Thanks Thank You Brian G ----- Original Message ----- From: "Beno?t Minisini" To: "Gambas mailing list" Sent: Tuesday, June 23, 2020 3:09:49 PM Subject: Re: [Gambas-user] Making Installation package, .hidden subdirectory Le 22/06/2020 ? 21:05, Brian G a ?crit?: > Ok, I have narrowed it down to file with an extension of gambas so far, which was what was in my directory > > So plugins, for my app i could not get them to be in installation package from the directory. > > I include a sample project. > > Thank You > Brian G > It's a problem with debian packages only. Is it fixed for you with the last commit? -- Beno?t Minisini ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From brian at westwoodsvcs.com Sat Jun 27 21:02:10 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sat, 27 Jun 2020 12:02:10 -0700 (PDT) Subject: [Gambas-user] Adding notes to source code? In-Reply-To: <2708fee9-d876-94a4-21f4-126612910ecf@gmail.com> References: <481326.474.1592893257716.JavaMail.zimbra@westwoodsvcs.com> <2708fee9-d876-94a4-21f4-126612910ecf@gmail.com> Message-ID: <1622320023.2875.1593284530834.JavaMail.zimbra@westwoodsvcs.com> Thanks Thank You Brian G ----- Original Message ----- From: "Bruce" To: "Gambas mailing list" Sent: Tuesday, June 23, 2020 12:48:28 AM Subject: Re: [Gambas-user] Adding notes to source code? On 23/6/20 3:50 pm, Brian G wrote: > How do I add notes to the source code? I see a tab for them? Have I been missing something? > > Thank You > Brian G > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > ' NOTE: Here is a note ' TODO: Here is a thing to do ' FIXME: This code is wrong N.B. ' or '' + space + notertype + space + coment hth b ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From taboege at gmail.com Sat Jun 27 21:26:17 2020 From: taboege at gmail.com (Tobias Boege) Date: Sat, 27 Jun 2020 21:26:17 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20200627192617.GF1527334@highrise.localdomain> On Sat, 27 Jun 2020, Brian G wrote: > I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. > Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! > I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. > > Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol > Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match > Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. > > AssertStdOut.Equal(Function(), "Expected",".....") > AssertStdErr.Equal(Function(), "Expected,"....") > > Now I have to explain that most of the time, I replaced the 'got value' with the actual function call from the tested module > These tests seem a little special to me. Did you know that you can override the Assert module and extend it? This is a standard Gambas feature, see [1]. It allows you to add your own project-specific assertions to the Assert class, so it looks like they were built in. Use the primitive assertions as you need to build up more complex, specific ones. > Is it possible to have an > > AssertWithTimeout.equal(time, OpendbInput("parm"),"Timeout","The Called func Times out and returns an error from function") ' function times out and returns error before the assert timeout happens > Does something along the lines of pressing stop in the ide.... if timeout expires. > > Or have an optional setting test.SetTimeout(time) such that if a call hangs it does not end the sequence of tests. > For situations where a bad function is really bad or the test module itself fails. > No, because Assert.Equal(Function(), "Expected") executes just like Dim tmp As Variant = Function() Assert.Equal(tmp, "Expected") That is, the function call is evaluated by Gambas even before control is passed into gb.test. There is no way we can guard the execution of Function() by a Timer then. Test.SetTimeout could set a global process timeout at most. And even then, Gambas is non-preemptive: if Function() is never calling the event loop, gb.test would never get to see the timer event. It seems to me that you'd be much happier to let the *other* side of the testing, the test runner, do timeouts. Since it is a separate process connected to the TAP stream, it can easily set a timer to kill the test after X seconds total or Y seconds after the last TAP line was received from it (meaning a hanging test). A signaled process dies with non-zero exit code, which is already recognized as a test failure indicator. The test runner, in this case, would be the IDE. > Having a macro/switch which prevents an app from exiting on quit/etc when testing error conditions generated for the interface of modules. And so ensure errors are being handled correctly. > Perhaps test should do by default. > I don't think catching Quit is possible at all. As for errors from your project that you don't catch as a test writer, they are caught by gb.test and count as failed assertions IIRC. This does not cover voluntary Quits from inside of your tested code, nor really abnormal exits like signals. > Is it possible to have a way of pushing app command line args before calling a module, to test for correct parsing and processing of options. > Yes right now we can call functions but can not test the interface to the app. > e.g. > > test.exitDisable() ' maybe app exiting should be disabled by test framework by default > test.args("-v", ....) > AssertStdOut.Equal(main() ,"Version output", "version output error from main") ' test captures the stream and compares > > test.args("-z",....) > AssertStdErr.Equal(optparser(),"optparser output parm error","test bad parameter passed") ' test captures the stream and compares > etc. > This one is tricky because you cannot just rewrite your program in a way that makes testing easier, because of limitations in gb.args: it always wants to only work on the per-process Args object which is unfortunately read-only. The problem with setting args is that the program is already started when your code can call onto gb.test to set something up for you. gb.test runs inside the process and just calls your tests. I have no idea how to test gb.args-style arguments handling. > Maybe just dreaming > > Is it possible to make all variables/functions public and override the private setting during testing so that global tables that are constructed by private functions from input can be checked without making them > public in the actual code. This would help a great deal during the testing phase. > > Right now I needed add a flag into the actual code that stops app exits/quit with return. This itself adds a possible point of error. > > It often takes far more code to correctly test an application and all of it's possible errors and outputs than the app code actually is in size. And it is quite possible if left in place that some of the tests may create a security risk as they seem to be public. > > Are you thinking of this as more of a modelling tool than a test framework. Where you build an app framework with test then build your app to match that framework rather than actually testing the complete functionality and robustness of an application for production use. > > Should not a good test frame work allow simple direct testing providing interfaces to the most common functions of an average app. > > I t would be really nice if you could input data to a form field/button or input command through a keyboard or mouse simulation rather than just using test to call bits of an app. > > Test.KeyStrokes(&x20,&x34,&x35,.....) > assert.equal(SomeField.text," 45","test that input works correctly") > or > Test.KeyStrokes(ctrl-F, &x20) > assert.equal(SomeControl.HasFocus,true,"test that input works correctly") > Well, it does take effort to write a program in such a way that its individual parts as well as their combinations are testable! gb.test can be a modeling or specification tool (aka "test driven development"). It can also be used to test core library functions (mapping input to predictable output) or to add regression tests to a project (give me a piece of code that shows a bug, I fix it and keep your piece of code around to ensure that the same bug never manifests again). What you cannot expect from it is to help you test a program whose internals are tightly coupled and written with no regard for clear, separable APIs and testability. Testing the behavior of a GUI is a reasonable but not an easy task. Testing your internal program state via its effect on the GUI, on the other hand, is misguided. "Testability" means that your project is _not_ such an impenetrable monolith that the only way to verify it is simulating how a human would verify it without gb.test. That is, instead of faking keyboard input and examining GUI properties, better try and isolate the handling of keystrokes into a (pure) function with an input and an output and test that. Yes, it takes care to write testable programs. Best, Tobias [1] http://gambaswiki.org/wiki/doc/object-model#t21 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Sat Jun 27 22:00:15 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 27 Jun 2020 22:00:15 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200627192617.GF1527334@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> Message-ID: <72e20c80-847f-e893-85b9-51ead4b2baf1@gmail.com> Le 27/06/2020 ? 21:26, Tobias Boege a ?crit?: > On Sat, 27 Jun 2020, Brian G wrote: >> I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. >> Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! >> I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. >> >> Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol >> Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match >> Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. >> >> AssertStdOut.Equal(Function(), "Expected",".....") >> AssertStdErr.Equal(Function(), "Expected,"....") >> >> Now I have to explain that most of the time, I replaced the 'got value' with the actual function call from the tested module >> > > These tests seem a little special to me. Did you know that you can override > the Assert module and extend it? This is a standard Gambas feature, see [1]. > It allows you to add your own project-specific assertions to the Assert > class, so it looks like they were built in. Use the primitive assertions > as you need to build up more complex, specific ones. > > [...] Just a point: it would be possible to allow Application.Args to be overridden. Regards, -- Beno?t Minisini From chrisml at deganius.de Sun Jun 28 08:40:53 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 28 Jun 2020 08:40:53 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1593264943.863220852@f36.my.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> Message-ID: <4c2d1dc9-f979-6b7b-581c-e8461272079a@deganius.de> Am 27.06.20 um 15:35 schrieb Brian G: > Does that not defeat the purpose of testing the the app for production > use. Ie checking if correct errors are generated by error conditions > etc. Have to alter code, then not test the actual method or module that > outputs them You can also write a separated test project to test your app which: 1 compiles the app's project 2 calls the app's executable and tests it's output 3 removes the executable to clean up 1 and 3 can be done inside _Setup() and _Teardown() methods. 2 can be done with the usage of 'Shell'. I am not sure if something like that is possible with tests inside the project of your app, but it might be ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From brian at westwoodsvcs.com Sun Jun 28 10:00:47 2020 From: brian at westwoodsvcs.com (Brian G) Date: Sun, 28 Jun 2020 01:00:47 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200627192617.GF1527334@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> Message-ID: <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> > I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. > Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! > I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. > > Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol > Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match > Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. > > AssertStdOut.Equal(Function(), "Expected",".....") > AssertStdErr.Equal(Function(), "Expected,"....") > > Now I have to explain that most of the time, I replaced the 'got value' with the actual function call from the tested module > I don't see these basic functions as special, but normal checks for most libraries and components. >>>These tests seem a little special to me. Did you know that you can override >>>the Assert module and extend it? This is a standard Gambas feature, see [1]. >>>It allows you to add your own project-specific assertions to the Assert >>>class, so it looks like they were built in. Use the primitive assertions >>>as you need to build up more complex, specific ones. I Don't believe that testing the interface etc. to a module or exported class is very special, it allows to verify the expected interface for a library or component are as expected, they are not very complicated and always be a part of a library or component test. Should everyone using the test modules have to re implement for these simple things? These may be a better example, and easy to use AssertStdOut.equal(objectOrClass, "method",[parms...], "expected","Comment") is how I have implemented it in actuality for my testing AssertStdErr.equal(objectOrClass, "method",[parms...], "expected","Comment") is how I have implemented it in actuality Although I used different function names and style ...lol Private Sub Printoutput(mObject As Object, func As String, ...) As String ' to capture a printed string from function and list of parameters Dim buffer As Byte[] Dim len As Integer Dim mFile As File mFile = Open Null For Write Output To mFile Object.Call(mObject, func, Param.all) len = Seek(mFile) Close mFile buffer = New Byte[len + 100] mFile = Memory buffer.data For Write Output To mFile Object.Call(mObject, func, Param.all) len = Seek(mfile) Flush Close mFile Output To Default Return buffer.ToString(0, len) End Private Sub PrintErrOut(mObject As Object, func As String, ...) As String ' to capture a printed string from function and list of parameters Dim buffer As Byte[] Dim len As Integer Dim mFile As File mFile = Open Null For Write ' can skip this if we just guess at a meg or so... Output To mFile Object.Call(mObject, func, Param.all) len = Seek(mFile) Close mFile buffer = New Byte[len + 100] mFile = Memory buffer.data For Write Error To mFile Object.Call(mObject, func, Param.all) len = Seek(mfile) Close mFile Error To Default Dim s As String = buffer.ToString(0, len) Return s End I was giving a simplified view. But I do believe that these two functions should be part of a general test framework. And not have to be re-implemented by everyone that writes a cli application Or Outputs text. So my calls look like this assert.equal(PrintErrorOut(MMain, "Compile",[]),"Completed OK","Test Main Method")) These are very crude, but if something built in was better implemented? Testing the actual output from a module including text , is a far better test than simple checking if a method responds, as it tests through a complex system. > Is it possible to have an > > AssertWithTimeout.equal(time, OpendbInput("parm"),"Timeout","The Called func Times out and returns an error from function") ' function times out and returns error before the assert timeout happens > Does something along the lines of pressing stop in the ide.... if timeout expires. > > Or have an optional setting test.SetTimeout(time) such that if a call hangs it does not end the sequence of tests. > For situations where a bad function is really bad or the test module itself fails. > The correct way to implement this would be (AssertWithTimeout.equal(timeout,objectOrClass,"method",[Params,...],"expected","Comment") >>>No, because >>> Assert.Equal(Function(), "Expected") >>>executes just like >>> Dim tmp As Variant = Function() >> Assert.Equal(tmp, "Expected") >>>That is, the function call is evaluated by Gambas even before control >>>is passed into gb.test. There is no way we can guard the execution of >>>Function() by a Timer then. My example was wrong of course! >>>Test.SetTimeout could set a global process timeout at most. And even >>>then, Gambas is non-preemptive: if Function() is never calling the >>>event loop, gb.test would never get to see the timer event. >>>It seems to me that you'd be much happier to let the *other* side >>>of the testing, the test runner, do timeouts. Since it is a separate >>>process connected to the TAP stream, it can easily set a timer to >>>kill the test after X seconds total or Y seconds after the last TAP >>>line was received from it (meaning a hanging test). A signaled process >>>dies with non-zero exit code, which is already recognized as a test >>>failure indicator. The test runner, in this case, would be the IDE. > Having a macro/switch which prevents an app from exiting on quit/etc when testing error conditions generated for the interface of modules. And so ensure errors are being handled correctly. > Perhaps test should do by default. > >>>I don't think catching Quit is possible at all. As for errors from your >>>project that you don't catch as a test writer, they are caught by gb.test >>>and count as failed assertions IIRC. This does not cover voluntary Quits >>>from inside of your tested code, nor really abnormal exits like signals. Being able to test how modules handle errors is important even if it terminates. Can a hook be added into the ide/compiler, that allows this behavior for the test module. > Is it possible to have a way of pushing app command line args before calling a module, to test for correct parsing and processing of options. > Yes right now we can call functions but can not test the interface to the app. > e.g. > > test.exitDisable() ' maybe app exiting should be disabled by test framework by default > test.args("-v", ....) > AssertStdOut.Equal(mmain, "main",[] ,"Version output", "version output error from main") ' test captures the stream and compares > > test.args("-z",....) > AssertStdErr.Equal(mmain, "optparser",[],"optparser output parm error","test bad parameter passed") ' test captures the stream and compares > etc. > >>>This one is tricky because you cannot just rewrite your program in a way >>>that makes testing easier, because of limitations in gb.args: it always >>>wants to only work on the per-process Args object which is unfortunately >>>read-only. >>>The problem with setting args is that the program is already started >>>when your code can call onto gb.test to set something up for you. >>gb.test runs inside the process and just calls your tests. >>>I have no idea how to test gb.args-style arguments handling. > Maybe just dreaming > > Is it possible to make all variables/functions public and override the private setting during testing so that global tables that are constructed by private functions from input can be checked without making them > public in the actual code. This would help a great deal during the testing phase. > > Right now I needed add a flag into the actual code that stops app exits/quit with return. This itself adds a possible point of error. > > It often takes far more code to correctly test an application and all of it's possible errors and outputs than the app code actually is in size. And it is quite possible if left in place that some of the tests may create a security risk as they seem to be public. > > Are you thinking of this as more of a modelling tool than a test framework. Where you build an app framework with test then build your app to match that framework rather than actually testing the complete functionality and robustness of an application for production use. > > Should not a good test frame work allow simple direct testing providing interfaces to the most common functions of an average app. > > I t would be really nice if you could input data to a form field/button or input command through a keyboard or mouse simulation rather than just using test to call bits of an app. > > Test.KeyStrokes(&x20,&x34,&x35,.....) > assert.equal(SomeField.text," 45","test that input works correctly") > or > Test.KeyStrokes(ctrl-F, &x20) > assert.equal(SomeControl.HasFocus,true,"test that input works correctly") > My concern is focused on security, I want to test the functions etc inside my library or component which requires they are public, but I can't have them exposed during the actual use of the lib or component as they may give access to things a production application should not see or be able to manipulate. And I don't want to flip them back and forth as that can lead to more errors. If a major component builds an internal table from input and I want to verify it is correctly created and populated under error conditions/Use etc is that wrong. If testing means its public, but its critical to the libraries function and It can not be public. Do I have to start writing test hooks etc..... It this what your saying. To me that sort of thing is unneeded overhead. When the test suite could simply access it and verify it. Believe me if I add test hooks and they are public, some hacker will figure out how to use them. >>>Well, it does take effort to write a program in such a way that >>>its individual parts as well as their combinations are testable! The things I have listed are part of any well implemented and modular program, They are not special to monolithic programs or functional code or modular code The very best interfaces exposed externally have underlying functions, tables, classes etc. who's interface needs to be tested. You are correct it does take careful and thoughtful development to achieve reliable and usable code. It also takes thought and flexibility to develop a good suite of testing tools. >>>gb.test can be a modeling or specification tool (aka "test driven >>>development"). It can also be used to test core library functions >>>(mapping input to predictable output) or to add regression tests >>>to a project (give me a piece of code that shows a bug, I fix it >>>and keep your piece of code around to ensure that the same bug >>>never manifests again). >>>What you cannot expect from it is to help you test a program whose >>>internals are tightly coupled and written with no regard for clear, >>>separable APIs and testability. I don't see how anything I have asked for precludes good api's or interfaces >>>Testing the behavior of a GUI is a reasonable but not an easy task. >>>Testing your internal program state via its effect on the GUI, on the >>>other hand, is misguided. "Testability" means that your project is >>>_not_ such an impenetrable monolith that the only way to verify it >>>is simulating how a human would verify it without gb.test. That is, >>>instead of faking keyboard input and examining GUI properties, better >>>try and isolate the handling of keystrokes into a (pure) function >>>with an input and an output and test that. Umm well before I turn a app over to the user community I usually like to test if the user interface works! Like if I push button a, list box b gets populated correctly etc. Now if the test tool can allow me to simulate keystrokes and verify that the interface functions perform correctly and do this in a repeatable and reliable manor. I don't see how this makes my program some sort of monolith or examining the resultant listbox is some how an act of hacking. Look I want to know the if the gui functions, including all its bits and bobs. I cant just test a key stream in isolation to much of the real world would go untested..... I get the feeling that you believe that testing a few module inside the app or library is enough. What makes every app or library useful is for most apps, the user interface, for library/Component the published interface. Part of my requests were to approach the verification of these for libraries, refer to my first request exported, and interface to allow certification of these. And the keystrokes, not to just look at gui field, simple example I gave but to test the the user interface features and functions as a user would see or use it. Again I don't see how this is out of line with proper testing. It does extend your framework a little past unit testing, but would be invaluable as a certification tool. I spent many years as a principle systems architect, seen many test system, done a lot of development, having an out of the box powerful tool that provides simple to use features that don't demand following a forced schema is always a joy. There are so many people in the world with so many different ideas and methods, a good tool is one that can accommodate the greatest subset or users needs not try to define them. The Test feature you have implemented is a good solid feature and I like it for the most part, I don't think the thing I have suggested would break anything and would absolutely simplify many aspects of the test delivery cycle. I can see how hard you have worked on test, you should feel great at your achievement I would never have used it at all if i did not see it's merits and strengths. I am certainly grateful you undertook this project and have brought it so far along, thank you. >>>Yes, it takes care to write testable programs. >>>Best, >>>Tobias Thanks Brian G [1] http://gambaswiki.org/wiki/doc/object-model#t21 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From chrisml at deganius.de Sun Jun 28 10:54:07 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 28 Jun 2020 10:54:07 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <3dcf666e-7639-e8c3-fedc-ef49bb77621b@deganius.de> Am 28.06.20 um 10:00 schrieb Brian G: >> AssertStdOut.Equal(Function(), "Expected",".....") >> AssertStdErr.Equal(Function(), "Expected,"....") >> >> Now I have to explain that most of the time, I replaced the 'got >> value' with the actual function call from the tested module >> > > I don't see these basic functions as special, but normal checks for > most libraries and components. I have a lot of difficulties to understand your mail. IMO a part of it is caused by your quoting style. Here for example you answer to sth Tobi said, but you only quote your own sentences. So I have to read Tobi's mail in parallel to understand what you are referring to. gb.test looks at a project from inside the project and it reports it's findings on Stdout. So a project that prints to Stdout by itself cannot be tested with it in this way. But you can use gb.test to write a program, that tests your project from the outside. I told you how to do that. gb.test is not intended to provide features that cover every specific expression or state of a project. In reality, states covered by gb.test can be broken down to True and False and contents of variables. And it still looks to see if errors have occurred and reports that. So, if you want to look at special properties of a project (for example the number and names of exported symbols), you have to write test code yourself that detects and examines these states and let gb.test compare and report. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From taboege at gmail.com Sun Jun 28 13:36:13 2020 From: taboege at gmail.com (Tobias Boege) Date: Sun, 28 Jun 2020 13:36:13 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20200628113613.GG1527334@highrise.localdomain> On Sun, 28 Jun 2020, Brian G wrote: > > I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. > > Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! > > I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. > > > > Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol > > Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match > > Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. > > > > AssertStdOut.Equal(Function(), "Expected",".....") > > AssertStdErr.Equal(Function(), "Expected,"....") > > > > Now I have to explain that most of the time, I replaced the 'got value' with the actual function call from the tested module > > > > I don't see these basic functions as special, but normal checks for most libraries and components. > > >>>These tests seem a little special to me. Did you know that you can override > >>>the Assert module and extend it? This is a standard Gambas feature, see [1]. > >>>It allows you to add your own project-specific assertions to the Assert > >>>class, so it looks like they were built in. Use the primitive assertions > >>>as you need to build up more complex, specific ones. > > I Don't believe that testing the interface etc. to a module or exported class is very special, it allows to verify the expected interface for a library or component > are as expected, they are not very complicated and always be a part of a library or component test. > The reason why I say these look special is that _normally_ the compiler (or when late-bound, the interpreter) does these checks for you already. So I wonder what you want to do with this: - Check that XmlDocument has a Root property of type XmlElement in all your projects that use gb.xml? That seems excessive and that test, if at all, belongs in gb.xml instead. - If you are the author of gb.xml and want to add these tests to your own test suite, simply _use_ the Root property of a valid XmlDocument in your tests. If the tests compile and execute, that already implies that the property exists and has the correct enough type. If the interpreter raises a runtime error that you do not catch, the test counts as failed. Your mileage may vary, but I would consider it done at that point. By the way, Assert.Startup(Name) can be written Assert.Equals(Application.Startup.Name, Name) which I find short enough given that you should have to test this only once per project. > These may be a better example, and easy to use > > AssertStdOut.equal(objectOrClass, "method",[parms...], "expected","Comment") is how I have implemented it in actuality for my testing > AssertStdErr.equal(objectOrClass, "method",[parms...], "expected","Comment") is how I have implemented it in actuality > > [...] > I was giving a simplified view. But I do believe that these two functions should be part of a general test framework. And not have to be re-implemented by everyone > that writes a cli application Or Outputs text. > > So my calls look like this > > assert.equal(PrintErrorOut(MMain, "Compile",[]),"Completed OK","Test Main Method")) > > [...] > The correct way to implement this would be (AssertWithTimeout.equal(timeout,objectOrClass,"method",[Params,...],"expected","Comment") > I generally dislike this style of stringy callback because it turns code into a string blob and that excludes the IDE or the compiler from checking it as code. You will notice that we have strictly avoided such an interface in Assert so far. Granted, Gambas doesn't leave you a choice as you cannot make an actual "lambda function object" to pass around as argument on-the-fly. And I do see the value in capturing stdout or stderr of a process under test or wrapping any amount of changes to the runtime around the execution of a piece of test code. Right now, gb.test's Assert's stance on this is: "do it yourself, you are the main program. Only bother me when you have an actual test result to announce". > >>>I don't think catching Quit is possible at all. As for errors from your > >>>project that you don't catch as a test writer, they are caught by gb.test > >>>and count as failed assertions IIRC. This does not cover voluntary Quits > >>>from inside of your tested code, nor really abnormal exits like signals. > > Being able to test how modules handle errors is important even if it terminates. > Can a hook be added into the ide/compiler, that allows this behavior for the test module. > Probably, the interpreter has a hook for quitting the application. Not sure under which conditions it works for what you are proposing, though, that is, if it can be used to inhibit quitting at all. > My concern is focused on security, I want to test the functions etc inside my library or component which requires they are public, but I can't have them exposed > during the actual use of the lib or component as they may give access to things a production application should not see or be able to manipulate. And I don't want to flip them back and forth > as that can lead to more errors. If a major component builds an internal table from input and I want to verify it is correctly created and populated under error conditions/Use etc is that wrong. > If testing means its public, but its critical to the libraries function and It can not be public. Do I have to start writing test hooks etc..... It this what your saying. To me that sort of thing > is unneeded overhead. When the test suite could simply access it and verify it. Believe me if I add test hooks and they are public, some hacker will figure out how to use them. > After compilation, your tests end up being normal classes inside the project being tested and gb.test runs them like alternative startup classes. Accordingly they have the best view possible on your project's classes and modules. *But* we are also only cooking with water. Tests can see and use your unexported classes, modules, forms, ... but they cannot magically break encapsulation and visibility rules in Gambas since they are just normal Gambas code. So yes, if you want to access something, it must be accessible to code from your project. That's as close as we can get at the moment. > >>>Testing the behavior of a GUI is a reasonable but not an easy task. > >>>Testing your internal program state via its effect on the GUI, on the > >>>other hand, is misguided. "Testability" means that your project is > >>>_not_ such an impenetrable monolith that the only way to verify it > >>>is simulating how a human would verify it without gb.test. That is, > >>>instead of faking keyboard input and examining GUI properties, better > >>>try and isolate the handling of keystrokes into a (pure) function > >>>with an input and an output and test that. > > Umm well before I turn a app over to the user community I usually like to test if the user interface works! > Like if I push button a, list box b gets populated correctly etc. > Yes, please do that. I was saying that simulating a click on button a and examining the contents of list box b is not a good way of inferring whether the internal function f, that you know is run as part of the click event handler, works correctly. Testing behavior of the GUI, on the first hand again, is a reasonable but not an easy task. I begin to suspect that we have a miscommunication because you talk with a specific, apparently well-written code base in mind that I haven't seen or expected (and I wouldn't have had the time to study it either, even if you were to make it public). > Now if the test tool can allow me to simulate keystrokes and verify that the interface functions perform correctly > and do this in a repeatable and reliable manor. I don't see how this makes my program some sort of monolith or examining the resultant listbox > is some how an act of hacking. Look I want to know the if the gui functions, including all its bits and bobs. > I cant just test a key stream in isolation to much of the real world would go untested..... > > I get the feeling that you believe that testing a few module inside the app or library is enough. What makes every app or library useful is > for most apps, the user interface, for library/Component the published interface. > > Part of my requests were to approach the verification of these for libraries, refer to my first request exported, and interface to allow certification of these. > > And the keystrokes, not to just look at gui field, simple example I gave but to test the the user interface features and functions as a user would see or use it. > Again I don't see how this is out of line with proper testing. It does extend your framework a little past unit testing, but would be invaluable as a certification tool. > > I spent many years as a principle systems architect, seen many test system, done a lot of development, having an out of the box powerful tool that provides simple to use features > that don't demand following a forced schema is always a joy. There are so many people in the world with so many different ideas and methods, a good tool is one that can accommodate the greatest subset > or users needs not try to define them. > > The Test feature you have implemented is a good solid feature and I like it for the most part, I don't think the thing I have suggested would break anything and > would absolutely simplify many aspects of the test delivery cycle. > > I can see how hard you have worked on test, you should feel great at your achievement I would never have used it at all if i did not see it's merits and strengths. > I am certainly grateful you undertook this project and have brought it so far along, thank you. > > [snip] > Should everyone using the test modules have to re implement for these simple things? > As a general rule of thumb: yes! We've struggled against time (among others) to get gb.test to a stable state for the 3.15 release. There are definitely things to improve which we decided to do as part of the 3.15+ lifecycle(s) while users get accustomed to using gb.test and point out shortcomings. You are the first to do so, but I think the fact that you praise the efforts so far and propose additions only is a very good sign for the 3.15 release. Your ideas, except the absolutely easiest that we all agree are useful and well-designed, are unlikely to go into master now and hence into 3.15.0. GUI testing, for example, would likely require an addon component gb.test.gui (perhaps already a misleading name!) so as to not put a GUI dependency on gb.test. So, after 3.15.0 is released with a stable base gb.test, I would ask everyone to try out gb.test and the IDE (and gbt3 if it still exists), compile your own additions to Assert and Test that you often need in user libraries and share them. Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at deganius.de Sun Jun 28 19:57:07 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 28 Jun 2020 19:57:07 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <3dcf666e-7639-e8c3-fedc-ef49bb77621b@deganius.de> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> <3dcf666e-7639-e8c3-fedc-ef49bb77621b@deganius.de> Message-ID: <1265cb1b-a55c-11f6-e3ea-25c76f0505bb@deganius.de> Am 28.06.20 um 10:54 schrieb Christof Thalhofer: > I have a lot of difficulties to understand your mail. Sorry, I was in a hotel this morning, had not much time and a very small laptop screen. I will reread it the next days. Maybe then I understand better. ;-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From g4mba5 at gmail.com Sun Jun 28 21:23:03 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 28 Jun 2020 21:23:03 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200628113613.GG1527334@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> <20200628113613.GG1527334@highrise.localdomain> Message-ID: <41f4e778-3283-fc73-5f12-0e05cc88aa44@gmail.com> Le 28/06/2020 ? 13:36, Tobias Boege a ?crit?: > So, after 3.15.0 is released with a stable base gb.test, I would ask everyone > to try out gb.test and the IDE (and gbt3 if it still exists), [...] > 'gbt3' has been removed. It is now replaced by 'gbx3 -T'. Regards, -- Beno?t Minisini From brian at westwoodsvcs.com Mon Jun 29 20:38:01 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 29 Jun 2020 11:38:01 -0700 (PDT) Subject: [Gambas-user] recompile needed for gambas app? going from 64 bit to 32 bit system Message-ID: <1253454451.3337.1593455881099.JavaMail.zimbra@westwoodsvcs.com> Is it required to recompile a gambas app when moving from 64bit to 32 bit system? That is the xx.gambas files I guess my question is are they portable? Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jun 29 20:52:30 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 29 Jun 2020 20:52:30 +0200 Subject: [Gambas-user] recompile needed for gambas app? going from 64 bit to 32 bit system In-Reply-To: <1253454451.3337.1593455881099.JavaMail.zimbra@westwoodsvcs.com> References: <1253454451.3337.1593455881099.JavaMail.zimbra@westwoodsvcs.com> Message-ID: Le 29/06/2020 ? 20:38, Brian G a ?crit?: > Is it required to recompile a gambas app when moving from 64bit to 32 > bit system? > > That is the xx.gambas files > > I guess my question is are they portable? > > Thank You > Brian G > The bytecode is portable between 32 and 64 bits, little and big endian. Otherwise it's a bug. But it does not prevent from writing code that is not portable (as soon as you play with extern functions and associated low-level functions, it is possible). Regards, -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 29 22:19:48 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 29 Jun 2020 22:19:48 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker Message-ID: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> The wiki / bugtracker / website server is down. I have rebooted it: it stopped, but never started again. I don't have access to the host. It should come back tomorrow morning, french timezone. I think it's time to migrate it to a server I own... Regards, -- Beno?t Minisini From g4mba5 at gmail.com Mon Jun 29 22:20:36 2020 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 29 Jun 2020 22:20:36 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> Message-ID: Le 29/06/2020 ? 22:19, Beno?t Minisini a ?crit?: > The wiki / bugtracker / website server is down. I have rebooted it: it > stopped, but never started again. I don't have access to the host. > > It should come back tomorrow morning, french timezone. > > I think it's time to migrate it to a server I own... > > Regards, > Yes, it came back ! I spoke too fast. Ten minutes for a reboot in a virtual machine! -- Beno?t Minisini From chrisml at deganius.de Mon Jun 29 23:46:36 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 29 Jun 2020 23:46:36 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> Message-ID: <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> Am 29.06.20 um 22:19 schrieb Beno?t Minisini: > The wiki / bugtracker / website server is down. I have rebooted it: it > stopped, but never started again. I don't have access to the host. > > It should come back tomorrow morning, french timezone. > > I think it's time to migrate it to a server I own... Within the next few weeks the Hostsharing servers will be migrated to Debian Buster. There will be Gambas3 3.12 (I got Hostsharing to install Gambas3 on their servers by default). We have free webspace there and can run an unlimited number of domains and subdomains if we want to (we had to pay a small fee for the domains). The mailinglist runs there. So if you would like to we could run the wiki there. The only thing I am not sure is the international connection ? whether it is fast enough for users in Australia and America and so on. So ... could someone from other continents try to see if the pages of HS can be reached easily? https://www.hostsharing.net/ Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From jose.rodriguez at cenpalab.cu Tue Jun 30 01:14:51 2020 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Mon, 29 Jun 2020 23:14:51 +0000 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> References: <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> Message-ID: <83c4113cfb913044d00ea4cabf76cf90@cenpalab.cu> June 29, 2020 5:42 PM, "Christof Thalhofer" wrote: > So ... could someone from other continents try to see if the pages of HS > can be reached easily? > > https://www.hostsharing.net > FWIW, the host page is very quick here in Cuba, which is still a somewhat rare thing. Regards, Joe1962 From brian at westwoodsvcs.com Tue Jun 30 01:38:46 2020 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 29 Jun 2020 16:38:46 -0700 (PDT) Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <20200628113613.GG1527334@highrise.localdomain> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> <20200628113613.GG1527334@highrise.localdomain> Message-ID: <1943298479.3531.1593473926162.JavaMail.zimbra@westwoodsvcs.com> I liked your last paragraph! Lets see what falls out... ----- Original Message ----- From: "Tobias Boege" To: "Gambas mailing list" Sent: Sunday, June 28, 2020 4:36:13 AM Subject: Re: [Gambas-user] Using test interface for scripter testing On Sun, 28 Jun 2020, Brian G wrote: > > I have been implementing a test framework for scripter, and some of my own apps from my experience so far these are some things I have found difficult and thus the suggestions. > > Please understand that I really do appreciate the work that has been done and and the functionality it provides. This is a bit long! > > I would like to suggest the following be added to test framework if possible. It would make unit testing of the application and its modules a little simpler. > > > > Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol > > Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match > > Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns fail if they don't match. > > >>> The reason why I say these look special is that _normally_ the compiler >>> (or when late-bound, the interpreter) does these checks for you already. I don't want to validate any other libs or module's interfaces. I am trying to verify that for the Component or shared library I am writing, the library or Component the test module exists in, meets the required specification. i.e. the interface to the component/Lib tested has not been changed or modified and that all the classes and Public interfaces expected are defined and exported. So if someone works on the component and changes the interface or forgets to export the class etc. the test will fail. This comes Back somewhat to being a model interface I could write Assert.Startup("startupModExpected") ' used to verify you have not forgotten to set to real startup ... lol Assert.Exported("namelist",......... ) ' list of expected exported modules and classes fails if don't match Assert.Interface("modOrClass", "interfaceFuncOrVarsOrProperty".....) ' test exported mods or classes that the interface is correct ie public functions and variables exposed, returns And if theses were correctly implemented it would pass, and during maintenance work, if someone changes it, it will fail. I guess everything can be coded by the user, but from a selling it to users standpoint Some things made easy and clear are much better sales tools. It's a matter of perception, not need. >>> As a general rule of thumb: yes! >>> We've struggled against time (among others) to get gb.test to a stable state >>> for the 3.15 release. There are definitely things to improve which we decided >>> to do as part of the 3.15+ lifecycle(s) while users get accustomed to using >>> gb.test and point out shortcomings. >>> You are the first to do so, but I think the fact that you praise the efforts >>> so far and propose additions only is a very good sign for the 3.15 release. >>> Your ideas, except the absolutely easiest that we all agree are useful and >>> well-designed, are unlikely to go into master now and hence into 3.15.0. >>> GUI testing, for example, would likely require an addon component gb.test.gui >>> (perhaps already a misleading name!) so as to not put a GUI dependency on >>> gb.test. >>> So, after 3.15.0 is released with a stable base gb.test, I would ask everyone >>> to try out gb.test and the IDE (and gbt3 if it still exists), compile your >>> own additions to Assert and Test that you often need in user libraries and >>> share them. Great Plan! Regards, Tobias -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk p.s. I have been binge watching monk this last weekend... lol ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From taboege at gmail.com Tue Jun 30 02:00:46 2020 From: taboege at gmail.com (Tobias Boege) Date: Tue, 30 Jun 2020 02:00:46 +0200 Subject: [Gambas-user] Using test interface for scripter testing In-Reply-To: <1943298479.3531.1593473926162.JavaMail.zimbra@westwoodsvcs.com> References: <417580033.2100.1592412751325.JavaMail.zimbra@westwoodsvcs.com> <1493165888.97.1592863219445.JavaMail.zimbra@westwoodsvcs.com> <967e9030-f61c-6639-22ea-ee88e16817a8@deganius.de> <1593264943.863220852@f36.my.com> <453122920.2839.1593281759691.JavaMail.zimbra@westwoodsvcs.com> <20200627192617.GF1527334@highrise.localdomain> <228930679.3145.1593331247915.JavaMail.zimbra@westwoodsvcs.com> <20200628113613.GG1527334@highrise.localdomain> <1943298479.3531.1593473926162.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20200630000046.GI1527334@highrise.localdomain> On Mon, 29 Jun 2020, Brian G wrote: > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > p.s. I have been binge watching monk this last weekend... lol > I haven't in a long, long time and I've been thinking to remove the signature many times, but there's no way I could :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From admin at allunix.ru Tue Jun 30 03:17:47 2020 From: admin at allunix.ru (Admin) Date: Tue, 30 Jun 2020 08:17:47 +0700 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> Message-ID: <2c1fa819-97da-c128-cf0c-909ef0b033ab@allunix.ru> Russia/Novosibirsk, speed is great. 30.06.2020 4:46, Christof Thalhofer ?????: > Am 29.06.20 um 22:19 schrieb Beno?t Minisini: >> The wiki / bugtracker / website server is down. I have rebooted it: it >> stopped, but never started again. I don't have access to the host. >> >> It should come back tomorrow morning, french timezone. >> >> I think it's time to migrate it to a server I own... > Within the next few weeks the Hostsharing servers will be migrated to > Debian Buster. There will be Gambas3 3.12 (I got Hostsharing to install > Gambas3 on their servers by default). > > We have free webspace there and can run an unlimited number of domains > and subdomains if we want to (we had to pay a small fee for the > domains). The mailinglist runs there. > > So if you would like to we could run the wiki there. > > The only thing I am not sure is the international connection ? whether > it is fast enough for users in Australia and America and so on. > > So ... could someone from other continents try to see if the pages of HS > can be reached easily? > > https://www.hostsharing.net/ > > Alles Gute > > Christof Thalhofer > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.crean at y7mail.com Tue Jun 30 03:55:32 2020 From: mike.crean at y7mail.com (Mike Crean) Date: Tue, 30 Jun 2020 01:55:32 +0000 (UTC) Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <2c1fa819-97da-c128-cf0c-909ef0b033ab@allunix.ru> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <2c1fa819-97da-c128-cf0c-909ef0b033ab@allunix.ru> Message-ID: <1297191562.43984.1593482132660@mail.yahoo.com> Runs fine in Perth Western Australia. RegardsMike On Tuesday, 30 June 2020, 9:34:07 am AWST, Admin wrote: Russia/Novosibirsk, speed is great. 30.06.2020 4:46, Christof Thalhofer ?????: Am 29.06.20 um 22:19 schrieb Beno?t Minisini: The wiki / bugtracker / website server is down. I have rebooted it: it stopped, but never started again. I don't have access to the host. It should come back tomorrow morning, french timezone. I think it's time to migrate it to a server I own... Within the next few weeks the Hostsharing servers will be migrated to Debian Buster. There will be Gambas3 3.12 (I got Hostsharing to install Gambas3 on their servers by default). We have free webspace there and can run an unlimited number of domains and subdomains if we want to (we had to pay a small fee for the domains). The mailinglist runs there. So if you would like to we could run the wiki there. The only thing I am not sure is the international connection ? whether it is fast enough for users in Australia and America and so on. So ... could someone from other continents try to see if the pages of HS can be reached easily? https://www.hostsharing.net/ Alles Gute Christof Thalhofer ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Jun 30 05:10:03 2020 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 29 Jun 2020 23:10:03 -0400 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> Message-ID: <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> On 6/29/20 5:46 PM, Christof Thalhofer wrote: > So ... could someone from other continents try to see if the pages of HS > can be reached easily? > > https://www.hostsharing.net/ ~> ping www.hostsharing.net PING www.hostsharing.net (83.223.95.146) 56(84) bytes of data. 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_seq=1 ttl=48 time=212 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_seq=2 ttl=48 time=205 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_seq=3 ttl=48 time=210 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_seq=4 ttl=48 time=218 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_seq=5 ttl=48 time=125 ms ~> traceroute -n www.hostsharing.net traceroute to www.hostsharing.net (83.223.95.146), 30 hops max, 60 byte packets 1 192.168.0.1 0.286 ms 0.253 ms 0.269 ms 2 23.28.0.1 9.375 ms 15.379 ms 16.641 ms 3 75.76.84.81 16.651 ms 16.627 ms 16.602 ms 4 23.28.239.120 16.647 ms 16.545 ms 16.685 ms 5 76.73.166.119 19.093 ms 19.177 ms 23.28.239.125 16.418 ms 6 75.76.35.0 19.030 ms 19.035 ms 69.73.1.187 19.006 ms 7 75.76.35.51 26.733 ms 21.507 ms 29.415 ms 8 75.76.35.8 31.058 ms 30.010 ms 25.658 ms 9 4.16.38.157 25.522 ms 24.484 ms 25.616 ms 10 4.69.159.5 131.839 ms 131.761 ms 128.377 ms 11 62.67.20.134 125.580 ms 123.221 ms 124.164 ms 12 83.223.65.5 143.757 ms 137.384 ms 133.736 ms 13 83.223.95.146 125.252 ms 124.811 ms 132.264 ms ~> wget www.hostsharing.net --2020-06-29 23:06:25-- http://www.hostsharing.net/ Resolving www.hostsharing.net (www.hostsharing.net)... 83.223.95.146, 2a01:37:1000::53df:5f92:0 Connecting to www.hostsharing.net (www.hostsharing.net)|83.223.95.146|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.hostsharing.net/ [following] --2020-06-29 23:06:25-- https://www.hostsharing.net/ Connecting to www.hostsharing.net (www.hostsharing.net)|83.223.95.146|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? index.html [ <=> ] 54.62K 58.4KB/s in 0.9s 2020-06-29 23:06:27 (58.4 KB/s) - ?index.html? saved [55935] -- Lee From adamnt42 at gmail.com Tue Jun 30 05:21:08 2020 From: adamnt42 at gmail.com (Bruce) Date: Tue, 30 Jun 2020 12:51:08 +0930 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> Message-ID: From South Australia : ping www.hostsharing.net -c 10 PING www.hostsharing.net (83.223.95.146) 56(84) bytes of data. 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=1 ttl=42 time=622 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=2 ttl=42 time=353 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=3 ttl=42 time=354 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=4 ttl=42 time=346 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=5 ttl=42 time=355 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=6 ttl=42 time=354 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=7 ttl=42 time=348 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=8 ttl=42 time=355 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=9 ttl=42 time=349 ms 64 bytes from hsh04.hostsharing.net (83.223.95.146): icmp_req=10 ttl=42 time=356 ms --- www.hostsharing.net ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 10199ms rtt min/avg/max/mdev = 346.040/379.519/622.029/80.908 ms tracepath -n www.hostsharing.net 1?: [LOCALHOST] pmtu 1500 1: 192.168.0.1 3.820ms 1: 192.168.0.1 3.717ms 2: 192.168.0.1 3.585ms pmtu 1480 2: no reply 3: 10.194.35.81 85.409ms 4: 10.194.126.2 40.902ms 5: 10.194.126.13 48.956ms 6: 10.194.126.202 36.817ms 7: 210.49.50.69 49.055ms 8: no reply 9: no reply 10: no reply 11: 211.29.126.234 126.816ms asymm 13 12: 203.208.177.125 226.864ms asymm 16 13: 211.29.126.222 89.701ms asymm 11 14: 64.125.24.69 269.713ms asymm 21 15: 64.125.30.231 320.914ms asymm 17 16: 64.125.31.13 328.199ms asymm 18 17: 64.125.13.242 244.338ms asymm 19 18: 64.125.31.13 235.265ms 19: 64.125.13.242 228.857ms 20: 83.223.65.5 560.744ms asymm 23 21: 83.223.95.146 643.032ms reached Resume: pmtu 1480 hops 21 back 42 wget www.hostsharing.net --2020-06-30 12:49:22-- http://www.hostsharing.net/ Resolving www.hostsharing.net (www.hostsharing.net)... 83.223.95.146, 2a01:37:1000::53df:5f92:0 Connecting to www.hostsharing.net (www.hostsharing.net)|83.223.95.146|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.hostsharing.net/ [following] --2020-06-30 12:49:28-- https://www.hostsharing.net/ Connecting to www.hostsharing.net (www.hostsharing.net)|83.223.95.146|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? index.html [ <=> ] 54.62K 113KB/s in 0.5s 2020-06-30 12:49:31 (113 KB/s) - ?index.html? saved [55935 From chrisml at deganius.de Tue Jun 30 10:12:46 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 30 Jun 2020 10:12:46 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> Message-ID: Hello Lee, Am 30.06.20 um 05:10 schrieb T Lee Davidson: > ~> ping www.hostsharing.net Thank you! From where do you ping? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From t.lee.davidson at gmail.com Tue Jun 30 15:42:49 2020 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 30 Jun 2020 09:42:49 -0400 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> Message-ID: <8beb6b66-90dc-5df4-329f-f6c0394d8e15@gmail.com> On 6/30/20 4:12 AM, Christof Thalhofer wrote: > Hello Lee, > > Am 30.06.20 um 05:10 schrieb T Lee Davidson: > >> ~> ping www.hostsharing.net > > Thank you! From where do you ping? > > Alles Gute > > Christof Thalhofer > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Sorry, I thought it would be a simple matter for you to look up the source location from the IP address in the traceroute if you found the info valuable. But, it would cost you time. Michigan, USA. -- Lee From chrisml at deganius.de Tue Jun 30 16:15:38 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 30 Jun 2020 16:15:38 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <8beb6b66-90dc-5df4-329f-f6c0394d8e15@gmail.com> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> <8beb6b66-90dc-5df4-329f-f6c0394d8e15@gmail.com> Message-ID: <8002d78a-0a93-8e4a-83fa-3eda3bf70766@deganius.de> Am 30.06.20 um 15:42 schrieb T Lee Davidson: > Sorry, I thought it would be a simple matter for you to look up the > source location from the IP address in the traceroute if you found the > info valuable. But, it would cost you time. Michigan, USA. Thank you! Is gambaswiki.org faster on your side? Alles Gute Christof Thalhofer -- [x] nail here for new monitor From chrisml at deganius.de Tue Jun 30 16:35:54 2020 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 30 Jun 2020 16:35:54 +0200 Subject: [Gambas-user] Problems with wiki and bugtracker In-Reply-To: <8002d78a-0a93-8e4a-83fa-3eda3bf70766@deganius.de> References: <16481251-146f-ae6a-1f69-bdd4d3e5bc22@gmail.com> <1713f2b6-86da-04fb-6c35-7d22f759f296@deganius.de> <14d9207c-6fcb-0a7b-8ee3-0519a1bb153f@gmail.com> <8beb6b66-90dc-5df4-329f-f6c0394d8e15@gmail.com> <8002d78a-0a93-8e4a-83fa-3eda3bf70766@deganius.de> Message-ID: <6a1c36ca-ae72-6fe1-bfb6-f02777fcefbb@deganius.de> Am 30.06.20 um 16:15 schrieb Christof Thalhofer: > Thank you! Is gambaswiki.org faster on your side? I answer by myself: Sure it will be, gambaswiki.org is delivered via cloudflare. Alles Gute Christof Thalhofer -- [x] nail here for new monitor