From michael at freepascal.org Mon Feb 3 16:45:49 2025 From: michael at freepascal.org (Michael Van Canneyt) Date: Mon, 3 Feb 2025 16:45:49 +0100 (CET) Subject: [Lazarus] Catch only uncaught exceptions Message-ID: Hello, In the browser, there is a possibility to let it stop only on uncaught exceptions. IOW there is no 'try..catch' block around the exception. This is in fact quite handy at times... Is there some trick in the lazarus debugger that would allow us to do the same ? Michael. From lazarus at mfriebe.de Mon Feb 3 17:39:14 2025 From: lazarus at mfriebe.de (Martin Frb) Date: Mon, 3 Feb 2025 17:39:14 +0100 Subject: [Lazarus] Catch only uncaught exceptions In-Reply-To: References: Message-ID: <18d3bf5d-0506-428f-9c62-089b266b9026@mfriebe.de> On 03/02/2025 16:45, Michael Van Canneyt via lazarus wrote: > > Hello, > > In the browser, there is a possibility to let it stop only on uncaught > exceptions. > IOW there is no 'try..catch' block around the exception. > > This is in fact quite handy at times... > > Is there some trick in the lazarus debugger that would allow us to do the > same ? No, not currently. And not in a simple way... well depends. Lets assume it was implemented. try ??? raise TBarException.create; except ? On TFooException: ; end; There is an exception handler => so that would count, TBarException would only be caught if re-raised in the exception handler. The "on ..." info is afaik only available as machine code. So the debugger has no way of knowing. Worse, the debugger is still lacking some support of finding the exception handler. It works (not nice, but works) on Windows. But not so well on Linux. So that needs to be fixed first. And it requires the code to actually execute and go there. Basically it currently lacks understanding of SEH (it just has a quick and dirty replacement of the old code that would use breakpoints in fpc_pop_exception or what it was called). Not yet gotten round to write a proper replacement. ------------------------ I had actually started (planing / no code yet) on a different idea (a year ago), but not found the time to go on with it. And currently deferred for unknown time. (gotten into SynEdit again) Exceptions should have all the same properties as breakpoints. You would have the - catch all - any self defined, such as class = TFooException ? (in the way you can currently define to ignore TFooException). Then you could disable TFooException by disabling its "breakpoint like entry". But the more important bit would have been, that you could have used the enable/disable group feature. You could have non-breaking breakpoints, to mark a section of code in which you could disable the exception. Though that is not the fastest to do, as the breakpoint triggers a lot of work, even if it continues... From bartjunk64 at gmail.com Mon Feb 3 19:01:07 2025 From: bartjunk64 at gmail.com (Bart) Date: Mon, 3 Feb 2025 19:01:07 +0100 Subject: [Lazarus] Lazarus in non-UTF8 mode (with DisableUTF8RTL defined): does anyone still use this? Message-ID: Hi, Long time ago, before codepage-aware ANSI strings existed in fpc, all strings in Lazarus were treated as being UTF8 encoded. With the introduction of codepage aware strings (fpc 3.0 and later) the LazUTF8 unit sets DefaultSystemCodePage to CP_UTF8. This ensures "String" in an LCL application will have CP_UTF8 as it's codepage. At the same time we introduced a possibility to build Lazarus (and the LCL etc.) with a define (DisableUTF8RTL) that disabled this "initialization" to CP_UTF8. When using this define, "String" in an application will have CP_ACP as it's codepage. IIRC this was done for Lazarus users who used databases that were encode in a Windows codepage. The Lazarus team is thinking about completely removing this workaround. Of course it may very well be the case that users still depend on building LCL applications with the DisableUTF8RTL define. If that is the case, we would ask you to please report this in this thread. -- Bart From fluisgirardi at gmail.com Tue Feb 4 23:37:58 2025 From: fluisgirardi at gmail.com (Fabio Luis Girardi) Date: Tue, 4 Feb 2025 19:37:58 -0300 Subject: [Lazarus] Designer issues with specialized TFrame classes. Message-ID: Hi everyone! I'm creating a new control for PascalSCADA that will mimic a functionality of other engineering software in Lazarus. Lazarus has a similar feature (Frames). Knowing this, I started from TFrame, trying to specialize it to get new functions, but in this way, I'm doing something wrong in the process. What I did: 1) Created the specialized TFrame class with the desired properties. 1. TFaceplateFrame = class(TFrame) 2. private 3. ffaceplatetag: TPLCStruct; 4. protected 5. procedure setfaceplateTag(AValue: TPLCStruct); 6. published 7. property FaceplatePLCTag: TPLCStruct read ffaceplatetag write setfaceplateTag; 8. end; 2) Registered a Lazarus project file descriptor using the function RegisterProjectFileDescriptor. The class TFaceplateFrameFileDescriptor inherits from TFileDescPascalUnitWithResource. Below is the constructor of the file descriptor: 1. constructor TFaceplateFrameFileDescriptor.Create; 2. begin 3. inherited Create; 4. Name := 'FaceplateFrame'; // do not translate this 5. ResourceClass := TFaceplateFrame; 6. RequiredPackages := 'pascalscada_hmi'; 7. UseCreateFormStatements := True; 8. end; What I expect: After doing the previous steps, when I create a new TFaceplateFrame (using Lazarus menu File -> New, then choosing FaceplateFrame), the property FaceplatePLCTag should be visible on newly created TFaceplateFrame instances, in the TFaceplateFrame designer or even in TFaceplateFrame instances inside forms. This happens on a freshly created TFaceplateFrame, but if I close and reopen the project, the FaceplatePLCTag property of my FaceplateFrame instances is lost and does not appear in the Object Inspector anymore. Can someone tell me what I am doing wrong? Any help is appreciated. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nc-gaertnma at netcologne.de Wed Feb 5 09:53:56 2025 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Wed, 5 Feb 2025 09:53:56 +0100 Subject: [Lazarus] Designer issues with specialized TFrame classes. In-Reply-To: References: Message-ID: <33aea519-dc65-4680-b958-ae37fb2e6243@netcologne.de> On 2/4/25 23:37, Fabio Luis Girardi via lazarus wrote: > Hi everyone! > > I'm creating a new control for PascalSCADA that will mimic a functionality > of other engineering software in Lazarus. Lazarus has a similar feature > (Frames). Knowing this, I started from TFrame, trying to specialize it to > get new functions, but in this way, I'm doing something wrong in the > process. > > What I did: > > 1) Created the specialized TFrame class with the desired properties. > > 1. TFaceplateFrame = class(TFrame) > 2. private > 3. ffaceplatetag: TPLCStruct; > 4. protected > 5. procedure setfaceplateTag(AValue: TPLCStruct); > 6. published > 7. property FaceplatePLCTag: TPLCStruct read ffaceplatetag write > setfaceplateTag; > 8. end; See https://wiki.freepascal.org/Extending_the_IDE#Forms >[...] Mattias From fluisgirardi at gmail.com Wed Feb 5 21:09:29 2025 From: fluisgirardi at gmail.com (Fabio Luis Girardi) Date: Wed, 5 Feb 2025 17:09:29 -0300 Subject: [Lazarus] Designer issues with specialized TFrame classes. In-Reply-To: <33aea519-dc65-4680-b958-ae37fb2e6243@netcologne.de> References: <33aea519-dc65-4680-b958-ae37fb2e6243@netcologne.de> Message-ID: Hi Mr. Gaertner! Reading the wiki, I realized that the following code is missing: uses FormEditingIntf... procedure Register;begin FormEditingHook.RegisterDesignerBaseClass(TFaceplateFrame);end; After adding this part, I was able to see the new Frame properties after the IDE restart. Thank you Em qua., 5 de fev. de 2025 ?s 06:00, Mattias Gaertner via lazarus < lazarus at lists.lazarus-ide.org> escreveu: > > > On 2/4/25 23:37, Fabio Luis Girardi via lazarus wrote: > > Hi everyone! > > > > I'm creating a new control for PascalSCADA that will mimic a > functionality > > of other engineering software in Lazarus. Lazarus has a similar feature > > (Frames). Knowing this, I started from TFrame, trying to specialize it to > > get new functions, but in this way, I'm doing something wrong in the > > process. > > > > What I did: > > > > 1) Created the specialized TFrame class with the desired properties. > > > > 1. TFaceplateFrame = class(TFrame) > > 2. private > > 3. ffaceplatetag: TPLCStruct; > > 4. protected > > 5. procedure setfaceplateTag(AValue: TPLCStruct); > > 6. published > > 7. property FaceplatePLCTag: TPLCStruct read ffaceplatetag write > > setfaceplateTag; > > 8. end; > > See > https://wiki.freepascal.org/Extending_the_IDE#Forms > > >[...] > > Mattias > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fluisgirardi at gmail.com Thu Feb 6 02:33:31 2025 From: fluisgirardi at gmail.com (Fabio Luis Girardi) Date: Wed, 5 Feb 2025 22:33:31 -0300 Subject: [Lazarus] Designer issues with specialized TFrame classes. In-Reply-To: References: <33aea519-dc65-4680-b958-ae37fb2e6243@netcologne.de> Message-ID: Hi again! One last question: There is some way to disable the editing of TFaceplateFrame instances inside a form? Em qua., 5 de fev. de 2025 ?s 17:09, Fabio Luis Girardi < fluisgirardi at gmail.com> escreveu: > Hi Mr. Gaertner! > > Reading the wiki, I realized that the following code is missing: > > uses FormEditingIntf... > > > procedure Register;begin > FormEditingHook.RegisterDesignerBaseClass(TFaceplateFrame);end; > > > After adding this part, I was able to see the new Frame properties after > the IDE restart. > > Thank you > > Em qua., 5 de fev. de 2025 ?s 06:00, Mattias Gaertner via lazarus < > lazarus at lists.lazarus-ide.org> escreveu: > >> >> >> On 2/4/25 23:37, Fabio Luis Girardi via lazarus wrote: >> > Hi everyone! >> > >> > I'm creating a new control for PascalSCADA that will mimic a >> functionality >> > of other engineering software in Lazarus. Lazarus has a similar feature >> > (Frames). Knowing this, I started from TFrame, trying to specialize it >> to >> > get new functions, but in this way, I'm doing something wrong in the >> > process. >> > >> > What I did: >> > >> > 1) Created the specialized TFrame class with the desired properties. >> > >> > 1. TFaceplateFrame = class(TFrame) >> > 2. private >> > 3. ffaceplatetag: TPLCStruct; >> > 4. protected >> > 5. procedure setfaceplateTag(AValue: TPLCStruct); >> > 6. published >> > 7. property FaceplatePLCTag: TPLCStruct read ffaceplatetag write >> > setfaceplateTag; >> > 8. end; >> >> See >> https://wiki.freepascal.org/Extending_the_IDE#Forms >> >> >[...] >> >> Mattias >> >> -- >> _______________________________________________ >> lazarus mailing list >> lazarus at lists.lazarus-ide.org >> https://lists.lazarus-ide.org/listinfo/lazarus >> > > > -- > The best regards, > > Fabio Luis Girardi > PascalSCADA Project > http://sourceforge.net/projects/pascalscada > http://www.pascalscada.com > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sysrpl at gmail.com Sun Feb 9 06:33:30 2025 From: sysrpl at gmail.com (Anthony Walter) Date: Sun, 9 Feb 2025 00:33:30 -0500 Subject: [Lazarus] Pool Table Simulator Example Project Message-ID: This week I quickly wrote a 3D pool table simulator for Linux using Free Pascal and the Lazarus IDE. You can check out an action clip of it here https://cache.getlazarus.org/videos/linux-pool.mp4. It's FOSS and the git repo for this and other examples projects are hosted here https://github.com/sysrpl/Raylib.4.0.Pascal. This was just a quick project in preparation for a 3D pinball program I want to write for Linux using Pascal. If you want to test the pool program out on x86_64, a binary is in the example table project folder. Use the mouse to aim, press spacebar to shoot, Keys 1-9 rerack the balls, C switches the camera mode, arrow keys move the cue and alter the hitting strength. Hold shift down for finer control of aiming and strength Oh and, I did write a nice glsl shader syntax highlighter for Lazarus that greatly aids writing glsl code in the Lazarus IDE. If anyone wants to put it in the official Lazarus list of highlighters let me know. -------------- next part -------------- An HTML attachment was scrubbed... URL: From uaigh at icloud.com Sun Feb 9 06:54:51 2025 From: uaigh at icloud.com (Noel Duffy) Date: Sun, 9 Feb 2025 18:54:51 +1300 Subject: [Lazarus] Pool Table Simulator Example Project In-Reply-To: References: Message-ID: > On 9 Feb 2025, at 18:33, Anthony Walter via lazarus wrote: > > This week I quickly wrote a 3D pool table simulator for Linux using Free Pascal and the Lazarus IDE. You can check out an action clip of it here https://cache.getlazarus.org/videos/linux-pool.mp4. It's FOSS and the git repo for this and other examples projects are hosted here https://github.com/sysrpl/Raylib.4.0.Pascal. > > This was just a quick project in preparation for a 3D pinball program I want to write for Linux using Pascal. If you want to test the pool program out on x86_64, a binary is in the example table project folder. > > Use the mouse to aim, press spacebar to shoot, Keys 1-9 rerack the balls, C switches the camera mode, arrow keys move the cue and alter the hitting strength. Hold shift down for finer control of aiming and strength > Excellent stuff. Have you considered posting this to someplace like Hacker News (https://news.ycombinator.com/)? It?s common for people to post their projects there, using the tag Show HN. We recently had a long thread on the FPC list about attracting new users to Free Pascal, and I think nothing attracts new programmers to a language like demos and examples of working programs, especially games. From sysrpl at gmail.com Sun Feb 9 07:44:29 2025 From: sysrpl at gmail.com (Anthony Walter) Date: Sun, 9 Feb 2025 01:44:29 -0500 Subject: [Lazarus] Pool Table Simulator Example Project In-Reply-To: References: Message-ID: Noel, Yes, I got a great response on HN with my prior published update on this project: Rendering my balls in a fragment shader https://news.ycombinator.com/item?id=32797057 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Amir at Aavani.net Thu Feb 13 20:20:24 2025 From: Amir at Aavani.net (Amir) Date: Thu, 13 Feb 2025 11:20:24 -0800 Subject: [Lazarus] Feature Request Message-ID: Hi team, ? Currently, in Lazarus, to include a path in my compiler search path, I choose a file in that path and add the file to my project (Shift-F11). This way I would update the search path but add an irrelevant/unused file to my lpr file. Can we add a way to just add the path of the current file to the project's search path, without adding the file itself. Best, Amir From tpham3783 at gmail.com Thu Feb 13 23:27:03 2025 From: tpham3783 at gmail.com (Toan Pham) Date: Thu, 13 Feb 2025 17:27:03 -0500 Subject: [Lazarus] Feature Request In-Reply-To: References: Message-ID: As far as I know, you can add this line to the fpc config file, then remove that file totally from your project. But then you have to reference it when you use it in one of the units in the project so that the compiler knows about it to compile it as well. /etc/fpc.cfg -Fu/path/to/project/where/myunit.pas/file/lives On Thu, Feb 13, 2025 at 2:20?PM Amir via lazarus < lazarus at lists.lazarus-ide.org> wrote: > Hi team, > > Currently, in Lazarus, to include a path in my compiler search path, > I choose a file in that path and add the file to my project (Shift-F11). > This way I would update the search path but add an irrelevant/unused > file to my lpr file. Can we add a way to just add the path of the > current file to the project's search path, without adding the file itself. > > Best, > Amir > > -- > _______________________________________________ > 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 lazarus at mfriebe.de Fri Feb 14 00:21:03 2025 From: lazarus at mfriebe.de (Martin Frb) Date: Fri, 14 Feb 2025 00:21:03 +0100 Subject: [Lazarus] Feature Request In-Reply-To: References: Message-ID: <2584c5c8-f844-4dfc-b4bc-46d9a4b4dc17@mfriebe.de> On 13/02/2025 20:20, Amir via lazarus wrote: > Hi team, > > ? Currently, in Lazarus, to include a path in my compiler search path, > I choose a file in that path and add the file to my project > (Shift-F11). This way I would update the search path but add an > irrelevant/unused file to my lpr file. Can we add a way to just add > the path of the current file to the project's search path, without > adding the file itself. Menu: Project > Project Options Page: Path And there you can add them From Amir at Aavani.net Fri Feb 14 05:38:56 2025 From: Amir at Aavani.net (Amir) Date: Thu, 13 Feb 2025 20:38:56 -0800 Subject: [Lazarus] Feature Request In-Reply-To: <2584c5c8-f844-4dfc-b4bc-46d9a4b4dc17@mfriebe.de> References: <2584c5c8-f844-4dfc-b4bc-46d9a4b4dc17@mfriebe.de> Message-ID: <0b14d7ab-c907-4d0e-a65a-23f7fab41e0d@Aavani.net> But it is not as easy as openning the file and pressing Shift-F11. Best, Amir On 2/13/25 3:21 PM, Martin Frb via lazarus wrote: > On 13/02/2025 20:20, Amir via lazarus wrote: >> Hi team, >> >> ? Currently, in Lazarus, to include a path in my compiler search >> path, I choose a file in that path and add the file to my project >> (Shift-F11). This way I would update the search path but add an >> irrelevant/unused file to my lpr file. Can we add a way to just add >> the path of the current file to the project's search path, without >> adding the file itself. > > Menu: Project > Project Options > Page: Path > > And there you can add them From juha.manninen62 at gmail.com Fri Feb 14 10:59:56 2025 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Fri, 14 Feb 2025 11:59:56 +0200 Subject: [Lazarus] Feature Request In-Reply-To: <0b14d7ab-c907-4d0e-a65a-23f7fab41e0d@Aavani.net> References: <2584c5c8-f844-4dfc-b4bc-46d9a4b4dc17@mfriebe.de> <0b14d7ab-c907-4d0e-a65a-23f7fab41e0d@Aavani.net> Message-ID: It is easy. You can browse the path with the button on the right. pe 14. helmik. 2025 klo 6.39 Amir via lazarus kirjoitti: > But it is not as easy as openning the file and pressing Shift-F11. > > Best, > Amir > > > On 2/13/25 3:21 PM, Martin Frb via lazarus wrote: > > On 13/02/2025 20:20, Amir via lazarus wrote: > >> Hi team, > >> > >> Currently, in Lazarus, to include a path in my compiler search > >> path, I choose a file in that path and add the file to my project > >> (Shift-F11). This way I would update the search path but add an > >> irrelevant/unused file to my lpr file. Can we add a way to just add > >> the path of the current file to the project's search path, without > >> adding the file itself. > > > > Menu: Project > Project Options > > Page: Path > > > > And there you can add them > > -- > _______________________________________________ > 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 Fri Feb 14 12:05:09 2025 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Fri, 14 Feb 2025 12:05:09 +0100 Subject: [Lazarus] Feature Request In-Reply-To: References: Message-ID: <1da50c93-e797-4788-b985-eaca0959db00@netcologne.de> On 2/13/25 20:20, Amir via lazarus wrote: > Hi team, > > ? Currently, in Lazarus, to include a path in my compiler search path, > I choose a file in that path and add the file to my project (Shift-F11). > This way I would update the search path but add an irrelevant/unused > file to my lpr file. Can we add a way to just add the path of the > current file to the project's search path, without adding the file itself. I'm confused: You have a source directory with relevant files, but you need to open an irrelevant file to add the unit path? Mattias From sysrpl at gmail.com Fri Feb 21 23:12:52 2025 From: sysrpl at gmail.com (Anthony Walter) Date: Fri, 21 Feb 2025 17:12:52 -0500 Subject: [Lazarus] 3D pool simulator with source Message-ID: If anyone runs Linux, I posted the source code to a 3D pool simulator. I am sure it is easy to modiify to work on Windows, Mac, or even Pi, but I am not too concerned about anything other than Linux for 3D related applications. A prebuilt version is available here: https://github.com/sysrpl/Raylib.4.0.Pascal/blob/master/examples/table/README.md Press C while running to change the camera modes. Arrow keys and space to shoot, or you can use the mouse in overhead mode. Of note is a smoothing implementation I came up with to draw nice antialiased vector lines and edges in 3D using this bit of fragment shader code. float floatblend(float position, float edge) { float dist = distance(eye, vertex); float m = dist / 1000; vec3 n = normalize(normal); vec3 v = normalize(eye - vertex); float d = dot(n, v); if (d < 0.0001) return 0.0; m = m * (1 + 1 / d); if (position + m < edge) return 1.0; if (position - m > edge) return 0.0; return smoothstep(position - m, position + m, edge); } What this does is look at an edge you are drawing (for example the stripe on a ball, the shot line on the table, or the diamonds on the wood top and so on), and accounts for the distance from your eye along with the angle you are viewing the line to apply some smoothing. Press E to cycle between a few smoothing modes to see the difference. Oh and finally, I did write glsl syntax highlighter if anyone wants to add it to the ones that TSynEdit supports in the official Lazarus distribution. If anyone wants to modify it to add multiplayer support, feel free to do so or add anything else you like. Cheers Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: From larrydalton71 at gmail.com Tue Feb 25 18:01:51 2025 From: larrydalton71 at gmail.com (Larry Dalton) Date: Tue, 25 Feb 2025 12:01:51 -0500 Subject: [Lazarus] libmysql.dll Message-ID: I?m having trouble loading libmysql.dll on new installation of Lazarus 3.4 fpc 3.2.2. None of my usual tricks are working. It is in C:\Program Files\Mysql, in the root directory of the project working, and I have set have set a path to the directory above. Any suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmlandmesser at gmx.de Tue Feb 25 18:39:22 2025 From: jmlandmesser at gmx.de (John Landmesser) Date: Tue, 25 Feb 2025 18:39:22 +0100 Subject: [Lazarus] libmysql.dll In-Reply-To: References: Message-ID: Am 25.02.25 um 18:01 schrieb Larry Dalton via lazarus: > I?m having trouble loading libmysql.dll on new installation of Lazarus > 3.4 fpc 3.2.2. None of my usual tricks are working. It is in > C:\Program Files\Mysql, in the root directory of the project working, > and I have set have set a path to the directory above. Any suggestions? > Perhaps difference? 32bit or 64bit in libmysql.dll and your Lazarus ? Mine is a 32bit Lazarus on windows 10 From chavoux at gmail.com Wed Feb 26 12:21:39 2025 From: chavoux at gmail.com (Chavoux Luyt) Date: Wed, 26 Feb 2025 13:21:39 +0200 Subject: [Lazarus] Best stable version of Lazarus? In-Reply-To: References: Message-ID: Hi everyone, Two questions: I hope this is the right forum to ask this. I am not really interested in testing the newest and shiniest version of Lazarus, but something stable that I can use over the next few years. I do not want to update Lazarus every few months. I am running on Debian (MXLinux) and I know that the Debian packages of Lazarus tend to be a bit (?) old. What version of Lazarus would you recommend with most of the bugs resolved (I.e. new enough to not be totally outdated, but also well used enough to have found and fixed most bugs)? I currently have Lazarus 2.2.4 using qt5 with fpc 3.2 installed. I want to develop a new 3D Window manager for Linux. Any advice on the best packages and/or version of Lazarus to use for this? I was thinking of using the castle game engine. Thank you in advance. Cheers, Chavoux Luyt -------------- next part -------------- An HTML attachment was scrubbed... URL: From williamoferreira at outlook.com Wed Feb 26 15:04:02 2025 From: williamoferreira at outlook.com (William Ferreira) Date: Wed, 26 Feb 2025 14:04:02 +0000 Subject: [Lazarus] Best stable version of Lazarus? In-Reply-To: References: Message-ID: git lab version pointing to master is not enough to you? you can also get deb packages on sourceforge. [https://thumbs.about.me/thumbnail/users/w/i/l/william.ferreira_emailsig.jpg?_1458044132_83] William Ferreira about.me/william.ferreira ________________________________ From: lazarus on behalf of Chavoux Luyt via lazarus Sent: Wednesday, February 26, 2025 08:21 To: lazarus at lists.lazarus-ide.org Cc: Chavoux Luyt Subject: [Lazarus] Best stable version of Lazarus? Hi everyone, Two questions: I hope this is the right forum to ask this. I am not really interested in testing the newest and shiniest version of Lazarus, but something stable that I can use over the next few years. I do not want to update Lazarus every few months. I am running on Debian (MXLinux) and I know that the Debian packages of Lazarus tend to be a bit (?) old. What version of Lazarus would you recommend with most of the bugs resolved (I.e. new enough to not be totally outdated, but also well used enough to have found and fixed most bugs)? I currently have Lazarus 2.2.4 using qt5 with fpc 3.2 installed. I want to develop a new 3D Window manager for Linux. Any advice on the best packages and/or version of Lazarus to use for this? I was thinking of using the castle game engine. Thank you in advance. Cheers, Chavoux Luyt -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthieugiroux at yahoo.fr Wed Feb 26 15:15:31 2025 From: matthieugiroux at yahoo.fr (Matthieu Giroux) Date: Wed, 26 Feb 2025 14:15:31 +0000 (UTC) Subject: [Lazarus] Best stable version of Lazarus? In-Reply-To: References: Message-ID: <1072991514.7863929.1740579331192@mail.yahoo.com> Old version of lazarus is only useful for armel architecture.Like MX Linux there is also Core Linux to update your OS.You can add last version of core linux and keep your /home separating the /home from /You old Lazarus will be keeped with fpc deluxe but you will need to boot on old MX Linux to make you lazarus working. You can find old 500 Go hard disks in shops. They are cheap. With that you can create a 400 Go /home partititon.Lazarus now integrate a lot of lazarus components. You can keep Lazarus 2.2 compatibility with {$DEFINE DEFINITION} and {$IFDEF DEFINITION}. There are some in extends.inc file on Extended Packages. Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 RennesT?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le mercredi 26 f?vrier 2025 ? 12:22:05 UTC+1, Chavoux Luyt via lazarus a ?crit : Hi everyone, Two questions: I hope this is the right forum to ask this. I am not really interested in testing the newest and shiniest version of Lazarus, but something stable that I can use over the next few years. I do not want to update Lazarus?every few months. I am running on Debian (MXLinux) and I know that the Debian packages of Lazarus tend to be a bit (?) old. What version of Lazarus would?you recommend with most of the?bugs resolved (I.e. new enough to not be totally outdated, but also well used enough to have found and fixed most bugs)? I currently have Lazarus 2.2.4 using?qt5 with fpc 3.2 installed. I want to develop a new 3D Window manager for Linux. Any advice on the best packages and/or version of Lazarus to use for this? I was thinking of using the castle game engine. Thank you in advance. Cheers,Chavoux Luyt-- _______________________________________________ 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 Wed Feb 26 15:21:00 2025 From: nc-gaertnma at netcologne.de (Mattias Gaertner) Date: Wed, 26 Feb 2025 15:21:00 +0100 Subject: [Lazarus] Best stable version of Lazarus? In-Reply-To: References: Message-ID: <91c05715-9e0d-4a99-a524-32e43b914b78@netcologne.de> On 2/26/25 12:21, Chavoux Luyt via lazarus wrote: > Hi everyone, > > Two questions: > > I hope this is the right forum to ask this. I am not really interested in > testing the newest and shiniest version of Lazarus, but something stable > that I can use over the next few years. I do not want to update > Lazarus every few months. I am running on Debian (MXLinux) and I know that > the Debian packages of Lazarus tend to be a bit (?) old. What version of > Lazarus would you recommend with most of the bugs resolved (I.e. new enough > to not be totally outdated, but also well used enough to have found and > fixed most bugs)? I currently have Lazarus 2.2.4 using qt5 with fpc 3.2 > installed. I'm glad you asked, because we created the releases for exactly that. The latest release with the most bugfixes is currently Lazarus 3.8 using fpc 3.2.2. Of course you can use an older version, but keep in mind, that Linux distros have changed as well, so a newer Lazarus version is better adapted to these. >[...] Mattias From doug at moosemail.net Thu Feb 27 21:18:40 2025 From: doug at moosemail.net (DougC) Date: Thu, 27 Feb 2025 15:18:40 -0500 Subject: [Lazarus] New MacOS user Message-ID: <195490fb3d7.1299138cc401325.8735418379140533137@moosemail.net> I've just decided to get back into programming and will be using the Lazarus IDE on my two Mac's (M1 and M4 models). In the past I have been thoroughly confused by the installation and configuration instructions that came with Lazarus and FPC. That led me to give up on them and go back to Delphi. But now I'm solidly entrenched in MacOS, so Lazarus and FPC are my only real options. I'd really like to contribute to the Lazarus and FPC projects, but I need to get familiar with them more before making suggestions. I think I would be most helpful in editing documentation, but we will see. While I do this I think it will be worthwhile to test if the current state of the documentation is as good as we want it to be. So, I'll be doing what I think are smart steps and reporting on the problems I encounter. That way we can turn around and clarify instructions where it seems necessary. So, I'll be going to the websites, downloading what I find, following the directions, and asking for help when I need it. My questions may become annoying, so I just want to let everyone know that my intentions are honorable and I do not mean to be annoying. Off to lazarus-ide.org to get started! -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at moosemail.net Thu Feb 27 23:22:25 2025 From: doug at moosemail.net (DougC) Date: Thu, 27 Feb 2025 17:22:25 -0500 Subject: [Lazarus] Forum login times out Message-ID: <1954980ffb1.d1ac6c70413959.5542969605256821973@moosemail.net> I am trying to login to the site at? https://forum.lazarus.freepascal.org/index.php?action=login2 The site comes back with an error: Your session timed out while posting. Please go back and try again. The "lost my password" link also produces a gateway timeout error. Can someone look at this? Doug C. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Fri Feb 28 08:49:35 2025 From: michael at freepascal.org (Michael Van Canneyt) Date: Fri, 28 Feb 2025 08:49:35 +0100 (CET) Subject: [Lazarus] Forum login times out In-Reply-To: <1954980ffb1.d1ac6c70413959.5542969605256821973@moosemail.net> References: <1954980ffb1.d1ac6c70413959.5542969605256821973@moosemail.net> Message-ID: <70c984b7-474b-f712-7568-8a213989e4a2@freepascal.org> On Thu, 27 Feb 2025, DougC via lazarus wrote: > I am trying to login to the site at? > > https://forum.lazarus.freepascal.org/index.php?action=login2 > > > > The site comes back with an error: > Your session timed out while posting. Please go back and try again. > > > > The "lost my password" link also produces a gateway timeout error. > > > > Can someone look at this? The sites are under what is presumably an AI scraping attack. The admins are doing what they can, blocking IP ranges as much as possible.. Michael. From juha.manninen62 at gmail.com Fri Feb 28 11:10:26 2025 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Fri, 28 Feb 2025 12:10:26 +0200 Subject: [Lazarus] New MacOS user In-Reply-To: <195490fb3d7.1299138cc401325.8735418379140533137@moosemail.net> References: <195490fb3d7.1299138cc401325.8735418379140533137@moosemail.net> Message-ID: On Fri, Feb 28, 2025 at 8:56?AM DougC via lazarus < lazarus at lists.lazarus-ide.org> wrote: > I'd really like to contribute to the Lazarus and FPC projects, but I need > to get familiar with them more before making suggestions. I think I would > be most helpful in editing documentation, but we will see. > > While I do this I think it will be worthwhile to test if the current state > of the documentation is as good as we want it to be. So, I'll be doing what > I think are smart steps and reporting on the problems I encounter. That way > we can turn around and clarify instructions where it seems necessary. > There is HTML documentation for the public APIs, functions and components. Other instructions for installation and usage etc. are in a community wiki. It has the same problems as any community wiki, namely poorly structured and partly duplicate data spread around because there is no editor-in-chief. If you make corrections there, observe how the bigger structure looks. Don't be afraid to remove data when it is outdated or duplicate. Juha -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthieugiroux at yahoo.fr Fri Feb 28 18:18:07 2025 From: matthieugiroux at yahoo.fr (Matthieu Giroux) Date: Fri, 28 Feb 2025 17:18:07 +0000 (UTC) Subject: [Lazarus] New MacOS user In-Reply-To: References: <195490fb3d7.1299138cc401325.8735418379140533137@moosemail.net> Message-ID: <2058549246.9497275.1740763087304@mail.yahoo.com> I am searching Mac OS packagers and testers with www.Ancestromania.eu . Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 RennesT?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le vendredi 28 f?vrier 2025 ? 11:10:52 UTC+1, Juha Manninen via lazarus a ?crit : On Fri, Feb 28, 2025 at 8:56?AM DougC via lazarus wrote: I'd really like to contribute to the Lazarus and FPC projects, but I need to get familiar with them more before making suggestions. I think I would be most helpful in editing documentation, but we will see. While I do this I think it will be worthwhile to test if the current state of the documentation is as good as we want it to be. So, I'll be doing what I think are smart steps and reporting on the problems I encounter. That way we can turn around and clarify instructions where it seems necessary. There is HTML documentation for the public APIs, functions and components.Other instructions for installation and usage etc. are in a community wiki. It has the same problems as any?community wiki, namely poorly structured and partly duplicate data spread around because there is no editor-in-chief.If you make corrections there, observe how the bigger structure looks. Don't be afraid to remove data when it is outdated or duplicate. Juha -- _______________________________________________ lazarus mailing list lazarus at lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus -------------- next part -------------- An HTML attachment was scrubbed... URL: