Re: [Lazarus] Lazarus Release 4.0 (package / directories / mix and screw?)

2025-06-25 Thread Martin Frb via lazarus
On 25/06/2025 14:34, Luca Olivetti via lazarus wrote: I found the problem: it was using the component from my old lazarus 3.2 directory, maybe some time ago I tried it and never uninstalled it? (I keep around several old versions, I copy the old one into a new directory, git pull and checkout

Re: [Lazarus] Online Package Manager Questions

2025-01-13 Thread Martin Frb via lazarus
On 13/01/2025 19:30, Werner Pamler via lazarus wrote: Am 13.01.2025 um 02:59 schrieb Kostas Michalopoulos via lazarus: Would it be possible to do some periodic 'smoke tests' where all packages are compiled against latest (main) Lazarus (preferably with latest/main FPC too, at least as an extra

Re: [Lazarus] TestMail

2024-10-28 Thread Martin Frb via lazarus
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 h

Re: [Lazarus] TestMail

2024-10-28 Thread Martin Frb via lazarus
test -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TestMail

2024-10-28 Thread 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

Re: [Lazarus] [fpc-pascal] What to do to get new users

2024-10-16 Thread Martin Frb via lazarus
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 ar

Re: [Lazarus] Lazarus server under DDOS

2024-10-01 Thread Martin Frb via lazarus
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

Re: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Martin Frb via lazarus
On 24/09/2024 12:15, Bo Berglund via lazarus wrote: OK, thanks. I downloaded the Windows SDK installer and when I ran it I got to a selection page where I could select to ONLY install the signing tool. The InnoSetup6 install builder does have support for signing so I will go there for further r

Re: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Martin Frb via lazarus
On 24/09/2024 09:09, Bo Berglund via lazarus wrote: I have run into a problem where certain customers require the applications to be "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to do that when building an app? If so how does one go about it? Googling brings up st

Re: [Lazarus] Cursor past EOL

2024-09-18 Thread Martin Frb via lazarus
IIRC... / not verified the one under codetools is used if codetools places the cursor (after creating code). If you complete a class, and a new method body is created, then it will place the cursor 2 non-existing spaces into the line. With this option, codetools will have the permission t

Re: [Lazarus] Need help: About SynEdit

2024-08-28 Thread Martin Frb via lazarus
On 28/08/2024 15:49, rich zhang wrote: Hi, Martin i may not have expressed myself clearly, the CodePoint I refer to is the one that can handle combining code point. Ok my bad. Just seen fpc has that. That is gonna be real confusing as Lazarus has very similar named ones, but afaik without co

Re: [Lazarus] Getting notified when active editor changes

2024-08-03 Thread Martin Frb via lazarus
On 03/08/2024 10:41, Michael Van Canneyt via lazarus wrote: Hi, I'm trying to improve the "file browser" plugin. I would like to keep it in sync with the currently active editor: In the file/directory tree, always select the directory/file of the currently active editor. (if it is in the tre

Re: [Lazarus] Strange effect when debugging...

2024-08-02 Thread Martin Frb via lazarus
On 02/08/2024 17:53, Michael Van Canneyt via lazarus wrote: Hi, Does lazarus (or gdb) start a binary twice sometimes when initializing debugging ? ... When I kill the prior process, the second F9 works at once, as do all other attempts to run it. But if I stop the IDE and restart it, I hav

Re: [Lazarus] Problems opening a newly created project

2024-07-14 Thread Martin Frb via lazarus
On 14/07/2024 16:13, Arí Ricardo Ody via lazarus wrote: Hey guys! I created a new project, On the same computer as below? With the same version of Lazarus? included the components I would need, wrote the pascal code, tested it and saved it in a directory. Just now I opened Lazarus IDE v2.2.

Re: [Lazarus] Stepping into the LCL with fpdebug

2024-04-22 Thread Martin Frb via lazarus
On 22/04/2024 11:13, Luca Olivetti via lazarus wrote: That doesn't answer my question: then how is it possible that I can step into the lcl with gdb and -gl even if I don't specify "-gl"  in additions and overrides? Because your LCL is probably build with STABS. And gdb can read stabs, but

Re: [Lazarus] Stepping into the LCL with fpdebug

2024-04-22 Thread Martin Frb via lazarus
On 22/04/2024 10:37, Luca Olivetti via lazarus wrote: But if they have it would be super useful to have a setting "use the debug setting of the system unit", but there is not. You can add the -gw3 flag depending on build mode: https://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#A

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 09/04/2024 19:39, Gabriele Cappelletto via lazarus wrote: Done, I'm missing this, I can't find how to do this in the handbook BMOptions: TBuildMatrixOption;   BMOptions := TProject(AProject).BuildModes.SharedMatrixOptions.Add(bmotIDEMacro);   BMOptions.Modes := 'Default';   BMOptions.Macro

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 03/04/2024 16:41, Gabriele Cappelletto via lazarus wrote: TProject(AProject).UseAppBundle := False; Package BuildIntf components\buildintf\projectintf.pas => LGPL with linking exception TLazProject(AProject).UseAppBundle := False; TProject(AProject).ProjResources.XPManifest.UseManifest :=

Re: [Lazarus] Project.pp

2024-04-09 Thread Martin Frb via lazarus
On 09/04/2024 17:45, Gabriele Cappelletto wrote: It is not meant to work. That is the unit "project" is part of the IDE, and only meant to be used by the IDE. From a license point of few, it is GPL (not LGPL), so if your code is GPL, then you are permitted to use it, but If even the co

Re: [Lazarus] Project.pp

2024-04-03 Thread Martin Frb via lazarus
On 03/04/2024 18:49, Gabriele Cappelletto via lazarus wrote: The code is this function TExtPApplicationDescriptor.InitProject(AProject: TLazProject): TModalResult;   TProject(AProject).UseAppBundle := False;   TProject(AProject).ProjResources.XPManifest.UseManifest := False; TProject(AProject

Re: [Lazarus] I can't exit this component

2024-03-29 Thread Martin Frb via lazarus
On 29/03/2024 13:25, Martin Frb via lazarus wrote: FIn_tedtNomArqMicEnter then exit;   FIn_tedtNomArqMicEnter := true; Field in TFrmGeraString. TFrmGeraString = class(TForm) private   FIn_tedtNomArqMicEnter : Boolean; -- ___ lazarus mailing list

Re: [Lazarus] I can't exit this component

2024-03-29 Thread Martin Frb via lazarus
On 29/03/2024 13:03, Werner Pamler via lazarus wrote: Am 29.03.2024 um 12:09 schrieb Arí Ricardo Ody via lazarus: procedure TfrmGeraString.tedtNomArqMicEnter(Sender: TObject); The "Enter" in this method name indicates that you assigned the event handler to the OnEnter event of something (a butt

Re: [Lazarus] What happened to code templates?

2024-02-28 Thread Martin Frb via lazarus
On 28/02/2024 22:00, John Landmesser via lazarus wrote: Am 28.02.24 um 10:10 schrieb Juha Manninen via lazarus: Renaming "lazarus_dci_file.dci" to "codetemplates.dci" should not affect a file named "lazarus.dci". I searched in my home dir if I have "lazarus.dci". It is found in a config dir f

Re: [Lazarus] What happened to code templates?

2024-02-28 Thread Martin Frb via lazarus
On 28/02/2024 09:09, Juha Manninen via lazarus wrote: On Tue, Feb 27, 2024 at 7:45 PM John Landmesser via lazarus wrote: Now i have in lazarus.dci > [sm | showmessage] > [todo | ToDo item creator] .. and there is no way how i can use that?!! First, "lazarus_dci_file.dci" was

[Lazarus] Testers needed for new configurable Highlighter in IDE (textmate based)

2023-09-12 Thread Martin Frb via lazarus
The IDE can now load highlighter definition files containing textmate grammar. (mostly). There are some items still missing - nested grammar/language (include using a 2nd grammar) (todo) - folding (todo) - There is also no support for "injections" (just edit the grammar and copy the injection i

Re: [Lazarus] LazGitGui a git tool.

2023-07-29 Thread Martin Frb via lazarus
On 29/07/2023 12:55, Juha Manninen via lazarus wrote: An IDE plugin that runs "git blame" for an active editor source file and shows a HashID for each line. The associated commit is shown in another window when the HashID is clicked. All that using a local Git repo history, no network access

Re: [Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-26 Thread Martin Frb via lazarus
On 26/07/2023 17:58, Luca Olivetti via lazarus wrote: El 26/7/23 a les 17:42, Martin Frb via lazarus ha escrit: So FpDebug did not find the source file. I found the issue: it's the -Xg (use external debug symbols file) option. I wonder why it doesn't work under windows but it does u

Re: [Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-26 Thread Martin Frb via lazarus
On 26/07/2023 17:26, Luca Olivetti via lazarus wrote: El 26/7/23 a les 17:18, Luca Olivetti via lazarus ha escrit: Are there ways to reproduce it ? Could sources be shared? The projects I tested no, I'll see if I can find a simpler project with the same issue. I found a simple project that

Re: [Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-26 Thread Martin Frb via lazarus
On 26/07/2023 17:18, Luca Olivetti via lazarus wrote: El 26/7/23 a les 16:50, Martin Frb via lazarus ha escrit: What happens to the breakpoint icon when you start the debugger? Before you start the debugger, it should have a "?". Yes, state "?(On)" When you start i

Re: [Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-26 Thread Martin Frb via lazarus
On 26/07/2023 16:05, Luca Olivetti via lazarus wrote: El 3/7/23 a les 13:33, Mattias Gaertner via lazarus ha escrit: - Compile, debug and run I don't remember the exact wording but, when converting the settings from lazarus 2.2 (which I copied in a different directory), it offered to use th

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Martin Frb via lazarus
On 30/06/2023 14:04, Michael Van Canneyt via lazarus wrote: So basically you did a shift left of the version number ? Not exactly, that would mean that major releases would be 4.0 and 6.0. Leaving 3 and 5 for development versions. - We combined the first 2 digits into one. (because there se

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Martin Frb via lazarus
On 30/06/2023 13:27, Martin Frb via lazarus wrote: But, there was no need (anymore) to reserve 2 digits for major releases. When 1.0 was released there was no need for further major releases to be 1.2 instead of 2.0. I forgot to add the explanation for "anymore" Prior to 1.0 the

Re: [Lazarus] Lazarus trunk version number

2023-06-30 Thread Martin Frb via lazarus
On 30/06/2023 12:51, Michael Van Canneyt via lazarus wrote: On Fri, 30 Jun 2023, Juha Manninen via lazarus wrote: On Friday, June 30, 2023, John Landmesser via lazarus < lazarus@lists.lazarus-ide.org> wrote: perhaps that should have become 3.00 ? Lazarus *3.99* (rev main_3_99-41-g3d8dd8547

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

2023-06-02 Thread Martin Frb via lazarus
On 02/06/2023 15:07, Michael Van Canneyt via lazarus wrote: On Fri, 2 Jun 2023, Martin Frb via lazarus wrote: If you do, do you use it within the range of the "longest line" only? What if I want to add a comment at column 60 (think explanation about enumerated value) but th

[Lazarus] Who uses "caret past EOL"?

2023-06-02 Thread Martin Frb via lazarus
If you do, do you use it within the range of the "longest line" only? That is, currently caret-past-eol additionally allows you to scroll up to over 1000 columns, even if you don't have any line that long. Do you use that scroll range? -- ___ lazaru

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

2023-05-21 Thread Martin Frb via lazarus
On 21/05/2023 11:38, Mattias Gaertner via lazarus wrote: 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;

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

2023-05-16 Thread Martin Frb via lazarus
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 partition, but it hangs the IDE when the project is on a smb share. I have to kill lazarus.exe. Is this known? I don't think

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

2023-04-23 Thread Martin Frb via lazarus
On 23/04/2023 19:39, Bo Berglund via lazarus wrote: I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine ... I have looked at the same version of Lazarus on my Windows workstation and there when I right-click the gutter to the left of the code there is a popup menu with "Go

Re: [Lazarus] Code editor column mode does not work...

2023-04-19 Thread Martin Frb via lazarus
On 19/04/2023 18:29, Bo Berglund via lazarus wrote: How can I enable column selection with the mouse? If I use the Alt key and click where I want to start the selection then when I move the mouse the whole editor window moves instead of creating a vertical selection... Is there someone here who

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

2023-04-16 Thread Martin Frb via lazarus
On 16/04/2023 11:15, Bo Berglund via lazarus wrote: - Use Run menu Build or Compile: no symbols should be included. - Click the green run arrow button then the symbols will be included. I think the closest you may get to this is build modes. But all and any button/key/menu always use the c

Re: [Lazarus] Lazarus fails to build

2023-03-19 Thread Martin Frb via lazarus
On 19/03/2023 19:53, Sven Barth via lazarus wrote:  If it *would* work however you could simply do {$if not declared(name_of_the_unit)}, because the unit name is also a valid symbol. ooohh nooo. That would be like C header files Don't wont that. ;) -- __

Re: [Lazarus] Lazarus fails to build

2023-03-19 Thread Martin Frb via lazarus
On 19/03/2023 00:00, Michael Van Canneyt via lazarus wrote: On Sat, 18 Mar 2023, Mattias Gaertner via lazarus wrote: As this happens seldom there is no detection built in (yet) to handle this automatically. If possible, might be a good idea. Afaik there are 2 scenarios. 1) The duplicate.

Re: [Lazarus] Lazarus fails to build

2023-03-18 Thread Martin Frb via lazarus
On 18/03/2023 22:55, Michael Van Canneyt via lazarus wrote: Hi, I did a git pull of latest lazarus sources. Someone added laz.virtualtreeview and fpdebuggerfp to the IDE uses clause. This caused the compilation to fail, since these units are also in the installed packages. For instance the

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Martin Frb via lazarus
On 16/03/2023 18:46, Bo Berglund via lazarus wrote: But it also seems like on each system there is only one version of fpc that can be "active" (at least on Linux) because its config is stored outside of the pcp dir in a user global fashion. How can I make the fpc compiler versions co-exist and

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Martin Frb via lazarus
On 16/03/2023 07:53, Bo Berglund via lazarus wrote: The install seems to have worked, but seeing this release comment I now have to ask if 3.2.2 is a *requirement* for proper operation or if it just happens to be what you used when building? Do I have to change my fpc installed version and rebu

Re: [Lazarus] strange focus behaviour on source editor window

2023-02-27 Thread Martin Frb via lazarus
It does not happen to me, tested Win 10 and Win 11. For me focus goes back to the source editor. I switched back to the IDE with Alt-Tab. Maybe you use some other way? I also tried by clicking the icon in the taskbar, and that worked (tested Win 10 only). Do you have any packages installed? (

Re: [Lazarus] Lazarus and FreePascal version relations on Linux and Windows?

2023-02-22 Thread Martin Frb via lazarus
On 22/02/2023 10:00, Bo Berglund via lazarus wrote: Now I am having problems installing Lazarus 2.2.4 on Linux systems where older Lazarus version exist because they use an older FPC which the new Lazarus cannot use (3.0.4 vs 3.2.2). You can install several fpc on Linux. ** But you need to remo

Re: [Lazarus] Conditional Debugger breakpoints not working ?

2023-02-21 Thread Martin Frb via lazarus
On 20/02/2023 15:14, Michael Van Canneyt via lazarus wrote: On Mon, 20 Feb 2023, Martin Frb via lazarus wrote: It is a problem on Mac, with LLDB. Though I am not even sure that conditional breakpoint are supported at all... Just checked, conditions are set. But users must type them C-style

Re: [Lazarus] Conditional Debugger breakpoints not working ?

2023-02-20 Thread Martin Frb via lazarus
On 20/02/2023 13:46, Michael Van Canneyt via lazarus wrote: I suggest you adapt the wiki to clarify all this. While you're at it, The link in the wiki page to the gdb convenience functions is broken. updated In general, I don't think you can expect the user to know that he should use $_st

Re: [Lazarus] Conditional Debugger breakpoints not working ?

2023-02-20 Thread Martin Frb via lazarus
On 20/02/2023 12:31, Michael Van Canneyt via lazarus wrote: I'm trying to set a condition on a breakpoint. I have a local variable aUnit, type string: var   aUnit : string; I wish the breakpoint is only triggered when aUnit equals 'termio'. So, in the breakpoint properties dialog, I enter th

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 21:49, Martin Frb via lazarus wrote: On "Editor > Display" you can also change the "Gutter Separator index" from 3 to 4 => then the separator (a gray line /color can be changed) will be between the fold-tree and the text (and with that another 1 or 2

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 21:12, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb wrote: To entertain my lack of imagination: What is the issue, if e.g. Pascal shows fold indicators, and you just don't use them? Secondly, I sometimes inadvertently click on the fold markers. Ok, good reason. T

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 19:06, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by changing the source in each highlighter, and make the pretend they don't fold. In any case, there also re

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-11 Thread Martin Frb via lazarus
On 11/02/2023 12:23, Bo Berglund via lazarus wrote: Then rebuilt and tried to run, but I get an immediate fatal exception! This happens both when starting within Lazarus and from the exe file itself. Message: | Project AppManager rais

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-09 Thread Martin Frb via lazarus
On 09/02/2023 21:57, Bo Berglund via lazarus wrote: And it seems to be looking for $HOME/.config/fppkg.cfg even though I am using separate install dirs for Lazarus 2.0.12 and 2.2.4 and the launch file lazarus_2.2.4.desktop contains --pcp=/home/bosse/.lazarus_2.2.4 So I would expect the location

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-09 Thread Martin Frb via lazarus
On 09/02/2023 20:24, Bo Berglund via lazarus wrote: On Thu, 09 Feb 2023 18:34:27 +0100, Bo Berglund via lazarus wrote: What does this mean? I have never seen this before in my many years of Lazarus usage... And what should I do to rectify it? I found this being discussed on gitlab: https:/

Re: [Lazarus] OFF-TOPIC: Naming of char [[[Re: Debugging the unicode RTL]]]

2023-01-22 Thread Martin Frb via lazarus
On 22/01/2023 13:12, Marco van de Voort via lazarus wrote: On 22-1-2023 12:39, Martin Frb via lazarus wrote: They should be called AnsiCodepoint UniCodeCodePoint No, since in the case of a surrogate it is not a codepoint either. It is the unit of encoding granularity, nothing more. Ouch

[Lazarus] To be a string or not to be a string (bitness independent?) [[[Re: Debugging the unicode RTL]]]

2023-01-22 Thread Martin Frb via lazarus
On 22/01/2023 11:24, Martin Frb via lazarus wrote: Though this relies on being able to detect    PChar  <>  String  <>  array of char which is a PITA. Example:   FPC 3.3.1 (but IIRC also 3.2.x)   tested on Win, but similar on other OS   dwarf-3 var   s1: AnsiString;   s2: a

[Lazarus] OFF-TOPIC: Naming of char [[[Re: Debugging the unicode RTL]]]

2023-01-22 Thread Martin Frb via lazarus
On 22/01/2023 11:53, Michael Van Canneyt via lazarus wrote: Since the PChar/Char types are now an alias, logically the debug info should only have references to AnsiChar/UnicodeChar. Well technically neither of them is (always) an actual character. They should be called AnsiCodepoint UniCodeC

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Martin Frb via lazarus
On 22/01/2023 11:53, Michael Van Canneyt via lazarus wrote: Since the PChar/Char types are now an alias, logically the debug info should only have references to AnsiChar/UnicodeChar. But I have no idea how to test this assumption. if adding a watch containing  "^char(x)" fails, then that wi

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Martin Frb via lazarus
I may have to double check some details, just going from memory On 22/01/2023 11:46, Michael Van Canneyt wrote: On Sun, 22 Jan 2023, Martin Frb via lazarus wrote: On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote: - Debugging programs works in general quite OK, except for

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Martin Frb via lazarus
On 22/01/2023 11:24, Martin Frb via lazarus wrote: 2/ Where can I find the code that extracts the message from an exception object ? So I can have a shot at trying to fix the display. unit FpDebugDebugger; procedure TFpDebugDebugger.HandleSoftwareException Important: If you make any

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Martin Frb via lazarus
On 12/01/2023 11:26, Michael Van Canneyt via lazarus wrote: It needs to determine the definition of "string" which will be an array of unicodechar or ansichar. Once it knows that, the rest will follow, since the definition of unicodechar or ansichar will have the correct size. The big iss

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Martin Frb via lazarus
On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote: - Debugging programs works in general quite OK, except for displaying of   some strings. Most notable, the exception message is affected:   only the first character of the exception message is shown. This is hardcoded, and may be chan

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

2023-01-09 Thread Martin Frb via lazarus
On 09/01/2023 17:50, Marcus Sackrow via lazarus wrote: Hi, Am 08.01.23 um 23:11 schrieb Wayne Sherman: make all for at least x86_64-linux does not compile since 319649fb thanks it compiles again About a week ago Lazarus was failing to build with "make useride". Are these two build targets bei

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

2023-01-08 Thread Martin Frb via lazarus
On 08/01/2023 23:11, Wayne Sherman via lazarus wrote: make all for at least x86_64-linux does not compile since 319649fb thanks it compiles again About a week ago Lazarus was failing to build with "make useride". Are these two build targets being run as part of the CI / CD tests? I don't know

Re: [Lazarus] SynEdit highlighter for Markdown

2023-01-05 Thread Martin Frb via lazarus
Without yet having looked at it (currently got a bit of an incoming queue)... But there is a tutorial on how HL work: https://wiki.freepascal.org/SynEdit_Highlighter On 05/01/2023 23:59, Andrew Haines via lazarus wrote: Hi, I attached a highlighter I made for Markdown. I like to use this in

Re: [Lazarus] Lazarus IDE 'testall' program

2022-11-24 Thread Martin Frb via lazarus
On 24/11/2022 14:00, Aruna Hewapathirane wrote: On Thu, Nov 24, 2022 at 7:16 AM Martin Frb via lazarus wrote: On 24/11/2022 12:53, Aruna Hewapathirane via lazarus wrote: I found one repository on Gitlab: https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/examples

Re: [Lazarus] Lazarus IDE 'testall' program

2022-11-24 Thread Martin Frb via lazarus
On 24/11/2022 12:53, Aruna Hewapathirane via lazarus wrote: I found one repository on Gitlab: https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/examples And another repository on Sourceforge: https://sourcefo

Re: [Lazarus] Message for Lazarus developers

2022-10-12 Thread Martin Frb via lazarus
I haven't got the answer at hand Also not sure which wiki page you refer too? Have you looked into the image folder in the lazarus installation? There is a copyright file that has info on the licenses (and creators) of the images. So if you got the filename you can check if it is listed th

Re: [Lazarus] 131d1062 broke compilation "make all" on x86_64-linux

2022-06-24 Thread Martin Frb via lazarus
On 24/06/2022 22:16, Marcus Sackrow via lazarus wrote: Hi, the commit 131d1062 broke the Lazarus compilation on my Jenkins server (for x86_64-linux with latest Free Pascal a simple make all) https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/131d1062dff2606d25ace6e031f0b65731cb19f6

Re: [Lazarus] I was just banned from the Lazarus Forum for no reason!

2022-06-05 Thread Martin Frb via lazarus
On 05/06/2022 12:28, Derek John Evans via lazarus wrote: I don't have a copy. It was a quick post of the issues I had developing an app for my job as an egg collector. I thought people might find the project interesting and possibly ask questions about how I solved various problems. I was jus

Re: [Lazarus] I was just banned from the Lazarus Forum for no reason!

2022-06-05 Thread Martin Frb via lazarus
On 05/06/2022 05:59, Derek John Evans via lazarus wrote: My only feeling atm, is wtf. I just posted details on a project I've worked on for the last 6 months using Lazarus and pas2js on a farm environment, and then was banned! Like really! In the past I've been an active contributor to helping

Re: [Lazarus] Lazarus Release 2.2.2

2022-05-20 Thread Martin Frb via lazarus
On 20/05/2022 11:47, Salvatore Coppola via lazarus wrote: It seems that the list of changes is for 2.2.0 Ottieni BlueMail per Android Il giorno 19 Mag 2022, alle ore 09:21, Mattias Gaertner via lazarus ha scritto: Here is the list of changes for Lazarus and Free Pas

Re: [Lazarus] Debug Adaptor Protocol support

2022-04-23 Thread Martin Frb via lazarus
On 23/04/2022 13:00, Michael Van Canneyt via lazarus wrote: Hello, If memory serves me well, some time ago, the Debug Adaptor Protocol support was mentioned, I think in the context of fpDebug. For pas2js, it would be beneficial to have DAP support in the IDE, as it would allow to debug the p

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

2022-04-22 Thread Martin Frb via lazarus
On 21/04/2022 11:42, Ondrej Pokorny via lazarus wrote: It means that the IPC files are still blocked. Please restart your PC and write back if it didn't help. This Lazarus part is something I am not really proud of and should be rewritten... It's also very annoying, if you have a hanging I

Re: [Lazarus] Adding unit automatically adds to uses clause

2022-03-26 Thread Martin Frb via lazarus
On 26/03/2022 18:00, Timothy Groves via lazarus wrote: Good day.  When I click on "New Pascal Unit" on the toolbar, or select it from the menu, the new unit is automatically added to the uses clause of my main program.  Worse, the new unit is invariably added as "unit1", even after I change the

Re: [Lazarus] will fixes_2_2 be merged to trunk before next release?

2022-03-22 Thread Martin Frb via lazarus
22.03.22 um 01:52 schrieb Martin Frb via lazarus: Am 21.03.22 um 11:49 schrieb John Landmesser via lazarus: I would like to know if the fixes for lazarus 2.2 will be merged to trunk before next release? I don't know much about that particular issue, but from what I read: There are no fix

Re: [Lazarus] will fixes_2_2 be merged to trunk before next release?

2022-03-21 Thread Martin Frb via lazarus
On 21/03/2022 17:32, John Landmesser via lazarus wrote: Am 21.03.22 um 11:49 schrieb John Landmesser via lazarus: I had an issue with qt5pas that was fixed in lazarus fixes_2_2. Because i now use: Lazarus 2.3.0 (rev main-2_3-996-ga94312373c) FPC 3.2.2 x86_64-linux-gtk2 I would like to know if

Re: [Lazarus] compile error for LazDebuggerGdbmi 0.1

2022-02-01 Thread Martin Frb via lazarus
On 01/02/2022 19:27, John Landmesser via lazarus wrote: details: Kompiliere Package LazDebuggerGdbmi 0.1: Exit code 1, Fehler: 1 gdbmidebugger.pp(14625,3) Error: Control flow statements are not allowed in a finally block Oh, well. The things FPC only supports on selected targets... Please

Re: [Lazarus] 867d12b4 breaks compilation on x86_64-linux Attn: Martin

2022-01-25 Thread Martin Frb via lazarus
Strange. I have to check the Makefiles again. I thought the IDE had updated them. Btw that revision has a 2nd bug, the 2nd bug is fixed in 947030b575f (I had some local defines enabled, so the 2nd bug did not trigger here) On 25/01/2022 22:20, Marcus Sackrow via lazarus wrote: Hi, The com

Re: [Lazarus] Lazarus compilation fail since 6d0ddd50bd2a76bb37830f068afe5828f4b06576

2022-01-10 Thread Martin Frb via lazarus
On 10/01/2022 23:08, Marcus Sackrow via lazarus wrote: Hi, my Jenkins compilation server fails since 6d0ddd50bd2a76bb37830f068afe5828f4b06576 but the error message is a bit strange, anyone can explain it? please git pull, and try again. Somehow a file was generated with the wrong up/low

Re: [Lazarus] Lazarus Release 2.2

2022-01-05 Thread Martin Frb via lazarus
On 05/01/2022 23:41, Mattias Gaertner via lazarus wrote: The Lazarus team is glad to announce the release of Lazarus 2.2. This release was built with FPC 3.2.2. As a side note: For x86_64,both FPC 3.2.0 and FPC 3.2.2 have a bug in the optimizer. From current observation this issue is extreme

Re: [Lazarus] Faster than popcnt [[Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-30 Thread Martin Frb via lazarus
On 30/12/2021 14:43, Marco van de Voort via lazarus wrote: Compile with -O4 -Cpcoreavx2 , the others (non asm) will become faster, my guess is  "add" will be about double of asm. Core I7 8700K 3.3.1 from Dec 10th 3.2.3 from Dec 9th With fpc 3.3.1: - fst is worse? - add gets better -O4 -Cpcor

Re: [Lazarus] Faster than popcnt [[Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-29 Thread Martin Frb via lazarus
On 29/12/2021 13:42, Marco van de Voort via lazarus wrote: On 29-12-2021 10:16, Martin Frb via lazarus wrote: // Martin's routine that should be replaced by some punpkl magic, but it is too late now. Why too late? See datetime stamp.  02:10 AM. I don't know how it is with y

Re: [Lazarus] Faster than popcnt [[Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-29 Thread Martin Frb via lazarus
On 29/12/2021 02:10, Marco van de Voort via lazarus wrote: On 28-12-2021 23:35, Martin Frb via lazarus wrote: "nx" has a single "1" in each of the 8 bytes in a Qword (based on 64bit). If we regard each of this bytes as an entity of its own, then we can keep adding tho

Re: [Lazarus] fpc bug with M1 [[was: Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-28 Thread Martin Frb via lazarus
On 28/12/2021 23:18, Noel Duffy via lazarus wrote: The assembler produced by 3.2.2 looks like this: # [43] Result += (pn8^ shr 7) and ((not pn8^) shr 6); ldr    x0,[sp] ldrsb    w0,[x0] mvn    w0,w0 mvn => bitwise not. And that applies to the whole register. So I guess "eor    w0

[Lazarus] Faster than popcnt [[Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-28 Thread Martin Frb via lazarus
On 28/12/2021 15:50, Bart via lazarus wrote: On Tue, Dec 28, 2021 at 3:39 PM Marco van de Voort via lazarus wrote: On what machine did you test? The settings if for the generated code, but the actual processor determines the effective speed. I have a Intel i5 7th generation on my Win10-64 lap

[Lazarus] fpc bug with M1 [[was: Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

2021-12-28 Thread Martin Frb via lazarus
On 28/12/2021 22:05, Noel Duffy via lazarus wrote: On 29/12/21 01:26, Bart via lazarus wrote: fpc -al ulen.pas > This will produce the file ulen.s > You can attach or copy that here. File is attached. Thanks. And I think there is a bug in FPC This is the signed version # [43] Result += (p

Re: [Lazarus] UTF8LengthFast returning incorrect results on AARCH64 (MacOS)

2021-12-28 Thread Martin Frb via lazarus
On 28/12/2021 11:52, Juha Manninen via lazarus wrote: On Tue, Dec 28, 2021 at 3:29 AM Noel Duffy via lazarus wrote: So it appears to me that an unsigned pointer type is required in UTFLengthFast. Can you please create a patch for UTFLengthFast. You can upload it here or create a mer

Re: [Lazarus] Making fpdebug more cross-platform friendly

2021-12-16 Thread Martin Frb via lazarus
Ok, for now limiting this to a smaller audience, to get some brainstorming done. => Original mail at the bottom. Some initial thoughts. *** First, I would suggest, that all calls go to T[Foo]DbgProccess *** T[Foo]DbgProccess can then forward them. Outside classes should not have knowledge, nor

Re: [Lazarus] Making fpdebug more cross-platform friendly

2021-12-16 Thread Martin Frb via lazarus
On 16/12/2021 12:10, Christo Crause via lazarus wrote:   One location for the target specific code is perhaps the fpdbgdisas* units, since it already provides a number of hardware specific concepts such as identifying call & return instructions and some stack frame analysis.  Adding for example

Re: [Lazarus] Source file license

2021-12-15 Thread Martin Frb via lazarus
On 15/12/2021 12:53, Juha Manninen via lazarus wrote: On Wed, Dec 15, 2021 at 12:57 PM Dimitrios Chr. Ioannidis via lazarus wrote: what licenses are accepted by the Lazarus project ?    MIT ? GPL v2 ? GPL v3 ? The Lazarus IDE itself is GPL v2. Most packages are LGPL v2. If your utili

Re: [Lazarus] FpDebug with aarch64-linux

2021-12-06 Thread Martin Frb via lazarus
On 06/12/2021 17:17, Gabor Boros via lazarus wrote: Hi All, FPC 3.3.1, Lazarus fixes_2_2, LazDebuggerFp installed and configured in Tools/Options. If start the project got "Error starting process in debugger". With gdb works as expected. Is FpDebug not supported on aarch64? FpDebug only sup

[Lazarus] Moved to DEV list // Re: TFrame improvements

2021-11-30 Thread Martin Frb via lazarus
On 30/11/2021 11:18, Juha Manninen via lazarus wrote: Yes, at runtime it works on both a Form and a Frame. At design time it works on a Form but crashes on a Frame which is clearly a bug. Agree? No, at runtime it crashes too. Of course, if you take the attached zip, you will not see this.

Re: [Lazarus] TFrame improvements

2021-11-30 Thread Martin Frb via lazarus
On 30/11/2021 00:27, Juha Manninen via lazarus wrote: On Mon, Nov 29, 2021 at 11:14 PM Ondrej Pokorny via lazarus wrote: On 29.11.2021 17:18, Juha Manninen via lazarus wrote: The commit message is not perfect but the committed code is, now that I fully understand the issue.

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Martin Frb via lazarus
On 29/11/2021 21:20, Ondrej Pokorny via lazarus wrote: Check TCustomLabel.CalculateSize in lcl\include\customlabel.inc for the solution how to solve this problem correctly in the component's code without any modifications needed in T(Custom)Form or T(Custom)Frame. There, the GetDC(0) is used

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Martin Frb via lazarus
On 29/11/2021 17:18, Juha Manninen via lazarus wrote: It allows a Frame to stand without a parent in the designer or even at runtime in some hypothetical situation(?). Using Canvas outside Paint may not be recommended but it can be done in some widgetsets. The component's duty is to not crash

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Martin Frb via lazarus
On 29/11/2021 12:31, Ondrej Pokorny via lazarus wrote: I didn't study the issue further but to me it looks strange that setting some parameters in CreateParams helps with it. Juha, your commit description "Somehow fixes issue ..." doesn't help to understand your change either. "Setting" is ac

  1   2   3   4   5   >