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

2022-03-28 Thread Zeljko Avramovic via fpc-devel
> > 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 Editor in Lazarus does not recognize record

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

2022-03-28 Thread Zeljko Avramovic via fpc-devel
Sorry, wrong list. Forwarded to fpc-other instead. > Sent: Monday, March 28, 2022 at 11:43 AM > From: "Zeljko Avramovic via fpc-devel" > To: fpc-devel@lists.freepascal.org > Cc: "Zeljko Avramovic" > Subject: [fpc-devel] Issue in FPDOC Editor or Makeskel?

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

2022-03-28 Thread Zeljko Avramovic via fpc-devel
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 Editor in Lazarus does not recognize record helper method

Re: [fpc-devel] syshelpers patches

2022-01-23 Thread Zeljko Avramovic via fpc-devel
> > https://gitlab.com/freepascal.org/fpc/source/-/issues/39541 > > Thank you. I already applied 2 patches, I still need to commit the examples. Nice. Thanks! Please close the issue when you are done. Btw, I guess that I should create syshelpers.xml for new doc related to just syshelpers unit?

[fpc-devel] syshelpers patches

2022-01-22 Thread Zeljko Avramovic via fpc-devel
Done. https://gitlab.com/freepascal.org/fpc/source/-/issues/39541 > > 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

[fpc-devel] syshelpers patches

2022-01-21 Thread Zeljko Avramovic via fpc-devel
[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 open a new issue? If yes then please say so.

Re: [fpc-devel] BitHelpers

2021-07-20 Thread Zeljko Avramovic via fpc-devel
uot;Zeljko Avramovic via fpc-devel" > Cc: "Zeljko Avramovic" > Subject: Re: [fpc-devel] BitHelpers > > > > 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 > &

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

2021-07-18 Thread Zeljko Avramovic via fpc-devel
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 compile: {$MACRO ON} {$define TMyOrdinalType := byte}

[fpc-devel] BitHelpers

2021-07-08 Thread Zeljko Avramovic via fpc-devel
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 https://forum.lazarus.freepascal.org/index.php/topic,41672.msg409880.html#msg409880, Thaddy would like

Re: [fpc-devel] Type helper bug

2021-05-05 Thread Zeljko Avramovic via fpc-devel
In example bellow, both record field ID.PGN and type helper for that record field ID.PGN.PS point to the same memory location in a bitpacked record not aligned to a byte. ID.PGN can be modified correctly. ID.PGN.PS can not be modified correctly. If a field in a bitpacked record can work well

Re: [fpc-devel] SocketCAN implementation

2021-03-17 Thread Zeljko Avramovic via fpc-devel
> 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 > can/src > can/examples Understood. > Is there any

[fpc-devel] SocketCAN implementation

2021-03-14 Thread Zeljko Avramovic via fpc-devel
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, changes and improvements that I should eventually do? I would like it