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