Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-08

fcl-passrc developments (fpdoc,makeskel)

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort

Hello,

Over the last week I inventorized Dmitry Boyarintsev's many patches for specific fcl-passrc problems in trunk

All these are now committed, and most known problems that are not in the "exotic" category (like macro support) are now resolved.

Both the LCL and FPC docs (fpc trunk and fixes2_4), but build error free.

For fpcdocs to build with fpctrunk , the fpcdocs makefile(.fpc) must be edited to remove references to ezcgi

If you have fpdoc based docs, or are experimenting with them, please give them another spin. (me oggles Graeme)

Marco

Reply by email

Michael Van Canneyt
to Marco van de Voort
Marco van de Voort wrote 16 lines
Hello, Over the last week I inventorized Dmitry Boyarintsev's many patches for specific fcl-passrc problems in trunk All these are now committed, and most known problems that are not in the "exotic" category (like macro support) are now resolved. Both the LCL and FPC docs (fpc trunk and fixes2_4), but build error free. For fpcdocs to build with fpctrunk , the fpcdocs makefile(.fpc) must be edited to remove references to ezcgi If you have fpdoc based docs, or are experimenting with them, please give them another spin. (me oggles Graeme)

I have adapted the TPasExpr elements so they descend from TPasElement, and have implemented GetDeclaration() so they can be used when getting declarations for the linear doc writers. Revision 15749.

Michael.

Reply by email

Graeme Geldenhuys
to Marco van de Voort: Over the last week I inventorized Dmitry Boyarintsev's many patches for specific…
Marco van de Voort wrote
If you have fpdoc based docs, or are experimenting with them, please give them another spin. (me oggles Graeme)

Awesome stuff. Thanks Marco. It's a bit late now (02:47), but I'll get an update tomorrow and try again.

PS:
I have completed my new IPF Output Writer for fpdoc. Just want to do a few more tests with LCL and FPC docs to make sure all is well. Then I'll submit it to Mantis. I made some changes to fpdoc Linear writer unit as well.

Regards,   - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: I have adapted the TPasExpr elements so they descend from TPasElement, and have…
Michael Van Canneyt wrote 6 lines
I have adapted the TPasExpr elements so they descend from TPasElement, and have implemented GetDeclaration() so they can be used when getting declarations for the linear doc writers. Revision 15749.

Thanks Michael. I'll test this tomorrow as well.

Regards,   - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Marco van de Voort
to Graeme Geldenhuys: Awesome stuff. Thanks Marco. It's a bit late now (02:47), but I'll get an update…

In our previous episode, Graeme Geldenhuys said:

Show quoted text 6 lines
On 8 August 2010 16:43, Marco van de Voort wrote: > > If you have fpdoc based docs, or are experimenting with them, please give > them another spin. (me oggles Graeme) Awesome stuff. Thanks Marco.

Thanks Dmitry mostly. Dmitry has been given commit access to fcl-passrc to speed this kind of stuff up in the future.

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: I have adapted the TPasExpr elements so they descend from TPasElement, and have…

Op 2010-08-08 17:44, Michael Van Canneyt het geskryf:

I have adapted the TPasExpr elements so they descend from TPasElement, and have implemented GetDeclaration() so they can be used when getting declarations for the linear doc writers. Revision 15749.

This is still not working for me. I updated FPC to trunk r15757.

I have an include file with the following constant definitions in fpGUI...

------------[ predefinedcolors.inc ]---------------------------- {%mainunit fpg_base.pas}

  // The following colors match the predefined Delphi Colors
  // NOTE:
  //   The format is always RRGGBB (Red, Green, Blue);
  clAqua          = TfpgColor($00FFFF);
  clBlack         = TfpgColor($000000);
  clBlue          = TfpgColor($0000FF);
  clCream         = TfpgColor($FFFBF0);
...
--------------------------------------------------------------

And the output generated by the latest fpdoc is still missing anything after the equal sign.

eg:
------------[ fpgui.ipf ]--------------------
...
:p.
:xmp.
clAntiqueWhite &eq.
:exmp.

:p.
:xmp.
clAqua &eq.
:exmp.

:p.
:xmp.
clAquamarine &eq.
:exmp.

...
---------------------------------------------

See attached image for the final INF rendered output.

Uncommenting the old (pre expression parser) in TPasParser.ParseConstDecl (on line 1594 in pparser.pp) and commenting the new expression parser, the Const declarations are correct in the output.

... and before you ask, yes after I updated FPC to latest trunk, I did a make clean; make all... in the root of the FPC src directory. I also double checked that I am using the new FPC compiler and FCL. ;)

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 8 lines
Op 2010-08-08 17:44, Michael Van Canneyt het geskryf: > > I have adapted the TPasExpr elements so they descend from TPasElement, and have implemented > GetDeclaration() so they can be used when getting declarations for the linear doc writers. > Revision 15749. This is still not working for me. I updated FPC to trunk r15757.

Of course not, I said 'so they can be used'. They are not yet used.

Michael.

Reply by email

Graeme Geldenhuys
to Marco van de Voort: Over the last week I inventorized Dmitry Boyarintsev's many patches for specific…

Op 2010-08-08 16:43, Marco van de Voort het geskryf:

If you have fpdoc based docs, or are experimenting with them, please give them another spin. (me oggles Graeme)

So far so good. :-)
RTL, FCL, LCL and fpGUI docs all generated fine.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email