From marc at dommelstein.nl Tue Oct 1 11:00:23 2024 From: marc at dommelstein.nl (Marc Weustink) Date: Tue, 1 Oct 2024 11:00:23 +0200 Subject: [Lazarus] Lazarus server under DDOS Message-ID: Hi, The Lazarus server is currently under heavy DDOS. This affects the Lazarus main site, the Lazarus packages, the Lazarus mailing list archives and the Lazarus+Freepascal forum. I've enabled a rate limiter so the sites should be available again (in the first few seconds it was active, it blocked 10k connection attempts) but it might have some side effects using the forum. I hope it gets over soon. Marc From michalis.kambi at gmail.com Tue Oct 1 17:15:11 2024 From: michalis.kambi at gmail.com (Michalis Kamburelis) Date: Tue, 1 Oct 2024 17:15:11 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: Message-ID: Note: As a consequence, the GitHub Action https://github.com/gcarreno/setup-lazarus also fails now. Trying to use it to install FPC+Lazarus results in an error Error: getPackageList -- Request timeout: /packagelist.json in GitHub Action workflow output. I guess because the action downloads https://packages.lazarus-ide.org/packagelist.json . Which, while it works in the normal browser (like Firefox) (with a considerable delay), but e.g. "wget" (with default timeouts) fails: $ wget https://packages.lazarus-ide.org/packagelist.json --2024-10-01 17:09:44-- https://packages.lazarus-ide.org/packagelist.json Resolving packages.lazarus-ide.org (packages.lazarus-ide.org)... 37.97.187.115, 2a01:7c8:aac1:2f0::1 Connecting to packages.lazarus-ide.org (packages.lazarus-ide.org)|37.97.187.115|:443... failed: Connection timed out. Connecting to packages.lazarus-ide.org (packages.lazarus-ide.org)|2a01:7c8:aac1:2f0::1|:443... failed: Network is unreachable. ( I understand this, I mean I'm writing above as just "FYI" for people who may be using https://github.com/gcarreno/setup-lazarus , like Castle Game Engine actions do. I was surprised today to see our GitHub Actions fail, but this explains it. I'm not "demanding" any action, sure you need to put limits to protect from DDOS. I'm just making a note to eventually relax these limits to at least enable the above wget again. ) Regards, Michalis wt., 1 pa? 2024 o 11:00 Marc Weustink via lazarus napisa?(a): > > Hi, > The Lazarus server is currently under heavy DDOS. This affects the > Lazarus main site, the Lazarus packages, the Lazarus mailing list > archives and the Lazarus+Freepascal forum. > I've enabled a rate limiter so the sites should be available again (in > the first few seconds it was active, it blocked 10k connection attempts) > but it might have some side effects using the forum. > I hope it gets over soon. > > Marc > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus From jmlandmesser at gmx.de Tue Oct 1 18:03:42 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Tue, 1 Oct 2024 18:03:42 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: Message-ID: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> Am 01.10.24 um 17:15 schrieb Michalis Kamburelis via lazarus: > Note: > > As a consequence, the GitHub Action > https://github.com/gcarreno/setup-lazarus also fails now. Trying to > use it to install FPC+Lazarus results in an error > > Error: getPackageList -- Request timeout: /packagelist.json > > in GitHub Action workflow output. I guess because the action downloads > https://packages.lazarus-ide.org/packagelist.json . Which, while it > works in the normal browser (like Firefox) (with a considerable > delay), but e.g. "wget" (with default timeouts) fails: > > $ wget https://packages.lazarus-ide.org/packagelist.json > --2024-10-01 17:09:44-- https://packages.lazarus-ide.org/packagelist.json > Resolving packages.lazarus-ide.org (packages.lazarus-ide.org)... > 37.97.187.115, 2a01:7c8:aac1:2f0::1 > Connecting to packages.lazarus-ide.org > (packages.lazarus-ide.org)|37.97.187.115|:443... failed: Connection > timed out. > Connecting to packages.lazarus-ide.org > (packages.lazarus-ide.org)|2a01:7c8:aac1:2f0::1|:443... failed: > Network is unreachable. > > ( I understand this, I mean I'm writing above as just "FYI" for people > who may be using https://github.com/gcarreno/setup-lazarus , like > Castle Game Engine actions do. I was surprised today to see our GitHub > Actions fail, but this explains it. I'm not "demanding" any action, > sure you need to put limits to protect from DDOS. I'm just making a > note to eventually relax these limits to at least enable the above > wget again. ) > > Regards, > Michalis > > wt., 1 pa? 2024 o 11:00 Marc Weustink via lazarus > napisa?(a): >> Hi, >> The Lazarus server is currently under heavy DDOS. This affects the >> Lazarus main site, the Lazarus packages, the Lazarus mailing list >> archives and the Lazarus+Freepascal forum. >> I've enabled a rate limiter so the sites should be available again (in >> the first few seconds it was active, it blocked 10k connection attempts) >> but it might have some side effects using the forum. >> I hope it gets over soon. >> >> Marc >> -- >> _______________________________________________ >> lazarus mailing list >> lazarus at lists.lazarus-ide.org >> https://lists.lazarus-ide.org/listinfo/lazarus Just downloaded lazarus trunk + compiled useride that took 2m:35s? I think that is normal. Living in Germany, Frankfurt am Main Perhaps this issue is gone ? From michalis.kambi at gmail.com Tue Oct 1 18:42:02 2024 From: michalis.kambi at gmail.com (Michalis Kamburelis) Date: Tue, 1 Oct 2024 18:42:02 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> References: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> Message-ID: John, I'm afraid the issue is still there -- I just rechecked. That is, using https://github.com/gcarreno/setup-lazarus causes "Error: getPackageList -- Request timeout: /packagelist.json". On both Windows, Linux and macOS GH-hosted runners. I'm guessing it has a smaller default timeout for requests, so it can fail even if other ways to access Lazarus website over http(s) now work OK. I looked into increasing the socketTimeout underneath ( https://github.com/gcarreno/setup-lazarus is using httpclient in JS, from https://github.com/actions/toolkit/blob/main/packages/http-client/src/interfaces.ts ) but I'm not familiar with httpclient/JS enough to do it successfully. I also looked to switch to IPv6 (Marc pointed that IPv6 works more reliably for him) but there doesn't seem to be an option to force IPv6 with this client. Regards, Michalis wt., 1 pa? 2024 o 18:12 John Landmesser via lazarus napisa?(a): > > Am 01.10.24 um 17:15 schrieb Michalis Kamburelis via lazarus: > > Note: > > > > As a consequence, the GitHub Action > > https://github.com/gcarreno/setup-lazarus also fails now. Trying to > > use it to install FPC+Lazarus results in an error > > > > Error: getPackageList -- Request timeout: /packagelist.json > > > > in GitHub Action workflow output. I guess because the action downloads > > https://packages.lazarus-ide.org/packagelist.json . Which, while it > > works in the normal browser (like Firefox) (with a considerable > > delay), but e.g. "wget" (with default timeouts) fails: > > > > $ wget https://packages.lazarus-ide.org/packagelist.json > > --2024-10-01 17:09:44-- https://packages.lazarus-ide.org/packagelist.json > > Resolving packages.lazarus-ide.org (packages.lazarus-ide.org)... > > 37.97.187.115, 2a01:7c8:aac1:2f0::1 > > Connecting to packages.lazarus-ide.org > > (packages.lazarus-ide.org)|37.97.187.115|:443... failed: Connection > > timed out. > > Connecting to packages.lazarus-ide.org > > (packages.lazarus-ide.org)|2a01:7c8:aac1:2f0::1|:443... failed: > > Network is unreachable. > > > > ( I understand this, I mean I'm writing above as just "FYI" for people > > who may be using https://github.com/gcarreno/setup-lazarus , like > > Castle Game Engine actions do. I was surprised today to see our GitHub > > Actions fail, but this explains it. I'm not "demanding" any action, > > sure you need to put limits to protect from DDOS. I'm just making a > > note to eventually relax these limits to at least enable the above > > wget again. ) > > > > Regards, > > Michalis > > > > wt., 1 pa? 2024 o 11:00 Marc Weustink via lazarus > > napisa?(a): > >> Hi, > >> The Lazarus server is currently under heavy DDOS. This affects the > >> Lazarus main site, the Lazarus packages, the Lazarus mailing list > >> archives and the Lazarus+Freepascal forum. > >> I've enabled a rate limiter so the sites should be available again (in > >> the first few seconds it was active, it blocked 10k connection attempts) > >> but it might have some side effects using the forum. > >> I hope it gets over soon. > >> > >> Marc > >> -- > >> _______________________________________________ > >> lazarus mailing list > >> lazarus at lists.lazarus-ide.org > >> https://lists.lazarus-ide.org/listinfo/lazarus > > > Just downloaded lazarus trunk + compiled useride that took 2m:35s I > think that is normal. Living in Germany, Frankfurt am Main > > Perhaps this issue is gone ? > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus From lazarus at mfriebe.de Tue Oct 1 18:54:18 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 1 Oct 2024 18:54:18 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> Message-ID: <3ebb0d41-9392-401c-8e2b-2a6c8840480c@mfriebe.de> On 01/10/2024 18:42, Michalis Kamburelis via lazarus wrote: > I'm afraid the issue is still there -- I just rechecked. ... >>> $ wgethttps://packages.lazarus-ide.org/packagelist.json >>> --2024-10-01 17:09:44--https://packages.lazarus-ide.org/packagelist.json >>> Resolving packages.lazarus-ide.org (packages.lazarus-ide.org)... >>> 37.97.187.115, 2a01:7c8:aac1:2f0::1 >>> Connecting to packages.lazarus-ide.org >>> (packages.lazarus-ide.org)|37.97.187.115|:443... failed: Connection >>> timed out. >>> This URL belongs to the Online package manager. So if the tool your using wants to get updated extra packages. Possible similar if you try to use the OPM in the IDE (I have not tested). The official installers are hosted at sourceforge, and that should not be affected. And the sources for Lazarus and Fpc can be gotten from GitLab, which also is not affected. It is our self hosted services (forum, Opm, ... wiki?) that are affected (Marc would have the detailed list, which services are on the affected systems). -------------- next part -------------- An HTML attachment was scrubbed... URL: From michalis.kambi at gmail.com Wed Oct 2 13:34:18 2024 From: michalis.kambi at gmail.com (Michalis Kamburelis) Date: Wed, 2 Oct 2024 13:34:18 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> Message-ID: GitHub Actions using https://github.com/gcarreno/setup-lazarus are good again, they proceed without issues today. Regards, Michalis wt., 1 pa? 2024 o 18:42 Michalis Kamburelis napisa?(a): > > John, > > I'm afraid the issue is still there -- I just rechecked. > > That is, using https://github.com/gcarreno/setup-lazarus causes > "Error: getPackageList -- Request timeout: /packagelist.json". On > both Windows, Linux and macOS GH-hosted runners. > > I'm guessing it has a smaller default timeout for requests, so it can > fail even if other ways to access Lazarus website over http(s) now > work OK. I looked into increasing the socketTimeout underneath ( > https://github.com/gcarreno/setup-lazarus is using httpclient in JS, > from https://github.com/actions/toolkit/blob/main/packages/http-client/src/interfaces.ts > ) but I'm not familiar with httpclient/JS enough to do it > successfully. I also looked to switch to IPv6 (Marc pointed that IPv6 > works more reliably for him) but there doesn't seem to be an option to > force IPv6 with this client. > > Regards, > Michalis > > wt., 1 pa? 2024 o 18:12 John Landmesser via lazarus > napisa?(a): > > > > Am 01.10.24 um 17:15 schrieb Michalis Kamburelis via lazarus: > > > Note: > > > > > > As a consequence, the GitHub Action > > > https://github.com/gcarreno/setup-lazarus also fails now. Trying to > > > use it to install FPC+Lazarus results in an error > > > > > > Error: getPackageList -- Request timeout: /packagelist.json > > > > > > in GitHub Action workflow output. I guess because the action downloads > > > https://packages.lazarus-ide.org/packagelist.json . Which, while it > > > works in the normal browser (like Firefox) (with a considerable > > > delay), but e.g. "wget" (with default timeouts) fails: > > > > > > $ wget https://packages.lazarus-ide.org/packagelist.json > > > --2024-10-01 17:09:44-- https://packages.lazarus-ide.org/packagelist.json > > > Resolving packages.lazarus-ide.org (packages.lazarus-ide.org)... > > > 37.97.187.115, 2a01:7c8:aac1:2f0::1 > > > Connecting to packages.lazarus-ide.org > > > (packages.lazarus-ide.org)|37.97.187.115|:443... failed: Connection > > > timed out. > > > Connecting to packages.lazarus-ide.org > > > (packages.lazarus-ide.org)|2a01:7c8:aac1:2f0::1|:443... failed: > > > Network is unreachable. > > > > > > ( I understand this, I mean I'm writing above as just "FYI" for people > > > who may be using https://github.com/gcarreno/setup-lazarus , like > > > Castle Game Engine actions do. I was surprised today to see our GitHub > > > Actions fail, but this explains it. I'm not "demanding" any action, > > > sure you need to put limits to protect from DDOS. I'm just making a > > > note to eventually relax these limits to at least enable the above > > > wget again. ) > > > > > > Regards, > > > Michalis > > > > > > wt., 1 pa? 2024 o 11:00 Marc Weustink via lazarus > > > napisa?(a): > > >> Hi, > > >> The Lazarus server is currently under heavy DDOS. This affects the > > >> Lazarus main site, the Lazarus packages, the Lazarus mailing list > > >> archives and the Lazarus+Freepascal forum. > > >> I've enabled a rate limiter so the sites should be available again (in > > >> the first few seconds it was active, it blocked 10k connection attempts) > > >> but it might have some side effects using the forum. > > >> I hope it gets over soon. > > >> > > >> Marc > > >> -- > > >> _______________________________________________ > > >> lazarus mailing list > > >> lazarus at lists.lazarus-ide.org > > >> https://lists.lazarus-ide.org/listinfo/lazarus > > > > > > Just downloaded lazarus trunk + compiled useride that took 2m:35s I > > think that is normal. Living in Germany, Frankfurt am Main > > > > Perhaps this issue is gone ? > > > > -- > > _______________________________________________ > > lazarus mailing list > > lazarus at lists.lazarus-ide.org > > https://lists.lazarus-ide.org/listinfo/lazarus From dezlov at gmail.com Thu Oct 3 14:54:09 2024 From: dezlov at gmail.com (Denis Kozlov) Date: Thu, 3 Oct 2024 13:54:09 +0100 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: Message-ID: Cloudflare offers DDOS protection even on the Free plan: https://www.cloudflare.com/plans/ https://www.cloudflare.com/ddos/ It is easy to set up and works really well. Denis On 01/10/2024 10:00, Marc Weustink via lazarus wrote: > Hi, > The Lazarus server is currently under heavy DDOS. This affects the > Lazarus main site, the Lazarus packages, the Lazarus mailing list > archives and the Lazarus+Freepascal forum. > I've enabled a rate limiter so the sites should be available again (in > the first few seconds it was active, it blocked 10k connection > attempts) but it might have some side effects using the forum. > I hope it gets over soon. > > Marc From marc at dommelstein.nl Thu Oct 3 21:05:40 2024 From: marc at dommelstein.nl (Marc Weustink) Date: Thu, 03 Oct 2024 21:05:40 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: References: Message-ID: <1D4FFF06-C061-44FF-90E8-CD98F69BF908@dommelstein.nl> On October 3, 2024 2:54:09 PM GMT+02:00, Denis Kozlov wrote: > >Cloudflare offers DDOS protection even on the Free plan: >https://www.cloudflare.com/plans/ >https://www.cloudflare.com/ddos/ > >It is easy to set up and works really well. Personally I don't like sites protected by them. I keep proving that I'm human. Besides, as long it is once in a few years, I don't see the need Marc From jmlandmesser at gmx.de Fri Oct 4 12:50:19 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Fri, 4 Oct 2024 12:50:19 +0200 Subject: [Lazarus] Lazarus server under DDOS In-Reply-To: <3ebb0d41-9392-401c-8e2b-2a6c8840480c@mfriebe.de> References: <95708bf0-e405-4669-b244-cc6ab4eda525@gmx.de> <3ebb0d41-9392-401c-8e2b-2a6c8840480c@mfriebe.de> Message-ID: <14dadd46-53ba-4587-9407-a7e78c54b0ed@gmx.de> Testmail to see if thunderbird is ok ! From pawel.dmitruk at gmail.com Sun Oct 6 09:16:14 2024 From: pawel.dmitruk at gmail.com (=?UTF-8?Q?Pawe=C5=82_Dmitruk?=) Date: Sun, 6 Oct 2024 09:16:14 +0200 Subject: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)? In-Reply-To: <1b1f059-f37-7b69-2eda-fa38b9444ba5@freepascal.org> References: <1b1f059-f37-7b69-2eda-fa38b9444ba5@freepascal.org> Message-ID: <983a5853-bd3a-499a-b073-7260d0eed5b2@gmail.com> > It's maybe an idea to add a small wizard for this to the IDE, > for beginners this would be easier. There is now a package for the Lazarus IDE that allows for code signing: https://gitlab.com/ccrdude-lazarus-ide/lazcodesigninghelper/-/tree/master?ref_type=heads Pozdrawiam Pawe? Dmitruk From lazarus at mfriebe.de Wed Oct 16 11:20:35 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Wed, 16 Oct 2024 11:20:35 +0200 Subject: [Lazarus] [fpc-pascal] What to do to get new users In-Reply-To: <2117168.oxAcqbJhdy@debian1-3> References: <2117168.oxAcqbJhdy@debian1-3> Message-ID: I am cross posting this to the Lazarus list, since some of this relates to Lazarus. On 16/10/2024 01:07, Rainer Stratmann via fpc-pascal wrote: > - Lazarus looks very complicated with its many windows. And it is also > relatively complicated to understand and use. There are too many options that > are too nested. About the options: This is 2 fold. 1) The count 2) The presentation "Count": Of course (assuming that all those involved in the decision? making can be convinced) they can be reduced. Then existing users will just have to live with the loss of their favourite setting. Or be forced to install (included or 3rd party) add ons. Or worst, leave. "Presentation": Oh, yeah, that could be a lot better. Including an "advanced" mode, to reduce what is immediately show to a newby. And Including a wizard. Just needs someone to do the work. Some part is bound to the underlaying structure where options are stored => that makes it more work to change stuff. > - Crosscompiling: The compiler file name is hidden in Tools - Settings instead > of in the project settings. If it is cross compiling (using same compiler version), and if the compiler is installed (as cross compiler): Project Options > Compiler opts > Config and Target > - For a new installation of Lazarus: The most important quick start icons have > to be configured again at the bottom of the source code window. So that fast > and smooth work is possible. Instead of placing them like this from the start. > The many confusing windows I have already mentioned above. You mean the editor toolbar? I don't know if it has ever been discussed, if/what the default config for it should be. > Am Mittwoch, 16. Oktober 2024, 04:00:30 CEST schrieb DougC via fpc-pascal: >> I don't think the situations are vary similar, so I don't think the >> comparison is useful. > I mainly wanted to say that it is possible to do so without extensive > marketing. Linux is another example. Linux does not spend a huge amount of > money in marketing. It is widely used because it runs stable and for some > other reasons. However, Linux is marketed by countless people blogging and making videos, as well as mentioning in PC related press/magazines. IMHO its 50/50 The impression a user gets when using the project can decide if they stay or turn away. But it does rarely bring them to the project to begin with. And, the impression is not just what they explore on their own, but what help they have to explore. Not just language but also environment. E.g., while I still prefer to search for text explanations of how to get an app to do what I need, I would guess that many people want a quick video showing them. Yet, of course, no amount of help will change if the environment feels familiar or not. On the other hand, we don't want to pay for that by driving away old users, so we must preserve (at least as option) their preferred functionality and presentation. But all that does not bring anyone new. It does at best help to keep them, once they are there. Word needs to be out, and it needs to be out on all channels/media, and as much as possible. Hence IMHO: 50/50. And of course, it isn't just agreeing on this. We obviously don't have many people for the marketing/social-media/... part. But we also are limited on the implementation side. Let's say we could find agreement on how to improve the editor-toolbar => then who does it?? (initial changes, maintenance, options, ... not all needed for the toolbar, but for other? changes maybe...) -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Sat Oct 19 18:11:03 2024 From: michael at freepascal.org (Michael Van Canneyt) Date: Sat, 19 Oct 2024 18:11:03 +0200 (CEST) Subject: [Lazarus] Code formatter Message-ID: <7c59d72b-f7e5-2759-5c77-684c8d8e5fa@freepascal.org> Hi, I've been playing with the code formatter. If the 'Fix spacing' is checked, and 'Spaces around operators' is set to 'Never', the formatter nevertheless changes lName:=''; to lName := ''; Since the assignment operator is an operator, I expect it to leave the statement as it was. Is this intentional, or is it a bug ? >From my debugging, I can say the following: In SingleSpaceAfter it is hard-wired to have a space: SingleSpaceAfterTokens: TTokenTypeSet = [ttColon, ttAssign, ttComma, ttPlusAssign, ttMinusAssign, ttTimesAssign, ttFloatDivAssign]; if (pt.TokenType in SingleSpaceAfterTokens) then begin lcPrev := pt.PriorSolidToken; if (lcPrev <> nil) and (lcPrev.TokenType = ttDot) then // operaror typename.:=( ) .+= .*= exit(false); exit(True); end; Similarly, in SingleSpaceBefore, it is hard-wired to have a space: if (pt.TokenType in AssignmentDirectives) then begin lcPrev := pt.PriorSolidToken; if (lcPrev <> nil) and (lcPrev.TokenType = ttDot) then // operaror typename.:=( ) exit(false); exit(True); end; So, in my opinion, clearly a bug. := is an operator, and should therefor obey the setting for operators. (or a separate setting is made for the assignment operator) Yesterday's Lazarus. Michael. From nc-gaertnma at netcologne.de Sat Oct 26 23:48:13 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Sat, 26 Oct 2024 23:48:13 +0200 Subject: [Lazarus] Lazarus Release Candidate 1 of 4.0 Message-ID: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> The Lazarus team is glad to announce the first release candidate of Lazarus 4.0. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 Here is the list of fixes for Lazarus 4.x: https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/ The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 4.0RC1" directory. Checksums for the SourceForge files: https://www.lazarus-ide.org/index.php?page=checksums#4_0RC1 Minimum requirements: Windows: 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) FreeBSD/Linux: gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit. Mac OS X: Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only). The gitlab page: https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0_RC_1 For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: https://download.lazarus-ide.org/ ftp://ftp.freepascal.org/pub/lazarus/releases/ == Why should everybody (including you) test the release candidate? == In the past weeks the Lazarus team has stabilized the 4.0 fixes branch. The resulting 4.0RC1 is now stable enough to be used by any one for test purposes. While we have tested those ourselves, there may still be problems that only occur with very specific configurations or one project in a million. Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it. Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 3.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features. == How to test == Download and install the 4.0 RC1. - On Windows you can install as a 2ndary install, that will not affect your current install: http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus - On other platforms, if you install to a new location you need to use --primary-config-path In either case you should make backups. (including your primary config) Open your project in the current Lazarus (4.0), and use "Publish Project" from the project menu. This creates a clean copy of your project. You can then open that copy in the RC1. Please test: - If you can edit forms in the designer - rename components / change properties in Object inspector / Add new events - Add components to form / Move components on form - Frames, if you use them - If you can navigate the source code (e.g. jump to implementation) - Auto completion in source code - Compile, debug and run - Anything else you use in your daily work Mattias From n7800 at inbox.ru Sun Oct 27 02:47:46 2024 From: n7800 at inbox.ru (=?UTF-8?B?bjc4MDA=?=) Date: Sun, 27 Oct 2024 04:47:46 +0300 Subject: [Lazarus] =?utf-8?q?Lazarus_Release_Candidate_1_of_4=2E0?= In-Reply-To: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> References: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> Message-ID: <1729993666.908186549@f515.i.mail.ru> Typo:? >about which fixes can be merged for further 3.x releases. So it may be, -------------- next part -------------- An HTML attachment was scrubbed... URL: From gfindlay.linux at gmail.com Sun Oct 27 02:53:35 2024 From: gfindlay.linux at gmail.com (Gordon Findlay) Date: Sun, 27 Oct 2024 14:53:35 +1300 Subject: [Lazarus] Lazarus Release Candidate 1 of 4.0 In-Reply-To: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> References: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> Message-ID: Do you mean publish the project from 3.x, then open in 4? For a new small project things look good- especially the docked interface. On Sun, 27 Oct 2024, 10:54?am Mattias Gaertner via lazarus, < lazarus at lists.lazarus-ide.org> wrote: > The Lazarus team is glad to announce the first release candidate of > Lazarus 4.0. > > This release was built with FPC 3.2.2. > > Here is the list of changes for Lazarus and Free Pascal: > http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes > http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 > > Here is the list of fixes for Lazarus 4.x: > https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/ > > The release is available for download on SourceForge: > http://sourceforge.net/projects/lazarus/files/ > > Choose your CPU, OS, distro and then the "Lazarus 4.0RC1" directory. > > Checksums for the SourceForge files: > https://www.lazarus-ide.org/index.php?page=checksums#4_0RC1 > > Minimum requirements: > > Windows: > 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) > > FreeBSD/Linux: > gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or > 64bit. > > Mac OS X: > Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or > 64bit), Qt6 (64bit only). > > The gitlab page: > https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0_RC_1 > > For people who are blocked by SF, the Lazarus releases from SourceForge > are mirrored at: > https://download.lazarus-ide.org/ > ftp://ftp.freepascal.org/pub/lazarus/releases/ > > == Why should everybody (including you) test the release candidate? == > > In the past weeks the Lazarus team has stabilized the 4.0 fixes branch. > The resulting 4.0RC1 is now stable enough to be used by any one for > test purposes. > > While we have tested those ourselves, there may still be problems > that only occur with very specific configurations or one project in a > million. > > Yes, it may be that you are the only person with a project, that will > not work in the new IDE. So if you do not test, we can not fix it. > > Please do not wait for the final release, in order to test. It may be > too late. Once the release is out we will have to be more selective > about which fixes can be merged for further 3.x releases. So it may be, > that we can not merge the fix you require. And then you will miss out > on all the new features. > > == How to test == > > Download and install the 4.0 RC1. > - On Windows you can install as a 2ndary install, that will not affect > your current install: > > > http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus > - On other platforms, if you install to a new location you need to use > --primary-config-path > > In either case you should make backups. (including your primary config) > > Open your project in the current Lazarus (4.0), and use "Publish > Project" from the project menu. This creates a clean copy of your > project. > > You can then open that copy in the RC1. Please test: > - If you can edit forms in the designer > - rename components / change properties in Object inspector / Add > new events > - Add components to form / Move components on form > - Frames, if you use them > - If you can navigate the source code (e.g. jump to implementation) > - Auto completion in source code > - Compile, debug and run > - Anything else you use in your daily work > > > Mattias > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nc-gaertnma at netcologne.de Sun Oct 27 09:28:54 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Sun, 27 Oct 2024 09:28:54 +0100 Subject: [Lazarus] Lazarus Release Candidate 1 of 4.0 In-Reply-To: References: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> Message-ID: <984d182c-e576-4a32-b9d7-c45fe6749dc0@netcologne.de> On 10/27/24 02:53, Gordon Findlay via lazarus wrote: > Do you mean publish the project from 3.x, then open in 4? Yes, thanks for the hint! Mattias From bo.berglund at gmail.com Sun Oct 27 14:51:04 2024 From: bo.berglund at gmail.com (Bo Berglund) Date: Sun, 27 Oct 2024 14:51:04 +0100 Subject: [Lazarus] Using PasLibVLC to play video files - how to update duration? Message-ID: So several years ago I wrote a Video player/editor usng Lazarus/FPC with the PasLibVLC library. ( https://prog.olsztyn.pl/paslibvlc/ ) The last build was done in end of 2023 with the then current FPC/Lazarus/PasLibVLC (3.0.7). It was a cleanup to remove some un-needed fluff on screen not related to the video handling. The utility has worked just fine for the video editing tasks it was created for. It works by playing a downloaded mp4 video file on screen where I can accurately set cut points for section removals. Then it creates the call to a split-combine command line utility I also wrote with Lazarus and built for both Windows and Linux. This utility uses ffmpeg in a command that results in a new video file where the marked sections are removed. I usually work on files located on a Linux server but occationally I also run the splitcombine on Windows. Recently I have found that if I want to use the editor just as a player it does not work with mp4 to view files still being downloaded, so I tested by changing my download script to produce a ts file rather than mp4. This file type can be opened and played while the download is still being done, so the file is being written at the end and played somewhere inside. So far OK, but I have problems when doing jumps since the current version of my editor reads the full length of the video at the time the video file is opened and that stays put. This means that some positioning operations are not possible if they target a time beyond the file length at the time the playback started. Question: --------- How should I proceed to update the video length while playing it in the player? It affects both the length displayed on screen as well as the progress bar showing where the current playback position is located. Should I set up a timer and use that to constantly read the video length (if it is being updated by the library) and set the limits and visuals accordingly? Or is there some means of handling it using some internal callback, event or similar? Unfortunately it was a while since I worked on the code so I will need some start time to get re-familiarized.... -- Bo Berglund Developer in Sweden From bo.berglund at gmail.com Sun Oct 27 18:18:20 2024 From: bo.berglund at gmail.com (Bo Berglund) Date: Sun, 27 Oct 2024 18:18:20 +0100 Subject: [Lazarus] Using PasLibVLC to play video files - how to update duration? References: Message-ID: <94tshjtkklkrtdtfql73fctjd937q51j0e@4ax.com> On Sun, 27 Oct 2024 14:51:04 +0100, Bo Berglund via lazarus wrote: >Question: >--------- >How should I proceed to update the video length while playing it in the player? > >It affects both the length displayed on screen as well as the progress bar >showing where the current playback position is located. > >Should I set up a timer and use that to constantly read the video length (if it >is being updated by the library) and set the limits and visuals accordingly? > >Or is there some means of handling it using some internal callback, event or >similar? > >Unfortunately it was a while since I worked on the code so I will need some >start time to get re-familiarized.... > UPDATE: ------- I tested with the VLC Video player (on which video handling functions PasLibVLC relies) by opening a running download target file in ts format while it was still being written. The VLC Video player read the video length upon starting and once it reached playing to that time it just exited! That is when the file at that time held a lot more content but past the original ending timestamp... So I guess (before testing actual coding) that the VLC library will not supply such a functionality as dynamically updating a ts file length... -- Bo Berglund Developer in Sweden From octopushole at gmail.com Sun Oct 27 19:41:29 2024 From: octopushole at gmail.com (duilio foschi) Date: Sun, 27 Oct 2024 19:41:29 +0100 Subject: [Lazarus] automated testing code Message-ID: I'd like to control an external application from my Lazarus code. I wrote a test applet which controls notepad. Following instructions found online, I added package LazMouseAndKeyboardInput to my project and unit MouseAndKeyInput to my uses clause. This code - to my surprise - does not work: the notepad window is shown, but no text is written into it: procedure TForm1.btNotepadClick(Sender: TObject); var app: HWND; begin WinExec('notepad.exe', SW_NORMAL); app := FindWindow(nil,'senza nome - blocco note di windows'); if app = 0 then exit; sleep(100); ShowWindow(app, SW_SHOW); KeyInput.Press('some text'); end; I found an alternate code online but it works too much :) I end with multiple (usually 3) windows of notepad open, where an invisible hand has written 'some text' into each of them. procedure SendKeys(Buffer:String); var I: Integer; W: Word; begin For I := 1 to Length(Buffer) do begin W := VkKeyScan(Buffer[i]); keybd_event(w,0,0,0); keybd_event(w,0,KEYEVENTF_KEYUP,0); end; end; procedure TForm1.btNotepadClick(Sender: TObject); var app: HWND; begin WinExec('notepad.exe', SW_NORMAL); app := FindWindow(nil,'senza nome - blocco note di windows'); if app = 0 then exit; sleep(100); ShowWindow(app, SW_SHOW); sleep(100); SendKeys('some text'); end; Has somebody a fix for my code? Probably it is not important, but when I compile my applet, I get the following warnings: Messages, Hints: 12 Note: Duplicate unit "winmouseinput" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\winmouseinput.ppu" Note: Duplicate unit "winmouseinput" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\winmouseinput.ppu", source="C:\lazarus\components\mouseandkeyinput\winmouseinput.pas" Note: Duplicate unit "winkeyinput" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\winkeyinput.ppu" Note: Duplicate unit "winkeyinput" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\winkeyinput.ppu", source="C:\lazarus\components\mouseandkeyinput\winkeyinput.pas" Note: Duplicate unit "mouseinputintf" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\mouseinputintf.ppu" Note: Duplicate unit "mouseinputintf" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\mouseinputintf.ppu", source="C:\lazarus\components\mouseandkeyinput\mouseinputintf.pas" Note: Duplicate unit "mouseandkeyinput" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\mouseandkeyinput.ppu" Note: Duplicate unit "mouseandkeyinput" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\mouseandkeyinput.ppu", source="C:\lazarus\components\mouseandkeyinput\mouseandkeyinput.pas" Note: Duplicate unit "lazmouseandkeyinput" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\lazmouseandkeyinput.ppu" Note: Duplicate unit "lazmouseandkeyinput" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\lazmouseandkeyinput.ppu", source="C:\lazarus\components\mouseandkeyinput\lazmouseandkeyinput.pas" Note: Duplicate unit "keyinputintf" in "p201827", orphaned ppu "C:\lazarus_projects\automation\lib\i386-win32\keyinputintf.ppu" Note: Duplicate unit "keyinputintf" in "LazMouseAndKeyInput 0.9", ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\keyinputintf.ppu", source="C:\lazarus\components\mouseandkeyinput\keyinputintf.pas" Why? Thank you Peppe -------------- next part -------------- An HTML attachment was scrubbed... URL: From n7800 at inbox.ru Sun Oct 27 20:24:55 2024 From: n7800 at inbox.ru (=?UTF-8?B?bjc4MDA=?=) Date: Sun, 27 Oct 2024 22:24:55 +0300 Subject: [Lazarus] =?utf-8?q?Lazarus_Release_Candidate_1_of_4=2E0?= In-Reply-To: <984d182c-e576-4a32-b9d7-c45fe6749dc0@netcologne.de> References: <7ee4f896-f904-4250-9e91-0639be3dd315@netcologne.de> <984d182c-e576-4a32-b9d7-c45fe6749dc0@netcologne.de> Message-ID: <1730057095.728773968@f482.i.mail.ru> Please, although I see that the error was copied to the forum anyway?)) ? https://forum.lazarus.freepascal.org/index.php?topic=69059.0 ? >???????????, 27 ??????? 2024, 13:29 +05:00 ?? Mattias Gaertner via lazarus : >? > > >On 10/27/24 02:53, Gordon Findlay via lazarus wrote: >> Do you mean publish the project from 3.x, then open in 4? >Yes, thanks for the hint! > >Mattias >-- >_______________________________________________ >lazarus mailing list >lazarus at lists.lazarus-ide.org >https://lists.lazarus-ide.org/listinfo/lazarus ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From nc-gaertnma at netcologne.de Sun Oct 27 23:33:29 2024 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Sun, 27 Oct 2024 23:33:29 +0100 Subject: [Lazarus] automated testing code In-Reply-To: References: Message-ID: <07d985d2-2519-4837-997d-39f2e880241f@netcologne.de> On 10/27/24 19:41, duilio foschi via lazarus wrote: >[...] > Probably it is not important, but when I compile my applet, I get the > following warnings: > > Messages, Hints: 12 > Note: Duplicate unit "winmouseinput" in "p201827", orphaned ppu > "C:\lazarus_projects\automation\lib\i386-win32\winmouseinput.ppu" > Note: Duplicate unit "winmouseinput" in "LazMouseAndKeyInput 0.9", > ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\winmouseinput.ppu", > source="C:\lazarus\components\mouseandkeyinput\winmouseinput.pas" Maybe you added the unit path C:\lazarus\components\mouseandkeyinput\ to your project. Don't. Adding the package to your project is enough. Then clean up your project output directory and rebuild. Mattias From octopushole at gmail.com Mon Oct 28 07:40:04 2024 From: octopushole at gmail.com (duilio foschi) Date: Mon, 28 Oct 2024 07:40:04 +0100 Subject: [Lazarus] automated testing code In-Reply-To: <07d985d2-2519-4837-997d-39f2e880241f@netcologne.de> References: <07d985d2-2519-4837-997d-39f2e880241f@netcologne.de> Message-ID: Hi Mattias, thanks to your suggestions, the results improved, but they are not what I expected. After polishing my code ('clean up your project output directory and rebuild'), the warnings disappeared and now only one instance of notepad is created. In the instance, the weird text /-5 07:36 28/10/2024507:36 28/10/2024 is written. The good part is: date and time are correct :) The bad part is: I was expecting the string 'some text' to be written :) The mistery thickens :) procedure TForm1.btNotepadClick(Sender: TObject); var app: HWND; begin WinExec('notepad.exe', SW_NORMAL); app := FindWindow(nil,'senza nome - blocco note di windows'); if app = 0 then exit; sleep(500); KeyInput.Press('some text'); end; Any idea? Thank you Peppe On Sun, Oct 27, 2024 at 11:39?PM Mattias Gaertner via lazarus < lazarus at lists.lazarus-ide.org> wrote: > > > On 10/27/24 19:41, duilio foschi via lazarus wrote: > >[...] > > Probably it is not important, but when I compile my applet, I get the > > following warnings: > > > > Messages, Hints: 12 > > Note: Duplicate unit "winmouseinput" in "p201827", orphaned ppu > > "C:\lazarus_projects\automation\lib\i386-win32\winmouseinput.ppu" > > Note: Duplicate unit "winmouseinput" in "LazMouseAndKeyInput 0.9", > > > ppu="C:\lazarus\components\mouseandkeyinput\lib\i386-win32\win32\winmouseinput.ppu", > > source="C:\lazarus\components\mouseandkeyinput\winmouseinput.pas" > > Maybe you added the unit path C:\lazarus\components\mouseandkeyinput\ to > your project. Don't. Adding the package to your project is enough. > Then clean up your project output directory and rebuild. > > Mattias > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmlandmesser at gmx.de Mon Oct 28 17:37:26 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Mon, 28 Oct 2024 17:37:26 +0100 Subject: [Lazarus] TestMail Message-ID: I just want to see if i fixed my thunderbird correct From jmlandmesser at gmx.de Mon Oct 28 17:44:10 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Mon, 28 Oct 2024 17:44:10 +0100 Subject: [Lazarus] TestMail In-Reply-To: References: Message-ID: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> Am 28.10.24 um 17:37 schrieb John Landmesser via lazarus: > I just want to see if i fixed my thunderbird correct > Yeah .., works again .. hope i never have this issue again: "From" and "to" showed? "John Landmesser" because there was a wrong entry in my thunderbird address book :-( From lazarus at mfriebe.de Mon Oct 28 17:52:45 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Mon, 28 Oct 2024 17:52:45 +0100 Subject: [Lazarus] TestMail In-Reply-To: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> Message-ID: <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> On 28/10/2024 17:44, John Landmesser via lazarus wrote: > Am 28.10.24 um 17:37 schrieb John Landmesser via lazarus: >> I just want to see if i fixed my thunderbird correct >> > Yeah .., works again .. hope i never have this issue again: "From" and > "to" showed? "John Landmesser" because there was a wrong entry in my > thunderbird address book :-( > Yes, thunderbird had some recent update messing with that.. Argh. I had to disable showing the name from the address-book. From jmlandmesser at gmx.de Mon Oct 28 18:53:56 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Mon, 28 Oct 2024 18:53:56 +0100 Subject: [Lazarus] TestMail In-Reply-To: <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> Message-ID: <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> Am 28.10.24 um 17:52 schrieb Martin Frb via lazarus: > On 28/10/2024 17:44, John Landmesser via lazarus wrote: >> Am 28.10.24 um 17:37 schrieb John Landmesser via lazarus: >>> I just want to see if i fixed my thunderbird correct >>> >> Yeah .., works again .. hope i never have this issue again: "From" and >> "to" showed? "John Landmesser" because there was a wrong entry in my >> thunderbird address book :-( >> > Yes, thunderbird had some recent update messing with that.. Argh. > > I had to disable showing the name from the address-book. > My wrong entry was : "John Landmesser" lazarus at lists.lazarus-ide.org I deleted that and this issue was gone. Googled a lot to find this hint :-( From robin.listas at telefonica.net Mon Oct 28 20:46:12 2024 From: robin.listas at telefonica.net (Carlos E. R.) Date: Mon, 28 Oct 2024 20:46:12 +0100 Subject: [Lazarus] TestMail In-Reply-To: <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> Message-ID: <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> On 2024-10-28 18:53, John Landmesser via lazarus wrote: > Am 28.10.24 um 17:52 schrieb Martin Frb via lazarus: >> On 28/10/2024 17:44, John Landmesser via lazarus wrote: >>> Am 28.10.24 um 17:37 schrieb John Landmesser via lazarus: >>>> I just want to see if i fixed my thunderbird correct >>>> >>> Yeah .., works again .. hope i never have this issue again: "From" and >>> "to" showed? "John Landmesser" because there was a wrong entry in my >>> thunderbird address book :-( >>> >> Yes, thunderbird had some recent update messing with that.. Argh. >> >> I had to disable showing the name from the address-book. >> > My wrong entry was : > > "John Landmesser" > > lazarus at lists.lazarus-ide.org > > > I deleted that and this issue was gone. Googled a lot to find this hint :-( That entry was probably added automatically. If you look at your own post as received on the list, it contains: From: Martin Frb via lazarus Reply-To: Lazarus mailing list Cc: Martin Frb To: John Landmesser via lazarus The last entry, the "TO:" gets automatically added and is the one you deleted. It probably will get added again, unless you change a setting. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar) -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 203 bytes Desc: OpenPGP digital signature URL: From jmlandmesser at gmx.de Mon Oct 28 21:02:39 2024 From: jmlandmesser at gmx.de (John Landmesser) Date: Mon, 28 Oct 2024 21:02:39 +0100 Subject: [Lazarus] TestMail In-Reply-To: <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> Message-ID: Am 28.10.24 um 20:46 schrieb Carlos E. R. via lazarus: > On 2024-10-28 18:53, John Landmesser via lazarus wrote: >> Am 28.10.24 um 17:52 schrieb Martin Frb via lazarus: >>> On 28/10/2024 17:44, John Landmesser via lazarus wrote: >>>> Am 28.10.24 um 17:37 schrieb John Landmesser via lazarus: >>>>> I just want to see if i fixed my thunderbird correct >>>>> >>>> Yeah .., works again .. hope i never have this issue again: "From" and >>>> "to" showed? "John Landmesser" because there was a wrong entry in my >>>> thunderbird address book :-( >>>> >>> Yes, thunderbird had some recent update messing with that.. Argh. >>> >>> I had to disable showing the name from the address-book. >>> >> My wrong entry was : >> >> "John Landmesser" >> >> lazarus at lists.lazarus-ide.org >> >> >> I deleted that and this issue was gone. Googled a lot to find this >> hint :-( > > That entry was probably added automatically. If you look at your own > post as received on the list, it contains: > > From: Martin Frb via lazarus > Reply-To: Lazarus mailing list > Cc: Martin Frb > To: John Landmesser via lazarus > > The last entry, the "TO:" gets automatically added and is the one you > deleted. It probably will get added again, unless you change a setting. > > > Until now it works ... we'll see what happens next.?? I still hope its working as before ... From lazarus at mfriebe.de Mon Oct 28 21:08:36 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Mon, 28 Oct 2024 21:08:36 +0100 Subject: [Lazarus] TestMail In-Reply-To: References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> Message-ID: test From lazarus at mfriebe.de Mon Oct 28 21:18:24 2024 From: lazarus at mfriebe.de (Martin Frb) Date: Mon, 28 Oct 2024 21:18:24 +0100 Subject: [Lazarus] TestMail In-Reply-To: References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> Message-ID: <67d9b330-229f-469a-8972-87dd401efa67@mfriebe.de> On 28/10/2024 21:02, John Landmesser via lazarus wrote: > Am 28.10.24 um 20:46 schrieb Carlos E. R. via lazarus: >> >> The last entry, the "TO:" gets automatically added and is the one you >> deleted. It probably will get added again, unless you change a setting. >> > > Until now it works ... we'll see what happens next.?? I still hope its > working as before ... > I identified 2 settings: Turn OFF: "Show only display name for people in my address book" ?=> this will make sure you see the name as set by the mailing list. Alternatively delete the address book entry, **AND** Turn OFF "Automatically add outgoing email addresses to my" .... However, if you only turn off the first, then you still collect the address => with the name of whomever you reply first. To avoid that, create an address book entry for the email **AND** make sure it has a name / lastname. ---------- Still, even with that When hitting reply, it appears the name of the person (as set by the mail list) is written to the TO: header. Before I sent the "test" mail, I changed my address book. The entry for lazarus at lists.lazarus-ide.org has now set its name/lastname set to "lazarus" I then replied (the reply again has John in the TO: header) But I checked afterwards: the entry in my address book still has the name "lazarus" And my address book does NOT have any entry for John. So that bit, I can't currently help. From jean.suzineau at wanadoo.fr Mon Oct 28 21:39:32 2024 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Mon, 28 Oct 2024 21:39:32 +0100 Subject: [Lazarus] TestMail In-Reply-To: <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> Message-ID: <9054c00b-29d2-42dd-b58a-4e539f359df7@wanadoo.fr> Le 28/10/2024 ? 20:46, Carlos E. R. via lazarus a ?crit?: > The last entry, the "TO:" gets automatically added and is the one you > deleted. It probably will get added again, unless you change a setting. The funny thing is that? it's not automatically you own label. For me, I had the same behaviour but with "J. Gareth Moreton" on fpc-devel list. Following the advice of Martin I deleted it from the adress-book and now it's ok. From robin.listas at telefonica.net Tue Oct 29 03:05:21 2024 From: robin.listas at telefonica.net (Carlos E. R.) Date: Tue, 29 Oct 2024 03:05:21 +0100 Subject: [Lazarus] TestMail In-Reply-To: References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> Message-ID: On 2024-10-28 21:08, Martin Frb via lazarus wrote: > test You can have collected addresses added to the collected addresses address book, instead of your main one you edit manually. And when replying to the list, hit the reply to list button. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar) -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 203 bytes Desc: OpenPGP digital signature URL: From rik at graficalc.nl Tue Oct 29 10:06:03 2024 From: rik at graficalc.nl (Rik van Kekem) Date: Tue, 29 Oct 2024 10:06:03 +0100 Subject: [Lazarus] TestMail In-Reply-To: <67d9b330-229f-469a-8972-87dd401efa67@mfriebe.de> References: <1df65f7a-bad6-4092-bd63-13175be3fd2e@gmx.de> <963245f7-e048-4e32-843b-7db998def0b6@mfriebe.de> <63b437a2-eab8-4f22-a914-7f76ea0f547e@gmx.de> <8e8fee98-21d9-4d0a-84a9-0fa6cdd0ca36@telefonica.net> <67d9b330-229f-469a-8972-87dd401efa67@mfriebe.de> Message-ID: On 28-10-2024 21:18, Martin Frb via lazarus wrote: > Still, even with that > > When hitting reply, it appears the name of the person (as set by the > mail list) is written to the TO: header. You should NOT hit reply when answering to a mailinglist. You should hit "Reply List" instead. Then there is no name attached to the lazarus-list-address. Hitting Reply is bad practice for a mailinglist. I have lists where the From is actually the email-address of the actual sender. Using Reply will only reply to that sender and not to the list. This is a common mistake users make and answers often don't get back to the mailing list. Luckily this is not the case for this mailinglist. Grtz, Rik -------------- next part -------------- An HTML attachment was scrubbed... URL: From larrydalton71 at gmail.com Wed Oct 30 19:14:58 2024 From: larrydalton71 at gmail.com (Larry Dalton) Date: Wed, 30 Oct 2024 14:14:58 -0400 Subject: [Lazarus] Sqlite3 on Android Message-ID: I am writing an app for Android on Lazarus 3.4, fpc 3.2.2. It accesses an Sqlite3 database named ?Carsdatabase.db?. It is in the documents file on my Android phone. How do I enter the database name in Sqlite3connection? Sent from my iPhone From jean.suzineau at wanadoo.fr Thu Oct 31 22:51:59 2024 From: jean.suzineau at wanadoo.fr (Jean SUZINEAU) Date: Thu, 31 Oct 2024 22:51:59 +0100 Subject: [Lazarus] Sqlite3 on Android In-Reply-To: References: Message-ID: <5d19a5c5-e9bb-4674-8784-cd308007c8b9@wanadoo.fr> If you use LAMW, I think you can find the documents directory this way (assuming var jF: jForm; ): DocumentsDirectory:= jF.GetEnvironmentDirectoryPath( dirDocuments); I would be curious if you can open the database this way. For my programs, due to to the various securities of Android, I needed to use the java APIs of Android to acces my SQLite databases, i.e. the jSqliteCursor and jSqliteDataAccess components of LAMW.