Re: [Lazarus] Stepping into the LCL with fpdebug

2024-04-22 Thread Mattias Gaertner via lazarus
On 22.04.24 10:37, Luca Olivetti via lazarus wrote: [...] First of all, the fpc release units have no debug information, so normally there is nothing to pick. I have no problem with rtl/fcl units, as I explained, I compile them with debug info (either -gl or -gw3) and I can step into

Re: [Lazarus] Stepping into the LCL with fpdebug

2024-04-22 Thread Mattias Gaertner via lazarus
On 22.04.24 09:54, Luca Olivetti via lazarus wrote: [...] make clean install OPT=-gw3 INSTALL_PREFIX=d:\pp-fpdebug (different path so I can keep the two versions) and I can step inside the rtl, just not inside the LCL. Since the packages are automatically built when I build the project, I

Re: [Lazarus] Project.pp

2024-04-03 Thread Mattias Gaertner via lazarus
On 03.04.24 15:28, Gabriele Cappelletto via lazarus wrote: Il 03/04/24 15:26, Gabriele Cappelletto via lazarus ha scritto: HI, I had a package that compiled well with Lazarus 2.2.4 (I used that one). Then I switched to 3.2 and it doesn't work anymore. Exactly it stops because it cannot

[Lazarus] Lazarus Bugfix Release 3.2

2024-02-28 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 3.2. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] How to restore package anchordocking to default values

2024-01-17 Thread Mattias Gaertner via lazarus
On 17.01.24 14:07, John Landmesser via lazarus wrote: On windows 10 i somehow ruined the configuration of installed package "AnchorDockingDsgn". All the anchored windows of the IDE are messed up  :-( It is of no use to reinstall this package ... so how to restore its default Values for

Re: [Lazarus] Issue compiling under MacOS

2024-01-07 Thread Mattias Gaertner via lazarus
On 07.01.24 10:50, Michael Thompson via lazarus wrote: Adding -ld_classic as per https://stackoverflow.com/questions/77153800/xcode-15-c-compilation-errors got me nowhere. Well, to be correct, it got me past the " ld: library 'c' not found" error, but introduced me to a "ld: framework not

[Lazarus] Lazarus Release 3.0

2023-12-21 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 3.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_3.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 Here is the list

Re: [Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-07 Thread Mattias Gaertner via lazarus
On 07.12.23 11:22, Bo Berglund via lazarus wrote: [...] Also looked at the /usr/bin dir and it is owned by root so no chance of installing as a user there... Yes, see https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard I thought that perhaps when running apt without sudo it would

Re: [Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-06 Thread Mattias Gaertner via lazarus
On 07.12.23 00:05, Bo Berglund via lazarus wrote: Since every customization of Lazarus means the IDE must be rebuilt it also means that Lazarus must be installed where the current user has permissions to do that. But when installing stuff via sudo apt install package it normally gets into

Re: [Lazarus] Attn. Mattias, adding x86 CPU detection function to DefineTemplates.pas

2023-11-23 Thread Mattias Gaertner via lazarus
On 23.11.23 02:11, Maxim Ganetsky via lazarus wrote: Hello. I am trying to solve https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/38786 (Lazarus emits x86-specific assembler mode compiler option for non-x86 CPUs). In order to solve it, I need to add the following function to

[Lazarus] Lazarus Release Candidate 2 of 3.0

2023-10-16 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the second release candidate of Lazarus 3.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_3.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] strange error message

2023-10-10 Thread Mattias Gaertner via lazarus
On 10.10.23 23:11, John Landmesser via lazarus wrote: Hi, recompile the IDE i get this Lazarus 3.99 (rev main_3_99-532-gb59196e223) FPC 3.2.0 x86_64-linux-gtk2 Lazarus did not find ppcarm Mattias -- ___ lazarus mailing list

Re: [Lazarus] Window Position

2023-09-22 Thread Mattias Gaertner via lazarus
On 22.09.23 07:17, Timothy Groves via lazarus wrote: Whenever a program I have written opens a created form, that form always appears precisely where it sat at design time, even if that would be way off the screen (my workstation has a 3440x1440 display, but the laptop I run many programs on

Re: [Lazarus] Build error with fixes_3_0 and FPC current main (3.3.1)

2023-08-20 Thread Mattias Gaertner via lazarus
On 20.08.23 08:23, Gabor Boros via lazarus wrote: [...] Free Pascal Compiler version 3.3.1 [2023/08/20] for x86_64 Copyright (c) 1993-2023 by Florian Klaempfl and others (1002) Target OS: Win64 for x64 (3104) Compiling lazarus.pp e:\Lazarus\fixes_3_0\ide\lazarus.pp(121,20) Warning: (5044)

Re: [Lazarus] [fpc-devel] Unicode RTL

2023-07-28 Thread Mattias Gaertner via lazarus
On 28.07.23 16:35, Michael Van Canneyt via lazarus wrote: [...] Naming something Unicode without adding any new Unicode feature can hardly be called consistent. As I wrote, the "Unicode" refers to String = UnicodeString. In that sense it is 'consistent with existent terminology' Yes, but

Re: [Lazarus] [fpc-devel] Unicode RTL

2023-07-28 Thread Mattias Gaertner via lazarus
On 28.07.23 13:42, Michael Van Canneyt via lazarus wrote: On Fri, 28 Jul 2023, Alexey Torgashin via lazarus wrote: Objection duly noted. Yes, 'Unicode RTL' sounds very bad. Before it was Unicode too. So, "UTF16 RTL", "WideChar RTL" or so. The "Unicode" refers to String =

Re: [Lazarus] Unicode RTL

2023-07-25 Thread Mattias Gaertner via lazarus
On 24.07.23 21:49, Michael Van Canneyt via lazarus wrote: [...]Hopefully, in the near future the compiler settings dialog in Lazarus will also allow you to specify a subtarget. I will add it. Mattias -- ___ lazarus mailing list

Re: [Lazarus] TThread.Queue vs Application.QueueAsyncCall

2023-07-18 Thread Mattias Gaertner via lazarus
On 17.07.23 19:01, Luca Olivetti via lazarus wrote: Hello, TThread.Queue and Application.QueueAsyncCall more or less do the same thing (even if they use two different queues that are managed at different times in the main thread). When it's better to use one or the other?

[Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-03 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the first release candidate of Lazarus 3.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_3.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Mattias Gaertner via lazarus
On Fri, 30 Jun 2023 16:25:47 +0200 (CEST) Michael Van Canneyt via lazarus wrote: >[...] > Honestly: I'll settle for actually managing to get a release out. +1000 Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] Output directories

2023-06-21 Thread Mattias Gaertner via lazarus
On Wed, 7 Jun 2023 11:58:11 +0200 Giuliano Colla via lazarus wrote: >[...] > When you're rebuilding Lazarus with source code in a write protected > folder, your local copy is created in a local ~/.lazarus folder. > Everything should be written there and the write protected folder > should be

Re: [Lazarus] Output directories

2023-06-07 Thread Mattias Gaertner via lazarus
On Wed, 7 Jun 2023 11:43:16 +0200 (CEST) Michael Van Canneyt via lazarus wrote: > Hello, > > There is a problem when installing Lazarus through the package > manager on Linux, and when you try to install/recompile additional > packages: > > Error: (lazarus) unable to create package output

Re: [Lazarus] Who uses "caret past EOL"?

2023-06-02 Thread Mattias Gaertner via lazarus
On Fri, 2 Jun 2023 18:07:28 +0200 Marc Weustink via lazarus wrote: >[...] > Thats fine with me. Having the scrollbar limited to the > max(screenwidht+something, longest line) makes sense. +1 Mattias -- ___ lazarus mailing list

Re: [Lazarus] Some source editor context menu items broken

2023-05-21 Thread Mattias Gaertner via lazarus
On Sun, 21 May 2023 10:48:30 +0200 (CEST) Michael Van Canneyt via lazarus wrote: >[...] > I saw a remark in main.pp that this is supposed to be faster than > using the codetools: > > CurWordAtCursor := ASrcEdit.GetWordAtCurrentCaret; > //it is faster to get information from SynEdit

Re: [Lazarus] Source Hint Popup window markup ?

2023-05-18 Thread Mattias Gaertner via lazarus
On Thu, 18 May 2023 09:58:58 +0200 (CEST) Michael Van Canneyt via lazarus wrote: > Hi, > > The IDE - in its desire to be helpful - shows a popup whenever you > hover your mouse over an identifier. > > It seems to me the popup contains some markdown (e.g. underscores): > see attached

Re: [Lazarus] dbg file on smb share hangs IDE

2023-05-16 Thread Mattias Gaertner via lazarus
On Tue, 16 May 2023 21:36:45 +0200 Martin Frb via lazarus wrote: > On 12/05/2023 13:55, Mattias Gaertner via lazarus wrote: > > Hi, > > > > When debugging a project on Windows with external debug info (.dbg) > > the IDE hangs. > > It works on the local C par

[Lazarus] dbg file on smb share hangs IDE

2023-05-12 Thread Mattias Gaertner via lazarus
Hi, When debugging a project on Windows with external debug info (.dbg) the IDE hangs. It works on the local C partition, but it hangs the IDE when the project is on a smb share. I have to kill lazarus.exe. Is this known? Mattias -- ___ lazarus

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-17 Thread Mattias Gaertner via lazarus
On Mon, 17 Apr 2023 10:11:28 +0200 Giuliano Colla via lazarus wrote: > Il 17/04/2023 08:15, Bo Berglund via lazarus ha scritto: > > > You never stop learning! > > Another thing I have learned with experience, is that sometimes the > cleanup isn't perfect and leaves some dangling ppu which

Re: [Lazarus] animated splash screen for lengthy operation, works with windows, doesn't with linux

2023-03-27 Thread Mattias Gaertner via lazarus
On Mon, 27 Mar 2023 14:40:26 +0200 Luca Olivetti via lazarus wrote: > El 27/3/23 a les 11:59, Luca Olivetti via lazarus ha escrit: > > > [*] instead of opening the query I spawn a thread that opens it, > > wait for it to finish while executing Application.ProcessMessages > > and eventually

Re: [Lazarus] Lazarus fails to build

2023-03-19 Thread Mattias Gaertner via lazarus
On Sun, 19 Mar 2023 01:50:26 +0100 Mattias Gaertner via lazarus wrote: >[...] > Note that when a base package is renamed or a new one is added it > will still need a clean build using make. The IDE now detects such changes, warn the user and offers to build using make distclean, make

Re: [Lazarus] Lazarus fails to build

2023-03-18 Thread Mattias Gaertner via lazarus
On Sun, 19 Mar 2023 00:00:02 +0100 (CET) Michael Van Canneyt wrote: >[...] > > As this happens seldom there is no detection built in (yet) to > > handle this automatically. I added a simple detection, so in the future the IDE will not add base packages to staticpackages.inc. I also added

Re: [Lazarus] Lazarus fails to build

2023-03-18 Thread Mattias Gaertner via lazarus
On Sat, 18 Mar 2023 23:39:02 +0100 Martin Frb via lazarus wrote: >[...] > This error happens everytime, when packages become part of the core > list. Because older IDE are not forward compatible with that sort of > change. As this happens seldom there is no detection built in (yet) to handle

[Lazarus] Lazarus Release 2.2.6

2023-03-09 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2.6. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-23 Thread Mattias Gaertner via lazarus
On Thu, 23 Feb 2023 11:48:06 +0100 Bo Berglund via lazarus wrote: >[...] > Next I went there again to do the rebuild, but now the button is no > longer enabled :-( > > But I found another in Tools/Build Lazarus with profile Normal IDE > If I use that will it do the same as the button you

Re: [Lazarus] Using packages for often used units across projects?

2023-02-14 Thread Mattias Gaertner via lazarus
On Tue, 14 Feb 2023 10:06:50 +0100 Bo Berglund via lazarus wrote: >[...] > Suppose I make a package with about 10 non-GUI utility units and use > the Package Manager to compile them so they will be known to new > projects if I add a dependency to this package. > > Then in a new project I put a

Re: [Lazarus] make all compilation error after 319649fb (Attn: Martin)

2023-01-09 Thread Mattias Gaertner via lazarus
On Mon, 9 Jan 2023 18:01:19 +0100 Martin Frb via lazarus wrote: >[...] > There is "make" (aka "make all" ?) and "make bigide". > Afaik "make useride" depends on what packages are configured, so that > is not just a single setting? Yes. But if you start with an empty config directory "make

Re: [Lazarus] revamping a very old print

2023-01-07 Thread Mattias Gaertner via lazarus
On Sat, 7 Jan 2023 19:17:36 +0100 duilio foschi via lazarus wrote: >[...] > 6. how do I set the size of the font? As normal: Printer.Canvas.Font.Size:= >[...] Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] Error building Lazarus Trunk

2023-01-01 Thread Mattias Gaertner via lazarus
On Sun, 1 Jan 2023 07:15:41 -0800 Wayne Sherman via lazarus wrote: > On Sun, Jan 1, 2023 at 1:51 AM Ondrej Pokorny wrote: > > Ok , 2nd attempt :) > > https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/71ac105bc728824b849c027a016ad572226002c1 > > > > Yes, that fixed it. Thank you. > >

Re: [Lazarus] Makefile issues

2022-12-01 Thread Mattias Gaertner via lazarus
On Thu, 1 Dec 2022 23:22:38 +0100 (CET) Michael Van Canneyt via lazarus wrote: >[...] > Well, it turns out that "make useride" also does not work on a fresh > checkout. It didn't work when Cleaning is enabled. Fixed. >[...] > But the point of the 'main targets' is taken, so I filed a feature

Re: [Lazarus] Makefile issues

2022-12-01 Thread Mattias Gaertner via lazarus
On Wed, 30 Nov 2022 14:35:24 +0100 (CET) Michael Van Canneyt via lazarus wrote: > Hello, > > The lazarus makefile has some dependency issues. > > make ide: That's an internal target. See "make help". >[...] > Based on the output of "make help", in an attempt to create > svn2revisioninc I

Re: [Lazarus] Possible Codetools issue for embedded targets in main branch

2022-11-02 Thread Mattias Gaertner via lazarus
On Fri, 07 Oct 2022 07:31:37 + Alfred via lazarus wrote: > If I am free to make this request, the most easy method (for me) > would be a boolean setting in miscellaneousoptions.xml. > Something with the name "Force-rescan" that gets reset when the > rescan has been performed when Lazarus has

Re: [Lazarus] Possible Codetools issue for embedded targets in main branch

2022-10-07 Thread Mattias Gaertner via lazarus
On Fri, 07 Oct 2022 06:00:28 + Alfred via lazarus wrote: > Sidenote request, as fpcupdeluxe maintainer. > It would be nice if the rescan procedure would be reacheable from the > outside. > Fpcupdeluxe would like to use it when updating/installing sources. > Thanks. Outside means here IPC

Re: [Lazarus] Possible Codetools issue for embedded targets in main branch

2022-10-06 Thread Mattias Gaertner via lazarus
On Thu, 6 Oct 2022 22:47:19 +0200 Michael Ring via lazarus wrote: > While investigating further I suddenly saw that the unit was detected. > > So I did a complete fresh install via fpcupdeluxe, opened a project > for rp2040, saw the error. > > Then I selected 'rescan fpc source directory' and

[Lazarus] Lazarus Release 2.2.4

2022-09-28 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2.4. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-30 Thread Mattias Gaertner via lazarus
On Fri, 24 Jun 2022 17:27:13 +0200 Werner Pamler via lazarus wrote: >[...] > But still the situation is not very satisfying. Maybe instead of the GraphicClass.ClassName the first extension can be written. That means, that an old IDE cannot read the graphic. Or the vampyrlib defines type

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-24 Thread Mattias Gaertner via lazarus
On Fri, 24 Jun 2022 11:09:17 +0200 Werner Pamler via lazarus wrote: >[...] It is > my impression there is no way to register a new format in any way > without modifying the sources of TPicture. TPicture: class function SupportsClipboardFormat(FormatID: TClipboardFormat): Boolean; class

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-23 Thread Mattias Gaertner via lazarus
On Fri, 24 Jun 2022 00:05:02 +0200 Luca Olivetti via lazarus wrote: > El 23/6/22 a les 21:40, Mattias Gaertner via lazarus ha escrit: > > On Thu, 23 Jun 2022 20:38:59 +0200 > > Luca Olivetti via lazarus wrote: > > > >> [...] > >> I don't unders

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-23 Thread Mattias Gaertner via lazarus
On Thu, 23 Jun 2022 20:38:59 +0200 Luca Olivetti via lazarus wrote: >[...] > I don't understand why the ide prefers one class over the other, I > guess they are all treated the same and the one registered last wins? Correct. See TPicture.RegisterFileFormat Mattias --

Re: [Lazarus] Simplest way to update a .lfm using a Component Editor

2022-05-20 Thread Mattias Gaertner via lazarus
On Fri, 20 May 2022 11:28:59 -0300 "Marcos Douglas B. Santos via lazarus" wrote: > Hello, > I wrote a component which has a Component Editor. > How is the simplest way to update the .lfm form, using this Component > Editor? What do you mean with "update the lfm"? > I took a look in

Re: [Lazarus] Lazarus Release 2.2.2

2022-05-19 Thread Mattias Gaertner via lazarus
Sorry for the double posts. Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Lazarus Release 2.2.2

2022-05-19 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2.2. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

[Lazarus] Lazarus Release 2.2.2

2022-05-19 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2.2. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

[Lazarus] Lazarus Release 2.2.2

2022-05-19 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2.2. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] Lazarus is running but not responding.

2022-04-22 Thread Mattias Gaertner via lazarus
On Fri, 22 Apr 2022 14:47:14 +0200 Martin Frb via lazarus wrote: >[...] > It's also very annoying, if you have a hanging IDE instance. It is > impossible to start a 2nd instance to attach and debug. lazarus.exe --force-new-instance >[...] Mattias --

Re: [Lazarus] TMS Component and Lazarus IDE

2022-04-19 Thread Mattias Gaertner via lazarus
On Tue, 19 Apr 2022 09:42:10 +0200 Marcello via lazarus wrote: > Hi all > > Some time ago I asked on the forum more information about the status > of the installation of TMS components in Lazarus. > I would be interested in buying these components but I did not > understand if I can install

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Mattias Gaertner via lazarus
On Fri, 8 Apr 2022 14:21:23 +0200 Sven Barth via lazarus wrote: >[...] > Solving this would at the same time allow the IDE to have a TButton > for both the LCL and e.g. Web Components Library. Right now they need > to be named differently like WebCtrls.TWButton. Note that if you just want to

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Mattias Gaertner via lazarus
On Fri, 8 Apr 2022 10:49:05 +0200 (CEST) Michael Van Canneyt via lazarus wrote: >[...] > > Only if you want to support reading different TButton in one > > application. > > But that is exactly what I want to support ? I understand a lcl controls.TButton and a web controls.TButton, but that

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Mattias Gaertner via lazarus
On Wed, 6 Apr 2022 12:56:17 +0200 (CEST) Michael Van Canneyt via lazarus wrote: > Hello, > > I'm probably kicking in an open door when I'm saying that lazarus > evolves and grows. This is good news, obviously. > > But I have now more tabs on the component palette than can fit on the > screen.

Re: [Lazarus] How to check in code if LCLWidgetType is qt5?

2022-03-29 Thread Mattias Gaertner via lazarus
On Tue, 29 Mar 2022 15:44:24 +0200 John Landmesser via lazarus wrote: > My app checks in code if trayIcon.Hint is working. > > Therefor I have to distinguish in my code if the application has > > LCLWidgetType=qt5 or LCLWidgetType=gtk2 > > The solution for gtk2 is: > > >

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Mattias Gaertner via lazarus
On Tue, 25 Jan 2022 13:59:48 +0100 (CET) Michael Van Canneyt via lazarus wrote: > On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: > > > On Tue, 25 Jan 2022 13:37:47 +0100 > > Mattias Gaertner via lazarus wrote: > > > >> On Tue, 25 Jan 2022 13:3

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Mattias Gaertner via lazarus
On Tue, 25 Jan 2022 13:37:47 +0100 Mattias Gaertner via lazarus wrote: > On Tue, 25 Jan 2022 13:32:22 +0100 (CET) > Michael Van Canneyt via lazarus wrote: > > >[...] > > > Yes. > > > > (and it does not help) > > Did you install it? T

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Mattias Gaertner via lazarus
On Tue, 25 Jan 2022 13:32:22 +0100 (CET) Michael Van Canneyt via lazarus wrote: >[...] > > Yes. > > (and it does not help) Did you install it? The old IDE does not know it has to install it. Did idedebugger package compile? Does yourlazaruscfgdir/idemake.cfg contains

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Mattias Gaertner via lazarus
On Tue, 25 Jan 2022 13:16:49 +0100 (CET) Michael Van Canneyt via lazarus wrote: >[...] > environmentopts.pp(55,50) Fatal: Cannot find debugger used by > EnvironmentOpts. make[2]: *** [Makefile:4872: lazarus] Error 1 > make[1]: *** [Makefile:5310: ide] Error 2 Error: make: *** > [Makefile:3731:

Re: [Lazarus] commit 6c3286c7 broke LCL compilation attn: matthias

2022-01-17 Thread Mattias Gaertner via lazarus
On Mon, 17 Jan 2022 13:40:17 +0100 Marcus Sackrow via lazarus wrote: >[...] > is there are way to do that? (except writing a fpc4amiga.sh script and > pass that as compiler, which I tried and works but it's a bit annoying > for automatic compilation inside jenkins) You could create a project

Re: [Lazarus] commit 6c3286c7 broke LCL compilation attn: matthias

2022-01-17 Thread Mattias Gaertner via lazarus
On Mon, 17 Jan 2022 11:58:22 +0100 Marcus Sackrow via lazarus wrote: >[...] > usually for certain targets (amiga-likes) I only compile the LCL, > because lazarus itself will not work. > > I did that in the past on my jenkins server with > > make registration . > > make lazutils > >

[Lazarus] Lazarus Release 2.2

2022-01-05 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.2. 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_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 Here is the list

Re: [Lazarus] Lazarus server back online

2021-12-28 Thread Mattias Gaertner via lazarus
On Tue, 28 Dec 2021 09:41:03 +0100 Marc Weustink via lazarus wrote: >[...] > To be continued... Oh dear. Thanks for the all the work! Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Codetools - "Error: identifier not found: Boolean8"

2021-12-22 Thread Mattias Gaertner via lazarus
On Wed, 22 Dec 2021 22:59:00 +0100 (CET) Michael Van Canneyt via lazarus wrote: > On Wed, 22 Dec 2021, Gabor Boros via lazarus wrote: > > > Hi All, > > > > FPC main and Lazarus fixes_2_2 or main. If double click on the new > > project's main form got "identifier not found: Boolean8". > > > >

Re: [Lazarus] New Synthwave Demo

2021-11-30 Thread Mattias Gaertner via lazarus
On Wed, 1 Dec 2021 10:38:59 +1300 Derek Edson via lazarus wrote: > I do not believe this is an appropriate place for this sort of > discussion, especially with the untruths being spead. People believing in world conspiracies can't be convinced with some links and mails. Let's get back to

Re: [Lazarus] New Synthwave Demo

2021-11-30 Thread Mattias Gaertner via lazarus
Juha, you know, what happens to subscribers staying off topic. There are already enough platforms for such stuff. Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Application.QueueAsyncCall and "conversion between ordinals and pointers is not portable"

2021-11-29 Thread Mattias Gaertner via lazarus
On Fri, 26 Nov 2021 13:15:07 +0100 Luca Olivetti via lazarus wrote: > Hello, > > Application.QueueAsyncCall is defined as > > procedure Application.QueueAsyncCall(const AMethod:TDataEvent; Data: > PtrInt); > > When I want to pass a string or a big structure as "Data", I create a > pointer

[Lazarus] Lazarus Release Candidate 2 of 2.2.0

2021-11-02 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the second release candidate of Lazarus 2.2. 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_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] e: Lazarus - Cant compile ZeosDBO

2021-09-21 Thread Mattias Gaertner via lazarus
On Tue, 21 Sep 2021 17:02:05 -0500 "Terry A. Haimann via lazarus" wrote: > I went back and fired up Lazarus as my regular user and I got several > popups complaining about the installation. So this may be the problem > even though I don't see the actual problem. As I said before, this is > an

Re: [Lazarus] Lazarus - Cant compile ZeosDBO

2021-09-20 Thread Mattias Gaertner via lazarus
folder is writable. If not, it creates instead a folder in your config directory. Mattias > > Terry > > > On Mon, 2021-09-20 at 09:45 +0200, Mattias Gaertner via lazarus wrote: > > On Sun, 19 Sep 2021 16:39:01 -0500 > > "Terry A. Haimann via lazarus"

Re: [Lazarus] Lazarus - Cant compile ZeosDBO

2021-09-20 Thread Mattias Gaertner via lazarus
On Sun, 19 Sep 2021 16:39:01 -0500 "Terry A. Haimann via lazarus" wrote: >[...] > I ran startlazarus as root ouch Not recommended. Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Lazarus Release Candidate 1 of 2.2.0

2021-07-12 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the first release candidate of Lazarus 2.2. 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_2.2.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Re: [Lazarus] Registering a TFrame to component palette

2021-06-13 Thread Mattias Gaertner via lazarus
On Sun, 13 Jun 2021 21:04:31 +0200 (CEST) Michael Van Canneyt via lazarus wrote: >[...] > I have always used (since D7) a special designer call for this. > > With (BorlandIDEServices As IOTAModuleServices) Do >CreateModule(TMKFormWizardModuleCreator.Create(FBaseClass, >

Re: [Lazarus] Do I really need to use Build to get all recent changes included?

2021-03-27 Thread Mattias Gaertner via lazarus
On Sat, 27 Mar 2021 10:15:55 +0100 Bo Berglund via lazarus wrote: >[...] > Question: > - > Should not Run/Compile create the binary based on *all* the latest > sources? If I use Run/Build I am going to increment the build number > all the time while debugging, which I would rather avoid.

Re: [Lazarus] Codetools and casing of unit files on Darwin

2021-03-12 Thread Mattias Gaertner via lazarus
On Wed, 10 Mar 2021 14:17:28 +0100 Michael Ring via lazarus wrote: > I am having an issue with casing of included units and codetools, I > searched through Mantis but did not find anything matching although I > think this issue is too obvious for nobody besides me seeing it: > > I am on

Re: [Lazarus] Lazarus loses environment, why does this happen?

2021-03-12 Thread Mattias Gaertner via lazarus
On Fri, 12 Mar 2021 15:25:42 +0100 Bo Berglund via lazarus wrote: > Lazarus 2.0.8 on Raspberry Pi 4 with FPC 3.0.4 > > I have discussed this topic here before but I would like to know what > is causing the problem... > It happened again today; when I started Lazarus I just got the main > bar

[Lazarus] Lazarus Release 2.0.12

2021-02-24 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.0.12. This release was built with FPC 3.2.0. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_2.0.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.0 Windows users

Re: [Lazarus] Introducing new dependencies between components - how to update make files?

2021-02-21 Thread Mattias Gaertner via lazarus
On Sun, 21 Feb 2021 11:50:49 +0200 Christo Crause via lazarus wrote: > I'm busy working on expanding AVR support in fpdebug/fpdebugdebugger. > Some of the property classes overlap with classes already defined in > gdbmidebugger and I want to move these classes up the hierarchy to > avoid

Re: [Lazarus] MSSQL howto catch a TMSSQLConnection Error without Messagebox?

2021-01-27 Thread Mattias Gaertner via lazarus
On Wed, 27 Jan 2021 16:02:40 +0100 (CET) Michael Van Canneyt via lazarus wrote: > If you don't do a re-raise, I don't understand where the dialog box > comes from, since you're catching all exceptions... Maybe try     (IsOk); except end; The xxx contains a ShowModal? Mattias --

Re: [Lazarus] question with IDE

2021-01-15 Thread Mattias Gaertner via lazarus
On Fri, 15 Jan 2021 13:06:16 +0100 duilio foschi via lazarus wrote: > my IDE sometimes decides that procedure X was not coded in the > implementation section of a unit...and adds an empty definition > (see: https://imgur.com/awP7cK2) > > The procedure is there (see https://imgur.com/6H5F2cG)

Re: [Lazarus] lHelp improvements

2020-12-30 Thread Mattias Gaertner via lazarus
On Wed, 30 Dec 2020 21:44:21 +0300 Andrey Sobol via lazarus wrote: >[...] > I know about it. But the main problem is that the Lhelp is another > application. Need to transfer preference data (search pathes and > registered database files info) to lHelp. Without this I can`t do > nothing

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Mattias Gaertner via lazarus
On Mon, 28 Dec 2020 21:05:00 +0100 Marco van de Voort via lazarus wrote: >[...] > It is wise to bring this up early, because it might require changes > to the general Lazarus  help system, since lhelp needs to get a list > of registered help files at once (so it can manage the combined index >

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-28 Thread Mattias Gaertner via lazarus
On Mon, 28 Dec 2020 11:21:00 +0100 Bo Berglund via lazarus wrote: > On Mon, 28 Dec 2020 01:35:54 +0100, Mattias Gaertner via lazarus > wrote: > > >On Sun, 27 Dec 2020 18:58:58 -0500 > >wkitty42--- via lazarus wrote: > > > >> On 12/27/20 5:15 PM

Re: [Lazarus] lHelp improvements

2020-12-27 Thread Mattias Gaertner via lazarus
On Sun, 27 Dec 2020 17:15:23 +0300 Соболь Андрей Евгеньевич via lazarus wrote: > Hi, guys. > > I am trying to do the lHelp more convenient. Great! > And after I have > combined a chm indexes on start, I think about next step. What I > see... > 1. Exist a contradiction of behavior for contex

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-27 Thread Mattias Gaertner via lazarus
On Sun, 27 Dec 2020 18:58:58 -0500 wkitty42--- via lazarus wrote: > On 12/27/20 5:15 PM, Mattias Gaertner via lazarus wrote: > > When the IDE starts, and there is no environmentoptions.xml file it > > copies it from the secondary config directory. Maybe you are seeing > >

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-27 Thread Mattias Gaertner via lazarus
On Sun, 27 Dec 2020 12:31:48 +0100 Bo Berglund via lazarus wrote: >[...] > Note that when I discovered this problem there was a smaller file > dated "just now" in the pcp directory and it contained no trace of the > desktop I used. When the IDE starts, and there is no environmentoptions.xml

Re: [Lazarus] Lazarus Release 2.0.10

2020-12-27 Thread Mattias Gaertner via lazarus
Hi, I uploaded a new macOS binary package, fixing the IDE restart. The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-27 Thread Mattias Gaertner via lazarus
On Sun, 27 Dec 2020 09:12:20 +0100 Bo Berglund via lazarus wrote: >[...] > And I woud like to know *why* Lazarus loses this information, it is > not the first time it happened... Maybe your windows are on another screen. Try in menu Window / Center a lost window / ... Mattias --

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-27 Thread Mattias Gaertner via lazarus
On Sun, 27 Dec 2020 00:11:45 +0100 Bo Berglund via lazarus wrote: > Now it happened again! > I closed Lazarus on a Raspberry Pi4 accessed via VNC. Then I started > it again and now only the code editor window appears, all other > windows for my desktop have disappeared!!! :( > > Question: >

Re: [Lazarus] Lazarus totally destroyed... :(

2020-11-20 Thread Mattias Gaertner via lazarus
On Fri, 20 Nov 2020 13:09:18 +0100 (CET) Michael Van Canneyt wrote: >[...] > home:~/lazarus> svn status -q > home:~/lazarus> delp -r . > DelPascal Version 1.3 > Copyright (c) 1999-2012 by the Free Pascal Development Team > > - Removed 67 *.compiled (32.215 Bytes) > - Removed 2 *.o

Re: [Lazarus] Lazarus totally destroyed... :(

2020-11-20 Thread Mattias Gaertner via lazarus
On Fri, 20 Nov 2020 11:32:49 +0100 (CET) Michael Van Canneyt via lazarus wrote: > Hello, > > > - Updated Lazarus from SVN. > - Lazarus no longer compiles (FPC 3.2) It compiles here. > - Managed to fix that: > > home:~/lazarus> svn diff ide/ideoptionsdlg.pas > Index:

Re: [Lazarus] Default project ?

2020-11-18 Thread Mattias Gaertner via lazarus
On Wed, 18 Nov 2020 21:31:44 +0100 Bo Berglund via lazarus wrote: >[...] > So, what is that command-line option then? lazarus.exe -h > Do I first need to create an empty project, which can be thrown at > Lazarus on startup? > Or is there a command line option like Delphi's -np also for

Re: [Lazarus] Default project ?

2020-11-18 Thread Mattias Gaertner via lazarus
On Wed, 18 Nov 2020 20:43:33 +0100 Bo Berglund via lazarus wrote: >[...] > OK, so if the last project opened is seriously flawed (for this > Lazarus) and crashes Lazarus, how can one ever remedy that? > > In my case it has happened when I open an existing project in a new > Lazarus installation

Re: [Lazarus] What to replace Application.Processmessages with?

2020-11-01 Thread Mattias Gaertner via lazarus
On Sun, 01 Nov 2020 11:37:14 +0100 Bo Berglund via lazarus wrote: > On Sun, 1 Nov 2020 10:20:11 +0100 (CET), Michael Van Canneyt via > lazarus wrote: > > >> QUESTION: > >> Is there a way in code to check if Forms is used? > >> So it can be used instead of {$IFDEF NOGUI} > > > >normally > > >

Re: [Lazarus] What to replace Application.Processmessages with?

2020-10-27 Thread Mattias Gaertner via lazarus
On Mon, 26 Oct 2020 13:00:26 +0100 (CET) Michael Van Canneyt via lazarus wrote: >[...] > Procedure HandleMainLoop; > > begin > {$IFDEF NOGUI} >CheckSynchronize; > {$ELSE} >Application.ProcessMessages; > {$ENDIF} > end; > > And call that both in GUI and NOGUI.

[Lazarus] Test1

2020-10-26 Thread Mattias Gaertner via lazarus
-- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

  1   2   3   4   5   6   7   >