Description
shiboken parses a number of typesystem attributes which appear not to be used later on (according to code model)
Modifications
Name | Code | Value used in shiboken | Used in Qt typesys XML | Documented | Comment |
modify-argument/reference/add-all | ReferenceCount/Action | no | no | yes | Would make sense? |
modify-argument/reference/ignore | no | no | yes | Intended as no-op? | |
modify-argument/no-null-pointer/default-value | ArgumentModification.nullPointerDefaultValue | no | no | no | |
modify-function/access/final, non-final | AbstractMetaAttributes | no | yes | no | Unclear purpose |
modify-function/access/friendly | AbstractMetaAttributes | no | no | yes | Unclear purpose |
modify-function/allow-thread | FunctionModification::allowThread() | no | yes | no | Unclear purpose |
modify-function/thread | FunctionModification::isThread() | no | no | no | Unclear purpose |
modify-function/associated-to | FunctionModification::association | no | no | no | Unclear purpose |
modify-function/virtual-slot | AbstractMetaFunction::isVirtualSlot | questionable | no | no | Unclear purpose |
custom-de/constructor | TypeEntry::customDeConstructor | most likely not | no | no | |
argument-map | CodeSnip::ArgumentMap | most likely not | no | no | |
modify-field/read/write | FieldModification::isReadable, Readable | no | yes | yes | readOnly would make sense? |
enum-type/reject-enum-value | EnumTypeEntry/addEnumValueRejection | no | no | yes | bug |
Types
Name | Code | Value used in shiboken | Used in Qt typesys XML | Documented | Comment |
primitive-type/preferred-conversion | TypeEntry::preferredConversion() | no | no | yes | Contradictory docs (bool vs text) |
*revision, enum-type/flags-revision | getTypeRevision() | no | yes | yes | apparently same as since, just using one integer |
enum-type/upper,lower-bound | EnumTypeEntry() getter | no | yes | yes | |
enum-type/ force-integer | EnumTypeEntry() getter | no | yes | yes | |
enum-type/ extensible | EnumTypeEntry() getter | no | yes | yes | |
object-type/force-abstract | ComplexTypeEntry::TypeFlag | no | yes | yes | |
object-type/generic | ComplexTypeEntry::isGenericClass() | questionable | no | no | |
object-type/held-type | ComplexTypeEntry::heldTypeValue() | no | no | no | |
*-type/delete-in-main-thread | ComplexTypeEntry::typeFlags | no | no | no |
Attachments
For Gerrit Dashboard: PYSIDE-743 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
234136,12 | shiboken: Warn about unimplemented attributes | dev | pyside/pyside-setup | Status: MERGED | -2 | 0 |
234192,17 | shiboken: Refactor attribute enumeration lookups in parser | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234269,16 | shiboken: Refactor attribute parsing in typesystem parser | dev | pyside/pyside-setup | Status: MERGED | -2 | 0 |
234442,3 | shiboken: Improve debug output of TypeEntry classes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234443,2 | shiboken/ApiExtractor tests: Handle parse failures | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234444,2 | shiboken: Do not swallow XML parsing errors | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234453,3 | shiboken: Make targetLangPackage() a normal property of TypeEntry | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234507,2 | shiboken: Remove unused TypeEntry classes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234508,3 | shiboken: Remove global-static hashes used for members of TypeEntry | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234509,4 | shiboken: Make revision and SBK index a member of TypeEntry | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
234596,5 | WIP: shiboken: Refactor remaining attribute parsing in parser | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
235043,6 | shiboken: Fix the allow-thread attribute to actually have an effect | dev | pyside/pyside-setup | Status: MERGED | -2 | 0 |
235077,2 | PySide2: Remove unimplemented attributes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
235132,3 | shiboken: Fix invalid QStringRefs in type parser | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
238257,2 | shiboken: Remove data fields representing unimplemented attributes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
240311,14 | Fix crash when garbage collecting in a non-GUI thread | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |