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

2021-12-30 Thread Florian Klämpfl via lazarus
Am 30.12.21 um 08:23 schrieb Alexey Tor. via lazarus: New unit test, with Martin's integrated. If I play with godbolt, Ryzen zen3 (ryzen 5x00X) is nearly twice as fast in cycles as my Ivy Bridge, so I would like to see some benchmarks from various processors. Also from very old ones (P4 and

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

2021-12-29 Thread Florian Klämpfl via lazarus
Am 29.12.2021 um 13:42 schrieb Marco van de Voort via lazarus: p.s. is there a workaround for git worktree to work on the same branch? E.g. trunk for 32-bit and trunk for 64-bit ? :-) No. You cannot checkout the same branch in two worktrees. But you can do the following: create a new branch

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

2021-12-28 Thread Florian Klämpfl via lazarus
Am 28.12.2021 um 15:50 schrieb Bart via lazarus: 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

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

2021-12-28 Thread Florian Klämpfl via lazarus
Am 28.12.2021 um 15:01 schrieb Bart via lazarus: On Tue, Dec 28, 2021 at 2:46 PM Marco van de Voort via lazarus wrote: You need an appropriate minimal CPU with -Cp Try e.g. -Cpcoreavx for core 3000 series and higher Thanks for that. Up to PENTIUMM: PopCnt slower COREI : approximately

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

2021-12-27 Thread Florian Klämpfl via lazarus
Am 27.12.2021 um 13:28 schrieb Bart via lazarus: On Mon, Dec 27, 2021 at 12:44 AM Noel Duffy via lazarus wrote: I need some help getting to the root of a problem with incorrect results on Apple hardware (M1, aarch64) for the function UTF8LengthFast in lazutf8. Your M1 architecture is

Re: [Lazarus] TortoiseGit (was TMask revisited)

2021-10-17 Thread Florian Klämpfl via lazarus
Am 17.10.21 um 10:05 schrieb Juha Manninen via lazarus: I still feel uncomfortable with external branch management and synchronization. I believe a GUI tool could help with that. My main development platform is Linux where TortoiseGit is not available. I may look at some other GUI tools later.

Re: [Lazarus] Mantis vs GitLab issue tracker

2021-08-14 Thread Florian Klämpfl via lazarus
> Am 13.08.2021 um 21:53 schrieb Bart via lazarus > : > > On Fri, Aug 13, 2021 at 9:02 PM Vojtěch Čihák via lazarus > wrote: > >> is it just my impression that Mantis was more feature rich an had better >> layout? > > Agreed. > > However, maintaining Mantis (and our svn server) had become

Re: [Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

2020-07-04 Thread Florian Klämpfl via lazarus
> Am 03.07.2020 um 14:09 schrieb Special via lazarus > : > > Hi, > > we have many Delphi programs with identifiers containing parts like 'Köln' > and 'Liège'. These programs we want to convert to Lazarus. Unfortunately, > Lazarus (or FP) seems not to be able to use identifiers with umlaute

Re: [Lazarus] Tab/Shift tab and block indentation

2020-04-29 Thread Florian Klämpfl via lazarus
Am 19.04.20 um 23:40 schrieb Martin Frb via lazarus: On 19/04/2020 23:22, Florian Klämpfl via lazarus wrote: When completing code, lazarus takes the Block indent value from the editor options for indentions, so for proper indention one sets this value to two spaces normally. However, this has

[Lazarus] Tab/Shift tab and block indentation

2020-04-19 Thread Florian Klämpfl via lazarus
When completing code, lazarus takes the Block indent value from the editor options for indentions, so for proper indention one sets this value to two spaces normally. However, this has the effect that tab/shift+tab also un/indents by two spaces. This is often not useful when reorganizing code.

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-15 Thread Florian Klämpfl via lazarus
Am 15.04.20 um 17:36 schrieb Florian Klämpfl via lazarus: So it is very likely an unaligned data sig fault (rsp not divisable by 8). Sorry, must by ... by 16. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-15 Thread Florian Klämpfl via lazarus
Am 15.04.20 um 09:24 schrieb zeljko: On 4/14/20 8:24 PM, Florian Klämpfl via lazarus wrote: Sorry, I were not precise enough. Can you also post a disassembly of the swap procedure at 0x7666c7f1? 0x7666c7f1 is at line 382 inside assembler.txt. That's all I can get

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-14 Thread Florian Klämpfl via lazarus
Am 14.04.20 um 18:47 schrieb zeljko: On 4/14/20 6:28 PM, Florian Klämpfl via lazarus wrote: Am 14.04.20 um 12:55 schrieb zeljko via lazarus: On 4/13/20 7:43 PM, Luca Olivetti via lazarus wrote: Now I tried installing the packaged libqt5pas and still see no segfault. Note that this isn't

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-14 Thread Florian Klämpfl via lazarus
Am 14.04.20 um 12:55 schrieb zeljko via lazarus: On 4/13/20 7:43 PM, Luca Olivetti via lazarus wrote: Now I tried installing the packaged libqt5pas and still see no segfault. Note that this isn't a fresh install, I dist-upgraded it (or better do-release-upgraded it) many times, but I don't

Re: [Lazarus] Find in files crashes Cinnamon

2020-01-18 Thread Florian Klämpfl via lazarus
Am 13.11.19 um 22:00 schrieb Florian Klämpfl via lazarus: Recently, I tried again to work with Linux Mint when developing FPC. For FPC development I use normally lazarus from trunk, typical updated very few weeks. For navigation in the code I use "Find in files" from time to time,

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:45 schrieb Marco van de Voort via lazarus: I really like a package I can just install and works, rather than constantly messing with plugins that are never really it. I think you vastly overestimate getting good quality VSCode plugins that make it match Lazarus for basic

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:23 schrieb Michael Van Canneyt via lazarus: So that means it's a trade-off. Do you wish to spend your time fixing broken external dependencies, or do you wish to spend it implementing new things yourself ? Asking the question is answering it ;-) History taught: the less

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 11:54 schrieb Michael Van Canneyt via lazarus: The point is that Lazarus does not and cannot cover all aspects of a typical larger project. No, but if I really need it, I can develop it easily myself because I know Object Pascal. Even simple things like adding support for

Re: [Lazarus] Cross-compile for Linux strange behaviour with floating point constants

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:04 schrieb Giuliano Colla via lazarus: Il 24/11/2019 11:48, Florian Klämpfl via lazarus ha scritto: What to do with extended constants and their handling in the compiler if the target platform has it but the target platform does not support it? Maybe an AND condition? Use

Re: [Lazarus] Cross-compile for Linux strange behaviour with floating point constants

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 11:45 schrieb Giuliano Colla via lazarus: Il 24/11/2019 01:17, Sven Barth via lazarus ha scritto: There is the plan to add software floating point support for Extended to the compiler for platforms like Win64, but it's not a trivial endeavour. Maybe a silly question, but

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 10:30 schrieb Bo Berglund via lazarus: On Sat, 23 Nov 2019 18:50:07 -0500, Daithi Haxton via lazarus wrote: For my 2 cents, keep Lazarus as an independent, native code IDE. We do instrumentation packages for manufacturing robots, and “the Web” is simply not an option. Laz

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 00:02 schrieb Ryan Joseph via lazarus: On Nov 23, 2019, at 5:43 PM, Ralf Quint via lazarus wrote: I personally loath VSCode just as much as VS itself (or XCode, for that matter) or Eclipse. The appeal of Lazarus for me is that it even "feels" Pascal, not just a tool that

Re: [Lazarus] Find in files crashes Cinnamon

2019-11-15 Thread Florian Klämpfl via lazarus
Am 15.11.19 um 19:43 schrieb Graeme Geldenhuys via lazarus: On 15/11/2019 10:42 am, Michael Van Canneyt via lazarus wrote: The crash and switch to 'fallback mode' ("restart fallback mode" would be better named) happens easily once a day. I'd try using linux mint "mate", but I'm not

[Lazarus] Find in files crashes Cinnamon

2019-11-13 Thread Florian Klämpfl via lazarus
Recently, I tried again to work with Linux Mint when developing FPC. For FPC development I use normally lazarus from trunk, typical updated very few weeks. For navigation in the code I use "Find in files" from time to time, e.g. when looking where a certain internal error is thrown. I call the

Re: [Lazarus] LCL Controls.pp needs 'inline'

2019-10-06 Thread Florian Klämpfl via lazarus
Am 06.10.19 um 10:45 schrieb Juha Manninen via lazarus: I inlined the non-deprecated one liners in r62000. BTW, ChangeBiDiModeAlignment is not a one liner. You must be careful with "inline". The effect may become negative if the function has more code. For the record: FPC has also

Re: [Lazarus] Mantis application error

2019-04-22 Thread Florian Klämpfl via lazarus
Am 22. April 2019 11:35:29 schrieb Michael Van Canneyt via lazarus : > On Mon, 22 Apr 2019, Juha Manninen via lazarus wrote: > >> Strange. Now I looked at the issue again and the note is there. >> It got stored when I resolved the issue despite the error message. > > Let me know if it happens

Re: [Lazarus] SourceForge Project of the Month

2019-03-03 Thread Florian Klämpfl via lazarus
Am 01.03.19 um 09:33 schrieb Mattias Gaertner via lazarus: Hi, https://sourceforge.net/blog/march-2019-community-choice-project-month-lazarus/ Congratulations :) Do not forget another important date: Lazarus.pp

Re: [Lazarus] Auto session store etc.

2019-01-04 Thread Florian Klämpfl via lazarus
Am 04.01.19 um 14:26 schrieb Sven Barth via lazarus: Am Fr., 4. Jan. 2019, 13:01 hat Florian Klämpfl via lazarus mailto:lazarus@lists.lazarus-ide.org>> geschrieben: > > >> Background is that I am starting another trial to use linux as >> desktop sy

Re: [Lazarus] Auto session store etc.

2019-01-04 Thread Florian Klämpfl via lazarus
Am 04.01.19 um 14:01 schrieb Giuliano Colla via lazarus: But you must pick up a good distro, within the distro select a stable and tested version (the latest version is always a lottery), and select a good Desktop. If there had been one (seems Ubuntu and derivatives removed hibernation (!!,

Re: [Lazarus] Auto session store etc.

2019-01-04 Thread Florian Klämpfl via lazarus
Am 04.01.19 um 12:32 schrieb Mattias Gaertner via lazarus: On Fri, 4 Jan 2019 12:08:56 +0100 Florian Klämpfl via lazarus wrote: Is there any possibility that lazarus auto stores the current session (project file, source files, session information etc.) every s? No. A simple save

Re: [Lazarus] Auto session store etc.

2019-01-04 Thread Florian Klämpfl via lazarus
Am 04.01.19 um 12:43 schrieb Henry Vermaak via lazarus: On Fri, Jan 04, 2019 at 12:08:56PM +0100, Florian Klämpfl via lazarus wrote: Is there any possibility that lazarus auto stores the current session (project file, source files, session information etc.) every s? At the very least do

[Lazarus] Auto session store etc.

2019-01-04 Thread Florian Klämpfl via lazarus
Is there any possibility that lazarus auto stores the current session (project file, source files, session information etc.) every s? Background is that I am starting another trial to use linux as desktop system but within in a few days I have already lost changes because lazarus was

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-22 Thread Florian Klämpfl via lazarus
Am 22.12.2018 um 16:28 schrieb Maciej Izak via lazarus: As this is a pure FPC topic and has nothing to do with Lazarus anymore, I will not continue to discuss here. Feel free to raise it again in fpc-other. -- ___ lazarus mailing list

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-22 Thread Florian Klämpfl via lazarus
Am 21.12.2018 um 20:48 schrieb Maciej Izak via lazarus: > > All is fine when someone has the same opinion like Michael Van Canneyt. The > style of communication with Michael is > visible in this thread, when he know he is not right he is just ignoring > messages, but he is first to throw the

Re: [Lazarus] IDE Spotter

2018-09-23 Thread Florian Klämpfl via Lazarus
Am 23.09.2018 um 18:27 schrieb Mattias Gaertner via Lazarus: > On Sun, 23 Sep 2018 17:23:46 +0200 > Florian Klämpfl via Lazarus wrote: > >> Am 23.09.2018 um 15:27 schrieb Michael Van Canneyt: >>> >>> >>> On Sun, 23 Sep 2018, Florian Klämpfl via Lazarus

Re: [Lazarus] IDE Spotter

2018-09-23 Thread Florian Klämpfl via Lazarus
Am 23.09.2018 um 15:27 schrieb Michael Van Canneyt: > > > On Sun, 23 Sep 2018, Florian Klämpfl via Lazarus wrote: > >> Am 23.09.2018 um 13:16 schrieb Michael Van Canneyt via Lazarus: >>> >>> Please testdrive it. Ideas for improvements/comments/bugreports w

Re: [Lazarus] IDE Spotter

2018-09-23 Thread Florian Klämpfl via Lazarus
Am 23.09.2018 um 13:16 schrieb Michael Van Canneyt via Lazarus: > > Please testdrive it. Ideas for improvements/comments/bugreports welcome > (well, the latter not so much ;)). Unit IDESpotterOptions missing in svn? -- ___ Lazarus mailing list

Re: [Lazarus] Problem compiling trunk LazUtils Error: (11006) Illegal parameter: -vm6058

2018-06-24 Thread Florian Klämpfl via Lazarus
Am 24.06.2018 um 20:12 schrieb Bart via Lazarus: On Sun, Jun 24, 2018 at 7:59 PM, Michael Ring via Lazarus wrote: Are you 100% sure that this message is 3.1.1+ only? He probably means that a message with id 6058 only exists in 3.1.1, so you cannot suppress it using -vm6058 in earlier

Re: [Lazarus] Problem compiling trunk LazUtils Error: (11006) Illegal parameter: -vm6058

2018-06-24 Thread Florian Klämpfl via Lazarus
Am 24.06.2018 um 12:07 schrieb Michael Ring via Lazarus: I cannot build current lazarus trunk on MacOSX, 64bits, not sure if the problem is because of my build environment or not. I have successfully build lazarus for a very long time with the steps I do. When I rebuild lazarus I get this

Re: [Lazarus] TP-like nested comment handling

2018-04-03 Thread Florian Klämpfl via Lazarus
Am 03.04.2018 um 15:02 schrieb Mattias Gaertner via Lazarus: > On Sun, 1 Apr 2018 19:37:13 +0200 > Florian Klaempfl via Lazarus wrote: > >> I am playing with some old code which assumes TP-like handling of nested >> comments: i.e. there is only one level of nested

[Lazarus] TP-like nested comment handling

2018-04-03 Thread Florian Klämpfl via Lazarus
I am playing with some old code which assumes TP-like handling of nested comments: i.e. there is only one level of nested comments, the first comment limiter closes a comment. However, Lazarus handles comments like FPC: it counts the nesting level and does syntax highlighting accordingly. Is there

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:48 schrieb Graeme Geldenhuys via Lazarus: > On 2018-02-18 18:34, Michael Van Canneyt via Lazarus wrote: >> That said, a small look at the language guide will of course convince even >> the most malicious person that we also aim to be compatible - at the >> language level -

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:18 schrieb Graeme Geldenhuys via Lazarus: > On 2018-02-18 18:14, Graeme Geldenhuys via Lazarus wrote: >> On 2018-02-18 18:10, Florian Klämpfl via Lazarus wrote: >>> What makes you think so? >> >> Michael van Canneyt. > > > And quot

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:06 schrieb Graeme Geldenhuys via Lazarus: > > 2) FPC seems to target Delphi 7 compatibility - What makes you think so? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Who is using Object Pascal in production?

2017-10-27 Thread Florian Klämpfl via Lazarus
Am 27.10.2017 um 15:54 schrieb Michalis Kamburelis via Lazarus: > and we plan to release a Steam > game next year. Hope you tell us when it is available :) -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] FPC on Rpi3 executable module sizes

2016-11-01 Thread Florian Klämpfl via Lazarus
Am 30.10.2016 um 18:32 schrieb Ken Kashmarek via Lazarus: > > This is clearly an error where each addition adds 200k (or more) the the > executable file. Those units contain initialization sections which drag in a lot of code. You might want to try to strip explicitly unused symbols by