qtdeclarative/tests/auto/qml/qmlcppcodegen/data
Ulf Hermann 2547e8be4d QtQml: Store detached VariantAssociation objects on the JS heap
While the VariantAssociation is detached it is subject to the GC or
unrelated C++ code deleting objects from its internals. Since it's then
not the owning object's responsibility to track this anymore, we need to
track it ourselves. The way to do it is to use the existing V4 objects.

Pick-to: 6.10 6.9
Task-number: QTBUG-139025
Change-Id: Ic1d5aa85171b5d91c2b9d546963268b6f09c2802
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2025-08-21 20:33:23 +02:00
..
Confused tst_qmlcppcodegen: Avoid cmake warning 2025-03-04 17:15:14 +01:00
Cycle
ProgressBar
WithSubDir QtQml: Clean up qmldir redirection 2025-02-26 20:54:39 +01:00
ambiguous1
ambiguous2
extra
extra2
hidden
imports
shared
AccessModelMethodsFromOutside.qml
Action.qml
AnonymousComposite.qml QmlCompiler: Fix handling of anonymous composite types 2024-10-02 08:46:46 +00:00
ArraySequenceLengthInterop.qml
B.qml
BadType.qml
BaseConstraint.qml
BaseMember.qml
BindingExpression.qml
BindingToScriptStringProperty.qml Compiler: Skip bindings to properties of type QQmlScriptString 2025-04-17 12:10:22 +02:00
CMakeLists.txt QtQml: Store detached VariantAssociation objects on the JS heap 2025-08-21 20:33:23 +02:00
Categorizer.qml QmlCompiler: Discern between different kinds of side effects 2025-06-23 15:44:42 +02:00
CppMethodListReturnType.qml
CxxTypeFromDir.qml
CxxTypeFromImplicit.qml
Cycle1.qml
Cycle2.qml
Cycle3.qml
DeduplicateConversionOrigins.qml Compiler: Deduplicate conversion origins based on register's content 2025-05-01 19:19:22 +02:00
Dummy.qml QmlCompiler: Do not cache composite metatypes in static members 2024-09-30 20:26:35 +02:00
Dummy2.qml
EditConstraint.qml
Enums.qml
FinalProperty.qml QML: Add final property attribute 2025-03-06 19:23:04 +01:00
Foozle.qml
GetOptionalLookupNonVoidableBase.qml Compiler: Use regular lookup for redundant optional lookups 2025-04-10 13:35:00 +02:00
GetOptionalLookupOnQJSValueNonStrict.qml
GetOptionalLookupShadowed.qml
Loopy.qml
NotificationItem.qml
NotificationsUtils.js
OkType.qml
Panel.qml
Planner.qml
RootWithoutId.qml
Satisfaction.qml
SelectionRectangle.qml
ShadowedObjectName.qml
ShadowedObjectNameDerived.qml
StoreMetaEnum.qml
Test.qml
TestCase.qml
ValueTypeArgument.qml Compiler: Properly read value type arguments when enforcing signatures 2024-07-17 12:14:46 +02:00
Variable.qml
WindowDerived.qml
aliasLookup.qml
aliasToAliasResolutionSkipCorruption.qml QtQml: Correctly track alias resolutions skips 2025-07-02 14:44:04 +02:00
ambiguous.h
ambiguousAs.qml
ambiguousSignals.qml
anchorsFill.qml
anonymousCompositeUser.qml QmlCompiler: Fix handling of anonymous composite types 2024-10-02 08:46:46 +00:00
argumentConversion.qml
array.qml
arrayCtor.qml
asCast.qml QtQml: Support url and date in 'instanceof' and 'as' 2025-02-28 20:11:32 +01:00
attachedBaseEnum.qml
badSequence.qml
basicBlocksWithBackJump.qml
basicBlocksWithBackJump_infinite.qml
basicDTZ.qml
bindToValueType.qml
birthdayparty.cpp
birthdayparty.h
blockComments.qml
boolCoercions.qml
boolPointerMerge.qml
boundComponents.qml
brokenAs.qml QmlCompiler: Don't crash on broken type assertions 2024-09-25 10:42:01 +02:00
callContextPropertyLookupResult.qml
callObjectLookupOnNull.qml QtQml: Check 'this' for null in callObjectPropertyLookup 2025-01-06 17:27:59 +01:00
callWithSpread.qml
childobject.qml
colorAsVariant.qml
colorString.qml
compareOriginals.qml
comparisonTypes.qml
componentReturnType.qml
compositeTypeMethod.qml
compositesingleton.qml
consoleObject.qml compiler: Avoid invalid C++ code generation 2025-06-26 20:36:14 +02:00
consoleTrace.qml
construct.qml
contextParam.qml
conversionDecrement.qml
conversionInDeadCode.qml
conversions.qml
conversions2.qml
convertPrimitiveToVar.qml
convertQJSPrimitiveValueToIntegral.h
convertQJSPrimitiveValueToIntegral.qml
convertToOriginalReadAcumulatorForUnaryOperators.qml
cppbaseclass.h
curlygrouped.qml
cycleHead.qml
dateConstruction.qml
dateConversions.qml
deadShoeSize.qml
deadStoreLoop.qml
destroyAndToString.qml QtQml: Fix AOT compiled context for destroy() and toString() methods 2025-02-26 20:54:39 +01:00
detachOnAssignment.qml QtQml: Unify detaching behavior for all reference objects 2024-10-24 18:27:03 +00:00
detachedreferences.h QtQml: Store detached VariantAssociation objects on the JS heap 2025-08-21 20:33:23 +02:00
detachedreferences.qml QtQml: Store detached VariantAssociation objects on the JS heap 2025-08-21 20:33:23 +02:00
dialog.qml
dialogButtonBox.qml
druggeljug.h
dummy_imports.qml
dummyobjekt.h
dynamicmeta.h QObject: implement the ### Qt7 for dynamicMetaObject() 2024-11-14 13:49:01 -08:00
dynamicscene.qml
enforceSignature.qml QtQml: Properly enforce signatures of AOT-compiled functions 2024-04-26 12:18:15 +00:00
enumConversion.qml
enumFromBadSingleton.qml
enumInvalid.qml
enumLookup.qml QmlCompiler: Support construction of value types with 'new' 2024-11-06 10:00:07 +01:00
enumMarkedAsFlag.qml
enumProblems.qml
enumProperty.h
enumScope.qml
enumproblems.h qmltyperegistrar: Manually register names for Q_ENUMS 2025-07-07 19:35:20 +02:00
enumsInOtherObject.qml
enumsUser.qml
equalityQObjects.qml
equalityQUrl.qml
equalityTestsWithNullOrUndefined.qml
equalityVarAndNonStorable.qml
equalityVarWithOutConversion.qml Compiler: Add missing conversion for variant equality comparisons 2025-02-18 20:02:02 +01:00
equalsUndefined.qml
exceptionFromInner.qml
excessiveParameters.qml
extendedTypes.qml
failures.qml QmlCompiler: Support construction of value types with 'new' 2024-11-06 10:00:07 +01:00
fallbacklookups.qml
fallbackresettable.qml
fileDialog.qml
finalUser.qml QML: Add final property attribute 2025-03-06 19:23:04 +01:00
flagEnum.qml
fromBoolValue.qml
funcWithParams.qml
functionCallInitCrash.qml Compiler: Detect calls on partially deleted objects and throw 2025-08-18 09:06:23 +02:00
functionLookup.qml
functionReturningVoid.qml
functionTakingVar.qml
gadgetwithenum.h
getOptionalLookup.h tst_qmlcppcodegen: Compile test with QT_NO_CAST_FROM_ASCII 2024-10-09 16:23:14 +02:00
getOptionalLookup.qml
globals.qml
idAccess.qml
ignoredFunctionReturn.qml
immediateQuit.qml
importsFromImportPath.qml
indirectlyShadowable.qml
infinities.qml
infinitiesToInt.qml
insertContextOnInvalidType.qml QmlCompiler: Do not miscompile ID lookups in invalid types 2024-09-25 21:24:12 +02:00
intEnumCompare.qml
intOverflow.qml
intToEnum.qml
interactive.qml
interceptor.qml
internalConversion.qml
invalidateCompositeType.qml QmlCompiler: Do not cache composite metatypes in static members 2024-09-30 20:26:35 +02:00
invisible.h
invisibleBase.qml
invisibleListElementType.qml
invisibleTypes.qml
isnan.qml
iterateUnknownValue.qml QmlCompiler: Do not re-resolve iterator value types 2025-03-31 08:29:52 +00:00
iteration.qml
javaScriptArgument.qml
jsArrayMethods.qml
jsArrayMethodsUntyped.qml QmlCompiler: Fix side effect detection for array methods 2024-07-02 21:16:21 +02:00
jsArrayMethodsWithParams.qml
jsArrayMethodsWithParamsUntyped.qml
jsMathObject.qml
jsimport.qml
jsmoduleimport.qml
jsonArrayToStringList.qml QML: Allow conversion between different list types 2024-07-03 16:36:49 +02:00
largeValueType.h Compiler: Properly read value type arguments when enforcing signatures 2024-07-17 12:14:46 +02:00
layouts.qml
letAndConst.qml
library.js
listAsArgument.qml
listConversion.qml QmlCompiler: Extend the listConversion test 2025-02-19 12:40:20 +01:00
listIndices.qml
listOfInvisible.qml
listPropertyAsModel.qml
listToString.qml
listlength.qml
listprovider.h QML: Allow conversion between different list types 2024-07-03 16:36:49 +02:00
listsingleton.h QmlCompiler: Do not re-resolve iterator value types 2025-03-31 08:29:52 +00:00
math.qml
mathMinMax.qml
mathOperations.qml
mathStaticProperties.qml
mergeSideEffects.qml QmlCompiler: Preserve external side effects across jumps 2025-06-27 21:56:31 +02:00
mergedObjectRead.qml
mergedObjectWrite.qml
methodOnListLookup.qml
methods.qml
modulePrefix.qml
moveRegVoid.qml
multiRedirect.qml QtQml: Clean up qmldir redirection 2025-02-26 20:54:39 +01:00
multiforeign.h
multiforeign.qml
multipleCtors.qml QtQml: Allow initialization of value types with object types 2024-09-24 13:58:33 +02:00
namespaceWithEnum.qml
noBindingLoop.qml
noBuiltinsImport.qml QmlCompiler: Only import hardcoded builtins by default 2025-02-18 22:43:53 +00:00
noQQmlData.qml
nonNotifyable.qml
noscope.qml
notEqualsInt.qml
notNotString.qml
nullAccess.qml
nullAccessInsideSignalHandler.qml
nullComparison.qml
nullishCoalescing.qml
numbersInJsPrimitive.qml
objectInVar.qml
objectLookupOnListElement.qml
objectWithStringListMethod.qml
objectwithmethod.h tst_qmlcppcodegen: Compile test with QT_NO_CAST_FROM_ASCII 2024-10-09 16:23:14 +02:00
oldEnum.qml qmltyperegistrar: Manually register names for Q_ENUMS 2025-07-07 19:35:20 +02:00
optionalComparison.qml
outOfBounds.qml
overriddenMember.qml
ownProperty.qml
page.qml Compute implicitSize based on implicitContentSize in Pane and subclasses 2024-12-18 20:37:27 +01:00
parentProp.qml
person.cpp
person.h
popContextAfterRet.qml
prefixedMetaType.qml
pressAndHoldButton.qml
propertyChanges.qml
qmlUsing.qml QmlCompiler: Implement calling of methods on value types 2024-11-22 17:39:29 +01:00
qmlusing.h QmlCompiler: Implement calling of methods on value types 2024-11-22 17:39:29 +01:00
qtbug113150.qml
qtfont.qml QmlCompiler: Allow conversion of object literals to QJSValue 2024-11-01 12:52:03 +01:00
readEnumFromInstance.qml
readonlyListProperty.qml
reduceWithNullThis.qml
registerPropagation.qml
registerelimination.qml
renameAdjust.qml
resettable.h
resettable.qml
returnAfterReject.qml
revisions.qml
scopeIdLookup.qml
scopeVsObject.qml
scopedEnum.qml Qml: Allow accessing unscoped enums values as <Component>.<Enum>.<Key> 2025-05-31 10:36:42 +02:00
script.js
script.mjs
scriptstringholder.h Compiler: Add missing conversion for variant equality comparisons 2025-02-18 20:02:02 +01:00
sequenceToIterable.h tst_qmlcppcodegen: Compile test with QT_NO_CAST_FROM_ASCII 2024-10-09 16:23:14 +02:00
sequenceToIterable.qml
sequencetypeexample.cpp
sequencetypeexample.h
setLookupConversion.qml
setLookupOriginalScope.qml
shadowedAsCasts.qml
shadowedMethod.qml
shadowedPrimitiveCmpEqNull.qml
shifts.qml
signal.qml
signalHandler.qml
signalIndexMismatch.qml
signalsWithLists.qml
signatureIgnored.qml
specificParent.qml
state.h
storeElementSideEffects.qml
stringArg.qml
stringLength.qml
stringToByteArray.qml
structuredValueType.qml QmlCompiler: Use correct static_metacall on DefineObjectLiteral 2024-12-12 18:20:55 +01:00
takenumber.cpp QmlCompiler: Name types when initializing structured value types 2024-12-19 12:39:38 +01:00
takenumber.h QmlCompiler: Name types when initializing structured value types 2024-12-19 12:39:38 +01:00
takenumber.qml QmlCompiler: Round towards 0 when coercing to 64bit integers 2024-12-20 09:44:16 +01:00
testlogger.js
text.qml
theme.cpp
theme.h
themerbad.qml
themergood.qml
thisObject.qml
throwObjectName.qml
timelinetheme.cpp
timelinetheme.h
toString.qml
topLevelComponent.qml
translation.qml
trigraphs.qml
trivialSignalHandler.qml
tst_qmlcppcodegen_verify.cpp Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
typePropagationLoop.qml
typePropertyClash.qml
typedArray.qml
unclearComponentBoundaries.qml QmlCompiler: Tighten detection of assignment to unknown properties 2025-02-21 16:20:38 +01:00
undefinedResets.qml
undefinedToDouble.qml
unknownAttached.qml
unknownParameter.qml
unknownUnderlyingType.qml QmlCompiler: Error out on unstorable types 2025-04-14 11:29:35 +02:00
unstoredUndefined.qml
unusedAttached.qml
urlString.qml
usingCxxTypesFromFileImports.qml
valueTypeCast.qml
valueTypeCopy.qml
valueTypeDefault.qml
valueTypeLists.qml QmlCompiler: Sharpen side effect detection 2025-06-23 15:44:38 +02:00
valueTypeProperty.qml
valueTypeReference.qml
variantMap.qml
variantMapLookup.h tst_qmlcppcodegen: Compile test with QT_NO_CAST_FROM_ASCII 2024-10-09 16:23:14 +02:00
variantMapLookup.qml
variantReturn.qml
variantlist.qml
variantreturn.h
versionmismatch.qml
voidConversion.qml
voidfunction.qml
weathermoduleurl.h QmlCompiler: Use correct static_metacall on DefineObjectLiteral 2024-12-12 18:20:55 +01:00
withlength.h QtQml: Allow initialization of value types with object types 2024-09-24 13:58:33 +02:00
wrapwithvariant.h
writableVariantMap.h QmlCompiler: Explicitly cast operations that result in QString 2024-05-25 08:11:24 +02:00
writeVariantMap.qml QmlCompiler: Explicitly cast operations that result in QString 2024-05-25 08:11:24 +02:00
writeback.qml