X-Git-Url: http://git.hcoop.net/bpt/coccinelle.git/blobdiff_plain/5427db06e325c3c7c572e2e1ebe88a2fd211641c..993936c04d73e4c97d0dc0910dbbef5f2c684c15:/changes.txt diff --git a/changes.txt b/changes.txt index 13419aa..933f1b3 100644 --- a/changes.txt +++ b/changes.txt @@ -7,12 +7,17 @@ in initialize and finalize rules - Support for matching #ifdef, etc. - function-typed metavariables +- virtual typedef, declarer name, iterator name +- regexps for type metavariables ** Features: - New scripting languages +- more than one SP on the command line ** Bugfix: - Add more information in documentation, man pages and wiki +- typedefs from C code should not be used before their point of inference + (saved_typedefs in cprogram_of_file) * 1.0.0 ** Language: @@ -24,6 +29,8 @@ - Add support for && (label addresses) - local idexpression metavariable no longer matches static local x - Consider using to be a comment in C++ code. Patch submitted by Jani Monoses. +- Command line cocci +- print_main etc for ocaml Coccilib ** Features: - Preserve spacing before // comments when not at the beginning of a line @@ -41,6 +48,12 @@ declarer), when no transformation is specified on the semicolon. - Add Coccilib.exit() for ocaml code and cocci.exit() for python code, to abort the treatment of the current file. +- Don't multiply print the same patch for the same file +- Drop date in diff +- Don't repeat smpl type warnings +- -sp_file/-cocci_file are now optional. If not present an argument that + ends in .cocci is assumed to be the name of the file containing the + semantic patch. ** Bugfix: - Corrected parsing of script strings delimited by a single quote. Thanks @@ -72,6 +85,15 @@ Changes are still allowed on { ... } present for other reasons. - Fix bug in include_match that caused everything to halt when all matches were discarded +- Don't call Insert_plus on rules that cannot be evaluated due to failed + dependencies. +- Allow variable declaration right after a case in switch. +- The top of a loop is also after the body of a loop, for ... in loop body +- Do not anchor Str regexp at the beginning of the string to check +- Type annotation for C code uses most recent env for typedefs when + possible. Thanks to Andrea Canciani for pointing out the problem. +- Pretty print pointer types without a trailing space. Thanks to Michael + Stefaniuc for pointing out the problem. * 0.2.5 ** Language: