Skip to content

Releases: CastXML/pygccxml

v2.1.0

22 Jan 21:36
Compare
Choose a tag to compare
  1. create_temp_file_name: remove deprecated dir argument

  2. Warn if "include directories" do not exist.

  3. Use "overrides" information from CastXML

  4. Add comment parsing from CastXML

v2.0.1

27 Jul 20:39
Compare
Choose a tag to compare
  1. Minor description and doc updates for release uploads

v2.0.0

27 Jul 20:38
Compare
Choose a tag to compare
  1. Drop support for GCC-XML.
  • Drop all the demangled name attributes

  • Drop declarations.class_t.USE_DEMANGLED_AS_NAME

  1. Drop support for Python 2.6, Python 2.7, Python 3.2, Python 3.3, Python 3.4.

  2. Add support for Python 3.5, Python 3.6, Python 3.7, Python 3.8.

  3. Deprecated all the i_depend_on_them methods from the declaration_t
    class hierarchy. Instead of using decl.i_depend_on_them(), please use the
    declarations.get_dependencies_from_decl(decl) function from the
    declarations module, which returns the same result.

  4. Add support for -std=c++17 and -std=c++2a flags

  5. Add g++ and gcc to better support gnu compilers on windows

v1.9.1

16 Aug 21:40
Compare
Choose a tag to compare
  1. Fix bug in the find_noncopyable_vars method which wrongly returned
    member variables of pointer type (#84)

  2. Fix bug in the smart_pointer_traits.value_type and
    auto_pointer_traits.value_type methods which didn't find the expected
    value_type declaration (#85)

  3. Fix bug in the smart_pointer_traits.is_smart_pointer and
    auto_pointer_traits.is_smart_pointer methods which didn't properly
    work (#85)

v1.9.0

10 May 21:48
Compare
Choose a tag to compare
  1. [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 the castxml_epic_version flag
    and set it to 1.
    This new format will allow to support new c++ features that were not recognized
    by gccxml and previous versions of castxml.

  • Added support for elaborated type specifiers.
    A new elaborated_t type was added, with the related is_elaborated
    and remove_elaborated function.
    This is only available when setting the castxml_epic_version flag to 1 .

  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.

  1. [Deprecations]
  • Deprecated decl attribute from dependency_info_t.
    Use the declaration attribute instead.

  • Deprecated the nss, free_fun and free_funs methods from the
    namespace_t class. Use the namespaces, free_function and
    free_functions methods instead.

  • Deprecated the mem_fun, mem_funs, mem_oper, mem_opers,
    enum and enums methods from the scopedef_t class.
    Use the member_function, member_functions, member_operator,
    member_operators, enumeration and enumerations 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 and multiple_declarations_found_t
    attributes from the scopedef_t class. These exceptions are available
    through the pygccxml.declarations package.

  • Deprecated the decorated_name attribute from declaration_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.

  1. [Removals]
  • Removed utils.xml_generator and utils.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.

v1.8.6

10 May 21:48
Compare
Choose a tag to compare
  1. Fix _HAS_TR1=0 definition for msvc9 (#72)

  2. Fix possible infinite recursion in find_noncopyable_vars() (#71)

v1.8.5

10 May 21:49
Compare
Choose a tag to compare
  1. Fix multiple calls to __hash__() (#70)

  2. Static and extern qualifiers are now no more treated as equivalents
    in the type_qualifiers class (for CastXML).
    The old behaviour is kept for GCC-XML (static == extern).

  3. Fix for declarations.is_noncopyable when used on a pointer_t.

v1.8.4

10 May 21:49
Compare
Choose a tag to compare
  1. Include paths read from configuration files on windows are now normed
    and passed between quotation marks. This makes pygccxml more robust
    when used on Windows (with paths containing whitespaces).

  2. Closed cache file handle, which would not be closed in case of an exception
    (warning thrown by Python 2.7.13)

  3. Always call wait() on subprocesses before closing stdout/stderr streams.
    Detected by Python 3.6. Fixes the following warning:
    ResourceWarning: subprocess xxxxx is still running

  4. Fix deprecation warnings thrown by ConfigParser when using pygccxml
    with python 2.7.13. Fix the usage of pygccxml with python 3.6.

  5. Updated travis setup to python 3.6 for OS X.

v1.8.3

10 May 21:49
Compare
Choose a tag to compare
  1. Single-source the version number to prevent version numbers mismatches.
    Release 1.8.2 contained a wrong version number in its download url
    on pypi.

v1.8.2

10 May 21:49
Compare
Choose a tag to compare
  1. xml_generator_configuration_t will no more try to find
    castxml or gccxml. You can use utils.find_xml_generator to help you
    finding the path to the xml generator, or set it manually.
    It is now mandatory to pass a valid xml_generator and
    xml_generator_path to the configuration (#65).