Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Cxref - C program cross-referencing & documentation tool
@ 1996-08-19  4:00 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 1996-08-19  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----

[ Moderator's note: I know this is truncated at the end. I'll post an
  update if there was something important missing. Sorry. --liw ]


    C Cross Referencing & Documenting tool. Version 1.2a - cxref
    ============================================================

Produce LaTeX or HTML documentation including cross-references from C
program source code.

Works for ANSI C, including a few gcc extensions.


The cxref homepage is accessible via <http://www.gedanken.demon.co.uk/> so
you can see more details and examples and download the latest version.


The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


New for version 1.2a [Released as a bug fix to version 1.2]
- --------------------

Bug fixes in the parser for obscure C syntax:
 Type names used as identifiers, pointer to function used as a function
 argument, some K&R style function definitions, complete set of integer type
 names, more GCC extensions.


Availability
- ------------

[Uploaded on ### ## Aug, so may take a couple of days]

This program has been tested on the following systems:
Linux 1.[123].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

The complete version 1.2
  cxref-1.2.tgz, 218334 Bytes, a gzipped tar file of C source code.

A patch to upgrade to version 1.2a
  cxref-1.2-1.2a.diff.gz, 6913 Bytes, a gzipped file of differences.
  (requires GNU patch to apply.)

Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory
(to be re-organised to /pub/unix/tools in the future).


Author & Copyright
- ------------------

This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk)
and distributed under GPL.

I would like also to thank the many people who have e-mailed me after
versions 1.0, 1.1 & 1.2 were released, for finding bugs and reporting
them.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

Begin3
Title:          Cxref - C program cross-referencing & documentation tool
Version:        1.2a [17-Aug-96]
Entered-date:   17AUG96
Description:    A program that takes as input a series of C source files
                and produces a LaTeX or HTML document containing a cross
                reference of the files/functions/variables in the program,
                including documentation taken from suitably formatted
                source code comments.
                The documentation is stored in the C source file in
                specially formatted comments,

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMhg8YYQRll5MupLRAQG0YAQAvoO46TxTChbt+PLaoAb5CkMdhi9PkdpB
ZV9bYLGnLT9uGxXuMGHifs6Yx9EN2CNqyYz02mPTVJ6Khm4y+kXfinGgc6LnOaZ1
W2boT34cmbDNpj4Kvz9MIPbG1KdwIVbIp5zBT/IariI9TuzOhkPrvlf0HPyzkFTK
a4y6+4YCVNw=
=GyWI
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2010-05-31  9:58 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2010-05-31  9:58 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.6c - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML$
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.6b:

Bug fixes
 Handle the gcc __builtin_offsetof() and offsetof() functions.
 Check that the lex/yacc programs actually exist at configure time.
 Handle ASM statements with named identifiers in them.

Parsing changes
 Removed the char_varying type.

Document changes
 Update web page links


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

HTTP server: http://www.gedanken.demon.co.uk/download-cxref/cxref-1.6c.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995-2010 (amb@gedanken.demon.co.uk)
and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2005-05-02  5:50 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2005-05-02  5:50 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.6a - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML)
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.6:

Bug fixes
 Added function prototypes to allow cxref-cpp to work on 64-bit machines.
 Fix bug reading from freed memory and small memory leak.
 Stop comments intended for functions appearing on #defines inside function.
 If cxref-cpp cannot find include directory from cxref-cpp.defines then abort.
 Fix installation of manual page.

Parsing changes
 Allow variable declaration in for(;;) statements.
 Allow named initialisation of structure/union using named initialisers.
 Fix bad handling of some vararg macros in cxref-cpp.


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

FTP  server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.6a.tgz
HTTP server: http://www.gedanken.demon.co.uk/download-cxref/cxref-1.6a.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03,04,05
(amb@gedanken.demon.co.uk) and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2004-06-13  9:05 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2004-06-13  9:05 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.5g - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML)
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.5f:

Bug fixes
  New fix allowing a mix of declarations and statements in compound statements.
  Fix handling of -Afoo=bar options again.

Configure/Make changes
  Add a --without-cxref-cpp option to force using gcc instead of cxref-cpp.

cxref-cpp changes
  cxref-cpp now gets gcc defines and include path at runtime from config file.
  There is a script cxref-cpp-configure to create this configuration file.


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

FTP  server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.5g.tgz
HTTP server: http://www.gedanken.demon.co.uk/download-cxref/cxref-1.5g.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03,04
(amb@gedanken.demon.co.uk) and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2004-02-14 15:57 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2004-02-14 15:57 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.5f - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML)
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.5e:

Bug fixes
  Allow mixtures of variable declarations and statements in compound statements.
  Don't look for argument comment for functions with void arguments.
  Ensure that variables defined in header file and locally get comments.
  Fix the text printed for some warnings from the -warn option.
  Declaring a function as extern is the same as not declaring it local.

GCC changes
  Handle better gcc-3.x putting all of its internal #defines in the output.
  Handle gcc 3.x style options in the cxref-cpp pre-processor.
  Compile cxref-cpp if using gcc-3.x that drops comment on same line as #include.


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

FTP server: ftp://ftp.demon.co.uk/pub/unix/tools/cxref-1.5f.tgz
FTP server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.5f.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03,04
(amb@gedanken.demon.co.uk) and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2003-06-29 10:05 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2003-06-29 10:05 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.5e - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML)
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.5d:

Bug fixes
  Don't lose the comment or value when C++ style comments follow a #define.
  Updated to work with newer version of flex and SUN version of yacc.
  Handle references for local functions with the same name in several files.
  Remove some extra ';' from the HTML output.
  Handle macros with variable args like MACRO(a,b,...) as well as MACRO(a,b...).

GCC changes
  Handle gcc-3.x putting all of its internal #defines in the output.
  Compile cxref-cpp if using gcc-3.x that drops comment on same line as #define.


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

FTP server: ftp://ftp.demon.co.uk/pub/unix/tools/cxref-1.5e.tgz
FTP server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.5e.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03
(amb@gedanken.demon.co.uk) and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 2002-05-13 16:34 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 2002-05-13 16:34 UTC (permalink / raw)


    C Cross Referencing & Documenting tool. Version 1.5d - cxref
    ============================================================

Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML)
including cross-references from C program source code.

Works for ANSI C, including most gcc extensions.

The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


Changes
-------

Since version 1.5c:

Bug fixes
  Fixes to HTML and SGML outputs (invalid character entities). Fix bug that
  stopped -R/ from working.  Fix links to HTML source files in certain cases.
  Keep the sign of negative numbers in #define output.  Improve the lex code
  (flex -s).  Add some missing ';' to yacc code.  Fix the bison debugging
  output.

Configure/Make changes
  Fix Makefile to compile using non-GNU make programs.
  Add flex specific options to the Makefile if using it.
  Fixes for build/configure outside the source tree.
  Include DESTDIR in the Makefile to help installation.
  Configure makes a guess what to do with cxref-cpp if gcc is not installed.

GCC changes
  Accept the gcc-3.0 __builtin_va_list type as-if it were a valid C type.
  Handle the GCC __builtin_va_arg extension keyword.
  Handle the GCC floating point hex extension data format.
  Allow the use of gcc-3.x instead of the cxref-cpp program.


Availability
------------

Previous versions of this program have been tested on the following systems:
Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

FTP server: ftp://ftp.demon.co.uk/pub/unix/tools/cxref-1.5d.tgz
FTP server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.5d.tgz

Web page: http://www.gedanken.demon.co.uk/cxref/


Author & Copyright
------------------

This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02
(amb@gedanken.demon.co.uk) and distributed under GPL.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/

##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 1996-10-09  4:00 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 1996-10-09  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----

    C Cross Referencing & Documenting tool. Version 1.2b - cxref
    ============================================================

Produce LaTeX or HTML documentation including cross-references from C
program source code.

Works for ANSI C, including a few gcc extensions.


The cxref homepage is accessible via <http://www.gedanken.demon.co.uk/> so
you can see more details and examples and download the latest version.


The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


New for version 1.2b [Released as a bug fix to version 1.2a]
- --------------------

Function definitions included from header files do not cause cxref to core dump.
Removed dangling cross-references for referenced vars/funcs in the output.
Function prototypes within function definitions do not cause loss of references.
Typedefs of function types now recognised when used as prototypes.
Comments for nested struct/union types now work and the output format changed.
The option -warn-xref depends on -xref, warns user if used wrongly but works OK.
The index in the cxref.html file is now always at the end in the correct place.
The LaTeX output is centred on the page correctly.

The cxref-cpp program no longer aborts on certain files in multi-directory
 source trees, and if the preprocessor does abort then cxref tidies up cleanly.

The cxref-query program no longer core dumps on certain cross-references.


Availability
- ------------

This program has been tested on the following systems:
Linux 1.[123].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

The complete version 1.2
  cxref-1.2.tgz, 218334 Bytes, a gzipped tar file of C source code.

A patch to upgrade to version 1.2a
  cxref-1.2-1.2a.diff.gz, 6913 Bytes, a gzipped file of differences.
  (requires GNU patch to apply.)

A patch to upgrade to version 1.2b
  cxref-1.2a-1.2b.diff.gz, 8937 Bytes, a gzipped file of differences.
  (requires GNU patch to apply.)
[Uploaded on Sat 5 Oct, so may take a couple of days]

Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory
(to be re-organised to /pub/unix/tools in the future).


Author & Copyright
- ------------------

This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk)
and distributed under GPL.

I would like also to thank the many people who have e-mailed me after
versions 1.0, 1.1 & 1.2(a) were released, for finding bugs and reporting
them.

email: amb@gedanken.demon.co.uk
[Please put cxref in the subject line]

Begin3
Title:          Cxref - C program cross-referencing & documentation tool
Version:        1.2b [05-Oct-96]
Entered-date:   05OCT96
Description:    A program that takes as input a series of C source files
                and produces a LaTeX or HTML document containing a cross
                reference of the files/functions/variables in the program,
                including documentation taken from suitably formatted
                source code comments.
                The documentation is stored in the C source file in
                specially formatted comments, making it simple to maintain.
                The cross referencing includes lists of functions called,
                callers of each function, usage of global variables, header
                file inclusion, macro definitions and type definitions.
                Works for ANSI C, including a few gcc extensions.
Keywords:       C programming document cross-reference
Author:         amb@gedanken.demon.co.uk
Maintained-by:  amb@gedanken.demon.co.uk
Primary-site:   ftp.demon.co.uk /pub/unix/unix/tools
                213k cxref-1.2.tgz
                6k cxref-1.2-1.2a.diff.gz
                9k cxref-1.2a-1.2b.diff.gz
Alternate-site: 
Original-site:  
Platforms:      UNIX
Copying-policy: GPL
End

Andrew.
- -- 
- ----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk
                                      http://www.gedanken.demon.co.uk/


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCUAwUBMls04IQRll5MupLRAQEc+wP3THeJVzCrekOXnw8a44eoyBVfMQNVIyQz
INKhPWWT2Sg6/cwzoT/vWeuw3+rRoojrGc+QlBT201VI+sIBEWd9gup/bYoy4NTR
58O1jpd8aohrbByiqBOXQYtzvvI5wH0VL1JvTYmYAtu3B9bLpuUKzjJUB82Blgve
IyWcEo06Ug==
=m/AP
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lasu-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 1996-07-13  4:00 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 1996-07-13  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----


    C Cross Referencing & Documenting tool. Version 1.2 - cxref
    ===========================================================

Produce LaTeX or HTML documentation including cross-references from C program
source code.

Works for ANSI C, including a few gcc extensions.


The documentation for the program is produced from comments in the code that
are appropriately formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README and FAQ with details and examples on how to use the
program.


New for version 1.2
- -------------------

A FAQ is provided with common questions and answers and provide help.

Major revision of parsing code, especially for function definitions.
Labeled statements do not need a ';' (e.g. default in switch statement).
Better handling of traditional style function definitions
Variables declared extern within a function recognised and referenced.
Numerous minor bugs in parsing corrected.

Line number and file name information available in case of parse error.
Parse errors are handled gracefully, the program does not just exit.

Create sub-directories of the output directory as needed.
Better handling of include pathnames in cxref-cpp, for subdirectories.

Added a cxref.sty LaTeX style file instead of at the top of the main file.
The output files are not compatible with Version 1.1 output files.
******** cxref Version 1.2 must be used on all sources files to update ********
******** them and cxref.tex and cxref.html updated to the new format.  ********


Availability
- ------------

This program has been tested on the following systems:
Linux 1.[123].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

The complete version 1.2
  cxref-1.2.tgz, 218334 Bytes, a gzipped tar file of C source code.

An upgrade from version 1.1
  cxref-1.1-1.2.diff.gz, 41319 Bytes, a gzipped file of differences.
  (requires GNU patch to apply.)

Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory
(to be re-organised to /pub/unix/tools in the future).


Author & Copyright
- ------------------

This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk)
and distributed under GPL.

I would like also to thank the many people who have e-mailed me after
versions 1.0 & 1.1 were released, for finding bugs and reporting them.


Begin3
Title:          Cxref - C program cross-referencing & documentation tool
Version:        1.2 [06-Jul-96]
Entered-date:   06-Jul-96
Description:    A program that takes as input a series of C source files
                and produces a LaTeX or HTML document containing a cross
                reference of the files/functions/variables in the program,
                including documentation taken from suitably formatted
                source code comments.
                The documentation is stored in the C source file in
                specially formatted comments, making it simple to maintain.
                The cross referencing includes lists of functions called,
                callers of each function, usage of global variables, header
                file inclusion, macro definitions and type definitions.
                Works for ANSI C, including a few gcc extensions.
Keywords:       C programming document cross-reference
Author:         amb@gedanken.demon.co.uk
Maintained-by:  amb@gedanken.demon.co.uk
Primary-site:   ftp.demon.co.uk /pub/unix/unix/tools
                213k cxref-1.2.tgz
Alternate-site: 
Original-site:  
Platform:       UNIX
Copying-policy: GPL
End

Andrew.
- -- 
- ----------------------------------------------------------------------
Andrew M. Bishop                              amb@gedanken.demon.co.uk


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMeeF/4QRll5MupLRAQFFMAP/ZJFansc6o+qxflcDv3MVcE151qNgM9GC
xMQeUgyI8IDoDqmFZMd/Sj0MLFh2OvWZDrMiHPf3QsPvrVDlxYQPWcFwLEE6AVu8
5mGHKlrNb2QB77uf8brQ4hurLt4ddv0PvGr0vuqR7BK45Ck3/K3Kcm92VE0814Ql
PzqAZrTKSmM=
=66aG
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 1996-05-23  4:00 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 1996-05-23  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----

                          Cxref Version 1.1
                          =================

Produce LaTeX or HTML documentation including cross-references from C
program source code.

Works for ANSI C, including a few gcc extensions.


The documentation for the program is produced from comments in the code that
are appropriatly formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.

Includes extensive README with details and examples on how to use the
program.


New for version 1.1
- -------------------

Fixed a number of bugs in the 'front-end' of the program

Makefile changed to make ANSI compatible latex-style.c source file.

Lexical analyser code fixed to work with a POSIX lex program.
GNU __attribute__ & __extension__ compiler directives handled better.

Better debugging options for the parser.
Bit-fields now parsed correctly and recognised as such in output.
Enum typedefs allowed to have a trailing comma.
Function definitions with no return type are now recognised as int and
 those with no arguments recognised as void.
Allows the asm() GNU extension.

Fixed a problem with #include confusion with mix of global and local files.


Availability
- ------------

This program has been tested on the following systems:
Linux 1.[123].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x

The complete version 1.1
  cxref-1.1.tgz, 210317 Bytes, a gzipped tar file of C source code.

An upgrade from version 1.0
  cxref-1.0-1.1.diff.tgz, 11036 Bytes, a gzipped tar file of changes.
  (requires GNU patch to apply.)

Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory
(to be re-organised to /pub/unix/tools in the future).


Author & Copyright
- ------------------

This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk)
and distributed under GPL.

I would like also to thank the many people who have e-mailed me after
version 1.0 was released, for finding bugs and reporting them.


LSM Entry
- ---------

Begin3
Title:          Cxref - C program cross-referencing & documentation tool
Version:        1.1 [22-May-96]
Entered-date:   22-May-96
Description:    A program that takes as input a series of C source files
                and produces a LaTeX or HTML document containing a cross
                reference of the files/functions/variables in the program,
                including documentation taken from suitably formatted
                source code comments.
                The documentation is stored in the C source file in
                specially formatted comments, making it simple to maintain.
                The cross referencing includes lists of functions called,
                callers of each function, usage of global variables, header
                file inclusion, macro definitions and type definitions.
                Works for ANSI C, including a few gcc extensions.
Keywords:       C programming document cross-reference
Author:         amb@gedanken.demon.co.uk
Maintained-by:  amb@gedanken.demon.co.uk
Primary-site:   ftp.demon.co.uk /pub/unix/unix/tools
                210k cxref-1.1.tgz
Alternate-site: 
Original-site:  
Platform:       UNIX
Copying-policy: GPL
End


Andrew.
- -- 
- ----------------------------------------------------------------------
Andrew M. Bishop                              amb@gedanken.demon.co.uk


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMaQR74QRll5MupLRAQE8KQP9HGsimGcCK2yeE6VyfkQQMToCX8k/8hw1
QRedvwqkJcIjcmE4bilxo/xkwJmeV/MxyC603gm6Ram0iW/GYbbUF7O9cmEXeQTf
UuOsCecIrbwCOiN9auYyZS2c2teomecapiG9DPsrEH8BWil912XDTan93yrrRTzF
XAVXEKlc6FA=
=+tRt
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Cxref - C program cross-referencing & documentation tool
@ 1996-05-01  4:00 Andrew M. Bishop
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew M. Bishop @ 1996-05-01  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----


                          Cxref Version 1.0
                          =================

Produce LaTeX or HTML documentation including cross-references from C
program source code.

Works for ANSI C, including a few gcc extensions.


The documentation for the program is produced from comments in the code that
are appropriatly formatted. The cross referencing comes from the code itself
and requires no extra work.

The documentation is produced for each of the following:

Files            - A comment that applies to the whole file.
Functions        - A comment for the function, including a description of
                   each of the arguments and the return value.
Variables        - A comment for each of a group of variables and/or
                   individual variables.
#include         - A comment for each included file.
#define          - A comment for each pre-processor symbol definition, and
                   for macro arguments.
Type definitions - A comment for each defined type and for each element of a
                   structure or union type.

Any or all of these comments can be present in suitable places in the
source code.


The cross referencing is performed for the following items

Files           - The files that the current file is included in
                  (even when included via other files).

#includes       - Files included in the current file.
                - Files included by these files etc.

Variables       - The location of the definition of external variables.
                - The files that have visibility of global variables.
                - The files / functions that use the variable.

Functions       - The file that the function is prototyped in.
                - The functions that the function calls.
                - The functions that call the function.
                - The files and functions that reference the function.
                - The variables that are used in the function.

Each of these items is cross referenced in the output.


Includes extensive README with details and examples on how to use the
program.


This program has been tested on the following systems:
Linux 1.1.x, SunOS 4.1.x, Solaris 2.x


cxref-1.0.tgz, 207781 Bytes, a gzipped tar file of C source code.

Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory
(to be re-organised to /pub/unix/tools in the future).

This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk)
and distributed under GPL.


Begin3
Title:          Cxref - C program cross-referencing & documentation tool
Version:        1.0 [24-Feb-96]
Entered-date:   24-Feb-96
Description:    A program that takes as input a series of C source files
                and produces a LaTeX or HTML document containing a cross
                reference of the files/functions/variables in the program,
                including documentation taken from suitably formatted
                source code comments.
                The documentation is stored in the C source file in
                specially formatted comments, making it simple to maintain.
                The cross referencing includes lists of functions called,
                callers of each function, usage of global variables, header
                file inclusion, macro definitions and type definitions.
                Works for ANSI C, including a few gcc extensions.
Keywords:       C programming document cross-reference
Author:         amb@gedanken.demon.co.uk
Maintained-by:  amb@gedanken.demon.co.uk
Primary-site:   ftp.demon.co.uk /pub/unix/unix/tools
                208k cxref-1.0.tgz
Alternate-site: 
Original-site:  
Platform:       UNIX
Copying-policy: GPL
End

Andrew.
- -- 
- ----------------------------------------------------------------------
Andrew M. Bishop                              amb@gedanken.demon.co.uk


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMYdMu4QRll5MupLRAQGWyQP7BTY8YWQiMdB+zZNoHTV7f4A2Tziab9bv
mRlIIems0U0ezX+6Ts1LiVfxWoFg4aujw6Dkpo4Av9K7ITB9gbA74ajXl+Mr+5PE
XeKcNpLXgrxiK+ygPPkmGF+b2SNHwKB+8rZm8GSlDRFatEx9Z2ocq1wnFr/Ky6Tm
aHDYEA6POZQ=
=eAts
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-05-31  9:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-19  4:00 Cxref - C program cross-referencing & documentation tool Andrew M. Bishop
  -- strict thread matches above, loose matches on Subject: below --
2010-05-31  9:58 Andrew M. Bishop
2005-05-02  5:50 Andrew M. Bishop
2004-06-13  9:05 Andrew M. Bishop
2004-02-14 15:57 Andrew M. Bishop
2003-06-29 10:05 Andrew M. Bishop
2002-05-13 16:34 Andrew M. Bishop
1996-10-09  4:00 Andrew M. Bishop
1996-07-13  4:00 Andrew M. Bishop
1996-05-23  4:00 Andrew M. Bishop
1996-05-01  4:00 Andrew M. Bishop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox