Commit graph

14 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
asau
19c2202137 Update to cflow 1.4
Introduce test target.


Changes in version 1.4

* Symbol aliases

The `--symbol' option has been extended to allow for defining
symbol aliases.  Aliases are useful for declaring reserved
words such as `__restrict' or `__inline'.  For example,
the option `--symbol __restrict:=restrict' instructs cflow
to treat `__restrict' exactly as `restrict'.

* New syntactic class: qualifiers

Tokens in this class can legitimately appear in place
of C qualifiers, such as `static' or `inline'.  This class
is useful for some compiler-depending keywords, such as
`__extension__' in gcc.  The usual declaration of this symbol
is `--symbol __extension__:qualifier'.

* Speed up recursive call detection.

* Fix parsing of typedefs after `struct'.
* Fix the output of branch marks in tree mode.
* Fix processing of static inline functions (RH bug 650716).
2012-10-25 08:03:14 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
joerg
275ad79db9 Drop unneeded fragment from patch. 2009-10-31 21:42:27 +00:00
joerg
c7bded5c98 Do not stupidly insist on GNU gettext, thanks. 2009-10-29 16:25:57 +00:00
hasso
b0cb3420f4 Fix PLIST and bump PKGREVISION. 2009-08-25 20:09:18 +00:00
wiz
1beb789cc3 Update to 1.3:
Version 1.3, 2009-07-11

* Optimize symbol tables.

New symbol tables considerably improve the program performance.

* Bugfixes.

Version 1.2, 2007-06-29

* Licensed under the GPLv3
2009-08-21 23:36:55 +00:00
joerg
a8e1dcf113 Add i18n support (PR 37581) and mark as DESTDIR safe. 2007-12-21 20:25:29 +00:00
wiz
2966b1cf79 Reset maintainer, rpaulo resigned. 2007-07-08 12:35:10 +00:00
rpaulo
d665acdc79 Update to version 1.1:
2006-07-09  Sergey Poznyakoff  <gray@gnu.org.ua>
        * THANKS: Add Louis Bertrand.

2006-06-12  Sergey Poznyakoff  <gray@gnu.org.ua>

        * src/output.c (set_level_mark): Fix allocation condition
        (output): Remove erroneous initialization of level_mark.

2006-03-15  Sergey Poznyakoff  <gray@gnu.org.ua>

        Fix bug spotted by Jerry St.Clair: incorrect handling of
        global/static and static/static name clashes.

        * src/parser.c (declare): Do not report name clashes
        if a static symbol overrides another static or global.
        (add_reference): Do not refer to static symbols if
        -i^s was used.
        * src/symbol.c: Change organization of the symbol table: the
        table entry contains struct table_entry, which contains a pointer
        to the head of the symbol list associated with the entry. Thus,
        deletions from the table can be handled in a more natural manner.
        All functions changed to reflect the change.
        (unlink_symbol): New function.
        (delete_symbol): Rewritten using unlink_symbol
        (delete_statics): always call static_processor
        * THANKS: Add Jerry St.Clair.
        * tests/Makefile.am: Add hiding.at, multi.at
        * tests/testsuite.at: Likewise.
        * tests/hiding.at: New testcase
        * tests/multi.at: New testcase
        * tests/fdecl.at, tests/funcarg.at, tests/include.at,
        tests/nfarg.at, tests/nfparg.at, tests/parm.at,
        tests/ssblock.at: Uniformly begin AT_SETUP text with a lowercase
        letter.

2005-11-03  Sergey Poznyakoff  <gray@gnu.org.ua>

        * build-aux/bootstrap: If file `.bootstrap' exists in the cwd and is
        readable, prepend its contents to the command line
        * src/parser.c (dcl): Fix bug introduced 2005-03-22
        * tests/nfarg.at: New test.
        * tests/nfparg.at: New test.
        * tests/Makefile.am: Add new tests.
        * tests/testsuite.at: Likewise

        * configure.ac: Raise version number to 1.1
        * NEWS: Likewise
        * THANKS: Add Shigio YAMAGUCHI.

2005-10-19  Sergey Poznyakoff  <gray@gnu.org.ua>

        * README: Minor fixes.
        * build-aux/gnulib.modules (snprintf): Add module

2005-10-15  Sergey Poznyakoff  <gray@gnu.org.ua>

        * THANKS: Add Nelson Beebe.
        * tests/atlocal.in: Make sure unsetting POSIXLY_CORRECT does not
        produce an error.
        * tests/version.at: Fix displaying version warning

        * po/pl.po,po/uk.po: Updated translations.

2005-10-05  Sergey Poznyakoff  <gray@gnu.org.ua>

        * src/cflow.h,src/main.c,src/parser.c,src/posix.c
        (omit_symbol_name_option): Rename to omit_symbol_names_option.

        * src/cflow.h (newline): New prototype
        * src/parser.c: Minor fixes
        * src/symbol.c: Minor fixes

        * doc/cflow.texi: Updated. Mention cflow2vcg and vcg tools.
        * src/cflow.h (enum symbol_flag): New type
        (struct symbol): Replace `int temp' with `enum symbol_flag flag'
        (delete_parms,move_parms): New functions
        * src/main.c: Rename --omit-symbol-name to --omit-symbol-name for
        consistency.
        * src/parser.c: Fix handling of function formal parameters:
        (parm_level): New variable
        (struct symbol): Replace `int temp' with `enum symbol_flag flag'
        (delete_parms,move_parms): New functions
        * src/main.c: Rename --omit-symbol-name to --omit-symbol-name for
        consistency.
        * src/parser.c: Fix handling of function formal parameters:
        (parm_level): New variable
        (parse_declaration): Call delete_parms
        (maybe_parm_list): Keep track of the parameter nesting level.
        (func_body): Call move_parms
        (declare): Special handling for parameters.
        * src/symbol.c (install): Initialize sym->flag
        (temp_processor): Use s->flag
        (delete_parms,move_parms): New functions

        * tests/parm.at: New testcase
        * tests/Makefile.am: Add parm.at
        * tests/testsuite.at: Likewise

2005-10-04  Sergey Poznyakoff  <gray@gnu.org.ua>

        * doc/cflow.texi: Fix posix output
        * src/parser.c (parse_struct): Removed function
        * src/cflow.h (omit_arguments_option,omit_symbol_name): New
        options.
        * src/main.c: Likewise.
        * src/parser.c (save_stack): Rewritten. Save only stack positions,
        do not create character string
        (undo_save_stack,finish_save_stack): New functions
        (finish_save): Removed
        * src/posix.c (print_symbol_type): Updated to match new
        finish_save_stack strategy.
2006-08-14 13:44:43 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
rpaulo
cd2a1cfbb5 Use INFO_FILES for cflow.info.
Thanks Thomas!
2006-03-02 20:33:49 +00:00
rpaulo
12ecf9a3d2 It's .info, not .1. 2006-03-02 20:22:10 +00:00
rpaulo
cf43a37ac5 GNU cflow analyzes a collection of C source files and prints a graph,
charting control flow within the program.

GNU cflow is able to produce both direct and inverted flowgraphs for C
sources. Optionally a cross-reference listing can be generated. Two
output formats are implemented: POSIX and GNU (extended).

Input files can optionally be preprocessed before analyzing.
2006-02-25 21:35:55 +00:00