blob: ad8ad45df16afac00c21eb86b7c8410f47fb43e1 [file] [log] [blame]
Eli Bendersky6e658942013-06-08 07:04:38 -07001+ Version 2.10 (??)
2
Eli Bendersky39219c12013-06-12 06:18:37 -07003 - c_generator error for ExprList in expression context.
4 - Assume default int type for functions whose argument or return types were
5 not specified.
6 - Relax the lexer a bit w.r.t. some integer suffixes and $ in identifier names
7 (which is supported by some other compilers).
Eli Bendersky6e658942013-06-08 07:04:38 -07008
Eli Benderskyb74f1fa2012-12-29 05:22:23 -08009+ Version 2.09.1 (29.12.2012)
10
11 - No actual functionality changes.
12 - The source distribution was re-packaged to contain the pre-generated Lex and
13 Yacc tables of PLY.
14
Eli Bendersky66191e22012-12-27 06:04:52 -080015+ Version 2.09 (27.12.2012)
Eli Bendersky93352512012-12-24 20:18:33 -080016
Eli Bendersky645e2602012-12-25 06:21:08 -080017 - The pycparser project has moved to Bitbucket. For this version, issue
18 numbers still refer to the old Googlecode project, unless stated otherwise.
19 Starting with the next version all issue numbers will refer to the new
20 Bitbucket project.
Eli Bendersky93352512012-12-24 20:18:33 -080021 - pycparser now carries its PLY dependency along. The pycparser/ply directory
22 contains the source of PLY for the currently supported version. This makes
23 distribution and testing easier.
Eli Bendersky00edfc12012-12-25 15:18:02 -080024 - Issue #79: fix generation of new switch/case AST nodes.
Eli Bendersky293ea912012-12-25 14:52:48 -080025 - Issue #83: fix parsing and C generation to distinguish between initializer
26 lists in declarations and initializing variables with parenthesized
27 comma-separated expressions.
Eli Bendersky4476d092012-12-25 14:07:57 -080028 - Issue #84: fix C generation for some statements.
Eli Bendersky4961d1b2012-12-25 06:50:59 -080029 - Issues #86 and #87: improve location reporting for parse errors.
Eli Bendersky4476d092012-12-25 14:07:57 -080030 - Issue #89: fix C generation for K&R-style function definitions.
Eli Bendersky93352512012-12-24 20:18:33 -080031
Eli Bendersky07f67a22012-08-10 08:48:31 +030032+ Version 2.08 (10.08.2012)
Eli Bendersky19400fd2012-06-22 09:38:23 +030033
Eli Bendersky09fc2002012-08-10 07:41:42 +030034 - Issue 73: initial support for #pragma directives. Consume them without
35 errors and ignore (no tokens are returned). Line numbers are preserved.
Eli Bendersky5a0abdf2012-07-07 06:52:23 +030036 - Issue 68: more correct handling of source files without any actual content.
37 - Issue 69: running all tests will now set appropriate return code.
Eli Bendersky0a3ef0b2012-07-06 15:54:29 +030038 - Better error reporting in case where multiple type specifiers are provided.
39 Also fixes Issue 60.
Eli Bendersky5a0abdf2012-07-07 06:52:23 +030040 - Issue 63: line endings cleanup for consistent LF ending.
41 - Issues 64 & 65: added some more headers and typedefs to fake includes.
Eli Bendersky949ad822012-08-10 07:04:20 +030042 - Refactoring the cpp invocation in parse_file into a separate function, which
43 can also be used as a utility.
Eli Benderskyd9649812012-08-10 08:27:12 +030044 - Issue 74: some Windows include paths were handled incorrectly.
Eli Bendersky19400fd2012-06-22 09:38:23 +030045
Eli Bendersky081bac22012-06-16 16:10:39 +030046+ Version 2.07 (16.06.2012)
Eli Bendersky13d0a6f2012-06-15 09:30:04 +030047
Eli Bendersky203b9672012-06-15 10:11:24 +030048 - Issue 54: added an optional parser argument to parse_file
49 - Issue 59: added some more fake headers for C99
50 - Issue 62: correct coord for Ellipsis nodes
Eli Bendersky3b1b08d2012-06-15 12:37:54 +030051 - Issue 57: support for C99 hexadecimal float constants
Eli Bendersky13d0a6f2012-06-15 09:30:04 +030052 - Made running tests that call on 'cpp' a bit more robust.
53
54+ Version 2.06 (04.02.2012)
55
56 - Issue 48: gracefully handle parsing of empty files
57 - Issues 49 & 50: handle more escaped chars in paths to #line - "..\..\test.h".
58 - Support for C99 _Complex type.
59 - CGenerator moves from examples/ to pycparser/ as a first-class citizen, and
60 added some fixes to it. examples/c-to-c.py still stays as a convenience
61 wrapper.
62 - Fix problem with parsing a file in which the first statement is just a
63 semicolon.
64 - Improved the AST created for switch statements, making it closer to the
65 semantic meaning than to the grammar.
66
67+ Version 2.05 (16.10.2011)
68
69 - Added support for the C99 ``_Bool`` type and ``stdbool.h`` header file
70 - Expanded ``examples/explore_ast.py`` with more details on working with the
71 AST
72 - Relaxed the rules on parsing unnamed struct members (helps parse ``windows.h``)
73 - Bug fixes:
74
75 * Fixed spacing issue for some type declarations
76 * Issue 47: display empty statements (lone ';') correctly after parsing
77
78+ Version 2.04 (21.05.2011)
79
80 - License changed from LGPL to BSD
81 - Bug fixes:
82
83 * Issue 31: constraining the scope of typedef definitions
84 * Issues 33, 35: fixes for the c-to-c.py example
85
86 - Added C99 integer types to fake headers
87 - Added unit tests for the c-to-c.py example
88
89+ Version 2.03 (06.03.2011)
90
91 - Bug fixes:
92
93 * Issue 17: empty file-level declarations
94 * Issue 18: empty statements and declarations in functions
95 * Issue 19: anonymous structs & union fields
96 * Issue 23: fix coordinates of Cast nodes
97
98 - New example added (``examples/c-to-c.py``) for translating ASTs generated by ``pycparser`` back into C code.
99 - ``pycparser`` is now on PyPI (Python Package Index)
100 - Created `FAQ <http://code.google.com/p/pycparser/wiki/FAQ>`_ on the ``pycparser`` project page
101 - Removed support for Python 2.5. ``pycparser`` supports Python 2 from 2.6 and on, and Python 3.
102
103+ Version 2.02 (10.12.2010)
104
105 * The name of a ``NamedInitializer`` node was turned into a sequence of nodes
106 instead of an attribute, to make it discoverable by the AST node visitor.
107 * Documentation updates
108
109+ Version 2.01 (04.12.2010)
110
111 * Removed dependency on YAML. Parsing of the AST node configuration file is done with a simple parser.
112 * Fixed issue 12: installation problems
113
114+ Version 2.00 (31.10.2010)
115
116 * Support for C99 (read `this wiki page <http://code.google.com/p/pycparser/wiki/C99support>`_ for more information).
117
118+ Version 1.08 (09.10.2010)
119
120 * Bug fixes:
121
122 + Correct handling of ``do{} ... while`` statements in some cases
123 + Issues 6 & 7: Concatenation of string literals
124 + Issue 9: Support for unnamed bitfields in structs
125
126+ Version 1.07 (18.05.2010)
127
128 * Python 3.1 compatibility: ``pycparser`` was modified to run on Python 3.1 as well as 2.6
129
130+ Version 1.06 (10.04.2010)
131
132 * Bug fixes:
133
134 + coord not propagated to FuncCall nodes
135 + lexing of the ^= token (XOREQUALS)
136 + parsing failed on some abstract declarator rules
137
138 * Linux compatibility: fixed end-of-line and ``cpp`` path issues to allow all tests and examples run on Linux
139
140
141+ Version 1.05 (16.10.2009)
142
143 * Fixed the ``parse_file`` auxiliary function to handle multiple arguments to ``cpp`` correctly
144
145+ Version 1.04 (22.05.2009)
146
147 * 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.
148 * Tested with Python 2.6 and PLY 3.2
149
150+ Version 1.03 (31.01.2009)
151
152 * Accept enumeration lists with a comma after the last item (C99 feature).
153
154+ Version 1.02 (16.01.2009)
155
156 * Fixed problem of parsing struct/enum/union names that were named similarly to previously defined ``typedef`` types.
157
158+ Version 1.01 (09.01.2009)
159
160 * Fixed subprocess invocation in the helper function parse_file - now it's more portable
161
162+ Version 1.0 (15.11.2008)
163
164 * Initial release
165 * Support for ANSI C89
166
167
168
169