blob: 7887451f36595f798822f298d35193684ceb1d04 [file] [log] [blame]
Eli Bendersky07f67a22012-08-10 08:48:31 +03001+ Version 2.08 (10.08.2012)
Eli Bendersky19400fd2012-06-22 09:38:23 +03002
Eli Bendersky09fc2002012-08-10 07:41:42 +03003 - Issue 73: initial support for #pragma directives. Consume them without
4 errors and ignore (no tokens are returned). Line numbers are preserved.
Eli Bendersky5a0abdf2012-07-07 06:52:23 +03005 - Issue 68: more correct handling of source files without any actual content.
6 - Issue 69: running all tests will now set appropriate return code.
Eli Bendersky0a3ef0b2012-07-06 15:54:29 +03007 - Better error reporting in case where multiple type specifiers are provided.
8 Also fixes Issue 60.
Eli Bendersky5a0abdf2012-07-07 06:52:23 +03009 - Issue 63: line endings cleanup for consistent LF ending.
10 - Issues 64 & 65: added some more headers and typedefs to fake includes.
Eli Bendersky949ad822012-08-10 07:04:20 +030011 - Refactoring the cpp invocation in parse_file into a separate function, which
12 can also be used as a utility.
Eli Benderskyd9649812012-08-10 08:27:12 +030013 - Issue 74: some Windows include paths were handled incorrectly.
Eli Bendersky19400fd2012-06-22 09:38:23 +030014
Eli Bendersky081bac22012-06-16 16:10:39 +030015+ Version 2.07 (16.06.2012)
Eli Bendersky13d0a6f2012-06-15 09:30:04 +030016
Eli Bendersky203b9672012-06-15 10:11:24 +030017 - Issue 54: added an optional parser argument to parse_file
18 - Issue 59: added some more fake headers for C99
19 - Issue 62: correct coord for Ellipsis nodes
Eli Bendersky3b1b08d2012-06-15 12:37:54 +030020 - Issue 57: support for C99 hexadecimal float constants
Eli Bendersky13d0a6f2012-06-15 09:30:04 +030021 - Made running tests that call on 'cpp' a bit more robust.
22
23+ Version 2.06 (04.02.2012)
24
25 - Issue 48: gracefully handle parsing of empty files
26 - Issues 49 & 50: handle more escaped chars in paths to #line - "..\..\test.h".
27 - Support for C99 _Complex type.
28 - CGenerator moves from examples/ to pycparser/ as a first-class citizen, and
29 added some fixes to it. examples/c-to-c.py still stays as a convenience
30 wrapper.
31 - Fix problem with parsing a file in which the first statement is just a
32 semicolon.
33 - Improved the AST created for switch statements, making it closer to the
34 semantic meaning than to the grammar.
35
36+ Version 2.05 (16.10.2011)
37
38 - Added support for the C99 ``_Bool`` type and ``stdbool.h`` header file
39 - Expanded ``examples/explore_ast.py`` with more details on working with the
40 AST
41 - Relaxed the rules on parsing unnamed struct members (helps parse ``windows.h``)
42 - Bug fixes:
43
44 * Fixed spacing issue for some type declarations
45 * Issue 47: display empty statements (lone ';') correctly after parsing
46
47+ Version 2.04 (21.05.2011)
48
49 - License changed from LGPL to BSD
50 - Bug fixes:
51
52 * Issue 31: constraining the scope of typedef definitions
53 * Issues 33, 35: fixes for the c-to-c.py example
54
55 - Added C99 integer types to fake headers
56 - Added unit tests for the c-to-c.py example
57
58+ Version 2.03 (06.03.2011)
59
60 - Bug fixes:
61
62 * Issue 17: empty file-level declarations
63 * Issue 18: empty statements and declarations in functions
64 * Issue 19: anonymous structs & union fields
65 * Issue 23: fix coordinates of Cast nodes
66
67 - New example added (``examples/c-to-c.py``) for translating ASTs generated by ``pycparser`` back into C code.
68 - ``pycparser`` is now on PyPI (Python Package Index)
69 - Created `FAQ <http://code.google.com/p/pycparser/wiki/FAQ>`_ on the ``pycparser`` project page
70 - Removed support for Python 2.5. ``pycparser`` supports Python 2 from 2.6 and on, and Python 3.
71
72+ Version 2.02 (10.12.2010)
73
74 * The name of a ``NamedInitializer`` node was turned into a sequence of nodes
75 instead of an attribute, to make it discoverable by the AST node visitor.
76 * Documentation updates
77
78+ Version 2.01 (04.12.2010)
79
80 * Removed dependency on YAML. Parsing of the AST node configuration file is done with a simple parser.
81 * Fixed issue 12: installation problems
82
83+ Version 2.00 (31.10.2010)
84
85 * Support for C99 (read `this wiki page <http://code.google.com/p/pycparser/wiki/C99support>`_ for more information).
86
87+ Version 1.08 (09.10.2010)
88
89 * Bug fixes:
90
91 + Correct handling of ``do{} ... while`` statements in some cases
92 + Issues 6 & 7: Concatenation of string literals
93 + Issue 9: Support for unnamed bitfields in structs
94
95+ Version 1.07 (18.05.2010)
96
97 * Python 3.1 compatibility: ``pycparser`` was modified to run on Python 3.1 as well as 2.6
98
99+ Version 1.06 (10.04.2010)
100
101 * Bug fixes:
102
103 + coord not propagated to FuncCall nodes
104 + lexing of the ^= token (XOREQUALS)
105 + parsing failed on some abstract declarator rules
106
107 * Linux compatibility: fixed end-of-line and ``cpp`` path issues to allow all tests and examples run on Linux
108
109
110+ Version 1.05 (16.10.2009)
111
112 * Fixed the ``parse_file`` auxiliary function to handle multiple arguments to ``cpp`` correctly
113
114+ Version 1.04 (22.05.2009)
115
116 * Added the ``fake_libc_include`` directory to allow parsing of C code that uses standard C library include files without dependency on a real C library.
117 * Tested with Python 2.6 and PLY 3.2
118
119+ Version 1.03 (31.01.2009)
120
121 * Accept enumeration lists with a comma after the last item (C99 feature).
122
123+ Version 1.02 (16.01.2009)
124
125 * Fixed problem of parsing struct/enum/union names that were named similarly to previously defined ``typedef`` types.
126
127+ Version 1.01 (09.01.2009)
128
129 * Fixed subprocess invocation in the helper function parse_file - now it's more portable
130
131+ Version 1.0 (15.11.2008)
132
133 * Initial release
134 * Support for ANSI C89
135
136
137
138