Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread L505
> > > > It would be nice if I could build it right into the fpdoc tool though, so > > it's just one step. > > I'll have a look at it. It should be easy to do. > I was looking into dw_html and I'm not sure if my object orientation theory is right but: Would this be the way to go: -create a dw_htm

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Tom Verhoeff
On Fri, Apr 07, 2006 at 01:25:52PM +0200, Michael Van Canneyt wrote: > > On Fri, 7 Apr 2006, Tom Verhoeff wrote: > > >I just happened to be bitten by it in an unexpected way. If it is > >properly documented, then there is no issue. I have tried to remedy > >that by creating the wiki page on rel

Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread Vincent Snijders
Michael Van Canneyt wrote: On Fri, 7 Apr 2006, L505 wrote: tidy --show-body-only yes test.html > test-body.html That'll work in the mean time while I wait for responses and comments on the snippet feature. FastHTMLParser could also work, find the Body tag (OnTag event) and record all text

Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, L505 wrote: > > tidy --show-body-only yes test.html > test-body.html > > That'll work in the mean time while I wait for responses and comments on the > snippet feature. > > FastHTMLParser could also work, find the Body tag (OnTag event) and record all > text between body. >

Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread L505
> tidy --show-body-only yes test.html > test-body.html That'll work in the mean time while I wait for responses and comments on the snippet feature. FastHTMLParser could also work, find the Body tag (OnTag event) and record all text between body. It would be nice if I could build it right into t

Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread Jeff Pohlmeyer
> is there a way to skip the HTML head and footer so the page > is not a complete html document but just a snippet of html? > ... > For example, skipping the html body, head, head closing, > and body closing tags at minimum. tidy --show-body-only yes test.html > test-body.html http://tidy.source

[fpc-pascal] fpdoc features

2006-04-07 Thread L505
> > What command would be used to run FPCdoc on all files in a directory. > > PSEUDO EXAMPLE: (crashes fpdoc) > > fpdoc --package=Test --input=*.pas;*.inc; > fpdoc --package=Test $(ls -1 *.pas *.inc | awk '{printf("input=%s ", $1)}') AWK for the one liner.. I was going to build a program that s

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Jonas Maebe
On 7 apr 2006, at 12:33, Tom Verhoeff wrote: I just happened to be bitten by it in an unexpected way. If it is properly documented, then there is no issue. I have tried to remedy that by creating the wiki page on relasing units without source code. It could be helpful if an FPC developer chec

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Tom Verhoeff wrote: On Fri, Apr 07, 2006 at 10:24:59AM +0200, Peter Vreman wrote: There is nothing different compared with TP / Delphi. The internal PPU format is made for speed and contains direct references from one PPU to another PPU. Incompatible PPUs can therefor nev

RE: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread Jeff Pohlmeyer
> What command would be used to run FPCdoc on all files in a directory. > PSEUDO EXAMPLE: (crashes fpdoc) > fpdoc --package=Test --input=*.pas;*.inc; fpdoc --package=Test $(ls -1 *.pas *.inc | awk '{printf("input=%s ", $1)}') - Jeff ___ fpc-pascal mai

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Tom Verhoeff
On Fri, Apr 07, 2006 at 10:24:59AM +0200, Peter Vreman wrote: > > There is nothing different compared with TP / Delphi. The internal PPU > format is made for speed and contains direct references from one PPU to > another PPU. Incompatible PPUs can therefor never be used together. I could not find

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Tom Verhoeff
On Thu, Apr 06, 2006 at 11:04:02PM +0200, Jonas Maebe wrote: > > On 6 apr 2006, at 22:59, Tom Verhoeff wrote: > > >This raises the concern that precompiled units become obsolete when > >the user of such a unit upgrades the compiler. The compiler > >apparently > >requires that the System unit o

Re: [fpc-pascal] When are used units recompiled? (wiki page added)

2006-04-07 Thread Peter Vreman
> On Thu, Apr 06, 2006 at 08:18:28AM +0200, Peter Vreman wrote: >> > Apparently, there is a dependency on the System unit, and >> incompatibility >> > between System units can cause a recompile. Any other such >> dependencies? >> > Is every separately compiled unit dependent on System? If not, un

Re: [fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread Michael Van Canneyt
On Thu, 6 Apr 2006, L505 wrote: What command would be used to run FPCdoc on all files in a directory. PSEUDO EXAMPLE: (crashes fpdoc) fpdoc --package=Test --input=*.pas;*.inc; You can't do it like that. You must do a fpdoc --package=Test --input=file1.pas --input=file2.pas Michael. _

[fpc-pascal] fpdoc document *.pas;*.inc

2006-04-07 Thread L505
What command would be used to run FPCdoc on all files in a directory. PSEUDO EXAMPLE: (crashes fpdoc) fpdoc --package=Test --input=*.pas;*.inc; ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp