Re: [fpc-devel] Published record

2024-08-18 Thread baldzhang via fpc-devel
you may try this: TSomeObjToSerial = class(TPersistent) private FPoint: TPoint; public property Point: TPoint read FPoint write FPoint; published property PointX: Integer read FPoint.x write FPoint.x; property PointY: Integer read FPoint.y write FPoint.y; end; not tested by compiler, bu

[fpc-devel] Hi Michael, have a look of #0038677

2021-04-09 Thread baldzhang via fpc-devel
https://bugs.freepascal.org/view.php?id=38677 a bug that parse PeerName error in fpopenssl I remember you maintenance this. Thanks. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] double free of internal temp string with fpc 3.2.0

2021-01-08 Thread baldzhang via fpc-devel
I have the same problem after upgrade to 3.2.0, 3.0.4 is all good. In my program, when free a TStringList that used in a thread, exception occurs in 80%~90% time. I try to finger out what happening and got fpc_ansistr_decr_ref calling FreeMem then got wrong memory. The program was x86-64 on Wind

Re: [fpc-devel] about #0035991, fpc 3.2.1 still crash lazarus 2.0.10, 2.0.11

2020-09-02 Thread baldzhang via fpc-devel
Hi, Ondrej > At 2020-09-02 17:37:19, "Ondrej Pokorny via fpc-devel" > wrote: > it is not possible to support the latest FPC trunk in already > released Lazarus versions (2.0.10). Got it. > If you want some bug fixes to be merged into the stable branch > (currently 2.0.11), yo

[fpc-devel] about #0035991, fpc 3.2.1 still crash lazarus 2.0.10, 2.0.11

2020-08-31 Thread baldzhang via fpc-devel
Hi, Ondrej I saw you mark #0035991 resolved, but I still has crash problem on Svn2RevisionInc. The testing result is: 3.2.0 2.0.10 2.0.11 2.1 : all good 3.2.1 2.0.10 : exception 2.0.11 : exception 2.1 : good This was tested with a small pr

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

2020-08-22 Thread baldzhang via fpc-devel
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 pascal team :) Is this possible to merge

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

2020-08-21 Thread baldzhang via fpc-devel
certificate verify issue of tfphttpclient with openssl from wiki page, https client as easy as: tfphttpclient.simpleget('https://192.168.0.1') in TOpenSSLSocketHandler, the VerifyPeerCert is False by default when check the TSSL.VerifyResult, will got one of following: 1) X509_V_ERR_DEPTH_ZERO_

[fpc-devel] Is it still possiblility to merge r43880 and r44093 to 3.2 ?

2020-05-22 Thread baldzhang via fpc-devel
Hi, I mentioned this two revisions before 3.2 was tagged, and marcov said will merge them later. Until now, they are not done yet. I post some more detail at here: https://forum.lazarus.freepascal.org/index.php/topic,48361.0.html Hopefully they could be merged to 3.2 before we get a release. T

[fpc-devel] merge requests

2020-02-12 Thread baldzhang via fpc-devel
Hi, is it possible to merge r43880 (fix #0036528) and r44093 (fix #0034416) to fixes_3_2 ? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

[fpc-devel] Is it possible to merge r43880 and r44093 to 3.2 ?

2020-02-12 Thread baldzhang via fpc-devel
r43880 (fix #0036528) and r44093 (fix #0034416) hope it is not too late to merge them. BTW: it first time I try to post messages to mailing list, if this one duplicated, please ignore first one. ___ fpc-devel maillist - fpc-devel@lists.freepascal.o