pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/coccinelle
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Jun 11 14:03:19 UTC 2013
Modified Files:
pkgsrc/devel/coccinelle: Makefile PLIST distinfo
Log Message:
Update to 1.0.0rc17
Changelog:
Features:
- Try to do better pretty printing when array elements are individually
replaced
- Just fail quietly on attempt to remove a multi-variable declaration,
allowing the semantic patch to continue. A warning message is printed.
- Ignore unknown identifiers around known types.
- Ignore --use-glimpse if multiple directories given
- Added support for c++ namespace syntax in cocci files.
- Improved c++ parsing
- Addition of gcc min and max operators. Thanks to Holden Karau
Bugfix:
- use arg_expression for printing iterator arguments instead of expression,
to get the right spacing. Thanks to Lars-Peter Clausen for the fix.
- Better spacing for generated argument lists. Thanks to Lars-Peter Clausen
for reporting the problem.
- Collect all module interfaces for ocaml scripting in a single
coccilib.cmi file, with the list of exposed internal modules in
ocaml/exposed_modules.ml. This simplifies the installation of the
ocaml version of coccilib, and allows us to specify which modules
can be accessed by an ocaml script. The coccilib.cmi must either
reside in $COCCI_DIR/ocaml/ or $COCCI_DIR/ocaml/coccilib/.
- Ocamlbuild-based compilation of coccinelle (experimental). In a
cleaned repository, use the configure option --enable-ocamlbuild to
enable it. The Makefiles will then use ocamlbuild.
- Ocamlscripts can access more of coccinelle: the file
ocaml/exposed_modules.ml specifies which modules are accessible.
- Use arg_expression to print macro arguments. Thanks to Lars-Peter
Clausen for the fix.
- Remove some trailing whitespace due to unindent or added if braces.
Thanks to Eric LeBlond for reporting one of the problems.
- Remove undesired newline after if header when body is a metavariable.
Thanks to Eric LeBlond for reporting the problem.
- Improve macro expansion to take into account variable numbers of
arguments
- Don't count macros or ifdefs in counting fields
- Better counting of indent size when indent contains multiple tabs
- Get the right annotation on trailing , that is after a nest. Requires
avoiding double processing in transformation_c.ml
- Fixed an issue where an 'Impossible' exception could be raised.
- Fixed an issue where some identifiers were incorrectly interpreted as typedef.
- allow __ at the beginning of a struct or union name
- unparsing with precedence
- Type metavariable should not match a case where there is no type in the
C code. Thanks to SF Markus Elfring for pointing out the problem.
- Allow an expression list metavariable to be attached to a parameter list
metavariable, to allow using the parameter names as an argument list.
Thanks to Michael Stefaniuc for pointing out the need for this feature.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/coccinelle/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/coccinelle/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/coccinelle/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index