summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorryoon <ryoon>2013-06-11 14:03:19 +0000
committerryoon <ryoon>2013-06-11 14:03:19 +0000
commit39dd8d5fafef1cd65be246bcec58705ac2b3090b (patch)
tree3e1b6903ece29dfb6bccf3d13a8196afe1b35aa2 /devel
parent8c2f1fcbfffb9808a49ca654ad16e1f97608cc55 (diff)
downloadpkgsrc-39dd8d5fafef1cd65be246bcec58705ac2b3090b.tar.gz
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/coccinelle/Makefile4
-rw-r--r--devel/coccinelle/PLIST49
-rw-r--r--devel/coccinelle/distinfo8
3 files changed, 7 insertions, 54 deletions
diff --git a/devel/coccinelle/Makefile b/devel/coccinelle/Makefile
index b9f1f6ab8e1..229c791a7fc 100644
--- a/devel/coccinelle/Makefile
+++ b/devel/coccinelle/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2012/11/17 11:50:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2013/06/11 14:03:19 ryoon Exp $
-DISTNAME= coccinelle-1.0.0-rc15
+DISTNAME= coccinelle-1.0.0-rc17
PKGNAME= ${DISTNAME:S/-rc/rc/}
CATEGORIES= devel
MASTER_SITES= http://coccinelle.lip6.fr/distrib/
diff --git a/devel/coccinelle/PLIST b/devel/coccinelle/PLIST
index d2aa6250907..31c1b8571af 100644
--- a/devel/coccinelle/PLIST
+++ b/devel/coccinelle/PLIST
@@ -1,57 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2012/11/17 11:50:14 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.8 2013/06/11 14:03:19 ryoon Exp $
bin/spatch
bin/spatch.byte
bin/spatch.opt
man/man1/spatch.1
man/man3/Coccilib.3
-share/coccinelle/commons/commands.cmi
-share/coccinelle/commons/common.cmi
-share/coccinelle/commons/common_extra.cmi
-share/coccinelle/commons/glimpse.cmi
-share/coccinelle/commons/interfaces.cmi
-share/coccinelle/commons/oarray.cmi
-share/coccinelle/commons/oassoc.cmi
-share/coccinelle/commons/objet.cmi
-share/coccinelle/commons/ocollection.cmi
-share/coccinelle/commons/ograph.cmi
-share/coccinelle/commons/ograph_extended.cmi
-share/coccinelle/commons/ograph_simple.cmi
-share/coccinelle/commons/osequence.cmi
-share/coccinelle/commons/oset.cmi
-share/coccinelle/commons/parser_combinators.cmi
-share/coccinelle/commons/seti.cmi
-share/coccinelle/globals/iteration.cmi
share/coccinelle/ocaml/coccilib.cmi
-share/coccinelle/parsing_c/ast_c.cmi
-share/coccinelle/parsing_c/comment_annotater_c.cmi
-share/coccinelle/parsing_c/compare_c.cmi
-share/coccinelle/parsing_c/control_flow_c.cmi
-share/coccinelle/parsing_c/control_flow_c_build.cmi
-share/coccinelle/parsing_c/cpp_analysis_c.cmi
-share/coccinelle/parsing_c/cpp_ast_c.cmi
-share/coccinelle/parsing_c/cpp_token_c.cmi
-share/coccinelle/parsing_c/flag_parsing_c.cmi
-share/coccinelle/parsing_c/lexer_c.cmi
-share/coccinelle/parsing_c/lexer_parser.cmi
-share/coccinelle/parsing_c/lib_parsing_c.cmi
-share/coccinelle/parsing_c/parse_c.cmi
-share/coccinelle/parsing_c/parser_c.cmi
-share/coccinelle/parsing_c/parsing_consistency_c.cmi
-share/coccinelle/parsing_c/parsing_hacks.cmi
-share/coccinelle/parsing_c/parsing_recovery_c.cmi
-share/coccinelle/parsing_c/parsing_stat.cmi
-share/coccinelle/parsing_c/pretty_print_c.cmi
-share/coccinelle/parsing_c/semantic_c.cmi
-share/coccinelle/parsing_c/test_parsing_c.cmi
-share/coccinelle/parsing_c/token_c.cmi
-share/coccinelle/parsing_c/token_helpers.cmi
-share/coccinelle/parsing_c/token_views_c.cmi
-share/coccinelle/parsing_c/type_annoter_c.cmi
-share/coccinelle/parsing_c/type_c.cmi
-share/coccinelle/parsing_c/unparse_c.cmi
-share/coccinelle/parsing_c/unparse_cocci.cmi
-share/coccinelle/parsing_c/unparse_hrule.cmi
-share/coccinelle/parsing_c/visitor_c.cmi
share/coccinelle/python/coccilib/__init__.py
share/coccinelle/python/coccilib/coccigui/__init__.py
share/coccinelle/python/coccilib/coccigui/coccigui.py
diff --git a/devel/coccinelle/distinfo b/devel/coccinelle/distinfo
index 008963604eb..4b8968bc527 100644
--- a/devel/coccinelle/distinfo
+++ b/devel/coccinelle/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2012/11/17 11:50:14 ryoon Exp $
+$NetBSD: distinfo,v 1.11 2013/06/11 14:03:19 ryoon Exp $
-SHA1 (coccinelle-1.0.0-rc15.tgz) = 6af06856d895a9e83dfaae42db4f648335eda66d
-RMD160 (coccinelle-1.0.0-rc15.tgz) = 6f819c1490fec0e9e73ef579beb68ef1491ae5bb
-Size (coccinelle-1.0.0-rc15.tgz) = 3328556 bytes
+SHA1 (coccinelle-1.0.0-rc17.tgz) = 5c13e521578e20d3805f571dc86931cbd8d63ccd
+RMD160 (coccinelle-1.0.0-rc17.tgz) = 53dd59bdeb632db64187db37b27225b8f9f861a3
+Size (coccinelle-1.0.0-rc17.tgz) = 2991126 bytes
SHA1 (patch-Makefile) = 5708ac8ee4af869e8b9b03d309daf5ca67e3f162