From adamnt42 at gmail.com Sat Sep 2 08:16:36 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 15:46:36 +0930 Subject: [Gambas-user] sqlite full text search i.e. virtual tables Message-ID: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> Do we support queries on sqlite virtual tables? I am trying to implement a full text search on names in 3 tables. sqlite3 has a full text search (FTS) facility that seems to work quite well after limited testing* but I can't seem to get access to it via gb.db conn.Find() or conn.Exec(). The info on sqlite FTS can be found here . Any clues? tia Bruce * I can add, delete and change the base tables and can successfully "update" the FTS "table". Queries executed outside Gambas work fine. The search table has two columns, name and type where type is "person", "building", "place". A simple query on the FTS would be something like "SELECT * FROM namesrch WHERE name MATCH 'Haricot';" -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.fischer6 at web.de Sat Sep 2 10:46:45 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Sat, 2 Sep 2023 10:46:45 +0200 Subject: [Gambas-user] Some more example projects to be distributed with gambas Message-ID: Hi all, I created some example projects during my tour through the gambas universe that might be useful for others too. - DatabaseEditor: Example program that demonstrates how to use data-bound controls to edit database records I use DataSource, DataBrowser, DataControl and DataCombo here. Note that this example builds up the DB connection programmatically. - DatabaseEditorDesignTimeConnection: Example program that demonstrates how to use data-bound controls to edit database records. I use DataSource, DataBrowser, DataControl and DataCombo here. Note that this example uses a connection to the DB that is specified at design-time via the gambas IDE. As a consequence the IDE provides support when binding controls to tables and fields by offering the available tables or field names. - Multiprocessing: Learn to use a Task to do some background calculations. The Task class allows long running calculations to be executed in spawned process(es) to prevent UI from blocking during long running calculations. In this example prime numbers up to a max number are calculated which takes some time for big numbes. Therefore a single Task instance takes care of this calculation in the background. I already published these projects on the gambas software farm. If you are interested, please have a look into the projects. If you think that some of this might be relevant for other gambas newbies, include it into the examples distributed together with gambas. Regards ____________________________________ Martin Fischer From bsteers4 at gmail.com Sat Sep 2 11:14:52 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Sat, 2 Sep 2023 10:14:52 +0100 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: References: Message-ID: On Sat, 2 Sept 2023 at 09:47, Martin Fischer wrote: > Hi all, > > I created some example projects during my tour through the gambas > universe that might be useful for others too. > > - DatabaseEditor: > Example program that demonstrates how to use data-bound controls to > edit database records > I use DataSource, DataBrowser, DataControl and DataCombo here. > Note that this example builds up the DB connection programmatically. > > - DatabaseEditorDesignTimeConnection: > Example program that demonstrates how to use data-bound controls to > edit database records. > I use DataSource, DataBrowser, DataControl and DataCombo here. > Note that this example uses a connection to the DB that is specified > at design-time via the gambas IDE. As a consequence the IDE provides > support when binding controls to tables and fields by offering the > available tables or field names. > > - Multiprocessing: > Learn to use a Task to do some background calculations. > The Task class allows long running calculations to be executed in > spawned process(es) to prevent UI from blocking during long running > calculations. > In this example prime numbers up to a max number are calculated which > takes some time for big numbes. > Therefore a single Task instance takes care of this calculation in > the background. > > I already published these projects on the gambas software farm. > > If you are interested, please have a look into the projects. > If you think that some of this might be relevant for other gambas > newbies, include it into the examples distributed together with gambas. > Are the "example" programs well documented? you can post them here... http://gambaswiki.org/wiki/app and here... https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. .. There's a few other forums too. BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.fischer6 at web.de Sat Sep 2 13:07:41 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Sat, 2 Sep 2023 13:07:41 +0200 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: References: Message-ID: > > Are the "example" programs well documented? > > you can post them here... > http://gambaswiki.org/wiki/app > > and here... > https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. .. > > There's a few other forums too. > > BruceS > Hi Bruce, now I'm confused... First of all, "well documented" is very subjective. - Are these examples as well documented as the other examples distributed with gambas? Yes :-) - Are they documented good enough? Depends. They try to show a single thing. They are minimal. Not much documentation needed then. But surely they do not explain all knowledge that is required to build them. For example: the database examples use a DataSource control and arrange the data-bound controls as children of it. Why? That's something the gambas documentation shall explain. It's not documented as part of the example. And that's fine. After this rant: here's how I see it as a learner of gambas: When I want to learn something new I do: 1. Read the documentation. 2. Go over tutorials. I used the examples distributed with gambas for that. Some were helpful, some not. That's normal. 3. Write my own examples to familiarize myself with the ecosystem. The examples distributed with gambas are tutorials. This means: - there shall be many of them... - each area of gambas shall be covered by at least one example - each example shall focus on one topic only (sure: not always possible) This means that an example is not some random app that someone wrote to solve a real (business-)problem. They are meant to be educational! I see the apps mentioned in the wiki and hosted on the software farm as the real application that do something useful. To sum this up: - educational, tutorial-style examples: distributed with gambas - real apps: hosted on software farm and/or mentioned in the wiki/app Am I wrong with this view? What is your take on this? Regards, Martin From adamnt42 at gmail.com Sat Sep 2 13:29:53 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 20:59:53 +0930 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: References: Message-ID: <1b983b3b-abc4-5e7d-eb2c-e7a8de1d769a@gmail.com> On 2/9/23 8:37 pm, Martin Fischer wrote: >> >> Are the "example" programs well documented? >> >> you can post them here... >> http://gambaswiki.org/wiki/app >> >> and here... >> https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. >> .. >> >> >> There's a few other forums too. >> >> BruceS >> > > Hi Bruce, > > now I'm confused... > > First of all, "well documented" is very subjective. > - Are these examples as well documented as the other examples > distributed with gambas? Yes :-) > - Are they documented good enough? Depends. They try to show a single > thing. They are minimal. Not much documentation needed then. But surely > they do not explain all knowledge that is required to build them. For > example: the database examples use a DataSource control and arrange the > data-bound controls as children of it. Why? That's something the gambas > documentation shall explain. It's not documented as part of the example. > And that's fine. > > After this rant: here's how I see it as a learner of gambas: > When I want to learn something new I do: > 1. Read the documentation. > 2. Go over tutorials. I used the examples distributed with gambas for > that. Some were helpful, some not. That's normal. > 3. Write my own examples to familiarize myself with the ecosystem. > > The examples distributed with gambas are tutorials. This means: > - there shall be many of them... > - each area of gambas shall be covered by at least one example > - each example shall focus on one topic only (sure: not always possible) > > This means that an example is not some random app that someone wrote to > solve a real (business-)problem. They are meant to be educational! > > I see the apps mentioned in the wiki and hosted on the software farm as > the real application that do something useful. > > To sum this up: > - educational, tutorial-style examples: distributed with gambas > - real apps: hosted on software farm and/or mentioned in the wiki/app > > Am I wrong with this view? > What is your take on this? > > Regards, > Martin > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Some may disagree but I reckon that well documented means a total overload of everything you thought of while writing that code. In defense and after a decade or so of revisiting my own sometimes years old code, the phrases "FIIK if I know what I was tying to do here" and similarly "WTF is this real" oft pop into mind. Even then sometimes the "assumptions" astound me ("Where the hell did you get the idea that this database query will always return a non-zero result?", "Why does nullifying a list based control mean that I cant find the row that I just deleted a moment ago?" "Who wrote this **** anyway?" etc). These days I have taken a leaf out of the un-lamented Ward Cunningham's doctrine and usually start writing a "story" inside any new procedure to try and explain to myself what-it-is-thet-it-is-thet-I-am-trying-to-do-here. Unless the proc is evidently so simple as to be taken for granted. You know what? Documentation costs, bucketloads on Monday, a few shekles on Tuesday, a grain of sand on Friday, possibly a groat next week. But a concubines ransom thereafter. ymmv The other bruce From adamnt42 at gmail.com Sat Sep 2 13:34:08 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 21:04:08 +0930 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: <1b983b3b-abc4-5e7d-eb2c-e7a8de1d769a@gmail.com> References: <1b983b3b-abc4-5e7d-eb2c-e7a8de1d769a@gmail.com> Message-ID: <90e487e3-fc4c-9230-99ae-b79ee04ba83f@gmail.com> On 2/9/23 8:59 pm, BB wrote: > > On 2/9/23 8:37 pm, Martin Fischer wrote: >>> >>> Are the "example" programs well documented? >>> >>> you can post them here... >>> http://gambaswiki.org/wiki/app >>> >>> and here... >>> https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. >>> .. >>> >>> >>> There's a few other forums too. >>> >>> BruceS >>> >> >> Hi Bruce, >> >> now I'm confused... >> >> First of all, "well documented" is very subjective. >> - Are these examples as well documented as the other examples >> distributed with gambas? Yes :-) >> - Are they documented good enough? Depends. They try to show a single >> thing. They are minimal. Not much documentation needed then. But surely >> they do not explain all knowledge that is required to build them. For >> example: the database examples use a DataSource control and arrange the >> data-bound controls as children of it. Why? That's something the gambas >> documentation shall explain. It's not documented as part of the example. >> And that's fine. >> >> After this rant: here's how I see it as a learner of gambas: >> When I want to learn something new I do: >> 1. Read the documentation. >> 2. Go over tutorials. I used the examples distributed with gambas for >> that. Some were helpful, some not. That's normal. >> 3. Write my own examples to familiarize myself with the ecosystem. >> >> The examples distributed with gambas are tutorials. This means: >> - there shall be many of them... >> - each area of gambas shall be covered by at least one example >> - each example shall focus on one topic only (sure: not always possible) >> >> This means that an example is not some random app that someone wrote to >> solve a real (business-)problem. They are meant to be educational! >> >> I see the apps mentioned in the wiki and hosted on the software farm as >> the real application that do something useful. >> >> To sum this up: >> - educational, tutorial-style examples: distributed with gambas >> - real apps: hosted on software farm and/or mentioned in the wiki/app >> >> Am I wrong with this view? >> What is your take on this? >> >> Regards, >> Martin >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > Some may disagree but I reckon that well documented means a total > overload of everything you thought of while writing that code. In > defense and after a decade or so of revisiting my own sometimes years > old code, the phrases "FIIK if I know what I was tying to do here" and > similarly "WTF is this real" oft pop into mind. Even then sometimes > the "assumptions" astound me ("Where the hell did you get the idea > that this database query will always return a non-zero result?", "Why > does nullifying a list based control mean that I cant find the row > that I just deleted a moment ago?" "Who wrote this **** anyway?" etc). > > These days I have taken a leaf out of the un-lamented Ward > Cunningham's doctrine and usually start writing a "story" inside any > new procedure to try and explain to myself > what-it-is-thet-it-is-thet-I-am-trying-to-do-here. Unless the proc is > evidently so simple as to be taken for granted. > > You know what? Documentation costs, bucketloads on Monday, a few > shekles on Tuesday, a grain of sand on Friday, possibly a groat next > week. But a concubines ransom thereafter. > > ymmv > > The other bruce > Sorry, that last one should have been "But a lack of documentation will cost you a concubines ransom thereafter." From adamnt42 at gmail.com Sat Sep 2 14:02:03 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 21:32:03 +0930 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: <90e487e3-fc4c-9230-99ae-b79ee04ba83f@gmail.com> References: <1b983b3b-abc4-5e7d-eb2c-e7a8de1d769a@gmail.com> <90e487e3-fc4c-9230-99ae-b79ee04ba83f@gmail.com> Message-ID: <51906e03-332a-2926-29e8-f577019031d4@gmail.com> (story) To illustrate, this type of thing. In the early 1970's I was employed as a "senior programmer/project manager" on a project at a rather large international merchant bank. One day I was hauled over the coals by the IT Director asking "Why doesn't your system stop the dealers from selling the stock lodged as security on a loan?". Thinking quickly I replied "Well, I guess the programmers assumed that no moron would even try that." I doubt that would stand up in court these days. But I do still remember the identity of the said programmer. (Wanders away with hands in pocket, whistling "Moonlight Shadow") On 2/9/23 9:04 pm, BB wrote: > > On 2/9/23 8:59 pm, BB wrote: >> >> On 2/9/23 8:37 pm, Martin Fischer wrote: >>>> >>>> Are the "example" programs well documented? >>>> >>>> you can post them here... >>>> http://gambaswiki.org/wiki/app >>>> >>>> and here... >>>> https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. >>>> .. >>>> >>>> >>>> There's a few other forums too. >>>> >>>> BruceS >>>> >>> >>> Hi Bruce, >>> >>> now I'm confused... >>> >>> First of all, "well documented" is very subjective. >>> - Are these examples as well documented as the other examples >>> distributed with gambas? Yes :-) >>> - Are they documented good enough? Depends. They try to show a single >>> thing. They are minimal. Not much documentation needed then. But surely >>> they do not explain all knowledge that is required to build them. For >>> example: the database examples use a DataSource control and arrange the >>> data-bound controls as children of it. Why? That's something the gambas >>> documentation shall explain. It's not documented as part of the >>> example. >>> And that's fine. >>> >>> After this rant: here's how I see it as a learner of gambas: >>> When I want to learn something new I do: >>> 1. Read the documentation. >>> 2. Go over tutorials. I used the examples distributed with gambas for >>> that. Some were helpful, some not. That's normal. >>> 3. Write my own examples to familiarize myself with the ecosystem. >>> >>> The examples distributed with gambas are tutorials. This means: >>> - there shall be many of them... >>> - each area of gambas shall be covered by at least one example >>> - each example shall focus on one topic only (sure: not always >>> possible) >>> >>> This means that an example is not some random app that someone wrote to >>> solve a real (business-)problem. They are meant to be educational! >>> >>> I see the apps mentioned in the wiki and hosted on the software farm as >>> the real application that do something useful. >>> >>> To sum this up: >>> - educational, tutorial-style examples: distributed with gambas >>> - real apps: hosted on software farm and/or mentioned in the wiki/app >>> >>> Am I wrong with this view? >>> What is your take on this? >>> >>> Regards, >>> Martin >>> >>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> >> Some may disagree but I reckon that well documented means a total >> overload of everything you thought of while writing that code. In >> defense and after a decade or so of revisiting my own sometimes years >> old code, the phrases "FIIK if I know what I was tying to do here" >> and similarly "WTF is this real" oft pop into mind. Even then >> sometimes the "assumptions" astound me ("Where the hell did you get >> the idea that this database query will always return a non-zero >> result?", "Why does nullifying a list based control mean that I cant >> find the row that I just deleted a moment ago?" "Who wrote this **** >> anyway?" etc). >> >> These days I have taken a leaf out of the un-lamented Ward >> Cunningham's doctrine and usually start writing a "story" inside any >> new procedure to try and explain to myself >> what-it-is-thet-it-is-thet-I-am-trying-to-do-here. Unless the proc is >> evidently so simple as to be taken for granted. >> >> You know what? Documentation costs, bucketloads on Monday, a few >> shekles on Tuesday, a grain of sand on Friday, possibly a groat next >> week. But a concubines ransom thereafter. >> >> ymmv >> >> The other bruce >> > Sorry, that last one should have been "But a lack of documentation > will cost you a concubines ransom thereafter." From bsteers4 at gmail.com Sat Sep 2 14:03:01 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Sat, 2 Sep 2023 13:03:01 +0100 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: References: Message-ID: On Sat, 2 Sept 2023 at 12:08, Martin Fischer wrote: > > > > Are the "example" programs well documented? > > > > you can post them here... > > http://gambaswiki.org/wiki/app > > > > and here... > > > https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e. > < > https://forum.gambas.one/viewforum.php?f=13&sid=02b6ad70ecd1d329705bcd041622459e > .>.. > > > > There's a few other forums too. > > > > BruceS > > > > Hi Bruce, > > now I'm confused... > > First of all, "well documented" is very subjective. > - Are these examples as well documented as the other examples > distributed with gambas? Yes :-) > - Are they documented good enough? Depends. They try to show a single > thing. They are minimal. Not much documentation needed then. But surely > they do not explain all knowledge that is required to build them. For > example: the database examples use a DataSource control and arrange the > data-bound controls as children of it. Why? That's something the gambas > documentation shall explain. It's not documented as part of the example. > And that's fine. > > After this rant: here's how I see it as a learner of gambas: > When I want to learn something new I do: > 1. Read the documentation. > 2. Go over tutorials. I used the examples distributed with gambas for > that. Some were helpful, some not. That's normal. > 3. Write my own examples to familiarize myself with the ecosystem. > > The examples distributed with gambas are tutorials. This means: > - there shall be many of them... > - each area of gambas shall be covered by at least one example > - each example shall focus on one topic only (sure: not always possible) > > This means that an example is not some random app that someone wrote to > solve a real (business-)problem. They are meant to be educational! > > I see the apps mentioned in the wiki and hosted on the software farm as > the real application that do something useful. > > To sum this up: > - educational, tutorial-style examples: distributed with gambas > - real apps: hosted on software farm and/or mentioned in the wiki/app > > Am I wrong with this view? > What is your take on this? > > Regards, > Martin > I think if every "gambas learner" as you describe yourself wants their examples distributed with gambas itself then gambas would soon become a HUGE download. I think the examples included with gambas should be written by someone who knows gambas inside and out not just a newb who's really proud of themself. (We've all been there) ;) I think sometimes I am too cheeky for my own good ;) lol I also think my opinion does not really matter, I'm just going blah blah blah here, if Benoit likes your examples then maybe hell add them to the collection? But I think it's what the farm was designed for, so people can put their examples there. no need to add more to everyones gambas download. Unless it's a well documented/commented example that'll help with understanding. ;) again , just my humble opinion, Benoit might not want it even if it is well documented. I guess it's just food for thought. Respects BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Sat Sep 2 14:50:49 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Sep 2023 14:50:49 +0200 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> Message-ID: Le 02/09/2023 ? 08:16, BB a ?crit?: > Do we support queries on sqlite virtual tables? I am trying to implement > a full text search on names in 3 tables. sqlite3 has a full text search > (FTS) facility that seems to work quite well after limited testing* but > I can't seem to get access to it via gb.db conn.Find() or conn.Exec(). > > The info on sqlite FTS can be found here . > > Any clues? > > tia > > Bruce > > * I can add, delete and change the base tables and can successfully > "update" the FTS "table". Queries executed outside Gambas work fine. The > search table has two columns, name and type where type is "person", > "building", "place". A simple query on the FTS would be something like > "SELECT * FROM namesrch WHERE name MATCH 'Haricot';" > The Exec() method allows you to run any SQL request, so I don't see why you couldn't use this SQLite extension. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Sat Sep 2 14:54:19 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Sep 2023 14:54:19 +0200 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: References: Message-ID: <8d71bfd0-ec48-94da-f3a5-7feecb3565b1@gambas-basic.org> Le 02/09/2023 ? 10:46, Martin Fischer a ?crit?: > Hi all, > > I created some example projects during my tour through the gambas > universe that might be useful for others too. > > - DatabaseEditor: > ? Example program that demonstrates how to use data-bound controls to > ? edit database records > ? I use DataSource, DataBrowser, DataControl and DataCombo here. > ? Note that this example builds up the DB connection programmatically. > > - DatabaseEditorDesignTimeConnection: > ? Example program that demonstrates how to use data-bound controls to > ? edit database records. > ? I use DataSource, DataBrowser, DataControl and DataCombo here. > ? Note that this example uses a connection to the DB that is specified > ? at design-time via the gambas IDE. As a consequence the IDE provides > ? support when binding controls to tables and fields by offering the > ? available tables or field names. > > - Multiprocessing: > ? Learn to use a Task to do some background calculations. > ? The Task class allows long running calculations to be executed in > ? spawned process(es) to prevent UI from blocking during long running > ? calculations. > ? In this example prime numbers up to a max number are calculated which > ? takes some time for big numbes. > ? Therefore a single Task instance takes care of this calculation in > ? the background. > > I already published these projects on the gambas software farm. > > If you are interested, please have a look into the projects. > If you think that some of this might be relevant for other gambas > newbies, include it into the examples distributed together with gambas. > > Regards > ____________________________________ > Martin Fischer > If you know git, you can add your examples to 'app/examples/' and make a merge request on 'gitlab.com'. Otherwise I can add them myself. And a useful third solution: learn how to use git! Regards, -- Beno?t Minisini. From adamnt42 at gmail.com Sat Sep 2 15:17:56 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 22:47:56 +0930 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> Message-ID: <23b19450-5ae8-c7a8-b8c4-552ef0157939@gmail.com> On 2/9/23 10:20 pm, Beno?t Minisini wrote: > Le 02/09/2023 ? 08:16, BB a ?crit?: >> Do we support queries on sqlite virtual tables? I am trying to >> implement a full text search on names in 3 tables. sqlite3 has a full >> text search (FTS) facility that seems to work quite well after >> limited testing* but I can't seem to get access to it via gb.db >> conn.Find() or conn.Exec(). >> >> The info on sqlite FTS can be found here >> . >> >> Any clues? >> >> tia >> >> Bruce >> >> * I can add, delete and change the base tables and can successfully >> "update" the FTS "table". Queries executed outside Gambas work fine. >> The search table has two columns, name and type where type is >> "person", "building", "place". A simple query on the FTS would be >> something like "SELECT * FROM namesrch WHERE name MATCH 'Haricot';" >> > > The Exec() method allows you to run any SQL request, so I don't see > why you couldn't use this SQLite extension. > > Regards, > Aaaargh! 3 hours ago it didn't work, now it does. It was raising an error that the table ("namesrch") did not exist, hence my post. Now, after dinner and a bit of TV, I came back and just before closing the project concerned tried it again. ... Are you some kind of sorcerer or something ? bests b From adamnt42 at gmail.com Sat Sep 2 15:18:12 2023 From: adamnt42 at gmail.com (BB) Date: Sat, 2 Sep 2023 22:48:12 +0930 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> Message-ID: <4bb600c7-4ff7-4d11-9a32-0d7a80232a2c@gmail.com> On 2/9/23 10:20 pm, Beno?t Minisini wrote: > Le 02/09/2023 ? 08:16, BB a ?crit?: >> Do we support queries on sqlite virtual tables? I am trying to >> implement a full text search on names in 3 tables. sqlite3 has a full >> text search (FTS) facility that seems to work quite well after >> limited testing* but I can't seem to get access to it via gb.db >> conn.Find() or conn.Exec(). >> >> The info on sqlite FTS can be found here >> . >> >> Any clues? >> >> tia >> >> Bruce >> >> * I can add, delete and change the base tables and can successfully >> "update" the FTS "table". Queries executed outside Gambas work fine. >> The search table has two columns, name and type where type is >> "person", "building", "place". A simple query on the FTS would be >> something like "SELECT * FROM namesrch WHERE name MATCH 'Haricot';" >> > > The Exec() method allows you to run any SQL request, so I don't see > why you couldn't use this SQLite extension. > > Regards, > Aaaargh! 3 hours ago it didn't work, now it does. It was raising an error that the table ("namesrch") did not exist, hence my post. Now, after dinner and a bit of TV, I came back and just before closing the project concerned tried it again. ... Are you some kind of sorcerer or something ? bests b From benoit.minisini at gambas-basic.org Sat Sep 2 15:47:02 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Sep 2023 15:47:02 +0200 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: <23b19450-5ae8-c7a8-b8c4-552ef0157939@gmail.com> References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> <23b19450-5ae8-c7a8-b8c4-552ef0157939@gmail.com> Message-ID: Le 02/09/2023 ? 15:17, BB a ?crit?: >> >> The Exec() method allows you to run any SQL request, so I don't see >> why you couldn't use this SQLite extension. >> >> Regards, >> > Aaaargh! 3 hours ago it didn't work, now it does. > > It was raising an error that the table ("namesrch") did not exist, hence > my post. Now, after dinner and a bit of TV, I came back and just before > closing the project concerned tried it again. > > > ... > > > Are you some kind of sorcerer or something ? > > bests > > b > It happens to me all the time. Someone comes saying that his code does not work and that he is searching for hours. Then I ask him if he did everything right, and then he usually finds immediately what was wrong. :-) -- Beno?t Minisini. From martin.fischer6 at web.de Sat Sep 2 15:51:03 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Sat, 2 Sep 2023 15:51:03 +0200 Subject: [Gambas-user] Some more example projects to be distributed with gambas In-Reply-To: <8d71bfd0-ec48-94da-f3a5-7feecb3565b1@gambas-basic.org> References: <8d71bfd0-ec48-94da-f3a5-7feecb3565b1@gambas-basic.org> Message-ID: > > If you know git, you can add your examples to 'app/examples/' and make a > merge request on 'gitlab.com'. > > Otherwise I can add them myself. > > And a useful third solution: learn how to use git! > > Regards, > Benoit, I will create a MR. Feel free to do whatever you want with these examples in the MR. If you find them (or some of them) helpful, merge it to master. If not, ignore the MR. In any case: it was fun to create them and that's all that matters :-) Peace, Martin From jose.rodriguez at cenpalab.cu Mon Sep 4 02:16:54 2023 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Sun, 03 Sep 2023 20:16:54 -0400 Subject: [Gambas-user] [DMARC]Re: sqlite full text search i.e. virtual tables In-Reply-To: <4bb600c7-4ff7-4d11-9a32-0d7a80232a2c@gmail.com> References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> <4bb600c7-4ff7-4d11-9a32-0d7a80232a2c@gmail.com> Message-ID: <3e6e83f1fb0ad01e22f936104241cf31@cenpalab.cu> On 2023-09-02 09:18, BB wrote: > On 2/9/23 10:20 pm, Beno?t Minisini wrote: >> Le 02/09/2023 ? 08:16, BB a ?crit?: >>> Do we support queries on sqlite virtual tables? I am trying to >>> implement a full text search on names in 3 tables. sqlite3 has a full >>> text search (FTS) facility that seems to work quite well after >>> limited testing* but I can't seem to get access to it via gb.db >>> conn.Find() or conn.Exec(). >>> >>> The info on sqlite FTS can be found here >>> . >>> >>> Any clues? >>> >>> tia >>> >>> Bruce >>> >>> * I can add, delete and change the base tables and can successfully >>> "update" the FTS "table". Queries executed outside Gambas work fine. >>> The search table has two columns, name and type where type is >>> "person", "building", "place". A simple query on the FTS would be >>> something like "SELECT * FROM namesrch WHERE name MATCH 'Haricot';" >>> >> >> The Exec() method allows you to run any SQL request, so I don't see >> why you couldn't use this SQLite extension. >> >> Regards, >> > Aaaargh! 3 hours ago it didn't work, now it does. > That's par for the course. I find that after squeezing your brains and the docs, then a hefty bout of googling, an ep of your current goto TV series plus a drink or two (the latter is most important, hehehe) makes everything suddenly just falls into place. Regards, Joe1962 From adamnt42 at gmail.com Mon Sep 4 04:44:53 2023 From: adamnt42 at gmail.com (BB) Date: Mon, 4 Sep 2023 12:14:53 +0930 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> <23b19450-5ae8-c7a8-b8c4-552ef0157939@gmail.com> Message-ID: <76f64e4f-b665-d75c-6597-814d8ebab748@gmail.com> On 2/9/23 11:17 pm, Beno?t Minisini wrote: > Le 02/09/2023 ? 15:17, BB a ?crit?: >>> >>> The Exec() method allows you to run any SQL request, so I don't see >>> why you couldn't use this SQLite extension. >>> >>> Regards, >>> >> Aaaargh! 3 hours ago it didn't work, now it does. >> >> It was raising an error that the table ("namesrch") did not exist, >> hence my post. Now, after dinner and a bit of TV, I came back and >> just before closing the project concerned tried it again. >> >> >> ... >> >> >> Are you some kind of sorcerer or something ? >> >> bests >> >> b >> > > It happens to me all the time. Someone comes saying that his code does > not work and that he is searching for hours. Then I ask him if he did > everything right, and then he usually finds immediately what was wrong. > > :-) > I _think_ that I _may_ have figured out what was happening. I had the database file open in a db browser ("DB Browser for SQLite") mucking about with the structure of the FTS table. After dinner I closed the browser which of course released it's "lock" on the database. Then when I re-ran my project it just worked, of course. I must remember that sqlite is a "single user" dbms.? b -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Reinl at Fen-Net.de Mon Sep 4 11:53:28 2023 From: Karl.Reinl at Fen-Net.de (Charlie Reinl) Date: Mon, 04 Sep 2023 11:53:28 +0200 Subject: [Gambas-user] sqlite full text search i.e. virtual tables In-Reply-To: References: <26053140-cf28-c7f2-c236-14be0227a26d@gmail.com> <23b19450-5ae8-c7a8-b8c4-552ef0157939@gmail.com> Message-ID: <66c836c529c537cb593514c84e05e94ff211eb34.camel@Fen-Net.de> Am Samstag, dem 02.09.2023 um 15:47 +0200 schrieb Beno?t Minisini: > It happens to me all the time. Someone comes saying that his code > does not work and that he is searching for hours. Then I ask him if > he did everything right, and then he usually finds immediately what > was wrong. > At the end a classic, you have this problem, you get stuck with. Find a colleague, but you don't show him the code, no, you describe to him what you do, how you do it. While doing so, you usually notice the error by yourself. The best way is to have a coffee in the kitchen, far away from the computer. see also the mail from Joe1962 -- Amicalement Charlie From brian at westwoodsvcs.com Tue Sep 5 00:12:23 2023 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 4 Sep 2023 15:12:23 -0700 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically Message-ID: I am trying to toggle the input mode to overwrite in my program. to allow to edit a line of hex numbers without del and inserting new Is there a way to do this in gambas code? I have not been able to find it so far! except to actually press the insert key -- ~~~~ Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_0x78BFB26402F48419.asc Type: application/pgp-keys Size: 2428 bytes Desc: OpenPGP public key URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 665 bytes Desc: OpenPGP digital signature URL: From t.lee.davidson at gmail.com Tue Sep 5 02:33:49 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 4 Sep 2023 20:33:49 -0400 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: References: Message-ID: On 9/4/23 18:12, Brian G wrote: > I am trying to toggle the input mode to overwrite in my program. > > to allow to edit a line of hex numbers without del and inserting new > > Is there a way to do this in gambas code? > > I have not been able to find it so far! except to actually press the insert key You might try Desktop.SendKeys("[Insert]"). https://gambaswiki.org/wiki/comp/gb.desktop/desktop/sendkeys -- Lee From benoit.minisini at gambas-basic.org Tue Sep 5 13:03:42 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 13:03:42 +0200 Subject: [Gambas-user] Initial support for making AppImage Message-ID: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Hi, I have just added to the IDE a new package type to the packager wizard: AppImage! You are welcome to test it and report any problem. I think it won't work easily. It is not entirely finished. Support for adding extra dependencies and extra files is not done yet. AFAIK, The AppImage limitations are the following: - You need the 'appimage-builder' tool. See: https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install - This tool apparently works only on Debian, Ubuntu and ArchLinux. Please check that if you can. - AppImage does not like applications using OpenGL. Please check that too. - The resulting AppImage files are big (at least 50 Mb) and slow to start (I mean slower than it should). Otherwise, it's cool. Regards, -- Beno?t Minisini. From brian at westwoodsvcs.com Tue Sep 5 14:22:53 2023 From: brian at westwoodsvcs.com (brian) Date: Tue, 5 Sep 2023 05:22:53 -0700 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: References: , Message-ID: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Sep 5 15:02:58 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 5 Sep 2023 09:02:58 -0400 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> References: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> Message-ID: On 9/5/23 08:22, brian wrote: > Will this work with Wayland as well > > ~~~~~ Brian I don't know. Can you try it? -- Lee From adamnt42 at gmail.com Tue Sep 5 15:13:21 2023 From: adamnt42 at gmail.com (BB) Date: Tue, 5 Sep 2023 22:43:21 +0930 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> References: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> Message-ID: <6fc4b6da-0d71-42ac-8380-6380b4b4d7ae@gmail.com> On 5/9/23 9:52 pm, brian wrote: > Will this work with Wayland as well > > ~~~~~ Brian > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Probably "as well" as anything else with Wayland. /(Obvious smelly comment redacted)/ Theoretically, it should as you are only trying to send it "within" the current program. But "Whooe" knows. best of luck b -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Sep 5 15:32:41 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 5 Sep 2023 14:32:41 +0100 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> References: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> Message-ID: On Tue, 5 Sep 2023, 13:30 brian, wrote: > Will this work with Wayland as well > > ~~~~~ Brian > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Sendkeys is an x11 function I don't think Wayland does it. But Wayland with xwayland installed does get some things working. I'd say try it and see. But officially I think the answer is no. Desktop.SendKeys is an x11 only function. Respects BruceS > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Sep 5 15:37:14 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 5 Sep 2023 14:37:14 +0100 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: References: <02FF15D9-4071-2D4F-9251-DBE04DB59FC2@hxcore.ol> Message-ID: On Tue, 5 Sep 2023, 14:32 Bruce Steers, wrote: > > > On Tue, 5 Sep 2023, 13:30 brian, wrote: > >> Will this work with Wayland as well >> >> ~~~~~ Brian >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> > > Sendkeys is an x11 function I don't think Wayland does it. > > But Wayland with xwayland installed does get some things working. > > I'd say try it and see. > > But officially I think the answer is no. Desktop.SendKeys is an x11 only > function. > > Respects > BruceS > It's deffo no. Here's the sendkeys code... Static Public Sub SendKeys(Keys As String) Select Case LoadPlatform() Case "x11" X11.SendKeys(Keys) Default Main.NotSupported End Select End -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Tue Sep 5 16:27:11 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 16:27:11 +0200 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: References: Message-ID: Le 05/09/2023 ? 00:12, Brian G a ?crit?: > I am trying to toggle the input mode to overwrite in my program. > > to allow to edit a line of hex numbers without del and inserting new > > Is there a way to do this in gambas code? > > I have not been able to find it so far! except to actually press the > insert key > For information, GTK+ TextBox has support for overwrite mode, but not Qt5 TextBox. As I have to follow the less common denominator, you don't have access to that property! Regards, -- Beno?t Minisini. From gambas.fr at gmail.com Tue Sep 5 18:59:21 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 5 Sep 2023 18:59:21 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: Normally on fedora too Le mar. 5 sept. 2023 ? 13:04, Beno?t Minisini < benoit.minisini at gambas-basic.org> a ?crit : > Hi, > > I have just added to the IDE a new package type to the packager wizard: > AppImage! > > You are welcome to test it and report any problem. I think it won't work > easily. > > It is not entirely finished. Support for adding extra dependencies and > extra files is not done yet. > > AFAIK, The AppImage limitations are the following: > > - You need the 'appimage-builder' tool. See: > > https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > - This tool apparently works only on Debian, Ubuntu and ArchLinux. > Please check that if you can. > > - AppImage does not like applications using OpenGL. Please check that too. > > - The resulting AppImage files are big (at least 50 Mb) and slow to > start (I mean slower than it should). > > Otherwise, it's cool. > > Regards, > > -- > Beno?t Minisini. > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From olivier.cruilles at yahoo.fr Tue Sep 5 19:17:30 2023 From: olivier.cruilles at yahoo.fr (Linus) Date: Tue, 5 Sep 2023 13:17:30 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> Hello, ?appimage-builder? is a Pyhton3 script so to install it on Fedora and other I proceeded like that: Into you user account: python3 -m pip install appimage-builder Now I?m testing if it?s enough to produce an appimage from Gambas IDE on Fedora 37 Olivier Cruilles > Le 5 sept. 2023 ? 12:59, Fabien Bodard a ?crit : > > Normally on fedora too > > Le mar. 5 sept. 2023 ? 13:04, Beno?t Minisini > a ?crit : > Hi, > > I have just added to the IDE a new package type to the packager wizard: > AppImage! > > You are welcome to test it and report any problem. I think it won't work > easily. > > It is not entirely finished. Support for adding extra dependencies and > extra files is not done yet. > > AFAIK, The AppImage limitations are the following: > > - You need the 'appimage-builder' tool. See: > https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > - This tool apparently works only on Debian, Ubuntu and ArchLinux. > Please check that if you can. > > - AppImage does not like applications using OpenGL. Please check that too. > > - The resulting AppImage files are big (at least 50 Mb) and slow to > start (I mean slower than it should). > > Otherwise, it's cool. > > Regards, > > -- > Beno?t Minisini. > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Tue Sep 5 19:18:44 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 19:18:44 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <585dd586-198c-d88f-60a7-0ca12cbd81da@gambas-basic.org> Le 05/09/2023 ? 18:59, Fabien Bodard a ?crit?: > Normally on fedora too > It can use 'apt' on fedora? -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Tue Sep 5 19:24:57 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 19:24:57 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> Message-ID: <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> Le 05/09/2023 ? 19:17, Linus via User a ?crit?: > Hello, > > ?appimage-builder? is a Pyhton3 script so to install it on Fedora and > other I proceeded like that: > > > Into you user account: > > ? ? ?python3 -m pip install appimage-builder > > Now I?m testing if it?s enough to produce an appimage from Gambas IDE on > Fedora 37 > > Olivier Cruilles > OK, thanks. If 'appimage-builder' runs on Fedora, and if it requires 'apt' to generate the AppImage, I will have to check that 'apt' is available, which is not necessary with Ubuntu or Debian. It's the same problem with ArchLinux. Regards, -- Beno?t Minisini. From olivier.cruilles at yahoo.fr Tue Sep 5 20:29:19 2023 From: olivier.cruilles at yahoo.fr (Linus) Date: Tue, 5 Sep 2023 14:29:19 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> Message-ID: Unfortunately it fail do to ?/etc/lsb-release? file does not exist on Fedora, even I installed ?redhat-lsb? package. This one does not provide /etc/lsb-release? file. On Internet, they mention to use ?/etc/os-release? that seems to be present on most distributions Olivier > Le 5 sept. 2023 ? 13:24, Beno?t Minisini a ?crit : > > Le 05/09/2023 ? 19:17, Linus via User a ?crit : >> Hello, >> ?appimage-builder? is a Pyhton3 script so to install it on Fedora and other I proceeded like that: >> Into you user account: >> python3 -m pip install appimage-builder >> Now I?m testing if it?s enough to produce an appimage from Gambas IDE on Fedora 37 >> Olivier Cruilles > > OK, thanks. > > If 'appimage-builder' runs on Fedora, and if it requires 'apt' to generate the AppImage, I will have to check that 'apt' is available, which is not necessary with Ubuntu or Debian. > > It's the same problem with ArchLinux. > > Regards, > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From benoit.minisini at gambas-basic.org Tue Sep 5 20:58:46 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 20:58:46 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> Message-ID: Le 05/09/2023 ? 20:29, Linus via User a ?crit?: > Unfortunately it fail do to ?/etc/lsb-release? file does not exist on Fedora, even I installed ?redhat-lsb? package. This one does not provide /etc/lsb-release? file. > > On Internet, they mention to use ?/etc/os-release? that seems to be present on most distributions > > Olivier > 'apt' is mandatory to retrieve Gambas packages from Ubuntu ppa, and so the name of the Ubuntu distribution is needed. I read it from '/etc/lsb-release' (so that the generated AppImage is in sync with your current system). So maybe I should add a combo to choose the distribution if '/etc/lsb-release' does not exist. In the meanwhile, if you can try patching the IDE source code to not read that file, but use a hardcoded Ubuntu version instead (for example 'lunar'), we will see if the process can go on. Anyway, The 'AppImageBuilder' website does not say that it works with Fedora. -- Beno?t Minisini. From bsteers4 at gmail.com Tue Sep 5 22:50:34 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 5 Sep 2023 21:50:34 +0100 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> Message-ID: On Tue, 5 Sep 2023, 19:30 Linus via User, wrote: > Unfortunately it fail do to ?/etc/lsb-release? file does not exist on > Fedora, even I installed ?redhat-lsb? package. This one does not provide > /etc/lsb-release? file. > > On Internet, they mention to use ?/etc/os-release? that seems to be > present on most distributions > > Olivier > I always check for both and also check for /etc/upstream-release/ folder for the same if I want to know the base version. Ie. LinuxMint holds its Ubuntu info there and many other upstream distros use that path too. lsb-release and os-release files have different key names to watch out for. Respects BruceS > -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Tue Sep 5 23:53:40 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Sep 2023 23:53:40 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <807B4C0B-3A16-4CD0-A832-57B11C370AEC@yahoo.fr> <5239ec07-425d-a677-c948-373f7ce49b98@gambas-basic.org> Message-ID: <3be8373c-60aa-de2a-fc5c-66c59ac7a159@gambas-basic.org> Le 05/09/2023 ? 22:50, Bruce Steers a ?crit?: > > > On Tue, 5 Sep 2023, 19:30 Linus via User, > wrote: > > Unfortunately it fail do to ?/etc/lsb-release? file does not exist > on Fedora, even I installed ?redhat-lsb? package. This one does not > provide /etc/lsb-release? file. > > On Internet, they mention to use ?/etc/os-release? that seems to be > present on most distributions > > Olivier > > > I always check for both and also check for /etc/upstream-release/ folder > for the same if I want to know the base version. Ie. LinuxMint holds its > Ubuntu info there and many other upstream distros use that path too. > > lsb-release and os-release files have different key names to watch out for. > > Respects > BruceS > I don't need to know the system version, I need to choose an Ubuntu version for the local 'apt' used by the AppImageBuilder tool to build the AppImage. It does that by installing Ubuntu packages inside the AppImage build directory. Whatever AppImageBuilder supports, I need Ubuntu because the Gambas binary packages come from the Gambas Ubuntu PPA. If I could use the binary packages for any distrubtion, I think I could use Debian, ArchLinux... inside AppImageBuilder. But they are often known to not working properly. So, at the moment, Ubuntu is required to build an AppImage. For other systems, I need to know what packages source I can put inside the AppImageBuilder configuration file. For Debian, it's easy (but you will be sticked to older Gambas versions, which may be a problem for your application). For ArchLinux, I don't know what to put exactly in that configuration file. I will continue to read the documentation. For RPM-based distributions, I don't think they are supported, as it isn't stated in the AppImageBuilder documentation. But I may be wrong. Regards, -- Beno?t Minisini. From brian at westwoodsvcs.com Wed Sep 6 07:23:17 2023 From: brian at westwoodsvcs.com (brian) Date: Tue, 5 Sep 2023 22:23:17 -0700 Subject: [Gambas-user] Toggle overwrite mode in textbox programmatically In-Reply-To: References: , Message-ID: <60F6B512-E34A-F24C-B785-9BBADAB5D0A6@hxcore.ol> An HTML attachment was scrubbed... URL: From gambas at servinfo.it Wed Sep 6 11:37:34 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 6 Sep 2023 11:37:34 +0200 Subject: [Gambas-user] Concatenate collection Message-ID: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> Hi all , is there a way to unite two collection without doing one key at time ? something like: dim a as collection = [ "val1": 1 , "val2": 2 ] dim b as collection = [ "val3": 3 , "val4": 4 ] print a + b? -->? [ "val1": 1 , "val2": 2 , "val3": 3 , "val4": 4 ] thank's in advance, marco. From adamnt42 at gmail.com Wed Sep 6 12:05:14 2023 From: adamnt42 at gmail.com (BB) Date: Wed, 6 Sep 2023 19:35:14 +0930 Subject: [Gambas-user] Concatenate collection In-Reply-To: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> Message-ID: <840894dc-ed67-6d8f-641c-8c57256537e9@gmail.com> On 6/9/23 7:07 pm, Marco Ancillotti wrote: > Hi all , > > is there a way to unite two collection without doing one key at time ? > > something like: > > dim a as collection = [ "val1": 1 , "val2": 2 ] > dim b as collection = [ "val3": 3 , "val4": 4 ] > > print a + b? -->? [ "val1": 1 , "val2": 2 , "val3": 3 , "val4": 4 ] > > thank's in advance, > marco. Good question! But no, not inbuilt. However, you could override the Collection class and add say a Merge(fromCollection as Collection) method, but you'd need to be careful of how you want to handle collisions. so then you could for example a.merge(b) to get "a" now containing the four. Or, you might look at the Collection.Copy source to see if there's something in there that could spark an idea. hth b From benoit.minisini at gambas-basic.org Wed Sep 6 12:44:39 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 6 Sep 2023 12:44:39 +0200 Subject: [Gambas-user] Concatenate collection In-Reply-To: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> Message-ID: <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> Le 06/09/2023 ? 11:37, Marco Ancillotti a ?crit?: > Hi all , > > is there a way to unite two collection without doing one key at time ? > > something like: > > dim a as collection = [ "val1": 1 , "val2": 2 ] > dim b as collection = [ "val3": 3 , "val4": 4 ] > > print a + b? -->? [ "val1": 1 , "val2": 2 , "val3": 3 , "val4": 4 ] > > thank's in advance, > marco. > It would be something like that: For Each v In b a[b.Key] = v Next Three lines of code should not be a big deal. But yes, it could be put into the interpreter as an Insert() method. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Wed Sep 6 12:45:51 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 6 Sep 2023 12:45:51 +0200 Subject: [Gambas-user] Concatenate collection In-Reply-To: <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> Message-ID: Le 06/09/2023 ? 12:44, Beno?t Minisini a ?crit?: > Le 06/09/2023 ? 11:37, Marco Ancillotti a ?crit?: >> Hi all , >> >> is there a way to unite two collection without doing one key at time ? >> >> something like: >> >> dim a as collection = [ "val1": 1 , "val2": 2 ] >> dim b as collection = [ "val3": 3 , "val4": 4 ] >> >> print a + b? -->? [ "val1": 1 , "val2": 2 , "val3": 3 , "val4": 4 ] >> >> thank's in advance, >> marco. >> > > It would be something like that: > > For Each v In b > ? a[b.Key] = v > Next > > Three lines of code should not be a big deal. > > But yes, it could be put into the interpreter as an Insert() method. > > Regards, > And no, I don't think it can be done without adding one key at a time. Because Collections are hash table. Regards, -- Beno?t Minisini. From jussi.lahtinen at gmail.com Wed Sep 6 14:55:14 2023 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 6 Sep 2023 15:55:14 +0300 Subject: [Gambas-user] Concatenate collection In-Reply-To: <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> Message-ID: > > It would be something like that: > > For Each v In b > a[b.Key] = v > Next > > Three lines of code should not be a big deal. > > But yes, it could be put into the interpreter as an Insert() method. > What about duplicate keys? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Wed Sep 6 16:34:07 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 6 Sep 2023 10:34:07 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> On 9/5/23 07:03, Beno?t Minisini wrote: > You need the 'appimage-builder' tool. See: https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install I'm confused. It appears that AppImageBuilder is a project by AppImageCrafters; while the official AppImage project is AppImageKit which provides 'appimagetool'. I just successfully built and executed a simple AppImage (size: 194Kb) with AppImageTool on openSUSE. > Whatever AppImageBuilder supports, I need Ubuntu because the Gambas binary packages come from the Gambas Ubuntu PPA. Again, I am confused. Is it not possible to simply pull the binary files from the user's own system? -- Lee From t.lee.davidson at gmail.com Wed Sep 6 16:39:31 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 6 Sep 2023 10:39:31 -0400 Subject: [Gambas-user] Concatenate collection In-Reply-To: References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> Message-ID: On 9/6/23 08:55, Jussi Lahtinen wrote: > It would be something like that: > > For Each v In b > ? ?a[b.Key] = v > Next > > Three lines of code should not be a big deal. > > But yes, it could be put into the interpreter as an Insert() method. > > > What about duplicate keys? > > Jussi Good question. There would probably need to be a Mode parameter that tells the method how to handle them. Like, perhaps, 'overwrite' the receiver's key/value with the Inserted key/value, do not overwrite, or quarantine duplicate Inserted keys into a separate collection. -- Lee From benoit.minisini at gambas-basic.org Wed Sep 6 16:40:23 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 6 Sep 2023 16:40:23 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> Message-ID: Le 06/09/2023 ? 16:34, T Lee Davidson a ?crit?: > On 9/5/23 07:03, Beno?t Minisini wrote: >> You need the 'appimage-builder' tool. See: >> https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > I'm confused. It appears that AppImageBuilder is a project by > AppImageCrafters; while the official AppImage project is AppImageKit > which provides 'appimagetool'. > > I just successfully built and executed a simple AppImage (size: 194Kb) > with AppImageTool on openSUSE. > > >> Whatever AppImageBuilder supports, I need Ubuntu because the Gambas >> binary packages come from the Gambas Ubuntu PPA. > > Again, I am confused. Is it not possible to simply pull the binary files > from the user's own system? > > I don't know. I don't know AppImage enough, I just followed the process described here: https://appimage-builder.readthedocs.io/en/latest/examples/gambas3.html If you can explain how to do the same thing with 'appimagetool', you are welcome. The problem is: how to find all shared libraries to install from the gambas interpreter and all components needed by your project? 'appimage-builder' (almost) succeeds in that by using dependencies of Ubuntu packages. Regards, -- Beno?t Minisini. From gambas.fr at gmail.com Wed Sep 6 19:14:20 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 6 Sep 2023 19:14:20 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> Message-ID: Le mer. 6 sept. 2023 ? 16:41, Beno?t Minisini < benoit.minisini at gambas-basic.org> a ?crit : > Le 06/09/2023 ? 16:34, T Lee Davidson a ?crit : > > On 9/5/23 07:03, Beno?t Minisini wrote: > >> You need the 'appimage-builder' tool. See: > >> > https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > > > I'm confused. It appears that AppImageBuilder is a project by > > AppImageCrafters; while the official AppImage project is AppImageKit > > which provides 'appimagetool'. > > > > I just successfully built and executed a simple AppImage (size: 194Kb) > > with AppImageTool on openSUSE. > > > > > >> Whatever AppImageBuilder supports, I need Ubuntu because the Gambas > >> binary packages come from the Gambas Ubuntu PPA. > > > > Again, I am confused. Is it not possible to simply pull the binary files > > from the user's own system? > > > > > > I don't know. I don't know AppImage enough, I just followed the process > described here: > https://appimage-builder.readthedocs.io/en/latest/examples/gambas3.html > > If you can explain how to do the same thing with 'appimagetool', you are > welcome. > > The problem is: how to find all shared libraries to install from the > gambas interpreter and all components needed by your project? > 'appimage-builder' (almost) succeeds in that by using dependencies of > Ubuntu packages. > > Regards, > > -- > Beno?t Minisini. > > Appimagetool is used by appimagebuilder. Appimage builder is just a tool that make the AppDir with all the dependencies from binary packages. It use the dependencies tree generated by apt or else to make the virtual machine. this way is far more easy and have the security of a new clean system for each appimage. appimagetool can use a receipe to get the files from the system where the making occur. > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Wed Sep 6 19:16:50 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 6 Sep 2023 19:16:50 +0200 Subject: [Gambas-user] Concatenate collection In-Reply-To: References: <030445b9-71fb-8824-67d6-fb8f057128f5@servinfo.it> <0623dd50-9c1a-c7b6-7230-5cf40c9970dc@gambas-basic.org> Message-ID: Le mer. 6 sept. 2023 ? 16:40, T Lee Davidson a ?crit : > On 9/6/23 08:55, Jussi Lahtinen wrote: > > It would be something like that: > > > > For Each v In b > > a[b.Key] = v > > Next > > > > Three lines of code should not be a big deal. > > > > But yes, it could be put into the interpreter as an Insert() method. > > > > > > What about duplicate keys? > > > > Jussi > > Good question. There would probably need to be a Mode parameter that tells > the method how to handle them. Like, perhaps, > 'overwrite' the receiver's key/value with the Inserted key/value, do not > overwrite, or quarantine duplicate Inserted keys into a > separate collection. > Well so 3 lines are not a big deal finally? It allow user to manage each detail. > > > > -- > Lee > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Wed Sep 6 22:48:34 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 6 Sep 2023 16:48:34 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> Message-ID: <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> On 9/6/23 10:40, Beno?t Minisini wrote: > I don't know. I don't know AppImage enough, I just followed the process described here: > https://appimage-builder.readthedocs.io/en/latest/examples/gambas3.html > > If you can explain how to do the same thing with 'appimagetool', you are welcome. > > The problem is: how to find all shared libraries to install from the gambas interpreter and all components needed by your > project? 'appimage-builder' (almost) succeeds in that by using dependencies of Ubuntu?packages. And that is indeed a significant problem as generating a dependency tree seems to be no simple matter; at least not for RPM-based distros. Zypper (openSUSE) and DNF (Fedora) both utilize libsolv under the hood to resolve dependencies. There are examples for using it (written in C, Perl, Python, Ruby, and TCL) at the project's repository: https://github.com/openSUSE/libsolv/tree/master/examples However, building a (somewhat) universal dependency tree generator using libsolv would still undoubtedly be quite involved. So, it seems that appimage-builder just may be the way to go. Unfortunately, it does not work on openSUSE as the generated YML file was obviously unusable. -- Lee From benoit.minisini at gambas-basic.org Thu Sep 7 01:15:10 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 01:15:10 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> Message-ID: <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> Le 06/09/2023 ? 22:48, T Lee Davidson a ?crit?: > However, building a (somewhat) universal dependency tree generator using > libsolv would still undoubtedly be quite involved. So, it seems that > appimage-builder just may be the way to go. Unfortunately, it does not > work on openSUSE as the generated YML file was obviously unusable. > As soon as 'apt' can run on your system, it will work. And there is no reason why 'apt' should not work on OpenSUSE. -- Beno?t Minisini. From olivier.cruilles at yahoo.fr Thu Sep 7 02:46:24 2023 From: olivier.cruilles at yahoo.fr (Linus) Date: Wed, 6 Sep 2023 20:46:24 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> Message-ID: Hello, Yes ?apt? is part of the package available on Fedora 37 in my case, but no repository or files in /etc/apt/ is installed or configured. This is the documentation related to ?apt? on Fedora https://docs.fedoraproject.org/en-US/quick-docs/dnf-vs-apt/ Why is APT in the Fedora repositories? APT can not be used to install packages on Fedora, you have to use DNF instead. The apt command on Fedora used to???until Fedora 32 ???actually be APT-RPM, which basically mapped normal apt commands so that they worked with Fedora?s RPM package management system. However, APT-RPM is unmaintained, broken, and insecure, and so was dropped in favour of shipping the actual Debian APT software. Since APT exclusively deals with .deb packages, the aptcommand can no longer be used to manage Fedora packages. Its purpose is now purely as a tool for people building packages for Debian-based distributions on a Fedora system. Olivier > Le 6 sept. 2023 ? 19:15, Beno?t Minisini a ?crit : > > Le 06/09/2023 ? 22:48, T Lee Davidson a ?crit : >> However, building a (somewhat) universal dependency tree generator using libsolv would still undoubtedly be quite involved. So, it seems that appimage-builder just may be the way to go. Unfortunately, it does not work on openSUSE as the generated YML file was obviously unusable. > > As soon as 'apt' can run on your system, it will work. And there is no reason why 'apt' should not work on OpenSUSE. > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Thu Sep 7 02:58:25 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 02:58:25 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> Message-ID: <19154b31-6eea-3dfe-aa1e-1047371357ca@gambas-basic.org> Le 07/09/2023 ? 02:46, Linus via User a ?crit?: > Hello, > > Yes ?apt? is part of the package available on Fedora 37 in my case, but > no repository or files in /etc/apt/ is installed or configured. > If I don't find any apt configuration, I should choose an Ubuntu repository by default. And I have to fix the distribution choice problem. Then, logically, you will be able to make AppImage as soon as both 'apt' and 'appimage-builder' are installed. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Thu Sep 7 04:02:50 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 04:02:50 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <19154b31-6eea-3dfe-aa1e-1047371357ca@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> <19154b31-6eea-3dfe-aa1e-1047371357ca@gambas-basic.org> Message-ID: <57285345-dbb0-8438-b407-1ee668fea010@gambas-basic.org> Le 07/09/2023 ? 02:58, Beno?t Minisini a ?crit?: > Le 07/09/2023 ? 02:46, Linus via User a ?crit?: >> Hello, >> >> Yes ?apt? is part of the package available on Fedora 37 in my case, >> but no repository or files in /etc/apt/ is installed or configured. >> > > If I don't find any apt configuration, I should choose an Ubuntu > repository by default. > > And I have to fix the distribution choice problem. > > Then, logically, you will be able to make AppImage as soon as both 'apt' > and 'appimage-builder' are installed. > > Regards, > It's done in the last commit. Can you try it ? By installing 'apt' and 'appimage-builder' on your system, and then choosing a public Ubuntu repository and a distribution. From my system: - http://fr.archive.ubuntu.com/ubuntu/ - lunar But you can try any other repository and distribution just for checking. The distribution supported by the Gambas PPA are listed in the distribution combo-box of the packager wizard. For information: I noticed that JIT applications seem to not be reliable with lunar. But with older distributions, it seems to be better. Regards, -- Beno?t Minisini. From olivier.cruilles at yahoo.fr Thu Sep 7 04:35:56 2023 From: olivier.cruilles at yahoo.fr (Linus) Date: Wed, 6 Sep 2023 22:35:56 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <57285345-dbb0-8438-b407-1ee668fea010@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> <19154b31-6eea-3dfe-aa1e-1047371357ca@gambas-basic.org> <57285345-dbb0-8438-b407-1ee668fea010@gambas-basic.org> Message-ID: Here what I obtain: Sauvegarde du fichier CHANGELOG. ============================================================================== CR?ATION DU PAQUET POUR APPIMAGE. Fabrication du r?pertoire de construction. rm -rf '/home/linus/.var/tmp/AppImage/AppDir' mkdir -p '/home/linus/.var/tmp/AppImage/AppDir/usr/bin' mkdir -p '/home/linus/.var/tmp/AppImage/AppDir/usr/share/icons/hicolor/256x256/apps' G?n?ration du fichier de configuration de 'AppImageBuilder'. Cr?ation de l'AppImage... cd '/home/linus/.var/tmp/AppImage' appimage-builder --skip-script --skip-tests INFO:main:Running apt deploy INFO:apt:apt-get update E: Entr?e 1 mal form?e dans list fichier /home/linus/.var/tmp/AppImage/appimage-build/apt/sources.list (URI parse) E: La liste des sources ne peut ?tre lue. ERROR:root:"apt-get update" execution failed Traceback (most recent call last): File "/home/linus/.local/bin/appimage-builder", line 8, in sys.exit(__main__()) ^^^^^^^^^^ File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/__main__.py", line 50, in __main__ invoker.execute(commands) File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/invoker.py", line 29, in execute command() File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/commands/apt_deploy.py", line 46, in __call__ deployed_packages = apt_deploy.deploy( ^^^^^^^^^^^^^^^^^^ File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 39, in deploy self._prepare_apt_venv() File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 48, in _prepare_apt_venv self.apt_venv.update() File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/modules/deploy/apt/venv.py", line 161, in update shell.assert_successful_result(_proc) File "/home/linus/.local/lib/python3.11/site-packages/appimagebuilder/utils/shell.py", line 35, in assert_successful_result raise RuntimeError( RuntimeError: "apt-get update" execution failed with code 100 La construction des paquets a ?chou?. Package.MakeAppImagePackage.2942: Impossible de cr?er l'AppImage. Olivier Cruilles Senior Systems Administrator, Triton Digital 1440 Ste-Catherine Ouest, Suite 1200 | Montreal, QC, H3G 1R8 o +1-514-431-2960 olivier.cruilles at tritondigital.com Olivier > Le 6 sept. 2023 ? 22:02, Beno?t Minisini a ?crit : > > Le 07/09/2023 ? 02:58, Beno?t Minisini a ?crit : >> Le 07/09/2023 ? 02:46, Linus via User a ?crit : >>> Hello, >>> >>> Yes ?apt? is part of the package available on Fedora 37 in my case, but no repository or files in /etc/apt/ is installed or configured. >>> >> If I don't find any apt configuration, I should choose an Ubuntu repository by default. >> And I have to fix the distribution choice problem. >> Then, logically, you will be able to make AppImage as soon as both 'apt' and 'appimage-builder' are installed. >> Regards, > > It's done in the last commit. > > Can you try it ? By installing 'apt' and 'appimage-builder' on your system, and then choosing a public Ubuntu repository and a distribution. > > From my system: > - http://fr.archive.ubuntu.com/ubuntu/ > - lunar > > But you can try any other repository and distribution just for checking. > > The distribution supported by the Gambas PPA are listed in the distribution combo-box of the packager wizard. > > For information: I noticed that JIT applications seem to not be reliable with lunar. But with older distributions, it seems to be better. > > Regards, > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: S?lection_1398.png Type: image/png Size: 49640 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: S?lection_1399.png Type: image/png Size: 139356 bytes Desc: not available URL: From tercoide at hotmail.com Thu Sep 7 05:02:47 2023 From: tercoide at hotmail.com (martin cristia) Date: Thu, 7 Sep 2023 00:02:47 -0300 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: References: Message-ID: It creates the AppImage but it won't run > I have just added to the IDE a new package type to the packager wizard: > AppImage! > It won't create the AppImage if the program uses OpenGL > - AppImage does not like applications using OpenGL. Please check that too. > > [System] Gambas=3.18.90 OperatingSystem=Linux Distribution=Ubuntu 22.04.3 LTS Kernel=6.2.0-31-generic Architecture=x86_64 Cores=4 Memory=7807M Language=es_AR.UTF-8 Desktop=UBUNTU DesktopResolution=96 DesktopScale=8 WidgetTheme=yaru Font=Ubuntu,11 [Programs] gcc=gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 git=git version 2.34.1 [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.7.0 DBus=libdbus-1.so.3.19.13 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2404.29 GStreamer=libgstreamer-1.0.so.0.2003.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2404.29 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.118.0.0 QT5=libQt5Core.so.5.15.3 RSvg=librsvg-2.so.2.48.0 SDL=libSDL2-2.0.so.0.18.2 SQLite 3=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=ubuntu DISPLAY=:0 EDITOR=gnome-text-editor GB_GUI=gb.gtk3 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=64971 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SETUP_DISPLAY=:1 GNOME_SHELL_SESSION_MODE=ubuntu GTK_MODULES=gail:atk-bridge HOME= IM_CONFIG_PHASE=1 INVOCATION_ID=9d5d2c0a15df4349a9d5d77a0bf6b086 JOURNAL_STREAM=8:30476 LANG=es_AR.UTF-8 LANGUAGE=es_AR.UTF-8 LC_ALL=es_AR.UTF-8 LOGNAME= MANAGERPID=1465 PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LOGGING_RULES=*.debug=false SESSION_MANAGER=local/:@/tmp/.ICE-unix/1609,unix/:/tmp/.ICE-unix/1609 SHELL=/bin/bash SHLVL=0 SSH_AGENT_LAUNCHER=gnome-keyring SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SYSTEMD_EXEC_PID=1645 TZ=:/etc/localtime USER= USERNAME= WAYLAND_DISPLAY=wayland-0 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.8SOYA2 XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_DATA_DIRS=/usr/share/ubuntu:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_TYPE=wayland XMODIFIERS=@im=ibus _=/usr/bin/gnome-session -- Saludos cordiales Martin From t.lee.davidson at gmail.com Thu Sep 7 05:09:43 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 6 Sep 2023 23:09:43 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> Message-ID: <6aa7bb9e-9681-4f85-afa0-41daed966e8a@gmail.com> On 9/6/23 19:15, Beno?t Minisini wrote: > Le 06/09/2023 ? 22:48, T Lee Davidson a ?crit?: >> However, building a (somewhat) universal dependency tree generator using libsolv would still undoubtedly be quite involved. >> So, it seems that appimage-builder just may be the way to go. Unfortunately, it does not work on openSUSE as the generated YML >> file was obviously unusable. >> > > As soon as 'apt' can run on your system, it will work. And there is no reason why 'apt' should not work on OpenSUSE. > 'apt' (/usr/bin/apt) on my system is merely a symbolic link to 'aptitude' (/usr/bin/aptitude) which is provided by the 'zypper-aptitude' package which supposedly provides compatibility to Debian's aptitude command using zypper. In other words, all it does is allow one to use 'apt' commands on the front-end while running zypper on the back-end. Executing `apt` on the command line invokes zypper. Executing `aptitude` on the command line invokes the YaST2 software management GUI. The real 'apt' is not available in any of the official, or even community, openSUSE Leap repos. -- Lee From benoit.minisini at gambas-basic.org Thu Sep 7 05:21:36 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 05:21:36 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <6aa7bb9e-9681-4f85-afa0-41daed966e8a@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <80a0568e-79b5-4fd4-82f0-2e11eb884b19@gmail.com> <4c77f145-e842-4106-8d2a-a5a209c8a5a6@gmail.com> <6a00498d-d1ab-d2cc-b0eb-d1598874e94c@gambas-basic.org> <6aa7bb9e-9681-4f85-afa0-41daed966e8a@gmail.com> Message-ID: <2aad4f87-ef0e-d174-dff2-f7aeeb1398ba@gambas-basic.org> Le 07/09/2023 ? 05:09, T Lee Davidson a ?crit?: > On 9/6/23 19:15, Beno?t Minisini wrote: >> Le 06/09/2023 ? 22:48, T Lee Davidson a ?crit?: >>> However, building a (somewhat) universal dependency tree generator >>> using libsolv would still undoubtedly be quite involved. So, it seems >>> that appimage-builder just may be the way to go. Unfortunately, it >>> does not work on openSUSE as the generated YML file was obviously >>> unusable. >>> >> >> As soon as 'apt' can run on your system, it will work. And there is no >> reason why 'apt' should not work on OpenSUSE. >> > > 'apt' (/usr/bin/apt) on my system is merely a symbolic link to > 'aptitude' (/usr/bin/aptitude) which is provided by the > 'zypper-aptitude' package which supposedly provides compatibility to > Debian's aptitude command using zypper. In other words, all it does is > allow one to use 'apt' commands on the front-end while running zypper on > the back-end. > > Executing `apt` on the command line invokes zypper. Executing `aptitude` > on the command line invokes the YaST2 software management GUI. > > The real 'apt' is not available in any of the official, or even > community, openSUSE Leap repos. > > So you are doomed, unless you compile 'apt' from sources. Apparently there is a package for 'apt' on Fedora, so what is not possible on OpenSUSE should be possible on Fedora. Regards, -- Beno?t Minisini. From claus.dietrich at freenet.de Thu Sep 7 10:47:43 2023 From: claus.dietrich at freenet.de (Claus Dietrich) Date: Thu, 7 Sep 2023 10:47:43 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <4be3c948-4490-58e8-de05-682b6bf83ff9@freenet.de> Hi I recently managed to generate Gambas AppImages and documented it for the German Gambas Club community (sorry - in German only): https://www.gambas-club.de/download/file.php?id=981 My method: - Generating the recipe - Adding required packages - Starting the generation of the Gambas executable in the IDE which does the entire rest automatically and also asks for the password of the signature. Today I tested the new IDE feature with Linux Mint 20.3 Mate with Gambas installed via ppa. The packaging failed with below output. In my practice with Gambas AppImages I always had to add additional packages which doesn't seem to be supported yet. Signatures are also not supported yet, right? Hope that this can all be fixed. Best regards Claus Speichere CHANGELOG Datei. ============================================================================== ERSTELLE PAKET F?R DEBIAN. Erstelle Build-Verzeichnis. rm -f '/home/claus/gb-scan-0-1-60_0.1.60'* rm -Rf '/home/claus/gb-scan-0-1-60-0.1.60' rm -Rf '/home/claus/gb-scan-0-1-60-0.1.60.orig' Erstelle Desktop-Datei... Quelldateien werden ins Debian-Format ?berf?hrt. Erstelle Paket... cd '/home/claus/gb-scan-0-1-60-0.1.60' dpkg-buildpackage -d -rfakeroot -uc -us dpkg-buildpackage: Information: Quellpaket gb-scan-0-1-60 dpkg-buildpackage: Information: Quellversion 0.1.60-1 dpkg-buildpackage: Information: Quelldistribution unstable dpkg-buildpackage: Information: Quelle ge?ndert durch claus dpkg-buildpackage: Information: Host-Architektur amd64 ?dpkg-source --before-build . ?fakeroot debian/rules clean dh_testdir dh_testroot rm -Rf 'src/gb.scan_0.1.60/.gambas' rm -f 'src/gb.scan_0.1.60/gb.scan_0.1.60' rm -f build-stamp install-stamp dh_clean ?dpkg-source -b . dpkg-source: Information: Quellformat ?1.0? wird verwendet dpkg-source: Information: gb-scan-0-1-60 wird in gb-scan-0-1-60_0.1.60.orig.tar.gz gebaut dpkg-source: Information: gb-scan-0-1-60 wird in gb-scan-0-1-60_0.1.60-1.diff.gz gebaut dpkg-source: Warnung: L?schen des Verzeichnisses src/gb.scan_0.1.60/.gambas wird ignoriert dpkg-source: Information: gb-scan-0-1-60 wird in gb-scan-0-1-60_0.1.60-1.dsc gebaut ?debian/rules build dh_testdir touch build-stamp gbc3 -e -a -g -t -x -j1? src/gb.scan_0.1.60 OK gba3 -o 'src/gb.scan_0.1.60/gb.scan_0.1.60' src/gb.scan_0.1.60 ?fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs ln -s 'gb.scan_0.1.60' "/home/claus/gb-scan-0-1-60-0.1.60"/debian/gb-scan-0-1-60/usr/bin/'gb-scan-0-1-60' touch install-stamp dh_testdir -i dh_testroot -i dh_installdocs -i dh_installchangelogs -i dh_install -i dh_installmenu dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: Paket ?gb-scan-0-1-60? wird in ?../gb-scan-0-1-60_0.1.60-1_all.deb? gebaut. dh_testdir ?dpkg-genbuildinfo ?dpkg-genchanges? >../gb-scan-0-1-60_0.1.60-1_amd64.changes dpkg-genchanges: Information: Originalquellen beim Hochladen nicht hinzuf?gen ?dpkg-source --after-build . dpkg-buildpackage: Information: Bin?rpakete(e) und Diff hochzuladen (Originalquellen NICHT enthalten) ============================================================================== ERSTELLE PAKET F?R APPIMAGE. Erstelle Build-Verzeichnis. rm -rf '/home/claus/.var/tmp/AppImage/AppDir' mkdir -p '/home/claus/.var/tmp/AppImage/AppDir/usr/bin' mkdir -p '/home/claus/.var/tmp/AppImage/AppDir/usr/share/icons/hicolor/256x256/apps' Generating 'AppImageBuilder' configuration file... Creating AppImage... cd '/home/claus/.var/tmp/AppImage' appimage-builder --skip-script --skip-tests INFO:main:Running apt deploy INFO:apt:apt-get update Ign:1 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una InRelease Ign:2 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una Release Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Ign:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages Ign:3 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main all Packages Fehl:4 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una/main amd64 Packages ? 404? Not Found [IP: 185.125.190.52 80] Paketlisten werden gelesen... Fertig W: Das Depot ?http://ppa.launchpad.net/gambas-team/gambas3/ubuntu una Release? enth?lt keine Release-Datei. N: Daten von solch einem Depot k?nnen nicht authentifiziert werden und deren Nutzung ist daher potentiell gef?hrlich. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). E: Fehlschlag beim Holen von http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/una/main/binary-amd64/Packages 404? Not Found [IP: 185.125.190.52 80] E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt. ERROR:root:"apt-get update" execution failed Traceback (most recent call last): ? File "/usr/local/bin/appimage-builder", line 8, in ??? sys.exit(__main__()) ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/__main__.py", line 50, in __main__ ??? invoker.execute(commands) ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/invoker.py", line 29, in execute ??? command() ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/commands/apt_deploy.py", line 46, in __call__ ??? deployed_packages = apt_deploy.deploy( ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 39, in deploy ??? self._prepare_apt_venv() ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 48, in _prepare_apt_venv ??? self.apt_venv.update() ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/modules/deploy/apt/venv.py", line 161, in update ??? shell.assert_successful_result(_proc) ? File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/utils/shell.py", line 35, in assert_successful_result ??? raise RuntimeError( RuntimeError: "apt-get update" execution failed with code 100 Die Paketerstellung ist fehlgeschlagen. Package.MakeAppImagePackage.2952: Unable to create AppImage. Am 05.09.23 um 13:03 schrieb Beno?t Minisini: > Hi, > > I have just added to the IDE a new package type to the packager > wizard: AppImage! > > You are welcome to test it and report any problem. I think it won't > work easily. > > It is not entirely finished. Support for adding extra dependencies and > extra files is not done yet. > > AFAIK, The AppImage limitations are the following: > > - You need the 'appimage-builder' tool. See: > https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > - This tool apparently works only on Debian, Ubuntu and ArchLinux. > Please check that if you can. > > - AppImage does not like applications using OpenGL. Please check that > too. > > - The resulting AppImage files are big (at least 50 Mb) and slow to > start (I mean slower than it should). > > Otherwise, it's cool. > > Regards, > From benoit.minisini at gambas-basic.org Thu Sep 7 12:21:11 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 12:21:11 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <4be3c948-4490-58e8-de05-682b6bf83ff9@freenet.de> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <4be3c948-4490-58e8-de05-682b6bf83ff9@freenet.de> Message-ID: <57b45af8-2b32-a34d-c55e-3a76e0e28b0f@gambas-basic.org> Le 07/09/2023 ? 10:47, Claus Dietrich a ?crit?: > Hi > > I recently managed to generate Gambas AppImages and documented it for > the German Gambas Club community (sorry - in German only): > > https://www.gambas-club.de/download/file.php?id=981 > > My method: > > - Generating the recipe > > - Adding required packages > > - Starting the generation of the Gambas executable in the IDE which does > the entire rest automatically and also asks for the password of the > signature. > > Today I tested the new IDE feature with Linux Mint 20.3 Mate with Gambas > installed via ppa. The packaging failed with below output. You must use the latest master and specify a correct Ubuntu repository and an Ubuntu version supported by the PPA ('una' is not). > > In my practice with Gambas AppImages I always had to add additional > packages which doesn't seem to be supported yet. Signatures are also not > supported yet, right? Hope that this can all be fixed. No idea yet, I must know how that works first. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Thu Sep 7 21:11:58 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 21:11:58 +0200 Subject: [Gambas-user] Gambas icon set for LibreOffice Message-ID: <7da40c1a-7ae4-7d31-afcc-16404f46e7e9@gambas-basic.org> Hi, Here the 0.3 version of the iconset: https://we.tl/t-DqAxGxC7N1 Enjoy! -- Beno?t Minisini. From t.lee.davidson at gmail.com Thu Sep 7 22:40:06 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 7 Sep 2023 16:40:06 -0400 Subject: [Gambas-user] GambasWiki -> 503 Service Unavailable Message-ID: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> EOM -- Lee From jose.rodriguez at cenpalab.cu Thu Sep 7 22:53:17 2023 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Thu, 07 Sep 2023 16:53:17 -0400 Subject: [Gambas-user] [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> Message-ID: <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> On 2023-09-07 16:40, T Lee Davidson wrote: > EOM Only happens on some parts of the Wiki, at least for me. Regards, Joe1962 From t.lee.davidson at gmail.com Thu Sep 7 22:56:23 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 7 Sep 2023 16:56:23 -0400 Subject: [Gambas-user] [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> Message-ID: <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: > On 2023-09-07 16:40, T Lee Davidson wrote: >> EOM > > > Only happens on some parts of the Wiki, at least for me. > > Regards, > Joe1962 Hmmm, I didn't think it may be only a partial service failure. This was only on the home page: https://gambaswiki.org/ -- Lee From jose.rodriguez at cenpalab.cu Thu Sep 7 23:00:16 2023 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Thu, 07 Sep 2023 17:00:16 -0400 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> Message-ID: On 2023-09-07 16:56, T Lee Davidson wrote: > On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >> On 2023-09-07 16:40, T Lee Davidson wrote: >>> EOM >> >> >> Only happens on some parts of the Wiki, at least for me. >> >> Regards, >> Joe1962 > > Hmmm, I didn't think it may be only a partial service failure. This was > only on the home page: https://gambaswiki.org/ Indeed, the homepage gives 503, but this works: https://gambaswiki.org/wiki/ Several others from the left menu work, others don't. Regards, Joe1962 From t.lee.davidson at gmail.com Thu Sep 7 23:11:49 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 7 Sep 2023 17:11:49 -0400 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> Message-ID: <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> On 9/7/23 17:00, jose.rodriguez at cenpalab.cu wrote: > On 2023-09-07 16:56, T Lee Davidson wrote: >> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >>> On 2023-09-07 16:40, T Lee Davidson wrote: >>>> EOM >>> >>> >>> Only happens on some parts of the Wiki, at least for me. >>> >>> Regards, >>> Joe1962 >> >> Hmmm, I didn't think it may be only a partial service failure. This was only on the home page: https://gambaswiki.org/ > > Indeed, the homepage gives 503, but this works: > > https://gambaswiki.org/wiki/ > > Several others from the left menu work, others don't. > > Regards, > Joe1962 Yes, I am getting the same thing from here now. That's weird. -- Lee From benoit.minisini at gambas-basic.org Thu Sep 7 23:39:24 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 23:39:24 +0200 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> Message-ID: <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> Le 07/09/2023 ? 23:11, T Lee Davidson a ?crit?: > On 9/7/23 17:00, jose.rodriguez at cenpalab.cu wrote: >> On 2023-09-07 16:56, T Lee Davidson wrote: >>> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >>>> On 2023-09-07 16:40, T Lee Davidson wrote: >>>>> EOM >>>> >>>> >>>> Only happens on some parts of the Wiki, at least for me. >>>> >>>> Regards, >>>> Joe1962 >>> >>> Hmmm, I didn't think it may be only a partial service failure. This >>> was only on the home page: https://gambaswiki.org/ >> >> Indeed, the homepage gives 503, but this works: >> >> https://gambaswiki.org/wiki/ >> >> Several others from the left menu work, others don't. >> >> Regards, >> Joe1962 > > Yes, I am getting the same thing from here now. That's weird. > The wiki VM seems to be fully working. I guess it's the proxy of the company I work for that is broken again... I really have to take time to host that wiki somewhere else! It breaks too often. -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Thu Sep 7 23:40:33 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 23:40:33 +0200 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> Message-ID: <758e37cc-7588-5ece-9823-0578593495e3@gambas-basic.org> Le 07/09/2023 ? 23:39, Beno?t Minisini a ?crit?: > Le 07/09/2023 ? 23:11, T Lee Davidson a ?crit?: >> On 9/7/23 17:00, jose.rodriguez at cenpalab.cu wrote: >>> On 2023-09-07 16:56, T Lee Davidson wrote: >>>> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >>>>> On 2023-09-07 16:40, T Lee Davidson wrote: >>>>>> EOM >>>>> >>>>> >>>>> Only happens on some parts of the Wiki, at least for me. >>>>> >>>>> Regards, >>>>> Joe1962 >>>> >>>> Hmmm, I didn't think it may be only a partial service failure. This >>>> was only on the home page: https://gambaswiki.org/ >>> >>> Indeed, the homepage gives 503, but this works: >>> >>> https://gambaswiki.org/wiki/ >>> >>> Several others from the left menu work, others don't. >>> >>> Regards, >>> Joe1962 >> >> Yes, I am getting the same thing from here now. That's weird. >> > > The wiki VM seems to be fully working. I guess it's the proxy of the > company I work for that is broken again... > > I really have to take time to host that wiki somewhere else! It breaks > too often. > Oops sorry, I spoke too fast. Server out of memory. -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Thu Sep 7 23:41:59 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 23:41:59 +0200 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: <758e37cc-7588-5ece-9823-0578593495e3@gambas-basic.org> References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> <758e37cc-7588-5ece-9823-0578593495e3@gambas-basic.org> Message-ID: Le 07/09/2023 ? 23:40, Beno?t Minisini a ?crit?: > Le 07/09/2023 ? 23:39, Beno?t Minisini a ?crit?: >> Le 07/09/2023 ? 23:11, T Lee Davidson a ?crit?: >>> On 9/7/23 17:00, jose.rodriguez at cenpalab.cu wrote: >>>> On 2023-09-07 16:56, T Lee Davidson wrote: >>>>> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >>>>>> On 2023-09-07 16:40, T Lee Davidson wrote: >>>>>>> EOM >>>>>> >>>>>> >>>>>> Only happens on some parts of the Wiki, at least for me. >>>>>> >>>>>> Regards, >>>>>> Joe1962 >>>>> >>>>> Hmmm, I didn't think it may be only a partial service failure. This >>>>> was only on the home page: https://gambaswiki.org/ >>>> >>>> Indeed, the homepage gives 503, but this works: >>>> >>>> https://gambaswiki.org/wiki/ >>>> >>>> Several others from the left menu work, others don't. >>>> >>>> Regards, >>>> Joe1962 >>> >>> Yes, I am getting the same thing from here now. That's weird. >>> >> >> The wiki VM seems to be fully working. I guess it's the proxy of the >> company I work for that is broken again... >> >> I really have to take time to host that wiki somewhere else! It breaks >> too often. >> > > Oops sorry, I spoke too fast. Server out of memory. > Since 20:27 UTC+2. -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Thu Sep 7 23:48:34 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Sep 2023 23:48:34 +0200 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> <758e37cc-7588-5ece-9823-0578593495e3@gambas-basic.org> Message-ID: Le 07/09/2023 ? 23:41, Beno?t Minisini a ?crit?: > Le 07/09/2023 ? 23:40, Beno?t Minisini a ?crit?: >> Le 07/09/2023 ? 23:39, Beno?t Minisini a ?crit?: >>> Le 07/09/2023 ? 23:11, T Lee Davidson a ?crit?: >>>> On 9/7/23 17:00, jose.rodriguez at cenpalab.cu wrote: >>>>> On 2023-09-07 16:56, T Lee Davidson wrote: >>>>>> On 9/7/23 16:53, jose.rodriguez at cenpalab.cu wrote: >>>>>>> On 2023-09-07 16:40, T Lee Davidson wrote: >>>>>>>> EOM >>>>>>> >>>>>>> >>>>>>> Only happens on some parts of the Wiki, at least for me. >>>>>>> >>>>>>> Regards, >>>>>>> Joe1962 >>>>>> >>>>>> Hmmm, I didn't think it may be only a partial service failure. >>>>>> This was only on the home page: https://gambaswiki.org/ >>>>> >>>>> Indeed, the homepage gives 503, but this works: >>>>> >>>>> https://gambaswiki.org/wiki/ >>>>> >>>>> Several others from the left menu work, others don't. >>>>> >>>>> Regards, >>>>> Joe1962 >>>> >>>> Yes, I am getting the same thing from here now. That's weird. >>>> >>> >>> The wiki VM seems to be fully working. I guess it's the proxy of the >>> company I work for that is broken again... >>> >>> I really have to take time to host that wiki somewhere else! It >>> breaks too often. >>> >> >> Oops sorry, I spoke too fast. Server out of memory. >> > > Since 20:27 UTC+2. > A lot of request processes on the VM, and the infamous Linux oom-killer starts to kill them randomly. Until it reaches the webserver, and the program that watch it and restart it... -- Beno?t Minisini. From t.lee.davidson at gmail.com Fri Sep 8 17:09:55 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 8 Sep 2023 11:09:55 -0400 Subject: [Gambas-user] [DMARC]Re: [DMARC] GambasWiki -> 503 Service Unavailable In-Reply-To: References: <79c4e033-9841-4375-8455-0f1c08022d78@gmail.com> <8c29ef44a327c3051f44f199f810d8a5@cenpalab.cu> <46a92e87-9e92-4964-8dbb-abdc17063d24@gmail.com> <9292a02b-4b49-4879-bf23-d56ff73b0d89@gmail.com> <41e5b63e-cf91-b1a6-7681-32200047dad5@gambas-basic.org> <758e37cc-7588-5ece-9823-0578593495e3@gambas-basic.org> Message-ID: On 9/7/23 17:48, Beno?t Minisini wrote: > Le 07/09/2023 ? 23:41, Beno?t Minisini a ?crit?: >> Le 07/09/2023 ? 23:40, Beno?t Minisini a ?crit?: >>> Le 07/09/2023 ? 23:39, Beno?t Minisini a ?crit?: >>>> Le 07/09/2023 ? 23:11, T Lee Davidson a ?crit?: [snip] >>>> >>>> The wiki VM seems to be fully working. I guess it's the proxy of the company I work for that is broken again... >>>> >>>> I really have to take time to host that wiki somewhere else! It breaks too often. >>>> >>> >>> Oops sorry, I spoke too fast. Server out of memory. >>> >> >> Since 20:27 UTC+2. >> > > A lot of request processes on the VM, and the infamous Linux oom-killer starts to kill them randomly. Until it reaches the > webserver, and the program that watch it and restart it... > It appears to be working just fine today. Side note: I noticed that https://gambaswiki.org/wiki/tutorial/chat contains only one word, "chat". -- Lee From t.lee.davidson at gmail.com Fri Sep 8 19:26:54 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 8 Sep 2023 13:26:54 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> On 9/5/23 07:03, Beno?t Minisini wrote: > Hi, > > I have just added to the IDE a new package type to the packager wizard: AppImage! > > You are welcome to test it and report any problem. I think it won't work easily. > > It is not entirely finished. Support for adding extra dependencies and extra files is not done yet. > > AFAIK, The AppImage limitations are the following: > > - You need the 'appimage-builder' tool. See: https://appimage-builder.readthedocs.io/en/latest/intro/install.html#intro-install > > - This tool apparently works only on Debian, Ubuntu and ArchLinux. Please check that if you can. > > - AppImage does not like applications using OpenGL. Please check that too. > > - The resulting AppImage files are big (at least 50 Mb) and slow to start (I mean slower than it should). > > Otherwise, it's cool. > > Regards, > I installed Debian on a QEMU/KVM VM and tried to create an appimage of the default "hello world" new console application (hello.gambas). It failed. "Create-AppImage-Package-Output" attached. I also tried following the example at https://appimage-builder.readthedocs.io/en/latest/examples/gambas3.html. "appimage-builder --generate" failed to produce a YML file that looked usable; ie. it listed nothing to include in the AppDir:apt:include: section. "AppImageBuilder.yml" attached. I then tried making an appimage from hello.gambas following the procedures at the above appimage-builder example. The generate step failed as well with similar output to the example. "appimage-builer-generate-output" attached. I think the following line, common to both outputs except for the app name, may indicate at least part of the issue causing the failure to produce a viable YML file when trying to create an appimage manually: WARNING:AppRuntimeAnalyser:/tmp/.mount_appima0Khv6d/usr/bin/strace -f -E LD_LIBRARY_PATH= -e trace=openat --status=successful /home/user/devel/appimage-demo-gambas3/AppDir/usr/bin/appimage-demo-gambas3.gambas $@ exited with code 127 I didn't find any mention of Gambas exit codes on the Wiki, so I don't know what code 127 might mean. -- Lee -------------- next part -------------- Saving CHANGELOG file. ============================================================================== CREATING PACKAGE FOR APPIMAGE. Making build directory. rm -rf '/home/user/.var/tmp/AppImage/AppDir' mkdir -p '/home/user/.var/tmp/AppImage/AppDir/usr/bin' mkdir -p '/home/user/.var/tmp/AppImage/AppDir/usr/share/icons/hicolor/256x256/apps' Generating 'AppImageBuilder' configuration file... Creating AppImage... cd '/home/user/.var/tmp/AppImage' appimage-builder --skip-script --skip-tests INFO:main:Running apt deploy INFO:apt:apt-get update Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Get:2 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu jammy InRelease [17.5 kB] Ign:3 http://deb.debian.org/debian jammy InRelease Get:4 http://ddebs.ubuntu.com jammy InRelease [41.3 kB] Ign:5 http://deb.debian.org/debian jammy-updates InRelease Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36.5 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [822 kB] Ign:8 http://deb.debian.org/debian jammy Release Ign:2 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu jammy InRelease Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [781 kB] Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [761 kB] Ign:11 http://deb.debian.org/debian jammy-updates Release Ign:4 http://ddebs.ubuntu.com jammy InRelease Get:12 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu jammy/main amd64 Packages [15.9 kB] Get:13 http://ddebs.ubuntu.com jammy/universe amd64 Packages [4,944 kB] Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Get:30 http://ddebs.ubuntu.com jammy/multiverse amd64 Packages [83.5 kB] Get:31 http://ddebs.ubuntu.com jammy/main amd64 Packages [558 kB] Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Ign:17 http://deb.debian.org/debian jammy/universe amd64 Packages Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Ign:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Ign:14 http://deb.debian.org/debian jammy/main all Packages Ign:15 http://deb.debian.org/debian jammy/universe all Packages Ign:16 http://deb.debian.org/debian jammy/restricted all Packages Err:17 http://deb.debian.org/debian jammy/universe amd64 Packages 404 Not Found [IP: 199.232.30.132 80] Ign:18 http://deb.debian.org/debian jammy/multiverse all Packages Ign:19 http://deb.debian.org/debian jammy/restricted amd64 Packages Ign:20 http://deb.debian.org/debian jammy/multiverse amd64 Packages Ign:21 http://deb.debian.org/debian jammy/main amd64 Packages Err:22 http://deb.debian.org/debian jammy-updates/restricted amd64 Packages 404 Not Found [IP: 199.232.30.132 80] Ign:23 http://deb.debian.org/debian jammy-updates/restricted all Packages Ign:24 http://deb.debian.org/debian jammy-updates/main amd64 Packages Ign:25 http://deb.debian.org/debian jammy-updates/multiverse amd64 Packages Ign:26 http://deb.debian.org/debian jammy-updates/universe all Packages Ign:27 http://deb.debian.org/debian jammy-updates/main all Packages Ign:28 http://deb.debian.org/debian jammy-updates/multiverse all Packages Ign:29 http://deb.debian.org/debian jammy-updates/universe amd64 Packages Fetched 8,171 kB in 23s (359 kB/s) Reading package lists... Done W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C W: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: The repository 'http://deb.debian.org/debian jammy Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ppa.launchpad.net/gambas-team/gambas3/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 50B027516CAEE58D W: The repository 'http://ppa.launchpad.net/gambas-team/gambas3/ubuntu jammy InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: The repository 'http://deb.debian.org/debian jammy-updates Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://ddebs.ubuntu.com jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622 W: The repository 'http://ddebs.ubuntu.com jammy InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://deb.debian.org/debian/dists/jammy/universe/binary-amd64/Packages 404 Not Found [IP: 199.232.30.132 80] E: Failed to fetch http://deb.debian.org/debian/dists/jammy-updates/restricted/binary-amd64/Packages 404 Not Found [IP: 199.232.30.132 80] E: Some index files failed to download. They have been ignored, or old ones used instead. ERROR:root:"apt-get update" execution failed Traceback (most recent call last): File "/tmp/.mount_appimaCkiMWZ/usr/bin/appimage-builder", line 8, in sys.exit(__main__()) File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 50, in __main__ invoker.execute(commands) File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute command() File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 46, in __call__ deployed_packages = apt_deploy.deploy( File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 39, in deploy self._prepare_apt_venv() File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/modules/deploy/apt/deploy.py", line 48, in _prepare_apt_venv self.apt_venv.update() File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/modules/deploy/apt/venv.py", line 161, in update shell.assert_successful_result(_proc) File "/tmp/.mount_appimaCkiMWZ/usr/lib/python3.8/site-packages/appimagebuilder/utils/shell.py", line 35, in assert_successful_result raise RuntimeError( RuntimeError: "apt-get update" execution failed with code 100 The package build has failed. Package.MakeAppImagePackage.2951: Unable to create AppImage. -------------- next part -------------- A non-text attachment was scrubbed... Name: AppImageBuilder.yml Type: application/x-yaml Size: 1417 bytes Desc: not available URL: -------------- next part -------------- INFO:AppRuntimeAnalyser:/tmp/.mount_appima0Khv6d/usr/bin/strace -f -E LD_LIBRARY_PATH= -e trace=openat --status=successful /home/user/devel/appimage-demo-gambas3/AppDir/usr/bin/appimage-demo-gambas3.gambas $@ WARNING:AppRuntimeAnalyser:/tmp/.mount_appima0Khv6d/usr/bin/strace -f -E LD_LIBRARY_PATH= -e trace=openat --status=successful /home/user/devel/appimage-demo-gambas3/AppDir/usr/bin/appimage-demo-gambas3.gambas $@ exited with code 127 WARNING:AppRuntimeAnalyser:This may produce an incomplete/wrong recipe. Please make sure that the application runs properly. INFO:AppRuntimeAnalyser:Reading PT_INTERP from executables INFO:FilePackageResolver:/usr/bin/dpkg-query -S dpkg-query: error: --search needs at least one file name pattern argument Use --help for help about querying packages. INFO:dpkg-query:/usr/bin/dpkg-query -W -f=${binary:Package}: ${Depends}\n INFO:Generator:Recipe generation completed. From gambas.fr at gmail.com Fri Sep 8 19:27:49 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 8 Sep 2023 19:27:49 +0200 Subject: [Gambas-user] Appimage Message-ID: Seem to have a problem on some lib access ... work on my own system but on virtual fedora it fail because some lib seem to miss ... why ? -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture d??cran du 2023-09-08 19-24-52.png Type: image/png Size: 59257 bytes Desc: not available URL: From benoit.minisini at gambas-basic.org Fri Sep 8 20:25:07 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Sep 2023 20:25:07 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> Message-ID: <860fc982-e9c2-d50d-c094-c602f674da93@gambas-basic.org> Le 08/09/2023 ? 19:26, T Lee Davidson a ?crit?: > > I installed Debian on a QEMU/KVM VM and tried to create an appimage of > the default "hello world" new console application (hello.gambas). It > failed. "Create-AppImage-Package-Output" attached. According to the output, you specified debian repositories. You must specified Ubuntu repositories, otherwise it can't work! > > I also tried following the example at > https://appimage-builder.readthedocs.io/en/latest/examples/gambas3.html. > "appimage-builder --generate" failed to produce a YML file that looked > usable; ie. it listed nothing to include in the AppDir:apt:include: > section. "AppImageBuilder.yml" attached. > > I then tried making an appimage from hello.gambas following the > procedures at the above appimage-builder example. The generate step > failed as well with similar output to the example. > "appimage-builer-generate-output" attached. > > I think the following line, common to both outputs except for the app > name, may indicate at least part of the issue causing the failure to > produce a viable YML file when trying to create an appimage manually: > WARNING:AppRuntimeAnalyser:/tmp/.mount_appima0Khv6d/usr/bin/strace -f -E > LD_LIBRARY_PATH= -e trace=openat --status=successful > /home/user/devel/appimage-demo-gambas3/AppDir/usr/bin/appimage-demo-gambas3.gambas $@ exited with code 127 > > I didn't find any mention of Gambas exit codes on the Wiki, so I don't > know what code 127 might mean. It's not a problem, as I don't use "appimage-builder --generate". It's not reliable. I just have to specify manually in the 'AppImageBuilder.yml' file the same dependencies as if I would create a Ubuntu binary package. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Fri Sep 8 20:35:08 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 8 Sep 2023 14:35:08 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <860fc982-e9c2-d50d-c094-c602f674da93@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> <860fc982-e9c2-d50d-c094-c602f674da93@gambas-basic.org> Message-ID: <067922f2-551d-4a1f-ab9a-f638f1786314@gmail.com> On 9/8/23 14:25, Beno?t Minisini wrote: > Le?08/09/2023???19:26,?T?Lee?Davidson?a??crit?: >> >> I installed Debian on a QEMU/KVM VM and tried to create an appimage of the default "hello world" new console application >> (hello.gambas). It failed.?"Create-AppImage-Package-Output"?attached. > > According to the output, you specified debian repositories. You must specified?Ubuntu?repositories,?otherwise?it?can't?work! It was the Gambas "Make installation package" wizard that specified debian repositories, no tme. I wasn't sure what to enter there, and so I clicked the "Get current system configuration" button. It populated "Ubuntu repository" with "http://deb.debian.org/debian/". -- Lee From benoit.minisini at gambas-basic.org Fri Sep 8 21:29:21 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Sep 2023 21:29:21 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <067922f2-551d-4a1f-ab9a-f638f1786314@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> <860fc982-e9c2-d50d-c094-c602f674da93@gambas-basic.org> <067922f2-551d-4a1f-ab9a-f638f1786314@gmail.com> Message-ID: <8b35ab78-63b9-9547-5846-6ad718dbff5c@gambas-basic.org> Le 08/09/2023 ? 20:35, T Lee Davidson a ?crit?: > On 9/8/23 14:25, Beno?t Minisini wrote: >> Le?08/09/2023???19:26,?T?Lee?Davidson?a??crit?: >>> >>> I installed Debian on a QEMU/KVM VM and tried to create an appimage >>> of the default "hello world" new console application (hello.gambas). >>> It failed.?"Create-AppImage-Package-Output"?attached. >> >> According to the output, you specified debian repositories. You must >> specified?Ubuntu?repositories,?otherwise?it?can't?work! > > It was the Gambas "Make installation package" wizard that specified > debian repositories, no tme. I wasn't sure what to enter there, and so I > clicked the "Get current system configuration" button. It populated > "Ubuntu repository" with "http://deb.debian.org/debian/". Indeed, it gets the url from /etc/apt/sources.list, which points at your Debian repositories. You must enter an Ubuntu repository. For example: http://fr.archive.ubuntu.com/ubuntu/ I will try to detect that the current system is not Ubuntu to not read /etc/apt/sources.list in that case. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Fri Sep 8 21:38:12 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Sep 2023 21:38:12 +0200 Subject: [Gambas-user] Appimage In-Reply-To: References: Message-ID: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> Le 08/09/2023 ? 19:27, Fabien Bodard a ?crit?: > Seem to have a problem on some lib access?... work on my own system but > on virtual fedora it fail because some lib seem to miss ... why ? > > > > -- > Fabien Bodard > I think 'appimage-builder' does some weird tricks that sometimes makes 'apt' forget a dependency. Maybe 'libnls' is this sort of library that is loaded at runtime by 'glibc', but that is not a package dependency of 'glibc'. I may be wrong for sure, but I guess it's something like that. You can add explicitly 'libnls' as a package dependency in the packager wizard before building the AppImage. If we find some library required by AppImage on a specific system, I can hardcode the dependency in the source code. I already does that for some wayland client libraries that are not included if your project only uses 'gb.gtk3'. No idea why, as these libraries are an explicit dependency of GTK+3 on Ubuntu. The resulting AppImage is always at least about 50 Mo, so a few more library is not a big deal. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Fri Sep 8 21:56:18 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 8 Sep 2023 15:56:18 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <8b35ab78-63b9-9547-5846-6ad718dbff5c@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <46bbff89-9963-4a84-b251-a1005308af41@gmail.com> <860fc982-e9c2-d50d-c094-c602f674da93@gambas-basic.org> <067922f2-551d-4a1f-ab9a-f638f1786314@gmail.com> <8b35ab78-63b9-9547-5846-6ad718dbff5c@gambas-basic.org> Message-ID: <978eb9ca-0e6b-46c8-a7c6-d12707104209@gmail.com> On 9/8/23 15:29, Beno?t Minisini wrote: > Indeed, it gets the url from /etc/apt/sources.list, which points at your Debian?repositories. > > You?must?enter?an?Ubuntu?repository. > > For?example: http://fr.archive.ubuntu.com/ubuntu/ > > I will try to detect that the current system is not Ubuntu to not read /etc/apt/sources.list?in?that?case. That works much better! I used that repo and "lunar". There were a bunch of warnings in the output, but in the end, "The packages have been successfully created." And, the appimage executes successfully. If it helps, the only *-release file I found in /etc was os-release. Content: PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" -- Lee From t.lee.davidson at gmail.com Fri Sep 8 22:27:00 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 8 Sep 2023 16:27:00 -0400 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> Message-ID: <4325dceb-769c-4925-adf8-70272f7e2fe3@gmail.com> On 9/5/23 07:03, Beno?t Minisini wrote: > - The resulting AppImage files are big (at least 50 Mb) and slow to start?(I?mean?slower?than?it?should). Just FYI: Specifying either gb.gtk3 or gb.qt5, as opposed to gb.gui, saves 9-10Mb in the resulting appimage. The simple "hello world" command-line app is only 5Mb. Using gb.gtk3 appears to launch slightly faster. Side note: With either GUI toolkit, showing a Message.Info dialog produced "gb.form: warning: unable to load gb.form.stock component" on the console. -- Lee From benoit.minisini at gambas-basic.org Fri Sep 8 22:30:26 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Sep 2023 22:30:26 +0200 Subject: [Gambas-user] Initial support for making AppImage In-Reply-To: <4325dceb-769c-4925-adf8-70272f7e2fe3@gmail.com> References: <9071edbf-18f9-e762-4552-c603e08902ab@gambas-basic.org> <4325dceb-769c-4925-adf8-70272f7e2fe3@gmail.com> Message-ID: Le 08/09/2023 ? 22:27, T Lee Davidson a ?crit?: > On 9/5/23 07:03, Beno?t Minisini wrote: >> - The resulting AppImage files are big (at least 50 Mb) and slow to >> start?(I?mean?slower?than?it?should). > > Just FYI: > > Specifying either gb.gtk3 or gb.qt5, as opposed to gb.gui, saves 9-10Mb > in the resulting appimage. Of course. If you choose 'gb.gui', I can't guess what you want, so I insert both of them. > > The simple "hello world" command-line app is only 5Mb. > > Using gb.gtk3 appears to launch slightly faster. > > Side note: With either GUI toolkit, showing a Message.Info dialog > produced "gb.form: warning: unable to load gb.form.stock component" on > the console. Yes, that component must be added even if you don't check it in your project, because it is often loaded at runtime to get the beautiful icons I made :-). Regards, -- Beno?t Minisini. From gambas.fr at gmail.com Fri Sep 8 23:40:53 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 8 Sep 2023 23:40:53 +0200 Subject: [Gambas-user] Appimage In-Reply-To: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> References: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> Message-ID: Le ven. 8 sept. 2023 ? 21:39, Beno?t Minisini < benoit.minisini at gambas-basic.org> a ?crit : > Le 08/09/2023 ? 19:27, Fabien Bodard a ?crit : > > Seem to have a problem on some lib access ... work on my own system but > > on virtual fedora it fail because some lib seem to miss ... why ? > > > > > > > > -- > > Fabien Bodard > > > > I think 'appimage-builder' does some weird tricks that sometimes makes > 'apt' forget a dependency. > > Maybe 'libnls' is this sort of library that is loaded at runtime by > 'glibc', but that is not a package dependency of 'glibc'. > > I may be wrong for sure, but I guess it's something like that. > > You can add explicitly 'libnls' as a package dependency in the packager > wizard before building the AppImage. > > If we find some library required by AppImage on a specific system, I can > hardcode the dependency in the source code. > > I already does that for some wayland client libraries that are not > included if your project only uses 'gb.gtk3'. No idea why, as these > libraries are an explicit dependency of GTK+3 on Ubuntu. > > The resulting AppImage is always at least about 50 Mo, so a few more > library is not a big deal. > Only 15 mo for an sdl app ... Regards, > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Sat Sep 9 00:00:28 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 9 Sep 2023 00:00:28 +0200 Subject: [Gambas-user] Appimage In-Reply-To: References: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> Message-ID: <93edfc22-6b92-4230-2afc-b82ca0960376@gambas-basic.org> Le 08/09/2023 ? 23:40, Fabien Bodard a ?crit?: > I think 'appimage-builder' does some weird tricks that sometimes makes > 'apt' forget a dependency. > > Maybe 'libnls' is this sort of library that is loaded at runtime by > 'glibc', but that is not a package dependency of 'glibc'. > > I may be wrong for sure, but I guess it's something like that. > > You can add explicitly 'libnls' as a package dependency in the packager > wizard before building the AppImage. > > If we find some library required by AppImage on a specific system, I > can > hardcode the dependency in the source code. > > I already does that for some wayland client libraries that are not > included if your project only uses 'gb.gtk3'. No idea why, as these > libraries are an explicit dependency of GTK+3 on Ubuntu. > > The resulting AppImage is always at least about 50 Mo, so a few more > library is not a big deal. > > > Only 15 mo for an sdl app ... > Did you try to add the 'libnsl2' package manually? -- Beno?t Minisini. From gambas.fr at gmail.com Sat Sep 9 19:27:41 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 9 Sep 2023 19:27:41 +0200 Subject: [Gambas-user] Appimage In-Reply-To: <93edfc22-6b92-4230-2afc-b82ca0960376@gambas-basic.org> References: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> <93edfc22-6b92-4230-2afc-b82ca0960376@gambas-basic.org> Message-ID: terrible l'histoire des paquets... libnsl2 n'est pr?sent qu'a partir de jammy. This code was formerly part of glibc, but is now standalone to be able to link against TI-RPC for IPv6 support. Le sam. 9 sept. 2023 ? 00:01, Beno?t Minisini < benoit.minisini at gambas-basic.org> a ?crit : > Le 08/09/2023 ? 23:40, Fabien Bodard a ?crit : > > I think 'appimage-builder' does some weird tricks that sometimes > makes > > 'apt' forget a dependency. > > > > Maybe 'libnls' is this sort of library that is loaded at runtime by > > 'glibc', but that is not a package dependency of 'glibc'. > > > > I may be wrong for sure, but I guess it's something like that. > > > > You can add explicitly 'libnls' as a package dependency in the > packager > > wizard before building the AppImage. > > > > If we find some library required by AppImage on a specific system, I > > can > > hardcode the dependency in the source code. > > > > I already does that for some wayland client libraries that are not > > included if your project only uses 'gb.gtk3'. No idea why, as these > > libraries are an explicit dependency of GTK+3 on Ubuntu. > > > > The resulting AppImage is always at least about 50 Mo, so a few more > > library is not a big deal. > > > > > > Only 15 mo for an sdl app ... > > > > Did you try to add the 'libnsl2' package manually? > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sat Sep 9 19:56:28 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 9 Sep 2023 19:56:28 +0200 Subject: [Gambas-user] Appimage In-Reply-To: References: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> <93edfc22-6b92-4230-2afc-b82ca0960376@gambas-basic.org> Message-ID: Regarde moi ?a si c'est po meunion :-) le poid de mon app est de 20 mo a pr?sent. Par contre pas de barre de titre ... viva gnome. Il me reste plus qu'a voir si je peux g?n?rer un paquet sous fedora. -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture d??cran du 2023-09-09 19-32-48.png Type: image/png Size: 151192 bytes Desc: not available URL: From gambas.fr at gmail.com Sat Sep 9 23:07:28 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 9 Sep 2023 23:07:28 +0200 Subject: [Gambas-user] Appimage In-Reply-To: References: <86030b11-3d06-a192-b56f-d1f70f8d3744@gambas-basic.org> <93edfc22-6b92-4230-2afc-b82ca0960376@gambas-basic.org> Message-ID: j'ai eu encore un soucis avec majaro... libdecor... et oui la version que j'avais ne supporte pas wayland :-/ du coup c'est une version bionic qui a fait la balle ... donc sans libnsl 2 ce qui ne va pas a fedora ?... ya pas de miracle... entre les ?volution de gcc et de X c'est le bazzard Le sam. 9 sept. 2023 ? 19:56, Fabien Bodard a ?crit : > Regarde moi ?a si c'est po meunion :-) > > le poid de mon app est de 20 mo a pr?sent. Par contre pas de barre de > titre ... viva gnome. > > Il me reste plus qu'a voir si je peux g?n?rer un paquet sous fedora. > -- > Fabien Bodard > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.fischer6 at web.de Sun Sep 10 19:04:16 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Sun, 10 Sep 2023 19:04:16 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? Message-ID: <9563a759-f645-b570-0422-de0cefb54851@web.de> Hi all, I was quite surprised that gambas does not provide a general-purpose list implementation (I know, there is data.List, but that is not general purpose I think...) So I created one: -------------------------- ### A list implementation backed by an array of Variant. An ArrayList can keep up to MAX_INT entries.\ It grows automatically if the initial capacity of the backing array is exceeded.\ It will also shrink if you remove existing elements. Iteration-order is defined as insertion-order (for the classical "For" loop as well as for the "For-Each" loop).\ Usually this implementation is space and time-efficient and cache-friendly: - Add, Clear, Slice, SliceOfSize: O(1) - GetAt, SetAt: O(1) - Contains, Remove, RemoveAt, AsArray: O(n) Note that elements of this list can be accessed with the array-index-access operator ([]). This class is Serializable. Usage Example: Dim list As ArrayList = New ArrayList(10) ' optional initial capacity: 10 list.Add("e1") ' add some elements list.Add("e2") list.Add("e3") list.AddAll("e4", "e5", "e6") ' add many elements explicitly list.AddAllFromEnumerable(list2) ' add all elements from anything that can be traversed via For-Each loop, e.g an ArrayList or an array Dim specialElement = list[0] ' retrieve elements of list with array-index access list[1] = "e2_new" ' existing list elements can be changed For Each elem As String In list ' classic "For" and "For In" loops are supported process(elem) Next Dim sublist As SlicedArrayList = list.Slice(2, 4) ' get a sublist as view of original list. No copying involved here list.Sort(gb.Descent) ' sort the list in-place What do you think? ____________________________________ Martin Fischer From benoit.minisini at gambas-basic.org Sun Sep 10 19:55:15 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 10 Sep 2023 19:55:15 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: <9563a759-f645-b570-0422-de0cefb54851@web.de> References: <9563a759-f645-b570-0422-de0cefb54851@web.de> Message-ID: <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Le 10/09/2023 ? 19:04, Martin Fischer a ?crit?: > Hi all, > > I was quite surprised that gambas does not provide a general-purpose > list implementation (I know, there is data.List, but that is not general > purpose I think...) > So I created one: > > -------------------------- > ### A list implementation backed by an array of Variant. > > An ArrayList can keep up to MAX_INT entries.\ > It grows automatically if the initial capacity of the backing array is > exceeded.\ > It will also shrink if you remove existing elements. > > Iteration-order is defined as insertion-order (for the classical "For" > loop as well as for the "For-Each" loop).\ > > Usually this implementation is space and time-efficient and cache-friendly: > - Add, Clear, Slice, SliceOfSize: O(1) > - GetAt, SetAt: O(1) > - Contains, Remove, RemoveAt, AsArray: O(n) > > Note that elements of this list can be accessed with the > array-index-access operator ([]). > > This class is Serializable. > > Usage Example: > ??? Dim list As ArrayList = New ArrayList(10) ' optional initial > capacity: 10 > > ??? list.Add("e1") ' add some elements > ??? list.Add("e2") > ??? list.Add("e3") > ??? list.AddAll("e4", "e5", "e6") ' add many elements explicitly > ??? list.AddAllFromEnumerable(list2) ' add all elements from anything > that can be traversed via For-Each loop, e.g an ArrayList or an array > > ??? Dim specialElement = list[0] ' retrieve elements of list with > array-index access > ??? list[1] = "e2_new" ' existing list elements can be changed > > ??? For Each elem As String In list ' classic "For" and "For In" loops > are supported > ?????? process(elem) > ??? Next > > ??? Dim sublist As SlicedArrayList = list.Slice(2, 4) ' get a sublist > as view of original list. No copying involved here > > ??? list.Sort(gb.Descent) ' sort the list in-place > > > What do you think? > > > ____________________________________ > Martin Fischer > I don't see the need of that as you can already use an array to do the same thing. Or maybe I missed something? -- Beno?t Minisini. From martin.fischer6 at web.de Sun Sep 10 21:10:07 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Sun, 10 Sep 2023 21:10:07 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: > > I don't see the need of that as you can already use an array to do the > same thing. > > Or maybe I missed something? > Benoit, first I was confused about your reply... Then I thought: He really should know... Then I fired up gambas to find out if native arrays do already have the convenience of my ArrayList... And yes: you are right. Arrays resize automatically and have a "add to tail" method (Add), and, and, and, ... The only thing they do not have is the Slice (sublist view) stuff. But that is surely not a justification to add another class. I'm just wondering why I did not find this in the gambas-wiki. Is it possible that this is basically undocumented? Regards Martin From gradobag at gradobag.it Sun Sep 10 22:53:01 2023 From: gradobag at gradobag.it (Gianluigi) Date: Sun, 10 Sep 2023 22:53:01 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: Il 10/09/23 21:10, Martin Fischer ha scritto: >> >> I don't see the need of that as you can already use an array to do the >> same thing. >> >> Or maybe I missed something? >> > > Benoit, > > first I was confused about your reply... > Then I thought: He really should know... > Then I fired up gambas to find out if native arrays do already have the > convenience of my ArrayList... > > And yes: you are right. Arrays resize automatically and have a "add to > tail" method (Add), and, and, and, ... > The only thing they do not have is the Slice (sublist view) stuff. But > that is surely not a justification to add another class. > > I'm just wondering why I did not find this in the gambas-wiki. Is it > possible that this is basically undocumented? > > Regards > Martin > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Sorry Martin, I didn't understand what you mean by 'Slice', something like that? Public Sub Main() ? Dim aArr As String[] = ["A", "B", "C", "D", "E", "F", "G"] ? For Each s As String In aArr.Copy(3, 3) ??? Print s ? Next End Regards Gianluigi From jussi.lahtinen at gmail.com Sun Sep 10 23:02:51 2023 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 11 Sep 2023 00:02:51 +0300 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: The documentation is there. https://gambaswiki.org/wiki/cat/array Here example specifically for string arrays: https://gambaswiki.org/wiki/comp/gb/string[] Jussi On Sun, Sep 10, 2023 at 10:11?PM Martin Fischer wrote: > > > > I don't see the need of that as you can already use an array to do the > > same thing. > > > > Or maybe I missed something? > > > > Benoit, > > first I was confused about your reply... > Then I thought: He really should know... > Then I fired up gambas to find out if native arrays do already have the > convenience of my ArrayList... > > And yes: you are right. Arrays resize automatically and have a "add to > tail" method (Add), and, and, and, ... > The only thing they do not have is the Slice (sublist view) stuff. But > that is surely not a justification to add another class. > > I'm just wondering why I did not find this in the gambas-wiki. Is it > possible that this is basically undocumented? > > Regards > Martin > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sun Sep 10 23:03:18 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 10 Sep 2023 23:03:18 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: Le dim. 10 sept. 2023 ? 22:54, Gianluigi a ?crit : > Il 10/09/23 21:10, Martin Fischer ha scritto: > >> > >> I don't see the need of that as you can already use an array to do the > >> same thing. > >> > >> Or maybe I missed something? > >> > > > > Benoit, > > > > first I was confused about your reply... > > Then I thought: He really should know... > > Then I fired up gambas to find out if native arrays do already have the > > convenience of my ArrayList... > > > > And yes: you are right. Arrays resize automatically and have a "add to > > tail" method (Add), and, and, and, ... > > The only thing they do not have is the Slice (sublist view) stuff. But > > that is surely not a justification to add another class. > > > > I'm just wondering why I did not find this in the gambas-wiki. Is it > > possible that this is basically undocumented? > > > > Regards > > Martin > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > Sorry Martin, > > I didn't understand what you mean by 'Slice', something like that? > > Public Sub Main() > > Dim aArr As String[] = ["A", "B", "C", "D", "E", "F", "G"] > > For Each s As String In aArr.Copy(3, 3) > Print s > Next > > End > > Regards > > Gianluigi > in langage like rust a slice is a kind of special pointer to an array or any list with 3 coords like arrayref,position, length. dim myarray as array = [...,...,... dim mySlice as Slice = MyArray.Slice(2,23) for each s in MySlice ... I you change value in array then the value change also in the slice as it is just a pointer to an array part. It can be usefull on string analysis. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From gradobag at gradobag.it Mon Sep 11 09:53:56 2023 From: gradobag at gradobag.it (Gianluigi) Date: Mon, 11 Sep 2023 09:53:56 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: Il 10/09/23 23:03, Fabien Bodard ha scritto: > in langage like rust a slice is a kind of special pointer to an array > or any list with 3 coords like arrayref,position, length. > > dim myarray as array = [...,...,... > > dim mySlice as Slice = MyArray.Slice(2,23) > > for each s in MySlice > ... > > I you change value in array then the value change also in the slice as > it is just a pointer to an array part. > > It can be usefull?on string analysis. > > Fabien Bodard > Hi Fabien, Thanks for the explanations, now I know something more than the programming :-) You are always kind Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gradobag at gradobag.it Mon Sep 11 10:18:33 2023 From: gradobag at gradobag.it (Gianluigi) Date: Mon, 11 Sep 2023 10:18:33 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> Message-ID: <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> Il 11/09/23 09:53, Gianluigi ha scritto: > Il 10/09/23 23:03, Fabien Bodard ha scritto: >> in langage like rust a slice is a kind of special pointer to an array >> or any list with 3 coords like arrayref,position, length. >> >> dim myarray as array = [...,...,... >> >> dim mySlice as Slice = MyArray.Slice(2,23) >> >> for each s in MySlice >> ... >> >> I you change value in array then the value change also in the slice >> as it is just a pointer to an array part. >> >> It can be usefull?on string analysis. >> >> Fabien Bodard >> > > Hi Fabien, > > Thanks for the explanations, now I know something more than the > programming :-) > > You are always kind > > Regards > > Gianluigi > You made me want to check out Bjarne Stroustrup's book. Slice is well explained, unfortunately it is 'way' beyond my mental capabilities. Modestly, my ignorance is vast and touches all points :-D Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Mon Sep 11 17:37:04 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 11 Sep 2023 11:37:04 -0400 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> Message-ID: <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> On 9/11/23 04:18, Gianluigi wrote: > You made me want to check out Bjarne Stroustrup's book. > > Slice is well explained, unfortunately it is 'way' beyond my mental capabilities. > I have to doubt, Gianluigi, that slices are beyond your comprehension. They are actually not complex. Perhaps that book's explanation was rather convoluted. A slice is, simply stated, a limited view of an array. Suppose we could do this: Dim aStrings As String[] = ["one", "two", "three", "four", "five", "six", "seven"] Dim aSlice As Slice = aStrings.Slice(2, 3) ' Syntax equals Slice(startIndex, Length) [ Except in Python :-\ ] The slice's view of the underlying array would consist of only the values ["three", "four", "five"] and would be indexed starting at zero. Print aSlice[1] ' Would print "four" Since a slice is not a copy of a subset of an array (but holds a reference to the underlying array), changing a value in the slice also changes the referenced value in the array: aSlice[1] = "nine" ' aStrings now equals ["one", "two", "three", "nine", "five", "six", "seven"] See? Simple. (But, I may not have explained it very well either.) -- Lee From adamnt42 at gmail.com Mon Sep 11 18:10:16 2023 From: adamnt42 at gmail.com (BB) Date: Tue, 12 Sep 2023 01:40:16 +0930 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> Message-ID: On 12/9/23 1:07 am, T Lee Davidson wrote: > On 9/11/23 04:18, Gianluigi wrote: >> You made me want to check out Bjarne Stroustrup's book. >> >> Slice is well explained, unfortunately it is 'way' beyond my mental >> capabilities. >> > > I have to doubt, Gianluigi, that slices are beyond your comprehension. > They are actually not complex. Perhaps that book's explanation was > rather convoluted. > > A slice is, simply stated, a limited view of an array. > > Suppose we could do this: > > Dim aStrings As String[] = ["one", "two", "three", "four", "five", > "six", "seven"] > Dim aSlice As Slice = aStrings.Slice(2, 3) ' Syntax equals > Slice(startIndex, Length) [ Except in Python :-\ ] > > The slice's view of the underlying array would consist of only the > values ["three", "four", "five"] and would be indexed starting at zero. > > Print aSlice[1] ' Would print "four" > > Since a slice is not a copy of a subset of an array (but holds a > reference to the underlying array), changing a value in the slice also > changes the referenced value in the array: > > aSlice[1] = "nine" > ' aStrings now equals ["one", "two", "three", "nine", "five", "six", > "seven"] > > See? Simple. (But, I may not have explained it very well either.) > > and presumably, since they are "just" a reference into the array, you could do adds or inserts into the array using either the array or the slice and they would stay synchronised. I am not sure what extracts or removes would be capable of mucking up though. Using Lee's sample aSlice = aStrings.Slice(5,2) aStrings.Remove(5,2) 'Where would aSlice be pointing to now? Would it be null or an empty String[]? or aStrings.Extract(4,-1) ' Where would aSlice be pointing to now? Would it be null or an empty String[]? I think they have to be an empty string array, but the reference into the original array must be destroyed. b From gradobag at gradobag.it Mon Sep 11 18:27:01 2023 From: gradobag at gradobag.it (Gianluigi) Date: Mon, 11 Sep 2023 18:27:01 +0200 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> Message-ID: Il 11/09/23 17:37, T Lee Davidson ha scritto: > On 9/11/23 04:18, Gianluigi wrote: >> You made me want to check out Bjarne Stroustrup's book. >> >> Slice is well explained, unfortunately it is 'way' beyond my mental >> capabilities. >> > > I have to doubt, Gianluigi, that slices are beyond your comprehension. > They are actually not complex. Perhaps that book's explanation was > rather convoluted. > > A slice is, simply stated, a limited view of an array. > > Suppose we could do this: > > Dim aStrings As String[] = ["one", "two", "three", "four", "five", > "six", "seven"] > Dim aSlice As Slice = aStrings.Slice(2, 3) ' Syntax equals > Slice(startIndex, Length) [ Except in Python :-\ ] > > The slice's view of the underlying array would consist of only the > values ["three", "four", "five"] and would be indexed starting at zero. > > Print aSlice[1] ' Would print "four" > > Since a slice is not a copy of a subset of an array (but holds a > reference to the underlying array), changing a value in the slice also > changes the referenced value in the array: > > aSlice[1] = "nine" > ' aStrings now equals ["one", "two", "three", "nine", "five", "six", > "seven"] > > See? Simple. (But, I may not have explained it very well either.) > He Lee, Now I can say I really understand and yes, it is not difficult. Fabien tried to explain it to me but for my mind he was too hurried. But he can afford it, since he participates in the production of that divine nectar called Cognac :-) Thank you all Regards Gianluigi From t.lee.davidson at gmail.com Mon Sep 11 19:04:16 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 11 Sep 2023 13:04:16 -0400 Subject: [Gambas-user] Would an ArrayList datatype be helpful for gambas users? In-Reply-To: References: <9563a759-f645-b570-0422-de0cefb54851@web.de> <04b8eb75-57e1-ff25-c13e-51493839c6a4@gambas-basic.org> <1bdea338-19d7-17f4-6df6-8f9eaaa34fc7@gradobag.it> <29f6e49d-3cd9-4992-bcb8-f02de0bd8285@gmail.com> Message-ID: <40c3bd1e-2639-4df4-994c-d2763eac1844@gmail.com> On 9/11/23 12:10, BB wrote: > I am not sure what extracts or removes would be capable of mucking up though.?Using?Lee's?sample > > aSlice?=?aStrings.Slice(5,2) > aStrings.Remove(5,2) 'Where would aSlice be pointing to now? Would it be null?or?an?empty?String[]? > > or > > aStrings.Extract(4,-1) ' Where would aSlice be pointing to now? Would it be?null?or?an?empty?String[]? In both situations, that would depend on how the particular language implements a slice under the hood. If it holds a reference on the underlying array, ie. the array's first data element (using an offset and a length as limiters), then any access of the slice's elements, now non-existent in the array, would be an out of bounds condition of the array. If on the other hand, the slice holds a reference to the index /within/ the array which is specified by the slice's starting index, then the reference would become invalid, ie. a dangling pointer. And, yes, I think the reference into the original array must be nullified. > I think they have to be an empty string array, but the reference into the?original?array?must?be?destroyed. -- Lee From gambas.fr at gmail.com Mon Sep 11 19:37:23 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Mon, 11 Sep 2023 19:37:23 +0200 Subject: [Gambas-user] inotify Message-ID: hi, is it possible to watch a file in the /proc path ? I'm trying to watch /proc/self/mountstats... but I'm not able to catch the file modification :-/ any idea ? -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at tiscali.it Mon Sep 11 20:46:31 2023 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Mon, 11 Sep 2023 20:46:31 +0200 Subject: [Gambas-user] inotify In-Reply-To: References: Message-ID: Il 11.09.2023 19:37 Fabien Bodard ha scritto: > hi, is it possible to watch a file in the /proc path ? > I'm trying to watch /proc/self/mountstats... but I'm not able to > catch > the file modification :-/ > any idea ? > Fabien Bodard Dim variable as string exec ["cat", "/path/you/want/file/you/want] to variable print variable From vuott at tutanota.com Tue Sep 12 00:17:35 2023 From: vuott at tutanota.com (vuott at tutanota.com) Date: Tue, 12 Sep 2023 00:17:35 +0200 (CEST) Subject: [Gambas-user] inotify In-Reply-To: References: Message-ID: ...maybe: [code] Private dr As String Private lun As String Private fl As File Public Sub Main() ? dr = "/proc/self/mountstats" lun = File.Load(dr) ? fl = Open dr For Read Watch ?? End Public Sub File_Read() ? Dim s As String ?? If Exist(dr) Then ?? s = File.Load(dr) ?? If lun <> s Then? ???? Print "File '"; dr; "' has been modified !\n"???? Print s ? Endif ?? lun = s Else ?? Print "\nfile '"; dr; "'?was destroyed !"?? fl.Close Endif ??? End[/code] 11 set 2023, 19:38 da gambas.fr at gmail.com: > hi, > > is it possible to watch a file in the /proc path ? > > I'm trying to watch /proc/self/mountstats... but I'm not able to catch the file modification :-/ > > any idea ? > > -- > Fabien Bodard > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Sep 12 06:04:07 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 12 Sep 2023 00:04:07 -0400 Subject: [Gambas-user] inotify In-Reply-To: References: Message-ID: On 9/11/23 13:37, Fabien Bodard wrote: > hi, > > is it possible to watch a file in the /proc path ? > > I'm trying to watch /proc/self/mountstats... but I'm not able to catch the file modification :-/ > > any idea ? > > -- > Fabien Bodard From `man 7 inotify` in the "Limitations and caveats" section: "Furthermore, various pseudo-filesystems such as /proc, /sys, and /dev/pts are not monitorable with inotify." -- Lee From adamnt42 at gmail.com Tue Sep 12 12:19:47 2023 From: adamnt42 at gmail.com (BB) Date: Tue, 12 Sep 2023 19:49:47 +0930 Subject: [Gambas-user] inotify In-Reply-To: References: Message-ID: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> On 12/9/23 1:34 pm, T Lee Davidson wrote: > On 9/11/23 13:37, Fabien Bodard wrote: >> hi, >> >> is it possible to watch a file in the /proc path ? >> >> I'm trying to watch /proc/self/mountstats... but I'm not able to >> catch the file modification :-/ >> >> any idea ? >> >> -- >> Fabien Bodard > > From `man 7 inotify` in the "Limitations and caveats" section: > "Furthermore, various pseudo-filesystems such as /proc, /sys, and > /dev/pts are not monitorable with inotify." > "Well caught, SIr Davidson!!" I tried a bit of a fudge test today "tailing" the said file fairly briskly while swapping some USB doodads and here at least, the change in mountstats was appearing quite some time after the USB had been mounted and the file manager appeared. Up to 2 seconds later. I don't know if that's an artifact or just a distro thing but it would seem that if that lag is widespread then polling and "stat"-ing it a fairly leisurely pace could suffice? b From gambas.fr at gmail.com Tue Sep 12 13:47:15 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 12 Sep 2023 13:47:15 +0200 Subject: [Gambas-user] inotify In-Reply-To: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> References: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> Message-ID: Hi, bruce ... yes I think a stat call on a 5 sec delay will do the job. thank you to all ... and to Lee to Point me on the inotify doc :-/, I forgot to read it :-D -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Sep 12 16:25:25 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 12 Sep 2023 10:25:25 -0400 Subject: [Gambas-user] inotify In-Reply-To: References: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> Message-ID: On 9/12/23 07:47, Fabien Bodard wrote: > thank you to all ... and to Lee to Point me on the inotify doc :-/, I forgot to read it :-D Actually, thanks should not go to me but to whomever wrote the content of the warning box at the top of https://gambaswiki.org/wiki/comp/gb.inotify/watch (I assume Beno?t). For in that box, it says: 'You should read the "Limitations and caveats" section of the inotify manpage (man 7 inotify). This same manpage is a good source for additional information.' :-) -- Lee From benoit.minisini at gambas-basic.org Tue Sep 12 16:30:56 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 12 Sep 2023 16:30:56 +0200 Subject: [Gambas-user] inotify In-Reply-To: References: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> Message-ID: <5203221f-c989-a87c-989f-77eda9bb3c93@gambas-basic.org> Le 12/09/2023 ? 16:25, T Lee Davidson a ?crit?: > On 9/12/23 07:47, Fabien Bodard wrote: >> thank you to all ... and to Lee to Point me on the inotify doc :-/, I >> forgot to read it :-D > > Actually, thanks should not go to me but to whomever wrote the content > of the warning box at the top of > https://gambaswiki.org/wiki/comp/gb.inotify/watch (I assume Beno?t). > It's actually Tobias Boege who wrote that. You can see that by browsing the page history in the wiki. Thanks to him! -- Beno?t Minisini. From gambas.fr at gmail.com Tue Sep 12 19:33:12 2023 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 12 Sep 2023 19:33:12 +0200 Subject: [Gambas-user] inotify In-Reply-To: <5203221f-c989-a87c-989f-77eda9bb3c93@gambas-basic.org> References: <26cc6bb6-ec4a-48be-31cc-37977d45e94b@gmail.com> <5203221f-c989-a87c-989f-77eda9bb3c93@gambas-basic.org> Message-ID: Le mar. 12 sept. 2023 ? 16:31, Beno?t Minisini < benoit.minisini at gambas-basic.org> a ?crit : > Le 12/09/2023 ? 16:25, T Lee Davidson a ?crit : > > On 9/12/23 07:47, Fabien Bodard wrote: > >> thank you to all ... and to Lee to Point me on the inotify doc :-/, I > >> forgot to read it :-D > > > > Actually, thanks should not go to me but to whomever wrote the content > > of the warning box at the top of > > https://gambaswiki.org/wiki/comp/gb.inotify/watch (I assume Beno?t). > > > > It's actually Tobias Boege who wrote that. You can see that by browsing > the page history in the wiki. Thanks to him! > Yes and it's really usefull > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From isafiur at gmail.com Thu Sep 14 04:19:59 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Thu, 14 Sep 2023 08:04:59 +0545 Subject: [Gambas-user] How to rearrange menu in gb.web.gui Message-ID: Hi I am using gb.web.gui application with menu bar at top. With containers of different arrangement, mediaquery in CSS and viewport in Form header I could achieve responsive application for both mobile size and desktop size devices. The only thing I could not arrange is top menu. Is there anyway to display top menu in two or more rows if the device width is reduced? -- Regards Safiur Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: From gradobag at gradobag.it Thu Sep 14 11:56:47 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 14 Sep 2023 11:56:47 +0200 Subject: [Gambas-user] How to rearrange menu in gb.web.gui In-Reply-To: References: Message-ID: Il 14/09/23 04:19, Safiur Rahman ha scritto: > Hi > > I am using gb.web.gui application with menu bar at top. > With containers of different arrangement, mediaquery in CSS and > viewport in Form header I could achieve responsive application for > both mobile size and desktop size devices. The only thing I could not > arrange is top menu. Is there anyway to display top menu in two or > more rows if the device width is reduced? > > -- > Regards > Safiur Rahman > > ----[http://gambaswiki.org/wiki/doc/netiquette ]---- Hi as usual I'll call bullshit, but if you don't always have to show all the menus, you could play on the Visible property of the menus Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gradobag at gradobag.it Thu Sep 14 12:32:59 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 14 Sep 2023 12:32:59 +0200 Subject: [Gambas-user] How to rearrange menu in gb.web.gui In-Reply-To: References: Message-ID: <5803405f-c8ca-36e8-ef2f-6b527c021499@gradobag.it> Il 14/09/23 11:56, Gianluigi ha scritto: > Il 14/09/23 04:19, Safiur Rahman ha scritto: >> Hi >> >> I am using gb.web.gui application with menu bar at top. >> With containers of different arrangement, mediaquery in CSS and >> viewport in Form header I could achieve responsive application for >> both mobile size and desktop size devices. The only thing I could not >> arrange is top menu. Is there anyway to display top menu in two or >> more rows if the device width is reduced? >> >> -- >> Regards >> Safiur Rahman >> >> ----[http://gambaswiki.org/wiki/doc/netiquette ]---- > > Hi > > as usual I'll call bullshit, but if you don't always have to show all > the menus, you could play on the Visible property of the menus > > Regards > > Gianluigi > As for the Hamburger menu you can download the Webapp4 project here: https://gambas-buch.de/doku.php?id=k24:k24.6:k24.6.2:k24.6.2.4:start&s[]=webapp Maybe you find an inspiration Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.fischer6 at web.de Thu Sep 14 16:03:04 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Thu, 14 Sep 2023 16:03:04 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? Message-ID: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> Hi all, I think I don't understand the approach to error handling gambas has chosen. Let's take a simple, very common problem: a function that shall return the id (int) of something. To get this id, a looooong and very complicated sequence of steps have to be taken. This involves the allocation of resources that have to be cleaned up in any case. All kinds of errors could happen on the way (errors might get risen). Here is pseudocode for this: ----------------------- Public Function getComplicatedId() As Integer Dim result As Integer ' do some very complicated stuff ' resources are allocated on the way. E.g. heap Alloc Return result Finally ' clean up resources here Catch ' do some logging here Error.Raise("Can't handle this!") End ----------------------- The first problem with this code is that the "Return result" causes the Finally block to be skipped. Moving the "Return result" as last statement into the Finally block does work but prevents the Catch block to be executed in case of an error. Bad. I'm sure that there is a way to handle cleanup and errors in a clean manner (I mean: without Gotos and Labels). I just can't see how to do it with Return, Finally and Catch... Does anyone have an explanation or example or reference to a sample/documentation for this problem? Thanks __________________________________ Martin Fischer From benoit.minisini at gambas-basic.org Thu Sep 14 16:30:19 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Sep 2023 16:30:19 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> Message-ID: Le 14/09/2023 ? 16:03, Martin Fischer a ?crit?: > Hi all, > > I think I don't understand the approach to error handling gambas has > chosen. > > Let's take a simple, very common problem: a function that shall return > the id (int) of something. To get this id, a looooong and very > complicated sequence of steps have to be taken. This involves the > allocation of resources that have to be cleaned up in any case. All > kinds of errors could happen on the way (errors might get risen). > > Here is pseudocode for this: > > ----------------------- > Public Function getComplicatedId() As Integer > ????Dim result As Integer > > ????' do some very complicated stuff > ????' resources are allocated on the way. E.g. heap Alloc > > ????Return result > > Finally > ????' clean up resources here > Catch > ????' do some logging here > ????Error.Raise("Can't handle this!") > End > ----------------------- > > The first problem with this code is that the "Return result" causes the > Finally block to be skipped. > > Moving the "Return result" as last statement into the Finally block does > work but prevents the Catch block to be executed in case of an error. Bad. > > I'm sure that there is a way to handle cleanup and errors in a clean > manner (I mean: without Gotos and Labels). I just can't see how to do it > with Return, Finally and Catch... > > Does anyone have an explanation or example or reference to a > sample/documentation for this problem? > > Thanks > > __________________________________ > Martin Fischer > The only way to deal with that problem I see is the following: ----------------------- Public Function getComplicatedId() As Integer Dim result As Integer Dim bReturn As Boolean ' do some very complicated stuff ' resources are allocated on the way. E.g. heap Alloc bReturn = True Finally ' clean up resources here if bReturn Then Return result Catch ' do some logging here Error.Raise("Can't handle this!") End ----------------------- The interpreter misses a flag local to the function that allows to tell that Finally was reached without raising an error. Regards, -- Beno?t Minisini. From gradobag at gradobag.it Thu Sep 14 16:30:25 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 14 Sep 2023 16:30:25 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> Message-ID: <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> Il 14/09/23 16:03, Martin Fischer ha scritto: > Hi all, > > I think I don't understand the approach to error handling gambas has > chosen. > > Let's take a simple, very common problem: a function that shall return > the id (int) of something. To get this id, a looooong and very > complicated sequence of steps have to be taken. This involves the > allocation of resources that have to be cleaned up in any case. All > kinds of errors could happen on the way (errors might get risen). > > Here is pseudocode for this: > > ----------------------- > Public Function getComplicatedId() As Integer > ????Dim result As Integer > > ????' do some very complicated stuff > ????' resources are allocated on the way. E.g. heap Alloc > > ????Return result > > Finally > ????' clean up resources here > Catch > ????' do some logging here > ????Error.Raise("Can't handle this!") > End > ----------------------- > > The first problem with this code is that the "Return result" causes the > Finally block to be skipped. > > Moving the "Return result" as last statement into the Finally block does > work but prevents the Catch block to be executed in case of an error. > Bad. > > I'm sure that there is a way to handle cleanup and errors in a clean > manner (I mean: without Gotos and Labels). I just can't see how to do it > with Return, Finally and Catch... > > Does anyone have an explanation or example or reference to a > sample/documentation for this problem? > > Thanks > > __________________________________ > Martin Fischer > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- I think (but I'm not sure) that this answer your question: http://gambaswiki.org/wiki/lang/finally?nl Regards Gianluigi From gambas at servinfo.it Thu Sep 14 16:39:57 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Thu, 14 Sep 2023 16:39:57 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui Message-ID: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> Hi all, I have a problem using stop event on keypress inside a webtextbox on gb.web.gui. If I made a simple: Public Sub WebTextBox1_KeyPress() ? If InStr("0123456789", Key.Text) = 0 Then ??? Stop Event ? Endif End The webtextbox continue to receive all value , also number. Is this a bug or working with gb.web.gui pretend a different approach to made a textbox accept only some values ? Thanks in advance, Marco. From martin.fischer6 at web.de Thu Sep 14 16:48:05 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Thu, 14 Sep 2023 16:48:05 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> Message-ID: <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> > > I think (but I'm not sure) that this answer your question: > > http://gambaswiki.org/wiki/lang/finally?nl > > Regards > > Gianluigi > Gianluigi, thanks for the reference, but I'm aware of that already. My problem comes from this harmless looking paragraph in the document you referenced: This does not completely Ensure that code is run no matter what. If RETURN is used to exit a function before Finally then the Finally part will only run if an error is raised. This is a substantial deviation from "Finally"-semantics in other languages. This is why I'm surprised... Regards, Martin From martin.fischer6 at web.de Thu Sep 14 17:04:16 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Thu, 14 Sep 2023 17:04:16 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> Message-ID: > > The only way to deal with that problem I see is the following: > > ----------------------- > Public Function getComplicatedId() As Integer > ??? Dim result As Integer > ??? Dim bReturn As Boolean > > ??? ' do some very complicated stuff > ??? ' resources are allocated on the way. E.g. heap Alloc > > ??? bReturn = True > > Finally > ??? ' clean up resources here > ??? if bReturn Then Return result > > Catch > ??? ' do some logging here > ??? Error.Raise("Can't handle this!") > End > ----------------------- > > The interpreter misses a flag local to the function that allows to tell > that Finally was reached without raising an error. > > Regards, > Benoit, yes, that does the job. But, well, it feels a bit ugly... I mean: it's hard to define the proper semantics of Finally with this 'complications'. Anyway, thank you for the hint. Maybe, in a release 4 or so, we will get a 'do-what-I-expect-you-to-do"-Finally?? Regards Martin From gradobag at gradobag.it Thu Sep 14 18:21:46 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 14 Sep 2023 18:21:46 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: Il 14/09/23 16:48, Martin Fischer ha scritto: >> >> I think (but I'm not sure) that this answer your question: >> >> http://gambaswiki.org/wiki/lang/finally?nl >> >> Regards >> >> Gianluigi >> > > Gianluigi, > > thanks for the reference, but I'm aware of that already. > My problem comes from this harmless looking paragraph in the document > you referenced: > > ????This does not completely Ensure that code is run no matter what. > ????If RETURN is used to exit a function before Finally then the > ????Finally part will only run if an error is raised. > > This is a substantial deviation from "Finally"-semantics in other > languages. This is why I'm surprised... > > Regards, > Martin > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Hi Martin, Many thanks you for the explanations, but it seems to me that if all languages have to follow dogmas why there is so many and all different? Regards Gianluigi From martin.fischer6 at web.de Thu Sep 14 19:22:41 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Thu, 14 Sep 2023 19:22:41 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: > Il 14/09/23 16:48, Martin Fischer ha scritto: >>> >>> I think (but I'm not sure) that this answer your question: >>> >>> http://gambaswiki.org/wiki/lang/finally?nl >>> >>> Regards >>> >>> Gianluigi >>> >> >> Gianluigi, >> >> thanks for the reference, but I'm aware of that already. >> My problem comes from this harmless looking paragraph in the document >> you referenced: >> >> ????This does not completely Ensure that code is run no matter what. >> ????If RETURN is used to exit a function before Finally then the >> ????Finally part will only run if an error is raised. >> >> This is a substantial deviation from "Finally"-semantics in other >> languages. This is why I'm surprised... >> >> Regards, >> Martin >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > Hi Martin, > > Many thanks you for the explanations, but it seems to me that if all > languages have to follow dogmas why there is so many and all different? > > Regards > > Gianluigi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Hi Gianluigi, for me, it's not about dogma. I'm fine with different languages solving problems differently. A C program uses different patterns than a C++ program or a Python or a Java program. My point is that during the evolution of languages some patterns appear over and over again. Because there is a need to solve very similar problems in these languages! Let's take for example the pattern "function". This thing takes parameters from the caller, does something and returns something to the caller back. This solves the problem of abstracting functionality that has to be used at multiple places with only slight variations (the parameters). And so on... This is such a common problem in programming languages that most of them have "functions". Now, let's move to the Finally-pattern. This stands for an abstraction that allows you to execute a block of code as final operation of a function, no matter how this function was left (normal return or exception). As such it allows you to clean up resources allocated during the function very easily and reliably. Again, this is such a common problem that many languages have a means to implement this pattern. You might be aware of the old VisualBasic way of solving this problem. Yes, you could do it, but it was effort and error-prone. Maybe this is the reason why gambas decided to offer a Finally pattern. My surprise was just that gambas implements this Finally-abstraction in a leaky way. Means: the usual "Finally guaranties that the finally-block is executed no matter how you leave the function" does not hold. Instead a weaker guarantee is implemented that does not solve the complete problem that is normally solved by Finally. But: I do not complain. I just want to understand how gambas works. Regards, Martin From gradobag at gradobag.it Thu Sep 14 22:28:33 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 14 Sep 2023 22:28:33 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: Il 14/09/23 19:22, Martin Fischer ha scritto: >> Il 14/09/23 16:48, Martin Fischer ha scritto: >>>> >>>> I think (but I'm not sure) that this answer your question: >>>> >>>> http://gambaswiki.org/wiki/lang/finally?nl >>>> >>>> Regards >>>> >>>> Gianluigi >>>> >>> >>> Gianluigi, >>> >>> thanks for the reference, but I'm aware of that already. >>> My problem comes from this harmless looking paragraph in the document >>> you referenced: >>> >>> ????This does not completely Ensure that code is run no matter what. >>> ????If RETURN is used to exit a function before Finally then the >>> ????Finally part will only run if an error is raised. >>> >>> This is a substantial deviation from "Finally"-semantics in other >>> languages. This is why I'm surprised... >>> >>> Regards, >>> Martin >>> >>> >>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> >> >> Hi Martin, >> >> Many thanks you for the explanations, but it seems to me that if all >> languages have to follow dogmas why there is so many and all different? >> >> Regards >> >> Gianluigi >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > Hi Gianluigi, > > for me, it's not about dogma. I'm fine with different languages solving > problems differently. A C program uses different patterns than a C++ > program or a Python or a Java program. > > My point is that during the evolution of languages some patterns appear > over and over again. Because there is a need to solve very similar > problems in these languages! > > Let's take for example the pattern "function". This thing takes > parameters from the caller, does something and returns something to the > caller back. This solves the problem of abstracting functionality that > has to be used at multiple places with only slight variations (the > parameters). And so on... > > This is such a common problem in programming languages that most of them > have "functions". > > Now, let's move to the Finally-pattern. This stands for an abstraction > that allows you to execute a block of code as final operation of a > function, no matter how this function was left (normal return or > exception). As such it allows you to clean up resources allocated during > the function very easily and reliably. Again, this is such a common > problem that many languages have a means to implement this pattern. > > You might be aware of the old VisualBasic way of solving this problem. > Yes, you could do it, but it was effort and error-prone. Maybe this is > the reason why gambas decided to offer a Finally pattern. > > My surprise was just that gambas implements this Finally-abstraction in > a leaky way. Means: the usual "Finally guaranties that the finally-block > is executed no matter how you leave the function" does not hold. Instead > a weaker guarantee is implemented that does not solve the complete > problem that is normally solved by Finally. > > But: I do not complain. I just want to understand how gambas works. > > Regards, > Martin Dear Martin, it is clear that you are a good programmer and you know what you are talking about. You were very kind to answer me and also very clear in your explanations. You reminded me of someone I respect and it won't be long before he explains to me how to use Gambas :-) It's night here so I wish you a goodnight Regards Gianluigi From benoit.minisini at gambas-basic.org Thu Sep 14 22:42:03 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Sep 2023 22:42:03 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: Le 14/09/2023 ? 19:22, Martin Fischer a ?crit?: > > Hi Gianluigi, > > for me, it's not about dogma. I'm fine with different languages solving > problems differently. A C program uses different patterns than a C++ > program or a Python or a Java program. > > My point is that during the evolution of languages some patterns appear > over and over again. Because there is a need to solve very similar > problems in these languages! > > Let's take for example the pattern "function". This thing takes > parameters from the caller, does something and returns something to the > caller back. This solves the problem of abstracting functionality that > has to be used at multiple places with only slight variations (the > parameters). And so on... > > This is such a common problem in programming languages that most of them > have "functions". > > Now, let's move to the Finally-pattern. This stands for an abstraction > that allows you to execute a block of code as final operation of a > function, no matter how this function was left (normal return or > exception). As such it allows you to clean up resources allocated during > the function very easily and reliably. Again, this is such a common > problem that many languages have a means to implement this pattern. > > You might be aware of the old VisualBasic way of solving this problem. > Yes, you could do it, but it was effort and error-prone. Maybe this is > the reason why gambas decided to offer a Finally pattern. > > My surprise was just that gambas implements this Finally-abstraction in > a leaky way. Means: the usual "Finally guaranties that the finally-block > is executed no matter how you leave the function" does not hold. Instead > a weaker guarantee is implemented that does not solve the complete > problem that is normally solved by Finally. > > But: I do not complain. I just want to understand how gambas works. > > Regards, > Martin > I understand your point. You could have complained! I see two reasons why it works like that... The first one is that I tried to minimize the distance between the syntax of the language and what is really done by the interpreter. If I have to make Finally always run when the function exists, it must be implemented by a subroutine behind the hood, so that it can be called from any place in the function. The other reason is lazyness. In other word, it's not actually such a big deal as every local object or string is always released at the end of the function, whatever happens. The problem only comes when you allocate something that must be released manually. I'm thinking about the Alloc() function and database transactions. But 99% of the time you are supposed to use Gambas objects or strings, whose associated ressources are automatically released. Regards, -- Beno?t Minisini. From martin.fischer6 at web.de Thu Sep 14 23:12:19 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Thu, 14 Sep 2023 23:12:19 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: Benoit, > > I understand your point. You could have complained! > I never complain about things I get for free :-) > I see two reasons why it works like that... > > The first one is that I tried to minimize the distance between the > syntax of the language and what is really done by the interpreter. > > If I have to make Finally always run when the function exists, it must > be implemented by a subroutine behind the hood, so that it can be called > from any place in the function. > > The other reason is lazyness. > I understand your reasoning, but would still prefer "completeness of abstraction". > In other word, it's not actually such a big deal as every local object > or string is always released at the end of the function, whatever happens. > > The problem only comes when you allocate something that must be released > manually. I'm thinking about the Alloc() function and database > transactions. > > But 99% of the time you are supposed to use Gambas objects or strings, > whose associated ressources are automatically released. > Good point. The example that I was working on actually made native calls, which means Alloc's and Free's in the Finally block... By the way: what about file streams? I would expect that these streams have to be closed as soon as possible and reliably, e.g in a Finally block in the method that opened it. Right? Good night for today, Martin From benoit.minisini at gambas-basic.org Thu Sep 14 23:14:28 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Sep 2023 23:14:28 +0200 Subject: [Gambas-user] Gambas icon set for LibreOffice 0.4 Message-ID: <5861b58b-1d8f-4e69-eca7-53c87baa36c4@gambas-basic.org> Hi, The Gambas icon set has been published on the official LibreOffice extensions web site. https://extensions.libreoffice.org/fr/extensions/show/41982 It's still a beta version, as not everything is finished. But it's mostly usuable. I was surprised that apparently some of the images or icons displayed by LibreOffice seem to be hardcoded in the source code. That's too bad! Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Fri Sep 15 00:21:58 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 15 Sep 2023 00:21:58 +0200 Subject: [Gambas-user] Finally/Catch and Return: How is that meant to be used? In-Reply-To: References: <46cbaccf-2a0c-aeae-5afb-7d7bba1214cb@web.de> <89b308ba-535c-729a-b0d8-76087b86bd34@gradobag.it> <3ba971ec-f756-6bc4-e5a3-9d163f158b54@web.de> Message-ID: <8b96024f-8cdc-5580-459f-24f45d23dd16@gambas-basic.org> Le 14/09/2023 ? 23:12, Martin Fischer a ?crit?: >> >> But 99% of the time you are supposed to use Gambas objects or strings, >> whose associated ressources are automatically released. >> > > Good point. The example that I was working on actually made native > calls, which means Alloc's and Free's in the Finally block... > > By the way: what about file streams? I would expect that these streams > have to be closed as soon as possible and reliably, e.g in a Finally > block in the method that opened it. Right? > > Good night for today, > Martin > Stream objects are closed when they are freed. If you create a stream with OPEN in the function, it will be closed when it is released, which will happen before the function exits, provided that you didn't store a reference on that stream outside of the function. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Fri Sep 15 15:48:29 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 15 Sep 2023 15:48:29 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui In-Reply-To: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> References: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> Message-ID: <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> Le 14/09/2023 ? 16:39, Marco Ancillotti a ?crit?: > Hi all, > > I have a problem using stop event on keypress inside a webtextbox on > gb.web.gui. > > If I made a simple: > > Public Sub WebTextBox1_KeyPress() > ? If InStr("0123456789", Key.Text) = 0 Then > ??? Stop Event > ? Endif > End > > The webtextbox continue to receive all value , also number. > > Is this a bug or working with gb.web.gui pretend a different approach to > made a textbox accept only some values ? > > Thanks in advance, > Marco. > You can't cancel keypress events in 'gb.web.gui', as they occur inside the browser. The browser is not allowed (not by me!) to send the event to the server and waits for its answer to know if it should cancel the event or not. 'Stop Event' just prevents the trigerring of shortcuts associated with the pressed key. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Fri Sep 15 15:57:13 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 15 Sep 2023 15:57:13 +0200 Subject: [Gambas-user] How to rearrange menu in gb.web.gui In-Reply-To: References: Message-ID: <848ea83e-61b0-2761-0c5f-843c29aeef2b@gambas-basic.org> Le 14/09/2023 ? 04:19, Safiur Rahman a ?crit?: > Hi > > I am using gb.web.gui application with menu bar at top. > With containers of different arrangement, mediaquery in CSS and viewport > in Form header I could achieve responsive application for both mobile > size and desktop size devices. The only thing I could not arrange is top > menu. Is there anyway to display top menu in two or more rows if the > device width is reduced? > > -- > Regards > Safiur Rahman > Indeed, the top menu-bar does not really fit smartphone vertical screens, as it is implemented with a WebHBox. In the last commit, the menu-bar is now implemented with a container using "Row" arrangement. Tell me if it's better for you. Regards, -- Beno?t Minisini. From gambas at servinfo.it Fri Sep 15 18:06:17 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Fri, 15 Sep 2023 18:06:17 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui In-Reply-To: <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> References: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> Message-ID: <21e3b8a5-6105-7f1d-a13c-7a99f221e711@servinfo.it> Hi Beno?t , thank's for the answer , is there another way to filter what can be inserted in a webtextbox ? Il 15/09/23 15:48, Beno?t Minisini ha scritto: > > You can't cancel keypress events in 'gb.web.gui', as they occur inside > the browser. > > The browser is not allowed (not by me!) to send the event to the > server and waits for its answer to know if it should cancel the event > or not. > > 'Stop Event' just prevents the trigerring of shortcuts associated with > the pressed key. > From roberto.premoli at tiscali.it Fri Sep 15 22:05:56 2023 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Fri, 15 Sep 2023 22:05:56 +0200 Subject: [Gambas-user] =?utf-8?q?Play_=28and_record=29_sound_in_gambas3?= =?utf-8?q?=3A_how_to_do=3F?= Message-ID: <4d40d9510c6eb67f81488f548bcf5398@tiscali.it> Hello, how to play sound in gambas? i just need to play saund, no matter wav, mp3 or what ever format. I search on wiki, founr "musi" and read i t but i understood nothing. Someone can just drop a line? I just need the instruction ti play "/path/sound.mp3" Second ad if possible: can i record audio form micrpone and save on file using native command in gambas? Thanks, Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at tiscali.it Sat Sep 16 00:35:46 2023 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Sat, 16 Sep 2023 00:35:46 +0200 Subject: [Gambas-user] =?utf-8?q?Play_=28and_record=29_sound_in_gambas3?= =?utf-8?q?=3A_how_to_do=3F?= In-Reply-To: <4d40d9510c6eb67f81488f548bcf5398@tiscali.it> References: <4d40d9510c6eb67f81488f548bcf5398@tiscali.it> Message-ID: Il 15.09.2023 22:05 roberto.premoli at tiscali.it ha scritto: > Hello, > how to play sound in gambas? i just need to play saund, no matter > wav, > mp3 or what ever format. > I search on wiki, founr "musi" and read i t but i understood nothing. > Someone can just drop a line? > I just need the instruction ti play "/path/sound.mp3" > > Second ad if possible: can i record audio form micrpone and save on > file > using native command in gambas? > > Thanks, > Roberto i solved adding library gb.sdl2.audio and then running command: Music.Load("//home/utente/audio.mp3") Music.Play() From isafiur at gmail.com Sat Sep 16 17:53:44 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Sat, 16 Sep 2023 21:38:44 +0545 Subject: [Gambas-user] How to rearrange menu in gb.web.gui In-Reply-To: References: Message-ID: Its perfect. Thank you very much. On Thu, Sep 14, 2023 at 8:04?AM Safiur Rahman wrote: > Hi > > I am using gb.web.gui application with menu bar at top. > With containers of different arrangement, mediaquery in CSS and viewport > in Form header I could achieve responsive application for both mobile size > and desktop size devices. The only thing I could not arrange is top menu. > Is there anyway to display top menu in two or more rows if the device width > is reduced? > > -- > Regards > Safiur Rahman > -- Regards Safiur Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: From isafiur at gmail.com Sat Sep 16 21:34:57 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Sun, 17 Sep 2023 01:19:57 +0545 Subject: [Gambas-user] Sample code to convert image to b/w image Message-ID: Hi I want to achieve the following black-in-white image output with Imagemagick with gambas $ convert old.png -alpha off -threshold 50% new.png Any sample code to achieve it? Also using Image.Opacity and Image.Threshold, I get following errors With Image.Opacity(50) I am getting error "The image must have an alpha channel" With Image.Threshold(0.5) the gambas crashed. -- Regards Safiur Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Sat Sep 16 22:16:51 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 16 Sep 2023 22:16:51 +0200 Subject: [Gambas-user] Sample code to convert image to b/w image In-Reply-To: References: Message-ID: Le 16/09/2023 ? 21:34, Safiur Rahman a ?crit?: > Hi > > I want to achieve the following black-in-white image output with > Imagemagick with gambas > $ convert old.png -alpha off -threshold 50% new.png > > Any sample code to achieve it? > > Also using Image.Opacity and Image.Threshold, I get following errors > > With Image.Opacity(50) I am getting error "The image must have an alpha > channel" > With Image.Threshold(0.5) the gambas crashed. > > > > -- > Regards > Safiur Rahman > Please can you provide a small project that reproduces the crash? -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Sat Sep 16 22:17:50 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 16 Sep 2023 22:17:50 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui In-Reply-To: <21e3b8a5-6105-7f1d-a13c-7a99f221e711@servinfo.it> References: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> <21e3b8a5-6105-7f1d-a13c-7a99f221e711@servinfo.it> Message-ID: Le 15/09/2023 ? 18:06, Marco Ancillotti a ?crit?: > Hi Beno?t , > thank's for the answer , is there another way to filter what can be > inserted in a webtextbox ? > Not directly, but you can try to use the Change event to remove the forbidden characters from the WebTextBox. -- Beno?t Minisini. From roberto.premoli at tiscali.it Sun Sep 17 01:47:22 2023 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Sun, 17 Sep 2023 01:47:22 +0200 Subject: [Gambas-user] =?utf-8?q?is_possible_to_=22inglobe=22_data_=28aud?= =?utf-8?q?io=2C_video=2C_etc=29_into_gambas_code=3F?= Message-ID: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> hello, my need is ti advise the user with sound: i just discovered how to play a audio with music.load("/path/to/clip.mp3") music.play() and it run smooth. Anyway, it coud happen that clip.mp3 can be corrupted, deleted, etc. So the qeustion is: it is possible to "inglobe" int into the source code of gambas? it will allow me to avoid to manage the extenal clip.mp3 because it will be always inside the program. As alternative, is possible to generate some advise sound equivalent to "allert", "incamig call", "new mail", etc with primitive of gambas without use external audio sounds clip? Thanks, Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: From isafiur at gmail.com Sun Sep 17 04:02:11 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Sun, 17 Sep 2023 07:47:11 +0545 Subject: [Gambas-user] Sample code to convert image to b/w image In-Reply-To: References: Message-ID: Application using gb.image, gb.image.effect and gb.media in addition to gb.qt5 There are two controls for image: Drawing Area (dwgVideo) and ImageView (ImageView1) Private myPlayer As New MediaPlayer As "Player" Public Sub Button1_Click() With myPlayer If .State = Media.Playing Then .Stop Endif .URL = "v4l2://" & ComboBox1.Text .SetWindow(dwgVideo) .Play() End With End 'While adding values of Opacity or threshold there is error Public Sub BtnTakeShot_Click() Dim ximage As Image If myPlayer.State <> Media.Playing Then Return ximage = myPlayer.Video.Image If chkopacity.Value Then ximage = ximage.Opacity(spnopacity.Value) Endif If chkthres.Value Then ximage.Threshold(spnthreshold.Value) Endif ImageView1.Image = ximage End Attached a sample project On Sun, Sep 17, 2023 at 1:19?AM Safiur Rahman wrote: > Hi > > I want to achieve the following black-in-white image output with > Imagemagick with gambas > $ convert old.png -alpha off -threshold 50% new.png > > Any sample code to achieve it? > > Also using Image.Opacity and Image.Threshold, I get following errors > > With Image.Opacity(50) I am getting error "The image must have an alpha > channel" > With Image.Threshold(0.5) the gambas crashed. > > > > -- > Regards > Safiur Rahman > -- Regards Safiur Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.zip Type: application/zip Size: 15347 bytes Desc: not available URL: From bsteers4 at gmail.com Sun Sep 17 14:00:02 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Sun, 17 Sep 2023 13:00:02 +0100 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> Message-ID: On Sun, 17 Sept 2023 at 00:48, wrote: > hello, > my need is ti advise the user with sound: i just discovered how to play a > audio with > > music.load("/path/to/clip.mp3") > music.play() > > and it run smooth. > > Anyway, it coud happen that clip.mp3 can be corrupted, deleted, etc. > > So the qeustion is: > > it is possible to "inglobe" int into the source code of gambas? > > it will allow me to avoid to manage the extenal clip.mp3 because it will > be always inside the program. > > As alternative, is possible to generate some advise sound equivalent to > "allert", "incamig call", "new mail", etc with primitive of gambas without > use external audio sounds clip? > > Thanks, > Roberto > do you just mean "include" your sound files with the executable? that is fairly simple. Just create a folder in your project directory, for example "sounds" (you must not use .hidden folder names unless it's name is .public) Put your clip.mp3 file into the sounds folder then access it like this.. music.load("./sounds/clip.mp3") or music.load("sounds/clip.mp3") BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Sun Sep 17 23:01:04 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 17 Sep 2023 23:01:04 +0200 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 Message-ID: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Hi, Here is the pre-release of Gambas 3.18.4. Release notes are at: https://gambaswiki.org/wiki/doc/release/3.18.4. Source code is at: https://gitlab.com/gambas/gambas/-/archive/3.18.4/gambas-3.18.4.tar.bz2 Please download and compile it, and tell me if you encounter any problem. As usual, Ubuntu packages will follow in a few days on the Gambas Stable PPA, if no problem is encountered. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Sun Sep 17 23:02:07 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 17 Sep 2023 23:02:07 +0200 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 In-Reply-To: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> References: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Message-ID: Oops, I forgot an A. Does my keyboard starting to drop me as my mouse wheel? -- Beno?t Minisini. From gradobag at gradobag.it Mon Sep 18 14:11:55 2023 From: gradobag at gradobag.it (Gianluigi) Date: Mon, 18 Sep 2023 14:11:55 +0200 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 In-Reply-To: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> References: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Message-ID: <1671b4ce-5084-e2f7-3123-c8ef827b03fb@gradobag.it> Il 17/09/23 23:01, Beno?t Minisini ha scritto: > Hi, > > Here is the pre-release of Gambas 3.18.4. > > Release notes are at: > https://gambaswiki.org/wiki/doc/release/3.18.4. > > Source code is at: > https://gitlab.com/gambas/gambas/-/archive/3.18.4/gambas-3.18.4.tar.bz2 > > Please download and compile it, and tell me if you encounter any problem. > > As usual, Ubuntu packages will follow in a few days on the Gambas > Stable PPA, if no problem is encountered. > > Regards, > Hi Benoit, I've done some testing, and as far as I'm concerned, everything seems to work fine. If you believe, now you can dedicate yourself to version 3.19 :-) Regards Gianluigi [System] Gambas=3.18.4 07c51f5 (stable) OperatingSystem=Linux Distribution=Linux Mint 21.2 Victoria Kernel=5.15.0-83-generic Architecture=x86_64 Cores=1 Memory=6930M Language=it_IT.UTF-8 Desktop=CINNAMON DesktopResolution=96 DesktopScale=7 WidgetTheme=mint-y-aqua Font=Ubuntu,10 [Programs] gcc=gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 git=git version 2.34.1 [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.7.0 DBus=libdbus-1.so.3.19.13 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2404.29 GStreamer=libgstreamer-1.0.so.0.2003.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2404.29 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.118.0.0 QT5=libQt5Core.so.5.15.3 RSvg=librsvg-2.so.2.48.0 SDL=libSDL2-2.0.so.0.18.2 SQLite 3=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=5.8.4 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.gtk3 GDMSESSION=cinnamon GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=3394 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK3_MODULES=xapp-gtk3-module GTK_MODULES=gail:atk-bridge HOME= LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LC_ALL=it_IT.UTF-8 LOGNAME= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/1484,unix/:/tmp/.ICE-unix/1484 SHELL=/bin/bash SHLVL=0 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_CLASS=user XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From isafiur at gmail.com Mon Sep 18 18:18:30 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Mon, 18 Sep 2023 22:03:30 +0545 Subject: [Gambas-user] Sample code to convert image to b/w image In-Reply-To: References: Message-ID: Hi Should I file a bug report in bugtracker? On Sun, Sep 17, 2023 at 7:47?AM Safiur Rahman wrote: > Application using gb.image, gb.image.effect and gb.media in addition to > gb.qt5 > > There are two controls for image: > Drawing Area (dwgVideo) and ImageView (ImageView1) > > Private myPlayer As New MediaPlayer As "Player" > > Public Sub Button1_Click() > > With myPlayer > If .State = Media.Playing Then > .Stop > Endif > .URL = "v4l2://" & ComboBox1.Text > .SetWindow(dwgVideo) > .Play() > End With > > End > > 'While adding values of Opacity or threshold there is error > Public Sub BtnTakeShot_Click() > > Dim ximage As Image > > If myPlayer.State <> Media.Playing Then Return > ximage = myPlayer.Video.Image > > If chkopacity.Value Then > ximage = ximage.Opacity(spnopacity.Value) > Endif > > If chkthres.Value Then > ximage.Threshold(spnthreshold.Value) > Endif > > ImageView1.Image = ximage > > End > > Attached a sample project > > On Sun, Sep 17, 2023 at 1:19?AM Safiur Rahman wrote: > >> Hi >> >> I want to achieve the following black-in-white image output with >> Imagemagick with gambas >> $ convert old.png -alpha off -threshold 50% new.png >> >> Any sample code to achieve it? >> >> Also using Image.Opacity and Image.Threshold, I get following errors >> >> With Image.Opacity(50) I am getting error "The image must have an alpha >> channel" >> With Image.Threshold(0.5) the gambas crashed. >> >> >> >> -- >> Regards >> Safiur Rahman >> > > > -- > Regards > Safiur Rahman > -- Regards Safiur Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuott at tutanota.com Mon Sep 18 18:24:45 2023 From: vuott at tutanota.com (vuott at tutanota.com) Date: Mon, 18 Sep 2023 18:24:45 +0200 (CEST) Subject: [Gambas-user] Sample code to convert image to b/w image In-Reply-To: References: Message-ID: ? Also using Image.Opacity and Image.Threshold, I get following errors ? The notice says you need to obtain data image with Alpha channel (like RGBA). It seems that you can solve it by converting the "Image" Object to a "Picture" and then converting the "Picture" back to an "Image" Object. You also need to divide the values of both "Spinbox" by 100 to get a float value. Ehmmm... so, I suggest: [code] ...... If myPlayer.State <> Media.Playing Then Return ximage = myPlayer.Video.Image.Picture.Image If chkopacity.Value Then ? ximage = ximage.Opacity(spnopacity.Value / 100) Endif If chkthres.Value Then ? ximage.Threshold(spnthreshold.Value / 100) Endif ...... [/code] 17 set 2023, 04:03 da isafiur at gmail.com: > Application using gb.image, gb.image.effect and gb.media in addition to gb.qt5 > > There are two controls for image: > Drawing Area (dwgVideo) and ImageView (ImageView1) > > Private myPlayer As New MediaPlayer As "Player" > > Public Sub Button1_Click() > > ? With myPlayer > ? ? If .State = Media.Playing Then > ? ? ? .Stop > ? ? Endif > ? ? .URL = "v4l2://" & ComboBox1.Text > ? ? .SetWindow(dwgVideo) > ? ? .Play() > ? End With > > End > > 'While adding values of Opacity or threshold there is error > Public Sub BtnTakeShot_Click() > > ? Dim ximage As Image > > ? If myPlayer.State <> Media.Playing Then Return > ? ximage = myPlayer.Video.Image > > ? If chkopacity.Value Then > ? ? ximage = ximage.Opacity(spnopacity.Value) > ? Endif > > ? If chkthres.Value Then > ? ? ximage.Threshold(spnthreshold.Value) > ? Endif > > ? ImageView1.Image = ximage > ? > End > > Attached a sample project > > On Sun, Sep 17, 2023 at 1:19?AM Safiur Rahman <> isafiur at gmail.com> > wrote: > >> Hi >> >> I want to achieve the following black-in-white image output with Imagemagick with gambas >> $ convert old.png -alpha off -threshold 50% new.png >> >> Any sample code to achieve it? >> >> Also using Image.Opacity and Image.Threshold, I get following errors >> >> With Image.Opacity(50) I am getting error "The image must have an alpha channel" >> With Image.Threshold(0.5) the gambas crashed. >> >> >> >> -- >> Regards >> Safiur Rahman >> > > > -- > Regards > Safiur Rahman > -------------- next part -------------- An HTML attachment was scrubbed... URL: From isafiur at gmail.com Mon Sep 18 19:13:01 2023 From: isafiur at gmail.com (Safiur Rahman) Date: Mon, 18 Sep 2023 22:58:01 +0545 Subject: [Gambas-user] Sample code to convert image to b/w image In-Reply-To: References: Message-ID: Thank you very much. This solved the problem. On Mon, 18 Sep 2023, 22:03 Safiur Rahman, wrote: > Hi > > Should I file a bug report in bugtracker? > > On Sun, Sep 17, 2023 at 7:47?AM Safiur Rahman wrote: > >> Application using gb.image, gb.image.effect and gb.media in addition to >> gb.qt5 >> >> There are two controls for image: >> Drawing Area (dwgVideo) and ImageView (ImageView1) >> >> Private myPlayer As New MediaPlayer As "Player" >> >> Public Sub Button1_Click() >> >> With myPlayer >> If .State = Media.Playing Then >> .Stop >> Endif >> .URL = "v4l2://" & ComboBox1.Text >> .SetWindow(dwgVideo) >> .Play() >> End With >> >> End >> >> 'While adding values of Opacity or threshold there is error >> Public Sub BtnTakeShot_Click() >> >> Dim ximage As Image >> >> If myPlayer.State <> Media.Playing Then Return >> ximage = myPlayer.Video.Image >> >> If chkopacity.Value Then >> ximage = ximage.Opacity(spnopacity.Value) >> Endif >> >> If chkthres.Value Then >> ximage.Threshold(spnthreshold.Value) >> Endif >> >> ImageView1.Image = ximage >> >> End >> >> Attached a sample project >> >> On Sun, Sep 17, 2023 at 1:19?AM Safiur Rahman wrote: >> >>> Hi >>> >>> I want to achieve the following black-in-white image output with >>> Imagemagick with gambas >>> $ convert old.png -alpha off -threshold 50% new.png >>> >>> Any sample code to achieve it? >>> >>> Also using Image.Opacity and Image.Threshold, I get following errors >>> >>> With Image.Opacity(50) I am getting error "The image must have an alpha >>> channel" >>> With Image.Threshold(0.5) the gambas crashed. >>> >>> >>> >>> -- >>> Regards >>> Safiur Rahman >>> >> >> >> -- >> Regards >> Safiur Rahman >> > > > -- > Regards > Safiur Rahman > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at servinfo.it Mon Sep 18 19:32:28 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Mon, 18 Sep 2023 19:32:28 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui In-Reply-To: References: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> <21e3b8a5-6105-7f1d-a13c-7a99f221e711@servinfo.it> Message-ID: <2d9cee71-0090-c350-11d2-ee427f4106da@servinfo.it> Ok , I solved with someting like: Public Sub WebTextBox1_Change() Dim sout As String Dim i As Integer = 0 sout = "" For i = 0 To (Len(Last.Text) - 1) ? If Last.Text[i] Match "^[\\/a-zA-Z0-9.-]+$" Then ??? sout &= Last.Text[i] ? Endif Next ? Last.Text = sout End It flash the new character a little but it works. Thank's, Marco. Il 16/09/23 22:17, Beno?t Minisini ha scritto: > Le 15/09/2023 ? 18:06, Marco Ancillotti a ?crit?: >> Hi Beno?t , >> thank's for the answer , is there another way to filter what can be >> inserted in a webtextbox ? >> > > Not directly, but you can try to use the Change event to remove the > forbidden characters from the WebTextBox. > From benoit.minisini at gambas-basic.org Mon Sep 18 19:40:25 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 18 Sep 2023 19:40:25 +0200 Subject: [Gambas-user] Problema with stop event on gb.web.gui In-Reply-To: <2d9cee71-0090-c350-11d2-ee427f4106da@servinfo.it> References: <0f24ec7e-847e-4f1e-2881-4cb94db8c6cd@servinfo.it> <7d9ea825-83f2-f3d7-bb3b-36efda3e9675@gambas-basic.org> <21e3b8a5-6105-7f1d-a13c-7a99f221e711@servinfo.it> <2d9cee71-0090-c350-11d2-ee427f4106da@servinfo.it> Message-ID: Le 18/09/2023 ? 19:32, Marco Ancillotti a ?crit?: > Ok , I solved with someting like: > > Public Sub WebTextBox1_Change() > Dim sout As String > Dim i As Integer = 0 > > sout = "" > For i = 0 To (Len(Last.Text) - 1) > ? If Last.Text[i] Match "^[\\/a-zA-Z0-9.-]+$" Then That's killing a fly with an atomic bomb! :-) Do that instead, if you want to save CPU: If Last.Text[i] Like "[/a-zA-Z0-9.-]" Then Don't remember that using "Match" implies loading the PCRE component and its shared library, compiling a regexp, and executing it. I don't think it's needed just for checking one ASCII character! Regards, -- Beno?t Minisini. From sharon at 455.co.il Mon Sep 18 20:05:33 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Mon, 18 Sep 2023 21:05:33 +0300 Subject: [Gambas-user] WebPage variables Message-ID: <20230918180533.M14403@455.co.il> Hello I'm trying to figure out how to work with a WebPage (gb.web) I created a page with: First name Last Name and a submit button When I click the button I want to read the values from a text box of: First name Last Name I do manage to get the values typed by: Request.Post["fname"] Request.Post["lname"] But I can't get them to move back to the page This resets all values The sample is attached Thanks for the help -------------- next part -------------- A non-text attachment was scrubbed... Name: w7.zip Type: application/zip Size: 17741 bytes Desc: not available URL: From sharon at 455.co.il Mon Sep 18 22:00:11 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Mon, 18 Sep 2023 23:00:11 +0300 Subject: [Gambas-user] WebPage variables In-Reply-To: <20230918180533.M14403@455.co.il> References: <20230918180533.M14403@455.co.il> Message-ID: <20230918194835.M56009@455.co.il> Hello I found my mistake In line 10 in Main.class I wrote by mistake: gb_fname = Request.Post["lname"] instead of gb_lname = Request.Post["lname"] Now it's working Anyway, I wanted to know if it is true that I am using the event: _new Thank you ---------- Original Message ----------- From: "Mayost Sharon" To: Gambas Mailing List Sent: Mon, 18 Sep 2023 21:05:33 +0300 Subject: [Gambas-user] WebPage variables > Hello > > I'm trying to figure out how to work with a WebPage (gb.web) > > I created a page with: > > First name > Last Name > and a submit button > > When I click the button I want to read the values from a text box of: > First name > Last Name > > I do manage to get the values typed by: > Request.Post["fname"] > Request.Post["lname"] > > But I can't get them to move back to the page > > This resets all values > > The sample is attached > > Thanks for the help ------- End of Original Message ------- From sharon at 455.co.il Mon Sep 18 23:03:59 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 19 Sep 2023 00:03:59 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230918180533.M14403@455.co.il> References: <20230918180533.M14403@455.co.il> Message-ID: <20230918210359.M37463@455.co.il> Hello Further to the discussion: https://lists.gambas-basic.org/pipermail/user/2023-September/080147.html I have another new question I am trying to load the page: Website1 When I put in: First name = G Surname = B I want to load the single webpage1 page without the first page But it loads me Webpage1 along with the first page An example is attached Thank you -------------- next part -------------- A non-text attachment was scrubbed... Name: w7.zip Type: application/zip Size: 18997 bytes Desc: not available URL: From t.lee.davidson at gmail.com Tue Sep 19 00:53:22 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 18 Sep 2023 18:53:22 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230918210359.M37463@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> Message-ID: <3bb400b7-6c1e-4e25-bacd-9f3053c20ce4@gmail.com> On 9/18/23 17:03, Mayost Sharon wrote: > Hello > > Further to the discussion: > https://lists.gambas-basic.org/pipermail/user/2023-September/080147.html > > > I have another new question > > I am trying to load the page: > Website1 > > When I put in: > First name = G > Surname = B > > I want to load the single webpage1 page without the first page > > But it loads me Webpage1 along with the first page > > An example is attached > > Thank you Try putting the logic at the very top of Main.webpage (before any HTML) instead of in Main.class: [code] <% If Request.Post.Fields.Count > 0 Then gb_fname = Request.Post["fname"] gb_lname = Request.Post["lname"] gb_warning = True If UCase(gb_fname) = "G" And UCase(gb_lname) = "B" Then ' I want To load the single webpage1 page without the first page Response.Redirect("Webpage1.webpage") Quit Endif Endif %> [/code] I can't verify that this actually works because the Debug Browser appears to be caching the response and won't always pick up code changes. I first tried redirecting to localhost:8080 which worked, but now the application won't redirect to any other location. -- Lee From sharon at 455.co.il Tue Sep 19 06:53:54 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 19 Sep 2023 07:53:54 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <3bb400b7-6c1e-4e25-bacd-9f3053c20ce4@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <3bb400b7-6c1e-4e25-bacd-9f3053c20ce4@gmail.com> Message-ID: <20230919045150.M64475@455.co.il> ---------- Original Message ----------- From: T Lee Davidson To: user at lists.gambas-basic.org Sent: Mon, 18 Sep 2023 18:53:22 -0400 Subject: Re: [Gambas-user] How to load a new page on gb.web by code > On 9/18/23 17:03, Mayost Sharon wrote: > > Hello > > > > Further to the discussion: > > https://lists.gambas-basic.org/pipermail/user/2023-September/080147.html > > > > > > I have another new question > > > > I am trying to load the page: > > Website1 > > > > When I put in: > > First name = G > > Surname = B > > > > I want to load the single webpage1 page without the first page > > > > But it loads me Webpage1 along with the first page > > > > An example is attached > > > > Thank you > > Try putting the logic at the very top of Main.webpage (before any HTML) > instead of in Main.class: [code] <% If Request.Post.Fields.Count > 0 Then > gb_fname = Request.Post["fname"] gb_lname = Request.Post["lname"] > gb_warning = True > > If UCase(gb_fname) = "G" And UCase(gb_lname) = "B" Then > ' I want To load the single webpage1 page without the first page > Response.Redirect("Webpage1.webpage") > Quit > Endif > Endif > %> > [/code] > > I can't verify that this actually works because the Debug Browser appears to > be caching the response and won't always pick up code changes. I first tried > redirecting to localhost:8080 which worked, but now the application won't > redirect to any other location. > > -- > Lee > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ------- End of Original Message ------- Hello I tried your solution But it gives a blank white page It does not load the webpage1 page From sharon at 455.co.il Tue Sep 19 10:37:57 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 19 Sep 2023 11:37:57 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230918210359.M37463@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> Message-ID: <20230919082959.M42262@455.co.il> Hello I succeeded (in an inexplicable way) Load the second page (Webpage1.webpage) In the code in line 18 I added two lines Webpage1.Render Quit But still when I click on the second page (Webpage1.webpage) on the submit button It returns back to the main page (Main.webpage) And it's not good because I can't get the request values of the second page (Webpage1.webpage) An example is attached Thanks ---------- Original Message ----------- From: "Mayost Sharon" To: Gambas Mailing List Sent: Tue, 19 Sep 2023 00:03:59 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code > Hello > > Further to the discussion: > https://lists.gambas-basic.org/pipermail/user/2023-September/080147.html > > I have another new question > > I am trying to load the page: > Website1 > > When I put in: > First name = G > Surname = B > > I want to load the single webpage1 page without the first page > > But it loads me Webpage1 along with the first page > > An example is attached > > Thank you ------- End of Original Message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: w7.zip Type: application/zip Size: 21169 bytes Desc: not available URL: From martin.fischer6 at web.de Tue Sep 19 10:49:22 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Tue, 19 Sep 2023 10:49:22 +0200 Subject: [Gambas-user] Use gambas WebPages as general-purpose template engine Message-ID: <9e430c8b-2e84-1d41-2fcc-b66c26789fe2@web.de> Hi fellow gambassins, I created a demo project that uses gambas WebPages as general-purpose template engine (means: it does not target web-pages, but just model->string). I know that there has been interest in adding a template-engine to gambas (at least, there is a merge request for it). Maybe this would at least be worth to be included as sample-project or so. Here is the readme of the sample project: ------------------------------------------ ### Use Gambas WebPages as templates WebPages are designed to be used in the context of web-applications. As it turns out, they can also be used as general-purpose template engine (with some limitations that I will explain below). #### The model This sample uses a simple demo model consisting of a list of persons (CPerson). This model is made globally available in the module 'MainTemplateModel' for a template to access and render it (it is not possible to pass a model to a WebPage as constructor argument). #### The main template The template named 'MainTemplate' is responsible for rendering the model. It uses static text and gambas code to do this. Note that it is possible to use all syntactic constructs defined in [Gambas WebPage](https://gambaswiki.org/wiki/doc/webpage) but constructs that do html-escape before printing something might not be adequate for your use-case. This means that if you do not want to rendere a html document with your template, avoid the `<%=expression%>` syntax because that will apply html excaping before printing. Instead use a block of code like so: `<%Print expression;%>` #### Usage of sub-templates The MainTemplate delegates the rendering of person birthday to a sub-template called 'BirthdateTemplate'. It passes the person's birthdate (a Date object) as argument to this sub-template. Within the BirthdateTemplate, you can access the arguments value by accessing the `_Arg` collection The runtime puts all arguments passed to a sub-page into this collection, keyed by the name of the argument (as used in the calling page) Note that you might also use the bang-syntax `<%!argName%>` in the sub-template. The problem is that it is not possible to manipulate the arguments value with this syntax. In our example one param named 'birthdate' is passed to the BirthdateTemplate which is of type Date. We want to extract only the date-part of it and format it like so: `<%Print Format(_Arg["birthdate"], "dd.mm.yyyy");%>` Is this case you can not use the bang-syntax. Use a code-block with a Print inside (like above). Note that there is a problem here: by accessing the `_Arg` collection, we break encapsulation. The name of this collection is an implementation detail of the WebPage machinery. It might change without notice in future versions of gambas. Unfortunately, it's the only way to avoid the very restrictive bang-syntax at the moment. --------------------------------------------------- I think WebPages are quite usable as general-purpose template engine. BUT: usage of the _Arg collection in sub-templates might be a show-stopper (read the last paragraph of the readme again...). What do you think? Does all this make sense to you? Regards ____________________________________ Martin Fischer From sharon at 455.co.il Tue Sep 19 11:35:54 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 19 Sep 2023 12:35:54 +0300 Subject: [Gambas-user] Use gambas WebPages as general-purpose template engine In-Reply-To: <9e430c8b-2e84-1d41-2fcc-b66c26789fe2@web.de> References: <9e430c8b-2e84-1d41-2fcc-b66c26789fe2@web.de> Message-ID: <20230919093418.M95913@455.co.il> hello Is there an example file? Thanks ---------- Original Message ----------- From: Martin Fischer To: Gambas Mailing List Sent: Tue, 19 Sep 2023 10:49:22 +0200 Subject: [Gambas-user] Use gambas WebPages as general-purpose template engine > Hi fellow gambassins, > > I created a demo project that uses gambas WebPages as general-purpose > template engine (means: it does not target web-pages, but just > model->string). > > I know that there has been interest in adding a template-engine to > gambas (at least, there is a merge request for it). Maybe this would at > least be worth to be included as sample-project or so. > > Here is the readme of the sample project: > > ------------------------------------------ > ### Use Gambas WebPages as templates > > WebPages are designed to be used in the context of web-applications. > As it turns out, they can also be used as general-purpose template engine > (with some limitations that I will explain below). > > #### The model > > This sample uses a simple demo model consisting of a list of persons > (CPerson). > This model is made globally available in the module 'MainTemplateModel' > for a template > to access and render it (it is not possible to pass a model to a WebPage > as constructor argument). > > #### The main template > > The template named 'MainTemplate' is responsible for rendering the > model. It uses static text and > gambas code to do this. > Note that it is possible to use all syntactic constructs defined in > [Gambas WebPage](https://gambaswiki.org/wiki/doc/webpage) > but constructs that do html-escape before printing something might not > be adequate for > your use-case. This means that if you do not want to rendere a html > document with your template, > avoid the `<%=expression%>` syntax because that will apply html excaping > before printing. > Instead use a block of code like so: `<%Print expression;%>` > > #### Usage of sub-templates > > The MainTemplate delegates the rendering of person birthday to a > sub-template called > 'BirthdateTemplate'. It passes the person's birthdate (a Date object) as > argument to this sub-template. > > Within the BirthdateTemplate, you can access the arguments value by > accessing the `_Arg` collection > The runtime puts all arguments passed to a sub-page into this > collection, keyed by the name of the > argument (as used in the calling page) > > Note that you might also use the bang-syntax `<%!argName%>` in the > sub-template. > The problem is that it is not possible to manipulate the arguments value > with this syntax. > > In our example one param named 'birthdate' is passed to the > BirthdateTemplate which is of type Date. > We want to extract only the date-part of it and format it like so: > `<%Print Format(_Arg["birthdate"], "dd.mm.yyyy");%>` > Is this case you can not use the bang-syntax. Use a code-block with a > Print inside (like above). > > Note that there is a problem here: by accessing the `_Arg` collection, > we break encapsulation. > The name of this collection is an implementation detail of the WebPage > machinery. It might change > without notice in future versions of gambas. Unfortunately, it's the > only way to avoid the > very restrictive bang-syntax at the moment. > --------------------------------------------------- > > I think WebPages are quite usable as general-purpose template engine. > BUT: usage of the _Arg collection in sub-templates might be a > show-stopper (read the last paragraph of the readme again...). > > What do you think? > Does all this make sense to you? > > Regards > ____________________________________ > Martin Fischer > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ------- End of Original Message ------- From martin.fischer6 at web.de Tue Sep 19 12:01:55 2023 From: martin.fischer6 at web.de (Martin Fischer) Date: Tue, 19 Sep 2023 12:01:55 +0200 Subject: [Gambas-user] Use gambas WebPages as general-purpose template engine In-Reply-To: <20230919093418.M95913@455.co.il> References: <9e430c8b-2e84-1d41-2fcc-b66c26789fe2@web.de> <20230919093418.M95913@455.co.il> Message-ID: <679bf257-e8ab-8291-ba06-7642b82da486@web.de> > > Is there an example file? > I attach it to this mail Regards, Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: TemplateEngine-0.0.1.tar.gz Type: application/gzip Size: 14234 bytes Desc: not available URL: From bsteers4 at gmail.com Tue Sep 19 12:28:13 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 19 Sep 2023 11:28:13 +0100 Subject: [Gambas-user] wiki login not working Message-ID: If i try to edit a wiki page (or do a search) I get the following problem... I select "Login" and enter details. I am then apparently logged in as i see all the other options when logged in. Then if I try a search or hit Edit on a page i am then apparently not logged in and have to enter log in details again, then I'm not on the Edit page and have to press Edit again, and need to enter log in details again. So i cannot search or edit anything. Respects BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From gbWilly at protonmail.com Tue Sep 19 13:25:53 2023 From: gbWilly at protonmail.com (gbWilly) Date: Tue, 19 Sep 2023 11:25:53 +0000 Subject: [Gambas-user] wiki login not working In-Reply-To: References: Message-ID: <1dFWuy9QByXSvzPyIB5wBe-Rv1cSjeKrZqpOEsv2cPBqRrHyLGVvGXWo8hwSeBQMqcppyOLfnPQSUYsRGUhM4YNBBXWnYe7eFvGfth8ZGi4=@protonmail.com> ------- Original Message ------- On Tuesday, September 19th, 2023 at 12:28, Bruce Steers wrote: > If i try to edit a wiki page (or do a search) I get the following problem... > > I select "Login" and enter details. > I am then apparently logged in as i see all the other options when logged in. > Then if I try a search or hit Edit on a page i am then apparently not logged in and have to enter log in details again, then I'm not on the Edit page and have to press Edit again, and need to enter log in details again. > > So i cannot search or edit anything. > > Respects > BruceS Hi Bruce, Could it be you logged in from the Gambas webpage where the wiki is embedded (https://gambas.sourceforge.net/en/main.html#) as that does mess with your login Go directly to the wiki page (https://gambaswiki.org/wiki) to login and all should work, at least it does for me. Cheers, gbWilly -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Sep 19 13:54:34 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 19 Sep 2023 12:54:34 +0100 Subject: [Gambas-user] wiki login not working In-Reply-To: <1dFWuy9QByXSvzPyIB5wBe-Rv1cSjeKrZqpOEsv2cPBqRrHyLGVvGXWo8hwSeBQMqcppyOLfnPQSUYsRGUhM4YNBBXWnYe7eFvGfth8ZGi4=@protonmail.com> References: <1dFWuy9QByXSvzPyIB5wBe-Rv1cSjeKrZqpOEsv2cPBqRrHyLGVvGXWo8hwSeBQMqcppyOLfnPQSUYsRGUhM4YNBBXWnYe7eFvGfth8ZGi4=@protonmail.com> Message-ID: On Tue, 19 Sept 2023 at 12:27, gbWilly via User wrote: > > ------- Original Message ------- > On Tuesday, September 19th, 2023 at 12:28, Bruce Steers < > bsteers4 at gmail.com> wrote: > > If i try to edit a wiki page (or do a search) I get the following > problem... > > I select "Login" and enter details. > I am then apparently logged in as i see all the other options when logged > in. > Then if I try a search or hit Edit on a page i am then apparently not > logged in and have to enter log in details again, then I'm not on the Edit > page and have to press Edit again, and need to enter log in details again. > > So i cannot search or edit anything. > > Respects > BruceS > > > Hi Bruce, > > Could it be you logged in from the Gambas webpage where the wiki is > embedded (https://gambas.sourceforge.net/en/main.html#) as that does mess > with your login > > Go directly to the wiki page (https://gambaswiki.org/wiki) to login and > all should work, at least it does for me. > > Cheers, > > gbWilly > I tried logging in on the main page (your link) and now it works. Looking at my browsing history i was at the same urls not the sourceforge embedded url. But now it works so i'm happy, cheers :) BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From gradobag at gradobag.it Tue Sep 19 14:42:04 2023 From: gradobag at gradobag.it (Gianluigi) Date: Tue, 19 Sep 2023 14:42:04 +0200 Subject: [Gambas-user] wiki login not working In-Reply-To: References: <1dFWuy9QByXSvzPyIB5wBe-Rv1cSjeKrZqpOEsv2cPBqRrHyLGVvGXWo8hwSeBQMqcppyOLfnPQSUYsRGUhM4YNBBXWnYe7eFvGfth8ZGi4=@protonmail.com> Message-ID: Il 19/09/23 13:54, Bruce Steers ha scritto: > > > On Tue, 19 Sept 2023 at 12:27, gbWilly via User > wrote: > > > ------- Original Message ------- > On Tuesday, September 19th, 2023 at 12:28, Bruce Steers > wrote: > >> If i try to edit a wiki page (or do a search) I get the following >> problem... >> >> I select "Login" and enter details. >> I am then apparently logged in as i see all the other options >> when logged in. >> Then if I try a search or hit Edit on a page i am then apparently >> not logged in and have to enter log in details again, then I'm >> not on the Edit page and have to press Edit again, and need to >> enter log in details again. >> >> So i cannot search or edit anything. >> >> Respects >> BruceS >> > > Hi Bruce, > > Could it be you logged in from the Gambas webpage where the wiki > is embedded (https://gambas.sourceforge.net/en/main.html#) as that > does mess with your login > > Go directly to the wiki page (https://gambaswiki.org/wiki) to > login and all should work, at least it does for me. > > Cheers, > > gbWilly > > > I tried logging in on the main page (your link) and now it works. > Looking at my browsing history i was at the same urls not the > sourceforge embedded url. > > But now it works so i'm happy, cheers :) > BruceS > > ----[http://gambaswiki.org/wiki/doc/netiquette ]---- Hi Bruce, if, like me, you get there via Firefox shortcuts, check that the link is correct (see attached image) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shortcut.png Type: image/png Size: 23127 bytes Desc: not available URL: From t.lee.davidson at gmail.com Tue Sep 19 16:01:08 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 19 Sep 2023 10:01:08 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230919082959.M42262@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> Message-ID: <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> On 9/19/23 04:37, Mayost Sharon wrote: > Hello I succeeded (in an inexplicable way) Load the second page (Webpage1.webpage) In the code in line 18 I added two lines > Webpage1.Render Quit But still when I click on the second page (Webpage1.webpage) on the submit button It returns back to the > main page (Main.webpage) And it's not good because I can't get the request values of the second page (Webpage1.webpage) An > example is attached Thanks Again, put the code in Main.webpage, not in Main.class. In other words, take the code of the _new subroutine from Main.class and put it at the very top of Main.page enclosed in code tags: <% %> -- Lee From t.lee.davidson at gmail.com Tue Sep 19 16:25:09 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 19 Sep 2023 10:25:09 -0400 Subject: [Gambas-user] wiki login not working In-Reply-To: References: <1dFWuy9QByXSvzPyIB5wBe-Rv1cSjeKrZqpOEsv2cPBqRrHyLGVvGXWo8hwSeBQMqcppyOLfnPQSUYsRGUhM4YNBBXWnYe7eFvGfth8ZGi4=@protonmail.com> Message-ID: <6c49f82a-d9fa-4713-ba20-331744a8f8fb@gmail.com> On 9/19/23 07:54, Bruce Steers wrote: > > > On Tue, 19 Sept 2023 at 12:27, gbWilly via User > wrote: > > [snip] > > Hi Bruce, > > Could it be you logged in from the Gambas webpage where the wiki is embedded (https://gambas.sourceforge.net/en/main.html# > ) as that does mess with your login > > Go directly to the wiki page (https://gambaswiki.org/wiki ) to login and all should work, at > least it does for me. > > Cheers, > > gbWilly > > > I tried logging in on the main page (your link) and now it works. > Looking at my browsing history i was at the same urls not the sourceforge embedded url. > > But now it works so i'm happy, cheers :) > BruceS Perhaps we should have the Wiki break out of the frame. ? It could be done with Javascript [1], or by placing a link on the Wiki home page [2]. [1]: if (window.top.location != window.location) { window.top.location.replace(window.location); } [2]: Break out of frame One caveat to option 1 is that webpage translators that rely on frames would likely not work. -- Lee From roberto.premoli at tiscali.it Tue Sep 19 17:38:07 2023 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Tue, 19 Sep 2023 17:38:07 +0200 Subject: [Gambas-user] =?utf-8?q?is_possible_to_=22inglobe=22_data_=28aud?= =?utf-8?q?io=2C_video=2C_etc=29_into_gambas_code=3F?= In-Reply-To: References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> Message-ID: Il 17.09.2023 14:00 Bruce Steers ha scritto: > On Sun, 17 Sept 2023 at 00:48, wrote: > >> hello, >> my need is ti advise the user with sound: i just discovered how to >> play >> a audio with >> >> music.load("/path/to/clip.mp3") >> music.play() >> >> and it run smooth. >> >> Anyway, it coud happen that clip.mp3 can be corrupted, deleted, etc. >> >> So the qeustion is: >> >> it is possible to "inglobe" int into the source code of gambas? >> >> it will allow me to avoid to manage the extenal clip.mp3 because it >> will be always inside the program. >> >> As alternative, is possible to generate some advise sound equivalent >> to >> "allert", "incamig call", "new mail", etc with primitive of gambas >> without use external audio sounds clip? >> >> Thanks, >> Roberto > > do you just mean "include" your sound files with the executable? > that is fairly simple. > Just create a folder in your project directory, for example "sounds" > (you > must not use .hidden folder names unless it's name is .public) > Put your clip.mp3 file into the sounds folder then access it like > this.. > music.load("./sounds/clip.mp3") > or > music.load("sounds/clip.mp3") > BruceS i already did this, but it is not "INSIDE" the code, is still a separate file. it is "WITH" the executable, i want it "INSIDE" the executable. is it possible? Links: ------ [1] mailto:roberto.premoli at tiscali.it From bsteers4 at gmail.com Tue Sep 19 19:59:56 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 19 Sep 2023 18:59:56 +0100 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> Message-ID: On Tue, 19 Sept 2023 at 16:39, wrote: > Il 17.09.2023 14:00 Bruce Steers ha scritto: > > > On Sun, 17 Sept 2023 at 00:48, wrote: > > > >> hello, > >> my need is ti advise the user with sound: i just discovered how to > >> play > >> a audio with > >> > >> music.load("/path/to/clip.mp3") > >> music.play() > >> > >> and it run smooth. > >> > >> Anyway, it coud happen that clip.mp3 can be corrupted, deleted, etc. > >> > >> So the qeustion is: > >> > >> it is possible to "inglobe" int into the source code of gambas? > >> > >> it will allow me to avoid to manage the extenal clip.mp3 because it > >> will be always inside the program. > >> > >> As alternative, is possible to generate some advise sound equivalent > >> to > >> "allert", "incamig call", "new mail", etc with primitive of gambas > >> without use external audio sounds clip? > >> > >> Thanks, > >> Roberto > > > > do you just mean "include" your sound files with the executable? > > that is fairly simple. > > Just create a folder in your project directory, for example "sounds" > > (you > > must not use .hidden folder names unless it's name is .public) > > Put your clip.mp3 file into the sounds folder then access it like > > this.. > > music.load("./sounds/clip.mp3") > > or > > music.load("sounds/clip.mp3") > > BruceS > > i already did this, but it is not "INSIDE" the code, is still a > separate file. > it is "WITH" the executable, i want it "INSIDE" the executable. is it > possible? > Yes it should be inside the executable. It will not be included if it's name begins with a dot like .my_mp3.mp3 It will not be included if it's folder name begins with a dot like .my_mp3s/My_.mp3 otherwise the file should be inside the executable. you can read the executables contents using gba3 -l eg. gba3 -l /my/dir/My_Project.gambas if your mp3's are not hidden or in a hidden folder then they should be inside and accessible with the uri's i previously mentioned. Post a sample project where the mp3 is not being inside the executable and i'll see if i can find the issue. Respects BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Tue Sep 19 20:07:08 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 19 Sep 2023 20:07:08 +0200 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> Message-ID: <6421e469-ea06-64ee-e55f-6750059051f3@gambas-basic.org> Le 19/09/2023 ? 19:59, Bruce Steers a ?crit?: > > > On Tue, 19 Sept 2023 at 16:39, > wrote: > > Il 17.09.2023 14:00 Bruce Steers ha scritto: > > > On Sun, 17 Sept 2023 at 00:48, wrote: > > > >> hello, > >> my need is ti advise the user with sound: i just discovered how to > >> play > >> a audio with > >> > >> music.load("/path/to/clip.mp3") > >> music.play() > >> > >> and it run smooth. > >> > >> Anyway, it coud happen that clip.mp3 can be corrupted, deleted, etc. > >> > >> So the qeustion is: > >> > >> it is possible to "inglobe" int into the source code of gambas? > >> > >> it will allow me to avoid to manage the extenal clip.mp3 because it > >> will be always inside the program. > >> > >> As alternative, is possible to generate some advise sound > equivalent > >> to > >> "allert", "incamig call", "new mail", etc with primitive of gambas > >> without use external audio sounds clip? > >> > >> Thanks, > >> Roberto > > > > do you just mean "include" your sound files with the executable? > > that is fairly simple. > > Just create a folder in your project directory, for example "sounds" > > (you > > must not use .hidden folder names unless it's name is .public) > > Put your clip.mp3 file into the sounds folder then access it like > > this.. > > music.load("./sounds/clip.mp3") > > or > > music.load("sounds/clip.mp3") > > BruceS > > i already did this, but it is not "INSIDE" the code, is still a > separate file. > it is "WITH" the executable, i want it "INSIDE" the executable. is it > possible? > > > Yes it should be inside the executable. > > It will not be included if it's name begins with a dot like .my_mp3.mp3 > It will not be included if it's folder name begins with a dot like > .my_mp3s/My_.mp3 > > otherwise the file should be inside the executable. > > you can read the executables contents using gba3 -l > eg. > gba3 -l /my/dir/My_Project.gambas > > if your mp3's are not hidden or in a hidden folder then they should be > inside and accessible with the uri's i previously mentioned. > > Post a sample project where the mp3 is not being inside the executable > and i'll see if i can find the issue. > > Respects > BruceS > Note that if you use Music.Load(), as this SDL function cannot read inside Gambas archive, a copy of the file is done in the process temporary directory so that SDL can use it. Regards, -- Beno?t Minisini. From bsteers4 at gmail.com Tue Sep 19 20:41:06 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 19 Sep 2023 19:41:06 +0100 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: <6421e469-ea06-64ee-e55f-6750059051f3@gambas-basic.org> References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> <6421e469-ea06-64ee-e55f-6750059051f3@gambas-basic.org> Message-ID: On Tue, 19 Sept 2023 at 19:08, Beno?t Minisini < benoit.minisini at gambas-basic.org> wrote: > Le 19/09/2023 ? 19:59, Bruce Steers a ?crit : > > > > > > On Tue, 19 Sept 2023 at 16:39, > > wrote: > > > > Il 17.09.2023 14:00 Bruce Steers ha scritto: > > > > > On Sun, 17 Sept 2023 at 00:48, wrote: > > > > > >> hello, > > >> my need is ti advise the user with sound: i just discovered how > to > > >> play > > >> a audio with > > >> > > >> music.load("/path/to/clip.mp3") > > >> music.play() > > >> > > >> and it run smooth. > > >> > > >> Anyway, it coud happen that clip.mp3 can be corrupted, deleted, > etc. > > >> > > >> So the qeustion is: > > >> > > >> it is possible to "inglobe" int into the source code of gambas? > > >> > > >> it will allow me to avoid to manage the extenal clip.mp3 because > it > > >> will be always inside the program. > > >> > > >> As alternative, is possible to generate some advise sound > > equivalent > > >> to > > >> "allert", "incamig call", "new mail", etc with primitive of > gambas > > >> without use external audio sounds clip? > > >> > > >> Thanks, > > >> Roberto > > > > > > do you just mean "include" your sound files with the executable? > > > that is fairly simple. > > > Just create a folder in your project directory, for example > "sounds" > > > (you > > > must not use .hidden folder names unless it's name is .public) > > > Put your clip.mp3 file into the sounds folder then access it like > > > this.. > > > music.load("./sounds/clip.mp3") > > > or > > > music.load("sounds/clip.mp3") > > > BruceS > > > > i already did this, but it is not "INSIDE" the code, is still a > > separate file. > > it is "WITH" the executable, i want it "INSIDE" the executable. is it > > possible? > > > > > > Yes it should be inside the executable. > > > > It will not be included if it's name begins with a dot like .my_mp3.mp3 > > It will not be included if it's folder name begins with a dot like > > .my_mp3s/My_.mp3 > > > > otherwise the file should be inside the executable. > > > > you can read the executables contents using gba3 -l > > eg. > > gba3 -l /my/dir/My_Project.gambas > > > > if your mp3's are not hidden or in a hidden folder then they should be > > inside and accessible with the uri's i previously mentioned. > > > > Post a sample project where the mp3 is not being inside the executable > > and i'll see if i can find the issue. > > > > Respects > > BruceS > > > > Note that if you use Music.Load(), as this SDL function cannot read > inside Gambas archive, a copy of the file is done in the process > temporary directory so that SDL can use it. > > Regards, > > -- > Beno?t Minisini aah yes so you would want code something like this if you have a clip.mp3 file in a folder called sounds in the project dir... Public sClipFile As String = "./sounds/clip.mp3" Public Sub Form_Load() PlayInternalMusic(sClipFile) End Public Sub PlayInternalMusic(sFile As String) Dim sTempName As String = File.Dir(Temp()) &/ File.Name(sFile) If Not Exist(sTempName) Then Copy sFile To sTempName Music.Load(sTempName) Music.Play() End Respects BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Tue Sep 19 20:56:12 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 19 Sep 2023 20:56:12 +0200 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> <6421e469-ea06-64ee-e55f-6750059051f3@gambas-basic.org> Message-ID: Le 19/09/2023 ? 20:41, Bruce Steers a ?crit?: > aah yes so you would want code something like this if you have a > clip.mp3 file in a folder called sounds in the project dir... > > Public sClipFile As String = "./sounds/clip.mp3" > > Public Sub Form_Load() > > ?PlayInternalMusic(sClipFile) > > End > > Public Sub PlayInternalMusic(sFile As String) > > ? Dim sTempName As String = File.Dir(Temp()) &/ File.Name(sFile) > > ? If Not Exist(sTempName) Then Copy sFile To sTempName > ? Music.Load(sTempName) > ? Music.Play() > > End > > Respects > BruceS > No, as it is done automatically by the interpreter. -- Beno?t Minisini. From sharon at 455.co.il Tue Sep 19 22:10:24 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 19 Sep 2023 23:10:24 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> Message-ID: <20230919195927.M80874@455.co.il> ---------- Original Message ----------- From: T Lee Davidson To: user at lists.gambas-basic.org Sent: Tue, 19 Sep 2023 10:01:08 -0400 Subject: Re: [Gambas-user] How to load a new page on gb.web by code > On 9/19/23 04:37, Mayost Sharon wrote: > > Hello I succeeded (in an inexplicable way) Load the second page (Webpage1.webpage) In the code in line 18 I added two lines > > Webpage1.Render Quit But still when I click on the second page (Webpage1.webpage) on the submit button It returns back to the > > main page (Main.webpage) And it's not good because I can't get the request values of the second page (Webpage1.webpage) An > > example is attached Thanks > > Again, put the code in Main.webpage, not in Main.class. In other words, take > the code of the _new subroutine from Main.class and put it at the very top of > Main.page enclosed in code tags: <% %> > > -- > Lee > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ------- End of Original Message ------- Hello first thanks But I tried to put the code as you say, and it's still not good. 1. When I click the button on the second page it returns to the Main.webpage page 2. It is very inconvenient to write a lot of code inside Wabpage because if you can't stop and check for bugs, etc. Maybe I don't understand the process of the gb.web, but my expectation was that every page when I click on submit buttons that are supposed to perform an action should have been conducted on the page itself that was loaded, unless I specifically say in the action to go to another page What I currently understand is that every time he performs an action he always returns to the main page The question is, does it have to be this way? Thank you From chrisml at deganius.de Tue Sep 19 22:10:34 2023 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 19 Sep 2023 22:10:34 +0200 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 In-Reply-To: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> References: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Message-ID: <15c1a74a-f403-e62c-2893-499d96a437ea@deganius.de> Am 17.09.23 um 23:01 schrieb Beno?t Minisini: > Here is the pre-release of Gambas 3.18.4. > > Release notes are at: > https://gambaswiki.org/wiki/doc/release/3.18.4. > > Source code is at: > https://gitlab.com/gambas/gambas/-/archive/3.18.4/gambas-3.18.4.tar.bz2 > > Please download and compile it, and tell me if you encounter any problem. Thank you! I will try but i do not have much time this week. For now: It's own tests pass. My tests pass. Looks beautiful. :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From bsteers4 at gmail.com Tue Sep 19 23:44:50 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 19 Sep 2023 22:44:50 +0100 Subject: [Gambas-user] is possible to "inglobe" data (audio, video, etc) into gambas code? In-Reply-To: References: <3f7f25d829840ad2a06081181ac71f01@tiscali.it> <6421e469-ea06-64ee-e55f-6750059051f3@gambas-basic.org> Message-ID: On Tue, 19 Sep 2023, 19:57 Beno?t Minisini, < benoit.minisini at gambas-basic.org> wrote: > Le 19/09/2023 ? 20:41, Bruce Steers a ?crit : > > aah yes so you would want code something like this if you have a > > clip.mp3 file in a folder called sounds in the project dir... > > > > Public sClipFile As String = "./sounds/clip.mp3" > > > > Public Sub Form_Load() > > > > PlayInternalMusic(sClipFile) > > > > End > > > > Public Sub PlayInternalMusic(sFile As String) > > > > Dim sTempName As String = File.Dir(Temp()) &/ File.Name(sFile) > > > > If Not Exist(sTempName) Then Copy sFile To sTempName > > Music.Load(sTempName) > > Music.Play() > > > > End > > > > Respects > > BruceS > > > > No, as it is done automatically by the interpreter. > > -- > Beno?t Minisini. > Oops sorry my mistake I misread "what it does" as "what we should do" ? Respects BruceS > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Wed Sep 20 00:48:08 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 19 Sep 2023 18:48:08 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230919195927.M80874@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> Message-ID: <0235eac4-6244-480f-9343-a10361f776e4@gmail.com> On 9/19/23 16:10, Mayost Sharon wrote: > Maybe I don't understand the process of the gb.web, but my expectation was that every page when I click on submit buttons that > are supposed to perform an action should have been conducted on the page itself that was loaded, unless I specifically say in > the action to go to another page That's not exactly how HTML forms work. First, the page is sent to the browser that displays the form with its submit button. If the form has no 'action' attribute, as in this case, the browser submits the form to the very same URL. So, the Gambas script is called again, and the page HTML source is sent to the browser again. And, since the code calls Webpage1.Render and then Quits, Webpage1 is rendered as the only content of Main.webpage. > What I currently understand is that every time he performs an action he always returns to the main page This is because there is also no 'action' attribute in the form on Webpage1. So, the browser submits that form to the same Gambas script which, by default, renders Main.webpage. It seems that we should be able to have the browser fetch Webpage1 by using the relative URL: w7.gambas/Webpage1.webpage. But, that doesn't work. Also, Response.Redirect doesn't seem to work; at least not the way I am trying it. I put the following code at the very top of Main.webpage, and no redirect occurred: <% Response.Redirect("https://gambaswiki.org/wiki") Quit %> (This was on an Apache server trying with Firefox and Chromium.) Hopefully, Beno?t can clarify why this isn't working the way it seems it should. -- Lee From benoit.minisini at gambas-basic.org Wed Sep 20 01:03:04 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 01:03:04 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <0235eac4-6244-480f-9343-a10361f776e4@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <0235eac4-6244-480f-9343-a10361f776e4@gmail.com> Message-ID: <2f554817-3787-d2db-1a8d-502ea1b964d3@gambas-basic.org> Le 20/09/2023 ? 00:48, T Lee Davidson a ?crit?: > ... > > Hopefully, Beno?t can clarify why this isn't working the way it seems it > should. > A WebPage is just a class that prints HTML to the standard output, aiming at being run from a CGI script. This HTML is printed by a function generated by the Gambas compiler from the form defined in the IDE. This function is called by the Render() method. So if you call Response.Redirect() inside a WebPage, it's too late. You are currently generating the response, and Response.Redirect() must be called before Response.Begin(), otherwise it has no effect. In other words, the choose of which WebPage you want to render must me done outside of any WebPage. For a real understanding, the entire 'gb.web' component is written in Gambas, and the source code is available. Regards, -- Beno?t Minisini. From gambas at servinfo.it Wed Sep 20 09:36:47 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 09:36:47 +0200 Subject: [Gambas-user] Execute script from ide Message-ID: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> Hi all , I usually have some script on a project because I use that to make some internal processing or to load the binary to the right server. When I right click on that from the ide I see the usual stuff ( open , open with , duplicate , ... ) . Is possible to add a menu item to run the script on a window ? It will speed up my works a lot since I write script directly from the ide and every time I need to run one I need to go to tools , open terminal , run script by hand and then close the terminal. I think we need simply to check if file have execute permission and launch it the default terminal app. Thanks in advance, Marco. From bsteers4 at gmail.com Wed Sep 20 10:00:29 2023 From: bsteers4 at gmail.com (Bruce Steers) Date: Wed, 20 Sep 2023 09:00:29 +0100 Subject: [Gambas-user] Execute script from ide In-Reply-To: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> Message-ID: On Wed, 20 Sep 2023, 08:39 Marco Ancillotti, wrote: > Hi all , > > I usually have some script on a project because I use that to make some > internal processing or to load the binary to the > right server. > > When I right click on that from the ide I see the usual stuff ( open , > open with , duplicate , ... ) . > > Is possible to add a menu item to run the script on a window ? > > It will speed up my works a lot since I write script directly from the > ide and every time I need to run one I need to go to tools , > open terminal , run script by hand and then close the terminal. > > I think we need simply to check if file have execute permission and > launch it the default terminal app. > > Thanks in advance, > Marco. > There is an option to run a command when you hit "make executable" Maybe you can use that? I have "external tools" like the pluma plugin with my gambas so I could just use that. You should also be able to right click the script and select "open in file manager" then just double click the script to run it. (On systems that allow script execution from double click) Ps. If you use the command.. bash ./scriptname Then it don't need to be executable or need a shebang. BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at servinfo.it Wed Sep 20 10:53:39 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 10:53:39 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> Message-ID: <88e5acba-3184-04fe-3720-b36214b071e0@servinfo.it> Il 20/09/23 10:00, Bruce Steers ha scritto: > > There is an option to run a command when you hit "make executable" > Maybe you can use that? I don't have that option , maybe because I'm using kde. > I have "external tools" like the pluma plugin with my gambas so I > could just use that. I don't have any "external tools" > > You should also be able to right click the script and select "open in > file manager" then just double click the script to run it. (On systems > that allow script execution from double click) > > Ps. If you use the command.. > bash ./scriptname > > Then it don't need to be executable or need a shebang. I know but is not that simple or integrated like "right click -> execute" thanks, Marco. From aishen at free.fr Wed Sep 20 12:36:38 2023 From: aishen at free.fr (aishen) Date: Wed, 20 Sep 2023 12:36:38 +0200 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 In-Reply-To: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> References: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Message-ID: <88be1def-de86-7118-2fca-f88b1bc8d0fe@free.fr> Hi, I compiled it in ubuntu 22-04 wsl2 It works fine but I am enaugh prog to test it, examples are working fine , I find it wonderfull when I started gambas (1) I would never think it could work on windows so well Thank you for this application Regards Henri Le 17/09/2023 ? 23:01, Beno?t Minisini a ?crit?: > Hi, > > Here is the pre-release of Gambas 3.18.4. > > Release notes are at: > https://gambaswiki.org/wiki/doc/release/3.18.4. > > Source code is at: > https://gitlab.com/gambas/gambas/-/archive/3.18.4/gambas-3.18.4.tar.bz2 > > Please download and compile it, and tell me if you encounter any problem. > > As usual, Ubuntu packages will follow in a few days on the Gambas > Stable PPA, if no problem is encountered. > > Regards, > From t.lee.davidson at gmail.com Wed Sep 20 15:31:27 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 20 Sep 2023 09:31:27 -0400 Subject: [Gambas-user] Execute script from ide In-Reply-To: <88e5acba-3184-04fe-3720-b36214b071e0@servinfo.it> References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> <88e5acba-3184-04fe-3720-b36214b071e0@servinfo.it> Message-ID: <96795790-71db-400e-b0c6-4b1837d04153@gmail.com> On 9/20/23 04:53, Marco Ancillotti wrote: >> There?is?an?option?to?run?a?command?when?you?hit?"make?executable" >> Maybe?you?can?use?that? > I?don't?have?that?option?,?maybe?because?I'm?using?kde. It's not a desktop feature. It's a Gambas feature. In the Project menu, there is "Configure executable..." Once that dialog is open, there are two tabs at the top: "Location" and "Options". On the Options tab is "Run this shell command after" with a textbox to enter the shell command. -- Lee From gambas at servinfo.it Wed Sep 20 15:46:03 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 15:46:03 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: <96795790-71db-400e-b0c6-4b1837d04153@gmail.com> References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> <88e5acba-3184-04fe-3720-b36214b071e0@servinfo.it> <96795790-71db-400e-b0c6-4b1837d04153@gmail.com> Message-ID: Il 20/09/23 15:31, T Lee Davidson ha scritto: > It's not a desktop feature. It's a Gambas feature. > > In the Project menu, there is "Configure executable..." Once that > dialog is open, there are two tabs at the top: "Location" and > "Options". On the Options tab is "Run this shell command after" with a > textbox to enter the shell command. ok , I found it but I need to run script when I need and not when I build executable. I can use this to upload to server but not on all other case. moreover I need to see the output of the script to know if the loading was successful. Thanks, marco. From benoit.minisini at gambas-basic.org Wed Sep 20 15:52:11 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 15:52:11 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> Message-ID: Le 20/09/2023 ? 09:36, Marco Ancillotti a ?crit?: > Hi all , > > I usually have some script on a project because I use that to make some > internal processing or to load the binary to the > right server. > > When I right click on that from the ide I see the usual stuff ( open , > open with , duplicate , ... ) . > > Is possible to add a menu item to run the script on a window ? > > It will speed up my works a lot since I write script directly from the > ide and every time I need to run one I need to go to tools , > open terminal , run script by hand and then close the terminal. > > I think we need simply to check if file have execute permission and > launch it the default terminal app. > > Thanks in advance, > Marco. > It should be possible to do that. By the way, I'm thinking about a feature related to that problem (running commands to manage a project). I imagine some "Gambas project configuration files" located in the parent directories of a project. These configuration files will be able to: - Define some variables. - Define some visual things for the IDE, to help make the difference between projects. - Run some shell commands in some context (before/after having compiled the project, making the executable, and so on...). - Associate a command with a new menu entry in the IDE, in some pre-defined places. - ... (add your own ideas here). This sort of "meta" configuration file will allow to define the way you manage one project, or a group of projects. Especially how to deploy it for example. And so automatically, and once. No need to manually run anything each time you make the executable. I see one problem: if you share your project, you don't share the meta configuration files, and so the project may be incomplete (depending of what the commands really do). What do people think about that? -- Beno?t Minisini. From gambas at servinfo.it Wed Sep 20 15:55:47 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 15:55:47 +0200 Subject: [Gambas-user] webtextbox and object.attach Message-ID: <791014eb-ab3d-819d-0e6e-1cbfde74bb5c@servinfo.it> Hi all, I have a gb.web.gui app , I made a webtextbox and use it's _Change() event to modify the content when I insert something. It works but , if I want to move che _Change() on a different class and then connect using object.attach() it seem to not work. Other event like _KeyPress() works but _Change() don't. I made something like: WEBFORM CLASS: Public Sub WebForm_Open() ? Object.Attach(, , "aaa") Object.Attach(, , "bbb") End MYCLASS CLASS: Create Static Public Sub aaa_Change() ? Object.Lock(Last) ? Last.Text = "hello" ? Object.Unlock(Last) End Public Sub bbb_KeyPress() ? Last.Text = "_" End The first don't work but the second do , is there some particularity on using _Change form other class ? Thanks, marco. From gambas at servinfo.it Wed Sep 20 16:00:43 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 16:00:43 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> Message-ID: <9ba574a3-3e2f-ca94-0c99-1b857d4a2296@servinfo.it> Il 20/09/23 15:52, Beno?t Minisini ha scritto: > I see one problem: if you share your project, you don't share the meta > configuration files, and so the project may be incomplete (depending > of what the commands really do). > > What do people think about that? This will be a great feature , also why not save all ON the project so when someone share it everyone get all ? I mean we can simply define a standard name to script sourced or runned before or after some event and all will work. Something like: - env.sh ( contain all variables that need to be sourced ) - before_create.sh ( script to run before making executable ) - after_create.sh ( script to run after making executable ) ... and so on. From benoit.minisini at gambas-basic.org Wed Sep 20 16:07:36 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 16:07:36 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: <9ba574a3-3e2f-ca94-0c99-1b857d4a2296@servinfo.it> References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> <9ba574a3-3e2f-ca94-0c99-1b857d4a2296@servinfo.it> Message-ID: Le 20/09/2023 ? 16:00, Marco Ancillotti a ?crit?: > Il 20/09/23 15:52, Beno?t Minisini ha scritto: >> I see one problem: if you share your project, you don't share the meta >> configuration files, and so the project may be incomplete (depending >> of what the commands really do). >> >> What do people think about that? > > This will be a great feature , also why not save all ON the project so > when someone share it everyone get all ? Because I want these meta files to be shared by many projects. Usually all the projects of a bigger one. But we can allow the meta file to be present inside the project too. > > I mean we can simply define a standard name to script sourced or runned > before or after some event and all will work. > > Something like: > - env.sh ( contain all variables that need to be sourced ) > - before_create.sh ( script to run before making executable ) > - after_create.sh ( script to run after making executable ) > ... and so on. > No, because the command associated with a specific context will be a shell command, but not necessarily a shell script. And it could be located anywhere. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Wed Sep 20 16:24:12 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 20 Sep 2023 10:24:12 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230919195927.M80874@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> Message-ID: <383652f5-0357-487b-a933-ed33c195775d@gmail.com> On 9/19/23 16:10, Mayost Sharon wrote: > Hello first thanks But I tried to put the code as you say, and it's still not good. 1. When I click the button on the second > page it returns to the Main.webpage page 2. It is very inconvenient to write a lot of code inside Wabpage because if you can't > stop and check for bugs, etc. Maybe I don't understand the process of the gb.web, but my expectation was that every page when I > click on submit buttons that are supposed to perform an action should have been conducted on the page itself that was loaded, > unless I specifically say in the action to go to another page What I currently understand is that every time he performs an > action he always returns to the main page The question is, does it have to be this way? Thank you Well, since I don't have time at present to analyze the gb.web code to determine how to answer your original question posed in the subject line, all I can suggest at the moment is that you use Javascript to validate the form data prior to it being submitted, and use Main.webpage as a main controller similar to this: <% If Request.Post.Fields.Count > 0 Then Select Request.Post["gb_action"] ' gb_action will be defined differently in each distinct page Case "Webpage1" 'Render or Include Webpage1 Case "Webpage2" 'Render or Include Webpage2' End Select Endif %> -- Lee From gambas at servinfo.it Wed Sep 20 16:30:37 2023 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 20 Sep 2023 16:30:37 +0200 Subject: [Gambas-user] Execute script from ide In-Reply-To: References: <67a8d73e-8c86-5630-c46c-c878119ef8ef@servinfo.it> <9ba574a3-3e2f-ca94-0c99-1b857d4a2296@servinfo.it> Message-ID: <0a122092-4287-836d-6cb1-b7b53122b4ea@servinfo.it> Il 20/09/23 16:07, Beno?t Minisini ha scritto: > Because I want these meta files to be shared by many projects. Usually > all the projects of a bigger one. > > But we can allow the meta file to be present inside the project too. Something like define a property in a project like "son of" so it get all meta from a father project ? > No, because the command associated with a specific context will be a > shell command, but not necessarily a shell script. And it could be > located anywhere. Imho this can be solved by removing file extension so every file that start with a #! will be managed by the shell , also it can be a link so the real script can be everywhere or simply we can call the real script inside the standard one. From sbungay at smartsonsite.com Wed Sep 20 18:41:07 2023 From: sbungay at smartsonsite.com (sbungay) Date: Wed, 20 Sep 2023 12:41:07 -0400 Subject: [Gambas-user] Pop-up to identify control being selected? Message-ID: <16ff5d4a-66c4-e238-7c6c-a2732f3ef9bd@smartsonsite.com> GAMBAS 3.18.3. Presbyopia (the progressive inability of the eye to focus on near objects as we age) is something to be considered when designing a UI. For example, in the area where a control is selected for inclusion on a form, hovering the mouse pointer over the control would (in earlier versions if the IDE) result in a pop-up containing the name of the control being hovered over. That pop-up did not have a different focal distance than the item being looked at and moving to the next control did not require refocusing on where the mouse is to move to the next item. Please restore the pop-up in the control selection area. From benoit.minisini at gambas-basic.org Wed Sep 20 20:02:27 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 20:02:27 +0200 Subject: [Gambas-user] Pop-up to identify control being selected? In-Reply-To: <16ff5d4a-66c4-e238-7c6c-a2732f3ef9bd@smartsonsite.com> References: <16ff5d4a-66c4-e238-7c6c-a2732f3ef9bd@smartsonsite.com> Message-ID: Le 20/09/2023 ? 18:41, sbungay a ?crit?: > GAMBAS 3.18.3. > > Presbyopia (the progressive inability of the eye to focus on near > objects as we age) is something to be considered when designing a UI. > For example, in the area where a control is selected for inclusion on a > form, hovering the mouse pointer over the control would (in earlier > versions if the IDE) result in a pop-up containing the name of the > control being hovered over. That pop-up did not have a different focal > distance than the item being looked at and moving to the next control > did not require refocusing on where the mouse is to move to the next item. > > Please restore the pop-up in the control selection area. > OK, done in last commit. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Wed Sep 20 20:03:16 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 20:03:16 +0200 Subject: [Gambas-user] Release of Gambas 3.18.4 Message-ID: <82b48a09-e290-7ff3-543b-489bc8bca0bf@gambas-basic.org> Hi, The release is now official, and Ubuntu packages are available on the Stable Gambas PPA. Regards, -- Beno?t Minisini. From benoit.minisini at gambas-basic.org Wed Sep 20 20:05:05 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 20:05:05 +0200 Subject: [Gambas-user] Pop-up to identify control being selected? In-Reply-To: References: <16ff5d4a-66c4-e238-7c6c-a2732f3ef9bd@smartsonsite.com> Message-ID: <1e336193-c645-5e00-1739-05d17a47f30d@gambas-basic.org> Le 20/09/2023 ? 20:02, Beno?t Minisini a ?crit?: > Le 20/09/2023 ? 18:41, sbungay a ?crit?: >> GAMBAS 3.18.3. >> >> Presbyopia (the progressive inability of the eye to focus on near >> objects as we age) is something to be considered when designing a UI. >> For example, in the area where a control is selected for inclusion on >> a form, hovering the mouse pointer over the control would (in earlier >> versions if the IDE) result in a pop-up containing the name of the >> control being hovered over. That pop-up did not have a different focal >> distance than the item being looked at and moving to the next control >> did not require refocusing on where the mouse is to move to the next >> item. >> >> Please restore the pop-up in the control selection area. >> > > OK, done in last commit. > > Regards, > If you really need it now, you just have to uncomment the line #46 in the FToolPanel.class file, recompile and reinstall the IDE. Regards, -- Beno?t Minisini. From sbungay at smartsonsite.com Wed Sep 20 20:13:15 2023 From: sbungay at smartsonsite.com (Smarts On Site) Date: Wed, 20 Sep 2023 14:13:15 -0400 Subject: [Gambas-user] Pop-up to identify control being selected? In-Reply-To: <1e336193-c645-5e00-1739-05d17a47f30d@gambas-basic.org> References: <16ff5d4a-66c4-e238-7c6c-a2732f3ef9bd@smartsonsite.com> <1e336193-c645-5e00-1739-05d17a47f30d@gambas-basic.org> Message-ID: <18ab3cbd678.27a9.7b18a53a2c01c31c232c1ae1614fbb8a@smartsonsite.com> Thank you Benoit. On September 20, 2023 14:07:04 Beno?t Minisini wrote: > Le 20/09/2023 ? 20:02, Beno?t Minisini a ?crit : >> Le 20/09/2023 ? 18:41, sbungay a ?crit : >>> GAMBAS 3.18.3. >>> >>> Presbyopia (the progressive inability of the eye to focus on near >>> objects as we age) is something to be considered when designing a UI. >>> For example, in the area where a control is selected for inclusion on >>> a form, hovering the mouse pointer over the control would (in earlier >>> versions if the IDE) result in a pop-up containing the name of the >>> control being hovered over. That pop-up did not have a different focal >>> distance than the item being looked at and moving to the next control >>> did not require refocusing on where the mouse is to move to the next >>> item. >>> >>> Please restore the pop-up in the control selection area. >>> >> >> OK, done in last commit. >> >> Regards, >> > > If you really need it now, you just have to uncomment the line #46 in > the FToolPanel.class file, recompile and reinstall the IDE. > > Regards, > > -- > Beno?t Minisini. > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From sharon at 455.co.il Wed Sep 20 20:23:51 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Wed, 20 Sep 2023 21:23:51 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <383652f5-0357-487b-a933-ed33c195775d@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> Message-ID: <20230920180921.M29534@455.co.il> ---------- Original Message ----------- From: T Lee Davidson To: user at lists.gambas-basic.org Sent: Wed, 20 Sep 2023 10:24:12 -0400 Subject: Re: [Gambas-user] How to load a new page on gb.web by code > On 9/19/23 16:10, Mayost Sharon wrote: > > Hello first thanks But I tried to put the code as you say, and it's still not good. 1. When I click the button on the second > > page it returns to the Main.webpage page 2. It is very inconvenient to write a lot of code inside Wabpage because if you can't > > stop and check for bugs, etc. Maybe I don't understand the process of the gb.web, but my expectation was that every page when I > > click on submit buttons that are supposed to perform an action should have been conducted on the page itself that was loaded, > > unless I specifically say in the action to go to another page What I currently understand is that every time he performs an > > action he always returns to the main page The question is, does it have to be this way? Thank you > > Well, since I don't have time at present to analyze the gb.web code to > determine how to answer your original question posed in the subject line, all > I can suggest at the moment is that you use Javascript to validate the form > data prior to it being submitted, and use Main.webpage as a main controller > similar to this: <% If Request.Post.Fields.Count > 0 Then Select > Request.Post["gb_action"] ' gb_action will be defined differently in each > distinct page Case "Webpage1" 'Render or Include Webpage1 > Case "Webpage2" 'Render or Include Webpage2' End Select Endif %> > > -- > Lee > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- ------- End of Original Message ------- Hello Thanks again And sorry for the English translation According to Beno?t answer See gb.web You shouldn't manage multiple pages on the same project, so you can't switch from page to page If I understand correctly it should actually be a PHP joke that has several PHP pages Then I move from page to page via ACTION or REDIRECT In GB, then you need to create several projects, each project is a page, and then the transition between one and the other will also be with ACTION and REDIRECT But instead of writing the name of the page with a PHP dot, we at GB will write for example: prj_web1.gambas prj_web2.gambas prj_web3.gambas ... Anyway, I'm also trying to reach a solution, I'm currently preparing an example. When I'm done I'll add it to this discussion And we will see if this is a correct solution From benoit.minisini at gambas-basic.org Wed Sep 20 20:50:26 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 20:50:26 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230920180921.M29534@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> Message-ID: <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> Le 20/09/2023 ? 20:23, Mayost Sharon a ?crit?: > > Hello > > Thanks again > And sorry for the English translation > > According to Beno?t answer > See gb.web > You shouldn't manage multiple pages on the same project, so you can't switch from page to page > If I understand correctly it should actually be a PHP joke that has several PHP pages > Then I move from page to page via ACTION or REDIRECT > In GB, then you need to create several projects, each project is a page, and then the transition between one and the other will also be with ACTION and REDIRECT > But instead of writing the name of the page with a PHP dot, we at GB will write for example: > prj_web1.gambas > prj_web2.gambas > prj_web3.gambas > ... > > Anyway, I'm also trying to reach a solution, I'm currently preparing an example. > When I'm done I'll add it to this discussion > And we will see if this is a correct solution > No, you didn't understand. You must create one WebPage for each page in one project. Then you create a startup module Main, and from the Main method of that Main module, you choose the page you want to render, according to the value of 'Request.Path'. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Wed Sep 20 23:01:45 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 20 Sep 2023 17:01:45 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> Message-ID: On 9/20/23 14:50, Beno?t Minisini wrote: > You?must?create?one?WebPage?for?each?page?in?one?project. > > Then you create a startup module Main, and from the Main method of that Main module, you choose the page you want to render, > according to the value?of?'Request.Path'. Mayost, Benoit just confirmed what I was thinking about using a Main module. (But, I hadn't thought of using Request.Path - nice tip.) Based on this, I have created a small demonstration project. The way I have done things is probably not the best way especially given the use of global variables in the Main module. But, perhaps it will give you some ideas. -- Lee P.S. If you're confused about the format of the attachment, see https://gambaswiki.org/wiki/howto/opengmailtxt -------------- next part -------------- H4sIAAAAAAAAA+xcB1gT2RYOxRVx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XcbZkezyG/nEWow3595J++sl72fzIUe5ngirPe8x3cDS6WZvM3MvHunw 74kGMCas3eS1eybUaJF7/eRHT4M0a+6VXWPEuevlfZ8CTIHmt49l/IOk9z/yQVTy6WOTM/z2ttVN AWuc/LNtZvCXIaLg51HJgMNw4TAenSdayf6QgxYA2WKnXtQXAS2RXmrtF4eqmtP+vnopjNBGwUL+ fqXweANlXRAV/WM9ELwg8b++YD4M21pL+AJFNV8JCCSAdwCb4y9ri789u0LYZyVfyYXyhypQmf78 B2Z/LNnuUyu0DE/eTrXopjx1fOY0GFqrWQX+Nz74/Au/4w/7f9x+34//p+bxT+z/kZD49f7vn4Jf 57/+e+PH/p8fRv+vOgKWYuP/2PmvUlJY2V/nv/4M/IH/f7zJ70/N45/gf+yv899+Dn7x/783fvD/ D6P/H8T/krJSv/j/Z+AP/E9pjpuebn9mHv/M/n/K+b+/+P9fj1/7//+98Zf3P/75Rv83+L/v/wch Lff3/C8t8+v9/z8FlHcu0tEdviVHh6XDimHFJOjo7KzFPG/aO1FeNE/5TPn3y5j/f8Uf/L/d768D /VPz+Kf03y///1Pwv/f/f6Pw/mH999fU/+6a/cJ/BT/8/w+j/x+l/yR/6b+fgT/wP+Xonz85j3+c /yXAD7/4/2fgF///e+MH/1OM/l/F/v8M/0vKyUj84v+fgT+u/99wdcDZ3Pwz8/hH+F9WUur3+T/s r/Wfn4K/53/Q84qBXSEtJScrK/8H/v9Dqs3/OfW/u2a/8F/BX9b//3yj/xv8v+b/JLESf2f/UtIS cr/m/34GDv/1/JdzP4YARtPeCYeREsPSXfgxJ/z7GYZ0JmDl7V1dFH9MEaq7Orv9R3t3bAIgDAUB tM822ruDoAtECSKCQgoLp1dT6QQivNf9K6/8zW3rPev5/BW+0jvo49DNR2rq0MZxiVPKTRWuHsso Xsp7ub8uAAAAAAAAAAAA4KdOgZG1bgDIAAA= From benoit.minisini at gambas-basic.org Wed Sep 20 23:07:36 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 20 Sep 2023 23:07:36 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> Message-ID: <168a56bf-9395-28c2-ff27-3f122f795bc9@gambas-basic.org> Le 20/09/2023 ? 23:01, T Lee Davidson a ?crit?: > On 9/20/23 14:50, Beno?t Minisini wrote: >> You?must?create?one?WebPage?for?each?page?in?one?project. >> >> Then you create a startup module Main, and from the Main method of >> that Main module, you choose the page you want to render, according to >> the value?of?'Request.Path'. > > Mayost, > > Benoit just confirmed what I was thinking about using a Main module. > (But, I hadn't thought of using Request.Path - nice tip.) > This is not really a tip, this is the only way to know what the users want to see (usually a different request path means a different page). Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Wed Sep 20 23:10:00 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 20 Sep 2023 17:10:00 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <168a56bf-9395-28c2-ff27-3f122f795bc9@gambas-basic.org> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <168a56bf-9395-28c2-ff27-3f122f795bc9@gambas-basic.org> Message-ID: <35ef97bc-6d63-41c8-a7c7-c469c76e1b17@gmail.com> On 9/20/23 17:07, Beno?t Minisini wrote: >> Benoit just confirmed what I was thinking about using a Main module. (But,?I?hadn't?thought?of?using?Request.Path?-?nice?tip.) >> > > This is not really a tip, this is the only way to know what the users > want?to?see?(usually?a?different?request?path?means?a?different?page). Well it was a tip for me! :-D -- Lee From brian at westwoodsvcs.com Thu Sep 21 03:14:43 2023 From: brian at westwoodsvcs.com (Brian G) Date: Wed, 20 Sep 2023 18:14:43 -0700 (PDT) Subject: [Gambas-user] _init inside modules? Message-ID: <649100987.15169.1695258883214.JavaMail.zimbra@westwoodsvcs.com> Should _init be called for modules, which in fact end up being a form of object? "Failure is the key to success; each mistake teaches us something" .. Morihei Ueshiba Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Thu Sep 21 04:27:22 2023 From: brian at westwoodsvcs.com (Brian G) Date: Wed, 20 Sep 2023 19:27:22 -0700 (PDT) Subject: [Gambas-user] Would it be useful if possible to send signals thru debug Message-ID: <2101535854.15233.1695263242839.JavaMail.zimbra@westwoodsvcs.com> I was wondering if it was possible to have the IDE be able to send different signals to the running app under test so as to correctly test the catching of signals, Or maybe there is already a way. Also I think I have noticed that when terminal closes the app no longer receives the sighup I am thinking that it did in the past. "Failure is the key to success; each mistake teaches us something" .. Morihei Ueshiba Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Thu Sep 21 06:41:02 2023 From: brian at westwoodsvcs.com (Brian G) Date: Wed, 20 Sep 2023 21:41:02 -0700 (PDT) Subject: [Gambas-user] Tasks signals mapped to main application_signal Message-ID: <1520318438.15393.1695271262905.JavaMail.zimbra@westwoodsvcs.com> When a task wants to capture a signal, the signal goes to the main application application_signal Not the one created inside the task, would it not be more correct to remap the signal handler included in the task definition rather that in the main module of the forked applications application_signal function. See attached program. It can be worked around, but what if, the main and tasks have differing signal needs? "Failure is the key to success; each mistake teaches us something" .. Morihei Ueshiba Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: TestSignals-0.0.2.tar.gz.gmail.txt URL: From sharon at 455.co.il Thu Sep 21 07:56:09 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Thu, 21 Sep 2023 08:56:09 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> Message-ID: <20230921055556.M36048@455.co.il> ---------- Original Message ----------- From: T Lee Davidson To: user at lists.gambas-basic.org Sent: Wed, 20 Sep 2023 17:01:45 -0400 Subject: Re: [Gambas-user] How to load a new page on gb.web by code > On 9/20/23 14:50, Beno?t Minisini wrote: > > You?must?create?one?WebPage?for?each?page?in?one?project. > > > > Then you create a startup module Main, and from the Main method of that Main module, you choose the page you want to render, > > according to the value?of?'Request.Path'. > > Mayost, > > Benoit just confirmed what I was thinking about using a Main module. (But, I > hadn't thought of using Request.Path - nice tip.) > > Based on this, I have created a small demonstration project. The way I have > done things is probably not the best way especially given the use of global > variables in the Main module. But, perhaps it will give you some ideas. > > -- > Lee > > P.S. If you're confused about the format of the attachment, see https://gambaswiki.org/wiki/howto/opengmailtxt ------- End of Original Message ------- Hello Thank you It helped me move forward Regarding the Request.Path issue, I still don't understand what it can solve Suppose I write on the page in the part of the form like this:
1. If I'm inside the IDE it doesn't do anything, it doesn't really open the page 2. If I compile the project and put it inside the HTTPD server Then I go to: http://127.0.0.1/cgi-bin/w7.gambas I get the page fine But if I click the submit button It says that there is no such page and in the address line of the browser you see that it has changed to http://127.0.0.1/cgi-bin/Webpage1.webpage From gradobag at gradobag.it Thu Sep 21 11:24:30 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 21 Sep 2023 11:24:30 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230921055556.M36048@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> Message-ID: Il 21/09/23 07:56, Mayost Sharon ha scritto: > ---------- Original Message ----------- > From: T Lee Davidson > To: user at lists.gambas-basic.org > Sent: Wed, 20 Sep 2023 17:01:45 -0400 > Subject: Re: [Gambas-user] How to load a new page on gb.web by code > >> On 9/20/23 14:50, Beno?t Minisini wrote: >>> You?must?create?one?WebPage?for?each?page?in?one?project. >>> >>> Then you create a startup module Main, and from the Main method of that Main module, you choose the page you want to render, >>> according to the value?of?'Request.Path'. >> Mayost, >> >> Benoit just confirmed what I was thinking about using a Main module. (But, I >> hadn't thought of using Request.Path - nice tip.) >> >> Based on this, I have created a small demonstration project. The way I have >> done things is probably not the best way especially given the use of global >> variables in the Main module. But, perhaps it will give you some ideas. >> >> -- >> Lee >> >> P.S. If you're confused about the format of the attachment, see https://gambaswiki.org/wiki/howto/opengmailtxt > ------- End of Original Message ------- > > Hello > Thank you > > It helped me move forward > > Regarding the Request.Path issue, I still don't understand what it can solve > > Suppose I write on the page in the part of the form like this: > > 1. If I'm inside the IDE it doesn't do anything, it doesn't really open the page > 2. If I compile the project and put it inside the HTTPD server > Then I go to: > http://127.0.0.1/cgi-bin/w7.gambas > I get the page fine > But if I click the submit button > It says that there is no such page and in the address line of the browser you see that it has changed to > http://127.0.0.1/cgi-bin/Webpage1.webpage > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Hi, Not sure if that's what you want, I made a small change to 'page' in Main. See attachment Regards Gianluigi P.S: Have you read the lessons on the German book? -------------- next part -------------- H4sIAAAAAAAAA+xaCVhT17MPm2IsimIr4sI1CogFspEAliSsssiigBuKkuUSAiGB5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DueDm6uSr8PiFZ3c3F3cz0M6/4/T4r+p9TDBCNrm2sOvnil0wwG1rZO 1vb4O0oyDF6e+L/DQPF3vP/+/d/dAP+f4/f8/x3/+z/q/Gf5P/Ff/wr87v9bDnfAue925/5/SRn/ afyvrMx/PP9HRv5P/Ne/BKYaeE+nu27umIuud+/cN2e4ZAuyvOT/jgj8w8//b+Pf9d/fh/D9D+J/ udMyf/j/D/7gD/7gD/7gD/7gD/7gD/7gD/7gD/7g/wb+DYXa0TYAeAAA From benoit.minisini at gambas-basic.org Thu Sep 21 12:11:55 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Sep 2023 12:11:55 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230921055556.M36048@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> Message-ID: <9db4cb60-4f76-da08-f5c0-e31ba67cbd34@gambas-basic.org> Le 21/09/2023 ? 07:56, Mayost Sharon a ?crit?: > > Hello > Thank you > > It helped me move forward > > Regarding the Request.Path issue, I still don't understand what it can solve > > Suppose I write on the page in the part of the form like this: > > 1. If I'm inside the IDE it doesn't do anything, it doesn't really open the page > 2. If I compile the project and put it inside the HTTPD server > Then I go to: > http://127.0.0.1/cgi-bin/w7.gambas > I get the page fine > But if I click the submit button > It says that there is no such page and in the address line of the browser you see that it has changed to > http://127.0.0.1/cgi-bin/Webpage1.webpage > The 'action' attribute is an URL, not the name of Gambas class inside your project. I think you mistake what happens on the client, and what happens on the server. How can you map the URL to your webpage? Inside the server code, by using the 'Request.Path' property. It tells you the URL of the request, from which you decide which WebPage you will display (or not, depending on the request). Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Thu Sep 21 14:54:06 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Sep 2023 08:54:06 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230921055556.M36048@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> Message-ID: <2eba729c-ae4e-4bda-852d-4e42aa56372d@gmail.com> On 9/21/23 01:56, Mayost Sharon wrote: > Regarding the Request.Path issue, I still don't understand what it can solve Request.Path would be useful if you had a link to one webpage from another webpage. Let's suppose you had a link to Home in Webpage1 as "Home". When the link is clicked and the Gambas script is called, Request.Path would hold the value "/Home". This would tell you that the user wants the Home page, so you would render it. -- Lee From t.lee.davidson at gmail.com Thu Sep 21 14:58:52 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Sep 2023 08:58:52 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> Message-ID: <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> On 9/21/23 05:24, Gianluigi wrote: > Have?you?read?the?lessons?on?the?German?book? I thought of referring Mayost to that as well, Gianluigi. But, I searched and searched and could not find that excellent multi-page application that Hans and Claus developed. I no longer have it on my hard drive. -- Lee From gradobag at gradobag.it Thu Sep 21 15:09:17 2023 From: gradobag at gradobag.it (Gianluigi) Date: Thu, 21 Sep 2023 15:09:17 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> Message-ID: <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> Il 21/09/23 14:58, T Lee Davidson ha scritto: > On 9/21/23 05:24, Gianluigi wrote: >> Have?you?read?the?lessons?on?the?German?book? > > I thought of referring Mayost to that as well, Gianluigi. But, I > searched and searched and could not find that excellent multi-page > application that Hans and Claus developed. I no longer have it on my > hard drive. > > Hi Lee, I think you are referring to this: https://gambas-buch.de/lib/exe/fetch.php?media=k24:k24.6:k24.6.2.4:webapp4-3.7.5.tar.gz Instead this is the lesson of what was mentioned by Benoit: https://gambas-buch.de/doku.php?id=k24:k24.6:k24.6.1:start&s[]=request&s[]=path Regards Gianluigi From hans at gambas-buch.de Thu Sep 21 15:14:07 2023 From: hans at gambas-buch.de (Hans Lehmann) Date: Thu, 21 Sep 2023 15:14:07 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> Message-ID: Am 21.09.23 um 14:58 schrieb T Lee Davidson: > I thought of referring Mayost to that as well, Gianluigi. But, I > searched and searched and could not find that excellent multi-page > application that Hans and Claus developed. I no longer have it on my > hard drive. Hi. I informed Mayost and he said that the tip helped him. Regards Hans From dickson.tim at googlemail.com Thu Sep 21 16:13:08 2023 From: dickson.tim at googlemail.com (Tim Dickson) Date: Thu, 21 Sep 2023 15:13:08 +0100 Subject: [Gambas-user] Pre-release of Gambs 3.18.4 In-Reply-To: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> References: <43a5c7f4-499c-2274-e2a4-ff0be84969c5@gambas-basic.org> Message-ID: <46487ac6-5e1d-497c-bc38-617dc6e4b573@googlemail.com> Gambas 3.18.4 slackbuild submitted, so hopefully should go live this weekend. (at https://slackbuilds.org/repository/15.0/development/gambas3/?? ) regards, Tim On 17/09/2023 22:01, Beno?t Minisini wrote: > Hi, > > Here is the pre-release of Gambas 3.18.4. > > Release notes are at: > https://gambaswiki.org/wiki/doc/release/3.18.4. > > Source code is at: > https://gitlab.com/gambas/gambas/-/archive/3.18.4/gambas-3.18.4.tar.bz2 > > Please download and compile it, and tell me if you encounter any problem. > > As usual, Ubuntu packages will follow in a few days on the Gambas > Stable PPA, if no problem is encountered. > > Regards, > From t.lee.davidson at gmail.com Thu Sep 21 23:24:29 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Sep 2023 17:24:29 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> Message-ID: <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> On 9/21/23 09:09, Gianluigi wrote: > I?think?you?are?referring?to?this: > > https://gambas-buch.de/lib/exe/fetch.php?media=k24:k24.6:k24.6.2.4:webapp4-3.7.5.tar.gz Yes, that is indeed the application to which I was referring. Thank you. And after looking some more, I now know why I couldn't find it. The English version chapter link for "24.6.2 WebPage" [https://gambas-buch.de/dwen/doku.php?id=k24:k24.6:k24.6.2:start] says: "This topic does not exist yet" -- Lee From t.lee.davidson at gmail.com Thu Sep 21 23:28:54 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Sep 2023 17:28:54 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> Message-ID: <2e71b46d-56a4-4246-ada7-5a95fff6689e@gmail.com> On 9/21/23 09:14, Hans Lehmann wrote: > Am 21.09.23 um 14:58 schrieb T Lee Davidson: >> I thought of referring Mayost to that as well, Gianluigi. But, I searched and searched and could not find that excellent >> multi-page application that Hans and Claus developed. I no longer have it on my hard drive. > > Hi. I informed Mayost and he said that the tip helped him. > > Regards > Hans Great, Hans. Thank you. -- Lee From akrobaticone at gmail.com Fri Sep 22 08:42:55 2023 From: akrobaticone at gmail.com (Michele V.) Date: Fri, 22 Sep 2023 08:42:55 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing Message-ID: HI In stable gambas PPA there are no packages for Ubuntu 20.04 for Gambas 3.18.4 is there perhaps some problem? Regards Michele ------------------------------------------------------------------------------------------------------------------------------------------- Io scrivo da UBUNTU GNU/LINUX -------------- next part -------------- An HTML attachment was scrubbed... URL: From hans at gambas-buch.de Fri Sep 22 09:55:22 2023 From: hans at gambas-buch.de (Hans Lehmann) Date: Fri, 22 Sep 2023 09:55:22 +0200 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> Message-ID: Am 21.09.23 um 23:24 schrieb T Lee Davidson: > On 9/21/23 09:09, Gianluigi wrote: >> I?think?you?are?referring?to?this: >> >> https://gambas-buch.de/lib/exe/fetch.php?media=k24:k24.6:k24.6.2.4:webapp4-3.7.5.tar.gz >> > > Yes, that is indeed the application to which I was referring. Thank you. > > And after looking some more, I now know why I couldn't find it. > The English version chapter link for "24.6.2 WebPage" > [https://gambas-buch.de/dwen/doku.php?id=k24:k24.6:k24.6.2:start] says: > "This topic does not exist yet" Hello Lee. I am not very happy myself that many chapters have not been translated yet. This had been done in the past by my granddaughter Emma. For professional reasons, she had to stop translating (temporarily). But she promised that it will continue from October 2023. Let's hope for the best. With kind regards Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Fri Sep 22 11:44:21 2023 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 22 Sep 2023 11:44:21 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: References: Message-ID: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> Am 22.09.23 um 08:42 schrieb Michele V.: > In stable gambas PPA there are no packages for Ubuntu 20.04 for Gambas > 3.18.4 > is there perhaps some problem? Yes, i'm waiting also. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From sharon at 455.co.il Fri Sep 22 13:09:05 2023 From: sharon at 455.co.il (Mayost Sharon) Date: Fri, 22 Sep 2023 14:09:05 +0300 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> Message-ID: <20230922110151.M94242@455.co.il> ---------- Original Message ----------- From: Hans Lehmann To: user at lists.gambas-basic.org Sent: Fri, 22 Sep 2023 09:55:22 +0200 Subject: Re: [Gambas-user] How to load a new page on gb.web by code > Am 21.09.23 um 23:24 schrieb T Lee Davidson: > On9/21/23 09:09, Gianluigi wrote: > I?think?you?are?referring?to?this: > > https://gambas-buch.de/lib/exe/fetch.php?media=k24:k24.6:k24.6.2.4:webapp4-3.7.5.tar.gz > > Yes, that is indeed the application to which I was referring.Thank you. > > And after looking some more, I now know why I couldn't find it. > The English version chapter link for "24.6.2 WebPage" [https://gambas-buch.de/dwen/doku.php?id=k24:k24.6:k24.6.2:start]says: > "This topic does not exist yet" > > Hello Lee. > > I am not very happy myself that many chapters have not beentranslated yet. > This had been done in the past by my granddaughterEmma. For professional > reasons, she had to stop translating(temporarily). But she promised that it > will continue from October2023. Let's hope for the best. > > With kind regards > > Hans ------- End of Original Message ------- Hello First, thank you very much again for the guides There is a lot of information Beno?t wrote in answer to my question that you should use: "Request.Path" I went through your webapp4-3.7.5 project I don't see you using "Request.Path" So maybe I'm missing Beno?t point Thanks From gradobag at gradobag.it Fri Sep 22 13:32:33 2023 From: gradobag at gradobag.it (Gianluigi) Date: Fri, 22 Sep 2023 13:32:33 +0200 Subject: [Gambas-user] Error from GPU Message-ID: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> Hi, A friend of ours (Franco) from the Italian forum updated a Gambas project. Now it gets this error message from the GPU, in a terminal window: "libGL error: MESA-LOADER: failed to open nouveau: /usr/lib64/dri/nouveau_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib64/dri, suffix _dri) libGL error: failed to load driver: nouveau" Both the project and the system work fine anyway and he wouldn't want to add the driver. Question: Is it possible to avoid seeing the error? Attached is the system information and screenshot (*) Regards Gianluigi (*) [System] Gambas=3.18.4 07c51f51 (stable) OperatingSystem=Linux Distribution=openSUSE Leap 15.4 Kernel=5.14.21-150400.24.81-default Architecture=x86_64 Cores=12 Memory=15849M Language=it_IT.UTF-8 Desktop=KDE DesktopResolution=96 DesktopScale=7 WidgetTheme=breeze Font=Noto Sans,10 [Programs] gcc=gcc (SUSE Linux) 7.5.0 pngquant=2.11.2 (November 2017) trans=Translate Shell?????? 0.9.6.12 [Libraries] Cairo=/usr/lib64/libcairo.so.2.11600.0 Curl=/usr/lib64/libcurl.so.4.8.0 DBus=/usr/lib64/libdbus-1.so.3.19.4 GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.33 GDK3=/usr/lib64/libgdk-3.so.0.2404.30 GStreamer=/usr/lib64/libgstreamer-1.0.so.0.2001.0 GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.33 GTK+3=/usr/lib64/libgtk-3.so.0.2404.30 OpenGL=/usr/lib64/libGL.so.1.7.0 Poppler=/usr/lib64/libpoppler.so.117.0.0 QT5=/usr/lib64/libQt5Core.so.5.15.2 RSvg=/usr/lib64/librsvg-2.so.2.48.0 SDL=/usr/lib64/libSDL2-2.0.so.0.8.0 SQLite 3=/usr/lib64/libsqlite3.so.0.8.6 [Environment] AUDIODRIVER=pulseaudio COLORTERM=1 CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu CPU=x86_64 CSHEDIT=emacs DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma5 DISPLAY=:0 FROM_HEADER= GB_GUI=gb.qt5 GPG_TTY=non ? un tty GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_IM_MODULE=cedilla GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME= HOST= HOSTNAME= HOSTTYPE=x86_64 JAVA_BINDIR=/usr/lib64/jvm/jre-11-openjdk/bin JAVA_HOME=/usr/lib64/jvm/jre-11-openjdk JAVA_ROOT=/usr/lib64/jvm/jre-11-openjdk JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11 KDE_APPLICATIONS_AS_SCOPE=1 KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LC_ALL=it_IT.UTF-8 LESS=-M -I -R LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME= MACHTYPE=x86_64-suse-linux MAIL=/var/spool/mail/ MANPATH=/usr/local/man:/usr/share/man MINICOM=-c on MORE=-sl OSTYPE=linux PAGER=less PATH=/bin:/usr/local/bin:/usr/bin:/bin PROFILEREAD=true PWD= PYTHONSTARTUP=/etc/pythonstart QEMU_AUDIO_DRV=pa QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_IM_MODULE=xim QT_IM_SWITCHER=imsw-multi QT_LOGGING_RULES=*.debug=false SESSION_MANAGER=local/:@/tmp/.ICE-unix/2900,unix/:/tmp/.ICE-unix/2900 SHELL=/bin/bash SHLVL=0 SSH_ASKPASS=/usr/lib/ssh/ssh-askpass SYSTEMD_EXEC_PID=1789 TERM=xterm TZ=:/etc/localtime USER= WINDOWMANAGER=/usr/bin/startplasma-x11 XAUTHLOCALHOSTNAME= XAUTHORITY=/run/user/1000/xauth_tBduYX XCURSOR_SIZE=24 XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/.config/kdedefaults:/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=21 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session11 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XMODIFIERS=@im=local XNLSPATH=/usr/share/X11/nls XSESSION_IS_UP=yes force_s3tc_enable=true -------------- next part -------------- A non-text attachment was scrubbed... Name: gpu-error.jpeg Type: image/jpeg Size: 21753 bytes Desc: not available URL: From benoit.minisini at gambas-basic.org Fri Sep 22 14:26:48 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Sep 2023 14:26:48 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> Message-ID: Le 22/09/2023 ? 11:44, Christof Thalhofer a ?crit?: > Am 22.09.23 um 08:42 schrieb Michele V.: > >> In stable gambas PPA there are no packages for Ubuntu 20.04 for Gambas >> 3.18.4 >> is there perhaps some problem? > > Yes, i'm? waiting also. > > Alles Gute > > Christof Thalhofer > Sorry, it seems I forgot to build that distribution - I have to update and request a build for each one manually. If I could automate this process, it would not happen. Regards, -- Beno?t Minisini. From adamnt42 at gmail.com Fri Sep 22 14:30:40 2023 From: adamnt42 at gmail.com (BB) Date: Fri, 22 Sep 2023 22:00:40 +0930 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> Message-ID: On 22/9/23 5:25 pm, Hans Lehmann wrote: > Am 21.09.23 um 23:24 schrieb T Lee Davidson: >> On 9/21/23 09:09, Gianluigi wrote: >>> I?think?you?are?referring?to?this: >>> >>> https://gambas-buch.de/lib/exe/fetch.php?media=k24:k24.6:k24.6.2.4:webapp4-3.7.5.tar.gz >>> >> >> Yes, that is indeed the application to which I was referring. Thank you. >> >> And after looking some more, I now know why I couldn't find it. >> The English version chapter link for "24.6.2 WebPage" >> [https://gambas-buch.de/dwen/doku.php?id=k24:k24.6:k24.6.2:start] says: >> "This topic does not exist yet" > > Hello Lee. > > I am not very happy myself that many chapters have not been translated > yet. This had been done in the past by my granddaughter Emma. For > professional reasons, she had to stop translating (temporarily). But > she promised that it will continue from October 2023. Let's hope for > the best. > > With kind regards > > Hans > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- In that case, so many thanks to Emma. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.minisini at gambas-basic.org Fri Sep 22 14:54:11 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Sep 2023 14:54:11 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> Message-ID: <38d68d08-c42d-de24-b848-fc735390abde@gambas-basic.org> Le 22/09/2023 ? 14:26, Beno?t Minisini a ?crit?: > Le 22/09/2023 ? 11:44, Christof Thalhofer a ?crit?: >> Am 22.09.23 um 08:42 schrieb Michele V.: >> >>> In stable gambas PPA there are no packages for Ubuntu 20.04 for Gambas >>> 3.18.4 >>> is there perhaps some problem? >> >> Yes, i'm? waiting also. >> >> Alles Gute >> >> Christof Thalhofer >> > > Sorry, it seems I forgot to build that distribution - I have to update > and request a build for each one manually. If I could automate this > process, it would not happen. > > Regards, > It should be ok now. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Fri Sep 22 15:18:25 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 22 Sep 2023 09:18:25 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: <20230922110151.M94242@455.co.il> References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> <20230922110151.M94242@455.co.il> Message-ID: On 9/22/23 07:09, Mayost Sharon wrote: > Beno?t wrote in answer to my question that you should use: "Request.Path" I went through your webapp4-3.7.5 project I don't see > you using "Request.Path" So maybe I'm missing Beno?t point Beno?t didn't mean that you should /always/ use Request.Path. Request.Path is applicable if you have links in your WebPages to other Webpages. For example, if you had a link to the Home webpage in Webpage1, like so "Go to Home". In that case, you would need to use Request.Path to determine which of your application's webpages was requested. But in your application where you determine which page to render based solely on web form submissions, the use of Request.Path does not apply. -- Lee From t.lee.davidson at gmail.com Fri Sep 22 15:24:49 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 22 Sep 2023 09:24:49 -0400 Subject: [Gambas-user] How to load a new page on gb.web by code In-Reply-To: References: <20230918180533.M14403@455.co.il> <20230918210359.M37463@455.co.il> <20230919082959.M42262@455.co.il> <6650c54c-a480-453a-a7d8-f244f319d0c3@gmail.com> <20230919195927.M80874@455.co.il> <383652f5-0357-487b-a933-ed33c195775d@gmail.com> <20230920180921.M29534@455.co.il> <91519b0b-8a48-262c-2837-6e41819c76bc@gambas-basic.org> <20230921055556.M36048@455.co.il> <2e2bc1eb-f408-49c6-9c43-fa0fabb48913@gmail.com> <9262ad34-aa58-9ca8-b929-12eb98a1c5ad@gradobag.it> <56cb148c-8d51-4286-bfe4-bf2dd2b62199@gmail.com> Message-ID: On 9/22/23 03:55, Hans Lehmann wrote: > I am not very happy myself that many chapters have not been translated yet. This had been done in the past by my granddaughter > Emma. For professional reasons, she had to stop translating (temporarily). But she promised that it will continue from October > 2023. Let's hope for the best. Oh. I did not realize that the translation was an ongoing process, and so thought the missing pages were merely an oversight. (And, I agree with BB. Many thanks to Emma.) When things slow down for the season so I have more free time, I might be able to help with that if you wish. (To keep Mayost's thread on-topic, you may contact me off-list about that.) -- Lee From t.lee.davidson at gmail.com Fri Sep 22 15:29:52 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 22 Sep 2023 09:29:52 -0400 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> Message-ID: <1f09d9ff-1583-41a3-9c79-61ca2c48b32d@gmail.com> On 9/22/23 08:26, Beno?t Minisini wrote: > Sorry, it seems I forgot to build that distribution - I have to update and request a build for each one manually. If I could > automate this process,?it?would?not?happen. I am not very familiar with GitLab, but doesn't it provide build automation? And, doesn't it interface with LaunchPad? (Or, are you already using such a process [and I'm simply speaking from my other end] ?) -- Lee From benoit.minisini at gambas-basic.org Fri Sep 22 15:36:34 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Sep 2023 15:36:34 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: <1f09d9ff-1583-41a3-9c79-61ca2c48b32d@gmail.com> References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> <1f09d9ff-1583-41a3-9c79-61ca2c48b32d@gmail.com> Message-ID: <03578dad-a277-1231-a73f-7181d1c19bc8@gambas-basic.org> Le 22/09/2023 ? 15:29, T Lee Davidson a ?crit?: > On 9/22/23 08:26, Beno?t Minisini wrote: >> Sorry, it seems I forgot to build that distribution - I have to update >> and request a build for each one manually. If I could automate this >> process,?it?would?not?happen. > > I am not very familiar with GitLab, but doesn't it provide build > automation? And, doesn't it interface with LaunchPad? > (Or, are you already using such a process [and I'm simply speaking from > my other end] ?) > Nothing to do with GitLab. Ubuntu PPA are made on Launchpad. Launchpad builds can be run daily or manually for each distribution or group of distributions: you create a "recipe", and each recipe builds one or more distributions, provided they are build the same way, i.e. with the same packages dependencies. And I didn't find a way to build the recipes on demand, so I have to request their build manually one by one. Regards, -- Beno?t Minisini. From t.lee.davidson at gmail.com Fri Sep 22 15:47:03 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 22 Sep 2023 09:47:03 -0400 Subject: [Gambas-user] Error from GPU In-Reply-To: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> References: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> Message-ID: <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> On 9/22/23 07:32, Gianluigi wrote: > A?friend?of?ours?(Franco)?from?the?Italian?forum?updated?a?Gambas?project. > Now?it?gets?this?error?message?from?the?GPU,?in?a?terminal?window: > "libGL error: MESA-LOADER: failed to open nouveau: /usr/lib64/dri/nouveau_dri.so: impossibile aprire il file oggetto condiviso: > File o directory non esistente (search paths /usr/lib64/dri, suffix?_dri) > libGL?error:?failed?to?load?driver:?nouveau" > Both the project and the system work fine anyway and he wouldn't want to add?the?driver. > Question:?Is?it?possible?to?avoid?seeing?the?error? I think probably not when using libGL. I don't blame Franco for not wanting to install the Mesa driver. Having to use nouveau for Nvidia cards is bad enough. Relatively recently, I swapped out a Radeon card for an Nvidia hoping to get better performance; and also got the "failed to load nouveau.dri" errors when testing it. The performance was absolutely pathetic. I installed the Mesa driver hoping to fix the performance issue, and all it did was muck things up. I promptly swapped back to the Radeon card. -- Lee Leap 15.5 From gradobag at gradobag.it Fri Sep 22 16:26:28 2023 From: gradobag at gradobag.it (Gianluigi) Date: Fri, 22 Sep 2023 16:26:28 +0200 Subject: [Gambas-user] Error from GPU In-Reply-To: <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> References: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> Message-ID: <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> Il 22/09/23 15:47, T Lee Davidson ha scritto: > On 9/22/23 07:32, Gianluigi wrote: >> A?friend?of?ours?(Franco)?from?the?Italian?forum?updated?a?Gambas?project. >> >> Now?it?gets?this?error?message?from?the?GPU,?in?a?terminal?window: >> "libGL error: MESA-LOADER: failed to open nouveau: >> /usr/lib64/dri/nouveau_dri.so: impossibile aprire il file oggetto >> condiviso: File o directory non esistente (search paths >> /usr/lib64/dri, suffix?_dri) >> libGL?error:?failed?to?load?driver:?nouveau" >> Both the project and the system work fine anyway and he wouldn't want >> to add?the?driver. >> Question:?Is?it?possible?to?avoid?seeing?the?error? > > I think probably not when using libGL. I don't blame Franco for not > wanting to install the Mesa driver. Having to use nouveau for Nvidia > cards is bad enough. > > Relatively recently, I swapped out a Radeon card for an Nvidia hoping > to get better performance; and also got the "failed to load > nouveau.dri" errors when testing it. The performance was absolutely > pathetic. I installed the Mesa driver hoping to fix the performance > issue, and all it did was muck things up. I promptly swapped back to > the Radeon card. > > Your answer is disheartening :-( I have never used Suse if it were Ubuntu I would recommend using a proprietary driver which has become open source since 2022, but frankly I don't feel like recommending it on a system I don't know. If Benoit has not an idea, I think Franco have to adapt to closing the terminal and that's it. Thank you very much. Gianluigi From benoit.minisini at gambas-basic.org Fri Sep 22 16:29:04 2023 From: benoit.minisini at gambas-basic.org (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Sep 2023 16:29:04 +0200 Subject: [Gambas-user] Error from GPU In-Reply-To: <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> References: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> Message-ID: Le 22/09/2023 ? 16:26, Gianluigi a ?crit?: > Il 22/09/23 15:47, T Lee Davidson ha scritto: >> On 9/22/23 07:32, Gianluigi wrote: >>> A?friend?of?ours?(Franco)?from?the?Italian?forum?updated?a?Gambas?project. >>> Now?it?gets?this?error?message?from?the?GPU,?in?a?terminal?window: >>> "libGL error: MESA-LOADER: failed to open nouveau: >>> /usr/lib64/dri/nouveau_dri.so: impossibile aprire il file oggetto >>> condiviso: File o directory non esistente (search paths >>> /usr/lib64/dri, suffix?_dri) >>> libGL?error:?failed?to?load?driver:?nouveau" >>> Both the project and the system work fine anyway and he wouldn't want >>> to add?the?driver. >>> Question:?Is?it?possible?to?avoid?seeing?the?error? >> >> I think probably not when using libGL. I don't blame Franco for not >> wanting to install the Mesa driver. Having to use nouveau for Nvidia >> cards is bad enough. >> >> Relatively recently, I swapped out a Radeon card for an Nvidia hoping >> to get better performance; and also got the "failed to load >> nouveau.dri" errors when testing it. The performance was absolutely >> pathetic. I installed the Mesa driver hoping to fix the performance >> issue, and all it did was muck things up. I promptly swapped back to >> the Radeon card. >> >> > Your answer is disheartening :-( > I have never used Suse if it were Ubuntu I would recommend using a > proprietary driver which has become open source since 2022, but frankly > I don't feel like recommending it on a system I don't know. > > If Benoit has not an idea, I think Franco have to adapt to closing the > terminal and that's it. > > Thank you very much. > > Gianluigi > When I see such a message, it usually means that the system is broken. I don't see how Gambas can have any relation with that. Regards, -- Beno?t Minisini. From gradobag at gradobag.it Fri Sep 22 16:38:07 2023 From: gradobag at gradobag.it (Gianluigi) Date: Fri, 22 Sep 2023 16:38:07 +0200 Subject: [Gambas-user] Error from GPU In-Reply-To: References: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> Message-ID: <71962055-d8f0-d87b-5992-36cb4439761c@gradobag.it> Il 22/09/23 16:29, Beno?t Minisini ha scritto: > Le 22/09/2023 ? 16:26, Gianluigi a ?crit?: >> Il 22/09/23 15:47, T Lee Davidson ha scritto: >>> On 9/22/23 07:32, Gianluigi wrote: >>>> A?friend?of?ours?(Franco)?from?the?Italian?forum?updated?a?Gambas?project. >>>> >>>> Now?it?gets?this?error?message?from?the?GPU,?in?a?terminal?window: >>>> "libGL error: MESA-LOADER: failed to open nouveau: >>>> /usr/lib64/dri/nouveau_dri.so: impossibile aprire il file oggetto >>>> condiviso: File o directory non esistente (search paths >>>> /usr/lib64/dri, suffix?_dri) >>>> libGL?error:?failed?to?load?driver:?nouveau" >>>> Both the project and the system work fine anyway and he wouldn't >>>> want to add?the?driver. >>>> Question:?Is?it?possible?to?avoid?seeing?the?error? >>> >>> I think probably not when using libGL. I don't blame Franco for not >>> wanting to install the Mesa driver. Having to use nouveau for Nvidia >>> cards is bad enough. >>> >>> Relatively recently, I swapped out a Radeon card for an Nvidia >>> hoping to get better performance; and also got the "failed to load >>> nouveau.dri" errors when testing it. The performance was absolutely >>> pathetic. I installed the Mesa driver hoping to fix the performance >>> issue, and all it did was muck things up. I promptly swapped back to >>> the Radeon card. >>> >>> >> Your answer is disheartening :-( >> I have never used Suse if it were Ubuntu I would recommend using a >> proprietary driver which has become open source since 2022, but >> frankly I don't feel like recommending it on a system I don't know. >> >> If Benoit has not an idea, I think Franco have to adapt to closing >> the terminal and that's it. >> >> Thank you very much. >> >> Gianluigi >> > > When I see such a message, it usually means that the system is broken. > I don't see how Gambas can have any relation with that. > > Regards, > Ok, I'll pass your answers on to Franco. Many thanks again to both of you Regards Gianluigi From gradobag at gradobag.it Fri Sep 22 16:56:40 2023 From: gradobag at gradobag.it (Gianluigi) Date: Fri, 22 Sep 2023 16:56:40 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: <38d68d08-c42d-de24-b848-fc735390abde@gambas-basic.org> References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> <38d68d08-c42d-de24-b848-fc735390abde@gambas-basic.org> Message-ID: <59615cc0-e7e1-a437-7b7b-2b9a8079f0b8@gradobag.it> Il 22/09/23 14:54, Beno?t Minisini ha scritto: > Le 22/09/2023 ? 14:26, Beno?t Minisini a ?crit?: >> Le 22/09/2023 ? 11:44, Christof Thalhofer a ?crit?: >>> Am 22.09.23 um 08:42 schrieb Michele V.: >>> >>>> In stable gambas PPA there are no packages for Ubuntu 20.04 for Gambas >>>> 3.18.4 >>>> is there perhaps some problem? >>> >>> Yes, i'm? waiting also. >>> >>> Alles Gute >>> >>> Christof Thalhofer >>> >> >> Sorry, it seems I forgot to build that distribution - I have to >> update and request a build for each one manually. If I could automate >> this process, it would not happen. >> >> Regards, >> > > It should be ok now. > > Regards, > The update came immediately and well. Perfect thanks Gianluigi From chrisml at deganius.de Fri Sep 22 17:39:12 2023 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 22 Sep 2023 17:39:12 +0200 Subject: [Gambas-user] Gambas 3.18.4 PPA Ubuntu 20.04 missing In-Reply-To: <38d68d08-c42d-de24-b848-fc735390abde@gambas-basic.org> References: <6c35d878-db60-8607-06b1-6c1341987abd@deganius.de> <38d68d08-c42d-de24-b848-fc735390abde@gambas-basic.org> Message-ID: <55bb595c-73d4-b7f9-947b-c68de4e6d8d4@deganius.de> Am 22.09.23 um 14:54 schrieb Beno?t Minisini: > It should be ok now. Yes, thank you very much! :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From t.lee.davidson at gmail.com Sat Sep 23 00:29:45 2023 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 22 Sep 2023 18:29:45 -0400 Subject: [Gambas-user] Error from GPU In-Reply-To: <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> References: <939594e3-4404-5380-b6d1-574213b7d3b3@gradobag.it> <047df706-7407-4858-9c11-3e7fcd622103@gmail.com> <9eca52e2-8973-8643-fac0-280bc9074ff7@gradobag.it> Message-ID: <3a452db1-5913-4cdf-9df1-daa5a535e714@gmail.com> On 9/22/23 10:26, Gianluigi wrote: > I have never used Suse if it were Ubuntu I would recommend using a proprietary driver which has become open source since 2022, > but frankly I?don't?feel?like?recommending?it?on?a?system?I?don't?know. I don't think there would be any issue with an Nvidia proprietary driver, even on openSUSE. However, there may be an issue getting a proprietary driver for his graphics card, depending on how old it is. There may no longer be a driver available that is not already End Of Life, and therefore, no longer supported or "guaranteed" to work. -- Lee