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