Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Giuliano Colla via lazarus
Il 16/03/2023 18:46, Bo Berglund via lazarus ha scritto: I have a number of Lazarus releases installed where 3.0.4 is the fpc used. So they all used the same and there was no problem. (This is on Ubuntu Linux 22.04 btw and I install everything from sources) I have a similar problem, needing to

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-26 Thread Giuliano Colla via lazarus
Il 26/03/2023 14:42, Bo Berglund via lazarus ha scritto: Thanks for your input! On Windows I have been using the installer for Lazarus which can be downloaded from SourceForge and this isolates the Lazarus and Fpc into its own "sandbox" such that these probnlems do not appear. My real problems

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

2023-03-27 Thread Giuliano Colla via lazarus
Il 27/03/23 09:46, Luca Olivetti via lazarus ha scritto: Hello, I'd like to show a splash screen with an animation during a lengthy operation. I cannot rely on a timer to show the animation since the message loop isn't running, so I'm using a thread to directly paint over the form, i.e.: W

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-03-31 Thread Giuliano Colla via lazarus
Among the internet examples of Delphi 7 you should find a small app named netchat, which provides a basic IPC. It’s quite simple and bullet-proof. I’ve converted to Lazarus on Linux, and used as a base for my needs of IPC. But converting on the same Windows environment should be very simple, jus

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Giuliano Colla via lazarus
Il 01/04/2023 09:37, Bo Berglund via lazarus ha scritto: Where are the "internet examples of Delphi 7" located? Inside the Delphi7 installation or where? I can't find any. By the name you write it looks to me (without having found the example) that it is a*network* application using TCP/IP soc

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Giuliano Colla via lazarus
Il 01/04/2023 10:53, Bo Berglund via lazarus ha scritto: And I can use Indy10 sockets rather than the now since long deprecated TTcpClient and TTcpServer components. I guess I will save myself a lot of time doing this... If I were you I'd take ten minutes to give it a try. Just compile, launch

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Giuliano Colla via lazarus
Il 01/04/2023 14:50, Jean SUZINEAU via lazarus ha scritto: You can uses pipes too, basically just two files no need of networking, one for reading (delphi to freepascal), one for writing(freepascal to delphi). I made last year a small app to communicate with Audacity (https://www.audacitytea

[Lazarus] IDE rebuild failure on MAC OS

2023-04-05 Thread Giuliano Colla via lazarus
I have updated Lazarus to 2.2.6 on Mac OS (Apple Silicon M1 processor). As I'm using some extra packages, I needed to rebuild the IDE in order to install those packages. But to my dismay, building of the normal IDE, without touching the original settings, failed with a rather unexpected error:

Re: [Lazarus] Lazarus 2.2.6/Fpc 3.2.2 Win-32 - Cannot add desktops, why?

2023-04-10 Thread Giuliano Colla via lazarus
Il 10/04/2023 16:53, Bo Berglund via lazarus ha scritto: I was following my notes on how to configure a newly installed Lazauus to my liking when I stumbled across an item I have not seen AFAICT: Normally I configure different desktops to use for different types of application, for example the

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

2023-04-17 Thread Giuliano Colla via lazarus
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 creates a problem like the one you had. It occurred to me when attempting to rebuild

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

2023-04-18 Thread Giuliano Colla via lazarus
Il 17/04/2023 10:32, Mattias Gaertner via lazarus ha scritto: That's why there is "Clean all" radiobutton on the configure build lazarus dialog. It building fails, try that. I did look in vain for that radiobutton. The only one available (Lazarus 2.2.6) is "clean common files": Giuliano --

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

2023-04-18 Thread Giuliano Colla via lazarus
Il 18/04/2023 12:33, Mattias Gaertner ha scritto: Tools / Configure Build Lazarus / page Build / groupbox Clean up / Clean all https://wiki.lazarus.freepascal.org/IDE_Window:_Configure_Build_Lazarus#Buttons Mattias I've found why the radio buttons aren't visible anymore in my setup. My inst

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

2023-04-19 Thread Giuliano Colla via lazarus
Il 19/04/2023 18:24, Bo Berglund via lazarus ha scritto: On Mon, 17 Apr 2023 10:32:51 +0200, Mattias Gaertner via lazarus wrote: 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

Re: [Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

2023-04-19 Thread Giuliano Colla via lazarus
Il 19/04/2023 18:34, Bo Berglund via lazarus ha scritto: Result: When I use Release the symbols are not added and when using Debug, then the symbols are added*and* the executable name is changed to originalname.dbg. This is of course on Linux, what happens on Windows I don't know. originalname.

Re: [Lazarus] Cannot use bookmarks in code window - why?

2023-04-24 Thread Giuliano Colla via lazarus
Il 23/04/23 20:28, Bo Berglund via lazarus ha scritto: Thanks, that worked fine! Any timetable for Lazarus 2.4.0 release? If you are impatient, you can get (via fpcupdeluxe or via git repository) the trunk version of Lazarus, where the problem has been fixed, and you'll get the popup menu

[Lazarus] Macro not defined: "Target_OS".

2023-05-16 Thread Giuliano Colla via lazarus
When launching Lazarus from console I see a number of warnings like this: Warning: (lazarus) Macro not defined: "Target_OS". It's there since the dawn of times (from Lazarus 1.8 up to the latest Lazarus trunk). Is it something to worry about? Giuliano --

[Lazarus] Build IDE "forgets" Target CPU

2023-05-17 Thread Giuliano Colla via lazarus
Recent Macs support both X86_64 and aarm64 binaries, and if you wish to compile your app one way or the other you may just select it in Project Options. You may be forced to select x86_64 if you wish to use Qt5 because Qt provides Qt5 only for x86. But if you wish to build the IDE for a differe

Re: [Lazarus] Output directories

2023-06-07 Thread Giuliano Colla via lazarus
Il 07/06/23 11:43, Michael Van Canneyt via lazarus ha scritto: 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 directory "/usr/share/lazarus/2.2

Re: [Lazarus] Hi-DPI tweak of components

2023-06-08 Thread Giuliano Colla via lazarus
Il 08/06/2023 08:08, Ondrej Pokorny via lazarus ha scritto: Check TCustomColorBox how it handles FColorRectWidth as an example (it uses a default value and if the user overwrites it, it gets scaled in DoAutoAdjustLayout(). I believe that scaling for different DPI has been implemented with a

Re: [Lazarus] Hi-DPI tweak of components

2023-06-08 Thread Giuliano Colla via lazarus
Il 08/06/2023 11:34, Giuliano Colla via lazarus ha scritto: Il 08/06/2023 08:08, Ondrej Pokorny via lazarus ha scritto: Check TCustomColorBox how it handles FColorRectWidth as an example (it uses a default value and if the user overwrites it, it gets scaled in DoAutoAdjustLayout(). I

Re: [Lazarus] Hi-DPI tweak of components

2023-06-08 Thread Giuliano Colla via lazarus
Il 08/06/23 11:58, Ondrej Pokorny via lazarus ha scritto: All in all, an over-complicated approach with little gain. The gain would be that you do not add up rounding errors. We can't have fractional pixels, of course, but we may have the exact actual size at design/creation time, and for e

Re: [Lazarus] Hi-DPI tweak of components

2023-06-08 Thread Giuliano Colla via lazarus
Il 08/06/23 12:39, Jean SUZINEAU via lazarus ha scritto: I think you can't use integer value for mm or inches. Of course you can't. But you can use integer values for hundredth of mm (that's the resolution of high quality photo-composition) or for thousandth of inch (slightly worse but still

Re: [Lazarus] Hi-DPI tweak of components

2023-06-08 Thread Giuliano Colla via lazarus
Il 08/06/23 18:40, Ondrej Pokorny via lazarus ha scritto: And because it is so much fun, I wrote a completely general program to test it. Well you've shown that it isn't so bad. But there's another detail to consider, when resizing: font size. Font size can (and should be) specified in typo

[Lazarus] Qt5 IDE fails to build on Linux

2023-06-12 Thread Giuliano Colla via lazarus
Attempting to build latest Lazarus trunk on Linux CentOs7 with Qt5 fails with error: /home/colla/Applicazioni/lazarus_main/lcl/interfaces//qt5/qtobject.inc:44: undefined reference to `QGuiApplication_setFallbackSessionManagementEnabled' It succeeds setting {$DEFINE QT_NO_SESSIONMANAGER} in

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Giuliano Colla via lazarus
Il 30/06/23 19:40, Mattias Gaertner via lazarus ha scritto: Michael Van Canneyt via lazarus wrote: [...] Honestly: I'll settle for actually managing to get a release out. +1000 +1000 me too. If the brilliant minds which have elaborated a new numbering scheme had spent their time in som

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Giuliano Colla via lazarus
Il 01/07/23 00:49, Maxim Ganetsky via lazarus ha scritto: 2. clDark is deprecated on 23.11.2008 with a bunch of other CLX colors. All these colors are NOT present in Delphi. Your code emitted warnings at least for 10 years! Just for clarity, CLX is part of

[Lazarus] Where is lazarus 3.0 RC2?

2023-09-04 Thread Giuliano Colla via lazarus
I'd like to test lazarus 3.0 RC2, but I'm unable to locate on github the proper branch/tag. Where is it? Giuliano -- Do not do to others as you would have them do to you.They might have different tastes. -- ___ lazarus mailing list lazarus@lists.laz

Re: [Lazarus] Where is lazarus 3.0 RC2?

2023-09-04 Thread Giuliano Colla via lazarus
Il 04/09/23 18:17, Maxim Ganetsky via lazarus ha scritto: 04.09.2023 19:16, Giuliano Colla via lazarus пишет: I'd like to test lazarus 3.0 RC2, but I'm unable to locate on github the proper branch/tag. Where is it? The tag has not been created yet. Branch is `fixes_3_0`. Th

[Lazarus] Help request to Mac users

2023-09-09 Thread Giuliano Colla via lazarus
Recent upgrades of Lazarus have broken the automatic language detection on Lazarus. A solution has been proposed, but it's been tested on a single M1 platform. It would be helpful if some other Mac user could test it and provide feedback. Patches both for the fixes_3_0 branch and for the mai

Re: [Lazarus] Lazarus make clean fails...

2023-12-03 Thread Giuliano Colla via lazarus
I’m not familiar with your environment, but I’ve never seen a lazarus directory which is not named “lazarus”. Therefore I’d cd one step further: cd ~/devtools/lazarus/2.2.6/lazarus Sorry for top posting. iPhone does it! Giuliano Inviato da iPhone > Il giorno 2 dic 2023, alle ore 19:03, Bo Berglu

Re: [Lazarus] Lazarus make clean fails...

2023-12-07 Thread Giuliano Colla via lazarus
Il 04/12/23 17:48, Michael Van Canneyt via lazarus ha scritto: Is that switch also available for startlazarus? So it can be specified inside the desktop file for the GUI menu? Like this: Exec=/home/bosse/devtools/lazaru

Re: [Lazarus] Problems installing Lazarus on Linux Mint

2024-07-19 Thread Giuliano Colla via lazarus
Il 20/07/24 00:43, Arí Ricardo Ody via lazarus ha scritto: Talking about my problem installing Lazarus on Linux Mint Mr. Mattias Gaertner wrote: "Please install all three packages: fpc-laz,  fpc-src and lazarus-project." I'm using Lazarus under different Linux distros since 25 years, and I

<    1   2