From adamnt42 at gmail.com Sun Dec 1 09:55:45 2019 From: adamnt42 at gmail.com (Bruce) Date: Sun, 1 Dec 2019 19:25:45 +1030 Subject: [Gambas-user] Scrolling text in a textbox? In-Reply-To: References: <2ea687fa-b649-842c-4386-4270fb3b2c17@gmail.com> Message-ID: Thank you Gialuigi! That was exactly what I was after. Slick and elegant, @Fabien. Only because I was looking for a quick solution, (The long story continues here, So you can ignore the rest if you so choose.) Just arrived back from a road trip of the western and central wineries of Victoria. Some big ones and a lot of smaller producers. Most seem to be quite interested in what we are envisioning. However it is a hard job to convince some of them that this is not another advertising web site. In fact, at the moment it is anything but a website. The basic pitch is this: "How do you clear your remnants? ... Well suppose that you could put their listing on an internet system at no cost - no cost. What we are building is a system that will list your remnant wines to a select list of buyers, yes just like a wine club. But with a slight twist! We are not offering to buy your remnants, just list them. Our users are of a type that are usually searching for orders of, say, 3 dozen bottles. In general they are sick and tired of looking through tens of websites, dozens of junk mail in the hope they will find a "bargain". What we propose is to do the searching for them. Now I'm not going to ..... etc etc etc. But it seems that there is an interest, possibly a larger interest than I thought. (and I also thought that I had retired!) Getting back to why I'm not allowed in the kitchen. The original "thinky" about the concept took about two days. The initial, working, prototype another three. PRAISE BE TO GAMBAS! It's still very early days but this seems to be a bigger winner than the horse auctions.... and I get a benefit of (ahem) sampling some very good and uncommonly available (ahem) agricultural produce. ... ... hic! Anyway guys, thanks for the responses. All appreciated. bw ]b On 28/11/19 6:51 pm, Gianluigi wrote: > Hi Fabien, > > Is it okay if I am the one interested in your solution (drawing area)? > :-) > > Regards > Gianluigi > > Il giorno mer 27 nov 2019 alle ore 16:31 Fabien Bodard > > ha scritto: > > Why a textbox ?... It can be a Drawingarea ? > > Le mer. 27 nov. 2019 ? 14:00, Gianluigi > a ?crit : > > > > > > > > Il giorno mer 27 nov 2019 alle ore 10:10 Bruce > > ha scritto: > >> > >> Is there a way or has anyone achieved a custom control that does the > >> ... blah blah blah ... thing in a textbox? > >> > >> I never thought I would want one, but stange how life pans out. > >> > >> There is a constant, albeit sporadic, set of "updates" that > affect one > >> or more things that the user is "watching". So I thought maybe if we > >> could scroll the last so many messages in a status bar type of > thing. > >> > >> Yes, we are back in the online "auction" game again :-[ > >> At least this time it's a bit slower. > >> > >> Let's say for Christmas Day you are looking for a 2016 Langhorne > Creek > >> Shiraz. (In fact to qualify you need to be looking for 2 or 3 > dozen.) We > >> have about 8 wineries and around 80 outlets (retail, wholesale and > >> cellar door) that provide that vintage. Also you are looking for > one or > >> two bottles of 2012 North Victorian Muscat, six or so bottles of > >> something-or-other fizz and a bottle of sweet? sherry for Aunt Jane. > >> > >> The idea is you stick that order in and we do the "go searching". > >> Originally I thought we could just come up with the "best fit/best > >> value" answer. However it appears that > >> a) this can take a bit of time.. up to about 10 minutes and > >> b) if someone has got the Muscat on a two for one sale and another > >> "sticky" is even better value then "best value" becomes a bit > meaningless. > >> > >> (Sheesh! This was supposed to be a retirement hobby project! AKA > someone > >> said (and I cant quote the exact words for fear of being > censored but it > >> was along the lines of...) GET OUT OF MY KITCHEN AND GO DO > SOMETHING!) > >> Well, that worked.? ?I have spent the last three weeks demoing > the very > >> rudimentary prototype to more marketers and sales reps than I ever > >> wished to meet in my life.? The trouble is not only do they like it, > >> they have got lots of "wonderful suggestions". Sadly, most of their > >> ideas involve web-sites promoting their product. Which is the > antithesis > >> of what we are trying to do. > >> > >> The original idea was based on your ordinary "wine club" sort of > thing. > >> We'd go and sign up a few bespoke wineries and they'd tell us > what they > >> were remaindering, i.e. the stuff they wanted to move so this years > >> vintage could occupy the space released. We weren't going to > "sell" it, > >> we would just "list it". Any club member could log in and see > who was > >> trying to move what stuff.? No fancies, no bling.? They saw > something > >> they liked, click and get a phone number or email address to > order some. > >> No fee, no commission. Just that (ahem) I'd get a few bargains > here and > >> there. Well, that idea soon blew up! > >> > >> So now we have a relatively decent sort of client-server thingo > going > >> that about 60 people are using sporadically and a bunch of > marketers who > >> want to put videos with surround sound stereo on it. AAAAARRRGH! > This is > >> just exactly what I am trying to avoid! > >> > >> However the UI is crap. My fault. > >> > >> So. > >> > >> Instead of having to read the current stdout gibberish we print > while > >> searching through catalogues and websites for partial matches and > >> possible goodies. Someone suggested that maybe we could do a slowly > >> scrolling sort of marquee thing across the bottom. Most times it > would > >> say sort of "... still looking ..." and show some found items. > OK I said > >> ... BUT THERE WILL BE NO ADVERTISING! > >> > >> (Well that was a long way to get to the point. Sorry folks!) > >> > >> But any ideas? > >> > >> > >> > >> tia > >> bruce > >> > >> > >> > >> > >> .................? >>>>>> Best buys are here!!!!!! ...... Sign up > >> now!!!!! ..... (French horn concerto).....? ? DO > IT NOW! > >> > >> > >> B: Joanne, get out of my emails! > >> J: pppppppp!!! > > > > > > > > I got lost in your speech, limited my answer to the title > attaching a small test. > > > > Regards > > Gianluigi > > > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > -- > Fabien Bodard > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From adamnt42 at gmail.com Sun Dec 1 10:02:14 2019 From: adamnt42 at gmail.com (Bruce) Date: Sun, 1 Dec 2019 19:32:14 +1030 Subject: [Gambas-user] Just for interest, size of Gambas projects? In-Reply-To: References: Message-ID: Followed the rest of this conversation. But what I find is interesting from my point of view is that the "biggest" single project in the horse auctions system was about 3000 lines of code. But when I turned the source code over to the shareholders this year the total size of the source was over 300GB. This, of course, included a truck load of documentation. However, the entire system involved (guessing here ..) 50 or so UI projects and about 80 libraries and components. I guess that I just "modularise" a lot! :-) :-( ;-! b On 28/11/19 11:47 pm, Jussi Lahtinen wrote: > As the topic says, what is your biggest Gambas project? > I'm interested in how big projects Gambas is used. > > IDE --> Project properties --> Statistics --> Lines of code > > I know lines of code is quite bad metric, but it gives some picture. > My typical project is very small, but my biggest is 52 316 lines. > > IDE is about 82 000 lines. > > > Jussi > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From charlie at cogier.com Sun Dec 1 13:26:24 2019 From: charlie at cogier.com (Charlie Ogier) Date: Sun, 1 Dec 2019 12:26:24 +0000 Subject: [Gambas-user] Scrolling text in a textbox? In-Reply-To: References: <2ea687fa-b649-842c-4386-4270fb3b2c17@gmail.com> Message-ID: <9b57426b-ad4c-8a59-e4e7-6e9306635449@cogier.com> Hi Bruce, Here are 2 more possible takes on this issue that may be of interest. Charlie On 01/12/2019 08:55, Bruce wrote: > Thank you Gialuigi! That was exactly what I was after. Slick and elegant, > > @Fabien. Only because I was looking for a quick solution, > > (The long story continues here, So you can ignore the rest if you so > choose.) > > Just arrived back from a road trip of the western and central wineries > of Victoria. Some big ones and a lot of smaller producers. Most seem > to be quite interested in what we are envisioning.? However it is a > hard job to convince some of them that this is not another advertising > web site. > In fact, at the moment it is anything but a website. The basic pitch > is this: > "How do you clear your remnants? ... Well suppose that you could put > their listing on an internet system at no cost - no cost. > What we are building is a system that will list your remnant wines to > a select list of buyers, yes just like a wine club. But with a slight > twist! > We are not offering to buy your remnants, just list them. > Our users are of a type that are usually searching for orders of, say, > 3 dozen bottles.? In general they are sick and tired of looking > through tens of websites, dozens of junk mail in the hope they will > find a "bargain". > What we propose is to do the searching for them. > Now I'm not going to ..... > > etc etc etc. > > But it seems that there is an interest, possibly a larger interest > than I thought. (and I also thought that I had retired!) > > Getting back to why I'm not allowed in the kitchen. The original > "thinky" about the concept took about two days. The initial, working, > prototype another three. PRAISE BE TO GAMBAS! > > It's still very early days but this seems to be a bigger winner than > the horse auctions.... and I get a benefit of (ahem) sampling some > very good and uncommonly available (ahem) agricultural produce. ... > ... hic! > > Anyway guys, thanks for the responses. All appreciated. > > bw > ]b > > > > On 28/11/19 6:51 pm, Gianluigi wrote: >> Hi Fabien, >> >> Is it okay if I am the one interested in your solution (drawing area)? >> :-) >> >> Regards >> Gianluigi >> >> Il giorno mer 27 nov 2019 alle ore 16:31 Fabien Bodard >> > ha scritto: >> >> ??? Why a textbox ?... It can be a Drawingarea ? >> >> ??? Le mer. 27 nov. 2019 ? 14:00, Gianluigi > ??? > a ?crit : >> ???? > >> ???? > >> ???? > >> ???? > Il giorno mer 27 nov 2019 alle ore 10:10 Bruce >> ??? > ha scritto: >> ???? >> >> ???? >> Is there a way or has anyone achieved a custom control that >> does the >> ???? >> ... blah blah blah ... thing in a textbox? >> ???? >> >> ???? >> I never thought I would want one, but stange how life pans out. >> ???? >> >> ???? >> There is a constant, albeit sporadic, set of "updates" that >> ??? affect one >> ???? >> or more things that the user is "watching". So I thought >> maybe if we >> ???? >> could scroll the last so many messages in a status bar type of >> ??? thing. >> ???? >> >> ???? >> Yes, we are back in the online "auction" game again :-[ >> ???? >> At least this time it's a bit slower. >> ???? >> >> ???? >> Let's say for Christmas Day you are looking for a 2016 Langhorne >> ??? Creek >> ???? >> Shiraz. (In fact to qualify you need to be looking for 2 or 3 >> ??? dozen.) We >> ???? >> have about 8 wineries and around 80 outlets (retail, >> wholesale and >> ???? >> cellar door) that provide that vintage. Also you are looking for >> ??? one or >> ???? >> two bottles of 2012 North Victorian Muscat, six or so bottles of >> ???? >> something-or-other fizz and a bottle of sweet sherry for Aunt >> Jane. >> ???? >> >> ???? >> The idea is you stick that order in and we do the "go >> searching". >> ???? >> Originally I thought we could just come up with the "best >> fit/best >> ???? >> value" answer. However it appears that >> ???? >> a) this can take a bit of time.. up to about 10 minutes and >> ???? >> b) if someone has got the Muscat on a two for one sale and >> another >> ???? >> "sticky" is even better value then "best value" becomes a bit >> ??? meaningless. >> ???? >> >> ???? >> (Sheesh! This was supposed to be a retirement hobby project! AKA >> ??? someone >> ???? >> said (and I cant quote the exact words for fear of being >> ??? censored but it >> ???? >> was along the lines of...) GET OUT OF MY KITCHEN AND GO DO >> ??? SOMETHING!) >> ???? >> Well, that worked.? ?I have spent the last three weeks demoing >> ??? the very >> ???? >> rudimentary prototype to more marketers and sales reps than I >> ever >> ???? >> wished to meet in my life.? The trouble is not only do they >> like it, >> ???? >> they have got lots of "wonderful suggestions". Sadly, most of >> their >> ???? >> ideas involve web-sites promoting their product. Which is the >> ??? antithesis >> ???? >> of what we are trying to do. >> ???? >> >> ???? >> The original idea was based on your ordinary "wine club" sort of >> ??? thing. >> ???? >> We'd go and sign up a few bespoke wineries and they'd tell us >> ??? what they >> ???? >> were remaindering, i.e. the stuff they wanted to move so this >> years >> ???? >> vintage could occupy the space released. We weren't going to >> ??? "sell" it, >> ???? >> we would just "list it". Any club member could log in and see >> ??? who was >> ???? >> trying to move what stuff.? No fancies, no bling. They saw >> ??? something >> ???? >> they liked, click and get a phone number or email address to >> ??? order some. >> ???? >> No fee, no commission. Just that (ahem) I'd get a few bargains >> ??? here and >> ???? >> there. Well, that idea soon blew up! >> ???? >> >> ???? >> So now we have a relatively decent sort of client-server thingo >> ??? going >> ???? >> that about 60 people are using sporadically and a bunch of >> ??? marketers who >> ???? >> want to put videos with surround sound stereo on it. AAAAARRRGH! >> ??? This is >> ???? >> just exactly what I am trying to avoid! >> ???? >> >> ???? >> However the UI is crap. My fault. >> ???? >> >> ???? >> So. >> ???? >> >> ???? >> Instead of having to read the current stdout gibberish we print >> ??? while >> ???? >> searching through catalogues and websites for partial matches >> and >> ???? >> possible goodies. Someone suggested that maybe we could do a >> slowly >> ???? >> scrolling sort of marquee thing across the bottom. Most times it >> ??? would >> ???? >> say sort of "... still looking ..." and show some found items. >> ??? OK I said >> ???? >> ... BUT THERE WILL BE NO ADVERTISING! >> ???? >> >> ???? >> (Well that was a long way to get to the point. Sorry folks!) >> ???? >> >> ???? >> But any ideas? >> ???? >> >> ???? >> >> ???? >> >> ???? >> tia >> ???? >> bruce >> ???? >> >> ???? >> >> ???? >> >> ???? >> >> ???? >> .................? >>>>>> Best buys are here!!!!!! ...... >> Sign up >> ???? >> now!!!!! ..... (French horn concerto)..... ? DO >> ??? IT NOW! >> ???? >> >> ???? >> >> ???? >> B: Joanne, get out of my emails! >> ???? >> J: pppppppp!!! >> ???? > >> ???? > >> ???? > >> ???? > I got lost in your speech, limited my answer to the title >> ??? attaching a small test. >> ???? > >> ???? > Regards >> ???? > Gianluigi >> ???? > >> ???? > >> ???? > >> ???? > ----[ Gambas mailing-list is hosted by >> ??? https://www.hostsharing.net ]---- >> >> >> >> ??? -- ??? Fabien Bodard >> >> ??? ----[ Gambas mailing-list is hosted by >> https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- A non-text attachment was scrubbed... Name: SmoothMarquee.tar.gz Type: application/gzip Size: 12606 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SimpleMarquee.tar.gz Type: application/gzip Size: 12383 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Sun Dec 1 15:16:26 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 1 Dec 2019 16:16:26 +0200 Subject: [Gambas-user] Just for interest, size of Gambas projects? In-Reply-To: References: Message-ID: Yes, it's not that good measure. Just for interest, not for competition. Generally less code is better, with obvious exceptions like performance critical algorithms and readability. BTW, look at lines in Linux kernel. Jussi On Sun, Dec 1, 2019 at 11:03 AM Bruce wrote: > Followed the rest of this conversation. But what I find is interesting > from my point of view is that the "biggest" single project in the horse > auctions system was about 3000 lines of code. > > But when I turned the source code over to the shareholders this year the > total size of the source was over 300GB. This, of course, included a > truck load of documentation. However, the entire system involved > (guessing here ..) 50 or so UI projects and about 80 libraries and > components. > > I guess that I just "modularise" a lot! :-) :-( ;-! > > b > > On 28/11/19 11:47 pm, Jussi Lahtinen wrote: > > As the topic says, what is your biggest Gambas project? > > I'm interested in how big projects Gambas is used. > > > > IDE --> Project properties --> Statistics --> Lines of code > > > > I know lines of code is quite bad metric, but it gives some picture. > > My typical project is very small, but my biggest is 52 316 lines. > > > > IDE is about 82 000 lines. > > > > > > Jussi > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lapisdecor at gmail.com Mon Dec 2 08:08:44 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 07:08:44 +0000 Subject: [Gambas-user] Decimal values on a SpinBox Message-ID: Hi. How need a spinbox with values like 2.85 but the step is only Integer values. Is there a way to define a decimal step? Thanks Luis Louro -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Dec 2 10:22:20 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 2 Dec 2019 10:22:20 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Il giorno lun 2 dic 2019 alle ore 08:09 Luis Louro ha scritto: > Hi. > > How need a spinbox with values like 2.85 but the step is only Integer > values. Is there a way to define a decimal step? > > Thanks > > Luis Louro > I apologize to Benoit for manipulating his code, I am attaching a component that should do what you ask. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SpinFloat-0.0.1.tar.gz Type: application/gzip Size: 14289 bytes Desc: not available URL: From gambas.fr at gmail.com Mon Dec 2 10:24:01 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Mon, 2 Dec 2019 10:24:01 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Humm... no :-)... a spinbox is definitively integer. So ... this is the float version :-) Well it's a no tested class with many display bugs but it seem to do the job well. Just make sure that the step is a multiple of the gap between the min and max value. Put this class in your project, it's a gambas widget that act like one from a component. Just do a compile all and it will appear in the toolbox. Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit : > > Hi. > > How need a spinbox with values like 2.85 but the step is only Integer values. Is there a way to define a decimal step? > > Thanks > > Luis Louro > > -- > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do > e proceda ? sua destrui??o, notificando o remetente. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: FloatSpinbox.class Type: application/java-vm Size: 9697 bytes Desc: not available URL: From lapisdecor at gmail.com Mon Dec 2 12:07:21 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 11:07:21 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Hi Fabien, nice to meet you. What do you mean by multiple of the gap? Can you give me an example? I was trying a 0.10 step for min 0 and max 100 but no sucess. Luis Louro Fabien Bodard escreveu no dia segunda, 2/12/2019 ?(s) 10:10: > Humm... no :-)... a spinbox is definitively integer. > > So ... this is the float version :-) > > Well it's a no tested class with many display bugs but it seem to do > the job well. Just make sure that the step is a multiple of the gap > between the min and max value. > > Put this class in your project, it's a gambas widget that act like one > from a component. Just do a compile all and it will appear in the > toolbox. > > > > > > > Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit : > > > > Hi. > > > > How need a spinbox with values like 2.85 but the step is only Integer > values. Is there a way to define a decimal step? > > > > Thanks > > > > Luis Louro > > > > -- > > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo > conte?do > > e proceda ? sua destrui??o, notificando o remetente. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > -- > Fabien Bodard > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Dec 2 14:01:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 2 Dec 2019 14:01:52 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: I don't know if you will see this warning, but if you look at the spam, there should be an answer of mine with an attachment. See here: https://lists.gambas-basic.org/pipermail/user/2019-December/068207.html Il giorno lun 2 dic 2019 alle ore 13:02 Luis Louro ha scritto: > Hi Fabien, nice to meet you. > What do you mean by multiple of the gap? Can you give me an example? I was > trying a 0.10 step for min 0 and max 100 but no sucess. > > Luis Louro > > Fabien Bodard escreveu no dia segunda, 2/12/2019 > ?(s) 10:10: > >> Humm... no :-)... a spinbox is definitively integer. >> >> So ... this is the float version :-) >> >> Well it's a no tested class with many display bugs but it seem to do >> the job well. Just make sure that the step is a multiple of the gap >> between the min and max value. >> >> Put this class in your project, it's a gambas widget that act like one >> from a component. Just do a compile all and it will appear in the >> toolbox. >> >> >> >> >> >> >> Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit : >> > >> > Hi. >> > >> > How need a spinbox with values like 2.85 but the step is only Integer >> values. Is there a way to define a decimal step? >> > >> > Thanks >> > >> > Luis Louro >> > >> > -- >> > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >> > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >> > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >> > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo >> conte?do >> > e proceda ? sua destrui??o, notificando o remetente. >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> >> >> >> -- >> Fabien Bodard >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > -- > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do > e proceda ? sua destrui??o, notificando o remetente. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Mon Dec 2 14:11:28 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Mon, 2 Dec 2019 14:11:28 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Try with that :-) There was a lock if step was <1 when you write the value in the property panel remember you must use local decimal separator (ex: "," for me) Le lun. 2 d?c. 2019 ? 14:03, Gianluigi a ?crit : > > I don't know if you will see this warning, but if you look at the spam, there should be an answer of mine with an attachment. > See here: > https://lists.gambas-basic.org/pipermail/user/2019-December/068207.html > > Il giorno lun 2 dic 2019 alle ore 13:02 Luis Louro ha scritto: >> >> Hi Fabien, nice to meet you. >> What do you mean by multiple of the gap? Can you give me an example? I was trying a 0.10 step for min 0 and max 100 but no sucess. >> >> Luis Louro >> >> Fabien Bodard escreveu no dia segunda, 2/12/2019 ?(s) 10:10: >>> >>> Humm... no :-)... a spinbox is definitively integer. >>> >>> So ... this is the float version :-) >>> >>> Well it's a no tested class with many display bugs but it seem to do >>> the job well. Just make sure that the step is a multiple of the gap >>> between the min and max value. >>> >>> Put this class in your project, it's a gambas widget that act like one >>> from a component. Just do a compile all and it will appear in the >>> toolbox. >>> >>> >>> >>> >>> >>> >>> Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit : >>> > >>> > Hi. >>> > >>> > How need a spinbox with values like 2.85 but the step is only Integer values. Is there a way to define a decimal step? >>> > >>> > Thanks >>> > >>> > Luis Louro >>> > >>> > -- >>> > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >>> > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >>> > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >>> > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do >>> > e proceda ? sua destrui??o, notificando o remetente. >>> > >>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> -- >> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do >> e proceda ? sua destrui??o, notificando o remetente. >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: FloatSpinbox.class Type: application/java-vm Size: 9703 bytes Desc: not available URL: From lapisdecor at gmail.com Mon Dec 2 19:10:59 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 18:10:59 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Thanks Fabien, I will try it. Fabien Bodard escreveu no dia segunda, 2/12/2019 ?(s) 13:12: > Try with that :-) > There was a lock if step was <1 > > when you write the value in the property panel remember you must use > local decimal separator (ex: "," for me) > > Le lun. 2 d?c. 2019 ? 14:03, Gianluigi a ?crit : > > > > I don't know if you will see this warning, but if you look at the spam, > there should be an answer of mine with an attachment. > > See here: > > https://lists.gambas-basic.org/pipermail/user/2019-December/068207.html > > > > Il giorno lun 2 dic 2019 alle ore 13:02 Luis Louro > ha scritto: > >> > >> Hi Fabien, nice to meet you. > >> What do you mean by multiple of the gap? Can you give me an example? I > was trying a 0.10 step for min 0 and max 100 but no sucess. > >> > >> Luis Louro > >> > >> Fabien Bodard escreveu no dia segunda, 2/12/2019 > ?(s) 10:10: > >>> > >>> Humm... no :-)... a spinbox is definitively integer. > >>> > >>> So ... this is the float version :-) > >>> > >>> Well it's a no tested class with many display bugs but it seem to do > >>> the job well. Just make sure that the step is a multiple of the gap > >>> between the min and max value. > >>> > >>> Put this class in your project, it's a gambas widget that act like one > >>> from a component. Just do a compile all and it will appear in the > >>> toolbox. > >>> > >>> > >>> > >>> > >>> > >>> > >>> Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a > ?crit : > >>> > > >>> > Hi. > >>> > > >>> > How need a spinbox with values like 2.85 but the step is only > Integer values. Is there a way to define a decimal step? > >>> > > >>> > Thanks > >>> > > >>> > Luis Louro > >>> > > >>> > -- > >>> > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > >>> > eventualmente anexos, ? confidencial e reservada apenas ao > conhecimento > >>> > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > >>> > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo > conte?do > >>> > e proceda ? sua destrui??o, notificando o remetente. > >>> > > >>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >>> > >>> > >>> > >>> -- > >>> Fabien Bodard > >>> > >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> > >> > >> -- > >> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > >> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > >> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > >> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo > conte?do > >> e proceda ? sua destrui??o, notificando o remetente. > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > -- > Fabien Bodard > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lapisdecor at gmail.com Mon Dec 2 19:12:16 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 18:12:16 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Hello Gianluigi, I'm sorry but I couldn't open your attachment. Gianluigi escreveu no dia segunda, 2/12/2019 ?(s) 13:03: > I don't know if you will see this warning, but if you look at the spam, > there should be an answer of mine with an attachment. > See here: > https://lists.gambas-basic.org/pipermail/user/2019-December/068207.html > > Il giorno lun 2 dic 2019 alle ore 13:02 Luis Louro > ha scritto: > >> Hi Fabien, nice to meet you. >> What do you mean by multiple of the gap? Can you give me an example? I >> was trying a 0.10 step for min 0 and max 100 but no sucess. >> >> Luis Louro >> >> Fabien Bodard escreveu no dia segunda, 2/12/2019 >> ?(s) 10:10: >> >>> Humm... no :-)... a spinbox is definitively integer. >>> >>> So ... this is the float version :-) >>> >>> Well it's a no tested class with many display bugs but it seem to do >>> the job well. Just make sure that the step is a multiple of the gap >>> between the min and max value. >>> >>> Put this class in your project, it's a gambas widget that act like one >>> from a component. Just do a compile all and it will appear in the >>> toolbox. >>> >>> >>> >>> >>> >>> >>> Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit : >>> > >>> > Hi. >>> > >>> > How need a spinbox with values like 2.85 but the step is only Integer >>> values. Is there a way to define a decimal step? >>> > >>> > Thanks >>> > >>> > Luis Louro >>> > >>> > -- >>> > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >>> > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >>> > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >>> > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo >>> conte?do >>> > e proceda ? sua destrui??o, notificando o remetente. >>> > >>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>> ]---- >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> -- >> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do >> e proceda ? sua destrui??o, notificando o remetente. >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Dec 2 19:26:16 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 2 Dec 2019 19:26:16 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: Did you find the file in the spam or try to download the file from the ML archive? I try to attach another file. Il giorno lun 2 dic 2019 alle ore 19:15 Luis Louro ha scritto: > Hello Gianluigi, > > I'm sorry but I couldn't open your attachment. > > Gianluigi escreveu no dia segunda, 2/12/2019 ?(s) > 13:03: > >> I don't know if you will see this warning, but if you look at the spam, >> there should be an answer of mine with an attachment. >> See here: >> https://lists.gambas-basic.org/pipermail/user/2019-December/068207.html >> >> Il giorno lun 2 dic 2019 alle ore 13:02 Luis Louro >> ha scritto: >> >>> Hi Fabien, nice to meet you. >>> What do you mean by multiple of the gap? Can you give me an example? I >>> was trying a 0.10 step for min 0 and max 100 but no sucess. >>> >>> Luis Louro >>> >>> Fabien Bodard escreveu no dia segunda, 2/12/2019 >>> ?(s) 10:10: >>> >>>> Humm... no :-)... a spinbox is definitively integer. >>>> >>>> So ... this is the float version :-) >>>> >>>> Well it's a no tested class with many display bugs but it seem to do >>>> the job well. Just make sure that the step is a multiple of the gap >>>> between the min and max value. >>>> >>>> Put this class in your project, it's a gambas widget that act like one >>>> from a component. Just do a compile all and it will appear in the >>>> toolbox. >>>> >>>> >>>> >>>> >>>> >>>> >>>> Le lun. 2 d?c. 2019 ? 08:09, Luis Louro a ?crit >>>> : >>>> > >>>> > Hi. >>>> > >>>> > How need a spinbox with values like 2.85 but the step is only Integer >>>> values. Is there a way to define a decimal step? >>>> > >>>> > Thanks >>>> > >>>> > Luis Louro >>>> > >>>> > -- >>>> > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >>>> > eventualmente anexos, ? confidencial e reservada apenas ao >>>> conhecimento >>>> > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >>>> > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo >>>> conte?do >>>> > e proceda ? sua destrui??o, notificando o remetente. >>>> > >>>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>>> >>>> -- >>>> Fabien Bodard >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> >>> -- >>> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >>> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >>> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >>> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo >>> conte?do >>> e proceda ? sua destrui??o, notificando o remetente. >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > -- > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do > e proceda ? sua destrui??o, notificando o remetente. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SpinFloat-0.0.1.tar.gz Type: application/gzip Size: 14301 bytes Desc: not available URL: From chrisml at deganius.de Mon Dec 2 19:36:29 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 2 Dec 2019 19:36:29 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: Message-ID: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Am 02.12.19 um 19:26 schrieb Gianluigi: > Did you find the file in the spam or try to download the file from the > ML archive? > > I try to attach another file. Google is an idiot. It bounces files with tar.gz as ending. No one with a Gmail account can recieve your mail. https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 Grmbl ... Better use a free binary pastebin like this one: https://paste.c-net.org/ and post a link to the file in the mailinglist. 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 lapisdecor at gmail.com Mon Dec 2 19:46:11 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 18:46:11 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: I'm also not receiving your emails, not even in spam. Luis Louro Christof Thalhofer escreveu no dia segunda, 2/12/2019 ?(s) 18:37: > Am 02.12.19 um 19:26 schrieb Gianluigi: > > > Did you find the file in the spam or try to download the file from the > > ML archive? > > > > I try to attach another file. > > Google is an idiot. It bounces files with tar.gz as ending. No one with > a Gmail account can recieve your mail. > > > https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 > > Grmbl ... > > Better use a free binary pastebin like this one: > https://paste.c-net.org/ > and post a link to the file in the mailinglist. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Dec 2 20:01:56 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 2 Dec 2019 20:01:56 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: I did as suggested by Christof Thalhofer look for the file here: https://paste.c-net.org/EssaysTrays Il giorno lun 2 dic 2019 alle ore 19:47 Luis Louro ha scritto: > I'm also not receiving your emails, not even in spam. > > Luis Louro > > Christof Thalhofer escreveu no dia segunda, > 2/12/2019 ?(s) 18:37: > >> Am 02.12.19 um 19:26 schrieb Gianluigi: >> >> > Did you find the file in the spam or try to download the file from the >> > ML archive? >> > >> > I try to attach another file. >> >> Google is an idiot. It bounces files with tar.gz as ending. No one with >> a Gmail account can recieve your mail. >> >> >> https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 >> >> Grmbl ... >> >> Better use a free binary pastebin like this one: >> https://paste.c-net.org/ >> and post a link to the file in the mailinglist. >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > -- > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do > e proceda ? sua destrui??o, notificando o remetente. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zachsmith022 at gmail.com Mon Dec 2 20:12:03 2019 From: zachsmith022 at gmail.com (Zach Smith) Date: Mon, 2 Dec 2019 14:12:03 -0500 Subject: [Gambas-user] Installing Gambas without Qt4 on a Raspberry Pi 3 In-Reply-To: References: <2f12588b-d580-71ab-db9c-978f9dfe5ba4@gmail.com> Message-ID: <7cba3b20-acf6-2645-1918-1776142c91ae@gmail.com> On 11/27/19 10:06 AM, Beno?t Minisini wrote: > Le 27/11/2019 ? 15:40, Zach Smith a ?crit?: >> >> >> Yes, I just tried that.? It didn't seem to help.? I've attached the >> log file. >> >> > > Did you clean your system for any previous Gambas installation before > doing the recompilation? > I did that and it worked. Thank you. From jussi.lahtinen at gmail.com Mon Dec 2 22:04:16 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 2 Dec 2019 23:04:16 +0200 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Then how can you reply to them!?? Also .tar.gz files are *not* blocked by gmail. Unless they contain forbidden files. Jussi On Mon, Dec 2, 2019 at 8:47 PM Luis Louro wrote: > I'm also not receiving your emails, not even in spam. > > Luis Louro > > Christof Thalhofer escreveu no dia segunda, > 2/12/2019 ?(s) 18:37: > >> Am 02.12.19 um 19:26 schrieb Gianluigi: >> >> > Did you find the file in the spam or try to download the file from the >> > ML archive? >> > >> > I try to attach another file. >> >> Google is an idiot. It bounces files with tar.gz as ending. No one with >> a Gmail account can recieve your mail. >> >> >> https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 >> >> Grmbl ... >> >> Better use a free binary pastebin like this one: >> https://paste.c-net.org/ >> and post a link to the file in the mailinglist. >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > -- > AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros > eventualmente anexos, ? confidencial e reservada apenas ao conhecimento > da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu > destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do > e proceda ? sua destrui??o, notificando o remetente. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lapisdecor at gmail.com Mon Dec 2 22:14:38 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 21:14:38 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Thanks! Gianluigi escreveu no dia segunda, 2/12/2019 ?(s) 19:03: > I did as suggested by Christof Thalhofer look for the file here: > https://paste.c-net.org/EssaysTrays > > Il giorno lun 2 dic 2019 alle ore 19:47 Luis Louro > ha scritto: > >> I'm also not receiving your emails, not even in spam. >> >> Luis Louro >> >> Christof Thalhofer escreveu no dia segunda, >> 2/12/2019 ?(s) 18:37: >> >>> Am 02.12.19 um 19:26 schrieb Gianluigi: >>> >>> > Did you find the file in the spam or try to download the file from the >>> > ML archive? >>> > >>> > I try to attach another file. >>> >>> Google is an idiot. It bounces files with tar.gz as ending. No one with >>> a Gmail account can recieve your mail. >>> >>> >>> https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 >>> >>> Grmbl ... >>> >>> Better use a free binary pastebin like this one: >>> https://paste.c-net.org/ >>> and post a link to the file in the mailinglist. >>> >>> Alles Gute >>> >>> Christof Thalhofer >>> >>> -- >>> Dies ist keine Signatur >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> -- >> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do >> e proceda ? sua destrui??o, notificando o remetente. >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lapisdecor at gmail.com Mon Dec 2 22:17:37 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 2 Dec 2019 21:17:37 +0000 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: I could see the reply's to others on my spam folder. Also, Idk about gmail but I think it was the mailing list that rejected the attachment. Jussi Lahtinen escreveu no dia segunda, 2/12/2019 ?(s) 21:05: > Then how can you reply to them!?? > Also .tar.gz files are *not* blocked by gmail. Unless they contain > forbidden files. > > > Jussi > > On Mon, Dec 2, 2019 at 8:47 PM Luis Louro wrote: > >> I'm also not receiving your emails, not even in spam. >> >> Luis Louro >> >> Christof Thalhofer escreveu no dia segunda, >> 2/12/2019 ?(s) 18:37: >> >>> Am 02.12.19 um 19:26 schrieb Gianluigi: >>> >>> > Did you find the file in the spam or try to download the file from the >>> > ML archive? >>> > >>> > I try to attach another file. >>> >>> Google is an idiot. It bounces files with tar.gz as ending. No one with >>> a Gmail account can recieve your mail. >>> >>> >>> https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1 >>> >>> Grmbl ... >>> >>> Better use a free binary pastebin like this one: >>> https://paste.c-net.org/ >>> and post a link to the file in the mailinglist. >>> >>> Alles Gute >>> >>> Christof Thalhofer >>> >>> -- >>> Dies ist keine Signatur >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> -- >> AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros >> eventualmente anexos, ? confidencial e reservada apenas ao conhecimento >> da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu >> destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do >> e proceda ? sua destrui??o, notificando o remetente. >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- AVISO DE CONFIDENCIALIDADE: Esta mensagem, assim como os ficheiros eventualmente anexos, ? confidencial e reservada apenas ao conhecimento da(s) pessoa(s) nela indicada(s) como destinat?ria(s). Se n?o ? o seu destinat?rio, solicitamos que n?o fa?a qualquer uso do respectivo conte?do e proceda ? sua destrui??o, notificando o remetente. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Tue Dec 3 07:59:03 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 3 Dec 2019 07:59:03 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Am 02.12.19 um 22:04 schrieb Jussi Lahtinen: > Then how can you reply to them!?? > Also .tar.gz files are *not* blocked by gmail. Unless they contain > forbidden files. Ok you are right. But: Gmail blocked and bounced *all* mails which were sent by the mailinglist to Gmail accounts and contained SpinFloat-0.0.1.tar.gz. Here is the reason Google gave: https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en It says it blocks files with these endings: ".ade, .adp, .apk, .appx, .appxbundle, .bat, .cab, .chm, .cmd, .com, .cpl, .dll, .dmg, .exe, .hta, .ins, .isp, .iso, .jar, .js, .jse, .lib, .lnk, .mde, .msc, .msi, .msix, .msixbundle, .msp, .mst, .nsh, .pif, .ps1, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vxd, .wsc, .wsf, .wsh" But none of these can be found in SpinFloat-0.0.1.tar.gz as I can see. Btw. Google is the only provider doing that. 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 bagonergi at gmail.com Tue Dec 3 10:39:47 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 10:39:47 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Il giorno mar 3 dic 2019 alle ore 08:00 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 02.12.19 um 22:04 schrieb Jussi Lahtinen: > > > Then how can you reply to them!?? > > Also .tar.gz files are *not* blocked by gmail. Unless they contain > > forbidden files. > > Ok you are right. But: > ... > > Btw. Google is the only provider doing that. > I with gmail correctly receive the Gambas ML and all the attachments (tar.gz), thanks to the indications received from Jussi and Lee here: https://lists.gambas-basic.org/pipermail/user/2018-December/066077.html However, I think the use of https://paste.c-net.org/ can solve problems with everyone. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Dec 3 10:53:47 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 10:53:47 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Il giorno mar 3 dic 2019 alle ore 10:39 Gianluigi ha scritto: > > > Il giorno mar 3 dic 2019 alle ore 08:00 Christof Thalhofer < > chrisml at deganius.de> ha scritto: > >> Am 02.12.19 um 22:04 schrieb Jussi Lahtinen: >> >> > Then how can you reply to them!?? >> > Also .tar.gz files are *not* blocked by gmail. Unless they contain >> > forbidden files. >> >> Ok you are right. But: >> ... >> >> Btw. Google is the only provider doing that. >> > > I with gmail correctly receive the Gambas ML and all the attachments > (tar.gz), thanks to the indications received from Jussi and Lee here: > https://lists.gambas-basic.org/pipermail/user/2018-December/066077.html > > However, I think the use of https://paste.c-net.org/ can solve problems > with everyone. > I forgot, @Christof, I think you should enter a little help for newcomers explaining how to get attachments from the archive. A doubt: how long is the attachment in paste.c? Finding solutions to questions is important for research purposes. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at cd-bahia.com Tue Dec 3 13:46:48 2019 From: gambas at cd-bahia.com (Dag Jarle Nerland Johansen - Gambas) Date: Tue, 3 Dec 2019 13:46:48 +0100 Subject: [Gambas-user] Write protected array Message-ID: Hi, how can it be, I get? the error "Write protected array" on a PC, and on the one where I programmed it, not? I copied the project folder to the other PC and tried to run. Before I sat ownership and mode. Thanks in advance, Dag From taboege at gmail.com Tue Dec 3 13:59:10 2019 From: taboege at gmail.com (Tobias Boege) Date: Tue, 3 Dec 2019 13:59:10 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: References: Message-ID: <20191203125910.GB3026@highrise.localdomain> On Tue, 03 Dec 2019, Dag Jarle Nerland Johansen - Gambas wrote: > Hi, > how can it be, I get? the error "Write protected array" on a PC, and on the > one where I programmed it, not? > I copied the project folder to the other PC and tried to run. > Before I sat ownership and mode. > Thanks in advance, > Dag > Do both systems have different Gambas versions perhaps? Regrads, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at cd-bahia.com Tue Dec 3 14:15:26 2019 From: gambas at cd-bahia.com (Dag Jarle Nerland Johansen - Gambas) Date: Tue, 3 Dec 2019 14:15:26 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: References: Message-ID: I correct myself, I get the write protection error on the original PC/software too. But I havent changed a bit of the source since a year, why now? Am 2019-12-03 um 13:46 schrieb Dag Jarle Nerland Johansen - Gambas: > Hi, > how can it be, I get? the error "Write protected array" on a PC, and > on the one where I programmed it, not? > I copied the project folder to the other PC and tried to run. > Before I sat ownership and mode. > Thanks in advance, > Dag > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From gambas at cd-bahia.com Tue Dec 3 14:18:04 2019 From: gambas at cd-bahia.com (Dag Jarle Nerland Johansen - Gambas) Date: Tue, 3 Dec 2019 14:18:04 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: References: Message-ID: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> As I said in the? my reply to myself, I have it on the original too. I oversaw that, because I use the compiled version since a long time. I assume something changed in Gambas itself, but what? Am 2019-12-03 um 13:46 schrieb Dag Jarle Nerland Johansen - Gambas: > Hi, > how can it be, I get? the error "Write protected array" on a PC, and > on the one where I programmed it, not? > I copied the project folder to the other PC and tried to run. > Before I sat ownership and mode. > Thanks in advance, > Dag > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From jussi.lahtinen at gmail.com Tue Dec 3 15:55:53 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 3 Dec 2019 16:55:53 +0200 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Just testing. Anyone got this mail and the attachment? Jussi On Tue, Dec 3, 2019 at 9:00 AM Christof Thalhofer wrote: > Am 02.12.19 um 22:04 schrieb Jussi Lahtinen: > > > Then how can you reply to them!?? > > Also .tar.gz files are *not* blocked by gmail. Unless they contain > > forbidden files. > > Ok you are right. But: > > Gmail blocked and bounced *all* mails which were sent by the mailinglist > to Gmail accounts and contained SpinFloat-0.0.1.tar.gz. > > Here is the reason Google gave: > > > https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en > > It says it blocks files with these endings: > > ".ade, .adp, .apk, .appx, .appxbundle, .bat, .cab, .chm, .cmd, .com, > .cpl, .dll, .dmg, .exe, .hta, .ins, .isp, .iso, .jar, .js, .jse, .lib, > .lnk, .mde, .msc, .msi, .msix, .msixbundle, .msp, .mst, .nsh, .pif, > .ps1, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vxd, .wsc, .wsf, .wsh" > > But none of these can be found in SpinFloat-0.0.1.tar.gz as I can see. > > Btw. Google is the only provider doing that. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SpinFloat-0.0.1.tar.gz Type: application/gzip Size: 14301 bytes Desc: not available URL: From chrisml at deganius.de Tue Dec 3 16:07:12 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 3 Dec 2019 16:07:12 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: <8b5170cf-e88b-da97-bbfd-49afa76e74ab@deganius.de> Am 03.12.19 um 15:55 schrieb Jussi Lahtinen: > Just testing. Anyone got this mail and the attachment? I got it. Alles Gute Christof Thalhofer -- [x] nail here for new monitor From taboege at gmail.com Tue Dec 3 16:08:37 2019 From: taboege at gmail.com (Tobias Boege) Date: Tue, 3 Dec 2019 16:08:37 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> References: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> Message-ID: <20191203150837.GC3026@highrise.localdomain> On Tue, 03 Dec 2019, Dag Jarle Nerland Johansen - Gambas wrote: > As I said in the? my reply to myself, > I have it on the original too. > I oversaw that, because I use the compiled version since a long time. > I assume something changed in Gambas itself, but what? > Quite possibly the introduction of read-only arrays with 3.14. There was a recent bug [1] about embedded arrays being read-only, maybe that's relevant for your case. Without the Gambas versions you use and a minimal project which reproduces the faulty behavior, the only way for people to help you is by guessing around. Regards, Tobi [1] https://lists.gambas-basic.org/pipermail/bugtracker/2019-November/001983.html -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at deganius.de Tue Dec 3 17:10:43 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 3 Dec 2019 17:10:43 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Am 03.12.19 um 15:55 schrieb Jussi Lahtinen: > Just testing. Anyone got this mail and the attachment? I see a lot of bounces (about 150 or so). Each like this: > : host > gmail-smtp-in.l.google.com[2a00:1450:4013:c07::1a] said: 552-5.7.0 This > message was blocked because its content presents a potential 552-5.7.0 > security issue. Please visit 552-5.7.0 > https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 > message content and attachment content guidelines. e17si2269383ejd.249 - > gsmtp (in reply to end of DATA command) And so on ... :-( 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 bagonergi at gmail.com Tue Dec 3 17:51:16 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 17:51:16 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: <8b5170cf-e88b-da97-bbfd-49afa76e74ab@deganius.de> References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <8b5170cf-e88b-da97-bbfd-49afa76e74ab@deganius.de> Message-ID: Il giorno mar 3 dic 2019 alle ore 17:02 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 03.12.19 um 15:55 schrieb Jussi Lahtinen: > > > Just testing. Anyone got this mail and the attachment? > > I got it. > > Alles Gute > > Christof Thalhofer > > -- > [x] nail here for new monitor > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > No, I didn't receive it and it's not in the spam folder. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Dec 3 18:00:49 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 18:00:49 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: <20191203150837.GC3026@highrise.localdomain> References: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> <20191203150837.GC3026@highrise.localdomain> Message-ID: Il giorno mar 3 dic 2019 alle ore 17:04 Tobias Boege ha scritto: > On Tue, 03 Dec 2019, Dag Jarle Nerland Johansen - Gambas wrote: > > As I said in the my reply to myself, > > I have it on the original too. > > I oversaw that, because I use the compiled version since a long time. > > I assume something changed in Gambas itself, but what? > > > > Quite possibly the introduction of read-only arrays with 3.14. > There was a recent bug [1] about embedded arrays being read-only, > maybe that's relevant for your case. > > [1] > https://lists.gambas-basic.org/pipermail/bugtracker/2019-November/001983.html > Yes, it could be a bug in the new property. See also here (*) Regards Gianluigi (*) https://forum.gambas.one/viewtopic.php?p=2131&sid=58502d4a1185eeff099c57e5aec5fcbf#p2131 -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Dec 3 18:06:08 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 3 Dec 2019 12:06:08 -0500 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: <8b5170cf-e88b-da97-bbfd-49afa76e74ab@deganius.de> References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <8b5170cf-e88b-da97-bbfd-49afa76e74ab@deganius.de> Message-ID: <44e3a2fc-636d-86c8-7868-e040d58e81e7@gmail.com> I did not get it; using Gmail. ___ Lee On 12/3/19 10:07 AM, Christof Thalhofer wrote: > Am 03.12.19 um 15:55 schrieb Jussi Lahtinen: > >> Just testing. Anyone got this mail and the attachment? > > I got it. > > Alles Gute > > Christof Thalhofer > From bagonergi at gmail.com Tue Dec 3 18:13:46 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 18:13:46 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: Il giorno mar 3 dic 2019 alle ore 18:05 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 03.12.19 um 15:55 schrieb Jussi Lahtinen: > > > Just testing. Anyone got this mail and the attachment? > > I see a lot of bounces (about 150 or so). Each like this: > > > : host > > gmail-smtp-in.l.google.com[2a00:1450:4013:c07::1a] said: 552-5.7.0 > This > > message was blocked because its content presents a potential > 552-5.7.0 > > security issue. Please visit 552-5.7.0 > > https://support.google.com/mail/?p=BlockedMessage to review our 552 > 5.7.0 > > message content and attachment content guidelines. > e17si2269383ejd.249 - > > gsmtp (in reply to end of DATA command) > > And so on ... > > :-( > Christof, are you sure that google is not boycotting you? :-( Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From johny.provoost at skynet.be Tue Dec 3 18:22:33 2019 From: johny.provoost at skynet.be (Johny Provoost) Date: Tue, 3 Dec 2019 18:22:33 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> References: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> Message-ID: Op 3/12/2019 om 14:18 schreef Dag Jarle Nerland Johansen - Gambas: > As I said in the?? my reply to myself, > I have it on the original too. > I oversaw that, because I use the compiled version since a long time. > I assume something changed in Gambas itself, but what? > > Am 2019-12-03 um 13:46 schrieb Dag Jarle Nerland Johansen - Gambas: >> Hi, >> how can it be, I get?? the error "Write protected array" on a PC, and >> on the one where I programmed it, not? >> I copied the project folder to the other PC and tried to run. >> Before I sat ownership and mode. >> Thanks in advance, >> Dag >> >> Got the same problem since 3.14.2 with some projects Remembered the problem from mails some while ago. The defenition arrays? of ??? Public RLBallsPosition[37] As Integer had to change to ??? Public RLBallsPosition As New Integer[37] That solved my problem. Johny From taboege at gmail.com Tue Dec 3 21:59:09 2019 From: taboege at gmail.com (Tobias Boege) Date: Tue, 3 Dec 2019 21:59:09 +0100 Subject: [Gambas-user] Write protected array In-Reply-To: References: <2dffa5b4-bf0a-3fff-5f77-ed3dd2a3b886@cd-bahia.com> <20191203150837.GC3026@highrise.localdomain> Message-ID: <20191203205909.GE3026@highrise.localdomain> On Tue, 03 Dec 2019, Dag Jarle Nerland Johansen - Gambas wrote: > I still can't really make it, so here some source sniplets, where the error > occurs. > Gambas Version 3.14.2 > > Declaration: > Public sortname_LOGO[9, 2] As String > If I try? Public sortname_LOGO[9, 2] As New String > it? makes another error here (I only have that in German: "NEW und > eingebetteter array kann nicht kombiniert werden", I assume "NEW and > embedded array can't be combined") > Your translation is correct. It is the same error that I linked to earlier and that Johny also recalled. There is a bug in Gambas 3.14.X where the kind of array you use (embedded arrays) are read-only by default. This has already been fixed on master but there was no 3.14.3 release yet. You can work around this bug right now by turning your embedded array declaration Public sortname_LOGO[9, 2] As String into a real array Public sortname_LOGO As New String[9, 2] And why are you using embedded arrays in the first place? Normal arrays have many advantages over embedded arrays, such as: - they can grow and shrink dynamically, - their lifetime is not bound to the containing object, - they can be local variables. The only virtue of embedded arrays is that they are placed compactly inside the containing object, making them suitable to interact with native libraries. If you are not doing that, embedded arrays should be avoided. There is no reason to use them. Although this advice has nothing to do with this particular bug here. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at deganius.de Tue Dec 3 22:48:43 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 3 Dec 2019 22:48:43 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> Message-ID: <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> Am 03.12.19 um 18:13 schrieb Gianluigi: > Christof, > are you sure that google is not boycotting you? > > :-( No. It's boycotting you respective the mailinglist ... I maintain the mailinglist. Google is boycotting the Gambas mailinglists and I see that Gmail bounces mails from the mailinglist to Gmail accounts because I receive the bounces. For one mail that Google does not like (like your's with the attachment SpinFloat-0.0.1.tar.gz) I receive a lot of bounces, one for each member of the mailinglist with a Gmail account. I have no problem to receive your mail which contained SpinFloat-0.0.1.tar.gz because I have my own mailserver (degmail.deganius.de). And if someone has a mail account at a *reliable provider* this one would also receive *every* mail from the mailinglist. Spam and fraud detection is expensive. Google says: "Attachment with tar.gz and something weird in it? I'll bounce it back and do not deliver it to my customer. If it contains a virus or not." That's cheap. Look. I handle with email for about 20 years for my firm and for other firms. Email is absolutely reliable, if done right. But what Google does makes me angry. First they say to everybody: "Come to us, you get a free email account with plenty of space." And then they make something *not reliable* out of email. And if you complain about that they say: "Upload files and folders to Google Drive [so that we can explore you]". https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en Fuck off, Google! They destroy email. The only thing I can recommend to everyone here is: If you want to have a working mailing list, use a reliable mail propvier and pay a few euro per year for it. 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 bagonergi at gmail.com Tue Dec 3 23:54:07 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 3 Dec 2019 23:54:07 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> Message-ID: Il giorno mar 3 dic 2019 alle ore 22:49 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 03.12.19 um 18:13 schrieb Gianluigi: > > > Christof, > > are you sure that google is not boycotting you? > > > > :-( > > No. It's boycotting you respective the mailinglist ... > > I maintain the mailinglist. Google is boycotting the Gambas mailinglists > and I see that Gmail bounces mails from the mailinglist to Gmail > accounts because I receive the bounces. For one mail that Google does > not like (like your's with the attachment SpinFloat-0.0.1.tar.gz) I > receive a lot of bounces, one for each member of the mailinglist with a > Gmail account. > > I have no problem to receive your mail which contained > SpinFloat-0.0.1.tar.gz because I have my own mailserver > (degmail.deganius.de). And if someone has a mail account at a *reliable > provider* this one would also receive *every* mail from the mailinglist. > > Spam and fraud detection is expensive. Google says: > > "Attachment with tar.gz and something weird in it? I'll bounce it back > and do not deliver it to my customer. If it contains a virus or not." > > That's cheap. > > Look. I handle with email for about 20 years for my firm and for other > firms. Email is absolutely reliable, if done right. But what Google does > makes me angry. First they say to everybody: "Come to us, you get a free > email account with plenty of space." > > And then they make something *not reliable* out of email. And if you > complain about that they say: "Upload files and folders to Google Drive > [so that we can explore you]". > > > https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en > > Fuck off, Google! They destroy email. > > The only thing I can recommend to everyone here is: If you want to have > a working mailing list, use a reliable mail propvier and pay a few euro > per year for it. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > It is not a question of cost, even though as a Genoese I appreciate the saving. :-) I switched to gmail because, with my old Italian provider, my mail was bounced from gmail and since most had gmail I thought it was better to change. It looks like a dead end street. Either we all change or only one does little. I think the right thing would be to try to live with the monster. But how? Nothing can be done with GitLab? I had also proposed to create an official forum, a participation fee could be decided. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Dec 4 00:00:36 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Dec 2019 01:00:36 +0200 Subject: [Gambas-user] Gambas libraries Message-ID: Hi! When project is run in IDE, is it possible to automatically recompile all its Gambas made libraries, before IDE starts to run the project? Or maybe simply support for before run scripts? That way also C libraries could be compiled before running the project in IDE. Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Dec 4 00:10:11 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Dec 2019 00:10:11 +0100 Subject: [Gambas-user] Gambas libraries In-Reply-To: References: Message-ID: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> Le 04/12/2019 ? 00:00, Jussi Lahtinen a ?crit?: > Hi! > When project is run in IDE, is it possible to automatically recompile > all its Gambas made libraries, before IDE starts to run the project? The IDE does not know where are the sources of the library your project depends on. It sees only the *.gambas executable located in a standard path in your home directory. So it cannot recompile it automatically. > Or maybe simply support for before run scripts? That way also C > libraries could be compiled before running the project in IDE. > This is something else. I was thinking of providing many hooks in the IDE for custom scripts, some sort of extensions as external Gambas project, but never had the time to do it. Maybe something to do for 3.15? -- Beno?t Minisini From jussi.lahtinen at gmail.com Wed Dec 4 00:15:43 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Dec 2019 01:15:43 +0200 Subject: [Gambas-user] Gambas libraries In-Reply-To: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> Message-ID: Excellent! Jussi On Wed, Dec 4, 2019 at 1:10 AM Beno?t Minisini wrote: > Le 04/12/2019 ? 00:00, Jussi Lahtinen a ?crit : > > Hi! > > When project is run in IDE, is it possible to automatically recompile > > all its Gambas made libraries, before IDE starts to run the project? > > The IDE does not know where are the sources of the library your project > depends on. It sees only the *.gambas executable located in a standard > path in your home directory. > > So it cannot recompile it automatically. > > > Or maybe simply support for before run scripts? That way also C > > libraries could be compiled before running the project in IDE. > > > > This is something else. I was thinking of providing many hooks in the > IDE for custom scripts, some sort of extensions as external Gambas > project, but never had the time to do it. Maybe something to do for 3.15? > > -- > Beno?t Minisini > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cedron at exede.net Wed Dec 4 04:58:44 2019 From: cedron at exede.net (Cedron Dawg) Date: Tue, 3 Dec 2019 22:58:44 -0500 (EST) Subject: [Gambas-user] Gambas libraries In-Reply-To: References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> Message-ID: <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> Jussi, Maybe you could expand upon this: https://forum.gambas.one/viewtopic.php?f=4&t=688 I've actually improved upon it a little bit, but I'd have to go look for that if you are interested. Ced ----- Original Message ----- From: "Jussi Lahtinen" To: "Beno?t Minisini" Cc: "user" Sent: Tuesday, December 3, 2019 6:15:43 PM Subject: Re: [Gambas-user] Gambas libraries Excellent! Jussi On Wed, Dec 4, 2019 at 1:10 AM Beno?t Minisini < [ mailto:g4mba5 at gmail.com | g4mba5 at gmail.com ] > wrote: Le 04/12/2019 ? 00:00, Jussi Lahtinen a ?crit : > Hi! > When project is run in IDE, is it possible to automatically recompile > all its Gambas made libraries, before IDE starts to run the project? The IDE does not know where are the sources of the library your project depends on. It sees only the *.gambas executable located in a standard path in your home directory. So it cannot recompile it automatically. > Or maybe simply support for before run scripts? That way also C > libraries could be compiled before running the project in IDE. > This is something else. I was thinking of providing many hooks in the IDE for custom scripts, some sort of extensions as external Gambas project, but never had the time to do it. Maybe something to do for 3.15? -- Beno?t Minisini ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From bagonergi at gmail.com Wed Dec 4 10:31:43 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 10:31:43 +0100 Subject: [Gambas-user] Test of mail received Message-ID: If you have received my email, you can kindly reply. Thanks Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Dec 4 10:58:48 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 4 Dec 2019 10:58:48 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: Message-ID: Am 04.12.19 um 10:31 schrieb Gianluigi: > If you have received my email, you can kindly reply. Please not in the mailinglist. Everybody receives your mail to the mailinglist except when you add an attachment with a gambas project in it and the ending tar.gz. Then no member with a Gmail account receives it. 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 bagonergi at gmail.com Wed Dec 4 11:08:57 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 11:08:57 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: Message-ID: Il giorno mer 4 dic 2019 alle ore 10:59 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 04.12.19 um 10:31 schrieb Gianluigi: > > If you have received my email, you can kindly reply. > > Please not in the mailinglist. > > Everybody receives your mail to the mailinglist except when you add an > attachment with a gambas project in it and the ending tar.gz. > > Then no member with a Gmail account receives it. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Excuse Christof, but it seems that this is not the case. For example here (*) and I have not attached anything. Regards Gianluigi (*) https://lists.gambas-basic.org/pipermail/user/2019-December/068234.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Dec 4 11:23:52 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 4 Dec 2019 11:23:52 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: Message-ID: Am 04.12.19 um 11:08 schrieb Gianluigi: > Excuse Christof, but it seems that this is not the case. > For example here (*) and I have not attached anything. > (*) https://lists.gambas-basic.org/pipermail/user/2019-December/068234.html I received it. Why do you think that it was not delivered correctly? It seems that noone answered ... I didn't see any bounces from that mail. As far I can see now it went through without problems. If a mail is rejected by mailservers mailman sends me the bounces. I got no single bounce from that mail. 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 Wed Dec 4 11:43:16 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 4 Dec 2019 11:43:16 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> Message-ID: Dear Gianluigi, Am 03.12.19 um 23:54 schrieb Gianluigi: > It is not a question of cost, even though as a Genoese I appreciate the > saving. :-) :-) > I switched to gmail because, with my old Italian provider, my mail was > bounced from gmail and since most had gmail I thought it was better to > change. So you switched over to a provider that destroyes mail because it destroyes mail? > It looks like a dead end street. Mail is a free communication protocol. The big ones want to destroy it because they want to lock the users in their wallet gardens. Every free protocol with free servers which talk to each other they don't like. But it's in our responsibility. If we give up the free protocols and services we lock our communication into the jails of GAFA (Google, Apple, Facebook and Amazon). And there we are fucked up. > Either we all change or only one does little. > I think the right thing would be to try to live with the monster. But how? We should demand that Google does mail correct. There are at minimum european authorities which should be informed about that case. Maybe I ask the Hostsharing people. The lawyers there occassionally do fights against majors like Deutsche Telekom and others. They can and will talk to the antitrust authorities. > Nothing can be done with GitLab? To the next wallet garden? > I had also proposed to create an official forum, a participation fee > could be decided. A forum is nice but mailinglists are a lot better, more open ... Mail is an open protocol, can be handled with lots of software and different machines, a forum is only a special piece of software. If the development stops it is gone. 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 bagonergi at gmail.com Wed Dec 4 13:21:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 13:21:52 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> Message-ID: Il giorno mer 4 dic 2019 alle ore 11:44 Christof Thalhofer < chrisml at deganius.de> ha scritto: > > So you switched over to a provider that destroyes mail because it > destroyes mail? > at the time it seemed like a smart move :-( Thank you very much for the answers Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Dec 4 13:28:21 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 13:28:21 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: Message-ID: Il giorno mer 4 dic 2019 alle ore 11:24 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 04.12.19 um 11:08 schrieb Gianluigi: > > > Excuse Christof, but it seems that this is not the case. > > For example here (*) and I have not attached anything. > > > (*) > https://lists.gambas-basic.org/pipermail/user/2019-December/068234.html > > I received it. Why do you think that it was not delivered correctly? It > seems that noone answered ... > > I didn't see any bounces from that mail. As far I can see now it went > through without problems. > > If a mail is rejected by mailservers mailman sends me the bounces. I got > no single bounce from that mail. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > So I was just ignored by the naughty Tobias :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Wed Dec 4 14:16:03 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 4 Dec 2019 14:16:03 +0100 Subject: [Gambas-user] Decimal values on a SpinBox In-Reply-To: References: <0cf7f2b3-475d-2b94-7b2f-97b4ad0d9992@deganius.de> <1e92fdc4-4ce9-286d-e8af-c65cb9250caf@deganius.de> Message-ID: I cant see where the security issue is... They don't say tarball are blocked and there is no file extension in gambas source file that look like a forbiden one... It's weird. Normally our archives must be accepted. There is certainly a bug in the google filters ... But I think the cost to repare it is too high for a so few use. Maybe an IDE internal mail manager connected to another account than gmail.. could be my way. Well it's not Time for that I return finish my scanning tool :-P -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Dec 4 14:30:04 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Dec 2019 15:30:04 +0200 Subject: [Gambas-user] Gambas libraries In-Reply-To: <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> Message-ID: That doesn't work for Gambas libraries (at least in my case), because once you execute the code to compile them, they are already loaded to memory. Jussi On Wed, Dec 4, 2019 at 6:19 AM Cedron Dawg wrote: > Jussi, > > Maybe you could expand upon this: > > https://forum.gambas.one/viewtopic.php?f=4&t=688 > > I've actually improved upon it a little bit, but I'd have to go look for > that if you are interested. > > Ced > > ----- Original Message ----- > From: "Jussi Lahtinen" > To: "Beno?t Minisini" > Cc: "user" > Sent: Tuesday, December 3, 2019 6:15:43 PM > Subject: Re: [Gambas-user] Gambas libraries > > Excellent! > > Jussi > > On Wed, Dec 4, 2019 at 1:10 AM Beno?t Minisini < [ mailto:g4mba5 at gmail.com > | g4mba5 at gmail.com ] > wrote: > > > Le 04/12/2019 ? 00:00, Jussi Lahtinen a ?crit : > > Hi! > > When project is run in IDE, is it possible to automatically recompile > > all its Gambas made libraries, before IDE starts to run the project? > > The IDE does not know where are the sources of the library your project > depends on. It sees only the *.gambas executable located in a standard > path in your home directory. > > So it cannot recompile it automatically. > > > Or maybe simply support for before run scripts? That way also C > > libraries could be compiled before running the project in IDE. > > > > This is something else. I was thinking of providing many hooks in the > IDE for custom scripts, some sort of extensions as external Gambas > project, but never had the time to do it. Maybe something to do for 3.15? > > -- > Beno?t Minisini > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at cd-bahia.com Wed Dec 4 15:33:06 2019 From: gambas at cd-bahia.com (Dag Jarle Nerland Johansen - Gambas) Date: Wed, 4 Dec 2019 15:33:06 +0100 Subject: [Gambas-user] Tab in combobox Message-ID: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> Hi, when I make comboboxes, and want to use the keyboard to get to the next field, usually the tab-key is appropriate. In a combobox the text only get marked, and the cursor remains in the field. Is this normal, or is another key needed? Thanks in advance, Dag From bagonergi at gmail.com Wed Dec 4 15:56:45 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 15:56:45 +0100 Subject: [Gambas-user] Tab in combobox In-Reply-To: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> References: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> Message-ID: Il giorno mer 4 dic 2019 alle ore 15:34 Dag Jarle Nerland Johansen - Gambas ha scritto: > Hi, > when I make comboboxes, and want to use the keyboard to get to the next > field, usually the tab-key is appropriate. > In a combobox the text only get marked, and the cursor remains in the > field. > Is this normal, or is another key needed? > Thanks in advance, > Dag > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Tab is only for next control Key Up an Key Down to next and previous item Ctrl+A = Select all combo item text Ctrl+Z = Undo Ctrl+Shift+Z = Redo ctrl+X (C or V) for cut, copy or paste. Inform me if you received this email Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Wed Dec 4 16:34:51 2019 From: charlie at cogier.com (Charlie Ogier) Date: Wed, 4 Dec 2019 15:34:51 +0000 Subject: [Gambas-user] Tab in combobox In-Reply-To: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> References: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> Message-ID: <3a1c7102-79b9-445e-1d16-7ad949ad64c7@cogier.com> Hi Dag, This could be a bug as using [Shift]+[Tab] works fine Charlie On 04/12/2019 14:33, Dag Jarle Nerland Johansen - Gambas wrote: > Hi, > when I make comboboxes, and want to use the keyboard to get to the > next field, usually the tab-key is appropriate. > In a combobox the text only get marked, and the cursor remains in the > field. > Is this normal, or is another key needed? > Thanks in advance, > Dag > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From charlie at cogier.com Wed Dec 4 16:47:04 2019 From: charlie at cogier.com (Charlie Ogier) Date: Wed, 4 Dec 2019 15:47:04 +0000 Subject: [Gambas-user] Tab in combobox In-Reply-To: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> References: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> Message-ID: <2f80a98a-3ffe-f6e1-253b-e9b97e3412e3@cogier.com> Hi Dag, If you use 'gb.gui.qt' and not 'gb.gui' then it works as expected. Charlie On 04/12/2019 14:33, Dag Jarle Nerland Johansen - Gambas wrote: > Hi, > when I make comboboxes, and want to use the keyboard to get to the > next field, usually the tab-key is appropriate. > In a combobox the text only get marked, and the cursor remains in the > field. > Is this normal, or is another key needed? > Thanks in advance, > Dag > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From cedron at exede.net Wed Dec 4 17:12:11 2019 From: cedron at exede.net (Cedron Dawg) Date: Wed, 4 Dec 2019 11:12:11 -0500 (EST) Subject: [Gambas-user] Gambas libraries In-Reply-To: References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> Message-ID: <406503101.28719445.1575475931051.JavaMail.zimbra@exede.net> Yes, it would require a restart of Gambas. Is that too high a price? ----- Original Message ----- From: "Jussi Lahtinen" To: "user" Sent: Wednesday, December 4, 2019 8:30:04 AM Subject: Re: [Gambas-user] Gambas libraries That doesn't work for Gambas libraries (at least in my case), because once you execute the code to compile them, they are already loaded to memory. Jussi On Wed, Dec 4, 2019 at 6:19 AM Cedron Dawg < [ mailto:cedron at exede.ne From gbWilly at protonmail.com Wed Dec 4 17:18:18 2019 From: gbWilly at protonmail.com (gbWilly) Date: Wed, 04 Dec 2019 16:18:18 +0000 Subject: [Gambas-user] Just for interest, size of Gambas projects? In-Reply-To: References: Message-ID: Mine is a librray of 49421 lines of code. gbWilly Sent with [ProtonMail](https://protonmail.com) Secure Email. ??????? Original Message ??????? On Sunday, December 1, 2019 3:16 PM, Jussi Lahtinen wrote: > Yes, it's not that good measure. Just for interest, not for competition. > Generally less code is better, with obvious exceptions like performance critical algorithms and readability. > > BTW, look at lines in Linux kernel. > > Jussi > > On Sun, Dec 1, 2019 at 11:03 AM Bruce wrote: > >> Followed the rest of this conversation. But what I find is interesting >> from my point of view is that the "biggest" single project in the horse >> auctions system was about 3000 lines of code. >> >> But when I turned the source code over to the shareholders this year the >> total size of the source was over 300GB. This, of course, included a >> truck load of documentation. However, the entire system involved >> (guessing here ..) 50 or so UI projects and about 80 libraries and >> components. >> >> I guess that I just "modularise" a lot! :-) :-( ;-! >> >> b >> >> On 28/11/19 11:47 pm, Jussi Lahtinen wrote: >>> As the topic says, what is your biggest Gambas project? >>> I'm interested in how big projects Gambas is used. >>> >>> IDE --> Project properties --> Statistics --> Lines of code >>> >>> I know lines of code is quite bad metric, but it gives some picture. >>> My typical project is very small, but my biggest is 52 316 lines. >>> >>> IDE is about 82 000 lines. >>> >>> >>> Jussi >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Wed Dec 4 18:22:31 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 4 Dec 2019 12:22:31 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: References: Message-ID: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> On 12/4/19 4:58 AM, Christof Thalhofer wrote: > Am 04.12.19 um 10:31 schrieb Gianluigi: >> If you have received my email, you can kindly reply. > > Please not in the mailinglist. > > Everybody receives your mail to the mailinglist except when you add an > attachment with a gambas project in it and the ending tar.gz. > > Then no member with a Gmail account receives it. > > Alles Gute > > Christof Thalhofer > That cannot be the absolute case, Christof. It is true that I did not receive Gianluigi's mail with SpinFloat-0.0.1.tar.gz attached. However, I did receive Charlie's Dec 1 mail which contained two tar.gz files: SmoothMarquee.tar.gz and SimpleMarquee.tar.gz. Google's list of blocked file types [0] is only exemplary. It is not necessarily an exhaustive list. I see a glaring difference between the files sent by Gianluigi and Charlie. The file sent by Gianluigi contains HTML files. ___ Lee [0] https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en From jussi.lahtinen at gmail.com Wed Dec 4 18:56:03 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Dec 2019 19:56:03 +0200 Subject: [Gambas-user] Gambas libraries In-Reply-To: <406503101.28719445.1575475931051.JavaMail.zimbra@exede.net> References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> <406503101.28719445.1575475931051.JavaMail.zimbra@exede.net> Message-ID: I could as well click on compile and then restart. Why to see the trouble to get half way through? Jussi On Wed, Dec 4, 2019 at 6:14 PM Cedron Dawg wrote: > Yes, it would require a restart of Gambas. Is that too high a price? > > ----- Original Message ----- > From: "Jussi Lahtinen" > To: "user" > Sent: Wednesday, December 4, 2019 8:30:04 AM > Subject: Re: [Gambas-user] Gambas libraries > > That doesn't work for Gambas libraries (at least in my case), because once > you execute the code to compile them, they are already loaded to memory. > > > Jussi > > On Wed, Dec 4, 2019 at 6:19 AM Cedron Dawg < [ mailto:cedron at exede.ne > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Dec 4 18:57:42 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Dec 2019 19:57:42 +0200 Subject: [Gambas-user] Gambas libraries In-Reply-To: References: <9b4ab255-3dd1-e76d-b56f-386dc6868f10@gmail.com> <418013607.28185896.1575431924506.JavaMail.zimbra@exede.net> <406503101.28719445.1575475931051.JavaMail.zimbra@exede.net> Message-ID: The idea was to make everything automatic, so that I wont run into invalid test runs, because I forgot to do something. Jussi On Wed, Dec 4, 2019 at 7:56 PM Jussi Lahtinen wrote: > I could as well click on compile and then restart. Why to see the trouble > to get half way through? > > > Jussi > > On Wed, Dec 4, 2019 at 6:14 PM Cedron Dawg wrote: > >> Yes, it would require a restart of Gambas. Is that too high a price? >> >> ----- Original Message ----- >> From: "Jussi Lahtinen" >> To: "user" >> Sent: Wednesday, December 4, 2019 8:30:04 AM >> Subject: Re: [Gambas-user] Gambas libraries >> >> That doesn't work for Gambas libraries (at least in my case), because >> once you execute the code to compile them, they are already loaded to >> memory. >> >> >> Jussi >> >> On Wed, Dec 4, 2019 at 6:19 AM Cedron Dawg < [ mailto:cedron at exede.ne >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at cd-bahia.com Wed Dec 4 20:53:48 2019 From: gambas at cd-bahia.com (Dag Jarle Nerland Johansen - Gambas) Date: Wed, 4 Dec 2019 20:53:48 +0100 Subject: [Gambas-user] Tab in combobox In-Reply-To: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> References: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> Message-ID: <2ed3cd71-c1ed-8c9b-68aa-5d7b244f0fa0@cd-bahia.com> Hi again, sorry, up and down only scroll throgh the combobox Am 2019-12-04 um 15:33 schrieb Dag Jarle Nerland Johansen - Gambas: > Hi, > when I make comboboxes, and want to use the keyboard to get to the > next field, usually the tab-key is appropriate. > In a combobox the text only get marked, and the cursor remains in the > field. > Is this normal, or is another key needed? > Thanks in advance, > Dag > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From lapisdecor at gmail.com Wed Dec 4 21:19:24 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Wed, 4 Dec 2019 20:19:24 +0000 Subject: [Gambas-user] Test of mail received In-Reply-To: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> Message-ID: Google is probably using machine learning to filter spam. I think I'm receiving all email since I marked it as " it's not spam" on the spam folder. I'm not sure about tar.gz but could the original mail have a compiled file and the others not? A quarta, 4/12/2019, 17:23, T Lee Davidson escreveu: > On 12/4/19 4:58 AM, Christof Thalhofer wrote: > > Am 04.12.19 um 10:31 schrieb Gianluigi: > >> If you have received my email, you can kindly reply. > > > > Please not in the mailinglist. > > > > Everybody receives your mail to the mailinglist except when you add an > > attachment with a gambas project in it and the ending tar.gz. > > > > Then no member with a Gmail account receives it. > > > > Alles Gute > > > > Christof Thalhofer > > > > That cannot be the absolute case, Christof. > > It is true that I did not receive Gianluigi's mail with > SpinFloat-0.0.1.tar.gz attached. However, I did receive Charlie's Dec 1 > mail which contained two tar.gz files: SmoothMarquee.tar.gz and > SimpleMarquee.tar.gz. > > Google's list of blocked file types [0] is only exemplary. It is not > necessarily an exhaustive list. > > I see a glaring difference between the files sent by Gianluigi and > Charlie. The file sent by Gianluigi contains HTML files. > > > ___ > Lee > > [0] > https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Dec 4 23:40:14 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 4 Dec 2019 23:40:14 +0100 Subject: [Gambas-user] Tab in combobox In-Reply-To: <2ed3cd71-c1ed-8c9b-68aa-5d7b244f0fa0@cd-bahia.com> References: <173a55ad-4777-3b71-1a0f-df172bb6bbfc@cd-bahia.com> <2ed3cd71-c1ed-8c9b-68aa-5d7b244f0fa0@cd-bahia.com> Message-ID: I don't understand, are you talking about a normal ComboBox or another control? Can you attach an example? Regards Gianluigi Il giorno mer 4 dic 2019 alle ore 20:54 Dag Jarle Nerland Johansen - Gambas ha scritto: > Hi again, > sorry, up and down only scroll throgh the combobox > > Am 2019-12-04 um 15:33 schrieb Dag Jarle Nerland Johansen - Gambas: > > Hi, > > when I make comboboxes, and want to use the keyboard to get to the > > next field, usually the tab-key is appropriate. > > In a combobox the text only get marked, and the cursor remains in the > > field. > > Is this normal, or is another key needed? > > Thanks in advance, > > Dag > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Thu Dec 5 00:23:36 2019 From: adamnt42 at gmail.com (Bruce) Date: Thu, 5 Dec 2019 09:53:36 +1030 Subject: [Gambas-user] Test of mail received In-Reply-To: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> Message-ID: <270510e4-3d0e-0506-d697-73698cb6c586@gmail.com> Weird! I did NOT receive Charlies post until I searched through the junk mail. It was there complete with the attachments. I HAVE received every other post relating to this issue. b On 5/12/19 3:52 am, T Lee Davidson wrote: > On 12/4/19 4:58 AM, Christof Thalhofer wrote: >> Am 04.12.19 um 10:31 schrieb Gianluigi: >>> If you have received my email, you can kindly reply. >> >> Please not in the mailinglist. >> >> Everybody receives your mail to the mailinglist except when you add an >> attachment with a gambas project in it and the ending tar.gz. >> >> Then no member with a Gmail account receives it. >> >> Alles Gute >> >> Christof Thalhofer >> > > That cannot be the absolute case, Christof. > > It is true that I did not receive Gianluigi's mail with > SpinFloat-0.0.1.tar.gz attached. However, I did receive Charlie's Dec 1 > mail which contained two tar.gz files: SmoothMarquee.tar.gz and > SimpleMarquee.tar.gz. > > Google's list of blocked file types [0] is only exemplary. It is not > necessarily an exhaustive list. > > I see a glaring difference between the files sent by Gianluigi and > Charlie. The file sent by Gianluigi contains HTML files. > > > ___ > Lee > > [0] > https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From t.lee.davidson at gmail.com Thu Dec 5 01:14:44 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 4 Dec 2019 19:14:44 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> Message-ID: <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Luis, Your question prompted me to take another look at the comparison between the archive files of Charlie verses the file from Gianluigi. I realize now that what I stated earlier is incorrect. The file sent by Gianluigi does NOT contain HTML files. One of Charlie's does. (Apparently I need new glasses.) So, back to square one. I don't see much difference between the uncompressed projects, or at least nothing that could have caused Gianluigi's to bounce. Charlie's have .gitignore files and binary FMAIN, and Gianluigi's has a .component file. I have no clue at present what might have puckered up Google's butt. ___ Lee On 12/4/19 3:19 PM, Luis Louro wrote: > Google is probably using machine learning to filter spam. I think I'm receiving all email since I marked it as " it's not spam" > on the spam folder. I'm not sure about tar.gz but could the original mail have a compiled file and the others not? > > A quarta, 4/12/2019, 17:23, T Lee Davidson > escreveu: > > On 12/4/19 4:58 AM, Christof Thalhofer wrote: > > Am 04.12.19 um 10:31 schrieb Gianluigi: > >> If you have received my email, you can kindly reply. > > > > Please not in the mailinglist. > > > > Everybody receives your mail to the mailinglist except when you add an > > attachment with a gambas project in it and the ending tar.gz. > > > > Then no member with a Gmail account receives it. > > > > Alles Gute > > > > Christof Thalhofer > > > > That cannot be the absolute case, Christof. > > It is true that I did not receive Gianluigi's mail with SpinFloat-0.0.1.tar.gz attached. However, I did receive Charlie's Dec 1 > mail which contained two tar.gz files: SmoothMarquee.tar.gz and SimpleMarquee.tar.gz. > > Google's list of blocked file types [0] is only exemplary. It is not necessarily an exhaustive list. > > I see a glaring difference between the files sent by Gianluigi and Charlie. The file sent by Gianluigi contains HTML files. > > > ___ > Lee > > [0] https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637109081706241547-779792091&rd=1&hl=en > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From jussi.lahtinen at gmail.com Thu Dec 5 03:47:13 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 5 Dec 2019 04:47:13 +0200 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> References: <1621694.IkII3ccqVg@lordh-pc> <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> Message-ID: I just compiled the sources today and I still get the warning. See attached project. Jussi On Fri, Nov 22, 2019 at 12:41 AM Beno?t Minisini wrote: > Le 21/11/2019 ? 13:50, Laurent Carlier a ?crit : > > Le jeudi 21 novembre 2019, 02:38:28 CET Jussi Lahtinen a ?crit : > >> I have a lot of warnings: QPainter::begin: Painter already active > >> Is that warning necessary? I'm not using draw.begin, inside of _draw > event. > >> > >> > >> Jussi > > > > Whet's the gambas version? I fixed one of this warning in version 3.14.2 > > > > See > > https://gitlab.com/gambas/gambas/commit/ > > 07f35841a31be78a1af6996c3ece267a9b75dca4 > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > The fix is actually not in Gambas 3.14.2. It will be in the next release. > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PaintWarning-0.0.1.tar.gz Type: application/gzip Size: 11637 bytes Desc: not available URL: From t.lee.davidson at gmail.com Thu Dec 5 05:45:03 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 4 Dec 2019 23:45:03 -0500 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: References: <1621694.IkII3ccqVg@lordh-pc> <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> Message-ID: <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> I get NO error with v3.14.2. ___ Lee P.S. The .tar.gz file passed through Gmail. On 12/4/19 9:47 PM, Jussi Lahtinen wrote: > I just compiled the sources today and I still get the warning. See attached project. > > Jussi > > On Fri, Nov 22, 2019 at 12:41 AM Beno?t Minisini > wrote: > > Le 21/11/2019 ? 13:50, Laurent Carlier a ?crit?: > > Le jeudi 21 novembre 2019, 02:38:28 CET Jussi Lahtinen a ?crit : > >> I have a lot of warnings: QPainter::begin: Painter already active > >> Is that warning necessary? I'm not using draw.begin, inside of _draw event. > >> > >> > >> Jussi > > > > Whet's the gambas version? I fixed one of this warning in version 3.14.2 > > > > See > > https://gitlab.com/gambas/gambas/commit/ > > 07f35841a31be78a1af6996c3ece267a9b75dca4 > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > The fix is actually not in Gambas 3.14.2. It will be in the next release. > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From bagonergi at gmail.com Thu Dec 5 09:51:29 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 5 Dec 2019 09:51:29 +0100 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> References: <1621694.IkII3ccqVg@lordh-pc> <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> Message-ID: In console I get this: QPainter::begin: Painter already active [System] Gambas=3.14.90 328e86d (master) OperatingSystem=Linux Kernel=4.15.0-72-generic Architecture=x86_64 Distribution=Ubuntu 18.04.3 LTS Desktop=UBUNTU:GNOME Theme=Fusion Language=it_IT.UTF-8 Memory=15969M Regards Gianluigi P.S. The .tar.gz file passed through Gmail. Il giorno gio 5 dic 2019 alle ore 05:46 T Lee Davidson < t.lee.davidson at gmail.com> ha scritto: > I get NO error with v3.14.2. > > > ___ > Lee > > P.S. The .tar.gz file passed through Gmail. > > > On 12/4/19 9:47 PM, Jussi Lahtinen wrote: > > I just compiled the sources today and I still get the warning. See > attached project. > > > > Jussi > > > > On Fri, Nov 22, 2019 at 12:41 AM Beno?t Minisini > wrote: > > > > Le 21/11/2019 ? 13:50, Laurent Carlier a ?crit : > > > Le jeudi 21 novembre 2019, 02:38:28 CET Jussi Lahtinen a ?crit : > > >> I have a lot of warnings: QPainter::begin: Painter already active > > >> Is that warning necessary? I'm not using draw.begin, inside of > _draw event. > > >> > > >> > > >> Jussi > > > > > > Whet's the gambas version? I fixed one of this warning in version > 3.14.2 > > > > > > See > > > https://gitlab.com/gambas/gambas/commit/ > > > 07f35841a31be78a1af6996c3ece267a9b75dca4 > > > > > > > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > > > > The fix is actually not in Gambas 3.14.2. It will be in the next > release. > > > > -- > > Beno?t Minisini > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Thu Dec 5 14:49:39 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 5 Dec 2019 15:49:39 +0200 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> References: <1621694.IkII3ccqVg@lordh-pc> <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> Message-ID: Not error, but warning in the console. Did you check that? PS. Yes, as usual. Jussi On Thu, Dec 5, 2019 at 6:46 AM T Lee Davidson wrote: > I get NO error with v3.14.2. > > > ___ > Lee > > P.S. The .tar.gz file passed through Gmail. > > > On 12/4/19 9:47 PM, Jussi Lahtinen wrote: > > I just compiled the sources today and I still get the warning. See > attached project. > > > > Jussi > > > > On Fri, Nov 22, 2019 at 12:41 AM Beno?t Minisini > wrote: > > > > Le 21/11/2019 ? 13:50, Laurent Carlier a ?crit : > > > Le jeudi 21 novembre 2019, 02:38:28 CET Jussi Lahtinen a ?crit : > > >> I have a lot of warnings: QPainter::begin: Painter already active > > >> Is that warning necessary? I'm not using draw.begin, inside of > _draw event. > > >> > > >> > > >> Jussi > > > > > > Whet's the gambas version? I fixed one of this warning in version > 3.14.2 > > > > > > See > > > https://gitlab.com/gambas/gambas/commit/ > > > 07f35841a31be78a1af6996c3ece267a9b75dca4 > > > > > > > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > > > > The fix is actually not in Gambas 3.14.2. It will be in the next > release. > > > > -- > > Beno?t Minisini > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Thu Dec 5 15:56:24 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 5 Dec 2019 09:56:24 -0500 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: References: <1621694.IkII3ccqVg@lordh-pc> <8ffda199-0a55-885f-7bcb-276511d6112a@gmail.com> <0ddbde52-28e5-f2ef-278c-1ed39c01bdb2@gmail.com> Message-ID: <6abc1e8b-2fbb-841c-a31b-b22f9691e2fc@gmail.com> I did not check that previously. Just now, no warning in the IDE console. I created an executable and ran it from the command line in a real console. No warning. ___ Lee On 12/5/19 8:49 AM, Jussi Lahtinen wrote: > Not error, but warning in the console. Did you check that? > > PS. Yes, as usual. > > > Jussi > > On Thu, Dec 5, 2019 at 6:46 AM T Lee Davidson > wrote: > > I get NO error with v3.14.2. > > > ___ > Lee > > P.S. The .tar.gz file passed through Gmail. > From ivanwms64 at yahoo.com Thu Dec 5 18:09:35 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Thu, 5 Dec 2019 17:09:35 +0000 (UTC) Subject: [Gambas-user] using smtp to send mail References: <2031659168.3522971.1575565775537.ref@mail.yahoo.com> Message-ID: <2031659168.3522971.1575565775537@mail.yahoo.com> Greetings, I am trying to incorporate a routine within my program to send a email using gmail but I m receiving a 502 error when activating the routine.??? ? Dim Email As New SmtpClient ? Email.Host = "smtp.gmail.com"? Email.User = "joecool at gmail.com"? Email.Password = "snoopy" ? Email.From = "joecool at gmail.com"? Email.To.Add("woodstock at yahoo.com") ? Email.Subject = "Great Pumpkin"? Email.Body = "Pumpkin Patch" I am getting a 502 when trying to send the email - unable to authenticate error -? can anyone assist or point me in the right direction.?? Thank You Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Thu Dec 5 19:08:55 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 5 Dec 2019 13:08:55 -0500 Subject: [Gambas-user] using smtp to send mail In-Reply-To: <2031659168.3522971.1575565775537@mail.yahoo.com> References: <2031659168.3522971.1575565775537.ref@mail.yahoo.com> <2031659168.3522971.1575565775537@mail.yahoo.com> Message-ID: <1197524a-7241-6a19-86f7-181b0696349a@gmail.com> Gmail blocks access from what they call "unsecure applications" by default, if I recall correctly. You may need to log in to your Gmail account and specifically allow connections from unsecure apps. ___ Lee On 12/5/19 12:09 PM, Ivan Williams via User wrote: > > Greetings, > > I am trying to incorporate a routine within my program to send a email using gmail but I m receiving a 502 error when activating > the routine. > > ? Dim Email As New SmtpClient > > ? Email.Host = "smtp.gmail.com" > ? Email.User = "joecool at gmail.com" > ? Email.Password = "snoopy" > > ? Email.From = "joecool at gmail.com" > ? Email.To.Add("woodstock at yahoo.com") > > ? Email.Subject = "Great Pumpkin" > ? Email.Body = "Pumpkin Patch" > > > I am getting a 502 when trying to send the email - unable to authenticate error -? can anyone assist or point me in the right > direction. > > Thank You > > Ivan ?? \~/ > > I never saw a wild thing sorry for itself. > A small bird will drop frozen dead from a bough > Without ever having felt sorry for itself. > -- D.H. Lawrence > > > http://www.usconstitution.net/const.html > > Linux - Live Free or Die. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From t.lee.davidson at gmail.com Thu Dec 5 19:46:19 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 5 Dec 2019 13:46:19 -0500 Subject: [Gambas-user] using smtp to send mail In-Reply-To: <1197524a-7241-6a19-86f7-181b0696349a@gmail.com> References: <2031659168.3522971.1575565775537.ref@mail.yahoo.com> <2031659168.3522971.1575565775537@mail.yahoo.com> <1197524a-7241-6a19-86f7-181b0696349a@gmail.com> Message-ID: <16db5c9b-e209-f2a7-0c4b-5eff0e99bba6@gmail.com> Also, I don't see your code setting the port, encryption, or authentication method. The following works for me: Email.Port = 465 Email.Authentication = SmtpClient.Plain Email.Encrypt = Net.SSL ___ Lee On 12/5/19 1:08 PM, T Lee Davidson wrote: > Gmail blocks access from what they call "unsecure applications" by default, if I recall correctly. You may need to log in to > your Gmail account and specifically allow connections from unsecure apps. > > > ___ > Lee > > > On 12/5/19 12:09 PM, Ivan Williams via User wrote: >> >> Greetings, >> >> I am trying to incorporate a routine within my program to send a email using gmail but I m receiving a 502 error when >> activating the routine. >> >> ?? Dim Email As New SmtpClient >> >> ?? Email.Host = "smtp.gmail.com" >> ?? Email.User = "joecool at gmail.com" >> ?? Email.Password = "snoopy" >> >> ?? Email.From = "joecool at gmail.com" >> ?? Email.To.Add("woodstock at yahoo.com") >> >> ?? Email.Subject = "Great Pumpkin" >> ?? Email.Body = "Pumpkin Patch" >> >> >> I am getting a 502 when trying to send the email - unable to authenticate error -? can anyone assist or point me in the right >> direction. >> >> Thank You >> >> Ivan ?? \~/ >> >> I never saw a wild thing sorry for itself. >> A small bird will drop frozen dead from a bough >> Without ever having felt sorry for itself. >> -- D.H. Lawrence >> >> >> http://www.usconstitution.net/const.html >> >> Linux - Live Free or Die. >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> From ivanwms64 at yahoo.com Thu Dec 5 20:57:59 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Thu, 5 Dec 2019 19:57:59 +0000 (UTC) Subject: [Gambas-user] using smtp to send mail References: <990501155.9411987.1575575879292.ref@mail.yahoo.com> Message-ID: <990501155.9411987.1575575879292@mail.yahoo.com> Thanks!!! This worked - created a new acct for sending email - went to security and checked the allow 3rd party access sign on and I am in like Flynn. Thank You again >> Also, I don't see your code setting the port, encryption, or authentication method. The following works for me: >>? ?Email.Port = 465 >>? ?Email.Authentication = SmtpClient.Plain >>? ?Email.Encrypt = Net.SSL ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivanwms64 at yahoo.com Thu Dec 5 21:49:42 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Thu, 5 Dec 2019 20:49:42 +0000 (UTC) Subject: [Gambas-user] smtp attachments/body in email References: <213593538.3599079.1575578982403.ref@mail.yahoo.com> Message-ID: <213593538.3599079.1575578982403@mail.yahoo.com> Greetings once more, I am successfully able to send email but I cannot successfully attach the file to the email.? I would like to put the text of the file within the body of the email but when I do so the filename is the only thing in the body of the email and when I attempt to attach the file I get the name of the file witht he path attached. ? ? Email.Body = "/media/ShortBox/Stats/pmail.txt" ? Email.Add("string", "text/plain", "/media/ShortBox/Stats/pmail.txt") ? I have tried - string, stream, text but I still do not receive the file contents in the email body or as a attachment.? The file does have chr$(10) & chr$(13) to force line breaks and carriage returns in order to format the text. ? Can the file be forced into the email body - maximum 30 lines of text - 2400 chars? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivanwms64 at yahoo.com Thu Dec 5 22:25:27 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Thu, 5 Dec 2019 21:25:27 +0000 (UTC) Subject: [Gambas-user] Resolved: how to add attachment and include in file body References: <897863616.9452914.1575581127948.ref@mail.yahoo.com> Message-ID: <897863616.9452914.1575581127948@mail.yahoo.com> Figured out how to attach the file -? for future reference in case anyone else has the issues I had today... Ivan ? Dim Email As New SmtpClient? Dim ftext As String??? ftext = File.load("/media/ShortBox/Stats/pmail.txt")??? Email.Host = "smtp.gmail.com"? Email.User = "bbunny at gmail.com"? Email.Password = "whatsupdoc!"?? Email.Port = 465? Email.Authentication = SmtpClient.Plain ? Email.Encrypt = Net.SSL ? Email.From = "bbunny at gmail.com"? Email.To.Add("dduck at yahoo.com") ? Email.Subject = "foghorns nephew"? Email.Body = ftext? ?? Email.Add(ftext, "text/plain", "egghead jr")??? Email.Send? Print "Mail Sent..." ?'sent previous email to wrong address - resending to correct address\ Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Thu Dec 5 22:52:14 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 5 Dec 2019 22:52:14 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Am 05.12.19 um 01:14 schrieb T Lee Davidson: > I have no clue at present what might have puckered up Google's butt. If we're trying to reverse engineer Google's strange decisions we are in the same situation like with Microsoft which we all left earlier. If they use AI not even they are able to debug it. My provider sends me all mail whether spam, virus or not and here in Germany it is forbidden that the provider decides by itself, what mail sent to me should reach me or not! So I'm quite angry about Google's behavior and I will try to report this to the authorities. What should we do in the meantime? If someone sends a project, packed in tar.gz it's very likely that Google bounces it and most of the people with a Gmail account won't recognize it. But: It is in the archive of the mailinglist which would be not the case when the sender offers it in a binary pastebin. I get a lot of bounces from Gmail. Then I will send these to the authorities. And people with a Gmail account could try to inform their provider and demand that they get their mail! And perhaps one or the other will realize that this is a relatively hopeless undertaking and consider entrusting his mail to another, more reliable supplier. 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 Thu Dec 5 23:10:49 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 5 Dec 2019 17:10:49 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> On 12/5/19 4:52 PM, Christof Thalhofer wrote: > Am 05.12.19 um 01:14 schrieb T Lee Davidson: > >> I have no clue at present what might have puckered up Google's butt. > > If we're trying to reverse engineer Google's strange decisions we are in > the same situation like with Microsoft which we all left earlier. > > If they use AI not even they are able to debug it. > I was just trying to determine if there was any difference in the archives based on the ones that get through verses Gianluigi's which did not. The only difference I can see is that the bounced archive contained a .component file. But, who knows. Artificial intelligence is no match for natural stupidity. I'm proof. By the way, thank you for your time in managing the list, Christof. And, on an unrelated note: would it be possible to include a link to the mail archive in the footer of mail sent from the list? ___ Lee From ivanwms64 at yahoo.com Thu Dec 5 23:34:49 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Thu, 5 Dec 2019 22:34:49 +0000 (UTC) Subject: [Gambas-user] User Digest, Vol 27, Issue 20 In-Reply-To: References: Message-ID: <789205362.9485870.1575585289580@mail.yahoo.com> Sorry for the ? in my email messages.? I do not know why they are appearing in my messages to the group. Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. On Thursday, December 5, 2019, 04:55:06 PM EST, wrote: Send User mailing list submissions to ??? user at lists.gambas-basic.org To subscribe or unsubscribe via the World Wide Web, visit ??? http://lists.gambas-basic.org/listinfo/user or, via email, send a message with subject or body 'help' to ??? user-request at lists.gambas-basic.org You can reach the person managing the list at ??? user-owner at lists.gambas-basic.org When replying, please edit your Subject line so it is more specific than "Re: Contents of User digest..." Today's Topics: ? 1. Re: using smtp to send mail (Ivan Williams) ? 2. smtp attachments/body in email (Ivan Williams) ? 3. Resolved: how to add attachment and include in file body ? ? ? (Ivan Williams) ? 4. Re: Test of mail received (Christof Thalhofer) ---------------------------------------------------------------------- Message: 1 Date: Thu, 5 Dec 2019 19:57:59 +0000 (UTC) From: Ivan Williams To: "user at lists.gambas-basic.org" Subject: Re: [Gambas-user] using smtp to send mail Message-ID: <990501155.9411987.1575575879292 at mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Thanks!!! This worked - created a new acct for sending email - went to security and checked the allow 3rd party access sign on and I am in like Flynn. Thank You again >> Also, I don't see your code setting the port, encryption, or authentication method. The following works for me: >>? ?Email.Port = 465 >>? ?Email.Authentication = SmtpClient.Plain >>? ?Email.Encrypt = Net.SSL ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 2 Date: Thu, 5 Dec 2019 20:49:42 +0000 (UTC) From: Ivan Williams To: "user at lists.gambas-basic.org" Subject: [Gambas-user] smtp attachments/body in email Message-ID: <213593538.3599079.1575578982403 at mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Greetings once more, I am successfully able to send email but I cannot successfully attach the file to the email.? I would like to put the text of the file within the body of the email but when I do so the filename is the only thing in the body of the email and when I attempt to attach the file I get the name of the file witht he path attached. ? ? Email.Body = "/media/ShortBox/Stats/pmail.txt" ? Email.Add("string", "text/plain", "/media/ShortBox/Stats/pmail.txt") ? I have tried - string, stream, text but I still do not receive the file contents in the email body or as a attachment.? The file does have chr$(10) & chr$(13) to force line breaks and carriage returns in order to format the text. ? Can the file be forced into the email body - maximum 30 lines of text - 2400 chars? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 3 Date: Thu, 5 Dec 2019 21:25:27 +0000 (UTC) From: Ivan Williams To: "user at lists.gambas-basic.org" Subject: [Gambas-user] Resolved: how to add attachment and include in ??? file body Message-ID: <897863616.9452914.1575581127948 at mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Figured out how to attach the file -? for future reference in case anyone else has the issues I had today... Ivan ? Dim Email As New SmtpClient? Dim ftext As String??? ftext = File.load("/media/ShortBox/Stats/pmail.txt")??? Email.Host = "smtp.gmail.com"? Email.User = "bbunny at gmail.com"? Email.Password = "whatsupdoc!"?? Email.Port = 465? Email.Authentication = SmtpClient.Plain ? Email.Encrypt = Net.SSL ? Email.From = "bbunny at gmail.com"? Email.To.Add("dduck at yahoo.com") ? Email.Subject = "foghorns nephew"? Email.Body = ftext? ?? Email.Add(ftext, "text/plain", "egghead jr")??? Email.Send? Print "Mail Sent..." ?'sent previous email to wrong address - resending to correct address\ Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 4 Date: Thu, 5 Dec 2019 22:52:14 +0100 From: Christof Thalhofer To: user at lists.gambas-basic.org Subject: Re: [Gambas-user] Test of mail received Message-ID: Content-Type: text/plain; charset="utf-8" Am 05.12.19 um 01:14 schrieb T Lee Davidson: > I have no clue at present what might have puckered up Google's butt. If we're trying to reverse engineer Google's strange decisions we are in the same situation like with Microsoft which we all left earlier. If they use AI not even they are able to debug it. My provider sends me all mail whether spam, virus or not and here in Germany it is forbidden that the provider decides by itself, what mail sent to me should reach me or not! So I'm quite angry about Google's behavior and I will try to report this to the authorities. What should we do in the meantime? If someone sends a project, packed in tar.gz it's very likely that Google bounces it and most of the people with a Gmail account won't recognize it. But: It is in the archive of the mailinglist which would be not the case when the sender offers it in a binary pastebin. I get a lot of bounces from Gmail. Then I will send these to the authorities. And people with a Gmail account could try to inform their provider and demand that they get their mail! And perhaps one or the other will realize that this is a relatively hopeless undertaking and consider entrusting his mail to another, more reliable supplier. 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: ------------------------------ Subject: Digest Footer ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------------------------------ End of User Digest, Vol 27, Issue 20 ************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Fri Dec 6 04:37:03 2019 From: adamnt42 at gmail.com (Bruce) Date: Fri, 6 Dec 2019 14:07:03 +1030 Subject: [Gambas-user] Cascading child processes Message-ID: (I am trying to speed up searching an increasingly large database and a bunch of websites) The search program now either invokes child processes via "newproc = Exec ..." or spawns via Shell. This is all fine and some of these processes invoke their own set of children. Since most of them spend most of their time waiting for an internet response or a complex SQL query, they are mainly sleeping. Now occasionally, the searches take too long. So I want to terminate them (and all their children) from the top level program, but not the top level program ("SMain") itself. I have tried using Gambas process.Kill(), process.Signal(), gb.signal.Send(blah, blah) and shelling out to the "Kill" command itself. None of these have been successful. All let me terminate the process invoked by SMain but all their children are left running. Looking at man 2 kill it says "If pid is less than -1, then sig is sent to every process in the process group whose ID is -pid." This does let me send a SIGTERM to all the processes cascading from SMain, but unfortunately sends the signal to SMain itself. I can't see a way to ignore or block a SIGTERM in SMain itself (and I am not sure that I really want to). So, is there something that I am not seeing/understanding here or do I need to cascade the signalling down through all these programs ( and if so how do I trap a signal?)? tia bruce From bagonergi at gmail.com Fri Dec 6 12:20:12 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 6 Dec 2019 12:20:12 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Il giorno gio 5 dic 2019 alle ore 22:53 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 05.12.19 um 01:14 schrieb T Lee Davidson: > > ... > So I'm quite angry about Google's behavior and I will try to report this > to the authorities. > ... > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Hi Christof, first of all, as Lee, I renew my appreciation for the work you do for all of us. ? I understand the frustration, but before the complaints to the competent authorities, my suggestion, if you haven't already done so, is to try to dialogue with Google. You asked them about the too many rebounds, did you try to make know to Google our needs? Did they respond? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Fri Dec 6 12:23:28 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Dec 2019 12:23:28 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> Message-ID: <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> Am 05.12.19 um 23:10 schrieb T Lee Davidson: > But, who knows. Artificial intelligence is no match for natural > stupidity. I'm proof. :-) > By the way, thank you for your time in managing the list, Christof. Thank you, it's a pleasure for me. :-) I like Gambas very much and it's an honor for me to be a part of it. > And, on an unrelated note: would it be possible to include a link to > the mail archive in the footer of mail sent from the list? This is a good idea. At the beginning we had that, but Beno?t didn't like it, because as people quoted each other and did not remove the footer(s), the quoted mails were full of that and hardly readable. So it did not work. If the members had knowledge about how and what to quote (do inline quoting, remove unnecessary parts of the quoted mail, remove the footer from the quote) and a little more discipline, it would be no problem to integrate links to the archive, the search and so on into the footer of every mail. But then the people here should agree, some of them should change their behavior and we all should instruct newbies to behave like that. Maybe we could write a "nettiquette" page or a FAQ which contains instructions on how to quote so that mails in long threads are easy readable. For instance this is a good example: http://vger.kernel.org/lkml/#s3-9 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 ivanwms64 at yahoo.com Fri Dec 6 15:35:14 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Fri, 6 Dec 2019 14:35:14 +0000 (UTC) Subject: [Gambas-user] User Digest, Vol 27, Issue 22 References: <1402348176.9749566.1575642914901.ref@mail.yahoo.com> Message-ID: <1402348176.9749566.1575642914901@mail.yahoo.com> This is a addendum to my email yesterday - if you are using the mail function inside of a procedure with a loop - put the email.to.add outside of the loop else it will stack on the emails and you will receive multiple copies of the same email. Also, ftext = File.load("/media/ShortBox/Stats/pmail.txt")? ?does not unload the previous file so it is adding all the files to the email as the program executes (luckily it only executes every 30 minutes)? ? -? I am currently looking for a way to unload the ftext once it has been loaded.? ?ftext="" does not work and file.unload does not exist.? ? If anyone knows the code/command to unload a file can you let me know. Thank You Ivan? Dim Email As New SmtpClientDim ftext As StringDim tmp1 as StringDim i as integer Email.To.Add("dduck at yahoo.com") /do until whatever condition is meet/ < perform calculations here and write output file to email users tmp1 = CStr(Time)If Mid$(tmp1, 1, 2) = "02" Or Mid$(tmp1, 1, 2) = "03" Or Mid$(tmp1, 1, 2) = "04" Or Mid$(tmp1, 1, 2) = "05" Then? ? Print "Sleep Time...."? ? TextBox1.text = "Sysadmins need sleep too ...."? ? tmp1 = ""Else ftext = File.load("/media/ShortBox/Stats/pmail.txt")Email.Host = "smtp.gmail.com"Email.User = "bbunny at gmail.com"Email.Password = "whatsupdoc!"?Email.Port = 465Email.Authentication = SmtpClient.Plain Email.Encrypt = Net.SSL Email.From = "bbunny at gmail.com"Email.Subject = "foghorns nephew" Email.Body = ftextEmail.Add(ftext, "text/plain", "egghead jr")Email.SendTextBox1.Text= "Mail Sent..." Endif ?//repeat procedure Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. On Friday, December 6, 2019, 06:15:05 AM EST, wrote: Send User mailing list submissions to ??? user at lists.gambas-basic.org To subscribe or unsubscribe via the World Wide Web, visit ??? http://lists.gambas-basic.org/listinfo/user or, via email, send a message with subject or body 'help' to ??? user-request at lists.gambas-basic.org You can reach the person managing the list at ??? user-owner at lists.gambas-basic.org When replying, please edit your Subject line so it is more specific than "Re: Contents of User digest..." Today's Topics: ? 1. Cascading child processes (Bruce) ---------------------------------------------------------------------- Message: 1 Date: Fri, 6 Dec 2019 14:07:03 +1030 From: Bruce To: Gambas Mailing List Subject: [Gambas-user] Cascading child processes Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed (I am trying to speed up searching an increasingly large database and a bunch of websites) The search program now either invokes child processes via "newproc = Exec ..." or spawns via Shell. This is all fine and some of these processes invoke their own set of children. Since most of them spend most of their time waiting for an internet response or a complex SQL query, they are mainly sleeping. Now occasionally, the searches take too long. So I want to terminate them (and all their children) from the top level program,? but not the top level program ("SMain") itself. I have tried using Gambas process.Kill(), process.Signal(), gb.signal.Send(blah, blah) and shelling out to the "Kill" command itself. None of these have been successful. All let me terminate the process invoked by SMain but all their children are left running. Looking at man 2 kill it says "If pid is less than -1, then sig is sent to every process in the process group whose ID is -pid." This does let me send a SIGTERM to all the processes cascading from SMain, but unfortunately sends the signal to SMain itself. I can't see a way to ignore or block a SIGTERM in SMain itself (and I am not sure that I really want to). So, is there something that I am not seeing/understanding here or do I need to cascade the signalling down through all these programs ( and if so how do I trap a signal?)? tia bruce ------------------------------ Subject: Digest Footer ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------------------------------ End of User Digest, Vol 27, Issue 22 ************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Fri Dec 6 15:53:03 2019 From: charlie at cogier.com (Charlie Ogier) Date: Fri, 6 Dec 2019 14:53:03 +0000 Subject: [Gambas-user] Cascading child processes In-Reply-To: References: Message-ID: Hi Bruce, What about doing the search in the background? Have a look here. Charlie On 06/12/2019 03:37, Bruce wrote: > (I am trying to speed up searching an increasingly large database and > a bunch of websites) > > The search program now either invokes child processes via "newproc = > Exec ..." or spawns via Shell. This is all fine and some of these > processes invoke their own set of children. Since most of them spend > most of their time waiting for an internet response or a complex SQL > query, they are mainly sleeping. > > Now occasionally, the searches take too long. So I want to terminate > them (and all their children) from the top level program,? but not the > top level program ("SMain") itself. > > I have tried using Gambas process.Kill(), process.Signal(), > gb.signal.Send(blah, blah) and shelling out to the "Kill" command itself. > > None of these have been successful. All let me terminate the process > invoked by SMain but all their children are left running. > > Looking at man 2 kill it says "If pid is less than -1, then sig is > sent to every process in the process group whose ID is -pid." This > does let me send a SIGTERM to all the processes cascading from SMain, > but unfortunately sends the signal to SMain itself. > > I can't see a way to ignore or block a SIGTERM in SMain itself (and I > am not sure that I really want to). > > So, is there something that I am not seeing/understanding here or do I > need to cascade the signalling down through all these programs ( and > if so how do I trap a signal?)? > > tia > bruce > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Fri Dec 6 17:38:44 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 11:38:44 -0500 Subject: [Gambas-user] Using SmtpClient attachments in a loop (was User Digest, Vol 27, Issue 22) In-Reply-To: <1402348176.9749566.1575642914901@mail.yahoo.com> References: <1402348176.9749566.1575642914901.ref@mail.yahoo.com> <1402348176.9749566.1575642914901@mail.yahoo.com> Message-ID: <486077b5-ec8c-e497-f3d3-609b3ee6cf6f@gmail.com> Clearing a string variable by setting it to an empty string does work. I don't see where you tried to clear it. What I see is that you reload it from the file every time your loop executes. There is no method to clear attachments of an SmtpClient. It is not even possible to set the Count to zero since that is a read-only property. What you will need to do is kill and re-create the SmtpClient object in each loop iteration. Specifically, do not create a New object outside of the loop. For example, try something like this: Dim Email As SmtpClient While iamawake = True Email = New SmtpClient ' Set properties Email.Send Email = Null Wend ___ Lee On 12/6/19 9:35 AM, Ivan Williams via User wrote: > This is a addendum to my email yesterday - if you are using the mail function inside of a procedure with a loop - put the > email.to.add outside of the loop else it will stack on the emails and you will receive multiple copies of the same email. > > Also, ftext = File.load("/media/ShortBox/Stats/pmail.txt")? ?does not unload the previous file so it is adding all the files to > the email as the program executes (luckily it only executes every 30 minutes)? ? - I am currently looking for a way to unload > the ftext once it has been loaded.? ?ftext="" does not work and file.unload does not exist. > > If anyone knows the code/command to unload a file can you let me know. > > Thank You > > Ivan > From t.lee.davidson at gmail.com Fri Dec 6 18:43:18 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 12:43:18 -0500 Subject: [Gambas-user] Cascading child processes In-Reply-To: References: Message-ID: <54a50749-6dd8-48d7-259b-bb4e3fed4fde@gmail.com> On 12/5/19 10:37 PM, Bruce wrote: > I can't see a way to ignore or block a SIGTERM in SMain itself (and I am not?sure?that?I?really?want?to). Is the following insufficient? http://gambaswiki.org/wiki/comp/gb.signal I can think of two strategies to accomplish killing child processes only. 1. Make each child process retain a handle on each of its own child processes so that you can, as you said, "cascade the signalling down through all these programs." Trap SIGTERM and, before exiting, send SIGTERM to all owned child processes. 2. Start sMain with `nohup` and then use SIGHUP to kill the children. ___ Lee From hans at gambas-buch.de Fri Dec 6 18:46:50 2019 From: hans at gambas-buch.de (Hans Lehmann) Date: Fri, 6 Dec 2019 18:46:50 +0100 Subject: [Gambas-user] smtp attachments/body in email In-Reply-To: <213593538.3599079.1575578982403@mail.yahoo.com> References: <213593538.3599079.1575578982403.ref@mail.yahoo.com> <213593538.3599079.1575578982403@mail.yahoo.com> Message-ID: <71d6a314-0e73-9cb2-f704-d7c8d57620d7@gambas-buch.de> Hello, You should have a look at the projects in the online book at https://www.gambas-buch.de/doku.php?id=k24:k24.4:k24.4.1:start#smtp-client . Yours sincerely Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From simonlebon54 at yahoo.com Fri Dec 6 19:42:56 2019 From: simonlebon54 at yahoo.com (Steve G) Date: Fri, 06 Dec 2019 09:42:56 -0900 Subject: [Gambas-user] User Digest, Vol 27, Issue 22 In-Reply-To: References: Message-ID: <8162bc76-3e90-48de-b13b-a6c1425be46b@yahoo.com> It seems to me that since you are using a recursive algorithm to spawn these various processes. You will also need to build into that recursive algorithm a recursive kill. Something that you could send to one of the processes, that tells it to kill itself and all of its children. And then of course since it's recursive we send that kill signal down the recursive line. Basically each process when it receives a kill signal which you can Define any way you would like, it first sends that signal to any of its children processes before terminating itself. This should take care of any process you try to kill and all of its children regardless of where in the recursion tree that is. ?Sent from TypeApp ? On Dec 6, 2019, 02:15, at 02:15, user-request at lists.gambas-basic.org wrote: >Send User mailing list submissions to > user at lists.gambas-basic.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user >or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > >You can reach the person managing the list at > user-owner at lists.gambas-basic.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of User digest..." > > >Today's Topics: > > 1. Cascading child processes (Bruce) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Fri, 6 Dec 2019 14:07:03 +1030 >From: Bruce >To: Gambas Mailing List >Subject: [Gambas-user] Cascading child processes >Message-ID: >Content-Type: text/plain; charset=utf-8; format=flowed > >(I am trying to speed up searching an increasingly large database and a > >bunch of websites) > >The search program now either invokes child processes via "newproc = >Exec ..." or spawns via Shell. This is all fine and some of these >processes invoke their own set of children. Since most of them spend >most of their time waiting for an internet response or a complex SQL >query, they are mainly sleeping. > >Now occasionally, the searches take too long. So I want to terminate >them (and all their children) from the top level program, but not the >top level program ("SMain") itself. > >I have tried using Gambas process.Kill(), process.Signal(), >gb.signal.Send(blah, blah) and shelling out to the "Kill" command >itself. > >None of these have been successful. All let me terminate the process >invoked by SMain but all their children are left running. > >Looking at man 2 kill it says "If pid is less than -1, then sig is sent > >to every process in the process group whose ID is -pid." This does let >me send a SIGTERM to all the processes cascading from SMain, but >unfortunately sends the signal to SMain itself. > >I can't see a way to ignore or block a SIGTERM in SMain itself (and I >am >not sure that I really want to). > >So, is there something that I am not seeing/understanding here or do I >need to cascade the signalling down through all these programs ( and if > >so how do I trap a signal?)? > >tia >bruce > > > > >------------------------------ > >Subject: Digest Footer > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net >]---- > > >------------------------------ > >End of User Digest, Vol 27, Issue 22 >************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Fri Dec 6 19:49:52 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 13:49:52 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> Message-ID: On 12/6/19 6:23 AM, Christof Thalhofer wrote: >> And, on an unrelated note: would it be possible to include a link to >> the mail archive in the footer of mail sent from the list? > > This is a good idea. At the beginning we had that, but Beno?t didn't > like it, because as people quoted each other and did not remove the > footer(s), the quoted mails were full of that and hardly readable. So it > did not work. And, all that unnecessary kludge is the reason I prefer top-posting. And, of course, it allows me to be lazy. > If the members had knowledge about how and what to quote [snip] > > But then the people here should agree, some of them should change their > behavior and we all should instruct newbies to behave like that. If members would judiciously snip quoted messages, I would have no problem with bottom-posting. In fact, I would prefer it since top-posting has always seemed illogical to me. So, I will be changing my behavior to bottom-posting now. > Maybe we could write a "nettiquette" page or a FAQ which contains > instructions on how to quote so that mails in long threads are easy That's a good idea. We could put up a page on the Wiki and link to it in the footer like: "Please BOTTOM-POST and trim your replies: [link] Here's a page draft of what I worked up real quick: Top-posting is the practice of replying to a message by typing your response above that to which you are responding. This is both confusing and annoying because your readers will have to scroll down and extract the essentials of the existing thread in order to grasp the context of your reply; and then scroll back up again to read your reply. Posting a "me too" comment at the bottom of a 100+ line message is no better because people have to scroll all the way down through 100+ lines they've already read in order to see your one-liner. One word comes to mind for that: frustrating. Your message is far more likely to be deleted without being read if you have too much quoted material before your reply. The generally accepted "right way" of doing things is called "inline posting", whereby you insert your comments straight after that on which you are commenting, having stripped unnecessary text from the original quoted text. The end result is something which makes much more sense because it reads like a conversation. When following up a post, please think before you quote. Since everybody else on the list also got the original post, don't quote it entirely. Quote only the parts that are relevant to your response. Make sure the quoted part is recognizable as such, by ensuring each quoted line starts with a > (or more >>, in case of multi-level quoting). Don't quote signatures or entire posts. Don't quote the standard signature. Please don't use tabs or multiple spaces to quote text. Use the "> " sequence instead. Using whitespace to quote text makes it difficult to differentiate between what's quoted and the reply. And don't try to be cute or "different" and use some other character like "}" or whatever. Again, it's confusing. It wastes people's time. Please try to have halfway reasonable spelling and grammar. When reading text with really bad spelling or grammar, people will have difficulty trying to understand your post. Please don't have long, inflammatory, controversial or offensive signatures. The rule of thumb is no more than 4 lines of 80 characters each. For more "Netiquette" guidelines, see RFC 1855 [https://www.ietf.org/rfc/rfc1855.txt]. Portions copied and/or adapted from: http://vger.kernel.org/lkml/#s3-9 http://linux.sgms-centre.com/misc/netiquette.php#toppost ___ Lee P.S. I think paragraph six is essential ;-) From t.lee.davidson at gmail.com Fri Dec 6 20:01:45 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 14:01:45 -0500 Subject: [Gambas-user] User Digest, Vol 27, Issue 22 In-Reply-To: <8162bc76-3e90-48de-b13b-a6c1425be46b@yahoo.com> References: <8162bc76-3e90-48de-b13b-a6c1425be46b@yahoo.com> Message-ID: On 12/6/19 1:42 PM, Steve G via User wrote: > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." ___ Lee From g4mba5 at gmail.com Fri Dec 6 21:26:16 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 6 Dec 2019 21:26:16 +0100 Subject: [Gambas-user] Using SmtpClient attachments in a loop (was User Digest, Vol 27, Issue 22) In-Reply-To: <486077b5-ec8c-e497-f3d3-609b3ee6cf6f@gmail.com> References: <1402348176.9749566.1575642914901.ref@mail.yahoo.com> <1402348176.9749566.1575642914901@mail.yahoo.com> <486077b5-ec8c-e497-f3d3-609b3ee6cf6f@gmail.com> Message-ID: <5569d73c-7715-cdfc-84a0-6e7df3e25c42@gmail.com> Le 06/12/2019 ? 17:38, T Lee Davidson a ?crit?: > Clearing a string variable by setting it to an empty string does work. I > don't see where you tried to clear it. What I see is that you reload it > from the file every time your loop executes. > > There is no method to clear attachments of an SmtpClient. It is not even > possible to set the Count to zero since that is a read-only property. > > What you will need to do is kill and re-create the SmtpClient object in > each loop iteration. Specifically, do not create a New object outside of > the loop. For example, try something like this: > > ? Dim Email As SmtpClient > > ? While iamawake = True > > ??? Email = New SmtpClient > ??? ' Set properties > ??? Email.Send > ??? Email = Null > > ? Wend > > > ___ > Lee > Hi, I have just updated SmtpClient so that it can be reusable (it wasn't!), and added a Clear() method to clear all the attachments. Regards, -- Beno?t Minisini From cedron at exede.net Fri Dec 6 21:52:37 2019 From: cedron at exede.net (Cedron Dawg) Date: Fri, 6 Dec 2019 15:52:37 -0500 (EST) Subject: [Gambas-user] Using SmtpClient attachments in a loop (was User Digest, Vol 27, Issue 22) In-Reply-To: <5569d73c-7715-cdfc-84a0-6e7df3e25c42@gmail.com> References: <1402348176.9749566.1575642914901.ref@mail.yahoo.com> <1402348176.9749566.1575642914901@mail.yahoo.com> <486077b5-ec8c-e497-f3d3-609b3ee6cf6f@gmail.com> <5569d73c-7715-cdfc-84a0-6e7df3e25c42@gmail.com> Message-ID: <1236231006.31255810.1575665557072.JavaMail.zimbra@exede.net> Beno?t, You are so awesome! ----- Original Message ----- From: "Beno?t Minisini" Hi, I have just updated SmtpClient so that it can be reusable (it wasn't!), and added a Clear() method to clear all the attachments. Regards, -- Beno?t Minisini ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From chrisml at deganius.de Fri Dec 6 22:19:23 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Dec 2019 22:19:23 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> Message-ID: <49ed8811-4efb-cf5e-5190-61533afcefdd@deganius.de> Am 06.12.19 um 19:49 schrieb T Lee Davidson: >> Maybe we could write a "nettiquette" page or a FAQ which contains >> instructions on how to quote so that mails in long threads are >> easy > > That's a good idea. We could put up a page on the Wiki and link to it > in the footer like: "Please BOTTOM-POST and trim your replies: > [link] > > Here's a page draft of what I worked up real quick: What you wrote is really good. Ok. Let's start a FAQ for the Gambas mailinglists in the wiki. Are you able to do that? I'm not that good in the wiki. At first we were able to place links to the archive and search function up there. Also to our generous donator Hostsharing. And then we could add a link to that page in the footer of every mail. If mails occur with 1 line answer in the middle of 100 lines quoting or a footer is quoted several times we could refer to the FAQ and we can ask the author to follow the rules. If at the end nearly everybody understood and implemented the common culture of writing we can put the most prominent links in the footer. And then we have what you wanted. :-) 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 Fri Dec 6 22:27:51 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 16:27:51 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: <49ed8811-4efb-cf5e-5190-61533afcefdd@deganius.de> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> <49ed8811-4efb-cf5e-5190-61533afcefdd@deganius.de> Message-ID: <761b3975-0e6d-a18c-8e57-3e9db4811faa@gmail.com> On 12/6/19 4:19 PM, Christof Thalhofer wrote: > What you wrote is really good. Ok. Let's start a FAQ for the Gambas > mailinglists in the wiki. Are you able to do that? I'm not that good in > the wiki. As far as I know, I do not have permissions to create pages on the Wiki. I am, however, willing to Markdown the draft if it is approved. Side note: Beno?t, for some reason, I am unable to logout from the Wiki. Clicking "logout" just refreshes the page and leaves me logged in. -- Lee From t.lee.davidson at gmail.com Fri Dec 6 22:41:26 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 6 Dec 2019 16:41:26 -0500 Subject: [Gambas-user] Using SmtpClient attachments in a loop (was User Digest, Vol 27, Issue 22) In-Reply-To: <5569d73c-7715-cdfc-84a0-6e7df3e25c42@gmail.com> References: <1402348176.9749566.1575642914901.ref@mail.yahoo.com> <1402348176.9749566.1575642914901@mail.yahoo.com> <486077b5-ec8c-e497-f3d3-609b3ee6cf6f@gmail.com> <5569d73c-7715-cdfc-84a0-6e7df3e25c42@gmail.com> Message-ID: <60bb7d05-0572-e2b9-b3e8-8cdb97ebb733@gmail.com> On 12/6/19 3:26 PM, Beno?t Minisini wrote: > I have just updated SmtpClient so that it can be reusable (it wasn't!), and?added?a?Clear()?method?to?clear?all?the?attachments. I agree with Cedron. That is awesome. And, that changes things a bit (nb. totally untested): Dim Email As New SmtpClient Dim sFileText as String Dim iamawake as Boolean = True ' Set static SmtpClient properties While iamawake = True sFileText = File.Load() Email.Body = sFileText Email.Add("text/plain", sFileText) Email.Send Email.Clear If iamsleeping Then iamawake = False Wend -- Lee From chrisml at deganius.de Fri Dec 6 22:50:26 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Dec 2019 22:50:26 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Hi Gianluigi, Am 06.12.19 um 12:20 schrieb Gianluigi: > first of all, as Lee, I renew my appreciation for the work you do for > all of us. ? Thank you very much :-) > I understand the frustration, but before the complaints to the competent > authorities, my suggestion, if you haven't already done so, is to try to > dialogue with Google. > You asked them about the too many rebounds, did you try to make know to > Google our needs? There is no human support. Just a help labyrith. > Did they respond? Do you know where I can email Google? This is the page they are referring to in their bounces: https://support.google.com/mail/answer/6590?p=BlockedMessage&visit_id=637112643805044704-3315698617&rd=1 They just say they block mails with attachments at their will. And as we found out this is not even consistent. 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 Fri Dec 6 23:32:34 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Dec 2019 23:32:34 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: <761b3975-0e6d-a18c-8e57-3e9db4811faa@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> <49ed8811-4efb-cf5e-5190-61533afcefdd@deganius.de> <761b3975-0e6d-a18c-8e57-3e9db4811faa@gmail.com> Message-ID: <8963588c-8e18-015f-7797-0ae69fb29948@deganius.de> Am 06.12.19 um 22:27 schrieb T Lee Davidson: > As far as I know, I do not have permissions to create pages on the > Wiki. I am, however, willing to Markdown the draft if it is > approved. AFAIK if you enter a address which doesn't exist like: http://gambaswiki.org/wiki/doc/mailinglists The wiki says "This page does not exist" but also offers a create button. 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 Sat Dec 7 06:11:34 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sat, 7 Dec 2019 00:11:34 -0500 Subject: [Gambas-user] Wiki MarkDown page error Message-ID: <70dbe2fd-2c9a-5446-c1d2-516a8d324055@gmail.com> http://gambaswiki.org/wiki/doc/markdown yields: Null object at line #87: Indexed headers are headers that will be visible in the index generated by the `@{index}` special command (see below). Stack backtrace: WikiMarkdown.Command.281 Markup.ConvertMarkup.175 Markup.Convert.36 Markdown.ToHTML.15 Wiki._PrintPage.325 Wiki.Wiki.0 WebPage.__Render.31 WebPage.Render.56 Main.Main.693 / / -- Lee From adamnt42 at gmail.com Sat Dec 7 06:31:00 2019 From: adamnt42 at gmail.com (Bruce) Date: Sat, 7 Dec 2019 16:01:00 +1030 Subject: [Gambas-user] Wiki MarkDown page error In-Reply-To: <70dbe2fd-2c9a-5446-c1d2-516a8d324055@gmail.com> References: <70dbe2fd-2c9a-5446-c1d2-516a8d324055@gmail.com> Message-ID: On 7/12/19 3:41 pm, T Lee Davidson wrote: > http://gambaswiki.org/wiki/doc/markdown yields: > > Null object at line #87: > > Indexed headers are headers that will be visible in the index generated > by the `@{index}` special command (see below). > > Stack backtrace: > > WikiMarkdown.Command.281 > Markup.ConvertMarkup.175 > Markup.Convert.36 > Markdown.ToHTML.15 > Wiki._PrintPage.325 > Wiki.Wiki.0 > WebPage.__Render.31 > WebPage.Render.56 > Main.Main.693 > ?/? / > > I have "patched" the page so it renders (by putting a space in the `@{index}` occurences, i.e. `@ {index}' ) But that doesn't solve the WikiMarkdown.Command.281 bug - that's up to those with code access. rgrds bruce From bagonergi at gmail.com Sat Dec 7 08:26:21 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 7 Dec 2019 08:26:21 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Il giorno ven 6 dic 2019 alle ore 22:51 Christof Thalhofer < chrisml at deganius.de> ha scritto: > ... > There is no human support. Just a help labyrith. > ... > You need an account and go to Settings > Send feedback You must send feedback describing the problem, you can include or exclude a screenshot, there is a checkbox. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Sat Dec 7 10:28:07 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 7 Dec 2019 10:28:07 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Am 07.12.19 um 08:26 schrieb Gianluigi: > You need an account and go to Settings > Send feedback > You must send feedback describing the problem, you can include or > exclude a screenshot, there is a checkbox. Thank you, but a screenshot? This is the place to send a feedback for the Gmail program. They offer to send a screenshot of the Gmail program. We have no problem with the program. We have a problem with the Google mail smtp-in servers (like gmail-smtp-in.l.google.com) which are configured in a bad manner. Sending a screenshot is nothing what makes sense here. I need a contact where I can send the bounces (which contain the ids of the messages so that an admin can find them in the logs). I have searched the Google Mail help a lot. There is no such thing. 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 bagonergi at gmail.com Sat Dec 7 11:46:51 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 7 Dec 2019 11:46:51 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: Il giorno sab 7 dic 2019 alle ore 10:29 Christof Thalhofer < chrisml at deganius.de> ha scritto: > ... > We have a problem with the Google mail smtp-in servers (like > gmail-smtp-in.l.google.com) which are configured in a bad manner. > Sending a screenshot is nothing what makes sense here. > > I need a contact where I can send the bounces (which contain the ids of > the messages so that an admin can find them in the logs). I have > searched the Google Mail help a lot. There is no such thing. > Trying costs nothing (as long as it has some meaning in English :-) ) Send feedback (without screenshot) in which you describe the problem and ask how to contact an administrator. Let's see if they answer you. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Sat Dec 7 18:43:15 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sat, 7 Dec 2019 12:43:15 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: <8963588c-8e18-015f-7797-0ae69fb29948@deganius.de> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <8f4787ac-d4b8-d6f1-8489-209a8711b148@gmail.com> <694f4e18-b50d-7aef-cce0-1f8b10df259d@deganius.de> <49ed8811-4efb-cf5e-5190-61533afcefdd@deganius.de> <761b3975-0e6d-a18c-8e57-3e9db4811faa@gmail.com> <8963588c-8e18-015f-7797-0ae69fb29948@deganius.de> Message-ID: <11ebc1c8-581b-45e9-0a66-f01b86bf7808@gmail.com> On 12/6/19 5:32 PM, Christof Thalhofer wrote: > AFAIK if you enter a address which doesn't exist like: > http://gambaswiki.org/wiki/doc/mailinglists > > The wiki says "This page does not exist" but also offers a create button. You are correct. I have created the page: http://gambaswiki.org/wiki/doc/netiquette Comments? Revisions? -- Lee From t.lee.davidson at gmail.com Sat Dec 7 18:45:47 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sat, 7 Dec 2019 12:45:47 -0500 Subject: [Gambas-user] Wiki MarkDown page error In-Reply-To: References: <70dbe2fd-2c9a-5446-c1d2-516a8d324055@gmail.com> Message-ID: <1c5ecc59-3f93-ce62-bce2-e777f69943d5@gmail.com> On 12/7/19 12:31 AM, Bruce wrote: > I?have?"patched"?the?page?so?it?renders?(by?putting?a?space?in?the > `@{index}`?occurences,?i.e.?`@?{index}'?) > > But that doesn't solve the WikiMarkdown.Command.281 bug - that's up to those?with?code?access. Thank you. I got what I needed. I'm not seeing the WikiMarkdown.Command.281 bug. Perhaps the Wiki is being worked on. But, I still cannot log out. -- Lee From ivanwms64 at yahoo.com Sun Dec 8 17:35:41 2019 From: ivanwms64 at yahoo.com (Ivan Williams) Date: Sun, 8 Dec 2019 16:35:41 +0000 (UTC) Subject: [Gambas-user] Using SmtpClient attachments in a loop References: <845972695.4529226.1575822941086.ref@mail.yahoo.com> Message-ID: <845972695.4529226.1575822941086@mail.yahoo.com> Thank You Sir I truly appreciate the modification. >> Clearing a string variable by setting it to an empty string does work. I >> don't see where you tried to clear it. What I see is that you reload it >> from the file every time your loop executes. > >Hi, > >I have just updated SmtpClient so that it can be reusable (it wasn't!), >and added a Clear() method to clear all the attachments. > >Regards, > >-- >Beno?t Minisini ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Mon Dec 9 10:24:21 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 9 Dec 2019 10:24:21 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> Message-ID: <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> Am 07.12.19 um 11:46 schrieb Gianluigi: > Trying costs nothing (as long as it has some meaning in English :-) ) > Send feedback (without screenshot) in which you describe the problem and > ask how to contact an administrator. > Let's see if they answer you. I have no private Google account. So ... can you do this? It was your mail, which went not through. You can show them the mail and for nearly every mail the answer of the mail server was: > : host gmail-smtp-in.l.google.com[2a00:1450:4013:c07::1b] > said: 552-5.7.0 This message was blocked because its content presents a > potential 552-5.7.0 security issue. Please visit 552-5.7.0 > https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 > message content and attachment content guidelines. They can see the attachment when they look into your account (or you could forward it). 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 Mon Dec 9 17:41:54 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 9 Dec 2019 11:41:54 -0500 Subject: [Gambas-user] Test of mail received In-Reply-To: <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> Message-ID: <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> I apologize for this message not being in the appropriate thread. I had deleted the other sub-thread thinking that I would get a response to my last message: https://lists.gambas-basic.org/pipermail/user/2019-December/068305.html Is the page I created acceptable? -- Lee From lapisdecor at gmail.com Mon Dec 9 17:45:59 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Mon, 9 Dec 2019 16:45:59 +0000 Subject: [Gambas-user] Test of mail received In-Reply-To: <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> Message-ID: A segunda, 9/12/2019, 16:42, T Lee Davidson escreveu: > > Is the page I created acceptable? > Yes. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Mon Dec 9 18:19:00 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Mon, 9 Dec 2019 18:19:00 +0100 Subject: [Gambas-user] Which way of storing these data would you choose? Message-ID: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> Hi folks, Just cannot decide what would be easier for me. Maybe you have an advice or two :) There is a number of definitions for things (in my case, it's text paragraphs). There is name, indentation, left/rightbound/centered, font, size and so on for each. And there may be a dozen of declarations. First I thought I could simply set all values for one declaration into a TAB separated string (them come from a file anyway), and the strings into an array. The drawback would be, I would have to keep a list of positions for the values, i. e. name is 0, indentation is 1, leftbound is 2 etc., and in each an every function poking and peeking values I would have to reference the values via these position numbers. The second idea was to have a number of arrays for each declaration, having a name like the value and a datatype which fits the data. The values for each declaration could be referenced via one pointer to all arrays. The drawback would be, I would have more than a dozen single arrays which I would have to maintain each time. I have used both methods in projects, each proved to be ok for this or that, but this time it's the sheer number of values to be stored for each declaration which makes both seem somewhat... roundabout. Is there a better, a more compact way I have missed? Actually, it's like a table of values. Maybe something like structs? (In the help text for structs, I am warned to use structs...) Isn't there a more Gambas way to achieve this, something that ends up with some myArray.thisValue[] pointing to each value? Thank you for your insight! Regards Rolf From t.lee.davidson at gmail.com Mon Dec 9 19:12:18 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 9 Dec 2019 13:12:18 -0500 Subject: [Gambas-user] Which way of storing these data would you choose? In-Reply-To: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> References: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> Message-ID: On 12/9/19 12:19 PM, Rolf-Werner Eilert wrote: > The second idea was to have a number of arrays for each declaration, having a name like the value and a datatype which fits the > data. The values for each declaration could be referenced via one pointer to all arrays. The drawback would be, I would have > more than a dozen single arrays?which?I?would?have?to?maintain?each?time. It sounds like perhaps you want an array of collections (Collection[]). Values in a collection are variant. ["name": "paragraph1", "indentation": 4, "justification": "left", "font": "sans-serif", "size": 12] Dim MyCollection as New Collection[] Paragraph one could be MyCollection[0], paragraph two, MyCollection[1], etc. This assumes, though, that the paragraphs would have a related context, ie. be in the same document. -- Lee From bagonergi at gmail.com Mon Dec 9 23:10:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 9 Dec 2019 23:10:52 +0100 Subject: [Gambas-user] Which way of storing these data would you choose? In-Reply-To: References: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> Message-ID: Il giorno lun 9 dic 2019 alle ore 19:13 T Lee Davidson < t.lee.davidson at gmail.com> ha scritto: > On 12/9/19 12:19 PM, Rolf-Werner Eilert wrote: > I would opt for a class, a new object for each paragraph. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Dec 9 23:15:16 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 9 Dec 2019 23:15:16 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> Message-ID: Il giorno lun 9 dic 2019 alle ore 10:25 Christof Thalhofer < chrisml at deganius.de> ha scritto: > Am 07.12.19 um 11:46 schrieb Gianluigi: > > > > I have no private Google account. > > So ... can you do this? > Done, who knows if they answer? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Tue Dec 10 04:06:12 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 10 Dec 2019 05:06:12 +0200 Subject: [Gambas-user] QPainter::begin: Painter already active In-Reply-To: References: Message-ID: If there is fix for this, can it be pushed to current dev version? The messages are clogging the console. Sys info below. Jussi [System] Gambas=3.14.90 5e907c649 (master) OperatingSystem=Linux Kernel=4.15.0-72-generic Architecture=x86_64 Distribution=Linux Mint 19 Tara Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7977M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7716 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/1139,unix/:/tmp/.ICE-unix/1139 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1203 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 On Thu, Nov 21, 2019 at 3:38 AM Jussi Lahtinen wrote: > I have a lot of warnings: QPainter::begin: Painter already active > Is that warning necessary? I'm not using draw.begin, inside of _draw event. > > > Jussi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Tue Dec 10 05:40:00 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 05:40:00 +0100 Subject: [Gambas-user] Which way of storing these data would you choose? In-Reply-To: References: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> Message-ID: If your structure is stable. Use an array of classes. Then if not then an array of collection can be a good idea. I do prefere a class in your case. Think you also add code to manage rendering or manipulation in the class itself. It is at the same time the container fot data and the tool who know how to use it -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Tue Dec 10 09:14:00 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 09:14:00 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> Message-ID: Am 09.12.19 um 23:15 schrieb Gianluigi: > I have no private Google account. > > So ... can you do this? > > > Done, who knows if they answer? Cool, thank you very much. Then let's see ... 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 Dec 10 09:20:02 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 09:20:02 +0100 Subject: [Gambas-user] Test of mail received In-Reply-To: <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> Message-ID: Am 09.12.19 um 17:41 schrieb T Lee Davidson: > I apologize for this message not being in the appropriate thread. I > had deleted the other sub-thread thinking that I would get a response > to my last message: > https://lists.gambas-basic.org/pipermail/user/2019-December/068305.html > > Is the page I created acceptable? http://gambaswiki.org/wiki/doc/netiquette Yes, I think it's very good. I've put the link into the footer. IMO the only thing is, that the name "Netiquette" should change to "FAQ" later. Maybe we have to answer further questions there in the future. 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 Dec 10 09:43:16 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 09:43:16 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> Message-ID: <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Hi, I've got a mail from an anonymous person who wanted to invite me to Discourse ... it comes from the Netherlands. The anonymous person has registered gambas.fr and forwards it to Discourse. It seems the person got my email from this mailinglist and gave it to Discourse. That's not fine ... ---------------------------------------------- The domain gambas.fr is registered here: registrar: SONEXO B.V type: Isp Option 1 address: Edeseweg 52 - address: 6721 JX Bennekom country: NL phone: + 31 30 82 00 291 fax-no: +31 30 27 11 470 e-mail: info at sonexo.nl website: http://www.sonexo.nl anonymous: NO registered: 2014-04-23T12:00:00Z source: FRNIC -------- Forwarded Message -------- Betreff: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group Datum: Mon, 09 Dec 2019 18:30:59 +0000 Von: Gambas Basic Antwort an: Gambas Basic An: chrisml at deganius.de Gambas Fr (gambas.fr ) invited you to join *Gambas Basic* A place to share everything about the Gambas language and its development environment. If you?re interested, click the link below: https://gambas.discourse.group/invites/a894f9021bbfc5ffeeeee6415ef4061d ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From bagonergi at gmail.com Tue Dec 10 09:53:23 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 10 Dec 2019 09:53:23 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: I don't know about you. I got 10. Hopefully this is not the answer of GMail... Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Tue Dec 10 10:01:54 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 10:01:54 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: Well it's me ... But It does not seem to show my name .. sorry. It's an automatic invitation. And yes the mail come from here because I have selected you to be moderators on this forum Le mar. 10 d?c. 2019 ? 09:54, Gianluigi a ?crit : > > > I don't know about you. I got 10. > Hopefully this is not the answer of GMail... > > Regards > Gianluigi > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Dec 10 10:11:40 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 10 Dec 2019 10:11:40 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: Il giorno mar 10 dic 2019 alle ore 10:03 Fabien Bodard ha scritto: > Well it's me ... But It does not seem to show my name .. sorry. It's an > automatic invitation. And yes the mail come from here because I have > selected you to be moderators on this forum > lol Well, I've reported you as spam :-P Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Tue Dec 10 10:12:07 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Tue, 10 Dec 2019 10:12:07 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: <54c6d943-7c9e-06d9-1c6f-44346db8fd7a@osnanet.de> I've got 9 mails and thought, well they discussed this mail thing lately, maybe someone's tried something and it got somewhat wrong ;) Regards Rolf Am 10.12.19 um 09:43 schrieb Christof Thalhofer: > Hi, > > I've got a mail from an anonymous person who wanted to invite me to > Discourse ... it comes from the Netherlands. The anonymous person has > registered gambas.fr and forwards it to Discourse. > > It seems the person got my email from this mailinglist and gave it to > Discourse. That's not fine ... > > ---------------------------------------------- > > The domain gambas.fr is registered here: > > registrar: SONEXO B.V > type: Isp Option 1 > address: Edeseweg 52 - > address: 6721 JX Bennekom > country: NL > phone: + 31 30 82 00 291 > fax-no: +31 30 27 11 470 > e-mail: info at sonexo.nl > website: http://www.sonexo.nl > anonymous: NO > registered: 2014-04-23T12:00:00Z > source: FRNIC > > -------- Forwarded Message -------- > Betreff: Gambas Fr (gambas.fr) invited > you to join gambas.discourse.group > Datum: Mon, 09 Dec 2019 18:30:59 +0000 > Von: Gambas Basic > Antwort an: Gambas Basic > An: chrisml at deganius.de > > Gambas Fr (gambas.fr ) invited you to join > > *Gambas Basic* > > A place to share everything about the Gambas language and its > development environment. > > If you?re interested, click the link below: > > https://gambas.discourse.group/invites/a894f9021bbfc5ffeeeee6415ef4061d > > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > From chrisml at deganius.de Tue Dec 10 10:16:38 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 10:16:38 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: <0036e6c3-20ee-8abf-687a-b207b3181365@deganius.de> Am 10.12.19 um 10:01 schrieb Fabien Bodard: > Well it's me ... But It does not seem to show my name ..? sorry. It's an > automatic invitation. And yes the mail come from here because I have > selected you to be moderators on this forum? Ahh ... ok. No problem. :-) Why do you want to discuss on Discourse? We have a very small community and IMO there is the danger of fragmentation. And ... the other thingi is ... IMO Discourse is another walled garden. It was financed by venture capital. But maybe I'm a bit paranoid ... ;-) 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 Dec 10 10:17:22 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 10:17:22 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: <6b730323-2cae-bbc2-aa1d-281ab0bd1e5f@deganius.de> Am 10.12.19 um 10:11 schrieb Gianluigi: > lol > > Well, I've reported you as spam :-P Hahaha :-) 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 gambas.fr at gmail.com Tue Dec 10 12:06:36 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 12:06:36 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: I'm really sorry as the system take only the root ofmy mail and settup the name with it without query me before sending to you the mails -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Tue Dec 10 12:09:16 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 12:09:16 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <0036e6c3-20ee-8abf-687a-b207b3181365@deganius.de> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> <0036e6c3-20ee-8abf-687a-b207b3181365@deganius.de> Message-ID: Le mar. 10 d?c. 2019 ? 10:17, Christof Thalhofer a ?crit : > Am 10.12.19 um 10:01 schrieb Fabien Bodard: > > > Well it's me ... But It does not seem to show my name .. sorry. It's an > > automatic invitation. And yes the mail come from here because I have > > selected you to be moderators on this forum > > Ahh ... ok. No problem. :-) > > Why do you want to discuss on Discourse? We have a very small community > and IMO there is the danger of fragmentation. > > And ... the other thingi is ... IMO Discourse is another walled garden. > It was financed by venture capital. But maybe I'm a bit paranoid ... > Certainly... Money is good sometime if you want to live. No Capital interest, no really existance... It's the way true live goes... > ;-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Tue Dec 10 12:14:41 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 12:14:41 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: Am 10.12.19 um 12:06 schrieb Fabien Bodard: > I'm really sorry as the system take only the root ofmy mail and settup > the name with it without query me before sending to you the mails Hey, no problem! I've just subscribed. Let's figure it out. At least the claim is occupied now. :-) 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 Dec 10 12:25:50 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 10 Dec 2019 12:25:50 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> <0036e6c3-20ee-8abf-687a-b207b3181365@deganius.de> Message-ID: <0374b9c9-25b6-be79-c53d-e6571709d9e5@deganius.de> Am 10.12.19 um 12:09 schrieb Fabien Bodard: > And ... the other thingi is ... IMO Discourse is another walled garden. > It was financed by venture capital. But maybe I'm a bit paranoid ... > > > Certainly... Money is good sometime if you want to live. No Capital > interest, no really existance... It's the way true live goes...? I have nothing against money. But I'm afraid of vendor lockin. https://fr.wikipedia.org/wiki/Enfermement_propri%C3%A9taire 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 gambas.fr at gmail.com Tue Dec 10 17:17:59 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 17:17:59 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <0374b9c9-25b6-be79-c53d-e6571709d9e5@deganius.de> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> <0036e6c3-20ee-8abf-687a-b207b3181365@deganius.de> <0374b9c9-25b6-be79-c53d-e6571709d9e5@deganius.de> Message-ID: I understound ... but it's just a start node, nothing is against us if we want to have a self hosting version. It's a free software. Le mar. 10 d?c. 2019 ? 12:26, Christof Thalhofer a ?crit : > > Am 10.12.19 um 12:09 schrieb Fabien Bodard: > > > And ... the other thingi is ... IMO Discourse is another walled garden. > > It was financed by venture capital. But maybe I'm a bit paranoid ... > > > > > > Certainly... Money is good sometime if you want to live. No Capital > > interest, no really existance... It's the way true live goes... > > I have nothing against money. But I'm afraid of vendor lockin. > https://fr.wikipedia.org/wiki/Enfermement_propri%C3%A9taire > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -- Fabien Bodard Gambas Basic : http://gambas.sf.net GambasForge : http://www.gambasforge.org NEW discourse Gambas Forum : https://gambas.discourse.group/ From t.lee.davidson at gmail.com Tue Dec 10 17:21:36 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 10 Dec 2019 11:21:36 -0500 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> Message-ID: <4dd2a714-d895-7f04-22ad-78d59d7567a0@gmail.com> On 12/10/19 4:11 AM, Gianluigi wrote: > > > Il giorno mar 10 dic 2019 alle ore 10:03 Fabien Bodard > ha scritto: > > Well it's me ... But It does not seem to show my name ..? sorry. It's an automatic invitation. And yes the mail come from > here because I have selected you to be moderators on this forum > > > lol > > Well, I've reported you as spam :-P > ROTFLMAO - That is hilarious! One thing I have noticed about the mailing list is that the sender's address is exposed. Anyone could harvest addresses by signing up to the list, though not a great harvest. And, I do not know if there is a feature of Mailman that could prevent that, or if it is even necessary. -- Lee From gambas.fr at gmail.com Tue Dec 10 17:30:49 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 10 Dec 2019 17:30:49 +0100 Subject: [Gambas-user] Fwd: Gambas Fr (gambas.fr) invited you to join gambas.discourse.group In-Reply-To: <4dd2a714-d895-7f04-22ad-78d59d7567a0@gmail.com> References: <3854a691-d620-4e08-8389-5da437aaaa5a@gambas.discourse.group> <5554c866-e26a-c94c-3b45-1a7263326863@deganius.de> <4dd2a714-d895-7f04-22ad-78d59d7567a0@gmail.com> Message-ID: By definition mailing list is a mail exchange so masking the mail address is a non sens From t.lee.davidson at gmail.com Tue Dec 10 17:36:33 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 10 Dec 2019 11:36:33 -0500 Subject: [Gambas-user] New Wiki Netiquette page (was Test of mail received) In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> Message-ID: <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> On 12/10/19 3:20 AM, Christof Thalhofer wrote: > http://gambaswiki.org/wiki/doc/netiquette > Yes, I think it's very good. > > I've put the link into the footer. IMO the only thing is, that the name > "Netiquette" should change to "FAQ" later. Yes, that might be. We'll see. Should that time come, I would propose simply adding "... and FAQ" to the title. Should the Mailing List Netiquette page be linked on the front page of the Wiki? I'm thinking in the Documents section right underneath "Frequently Asked Questions". -- Lee From james at lixce.com Thu Dec 12 04:42:54 2019 From: james at lixce.com (james) Date: Thu, 12 Dec 2019 03:42:54 +0000 Subject: [Gambas-user] Close the Application Stream Message-ID: <20191212034254.Horde.L0nl45H6m8qyByZp1qeM8Hb@www.lixce.com> I'm writing a library to provide GUI spell checking to my programs and a stand alone GUI spell checker using aspell. To provide some backward compatibility I want to be able to pass words this way: echo wrld | lixce-aspell -a (the way aspell works on the command line) I can accomplish this using: Public Sub Application_Read() Dim sLine As String Read #Last, sLine, -256 Print "Found this on stdIn: " & Trim$(sLine) Close #Last End This works fine when I use the command line above. THE PROBLEM IS: I cannot figure out how to close the Application Stream when I start the program WITHOUT pipeing anything to it. I have tried: Close #Application 'Result: "bad use of virtual class" Close #Last 'Result: "Null Object" Close Application_Read 'Result: "Wanted Stream, got function" Application_Read() 'Result "Null Object" Any suggestions would be appreciated. Regards, -j From t.lee.davidson at gmail.com Thu Dec 12 06:43:56 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 12 Dec 2019 00:43:56 -0500 Subject: [Gambas-user] Close the Application Stream In-Reply-To: <20191212034254.Horde.L0nl45H6m8qyByZp1qeM8Hb@www.lixce.com> References: <20191212034254.Horde.L0nl45H6m8qyByZp1qeM8Hb@www.lixce.com> Message-ID: <96e12452-86de-a54c-8cb6-cd1a205aa7ac@gmail.com> On 12/11/19 10:42 PM, james wrote: > I'm writing a library to provide GUI spell checking to my programs and a stand alone GUI spell checker using aspell. To provide some backward compatibility I want to be able to pass words this way: > > echo wrld | lixce-aspell -a (the way aspell works on the command line) I think I'm not quite understanding. Are you saying that you want to use your application on the command line in the same way that aspell is used (eg. echo wrld | myGambasApp.gambas)? > Public Sub Application_Read() I believe that should be: Static Public Sub Application_Read() > THE PROBLEM IS: I cannot figure out how to close the Application Stream when I start the program WITHOUT pipeing anything to it. Again, I'm confused. If you are designing a program to read stdIn on launch, then why are you starting it without piping anything to it? And, if you are done reading stdIn or there's nothing to read, why would you need to close the Watch on stdIn? Just close the application. -- Lee From chrisml at deganius.de Thu Dec 12 07:43:52 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 12 Dec 2019 07:43:52 +0100 Subject: [Gambas-user] New Wiki Netiquette page (was Test of mail received) In-Reply-To: <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> Message-ID: Am 10.12.19 um 17:36 schrieb T Lee Davidson: > Should the Mailing List Netiquette page be linked on the front page > of the Wiki? I'm thinking in the Documents section right underneath > "Frequently Asked Questions". I linked to it here: http://gambaswiki.org/wiki/doc/forum 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 Thu Dec 12 07:53:18 2019 From: adamnt42 at gmail.com (Bruce) Date: Thu, 12 Dec 2019 17:23:18 +1030 Subject: [Gambas-user] New Wiki Netiquette page (was Test of mail received) In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> Message-ID: <3d364479-79d8-9bb4-a822-0a67f4e3fc64@gmail.com> On 12/12/19 5:13 pm, Christof Thalhofer wrote> I linked to it here: > http://gambaswiki.org/wiki/doc/forum Which is an apt and proper place! (See what I did there :-) ) b From james at lixce.com Thu Dec 12 14:16:36 2019 From: james at lixce.com (james) Date: Thu, 12 Dec 2019 13:16:36 +0000 Subject: [Gambas-user] [Solved] Close the Application Stream Message-ID: <20191212131636.Horde.dNwZ_-nbU2rKqQNCcOlCv8x@www.lixce.com> I found it. Close #File.In Thanks -j From t.lee.davidson at gmail.com Thu Dec 12 18:41:38 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 12 Dec 2019 12:41:38 -0500 Subject: [Gambas-user] New Wiki Netiquette page (was Test of mail received) In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> Message-ID: On 12/12/19 1:43 AM, Christof Thalhofer wrote: > Am 10.12.19 um 17:36 schrieb T Lee Davidson: > >> Should the Mailing List Netiquette page be linked on the front page >> of the Wiki? I'm thinking in the Documents section right underneath >> "Frequently Asked Questions". > > I linked to it here: > http://gambaswiki.org/wiki/doc/forum That's a handy page. I didn't even know it existed. Where is it linked? I don't see it on the Wiki front page. -- Lee From t.lee.davidson at gmail.com Thu Dec 12 18:47:08 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 12 Dec 2019 12:47:08 -0500 Subject: [Gambas-user] New Wiki Netiquette page (was Test of mail received) In-Reply-To: References: <4e94fc94-d511-1e23-a94b-52ff48bd84c7@gmail.com> <743da1a3-1f2a-c36c-497b-662138c9f0a1@gmail.com> <35ebaee6-5073-3cd3-3342-e6965e01b87b@deganius.de> <744643c5-37d1-a7ff-49b9-0867f97fa1ac@gmail.com> <865b5889-7633-e8e9-501a-3140e939db16@gmail.com> Message-ID: On 12/12/19 12:41 PM, T Lee Davidson wrote: > On 12/12/19 1:43 AM, Christof Thalhofer wrote: [snip] >> >> I linked to it here: >> http://gambaswiki.org/wiki/doc/forum > > That's a handy page. I didn't even know it existed. Where is it linked? I don't see it on the Wiki front page. > Nevermind, I found it. It's linked on http://gambaswiki.org/wiki/doc which is linked in the Documents section of the front page. -- Lee From rwe-sse at osnanet.de Fri Dec 13 15:39:44 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 13 Dec 2019 15:39:44 +0100 Subject: [Gambas-user] Which way of storing these data would you choose? In-Reply-To: References: <5d90a497-8c8b-3356-3230-8c75ad07e9a8@osnanet.de> Message-ID: <1aab9d57-497b-fa60-a150-a697d04503e3@osnanet.de> Am 09.12.19 um 19:12 schrieb T Lee Davidson: > On 12/9/19 12:19 PM, Rolf-Werner Eilert wrote: >> The second idea was to have a number of arrays for each declaration, >> having a name like the value and a datatype which fits the data. The >> values for each declaration could be referenced via one pointer to all >> arrays. The drawback would be, I would have more than a dozen single >> arrays?which?I?would?have?to?maintain?each?time. > > It sounds like perhaps you want an array of collections (Collection[]). > Values in a collection are variant. > ["name": "paragraph1", "indentation": 4, "justification": "left", > "font": "sans-serif", "size": 12] > > Dim MyCollection as New Collection[] > > Paragraph one could be MyCollection[0], paragraph two, MyCollection[1], > etc. This assumes, though, that the paragraphs would have a related > context, ie. be in the same document. > > Thank you for this idea, this is the way I choose and it proved to be the solution for me. Moreover, I had never really paid attention to Collections, now I know they can be of great help. There are some glitches, but I could overcome all of them. What surprised me most was that when you do myCollection = listOfCollections[x] then myCollection just points to this one listOfCollections[x]. When you change something in myCollection, it is simultaneously changed whithin the array. So I used myCollection = listOfCollections[x].Copy() (beware, you have to use the brackets!), that will be independent. There is one thing, the documentation for collections is not complete, on many pages there is only an error message. But I got it done, so thank you all for your ideas, maybe next time I will try classes :) Regards Rolf From chrisml at deganius.de Sat Dec 14 01:41:37 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 14 Dec 2019 01:41:37 +0100 Subject: [Gambas-user] Disable compiler warnings? Message-ID: <9708675e-d21a-d19b-4fee-8adaf945caa6@deganius.de> Hello, is there the possibility to selectively disable compiler warnings for a class at all, a method at all or for certain variables? 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 jussi.lahtinen at gmail.com Sat Dec 14 04:36:25 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sat, 14 Dec 2019 05:36:25 +0200 Subject: [Gambas-user] JIT Bug Message-ID: Here is bug that that freezes JIT. See attached project and search for "Typo here hangs JIT". Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PTC-Calculator-0.9.5.tar.gz Type: application/gzip Size: 20877 bytes Desc: not available URL: From g4mba5 at gmail.com Sat Dec 14 07:35:28 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 14 Dec 2019 07:35:28 +0100 Subject: [Gambas-user] JIT Bug In-Reply-To: References: Message-ID: <819f61cf-0228-bbc9-9f50-b247af184d6a@gmail.com> Le 14/12/2019 ? 04:36, Jussi Lahtinen a ?crit?: > Here is bug that that freezes JIT. > See attached project and search for "Typo here hangs JIT". > > > Jussi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > It does not freeze here, it raises an error "PTC.Main.0: #6: Type mismatch: wanted Integer, got CRecipe instead". Regards, -- Beno?t Minisini From chrisml at deganius.de Sat Dec 14 18:23:16 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 14 Dec 2019 18:23:16 +0100 Subject: [Gambas-user] Disable compiler warnings? In-Reply-To: <9708675e-d21a-d19b-4fee-8adaf945caa6@deganius.de> References: <9708675e-d21a-d19b-4fee-8adaf945caa6@deganius.de> Message-ID: Am 14.12.19 um 01:41 schrieb Christof Thalhofer: > is there the possibility to selectively disable compiler warnings for a > class at all, a method at all or for certain variables? Meanwhile I got this answer from Beno?t: > No, but if you put a symbol between parentheses in its declaration, then > any warning on it is disabled. > > Example: > > Public (Class) As String Thank you, this helps me a lot. But additionally I'd like to exclude certain unused functions or even complete classes from the compiler warnings. Is that possible? 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 jussi.lahtinen at gmail.com Sat Dec 14 23:39:35 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 15 Dec 2019 00:39:35 +0200 Subject: [Gambas-user] JIT Bug In-Reply-To: <819f61cf-0228-bbc9-9f50-b247af184d6a@gmail.com> References: <819f61cf-0228-bbc9-9f50-b247af184d6a@gmail.com> Message-ID: If I run the project on gdb I get the same, but if I run the IDE on gdb and then start the project I will get the freeze... (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead warning: Corrupted shared library list: 0x555555c99eb0 != 0x555555c52f90 [New Thread 0x7fffd5030700 (LWP 12854)] [New Thread 0x7fff9423d700 (LWP 12855)] [New Thread 0x7fff93a3c700 (LWP 12856)] [New Thread 0x7fff92e50700 (LWP 12857)] ^C Thread 1 "gbx3" received signal SIGINT, Interrupt. 0x00007ffff7af8bf9 in __GI___poll (fds=0x5555565b3c30, nfds=10, timeout=465) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. (gdb) bt #0 0x00007ffff7af8bf9 in __GI___poll (fds=0x5555565b3c30, nfds=10, timeout=465) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff36f95c9 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff36f96dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff4ad320e in QEventDispatcherGlib::processEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007ffff507c666 in () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #5 0x00007ffff4aa112f in QEventLoop::processEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007ffff4aa1495 in QEventLoop::exec(QFlags) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007ffff4aa7459 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007ffff5d91555 in hook_loop() () at main.cpp:1023 #9 0x00005555555726dd in main (argc=, argv=) at gbx.c:457 Corrupted shared library list? Jussi On Sat, Dec 14, 2019 at 8:35 AM Beno?t Minisini wrote: > Le 14/12/2019 ? 04:36, Jussi Lahtinen a ?crit : > > Here is bug that that freezes JIT. > > See attached project and search for "Typo here hangs JIT". > > > > > > Jussi > > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > > It does not freeze here, it raises an error "PTC.Main.0: #6: Type > mismatch: wanted Integer, got CRecipe instead". > > Regards, > > -- > Beno?t Minisini > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Wed Dec 18 09:49:58 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 18 Dec 2019 09:49:58 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText Message-ID: When printing text, these methods could be pretty useful. I would have to know, however, where the printing of text ended, so I can set an xy position to its end (to start the next part there or to see if it comes out too long for the page). As I do not know where the method actually sets the words etc. before I start it, I have to evaluate the end of the path afterwards. Second of all, how do I define bold, underline, italics in a RichText - by HTML tags? Hope you can help me here. Regards Rolf From bagonergi at gmail.com Wed Dec 18 11:19:35 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 18 Dec 2019 11:19:35 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: References: Message-ID: Il giorno mer 18 dic 2019 alle ore 09:50 Rolf-Werner Eilert < rwe-sse at osnanet.de> ha scritto: > When printing text, ... > > Second of all, how do I define bold, underline, italics in a RichText - > by HTML tags? > In Gambas ...app/examples, there is Printing, an example created by Benoit himself. Yes you have to use HTML tags Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From brailateo at gmail.com Wed Dec 18 16:18:27 2019 From: brailateo at gmail.com (Constantin Teodorescu) Date: Wed, 18 Dec 2019 17:18:27 +0200 Subject: [Gambas-user] Smaller report fonts when upgraded from 3.11 to 3.14.2 Message-ID: Hello all, I just upgraded Gambas3 on a Linux Mint computer from 3.11 to 3.14.2 using: $ sudo add-apt-repository ppa:gambas-team/gambas3 $ sudo apt-get update $ sudo apt-get install gambas3 Everything was OK but my reports (created with report2) are printed (even in PDF) with smaller fonts. Is there a global system wide configuration to set the default font to be used? Thanks, Teo -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Thu Dec 19 10:11:56 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 19 Dec 2019 10:11:56 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: References: Message-ID: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> Am 18.12.19 um 11:19 schrieb Gianluigi: > > > Il giorno mer 18 dic 2019 alle ore 09:50 Rolf-Werner Eilert > > ha scritto: > > When printing text, ... > > Second of all, how do I define bold, underline, italics in a RichText - > by HTML tags? > > > In Gambas ...app/examples, there is Printing, an example created by > Benoit himself. > > Yes you have to use HTML tags > > Regards > Gianluigi > Hm, can't find it, neither where you said nor in the farm. But I do remember it, I looked at it some years ago, and I guess there will be no answer to my question. What I miss is a property or a function that gives me the end coordinates of the path when the text was finished. Using X and Y only yields the start coordinates. DrawText or DrawRichText will paint the text starting with X and Y, but afterwards the program has no control about where the text in fact ends. It could make life a lot easier to have these coordinates, because you could then simply add the next paragraph or decide to start the next page. If there is no way how to find out, I would have the do the job myself, leaving DrawRichText aside. It would mean to build my own function. Regards Rolf From g4mba5 at gmail.com Thu Dec 19 10:43:46 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 19 Dec 2019 10:43:46 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> Message-ID: <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> Le 19/12/2019 ? 10:11, Rolf-Werner Eilert a ?crit?: > > Hm, can't find it, neither where you said nor in the farm. But I do > remember it, I looked at it some years ago, and I guess there will be no > answer to my question. > > What I miss is a property or a function that gives me the end > coordinates of the path when the text was finished. Using X and Y only > yields the start coordinates. DrawText or DrawRichText will paint the > text starting with X and Y, but afterwards the program has no control > about where the text in fact ends. > > It could make life a lot easier to have these coordinates, because you > could then simply add the next paragraph or decide to start the next page. > > If there is no way how to find out, I would have the do the job myself, > leaving DrawRichText aside. It would mean to build my own function. > > Regards > Rolf > I'm aware of that problem, but AFAIK QT and GTK+ do not provide any way to get this very useful information! You have to use the TextWidth() and TextHeight() method to get the size of a text before or after drawing it, which does the job almost twice. If anyone has more information on this subject, he's welcome! Regards, -- Beno?t Minisini From g4mba5 at gmail.com Thu Dec 19 10:53:50 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 19 Dec 2019 10:53:50 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> Message-ID: Le 19/12/2019 ? 10:43, Beno?t Minisini a ?crit?: > Le 19/12/2019 ? 10:11, Rolf-Werner Eilert a ?crit?: >> >> Hm, can't find it, neither where you said nor in the farm. But I do >> remember it, I looked at it some years ago, and I guess there will be >> no answer to my question. >> >> What I miss is a property or a function that gives me the end >> coordinates of the path when the text was finished. Using X and Y only >> yields the start coordinates. DrawText or DrawRichText will paint the >> text starting with X and Y, but afterwards the program has no control >> about where the text in fact ends. >> >> It could make life a lot easier to have these coordinates, because you >> could then simply add the next paragraph or decide to start the next >> page. >> >> If there is no way how to find out, I would have the do the job >> myself, leaving DrawRichText aside. It would mean to build my own >> function. >> >> Regards >> Rolf >> > > I'm aware of that problem, but AFAIK QT and GTK+ do not provide any way > to get this very useful information! > > You have to use the TextWidth() and TextHeight() method to get the size > of a text before or after drawing it, which does the job almost twice. > > If anyone has more information on this subject, he's welcome! > > Regards, > It's possible with GTK+ / Pango to get the size of text just after having drawn it. I am checking Qt now... -- Beno?t Minisini From rwe-sse at osnanet.de Thu Dec 19 11:21:17 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 19 Dec 2019 11:21:17 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> Message-ID: <34a2392a-a143-93f8-26c6-6fb23982be6d@osnanet.de> Sorry, I misspelled the , now it runs, but underline still positions itself wrong. Am 19.12.19 um 10:43 schrieb Beno?t Minisini: > Le 19/12/2019 ? 10:11, Rolf-Werner Eilert a ?crit?: >> >> Hm, can't find it, neither where you said nor in the farm. But I do >> remember it, I looked at it some years ago, and I guess there will be >> no answer to my question. >> >> What I miss is a property or a function that gives me the end >> coordinates of the path when the text was finished. Using X and Y only >> yields the start coordinates. DrawText or DrawRichText will paint the >> text starting with X and Y, but afterwards the program has no control >> about where the text in fact ends. >> >> It could make life a lot easier to have these coordinates, because you >> could then simply add the next paragraph or decide to start the next >> page. >> >> If there is no way how to find out, I would have the do the job >> myself, leaving DrawRichText aside. It would mean to build my own >> function. >> >> Regards >> Rolf >> > > I'm aware of that problem, but AFAIK QT and GTK+ do not provide any way > to get this very useful information! > > You have to use the TextWidth() and TextHeight() method to get the size > of a text before or after drawing it, which does the job almost twice. > > If anyone has more information on this subject, he's welcome! > > Regards, > From rwe-sse at osnanet.de Thu Dec 19 11:25:05 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 19 Dec 2019 11:25:05 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> Message-ID: <5326d33f-b3cd-f8dc-ccc6-2500521a96f1@osnanet.de> Am 19.12.19 um 10:43 schrieb Beno?t Minisini: > Le 19/12/2019 ? 10:11, Rolf-Werner Eilert a ?crit?: >> >> Hm, can't find it, neither where you said nor in the farm. But I do >> remember it, I looked at it some years ago, and I guess there will be >> no answer to my question. >> >> What I miss is a property or a function that gives me the end >> coordinates of the path when the text was finished. Using X and Y only >> yields the start coordinates. DrawText or DrawRichText will paint the >> text starting with X and Y, but afterwards the program has no control >> about where the text in fact ends. >> >> It could make life a lot easier to have these coordinates, because you >> could then simply add the next paragraph or decide to start the next >> page. >> >> If there is no way how to find out, I would have the do the job >> myself, leaving DrawRichText aside. It would mean to build my own >> function. >> >> Regards >> Rolf >> > > I'm aware of that problem, but AFAIK QT and GTK+ do not provide any way > to get this very useful information! > > You have to use the TextWidth() and TextHeight() method to get the size > of a text before or after drawing it, which does the job almost twice. > > If anyone has more information on this subject, he's welcome! > > Regards, > Aaah, I found RichTextExtents and RichTextSize. At least that works. RTFM :)))) But, as I found now, when I give HTML tags will make text bold has no effect makes lines somewhere a few lines deeper than the text Strange, isn't it? Regards Rolf From egcaruana at gmail.com Thu Dec 19 13:23:47 2019 From: egcaruana at gmail.com (Manny Caruana) Date: Thu, 19 Dec 2019 12:23:47 +0000 Subject: [Gambas-user] RichText Message-ID: I don't know if this is the answer, but I have always believed that RichText and HTML have absolutely nothing to do with each other. Have you tried and ? I'm not sure why 'b' works as it should be 'Bold' according to the RFC document. -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Dec 19 13:46:52 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 19 Dec 2019 13:46:52 +0100 Subject: [Gambas-user] RichText In-Reply-To: References: Message-ID: Le 19/12/2019 ? 13:23, Manny Caruana a ?crit?: > I don't know if this is the answer, but I have always believed that > RichText and HTML have absolutely nothing to do with each other.? Have > you tried and ?? I'm not sure > why 'b' works as it should be 'Bold' according to the RFC document. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > "RichText" here is just a common name that means "text with support for a few HTML markups", nothing more. -- Beno?t Minisini From bagonergi at gmail.com Thu Dec 19 14:27:26 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 19 Dec 2019 14:27:26 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <5326d33f-b3cd-f8dc-ccc6-2500521a96f1@osnanet.de> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> <5326d33f-b3cd-f8dc-ccc6-2500521a96f1@osnanet.de> Message-ID: > But, as I found now, when I give HTML tags > will make text bold > has no effect > makes lines somewhere a few lines deeper than the text > Here the rich text works well, see image. @Benoit, if I change gb.gui in gb.gui.qt I get this warning in console: gb.gui.qt: warning: 'gb.gtk3' component not supported Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: malone.jpg Type: image/jpeg Size: 79080 bytes Desc: not available URL: From rwe-sse at osnanet.de Thu Dec 19 15:30:18 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 19 Dec 2019 15:30:18 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> <5326d33f-b3cd-f8dc-ccc6-2500521a96f1@osnanet.de> Message-ID: <1486eda9-9f72-252a-57c6-01ab02a526ec@osnanet.de> Am 19.12.19 um 14:27 schrieb Gianluigi: > > But, as I found now, when I give HTML tags > will make text bold > has no effect > makes lines somewhere a few lines deeper than the text > > > Here the rich text works well, see image. > > @Benoit, > if I change gb.gui in gb.gui.qt I get this warning in console: > gb.gui.qt: warning: 'gb.gtk3' component not supported > > Regards > Gianluigi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Hm. I directly used gb.qt4, maybe that was the mistake? Regards Rolf From bagonergi at gmail.com Thu Dec 19 19:57:41 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 19 Dec 2019 19:57:41 +0100 Subject: [Gambas-user] Paint.DrawRichText and Paint.RichText In-Reply-To: <1486eda9-9f72-252a-57c6-01ab02a526ec@osnanet.de> References: <0bdb828a-96bc-3d0a-c29a-d77dbe29d696@osnanet.de> <3ac51b7c-aaad-b0af-3ac9-81d412147384@gmail.com> <5326d33f-b3cd-f8dc-ccc6-2500521a96f1@osnanet.de> <1486eda9-9f72-252a-57c6-01ab02a526ec@osnanet.de> Message-ID: > Hm. I directly used gb.qt4, maybe that was the mistake? > I don't know, here works both with gb.qt4 (slow) and gb.qt5 (fast). And without warning in console :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Fri Dec 20 18:07:42 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 20 Dec 2019 18:07:42 +0100 Subject: [Gambas-user] Suggestion Message-ID: Is it possible to have Scrollingarea returning an info about the scrollbar height or width. My suggest are : or SA.ScrollH that return the true visible area without sb.H idem for Width or Having Two property that return the SB size : SA.ScrollbarH SA.ScrollBarW that properties return 0 if the scroll bar is not visible. I prefer the first solution. -- Fabien Bodard Gambas Basic : http://gambas.sf.net GambasForge : http://www.gambasforge.org NEW discourse Gambas Forum : https://gambas.discourse.group/ From gambas.fr at gmail.com Fri Dec 20 18:17:58 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 20 Dec 2019 18:17:58 +0100 Subject: [Gambas-user] Smaller report fonts when upgraded from 3.11 to 3.14.2 In-Reply-To: References: Message-ID: If you have used default font then report2 try to use the system font. ["DejaVu Serif", "Liberation Serif", "Bitstream Vera Serif", "Serif", "Arial"] and then force the size to 12. So if this base font is different then it can change a bit the report look. Just try to add all these fonts, you will recover you original report. A way to not have this problem is to set the report font in the report object. This will fix all your reports on all machine, but you must to be sure that the font exist on this machine. this is the order of how report get the font : - The font is defined in my property ... ok take it... If not... - Look to my parent Font ... It have ? OK ... If not - loop ... oups I've no parent with font so try on a defined list. Le mer. 18 d?c. 2019 ? 16:19, Constantin Teodorescu a ?crit : > > Hello all, > > I just upgraded Gambas3 on a Linux Mint computer from 3.11 to 3.14.2 using: > > $ sudo add-apt-repository ppa:gambas-team/gambas3 > $ sudo apt-get update > $ sudo apt-get install gambas3 > > Everything was OK but my reports (created with report2) are printed (even in PDF) with smaller fonts. > Is there a global system wide configuration to set the default font to be used? > > Thanks, > Teo > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -- Fabien Bodard Gambas Basic : http://gambas.sf.net GambasForge : http://www.gambasforge.org NEW discourse Gambas Forum : https://gambas.discourse.group/ From gambas.fr at gmail.com Fri Dec 20 18:36:02 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 20 Dec 2019 18:36:02 +0100 Subject: [Gambas-user] Suggestion In-Reply-To: References: Message-ID: Forgot it ... It work with ClientH. From jussi.lahtinen at gmail.com Sun Dec 22 01:39:16 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 22 Dec 2019 02:39:16 +0200 Subject: [Gambas-user] New compiler warning Message-ID: Warning if range of values are wrong way. Examples: - Case 1 to 0.9 - For ii = 10 to 0 Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Mon Dec 23 09:17:19 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 23 Dec 2019 18:47:19 +1030 Subject: [Gambas-user] ColorButton - where is the custom palette stored? Message-ID: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> When I click on a ColorButton a color picker popup shows. At the bottom is a "custom" palette. Where is this loaded from, where is it stored? The project has no .config file so it's not there. (BTW, the control could use a few more entries in its popup menu, like "Clear Palette" and "Store Pallete"... JMHO) bruce From g4mba5 at gmail.com Mon Dec 23 10:42:19 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 23 Dec 2019 10:42:19 +0100 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> Message-ID: Le 23/12/2019 ? 09:17, Bruce a ?crit?: > When I click on a ColorButton a color picker popup shows. At the bottom > is a "custom" palette. > Where is this loaded from, where is it stored? The project has no > .config file so it's not there. > > (BTW, the control could use a few more entries in its popup menu, like > "Clear Palette" and "Store Pallete"... JMHO) > > bruce > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- The colors are stored in the settings file of your application, in the 'CustomColors' setting of the '[gb.form]' slot. Did you see the popup menu of the color palette? -- Beno?t Minisini From adamnt42 at gmail.com Mon Dec 23 11:20:19 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 23 Dec 2019 20:50:19 +1030 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> Message-ID: <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> On 23/12/19 8:12 pm, Beno?t Minisini wrote: > Le 23/12/2019 ? 09:17, Bruce a ?crit?: >> When I click on a ColorButton a color picker popup shows. At the >> bottom is a "custom" palette. >> Where is this loaded from, where is it stored? The project has no >> .config file so it's not there. >> >> (BTW, the control could use a few more entries in its popup menu, like >> "Clear Palette" and "Store Pallete"... JMHO) >> >> bruce >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > The colors are stored in the settings file of your application, in the > 'CustomColors' setting of the '[gb.form]' slot. There was no ~/.config/gambas3/ctldemo.conf until I forced one with Settings.Write(Me). But the only entry in it is the Geometry for the form. > > Did you see the popup menu of the color palette? Under QT5 there is a popup that only has a "Customise" item. Under QT4 there is no popup that I can find. > I've changed the gui component to and fro between gb.gui and gb.gui.qt but this seems to make no difference. ? b From g4mba5 at gmail.com Mon Dec 23 11:26:06 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 23 Dec 2019 11:26:06 +0100 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> Message-ID: <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> Le 23/12/2019 ? 11:20, Bruce a ?crit?: >> >> The colors are stored in the settings file of your application, in the >> 'CustomColors' setting of the '[gb.form]' slot. > > There was no ~/.config/gambas3/ctldemo.conf until I forced one with > Settings.Write(Me). But the only entry in it is the Geometry for the form. >> >> Did you see the popup menu of the color palette? > Under QT5 there is a popup that only has a "Customise" item. Under QT4 > there is no popup that I can find. >> > > I've changed the gui component to and fro between gb.gui and gb.gui.qt > but this seems to make no difference. > > ? > b > Ah OK, you are talking about the color chooser dialog. Which dialog you see depends on which components you are using. Please show a screenshot of that dialog. -- Beno?t Minisini From adamnt42 at gmail.com Mon Dec 23 11:33:25 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 23 Dec 2019 21:03:25 +1030 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> Message-ID: <0bd2c0f4-f60e-18d7-8c5f-da4ca44d42d1@gmail.com> On 23/12/19 8:56 pm, Beno?t Minisini wrote: 8< > Ah OK, you are talking about the color chooser dialog. Which dialog you > see depends on which components you are using. Please show a screenshot > of that dialog. > qt4 attached. qt5 in a minute or two. -------------- next part -------------- A non-text attachment was scrubbed... Name: qt4.png Type: image/png Size: 32235 bytes Desc: not available URL: From adamnt42 at gmail.com Mon Dec 23 11:36:00 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 23 Dec 2019 21:06:00 +1030 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> Message-ID: <814019c0-ea3b-5465-3e69-b119dfa1a9e6@gmail.com> > Ah OK, you are talking about the color chooser dialog. Which dialog you > see depends on which components you are using. Please show a screenshot > of that dialog. > qt5 attached -------------- next part -------------- A non-text attachment was scrubbed... Name: qt5.png Type: image/png Size: 23207 bytes Desc: not available URL: From g4mba5 at gmail.com Mon Dec 23 12:03:33 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 23 Dec 2019 12:03:33 +0100 Subject: [Gambas-user] ColorButton - where is the custom palette stored? In-Reply-To: <0bd2c0f4-f60e-18d7-8c5f-da4ca44d42d1@gmail.com> References: <08863fc2-ab43-cccf-2712-9fc288053874@gmail.com> <1560aa92-3344-04e7-b2b9-5704f3d84afa@gmail.com> <8e2c7c54-b96e-4094-b045-91f13c844b7b@gmail.com> <0bd2c0f4-f60e-18d7-8c5f-da4ca44d42d1@gmail.com> Message-ID: Le 23/12/2019 ? 11:33, Bruce a ?crit?: > > > On 23/12/19 8:56 pm, Beno?t Minisini wrote: > 8< > >> Ah OK, you are talking about the color chooser dialog. Which dialog >> you see depends on which components you are using. Please show a >> screenshot of that dialog. >> > qt4 attached. > qt5 in a minute or two. > OK, this is the standard Qt color chooser dialog. I don't control it and I don't know where it stores its configuration, maybe in the Qt4 configuration file. Different dialog box for qt5, but same behaviour I imagine. If you want a color chooser written in Gambas that stores its configuration where I said before, you have to use the 'gb.form.dialog' component. That component replaces all toolkit dialogs by Gambas dialogs. Regards, -- Beno?t Minisini From chrisml at deganius.de Wed Dec 25 00:55:03 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 25 Dec 2019 00:55:03 +0100 Subject: [Gambas-user] Merry Christmas! Message-ID: Hi all! Our Gambas IDE starts snowing ... I wish you all a merry christmas! :-) 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 lapisdecor at gmail.com Wed Dec 25 01:00:14 2019 From: lapisdecor at gmail.com (Luis Louro) Date: Wed, 25 Dec 2019 00:00:14 +0000 Subject: [Gambas-user] Merry Christmas! In-Reply-To: References: Message-ID: Merry Christmas! And a gambas new year! A ter?a, 24/12/2019, 23:56, Christof Thalhofer escreveu: > Hi all! > > Our Gambas IDE starts snowing ... > I wish you all a merry christmas! > > :-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Dec 25 03:18:00 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 25 Dec 2019 03:18:00 +0100 Subject: [Gambas-user] Merry Christmas! In-Reply-To: References: Message-ID: Le 25/12/2019 ? 00:55, Christof Thalhofer a ?crit?: > Hi all! > > Our Gambas IDE starts snowing ... > I wish you all a merry christmas! > > :-) > > Alles Gute > > Christof Thalhofer > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Me too. :-) Merry Christmas to everyone! -- Beno?t Minisini From admin at allunix.ru Wed Dec 25 08:17:58 2019 From: admin at allunix.ru (Admin) Date: Wed, 25 Dec 2019 14:17:58 +0700 Subject: [Gambas-user] Pipe EOF In-Reply-To: References: Message-ID: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> So, I have this piece of code: --------------------------------- Dim PackSize As Integer Dim packet As String Dim archive As File Dim outgoing As File Dim NeededTransactions As Integer Dim transaction As Integer Dim OnePercent As Integer archive = Pipe "~/base.tar.gz" For Read outgoing = Pipe "/tmp/install" For Write PackSize = Stat("~/base.tar.gz").Size NeededTransactions = Int(Val(Label1.Text) / 8192) OnePercent = Int(Val(Label1.Text) / 100) Shell ("tar --same-owner -xzpf /tmp/install -C /") For transaction = 0 To NeededTransactions ? Read #archive, packet, -8192 ? Write #outgoing, packet ? Label1.Text -= Len(packet) ? ProgressBar1.Value = (PackSize - Val(Label1.Text)) / OnePercent / 100 ? Wait Next Wait 10 Close #archive Close #outgoing Wait 10 Shell "ps ax | grep tar" ---------------------------------------- base.tar.gz is basically a Linux installation in a tarball with a packed path starting with /mnt, so when it is untared, it copies a full Linux system to /mnt assuming there's a new drive mounted. I can untar it manually in a terminal, then install Grub, and the system boots successfully. When this code is executed, my progress bar fills to 100%, my "bytes left" Label1 eventually becomes zero, and #archive and #outgoing get closed succesfully. All 123849 files appear in /mnt as intended. But when that last ps ax is executed - tar is still there. And the system boots to kernel panic stating that /sbin/init cant be ran because of Permission Denied, which tells me that tar clearly didn't go well. If, after I get to 100% and zero bytes left, I simply do this in terminal: cat /dev/zero > /tmp/install tar immidiately prints into gambas IDE's terminal that it has successfully finished unpacking, the command (cat /dev/zero) terminates almost immidiatly after start, and the system boots fine. So, I wonder if closing a pipe does not actually send EOF to the pipe despite stating this exact behaviour in documentation, or am I missing somethig? Best regards Dmitry Bachilo. From bagonergi at gmail.com Wed Dec 25 09:23:27 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 25 Dec 2019 09:23:27 +0100 Subject: [Gambas-user] Merry Christmas! In-Reply-To: References: Message-ID: Il giorno mer 25 dic 2019 alle ore 03:19 Beno?t Minisini ha scritto: > Le 25/12/2019 ? 00:55, Christof Thalhofer a ?crit : > > > Our Gambas IDE starts snowing ... > > I wish you all a merry christmas! > > Christof Thalhofer > > Me too. :-) > Merry Christmas to everyone! > Beno?t Minisini > +1 Gianluigi Gradaschi -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.crean at y7mail.com Wed Dec 25 13:25:02 2019 From: mike.crean at y7mail.com (Mike Crean) Date: Wed, 25 Dec 2019 12:25:02 +0000 (UTC) Subject: [Gambas-user] Shell References: <1425890496.3493782.1577276702762.ref@mail.yahoo.com> Message-ID: <1425890496.3493782.1577276702762@mail.yahoo.com> ?I have a small problem with the Shell command and I hope someone can ?point me in the right direction. project attached. RegardsMike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: webcams.tar.gz Type: application/gzip Size: 13148 bytes Desc: not available URL: From charlie at cogier.com Wed Dec 25 14:26:45 2019 From: charlie at cogier.com (Charlie Ogier) Date: Wed, 25 Dec 2019 13:26:45 +0000 Subject: [Gambas-user] Shell In-Reply-To: <1425890496.3493782.1577276702762@mail.yahoo.com> References: <1425890496.3493782.1577276702762.ref@mail.yahoo.com> <1425890496.3493782.1577276702762@mail.yahoo.com> Message-ID: <168a7f52-d742-d849-9d4d-ef15b4dd7568@cogier.com> Hi Mike, Have a look at my attached version, maybe that will help. Charlie On 25/12/2019 12:25, Mike Crean via User wrote: > > ?I have a small problem with the Shell command and I hope someone can > ?point me in the right direction. > > project attached. > > Regards > Mike > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WebCamera.tar.gz Type: application/gzip Size: 31197 bytes Desc: not available URL: From t.lee.davidson at gmail.com Wed Dec 25 16:04:27 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 25 Dec 2019 10:04:27 -0500 Subject: [Gambas-user] Pipe EOF In-Reply-To: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> References: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> Message-ID: <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> On 12/25/19 2:17 AM, Admin wrote: > So, I wonder if closing a pipe does not actually send EOF to the pipe despite stating this exact behaviour in documentation, or > am I missing somethig? I am not seeing where the documentation states that closing a pipe sends EOF. There is mention that executing CLOSE on a _Process_ handle sends Ctrl-D, but not on a Stream. Did I miss it? -- Lee From t.lee.davidson at gmail.com Wed Dec 25 16:07:06 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 25 Dec 2019 10:07:06 -0500 Subject: [Gambas-user] Pipe EOF In-Reply-To: <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> References: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> Message-ID: <869babb7-26a2-59ff-318d-92dbd5f972ef@gmail.com> On 12/25/19 10:04 AM, T Lee Davidson wrote: > On 12/25/19 2:17 AM, Admin wrote: >> So, I wonder if closing a pipe does not actually send EOF to the pipe despite stating this exact behaviour in documentation, >> or am I missing somethig? > > I am not seeing where the documentation states that closing a pipe sends EOF. There is mention that executing CLOSE on a > _Process_ handle sends Ctrl-D, but not on a Stream. Did I miss it? > Oops, I meant "[...] but not on a pipe." -- Lee From admin at allunix.ru Wed Dec 25 19:42:02 2019 From: admin at allunix.ru (Admin) Date: Thu, 26 Dec 2019 01:42:02 +0700 Subject: [Gambas-user] Pipe EOF In-Reply-To: <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> References: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> Message-ID: <45d142b6-1ff9-5b26-a509-f5fcc1802799@allunix.ru> 25.12.2019 22:04, T Lee Davidson ?????: > On 12/25/19 2:17 AM, Admin wrote: >> So, I wonder if closing a pipe does not actually send EOF to the pipe >> despite stating this exact behaviour in documentation, or am I >> missing somethig? > > I am not seeing where the documentation states that closing a pipe > sends EOF. There is mention that executing CLOSE on a _Process_ handle > sends Ctrl-D, but not on a Stream. Did I miss it? > > Well... I could have sworn I've seen it yesterday, now I don't, so mabe you are right. Also I now see that there's Process.Closeinput method, that states "This replaces the old behaviour of previous Gambas version when closing the stream with theCLOSE instruction." so that you can't just CLOSE a process handle to send Ctrl-D to a Stream. Maybe I should try this on my Shell "tar ...". Just not yet sure how. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Wed Dec 25 21:50:58 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 25 Dec 2019 21:50:58 +0100 Subject: [Gambas-user] Merry Christmas! In-Reply-To: References: Message-ID: Merry christmas to every one :-) From t.lee.davidson at gmail.com Wed Dec 25 23:18:29 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 25 Dec 2019 17:18:29 -0500 Subject: [Gambas-user] Pipe EOF In-Reply-To: <45d142b6-1ff9-5b26-a509-f5fcc1802799@allunix.ru> References: <789089be-b0ab-df10-d7f5-f33b4fc69230@allunix.ru> <30076451-4324-59c1-6412-cdef25cc2c37@gmail.com> <45d142b6-1ff9-5b26-a509-f5fcc1802799@allunix.ru> Message-ID: <83b7060a-16b2-0775-d705-79670f442fdf@gmail.com> On 12/25/19 1:42 PM, Admin wrote: > Well... I could have sworn I've seen it yesterday, now I don't, so mabe you are right. Also I now see that there's > Process.Closeinput method, that states "This replaces the old behaviour of previous Gambas version when closing the stream with > theCLOSE instruction." so that you can't just CLOSE a process handle to send Ctrl-D to a > Stream. Maybe I should try this on my Shell "tar ...". Just not yet sure how. I'm assuming that you are piping the file contents, versus extracting base.tar.gz directly, so that you can keep track of the progress. Perhaps you could use an event handler to transact the packets instead of looping through them. If you open the archive file pipe, "For Read Watch", the event handler File_Read() will be triggered if at least one byte can be read from the pipe. Test for EOF on the archive pipe and when true, send Ctrl-D to the output and clean up. Note: Do not use 'Wait' in an event handler. And also keep in mind that, "Opening a pipe for reading normally blocks until some other process opens the same pipe for writing." So, you may want to open that watched pipe after the other setup and even after shelling out to `tar`. -- Lee From mike.crean at y7mail.com Thu Dec 26 03:50:31 2019 From: mike.crean at y7mail.com (Mike Crean) Date: Thu, 26 Dec 2019 02:50:31 +0000 (UTC) Subject: [Gambas-user] Shell In-Reply-To: <168a7f52-d742-d849-9d4d-ef15b4dd7568@cogier.com> References: <1425890496.3493782.1577276702762.ref@mail.yahoo.com> <1425890496.3493782.1577276702762@mail.yahoo.com> <168a7f52-d742-d849-9d4d-ef15b4dd7568@cogier.com> Message-ID: <1354163341.3627637.1577328631961@mail.yahoo.com> Hi Charlie, thanks for the test project. When I run it with my usb-Microsoft_Microsoft?_LifeCam_HD-3000-video-index0Gambas crashes, See pics attached. If I run it with my usb-fushicai_usbtv007_300000000002-video-index0it will not play and it throws an error when MediaPlayer1.Play() is called. Any help would be appreciated. RegardsMike On Wednesday, 25 December 2019, 09:51:07 pm AWST, Charlie Ogier wrote: Hi Mike, Have a look at my attached version, maybe that will help. Charlie On 25/12/2019 12:25, Mike Crean via User wrote: ?I have a small problem with the Shell command and I hope someone can ?point me in the right direction. project attached. Regards Mike ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: videocrach1.png Type: image/png Size: 25450 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: VideoCrash.png Type: image/png Size: 26467 bytes Desc: not available URL: From charlie at cogier.com Thu Dec 26 12:11:01 2019 From: charlie at cogier.com (Charlie Ogier) Date: Thu, 26 Dec 2019 11:11:01 +0000 Subject: [Gambas-user] Shell In-Reply-To: <1354163341.3627637.1577328631961@mail.yahoo.com> References: <1425890496.3493782.1577276702762.ref@mail.yahoo.com> <1425890496.3493782.1577276702762@mail.yahoo.com> <168a7f52-d742-d849-9d4d-ef15b4dd7568@cogier.com> <1354163341.3627637.1577328631961@mail.yahoo.com> Message-ID: <6c0e39e8-4f14-1823-853a-f96e9521c878@cogier.com> Hi Mike, My first test with your program didn't work, then I discovered that if I changed 'TheVideoDevComboBox', even though it was displaying the correct camera, it jumped into life. I have added a line of code at the bottom of 'Form_Open()' which fixes this issue for me. It then all worked as you expected. I was able to 'Grab' an image and save it. See a video here . I also changed FMain Form so that the 'Form_Resize()' routine is now redundant. If it is still not working for you then I am not sure why. I can't see why my version did not work for you as most of the principles used are the same. See my version attached. Charlie On 26/12/2019 02:50, Mike Crean via User wrote: > Hi Charlie, thanks for the test project. When I run it with my > usb-Microsoft_Microsoft?_LifeCam_HD-3000-video-index0 > Gambas crashes, See pics attached. If I run it with my > usb-fushicai_usbtv007_300000000002-video-index0 > it will not play and it throws an error when MediaPlayer1.Play() is > called. Any help would be appreciated. > > Regards > Mike > > > > > > > On Wednesday, 25 December 2019, 09:51:07 pm AWST, Charlie Ogier > wrote: > > > Hi Mike, > > Have a look at my attached version, maybe that will help. > > Charlie > > On 25/12/2019 12:25, Mike Crean via User wrote: > > ?I have a small problem with the Shell command and I hope someone can > ?point me in the right direction. > > project attached. > > Regards > Mike > > > > ----[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: -------------- next part -------------- A non-text attachment was scrubbed... Name: WebCamGrab_Charlie.tar.gz Type: application/gzip Size: 13437 bytes Desc: not available URL: From chrisml at deganius.de Mon Dec 30 19:12:15 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 30 Dec 2019 19:12:15 +0100 Subject: [Gambas-user] gb.test Message-ID: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> Hi, just started a merge request for the last incarnation of gb.test in Gambas: https://gitlab.com/gambas/gambas/merge_requests/120 Please Beno?t, can you have a look at it? You said, that you don't like some things in gb.test ... could you be more specific so that I am able to work on it? One unresoved problem is: Testclasses (which inherit UnitTest) in any project have to be exported. The method Unittest.GetAllTestContainerNames() searches for Testclasses but does not find them *as long as gb.test is a component*. Could you please have a look at the code and comment there? You can see it if you unpack unittesthelloworld-0.0.3.tar.gz and let it run, for example: christof at tof-x230 ~/programming/gambas/deganius/unittesthelloworld ? gbx3 -s _TestHello 2>/dev/null ok 1 - Test Hello.FortyTwo ok 2 - Test equal strings just for fun ok 3 - HW strings should be equal not ok 4 - Test Hello.Right will go wrong # In _TestHello:TestRight # Failed tests: 4 1..4 # ------- No success! ------- If the testfile is not exported it is not found: christof at tof-x230 ~/programming/gambas/deganius/unittesthelloworld ? gbx3 -s _TestHello 2>/dev/null 0..0 # ------- No success! ------- Have a good New Year, everybody! 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 Mon Dec 30 19:30:12 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 30 Dec 2019 19:30:12 +0100 Subject: [Gambas-user] Future of webform component Message-ID: Hi everyone, Here is a test project for you. It implements what I want to do for web development in Gambas. At the moment, the 'gb.web.form' component allows you to create web application with a GUI-like interface, but it has many problems: 1) It's a CGI script. So the entire GUI object tree must be rebuild at each request. 2) The only way to keep information between requests is the session, which is stored in an external sqlite database. You have to write custom code for handling that. 3) There is no event loop at the server level. I mean, when you open a modal message box, it's modal on the client side only. You have to rely on custom events to get the result on a modal message, and be careful with the implied code logic. The joined little project implements a CGI script that replaces each session by a process daemon. The process is created the first time a new session is created. All requests are sent to the session process through a pipe, and the response is get from another pipe. If nothing is received by the session process during 20 seconds, the process terminates automatically. The advantages of that method are: 1) The process is permanent. All information is kept between processes. No need to rebuild the GUI object tree, to reopen the database connections, and so on... 2) No need to store the session in a database or a file. The process memory *is* the session. 3) It will be possible to implement a true event loop in the session process. Modal dialogs will be modal on the server side too. Web GUI programming will really look like standard GUI programming. 4) Having an event loop, you will be able to watch file, open sockets, use timers... in the server process. For example, a WebTimer will run on the client side, but a normal Timer will run on the server. It's really like a telnet or a ssh connection between a terminal and a server. I see the following disadvantages: 1) If your application is big and if you have a lot of users, you will need memory and swap. But I don't think it's a big deal against the easyness you will get. 2) The data is copied between the CGI script and the session process. So it *may* make things a bit slower if you want to handle a big download or upload. 3) Beware that only the client can initiate a communication with the server. It will behave the same way as the current 'gb.web.form'. Tell me what you think about that. Regards, -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: test-new-webform-0.0.56.tar.gz Type: application/gzip Size: 13168 bytes Desc: not available URL: From g4mba5 at gmail.com Mon Dec 30 19:52:16 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 30 Dec 2019 19:52:16 +0100 Subject: [Gambas-user] gb.test In-Reply-To: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> References: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> Message-ID: <031053be-41f5-295e-c102-ab926bdbf6ad@gmail.com> Le 30/12/2019 ? 19:12, Christof Thalhofer a ?crit?: > Hi, > > just started a merge request for the last incarnation of gb.test in Gambas: > > https://gitlab.com/gambas/gambas/merge_requests/120 > > Please Beno?t, can you have a look at it? You said, that you don't like > some things in gb.test ... could you be more specific so that I am able > to work on it? > > ... Can you update your merge request? -- Beno?t Minisini From chrisml at deganius.de Mon Dec 30 20:45:41 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 30 Dec 2019 20:45:41 +0100 Subject: [Gambas-user] gb.test In-Reply-To: <031053be-41f5-295e-c102-ab926bdbf6ad@gmail.com> References: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> <031053be-41f5-295e-c102-ab926bdbf6ad@gmail.com> Message-ID: <07c068f6-4869-4337-8d76-f2b4a35128a7@deganius.de> Am 30.12.19 um 19:52 schrieb Beno?t Minisini: > Can you update your merge request? I tried, I hope it's ok but I am not sure ... 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 Mon Dec 30 21:41:32 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 30 Dec 2019 21:41:32 +0100 Subject: [Gambas-user] gb.test In-Reply-To: <07c068f6-4869-4337-8d76-f2b4a35128a7@deganius.de> References: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> <031053be-41f5-295e-c102-ab926bdbf6ad@gmail.com> <07c068f6-4869-4337-8d76-f2b4a35128a7@deganius.de> Message-ID: <1bf46820-6587-7910-1ee2-f449c0bf6f9f@deganius.de> Am 30.12.19 um 20:45 schrieb Christof Thalhofer: > Am 30.12.19 um 19:52 schrieb Beno?t Minisini: > >> Can you update your merge request? > > I tried, I hope it's ok but I am not sure ... It's not, I created some ugly garbage soo ... please wait. I will try to reset/repair the fork and then do a new merge request. I will have to learn a few things ... 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 Mon Dec 30 22:16:53 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 30 Dec 2019 22:16:53 +0100 Subject: [Gambas-user] gb.test In-Reply-To: <1bf46820-6587-7910-1ee2-f449c0bf6f9f@deganius.de> References: <420ccdbf-e66e-d657-314a-de2d7a029ffd@deganius.de> <031053be-41f5-295e-c102-ab926bdbf6ad@gmail.com> <07c068f6-4869-4337-8d76-f2b4a35128a7@deganius.de> <1bf46820-6587-7910-1ee2-f449c0bf6f9f@deganius.de> Message-ID: <0e95c4da-cc54-bae6-ce89-3f75f72932a0@deganius.de> Now there is a new merge request: https://gitlab.com/gambas/gambas/merge_requests/121 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 gambas.fr at gmail.com Tue Dec 31 10:08:12 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 31 Dec 2019 10:08:12 +0100 Subject: [Gambas-user] Future of webform component In-Reply-To: References: Message-ID: I think I can't test it :-D -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture_20191231_100726.png Type: image/png Size: 26030 bytes Desc: not available URL: From chrisml at deganius.de Tue Dec 31 10:11:44 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 31 Dec 2019 10:11:44 +0100 Subject: [Gambas-user] Future of webform component In-Reply-To: References: Message-ID: <3a62aa7c-56a9-822f-986e-3bbe02280748@deganius.de> Am 30.12.19 um 19:30 schrieb Beno?t Minisini: > Tell me what you think about that. Here it does not start. It hangs at Line 34 in PrintLog hFile = Open File.Dir(File.Dir(Temp())) &/ "session/error.log" For Append with "file or directory does not exist". It wants to log ""**** Main.PrintLog.34: File or directory does not exist"" A recursive error. :-) 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 bagonergi at gmail.com Tue Dec 31 13:19:53 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 31 Dec 2019 13:19:53 +0100 Subject: [Gambas-user] Future of webform component In-Reply-To: <3a62aa7c-56a9-822f-986e-3bbe02280748@deganius.de> References: <3a62aa7c-56a9-822f-986e-3bbe02280748@deganius.de> Message-ID: +1 and here what I get from the terminal: LANG="C" gambas3 [Parent 13772, Gecko_IOThread] WARNING: pipe error (83): Connection reset by peer: file /build/firefox-AWfb_V/firefox-71.0+build5/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358 [Parent 13772, Gecko_IOThread] WARNING: pipe error (107): Connection reset by peer: file /build/firefox-AWfb_V/firefox-71.0+build5/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358 -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Dec 31 17:17:51 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 31 Dec 2019 17:17:51 +0100 Subject: [Gambas-user] Future of webform component In-Reply-To: References: Message-ID: <48933e2b-dfb5-872f-5ec2-ad89927a257c@gmail.com> Le 31/12/2019 ? 10:08, Fabien Bodard a ?crit?: > I think I can't test it :-D > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Here is an updated project. -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: test-new-webform-0.0.57.tar.gz Type: application/gzip Size: 13166 bytes Desc: not available URL: