Coccinelle release 0.2.5-rc8
[bpt/coccinelle.git] / changes.txt
CommitLineData
34e49164
C
1-*- org -*-
2
55d38388
C
3* upcoming/planned/todo
4** Language:
5- Semantic patch for other languages
6- Support metavariables, virtual rules and virtual identifiers
7 in initialize and finalize rules
ca417fcf 8- Support for matching #ifdef, etc.
190f1acf 9- function-typed metavariables
55d38388
C
10
11** Features:
12- New scripting languages
13
14** Bugfix:
15- Add more information in documentation, man pages and wiki
16
c3e37e97 17
690d68d1
C
18* 0.2.5
19** Language:
3a314143
C
20- Make a very small attempt to parse C++ code, amounting to accepting
21 identifiers containing ::, tilde, and template invocations. Use the
22 option -c++. This is not likely to be very useful in practice.
b23ff9c7 23- Added metavariable metavariable type.
d3f655c6 24- Add disjunctions on identifiers in some contexts
f59c9fb7 25- Pretend that & indicates a pointer in -c++ mode
190f1acf
C
26- Support for new and delete
27- Allow arrays in smpl parameter declarations. Thanks to Jesper Louis
28 Andersen for pointing out the problem.
29- Field list metavariables
30- Add the ability to add __attributes__ (NB, no matching on attributes)
31- Slightly improved the error message for transformation on multiple
32 variable declaration. Thanks to Jonathan Nieder for pointing out the
33 problem.
690d68d1
C
34
35** Features:
36- support transformations on variables (only) in declarations that declare
37 multiple variables
3a314143
C
38- allow #endif XXX in C code
39- relax_include_path now applied to non local includes too, in which case
40 it tries to find a unique file with a suffix of the provided name.
41 this is useful for directories that are intended to be symbolic links.
42- support matching and removing #undef
43- support for iteration in ocaml, requires use of -no_show_diff
44- calls to likely and unlikely propagate test expression status to their
45 arguments
ca417fcf
C
46- reuse typedefs and macros from complete parsing when reparsing the
47 transformed code
190f1acf 48- better explanation when presenting glimpse tokens
d3f655c6 49- optimization for an if branch that is just { ... }
4dfbc1c2 50- spatch -control_flow_to_file file.c generates a file file.dot
190f1acf 51- include files with names ending in .cpp if -c++ option is given
690d68d1
C
52
53** Bugfix:
3a314143
C
54- improved parsing of expressions to allow ... to the right of operators in
55 more places
ca417fcf
C
56- Fix check_config for Python 2.7 on Fedora 14 (Reported-by: Michael Stefaniuc)
57- Check for ocamlfind in configure (Reported-by: Paul E. McKenney)
58- Postpone use of ocamlfind at runtime to report fewer errors
b23ff9c7 59- Add support for Python 2.4 binding with the provided pycaml library
190f1acf
C
60- Allow '@' in script code. Thanks to Laurent Reveillere for noticing the
61 problem.
62- Remove an optimization of x or true to true in asttoctl2 for the case
63 where x may make a modification, eg the case of -thing ?-thing
64- Allow adding comments before a function.
690d68d1 65
413ffc02
C
66* 0.2.4
67** Language:
68- scripts now have names and can declare metavariables that are seen by
69 SmPL as identifier metavariables, see demos/{python,ocaml}tococci.cocci
70- declaration (match variable declarations) and field (match structure
71 field declarations) metavariables
c491d8ee 72- matching of array initializations and of enum declarations
413ffc02
C
73
74** Features:
75- compatability with Python 2.7. Thanks to Richard W.M. Jones for pointing
76 out the problem
77- python and ocaml string representations of parameter lists and expression
78 lists
79- try simpler patterns on glimpse failure
785a3008
C
80- graceful and immediate failure when a virtual rule is defined on the
81 command line, but not in the rule
c491d8ee
C
82- spatch returns -1 when a virtual rule is requested that is not supported
83- no transformation when using * with the option -no_show_diff
e6509c05
C
84- expanded +++ file name for match output
85- struct *^* and enum *^* metavariable types
5626f154
C
86- allow an assignment to match a variable initialization, even if multiple
87 variables are declared at the same time.
1eddfd50 88- add the option -recursive_includes
9bc82bae
C
89- added the option -use_idutils. The requires the previous use of the
90 script idutils_index.sh
413ffc02
C
91
92** Bugfix:
93- detect used after metavariables in simple statement metavariable match
785a3008
C
94- allow inheriting position variables over rules that make transformations
95 but depend on virtual rules that are not defined on the command line
96- treat top-level tokens in decl visitor. Thanks to Peter Tummeltshammer
97 for noticing a resulting problem.
c491d8ee 98- improve typing of the result of an assignment expression
e6509c05 99- eliminate some recursive calls in C code parsing to avoid stack overflows
c491d8ee
C
100- better pretty printing of #define when the whole line is removed
101- better pretty printing of asm code containing
102 "::[input]"r"(&coherence_data[i])"
103- allow pretty printing of C code with nameless bit fields
e6509c05
C
104- avoid adding an error message to standard output if ocamlfind is not
105 found
106- struct/union/enum-typed metavariables with a metavariable type name
5626f154
C
107- better management of whitespace between deleted lines. Thanks to
108 Andriy Gapon for noticing the problem.
109- improved parsing recovery for badly parsed struct/enum typedefs
110- drop expanded tokens in sgrep output. Thanks to Andriy Gapon for
111 noticing the problem.
112- constant strings have array type, not pointer type. Thanks to Vasiliy
113 Kulikov for noticing the problem.
1eddfd50
C
114- improve indentation when adding code after a function call with indented
115 arguments.
116- return type of sizeof converted to unsigned long. Thanks to Vasiliy
117 Kulikov for noticing the problem.
118- improve spacing when adding structure initializers. Thanks to Vasiliy
119 Kulikov for noticing the problem.
413ffc02 120
5636bb2c
C
121* 0.2.3
122** Language:
123- <= constraints relating an expression metavariable to one or more
124 inherited expression metavariables that it should be a subexpression of
125- the -inplace and -outplace options have been renamed -in_place and
126 -out_place. -in_place no longer makes a backup. A backup can be
127 requested using the option -backup_suffix, eg -backup_suffix .bk
128- identifiers can be constrained to be different from an inherited
129 identifier metavariable, or from a set containing both concrete
130 identifiers and inherited identifier metavariables.
174d1640 131- support for ocaml scripting
aba5c457 132- ast available in ocaml scripts
5636bb2c
C
133
134** Features:
135- drop inconsistent paths check when only one node was matched
136- allow #define id with no definition
137- attempt to add newlines in the generated code when function calls in the
138 smpl cause passing column 80
139- allow - in front of statement level nests, if everything inside the nest
140 is also -
90aeb998
C
141- 'configure' looks for some system libraries: menhirLib, sexplib, pycaml.
142 Not available libraries are replaced by a copy provided with the sources.
143- added static for a function goes just before what is specified in the
144 semantic patch, not before any comments etc.
145- Add a new option, -ignore_unknown_options, to ease the integration
146 of Coccinelle as a checker in a toolchain.
147- error in python code causes immediate abort of spatch
174d1640 148- use the same algorithm for collecting grep tokens as for collecting
90aeb998 149 glimpse tokens
174d1640
C
150- Add scripts/spatch.bash_completion for automatic completion of common
151 options under the bash shell.
aba5c457 152- Print rule name when a script rule crashes
88e71198
C
153- Allow the declaration of an expression list or parameter list
154 metavariable to specify the number of expressions or parameters,
155 respectively.
5636bb2c
C
156
157** Bugfix:
158- drop inconsistent paths check when only one node was matched
159- better take into account virtual rules when selecting glimpse tokens
160- print diff when only a comment is added
161- the type of the C code !x should be int regardless of the type of x
162- allow python code at the beginning of an included file
163- better adjustment of whitespace when deleting adjacent lines. Thanks to
164 Wolfram Sang for pointing out the problem.
165- allow metavariables to be inherited from included files
166- allow ? on goto
167- more graceful failure on finding a strange character in a macro parameter
168 list
169- support Parameter metavariables
170- add space after the last comma in an added portion of an argument list
90aeb998
C
171- SmPL nameless struct should only match a nameless struct, not a nameless
172 union. Thanks to Peter Tummeltshammer for pointing out the problem.
173- adjustments to storage don't modify inline as well
174- matching and transformation allowed on inline
175- allow removed field between two ... in structure initialization
176- allow removing an entire structure initialization
174d1640
C
177- manage labels within do while 0 macros
178- added space after : in printing a conditional expression. Thanks to Josh
179 Triplett for noticing the problem.
aba5c457
C
180- dropped trailing whitespace when code at the end of a line is deleted.
181 Thanks to Josh Triplett for noticing the problem.
88e71198
C
182- Fixed environment management when script rule uses cache. Thanks to
183 Bissyande for finding the problem.
184- when false matches if with no else
18b1275a
C
185- ensure { ... } with whencode checks to the end of the function. Thanks to
186 Rene Rydhof Hansen for finding the problem.
5636bb2c 187
c3e37e97
C
188* 0.2.2
189** Language:
190- Added ToTestExpression to iso language, see standard.iso for an
191 explanation
192- Added depends on to initialize and finalize script code
193
194** Features:
195- Update Emacs mode (cocci.el) to support 'virtual' rules and fix other
196 keywords sush as 'depends on', 'using', 'disable'
197- better treatment of != 0 in isos, communtativity for ==/!= for all
198 constants
aa721442 199- allow adding // comments and blank lines (even after cocci + code)
c3e37e97
C
200- Add support for multiple -I options
201
202** Bugfix:
203- correct interaction between virtual rules and included .cocci files
204- improvement in treatment of ! in isos, to avoid duplicating + code
aa721442 205- improvement in treatment of metavars as isos, to avoid duplicating + code
c3e37e97
C
206 between toplevel and variable instantiation
207- test expression of smpl conditional, etc no longer assumed to have type
208 int
209- correct + line numbers in the patch produced when using *
210- iso constant metavariable matches an identifier whose name is all capital
211 letters, eg NULL
212- allow / at the end of the name of a directory (-dir) or patch prefix
213 (-patch)
214- dropped space in + code after the binding of a type metavariable that is
215 a pointer type
216- better handling of . or .. in -dir name
217- allow keywords and metavariable names in identifier constraints (not sure
218 keywords is very useful, though)
aa721442
C
219- no lubtype on arguments of && and || in SmPL
220- allow unknown as type for array indices in SmPL
221- support matching of static annotation on functions that are both static
222 and inline
223- support ENOTDIR error in Common.lfile_exists, to allow for the case where
224 an include file is in a subdirectory that exists but is an ordinary file,
225 not a directory.
226- better management of unbound position variables that appear in
227 constraints
228- cause python parser to skip over // comments, hoping that // is not
229 meaningful inside python
230- require + on every line of a multiline comment
d6a55602
C
231- correct calculation of line numbers when there is script code
232- always annotate arguments of && || and ! as test expressions in C code.
c3e37e97 233
ae4735db
C
234* 0.2.1
235** Language:
236- Add virtual identifiers
237- Add coccilib.report and coccilib.trac Python modules
238- coccilib.org and coccilib.report are imported by default but not loaded
239 in the current scope.
240
241** Features:
242- Parse_error_msg now more helpful. New option -verbose_parsing for even
243 more information.
244- Improve Python import handling. They are imported once during script
245 initialization.
246
247** Bugfix:
248- correct treatment of depends on with || for virtual rules
249
7f004419
C
250* 0.2.0
251** Language:
252
253** Features:
254- Remove duplicated code in disjunctions
255- Better error message when grep finds nothing relevant. Thanks to Joe
256 Perches for the suggestion.
257- added -keep_comments option for the unparsing of the transformed code
258- Option "-version" now also gives information about built-in
259 Python binding support.
9f8e26f4
C
260- slightly faster environment manipulation in pathological cases
261- hack added to accept well-formed #define after function header
7f004419
C
262
263** Bugfix:
9f8e26f4 264- Proper consideration of #define macro arguments in checking for the use
7f004419 265 of metavariables and in computing the line numbers of complex terms
9f8e26f4
C
266- Better parsing of included .cocci files
267- Put included .cocci files in the right order
268- Bind position variables only once for #include
269- Fix bug in include_match that caused everything to halt when all matches
7f004419 270 were discarded
9f8e26f4
C
271- Merge unlikely/likely iso rules under a iso rule named unlikely
272- Some fixes to coccicheck rules, thanks to Andrew Lunn
273- Support groups in regular expression, thanks to Michael Stefaniuc
7f004419 274
951c7801
C
275* 0.1.11
276
277** Language:
278- Meta-identifier/function and constant could be filtered from SmPL by
279 regular expressions using the "~=" and "!~=" operators followed by
280 an OCaml regular expression (see man Str) in double quote.
7f004419
C
281- Virtual rules, which can be referenced in depends, and set and unset
282 using the command-line options -D
283- ++ for multiple additions
951c7801
C
284
285** Features:
951c7801
C
286- coccicheck: a framework to check a series of SmPL files on a project
287 see scripts/coccicheck for more information
288
289** Bugfix:
290- bind position variables to the correct starting position in the case of a
291 complex statement such as an if or while. Thanks to Derek Jones for
292 pointing out the problem.
293- checking for non mentioned case lines in switch should be unchecked.
294- space should be printed after sizeof when there are no parentheses around
295 the argument. Thanks to Daniel Walker for pointing out the problem.
296- avoid introducing sharing in propagating ! over () in treatment of isos
297- save_excursion has to handle and rethrow exceptions
298- eliminate unnecessary consideration of CVS strings. Thanks to David
299 Young for pointing out the problem.
300- completely new treatment of statement metavariables
951c7801
C
301- better type checking for macro definitions
302- drop regression testing in -parse_c
303
fc1ad971
C
304* 0.1.10
305
306** Language:
307- declarations allowed in switch, suggested by Derek M. Jones
308
309** Features:
310- use interval timer for timeouts. Thanks to Derek M. Jones for the
311 implementation.
312- more flexible env.sh, thanks to Derek Jones.
313- faster Python invocation
314- simplify unparsing in the sgrep case
315
316** Bugfix:
317- for glimpse there is no point to create a pattern containing a numeric
318 constant because glimpse doesn't index them
319- add spaces after commas in function calls and function headers
320- made python integration more like the ubuntu version
321 http://patches.ubuntu.com/by-release/extracted/debian/c/coccinelle/0.1.5dbs-2/01-system-pycaml
322 this fixes some memory management problems with None, True, and False
323- correct labels associated with a switch in the CFG so that a statement
324 metavariable can match a switch. Thanks to Derek Jones for pointing out
325 the problem.
326- keep switch pattern within switch body. Thanks to Derek Jones for
327 pointing out the problem.
328- Allow expanded tokens to be stored in metavariables, as long as they are
329 not removed. But this does currently allow them in + code, which will
330 produce the expansion. Thanks to Ali-Erdem Ozcan for pointing out the
331 problem.
332- improved adjustment of spacing when code removed at the beginning of a line
333
978fd7e5
C
334* 0.1.9
335
336** Language:
337- allow fresh identifiers to be declared using ## such that the value mixes
338 both strings and previously declared metavariables
339
340** Features:
341- better handling of expanded code containing ##. Now compute the
342 result.
343- more precise warning message for the "'\' outside define".
344 Thanks to Nicholas Mc Guire for pointing out the problem.
345- more precise warning message related to ifdefization.
346 Thanks to Derek Jones for pointing out the problem.
347- we don't create any more certain files in /tmp (they may be a cause
348 of security problems).
349 Thanks to Eugeniy Meshcheryakov for pointing out the problem.
350- More optimization for the case of just deleting a complete function.
351 Allows this to happen without tracing through all the control-flow
352 paths. Thanks to Francois Bissyande for pointing out the problem.
353- prevent code from being added to the beginning or end of a disjunction
354- more information about why a script is not applied when using -debug option
355- added -no_safe_expressions option
356- added -no_loops option. Ignores back edges derived from looping
357 constructs. This is unsafe, but perhaps useful for bug finding, as it can
358 be more efficient.
359- for semantic matches, allow "minus" on same code with multiple
360 environments
361- better error message for mismatch of parenthesis in column 0 with normal
362 parenthesis. Thanks to Derek Jones for pointing out the problem.
363- allow disjunctions on function return types. Thanks to Pierre Habouzit
364 for pointing this out.
365
366** Bugfix:
367- keep disjunction in the proper order for structure initialization fields
368- variables declared in different places should not seem to match each
369 other
370- drop complaints about label metavariables not being used
371- drop test information from the type of an expression when the expression
372 is bound to a metavariable
373- nests should not extend beyond the before and after code, even if the
374 before and after code matches the nest code
375- nests should extend into conditionals that end in error exit
376- take into account metavariables on "else". Thanks to Derek Jones for
377 pointing out the problem.
378- print single quotes on generated character constants
379- better typedef handling in the initialisation/affectation builtin
380 isomorphism, cf -test init_affect_typedef
381- support disjunction of types on variable declaration
002099fc
C
382- allow @ within strings in script code. ignore // comment lines in script
383 code.
384- don't drop + code placed after the transformed code
385- drop spaces produced by removing code before semicolons
386- adjusted spacing within generated code
387- less verbose -sp. Thanks to Derek Jones for pointing out the problem.
388- accept multiple type names in a SmPL typedef declaration.
978fd7e5 389
708f4980
C
390* 0.1.8
391
392** Language:
393
394** Features:
395- Metavariables now capture the cpp code contained within their definitions
396- When - fragments are separated by ... or nest boundaries in the semantic
397 patch, but end up matching adjacent source code, the comments, cpp code
398 and whitespace that are between them are not deleted.
399- better parsing of C: do expansion of macros only when needed when
400 have actually a parse error and also leverage the definition of macros
401 in the parsed file (or in a optional_standard.h file passed as a parameter).
402 This should reduce the need for many hardcoded definitions in standard.h
403- new semantics for the -macro_file option, by default now expand macros
404 only when necessary. To force use the -macro_file_builtins option instead.
405- a new -extract_macros command line action to help the parser. Works with
406 the -macro_file option. e.g.
407 $ ./spatch -extract_macros ~/linux > /tmp/alldefs.h
408 $ ./spatch -macro_file /tmp/alldefs.h -sp_file foo.cocci -dir ~/linux
409- removed -D macro_file option, not consistent with what -D usually means
410- reattempt to be more efficient for statement metavariables that are just
411 placeholders (ie, no modification, no reuse)
412- triples now returned from ctl in sorted order. The main key is the
413 state. On the other hand, the state order does not always agree with the
414 order of appearance in the code.
415- spatch is now less verbose on the things it does yet handle. Less confusing
416 for new users.
417- slightly better error report. Thanks to Derek Jones for the suggestion.
418- added the options -linux_spacing and -smpl_spacing. -linux_spacing
419 causes spatch to follow the spacing conventions of Linux, while
420 -smpl_spacing causes spatch to follow the spacing in the semantic patch.
421 -linux_spacing is the default.
422- more informative error reporting for the already tagged token case.
423 Thanks to Erik Hovland for the suggestion.
424
425** Bugfix:
426- better parsing of declare macro at toplevel and in structure.
427 cf -text xfield
428- allowing back typedef names for fieldname
429- better printing of else in generated code
430- slightly better type inference for binary operators.
431- clear out declarer names and iterator names between SmPL files (for
432 -testall)
433- better parsing and type checking of macro type aliases. Cf -test macro_int16.
434 Thanks to Li Yingtong for pointing out the problem.
435- make insert_virtual_positions tail rec, avoid stack overflow pb.
436 Thanks to Diego Liziero <diegoliz@gmail.com> for pointing out the
437 problem.
438- Better type inference for arithmetic binary operators
439 Thanks to Li Yingtong for pointing out the problem.
440- Better type inference for constants
441 Thanks to Li Yingtong for pointing out the problem.
442- move computing of adjacency information for semantic patches to after
443 application of isomorphisms, because isomorphisms can introduce "..."
444- compute adjacency information for negated ...
445- record with each transformation site the set of indices of the witness
446 trees that caused the transformation site to come about. Whitespace and
447 comments between remove tokens associated with disjoint witness trees is
448 not removed.
449- correct treatment of function pointer typed parameters in the SmPL ast0
450 visitor.
451- better parsing error message and error recovery when comments are not ended,
452 when some macros have a weird body, and when some switch have a weird
453 Body.
454 Thanks to Derek Jones for pointing out the problem.
455- better detection and passing of "dangerous" ifdefs, cf -test
456 double_switch.
457- dropped the separation of decls and body in Seq. This gives better
458 positioning of the bindings of metavariables shared between them.
459 Thanks to Erik Hovland for an example that shows the problem.
460
461** Internals:
462- supress warning in compiling ocamlsexp (warning caused by a new behavior
463 of cpp used internally in processing files in ocamlsexp/)
464
b1b2de81
C
465* 0.1.7
466
467** Language:
468- initialize and finalize script code, cf demos/initial_final.cocci
469
470** Features:
471- -iso_limit option to limit the depth of isomorphism application
472- with the dir option, the include path is implicitly set to the "include"
473 subdirectory of the specified directory, if the option -I is not used.
474- give a seed for the name of a fresh identifier
475- better handling of cpp "constructed" identifiers as in a##b, that in
476 the futur will make it easier to match over those idents.
477 cf tests/pb_parsing_macro.c. Thanks to Ali-Erdem Ozcan for pointing
478 out the problem. A new "parsing hack hint" is also available:
479 YACFE_IDENT_BUILDER, cf standard.h.
480
481** Bugfix:
482- drop excessive "optimization" in ctl generation for while and for loops
483- allow . as the name of the directory
484- for type inference for an assignment, take the type of the right-hand
485 side expression, not the type of the assigned variable
486- allow for with a declartion in the first header element, as in C++
487 (partial support)
488- allow for matching against variable declarations that include only
489 storage, eg static, but no type at all.
490- allow for matching against types that contain both short/long and int
491- allow the type metavariable in the SmPL code "unsigned T" to match a T
492 that is a type consisting of more than one word, eg long int.
493- -ifdef_to_if option made to process nested ifdefs
494 (partial support)
495
496** Internals:
497- improve and fix installation process (usable on BSD)
498- improve and fix testing process
499- apply patches from Eugeniy Meshcheryakov
500- reorganize the way we parse C identifiers, especially concatenated cpp
501 identifiers as in a##b. This may lead to some regressions as we may
502 not parse as much code as before.
503- removed popl/ and popl09/ and popl related stuff from official distrib.
504
0708f913 505* 0.1.6
113803cf 506
b1b2de81
C
507** Language:
508- the ability to add comments
509
113803cf 510** Features:
0708f913
C
511- grouping of generated rules with -hrule option
512- handling of special coccinelle comments
513 /* {{coccinelle:skip_start}} */ and
514 /* {{coccinelle:skip_end}} */
515 allowing to give more hints to the C parser.
516 Thanks to Flavien@lebarbe.net for the idea.
0708f913
C
517- the ability to print the values of more (but not all) kinds of
518 metavariables from python
519- new vim SmPL mode.
520 Thanks to Alexander Faroy.
521
522** Bugfix:
523- consider the ident tokens also in the 2 lines before the error line for the
524 10-most-problematic-parsing-errors diagnostic.
525- SmPL parser allows cast as the argument of a pointer
526- SmPL type checker allows enum as an array index
527- Better generation of fresh metavariables names in hrule
528- no more warnings about things that should be metavariables when there is
529 a disjunction in a function position
530- bugfix in parser, better error message.
531 Thanks to Ali-Erdem OZCAN <ali-erdem.ozcan@st.com> for the bug report.
532
533** Internals:
534
535* 0.1.5
536
537** Language:
113803cf
C
538- added initialiser metavariable
539- added sequences of designators in structures
0708f913
C
540
541** Features:
113803cf
C
542- improved printing of the C code corresponding to metavariables
543- improved printing when code (eg declarations) is removed at the beginning
544 of a block, and then is followed by a blank line
545- slightly less verbose error reporting in parsing_hacks
546
547** Bugfix:
548- fixed some problems with parsing SmPL code where a nest appears after a |
549- better treatment of { }, form in macros wrt unparse_c
550- less quiet for -parse_c
551- improve parsing heuristics regarding macro statement
552
553** Internals:
554
faf9a90c
C
555* 0.1.4
556
0708f913
C
557** Language:
558- long long added to SmPL
559
708f4980
C
560** Documentation:
561- add grammar reference and spatch command line options reference
562
faf9a90c
C
563** Features:
564- can match patterns of the form unsigned T or signed T, where T is a
565 metavariable
566- dropped the sizeof_parens isomorphism, which was made redundant by the
567 paren isomorphism
568- simple rule generation
faf9a90c
C
569
570** Bugfix:
571- trailing , ; and ) no longer left on a line by themselves
572- better treatment of error exit when the searched for code matches the
573 error exit condition.
574- fix incorrect treatment of parentheses in test_exps that could allow +
575 code to be added twice
576- don't ask whether iterator names and declarer names should be declared as
577 metavariables.
578- slightly better support for expression list metavariables.
579- short and long allowed for array index types in SmPL
580- more restrictions on type inference for pointer arithmetic in SmPL
581- allow isomorphisms to apply when + code is anywhere within all - terms
582- changed order of printing const and volatile
583- allow eg ... <... in plus code
584- better formatting of generated if/while/etc. code
585- better parse error reporting when the problem is at the end of the file
586
587** Internals:
588- isomorphisms don't apply under signed/unsigned, to prevent the creation
589 of things like unsigned signed int. Need a better solution for this.
590
91eba41f
C
591* 0.1.3
592
593** Features:
594- help in building the configuration macro file. The -parse_c action
595 now returns the 10 most frequent parsing errors. This give useful
596 hints to extend standard.h.
597
598** Bugfix:
599- positions no longer allowed on \(, \|, and \)
600- improved propagation of negation for isos in the presence of parens
601- convert Todos in flow graph construction to recoverable errors
602- fixed bug in treatment of when != true and when != false, to allow more
603 than one of them per ...
604- improve parsing of typedef of function pointer.
605- improve typing.
606- parsing and typing support for old style C function declaration.
607- consider position variables as modifications when optimizing the
608 translation into CTL of function definitions
609
610** Internals:
611
485bce71
C
612* 0.1.2
613
614** Bugfix:
615- better handling of ifdef on statements in control flow graph.
616- transform files even if they do not end in .c (thanks to Vegard Nossum)
617
618** Internals:
619- merge code of yacfe
620
1be43e12
C
621* 0.1.1
622
0708f913 623** Language:
485bce71 624 - support for initializer at toplevel, cf -test substruct
1be43e12 625
34e49164
C
626* 0.1
627
628** first public release of the source code:
629
0708f913 630** Language:
34e49164
C
631 - embeded python scripting
632 - position
633
0708f913
C
634** Features
635
34e49164
C
636* beta
637
638** first public release of the binary
639
640* alpha
641
642** Features
643 - lots of features ... look at coccinelle research papers and tutorials.