Re: [fpc-devel] OpenSSL v1.1.x DLL loading / Bug 37137

2020-09-11 Thread Michael Van Canneyt via fpc-devel
On Fri, 11 Sep 2020, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 12:38 AM Michael Van Canneyt wrote: On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: > OpenSSL library loading fixes. Patch file is attached. Comments are welcome. > > Summary: > 1) For Windows and

Re: [fpc-devel] Feature request/discussion - SetLengthNoInit

2020-09-14 Thread Michael Van Canneyt via fpc-devel
On Mon, 14 Sep 2020, J. Gareth Moreton via fpc-devel wrote: On 14/09/2020 19:41, Michael Van Canneyt via fpc-devel wrote: Better add an additional (optional) parameter SkipInit : Boolean = False; Michael. That won't work because constructs such as "var Data: array of array of

Re: [fpc-devel] Feature request/discussion - SetLengthNoInit

2020-09-14 Thread Michael Van Canneyt via fpc-devel
On Mon, 14 Sep 2020, J. Gareth Moreton via fpc-devel wrote: Hi everyone, This is something that came up in a discussion with a client. One thing he noticed when using SetLength with dynamic arrays is that it can cause a CPU bottleneck because it initialises the entire block to zero, which

Re: [fpc-devel] Github hosting of FPC utilities and [stable] sources

2020-10-13 Thread Michael Van Canneyt via fpc-devel
On Wed, 14 Oct 2020, Michael Fuchs via fpc-devel wrote: Am 13.10.20 um 15:06 schrieb Michael Van Canneyt via fpc-devel: This is planned, we wait for 3.2.2 and then we move to git. Will there still be an access via SVN or is git the only possibility? There are no plans to support SVN

Re: [fpc-devel] Github hosting of FPC utilities and [stable] sources

2020-10-13 Thread Michael Van Canneyt via fpc-devel
On Tue, 13 Oct 2020, Ryan Joseph via fpc-devel wrote: On Oct 13, 2020, at 7:06 AM, Michael Van Canneyt via fpc-devel wrote: This is planned, we wait for 3.2.2 and then we move to git. will it go on GitHub also and replace the old mirror site we've been using or will you host

Re: [fpc-devel] A slightly different bug report!

2020-10-19 Thread Michael Van Canneyt via fpc-devel
Gareth, I deleted it, you did right to mark it as spam. Michael. On Mon, 19 Oct 2020, J. Gareth Moreton via fpc-devel wrote: Hi everyone, I just closed a bug report with a comment that it was 'spam'. Would you agree? https://bugs.freepascal.org/view.php?id=37957 Is there a specific way

Re: [fpc-devel] Github hosting of FPC utilities and [stable] sources

2020-10-13 Thread Michael Van Canneyt via fpc-devel
On Tue, 13 Oct 2020, Alfred via fpc-devel wrote: Hello to All, Again I would like to ask for a central GIT repo of FPC [stable] sources and FPC external utilities. This is planned, we wait for 3.2.2 and then we move to git. Michael. ___

Re: [fpc-devel] Wrong reference to bugtracker in svn log

2020-08-29 Thread Michael Van Canneyt via fpc-devel
On Fri, 28 Aug 2020, Bart via fpc-devel wrote: Hi, Bugtracker issue #35022 was resolved in r44477. Unfortunately in the bugtracker itself it states the issue is resolved in r44478. The log entry for r44477 states that this revision resolves bug #36809 (that however was fixed in r44429). I

Re: [fpc-devel] certificate verify issue of tfphttpclient with openssl

2020-08-21 Thread Michael Van Canneyt via fpc-devel
On Sat, 22 Aug 2020, baldzhang via fpc-devel wrote: certificate verify issue of tfphttpclient with openssl patch file attached, some explain: a) sslsockets.pp the TVerifyCertificateEvent shall allow to modify the "Allow" param, for compatibility reason, function DoVerifyCert: Boolean

Re: [fpc-devel] certificate verify issue of tfphttpclient with openssl

2020-08-22 Thread Michael Van Canneyt via fpc-devel
On Sun, 23 Aug 2020, baldzhang via fpc-devel wrote: At 2020-08-22 06:28:55, "Michael Van Canneyt via fpc-devel" wrote: On Sat, 22 Aug 2020, baldzhang via fpc-devel wrote: Patch checked and applied in rev. 46540 谢谢您,这个很有用! Michael. Thanks for the hard work of p

Re: [fpc-devel] Unknown compilerproc in r 46894

2020-09-19 Thread Michael Van Canneyt via fpc-devel
It is a known issue, needs still to be fixed. Michael. On Sat, 19 Sep 2020, Ryan Joseph via fpc-devel wrote: I was just going to test the applied patch https://bugs.freepascal.org/view.php?id=36909 with revision 46894 and I got this error. Any ideas?

Re: [fpc-devel] OpenSSL v1.1.x DLL loading / Bug 37137

2020-09-28 Thread Michael Van Canneyt via fpc-devel
On Fri, 11 Sep 2020, Michael Van Canneyt wrote: Thank you very much for the patch. I will look at this ASAP. Hi Michael, The OpenSSL library loading code still has the potential to load mismatched library versions. Did you get a chance to review the patch I sent? Not yet, I'm currently

Re: [fpc-devel] OpenSSL v1.1.x DLL loading / Bug 37137

2020-09-28 Thread Michael Van Canneyt via fpc-devel
On Mon, 28 Sep 2020, Ondrej Pokorny via fpc-devel wrote: On 28.09.2020 15:34, Michael Van Canneyt via fpc-devel wrote: I made some time for this, it's checked in with revision 46987. Note that this revision also enables support for LibreSSL (or whatever it is called) versions on linux/mac

Re: [fpc-devel] Feature request/discussion - SetLengthNoInit

2020-09-16 Thread Michael Van Canneyt via fpc-devel
On Wed, 16 Sep 2020, Benito van der Zander via fpc-devel wrote: Hi, I'm against adding support for this. Dynamic arrays have guaranteed behavior. If users find that this behavior is not appropriate for their use case then they should not use them (or as you already suggested,

Re: [fpc-devel] ftfont and FreeType

2020-07-17 Thread Michael Van Canneyt via fpc-devel
On Fri, 17 Jul 2020, Werner Pamler wrote: Am 17.07.2020 um 17:26 schrieb Michael Van Canneyt: It is exactly the opposite. It can now load the DLL dynamically. home:~/fpc/packages/fcl-image/src> svn log freetypeh.pp

Re: [fpc-devel] TMask classes

2020-12-03 Thread Michael Van Canneyt via fpc-devel
Hello José, FPC has 2 units with similar functionality, fpmasks (in fpindexer) and maskutils (in fcl-base). I think one of these units could be extended with extra functions; I don't think we should introduce new units. For maskutils there are already some tests, so if you write tests for

Re: [fpc-devel] r47731 doesn't build!

2020-12-09 Thread Michael Van Canneyt via fpc-devel
Already fixed. Michael. On Wed, 9 Dec 2020, Pascal Riekenberg via fpc-devel wrote: Target OS: Win32 for i386 Compiling pastojs\src\pas2jsfiler.pp Compiling pastojs\src\pas2jsfileutils.pp Compiling pastojs\src\fppas2js.pp Writing Resource String Table file: fppas2js.rsj pas2jsfiler.pp(210,5)

Re: [fpc-devel] Different handling of try..except depending on OS?

2020-12-10 Thread Michael Van Canneyt via fpc-devel
On Thu, 10 Dec 2020, Bart via fpc-devel wrote: On Thu, Dec 10, 2020 at 7:34 AM Sven Barth via fpc-devel wrote: That is correct, because without the SysUtils unit (which declared the Exception type) the RTL can't convert the triggered runtime error to an exception type that can be caught

Re: [fpc-devel] Different handling of try..except depending on OS?

2020-12-10 Thread Michael Van Canneyt via fpc-devel
On Thu, 10 Dec 2020, Bart via fpc-devel wrote: On Thu, Dec 10, 2020 at 7:34 AM Sven Barth via fpc-devel wrote: It's possibly related to FPC using SEH on Win32 and Win64 instead of the SetJump/LongJump based exception handling on other platforms. Slight differences are possible and we'd

Re: [fpc-devel] Different handling of try..except depending on OS?

2020-12-10 Thread Michael Van Canneyt via fpc-devel
On Thu, 10 Dec 2020, Tomas Hajny via fpc-devel wrote: On 2020-12-10 07:34, Sven Barth via fpc-devel wrote: Am 09.12.2020 um 23:45 schrieb Bart via fpc-devel: Compiled with fpc 3.2.0 on Windows it will output (both 32 and 64 bit): Runtime error 201 at $004015F1 $004015F1 $00407307

Re: [fpc-devel] ViewVC not working

2020-11-17 Thread Michael Van Canneyt via fpc-devel
On Tue, 17 Nov 2020, gabor via fpc-devel wrote: Can't open ViewVC page from SVN repository - I'm getting 404 error. Is the website down or is it a temporary problem? I use this address: https://svn.freepascal.org/cgi-bin/viewvc.cgi/ It is a temporary problem, I disabled viewvc.cgi, we were

Re: [fpc-devel] Compiler message colour scheme

2020-11-22 Thread Michael Van Canneyt via fpc-devel
On Sun, 22 Nov 2020, Jonas Maebe via fpc-devel wrote: On 22/11/2020 16:03, Ryan Joseph via fpc-devel wrote: What version of the trunk is this in and what's the flag to enable it? My trunk is maybe 30 days old and I don't see any way to get the colors. It's only enabled on Linux and

Re: [fpc-devel] Compiler message colour scheme

2020-11-23 Thread Michael Van Canneyt via fpc-devel
On Sun, 22 Nov 2020, Jonas Maebe via fpc-devel wrote: On 22/11/2020 17:42, Sven Barth via fpc-devel wrote: Am 22.11.2020 um 17:40 schrieb J. Gareth Moreton via fpc-devel: Most modern Macs are Unix-based, so the escape sequences should work, right? Granted, I think we need someone with a Mac

Re: [fpc-devel] Google API service acct and JWT

2020-10-21 Thread Michael Van Canneyt via fpc-devel
On Tue, 20 Oct 2020, Wayne Sherman via fpc-devel wrote: Michael Van Canneyt, there is a discussion about using fphttpclient with Google API service account on the forums: https://forum.lazarus.freepascal.org/index.php/topic,51478.0.html The last post has a code example of signing a JWT:

Re: [fpc-devel] compiler has problem finding right function: IfThen (Math vs. StrUtils)

2021-01-05 Thread Michael Van Canneyt via fpc-devel
The ones in math must be marked with overload. Then the compiler will continue to search. Michael. On Tue, 5 Jan 2021, Pascal Riekenberg via fpc-devel wrote: Please find a simple test project attached Note: If you put the StrUtils at the end of the uses list the program compiles. Pascal

Re: [fpc-devel] compiler has problem finding right function: IfThen (Math vs. StrUtils)y

2021-01-05 Thread Michael Van Canneyt via fpc-devel
On Tue, 5 Jan 2021, Pascal Riekenberg via fpc-devel wrote: Michael Van Canneyt via fpc-devel hat am 05.01.2021 09:15 geschrieben: I did a small test, your program compiles with the trunk compiler ? No, only if you put StrUtils at the end of the uses list. And I checked, the math

Re: [fpc-devel] compiler has problem finding right function: IfThen (Math vs. StrUtils)

2021-01-05 Thread Michael Van Canneyt via fpc-devel
I did a small test, your program compiles with the trunk compiler ? And I checked, the math IfThen() functions have overload attached. What compiler did you use ? Michael. On Tue, 5 Jan 2021, Michael Van Canneyt via fpc-devel wrote: The ones in math must be marked with overload

Re: [fpc-devel] Explicitly named return values and implicit aliases Result

2020-12-16 Thread Michael Van Canneyt via fpc-devel
On Wed, 16 Dec 2020, Blaise--- via fpc-devel wrote: On 16.12.2020 0:07, Sven Barth wrote: No, those two are in fact correct this way. Is that the /team's/ consensus? The modeswitch Result enables the use of Result as an alias for *any* routine … Incorrect. The identifier Result does

Re: [fpc-devel] Explicitly named return values and implicit aliases Result

2020-12-16 Thread Michael Van Canneyt via fpc-devel
On Wed, 16 Dec 2020, Blaise--- via fpc-devel wrote: On 16.12.2020 12:24, Michael Van Canneyt via fpc-devel wrote: To be correct: Result is not the name of the result value, it is an alias. But, conceptually, I would rather look at the function name resolving to the return value

Re: [fpc-devel] FPC & Lazarus moving to gitlab

