The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
michael e89c99f6a7 corrected by Michalis:
* VerQueryValue parameters (last parameter should be dwBytes instead of
    @dwBytes; you can call
      VerQueryValue(...,pp,dwBytes) or
      VerQueryValue(...,@pp,@dwBytes) but NOT
      VerQueryValue(...,pp,@dwBytes) (and that was the case) )
  * corrected
      if not VerQueryValue(p,a,pp,dwBytes) then Exit;
    to
      if not VerQueryValue(p,a,pp,dwBytes) then Continue;
    (when some info is missing the code should skip to the next info,
    not exit)
  + added destructor to Free FmyVersionStrings and FmyVersionCategories objects
    to avoid memory leaks
  + added ts.Free (and embedded some code in try..finally..end clause)
    to avoid memory leaks
  * inherited Create should be called at the beginning of constructor
    (it's just a good coding practice)
  * getVersionSetting re-written, optimised a little (LowerCase(inp) only once;
    this function is not supposed to be really "optimised" but this little
    improvement was so simple...) (note: when TStringList.CaseSensitive will
    be implemented in FPC, this function can be implemented even simpler,
    just by calling FmyVersionCategories.IndexOf)
2003-07-26 16:23:05 +00:00
compiler * basic stuff fixed 2003-07-26 00:55:57 +00:00
demo * regenerated 2003-04-01 16:09:56 +00:00
docs * fixed palettype declaration (web bug #2547) 2003-07-25 11:25:36 +00:00
fcl corrected by Michalis: 2003-07-26 16:23:05 +00:00
fv * use termios.inc TwinSize definition 2003-06-18 09:54:13 +00:00
fvision * use termios.inc TwinSize definition 2003-06-18 09:54:13 +00:00
ide * add explicit typecast to OnDiskLoadTime assignments 2003-06-19 15:20:29 +00:00
install * updated to 1.0.8 spec file 2003-05-29 16:55:30 +00:00
installer * version changed to 1.0.10 2003-06-26 23:33:22 +00:00
packages + using Assert to monitor done_init and get state of 2003-07-16 12:56:03 +00:00
rtl + fix from Ivan Shikhalev for QueryInterface to return ancestor methods 2003-07-19 11:19:07 +00:00
tests + added 2003-07-25 11:53:47 +00:00
utils + Removed fpde to reduce dependencies of fpde 2003-06-26 20:48:59 +00:00
Makefile * single source rpm 2003-05-29 10:22:51 +00:00
Makefile.fpc * single source rpm 2003-05-29 10:22:51 +00:00

This is the README for the Free Pascal documentation.

All documentation is stored here, in LaTeX format. 
it uses special style files (fpc*.sty) which are also in the directory.

do a 'make dvi' to produce the dvi format of the docs.
a 'make html' will produce the html version (using latex2html).
a 'make ps' will produce PostScript documents.
a 'make pdf' will produce PDF (Portable Document Format) documents.
a 'make txt' will produce plain text documents.

If you want to produce dos docs, you can do a 'make htm' this will convert
the .html files to .htm files (including all references), suitable for a 8:3
format.

The rest of this document is only interesting if you want to write docs.
Otherwise, you can bail out now.

THE DOCS...

Why LaTeX ? 
- because I like a printed copy of the manuals, HTML just isn't good enough 
  for this.
- I know LaTeX very well :) (mind you : html also !)
- It converts to many other formats.
- many other reasons.

In order to translate the things to HTML, I use latex2html, since it is the
most powerful and flexible, although sluggish... 
For it to be able to use the fpc.sty, I had to write a fpc.perl script
which it loads. The script seems to run fine when used standalone, but in
conjunction with latex2html, I get a out of memory... ??
I'm not familiar with perl, so if someone is, and can fix the thing, please
do. (and let me know :) )

Then how to proceed ?
If you just want to write latex docs, just use fpc.sty. (you don't need
html.sty)
If you want to be able to convert to html, (you need html.sty) the following 
fixes the perl-problem :
In the preamble of  your document, type :

\usepackage{html}
\latex{\usepackage{fpc}}
\html{\input{fpc-html.tex}}

The fpc-html.tex defines the same commands as fpc.sty, only in a language
that latex2html understands.

fpc.sty.doc describes what fpc.sty does. (one day I'll integrate them using
the doc package, but I need some time for it)

Happy TeXing,
Michael.