v1.9.0
- [New features]
-
Full Python 3.6 support
-
Full pypy and pypy3 support
-
Better windows support
-
Small performance improvements
-
Added
is_struct
function to declarations package. It returns true if
a declaration is a struct. -
Added support for the castxml epic version format 1.
This is a new format which is partially not backward compatible with the
legacy format. To use this new format, use thecastxml_epic_version
flag
and set it to 1.
This new format will allow to support new c++ features that were not recognized
bygccxml
and previous versions ofcastxml
. -
Added support for elaborated type specifiers.
A newelaborated_t
type was added, with the relatedis_elaborated
andremove_elaborated
function.
This is only available when setting thecastxml_epic_version
flag to 1 .
- [Windows]
-
Add Appveyor Windows build (castxml, VS 2013, python 3.5) and merge coverage
results with Travis. -
Attributes defined as
__thiscall__
are now ignored (tested with VS 2013).
The__thiscall__
in some attributes will be removed too. If you still
want to have access to these attributes, you can use the
config.flags = ["f2"]
option.
- [Deprecations]
-
Deprecated
decl
attribute fromdependency_info_t
.
Use thedeclaration
attribute instead. -
Deprecated the
nss
,free_fun
andfree_funs
methods from the
namespace_t
class. Use thenamespaces
,free_function
and
free_functions
methods instead. -
Deprecated the
mem_fun
,mem_funs
,mem_oper
,mem_opers
,
enum
andenums
methods from thescopedef_t
class.
Use themember_function
,member_functions
,member_operator
,
member_operators
,enumeration
andenumerations
methods instead. -
Deprecated the
mdecl_wrapper_t.to_list()
. You can implement your own
version of it if you really need it. -
Deprecated the
declaration_not_found_t
andmultiple_declarations_found_t
attributes from thescopedef_t
class. These exceptions are available
through thepygccxml.declarations
package. -
Deprecated the
decorated_name
attribute fromdeclaration_t
.
This was used by the binary parser, which have been removed in this version.
As these attributes still could be used somewhere (but always returned None
anyway), they need to go through a deprecation cycle first.
- [Removals]
- Removed
utils.xml_generator
andutils.xml_output_version
attributes.
These two variables should not have made it into the public API. There is no
deprecation cycle for these because of the complexity of keeping these
module attributes around.