2021-06-23 Thread Michael Van Canneyt via fpc-devel
On Wed, 23 Jun 2021, J. Gareth Moreton via fpc-devel wrote: Hopefully I should be able to get to grips with the command line interface so I can update my local copy through gitlab while also coinciding with all my local git branches for development (mixing SVN and git has been an...

[fpc-devel] FPC & Lazarus moving to gitlab

2021-06-22 Thread Michael Van Canneyt via fpc-devel
Hello All, The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage their source code and issue reports. In order to lower maintenance of their own infrastructure, a hosted solution has been chosen, and an open source license was granted to the teams. You can

Re: [fpc-devel] Working on FillWord, FillDWord and FillQWord again

2021-05-14 Thread Michael Van Canneyt via fpc-devel
On Fri, 14 May 2021, J. Gareth Moreton via fpc-devel wrote: Hi everyone, I'm back to working on the x86_64 implementations of FillWord, FillDWord and FillQWord again due to demand from a couple of end users. https://bugs.freepascal.org/view.php?id=32637 One question I do have though,

Re: [fpc-devel] TypeInfo RTTI / possible inconsistency

2021-05-18 Thread Michael Van Canneyt via fpc-devel
On Tue, 18 May 2021, Martin Frb via fpc-devel wrote: On 18/05/2021 15:24, Martin Frb via fpc-devel wrote: I was looking at TypeInfo (based on 3.2.2rc) line 632  unit TypInfo     tkMethod:   followed by   ResultType : ShortString // for

Re: [fpc-devel] Defer keyword

2021-05-07 Thread Michael Van Canneyt via fpc-devel
On Fri, 7 May 2021, Sven Barth via fpc-devel wrote: In my opinion the better solution is to continue the road that Maciej started and to implement that "default field" concept together with operator hoistening so that records with management operators can be used as containers. This is

Re: [fpc-devel] Defer keyword

2021-05-07 Thread Michael Van Canneyt via fpc-devel
On Fri, 7 May 2021, Sven Barth via fpc-devel wrote: I thought it was agreed at the time that this was the most viable way forward ? As far as I remember there wasn't really any agreement. Can be, I was not sure... I remember this path was investigated. IIRC there was also the proposal

Re: [fpc-devel] Crash in TWriter with read only class property = nil

2021-05-21 Thread Michael Van Canneyt via fpc-devel
On Fri, 21 May 2021, Martin Frb via fpc-devel wrote: If you have a readonly property such as (tested with 3.2.2 rc)   TMyComponent = class(TComponent)   private     FFoo: TComponent;   published     property ReadOnly: TComponent read FFoo;   end; and FFoo is nil, then TWriter will crash.

Re: [fpc-devel] mantis 0038496 custom variants and documentation

2021-05-30 Thread Michael Van Canneyt via fpc-devel
On Sun, 30 May 2021, Marco van de Voort via fpc-devel wrote: Before the 3.2.2 release I looked into mantis 0038496 and now I come back to it. I noticed that custom variants are completely undocumented, is this know (IOW should I file a bug?). Please do. I am aware of this issue, but it

Re: [fpc-devel] BitHelpers

2021-07-08 Thread Michael Van Canneyt via fpc-devel
On Thu, 8 Jul 2021, Zeljko Avramovic via fpc-devel wrote: BitHelpers are quite mature now and I would like to see them as part of FreePascal. If devs agree to that, then I would like to discuss what is the best way to include them. As mentioned at

Re: [fpc-devel] Nested function closures

2021-04-27 Thread Michael Van Canneyt via fpc-devel
On Tue, 27 Apr 2021, Ryan Joseph via fpc-devel wrote: Continued from our discussion at https://bugs.freepascal.org/view.php?id=24481. if the compiler devs will allow me as soon as this is finished I want to allow the existing nested functions functionality to work with anonymous functions,

Re: [fpc-devel] FPC 3.2.2-RC1 released!

2021-03-24 Thread Michael Van Canneyt via fpc-devel
On Wed, 24 Mar 2021, Martin Frb via fpc-devel wrote: On 24/03/2021 12:10, Marco van de Voort via fpc-devel wrote: Hello, We have placed the first release candidate of the Free Pascal Compiler version 3.2.2 on our ftp servers. There is still an open 3.0.4 regression issue

Re: [fpc-devel] Public access of FPC features and settings

2021-04-02 Thread Michael Van Canneyt via fpc-devel
On Fri, 2 Apr 2021, Florian Klämpfl via fpc-devel wrote: Am 07.03.2021 um 15:12 schrieb Florian Klämpfl via fpc-devel : Am 07.03.21 um 12:05 schrieb Alfred via fpc-devel: Hello, As a follow-up on a Lazarus feature request. Among other applications, Lazarus uses some hard-coded list that

Re: [fpc-devel] Public access of FPC features and settings

2021-04-02 Thread Michael Van Canneyt via fpc-devel
On Fri, 2 Apr 2021, Florian Klämpfl via fpc-devel wrote: Am 02.04.2021 um 16:21 schrieb Michael Ring via fpc-devel : Florian, it seems you missed a comment on that topic I wrote a while ago. You are right. The controller unit is written now like:

Re: [fpc-devel] Annoying error when building compiler on i386-win32

2021-04-06 Thread Michael Van Canneyt via fpc-devel
On Tue, 6 Apr 2021, Florian Klämpfl via fpc-devel wrote: Am 06.04.2021 um 07:37 schrieb Sven Barth via fpc-devel : Am 05.04.2021 um 20:33 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I have a slightly annoying error when building the compiler for i386-win32. I mentioned it

Re: [fpc-devel] Annoying error when building compiler on i386-win32

2021-04-06 Thread Michael Van Canneyt via fpc-devel
On Tue, 6 Apr 2021, Florian Klämpfl via fpc-devel wrote: Am 06.04.2021 um 10:42 schrieb Michael Van Canneyt via fpc-devel : On Tue, 6 Apr 2021, Florian Klämpfl via fpc-devel wrote: Am 06.04.2021 um 07:37 schrieb Sven Barth via fpc-devel : Am 05.04.2021 um 20:33 schrieb J. Gareth

Re: [fpc-devel] TSdfDataset segfaults with utf-8

2021-03-10 Thread Michael Van Canneyt via fpc-devel
Done, thanks for the patch. Michael; On Wed, 10 Mar 2021, Luca Olivetti via fpc-devel wrote: Hello, could somebody take a look at https://bugs.freepascal.org/view.php?id=37370 I proposed a fix in the last message. Bye -- Luca ___ fpc-devel

Re: [fpc-devel] SocketCAN implementation

2021-03-17 Thread Michael Van Canneyt via fpc-devel
On Wed, 17 Mar 2021, Zeljko Avramovic via fpc-devel wrote: I had a look. Thanks, I really appreciate it. Since this is currently linux-only, and there are several units, I would opt to make this a separate package. The directory structure to use should be clear, I suppose: can

Re: [fpc-devel] Public access of FPC features and settings

2021-03-09 Thread Michael Van Canneyt via fpc-devel
On Tue, 9 Mar 2021, Florian Klämpfl via fpc-devel wrote: Since we write the resource strings in JSON, and XML is meanwhile all but replaced by JSON, I think it would be much better to write JSON ? The compiler writes the node tree already as XML, so I thought XML might be the better

Re: [fpc-devel] SocketCAN implementation

2021-03-14 Thread Michael Van Canneyt via fpc-devel
On Sun, 14 Mar 2021, Zeljko Avramovic via fpc-devel wrote: Hello everyone,   I have implemented SocketCAN wrappers for FreePascal which I would like to contribute. Before creating a patch for Mantis, could someone please take a look at it's current form and advise me on further steps,

Re: [fpc-devel] Public access of FPC features and settings

2021-03-09 Thread Michael Van Canneyt via fpc-devel
On Tue, 9 Mar 2021, Michael Van Canneyt via fpc-devel wrote: On Tue, 9 Mar 2021, Florian Klämpfl via fpc-devel wrote: Since we write the resource strings in JSON, and XML is meanwhile all but replaced by JSON, I think it would be much better to write JSON ? The compiler writes the node

Re: [fpc-devel] [Core] Dangerous download on bug report

2021-02-24 Thread Michael Van Canneyt via fpc-devel
On Wed, 24 Feb 2021, Bart via fpc-devel wrote: On Wed, Feb 24, 2021 at 10:06 AM Bart wrote: I have downloaded that file (some time ago) The download links seems to have gone from the bugreport? (Or maybe I need new glasses) No, it is still there, comment from 2021-02-09 22:25:

Re: [fpc-devel] [Core] Dangerous download on bug report

2021-02-24 Thread Michael Van Canneyt via fpc-devel
On Wed, 24 Feb 2021, Bart via fpc-devel wrote: On Wed, Feb 24, 2021 at 8:36 AM Michael Van Canneyt via fpc-devel wrote: I am also using Mozilla Firefox. So do I. I have downloaded that file (some time ago) just to see if I could simplify the problem. I had no problems, it was just a zip

Re: [fpc-devel] Public access of FPC features and settings

2021-03-08 Thread Michael Van Canneyt via fpc-devel
On Sun, 7 Mar 2021, Florian Klämpfl via fpc-devel wrote: Am 07.03.21 um 12:05 schrieb Alfred via fpc-devel: Hello, As a follow-up on a Lazarus feature request. Among other applications, Lazarus uses some hard-coded list that represent FPC features. Like supported MCU and boards. It would

Re: [fpc-devel] [Core] Dangerous download on bug report

2021-02-23 Thread Michael Van Canneyt via fpc-devel
but the link had me download an installer for the file instead, which installed malware. Gareth aka. Kit On 24/02/2021 07:25, Michael Van Canneyt via fpc-devel wrote: Gareth, I don't know what you've been doing on that site, but I downloaded the bugreport file without problems. I didn't have

Re: [fpc-devel] [Core] Dangerous download on bug report

2021-02-23 Thread Michael Van Canneyt via fpc-devel
Gareth, I don't know what you've been doing on that site, but I downloaded the bugreport file without problems. I didn't have to install anything, just downloaded a zip without the need to download or install anything else. The zip file contains only (a lot of) pascal files. I agree the method

Re: [fpc-devel] TStreamReader (streamex unit) issue

2021-04-09 Thread Michael Van Canneyt via fpc-devel
Thanks. I've assigned it to myself. Michael. On Fri, 9 Apr 2021, Andrea Mauri via fpc-devel wrote: Submitted as: 0038734 (https://bugs.freepascal.org/view.php?id=38734) On Fri, 9 Apr 2021 at 09:11, Michael Van Canneyt wrote: Hello, Can you please post this in the bugtracker ? So it

Re: [fpc-devel] Quick question on VMT / writeable or protected memory

2021-04-14 Thread Michael Van Canneyt via fpc-devel
On Wed, 14 Apr 2021, Jonas Maebe via fpc-devel wrote: On 14/04/2021 17:49, Alfred via fpc-devel wrote: The mORMot[1] sources could give you some info. During runtime, it patches the exe-memory to redirect function calls. Hard part was to get around the W^X memory protection on some BSD's.

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Michael Van Canneyt via fpc-devel
On Mon, 23 Aug 2021, Bart via fpc-devel wrote: On Mon, Aug 23, 2021 at 2:28 PM Tomas Hajny via fpc-devel wrote: Does it exist in C:\Windows\SysWOW64\ on your machine? Yes, there is a common.dll there. I think that syswow64 is not in my %PATH%, but currently I'm at work and cannot check.

Re: [fpc-devel] Building a debug version of FPC-main on Windows

2021-08-29 Thread Michael Van Canneyt via fpc-devel
On Sat, 28 Aug 2021, Werner Pamler via fpc-devel wrote: Am 25.08.2021 um 20:53 schrieb Marco van de Voort via fpc-devel: Sorry. I'm on holiday, and I only check in occasionally at night. Try changing PP= to FPC= Thank you, Marco. Now I did already the second successful build of a older

[fpc-devel] FPC move to mantis completed

2021-08-08 Thread Michael Van Canneyt via fpc-devel
Hello, After several technical issues (8 tries were needed to convert the FPC sources to git), the move from svn/mantis to gitlab has been completed. The FPC sources are now available at https://gitlab.com/freepascal.org/fpc/source All FPC git repositories are available at:

Re: [fpc-devel] Moving to gitlab.

2021-07-29 Thread Michael Van Canneyt via fpc-devel
On Thu, 29 Jul 2021, Denis Kozlov via fpc-devel wrote: Regarding the old bug tracker. Can you please keep it online, perhaps making it accessible in read-only mode? There are many references to issues in the old bug tracker across many code bases and discussions, at it would be a real

Re: [fpc-devel] Moving to gitlab.

2021-07-29 Thread Michael Van Canneyt via fpc-devel
On Thu, 29 Jul 2021, Michael Van Canneyt via fpc-devel wrote: On Thu, 29 Jul 2021, Denis Kozlov via fpc-devel wrote: Regarding the old bug tracker. Can you please keep it online, perhaps making it accessible in read-only mode? There are many references to issues in the old bug tracker

Re: [fpc-devel] different fpc dir structure on different platforms?

2021-10-21 Thread Michael Van Canneyt via fpc-devel
On Wed, 20 Oct 2021, Jos Wegman via fpc-devel wrote: Hi, I have two virtual machines 1. Debian 11 2. Win 10 In both machines I want to install the fpc compiler from sourcecode. I create a base directory and two subdirectories. fpc -> fpcsrc   -> fpcbin I clone the sourcecode from

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-27 Thread Michael Van Canneyt via fpc-devel
On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: Hello, commit ab86ce7e62db2add637961e3ff98a7703c86cb2c Author: lacak Date:   Mon Jul 12 12:17:03 2021 + Sorry for so long list, but I absolutely do not understand how to do "cherry-pick" ... trying do it - I see there (in step 4: Pick

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-27 Thread Michael Van Canneyt via fpc-devel
On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: Hello, commit ab86ce7e62db2add637961e3ff98a7703c86cb2c Author: lacak Date:   Mon Jul 12 12:17:03 2021 + Sorry for so long list, but I absolutely do not understand how to do "cherry-pick" ... trying do it - I see there (in step 4: Pick

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-27 Thread Michael Van Canneyt via fpc-devel
On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: And I get then redirect to:

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-27 Thread Michael Van Canneyt via fpc-devel
On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: Dňa 27.9.2021 o 9:13 Michael Van Canneyt napísal(a): On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: Hello, commit ab86ce7e62db2add637961e3ff98a7703c86cb2c Author: lacak Date:   Mon Jul 12 12:17:03 2021 + Sorry for so long list, but

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-27 Thread Michael Van Canneyt via fpc-devel
On Mon, 27 Sep 2021, LacaK via fpc-devel wrote: Hello, commit ab86ce7e62db2add637961e3ff98a7703c86cb2c Author: lacak Date:   Mon Jul 12 12:17:03 2021 + Sorry for so long list, but I absolutely do not understand how to do "cherry-pick" ... trying do it - I see there (in step 4: Pick

Re: [fpc-devel] Promote specific warning into error

2021-09-24 Thread Michael Van Canneyt via fpc-devel
On Fri, 24 Sep 2021, Marc Weustink via fpc-devel wrote: On 24-9-2021 14:24, Marc Weustink via fpc-devel wrote: Hi, Is there a way to promote a specific warning(4056) into an error ? from the commandline I mean. I've found {$warn 4056 error} but I don't want to put this in all sources

Re: [fpc-devel] Minor doc error about "const param"

2021-12-20 Thread Michael Van Canneyt via fpc-devel
On Mon, 20 Dec 2021, Martin Frb via fpc-devel wrote: Actually an commission, but an important one. https://www.freepascal.org/docs-html/current/ref/refsu67.html#x183-20700014.4.4 > Specifying a parameter as Constant is giving the compiler a hint that the contents of the parameter will not

Re: [fpc-devel] Functors

2021-12-26 Thread Michael Van Canneyt via fpc-devel
On Sun, 26 Dec 2021, Blaise--- via fpc-devel wrote: I propose that the support for https://en.wikipedia.org/wiki/Function_object be added to the FPC. Please explain what's the point or benefit of this. None of what is shown below cannot be handled by ordinary methods, and I find the

Re: [fpc-devel] Functors

2021-12-26 Thread Michael Van Canneyt via fpc-devel
On Sun, 26 Dec 2021, Blaise--- via fpc-devel wrote: On 26.12.2021 19:33, Michael Van Canneyt via fpc-devel wrote: On Sun, 26 Dec 2021, Blaise--- via fpc-devel wrote: On 26.12.2021 11:50, Michael Van Canneyt via fpc-devel wrote: None of what is shown below cannot be handled by ordinary

Re: [fpc-devel] Functors

2021-12-26 Thread Michael Van Canneyt via fpc-devel
On Sun, 26 Dec 2021, Ryan Joseph via fpc-devel wrote: On Dec 26, 2021, at 3:50 PM, Michael Van Canneyt via fpc-devel wrote: I think the idea of using a fixed member identifier for special purposes is really stupid design. I'll never forgive Embarcadero their 'GetEnumerator' idea

Re: [fpc-devel] Functors

2021-12-26 Thread Michael Van Canneyt via fpc-devel
On Sun, 26 Dec 2021, Blaise--- via fpc-devel wrote: On 26.12.2021 11:50, Michael Van Canneyt via fpc-devel wrote: Please explain what's the point or benefit of this. Do you mean "in general", or "specifically to FPC"? A) In general: I reckon that the article covers t

Re: [fpc-devel] Minor doc error about "const param"

2021-12-20 Thread Michael Van Canneyt via fpc-devel
On Mon, 20 Dec 2021, Bart via fpc-devel wrote: On Mon, Dec 20, 2021 at 12:07 PM Martin Frb via fpc-devel wrote: https://www.freepascal.org/docs-html/current/ref/refsu67.html#x183-20700014.4.4 > Specifying a parameter as Constant is giving the compiler a hint that the contents of the

Re: [fpc-devel] Minor doc error about "const param"

2021-12-20 Thread Michael Van Canneyt via fpc-devel
On Mon, 20 Dec 2021, Martin Frb via fpc-devel wrote: On 20/12/2021 12:29, Michael Van Canneyt wrote: On Mon, 20 Dec 2021, Martin Frb via fpc-devel wrote: Actually an commission, but an important one. https://www.freepascal.org/docs-html/current/ref/refsu67.html#x183-20700014.4.4 >

Re: [fpc-devel] jUnit output for fpcunit

2021-12-29 Thread Michael Van Canneyt via fpc-devel
On Wed, 29 Dec 2021, Joost van der Sluis via fpc-devel wrote: Hi all, I'm trying to run my fpcunit unit-tests on Gitlab, and let Gitlab show the results. But it can only handle JUnit-like xml. Does someone already have something lying around to convert the fpcunit format into junit?

Re: [fpc-devel] jUnit output for fpcunit

2021-12-29 Thread Michael Van Canneyt via fpc-devel
On Wed, 29 Dec 2021, Joost van der Sluis via fpc-devel wrote: Op 29-12-2021 om 16:05 schreef Michael Van Canneyt via fpc-devel: On Wed, 29 Dec 2021, Joost van der Sluis via fpc-devel wrote: I'm trying to run my fpcunit unit-tests on Gitlab, and let Gitlab show the results. But it can

Re: [fpc-devel] Optimisation and thread safety

2021-11-13 Thread Michael Van Canneyt via fpc-devel
On Fri, 12 Nov 2021, J. Gareth Moreton via fpc-devel wrote: Hi everyone, I have a question when it comes to optimising memory reads and writes.  What are the rules for FPC when it comes to writing to memory and then reading from it later within a single subroutine? For example, say I had

Re: [fpc-devel] Main build fails

2021-10-30 Thread Michael Van Canneyt via fpc-devel
Fixed. Michael. On Sat, 30 Oct 2021, J. Gareth Moreton via fpc-devel wrote: (Meant to send that to the Core team, sorry, but it's probably applicable here too) On 30/10/2021 18:33, J. Gareth Moreton via fpc-devel wrote: Hi everyone, It seems that as of this e-mail, the

Re: [fpc-devel] Fix for an annoying error

2021-11-30 Thread Michael Van Canneyt via fpc-devel
On Tue, 30 Nov 2021, J. Gareth Moreton via fpc-devel wrote: That was a conundrum I was trying to answer when making the patch.  What is a warning and what is an error? A lot of the verification code is dependent on compile-time constants whose values depend on the compiler's target

Re: [fpc-devel] tkLString vs tkAString

2021-11-30 Thread Michael Van Canneyt via fpc-devel
On Tue, 30 Nov 2021, Marc Weustink via fpc-devel wrote: Hi, I ran into an issue with a piece of ported Delphi (6) code and RTTI. Part of the Delphi code was based on strings with a RTTI type tkLString where in FPC the type appeared to be tkAString. Fixing this was easy, but it made me

Re: [fpc-devel] Fix for an annoying error

2021-11-30 Thread Michael Van Canneyt via fpc-devel
is raised, it may cause a cascade error if any of its functions are used in the unit because they're not declared. Gareth aka. Kit On 30/11/2021 16:22, Michael Van Canneyt via fpc-devel wrote: On Tue, 30 Nov 2021, J. Gareth Moreton via fpc-devel wrote: That was a conundrum I was trying to answer

Re: [fpc-devel] {$if SizeOf(TMyOrdinalType) = 1} doesn't compile

2021-07-18 Thread Michael Van Canneyt via fpc-devel
On Sun, 18 Jul 2021, Zeljko Avramovic via fpc-devel wrote: As discussed at https://forum.lazarus.freepascal.org/index.php/topic,55397.0.html, this compiles and works well: {$MACRO ON} {$if SizeOf(byte) = 1} WriteLn('SizeOf(byte) = ', SizeOf(byte)); {$endif} however this does not

Re: [fpc-devel] To all Mantis (Bugtracker) account holders - prepare for the move to Gitlab - Now

2021-07-17 Thread Michael Van Canneyt via fpc-devel
On Sat, 17 Jul 2021, Ryan Joseph via fpc-devel wrote: On Jul 17, 2021, at 12:58 PM, Michael Van Canneyt via fpc-devel To map your gitlab user name (or ID) to the mantis user, we ask that you file an issue in the mantis project of the current bugtracker https://bugs.freepascal.org

[fpc-devel] Moving to gitlab.

2021-07-22 Thread Michael Van Canneyt via fpc-devel
Hello, Some of you may have seen this on the lazarus list: During the upcoming weekend we will be moving to GitLab. During this time, there may be interruptions to 2 of our services: - SVN will become unavailable permanently. - Mantis/Bugtracker will become unavailable.   * It will be taken

Re: [fpc-devel] Moving to gitlab.

2021-07-22 Thread Michael Van Canneyt via fpc-devel
On Thu, 22 Jul 2021, J. Gareth Moreton via fpc-devel wrote: For those who connect to the SVN repository through a command-line terminal to update the trunk, can we have instructions on how to connect to the new GitHub repository this way?  The instructions aren't yet on

Re: [fpc-devel] [fpc-pascal] Moving to gitlab.

2021-07-22 Thread Michael Van Canneyt via fpc-devel
On Thu, 22 Jul 2021, John Lee via fpc-pascal wrote: I use viewvc to look at repository - is there an equivalent when everyting is on gitlaB? tia john Yes; The gitlab interface. https://gitlab.com/freepascal.org/fpc/testconversion3/-/commits/main Michael

Re: [fpc-devel] Moving to gitlab.

2021-07-22 Thread Michael Van Canneyt via fpc-devel
On Thu, 22 Jul 2021, J. Gareth Moreton via fpc-devel wrote: I didn't actually mean to support SVN, but just to connect to the Github repository instead (via git I presume). You presume right :-) I'll probably have to do a lot of reading up on git, since I have a lot of local branches

[fpc-devel] To all Mantis (Bugtracker) account holders - prepare for the move to Gitlab - Now

2021-07-17 Thread Michael Van Canneyt via fpc-devel
Repost from the lazarus list: --- Hello All, https://forum.lazarus.freepascal.org/index.php/topic,55167.0.html We are moving our bugs to Gitlab. - If you have a mantis account, - and you want your bugs (or notes) to be identified on gitlab we can add your gitlab account to the info of the

Re: [fpc-devel] Moving to gitlab.

2021-07-27 Thread Michael Van Canneyt via fpc-devel
On Tue, 27 Jul 2021, Ryan Joseph via fpc-devel wrote: I see the old bug reporter has been taken down now. Can anyone explain how to see my old bug reports now? I went to https://gitlab.com/groups/freepascal.org/fpc/-/issues and filtered by my username "genericptr" but nothing came up.

Re: [fpc-devel] I've asked this before, but perhaps I wasn't specific enough that time: what do I *personally*, specifically need to do to ensure that a native Windows 64-bit build winds up on the FPC

2022-01-12 Thread Michael Van Canneyt via fpc-devel
On Wed, 12 Jan 2022, Mattias Gaertner via fpc-devel wrote: On Wed, 12 Jan 2022 23:20:34 +0100 Sven Barth via fpc-devel wrote: [..] When compiling from a target supporting Extended to one only supporting Double there isn't a loss of precision when calculating values at compile time. The

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2022-03-14 Thread Michael Van Canneyt via fpc-devel
On Sun, 13 Mar 2022, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt wrote: The problem with the service account is that you must create a JWT Token. FPC does not yet have a unit that can generate *and sign* a JWT Token. I had a little time this

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2022-03-16 Thread Michael Van Canneyt via fpc-devel
On Mon, 14 Mar 2022, Wayne Sherman via fpc-devel wrote: On Mon, May 10, 2021 at 7:08 PM Wayne Sherman wrote: The Google API supports the following signing algorithms: https://cloud.google.com/iot/docs/how-tos/credentials/jwts JWT RS256 (RSASSA-PKCS1-v1_5 using SHA-256 RFC 7518 sec 3.3).

Re: [fpc-devel] TIniFile with option ifoWriteStringBoolean

2022-03-16 Thread Michael Van Canneyt via fpc-devel
On Wed, 16 Mar 2022, Bart via fpc-devel wrote: Hi, User Nimral in the wiki noted this: If you specify ifoWriteStringBoolean in Options for TIniFile _and_ you forget to assign values to BoolTrueStrings/BoolFalseStrings, then writing and reading boolean values is not symmetrical. Writing a

Re: [fpc-devel] Issue in FPDOC Editor or Makeskel?

2022-03-28 Thread Michael Van Canneyt via fpc-devel
On Mon, 28 Mar 2022, Zeljko Avramovic via fpc-devel wrote: I have already opened and issue for Lazarus FPDOC Editor, but now I am not sure if that should be fixed in FPDOC Editor or Makeskel tool so I would appreciate an advice so that I can change bug report if needed. Basically, FPDOC

Re: [fpc-devel] Issue in FPDOC Editor or Makeskel?

2022-03-28 Thread Michael Van Canneyt via fpc-devel
On Mon, 28 Mar 2022, Zeljko Avramovic via fpc-devel wrote: I have already opened and issue for Lazarus FPDOC Editor, but now I am not sure if that should be fixed in FPDOC Editor or Makeskel tool so I would appreciate an advice so that I can change bug report if needed. Basically, FPDOC

Re: [fpc-devel] case is

2022-03-23 Thread Michael Van Canneyt via fpc-devel
On Wed, 23 Mar 2022, Mattias Gaertner via fpc-devel wrote: On Wed, 23 Mar 2022 22:20:38 +0700 Hairy Pixels via fpc-devel wrote: [...] > Did you use multiple "is" or did you check for sorted and use one > loop? No it’s just like a the case of string syntax which checks for equality with

Re: [fpc-devel] FPC download on MACOS Monterey does not create an FPC app nor an fpsrc library?

2022-02-07 Thread Michael Van Canneyt via fpc-devel
On Sun, 6 Feb 2022, Pieter van Engen via fpc-devel wrote: Hallo, I installed an new MacMini with MACOS Monterey, installed XCCODE en XCODE tools, then downloaded and installed: ppc-3.2.0.intel-macosx.dmg started that, it finished with INSTALLATION COMPLETED! But alas there was no FPC app

Re: [fpc-devel] syshelpers patches

2022-01-21 Thread Michael Van Canneyt via fpc-devel
On Fri, 21 Jan 2022, Zeljko Avramovic via fpc-devel wrote: [Probably for @mvancanneyt] I have just submitted patches for syshelpers here: https://gitlab.com/freepascal.org/fpc/source/-/issues/39268#note_810963784 It's a closed thread and I can not reopen it, so maybe it would be better if I

Re: [fpc-devel] Now sure why this raises Runtime Error 216

2022-01-06 Thread Michael Van Canneyt via fpc-devel
On Thu, 6 Jan 2022, Ozz Nixon via fpc-devel wrote: Procedure Make_Language_File( Description,MenuPath,TextPath,QuestPath:String; Enabled:Boolean;SecurityLevel:Byte;Flags:Longint); Var FileSize:Longint; Begin Writeln('Language_File empty size is ',SizeOf(L)); FileSize:=0;

  1   2   3   >