qtdeclarative/src/qml/jsruntime
Erik Verbruggen b80fa8e7d5 QML: Make all context objects trivial
This change also adds a check to the d() calls for Managed, verifies
that the object has been initialized. This is only done for debug
builds.

To prevent other code from tripping the check, a number of other classes
are either marked as trivial, or do initialization in the constructors.
Because of template function changes in them memory manager (those now
call init() instead of in-place new), String has an extra parameter
to force it to temporarily use an old/unmodified template function.

Change-Id: I8c35161ce7680835d830638b6d21498c5129b02b
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2016-09-30 14:14:31 +00:00
..
jsruntime.pri Add QT_NO_QML_DEBUGGER to MODULE_DEFINES on -no-qml-debug 2016-08-03 08:46:16 +00:00
qv4alloca_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4argumentsobject.cpp QML: Make QV4::Heap::Pointer trivial 2016-09-28 08:46:50 +00:00
qv4argumentsobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4arraybuffer.cpp Fix conversion of QByteArray back to String in JavaScript 2016-08-30 13:48:22 +00:00
qv4arraybuffer_p.h Fix conversion of QByteArray back to String in JavaScript 2016-08-30 13:48:22 +00:00
qv4arraydata.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4arraydata_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4arrayobject.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4arrayobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4booleanobject.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4booleanobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4context.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4context_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4context_p_p.h QML: make QmlContext::qml{Context,Scope} inlinable. 2016-04-05 13:53:16 +00:00
qv4dataview.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4dataview_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4dateobject.cpp V4: Handle QTime->DateObject conversion better 2016-08-10 17:17:15 +00:00
qv4dateobject_p.h V4: Handle QTime->DateObject conversion better 2016-08-10 17:17:15 +00:00
qv4debugging_p.h Replace debugger and profiler with stubs on -no-qml-debug 2016-07-28 12:59:57 +00:00
qv4engine.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4engine_p.h V4: Handle QTime->DateObject conversion better 2016-08-10 17:17:15 +00:00
qv4errorobject.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4errorobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4executableallocator.cpp Updated license headers 2016-01-19 14:53:18 +00:00
qv4executableallocator_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4function.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4function_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4functionobject.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4functionobject_p.h Fix signatures of FunctionObject::construct and call 2016-08-09 09:33:52 +00:00
qv4global_p.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-20 12:26:08 +02:00
qv4globalobject.cpp Qml: replace QStringLiteral with QL1S 2016-07-05 15:22:08 +00:00
qv4globalobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4identifier.cpp Optimize named object handling 2016-05-26 19:57:55 +00:00
qv4identifier_p.h Optimize named object handling 2016-05-26 19:57:55 +00:00
qv4identifiertable.cpp V4: calculate the hash only once when inserting a string. 2016-05-12 14:08:37 +00:00
qv4identifiertable_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4include.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4include_p.h QtLite: no_network option for QtDeclarative 2016-03-04 13:09:51 +00:00
qv4internalclass.cpp Merge remote-tracking branch 'origin/5.7' into dev 2016-08-02 18:34:30 +02:00
qv4internalclass_p.h QML: Allow for inlining InternalClass::find 2016-07-15 10:32:45 +00:00
qv4jsonobject.cpp Qml: replace QStringLiteral with QL1S 2016-07-05 15:22:08 +00:00
qv4jsonobject_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4lookup.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4lookup_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4managed.cpp Updated license headers 2016-01-19 14:53:18 +00:00
qv4managed_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4math_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4mathobject.cpp Merge remote-tracking branch 'origin/5.7' into dev 2016-05-24 14:00:39 +02:00
qv4mathobject_p.h Add some ECMAScript 6 Number and Math methods and properties 2016-04-28 08:32:35 +00:00
qv4memberdata.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4memberdata_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4numberobject.cpp Merge remote-tracking branch 'origin/5.7' into 5.8 2016-08-26 20:40:28 +02:00
qv4numberobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4object.cpp Qml: replace QStringLiteral with QL1S 2016-07-05 15:22:08 +00:00
qv4object_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4objectiterator.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-20 12:26:08 +02:00
qv4objectiterator_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4objectproto.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4objectproto_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4persistent.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-20 12:26:08 +02:00
qv4persistent_p.h V4: tighten up various casts to check also check type. 2016-06-08 08:04:53 +00:00
qv4profiling.cpp QmlProfiler: Send RangeData and RangeLocation only once per type 2016-05-27 09:31:08 +00:00
qv4profiling_p.h V4: Make ExecutionEngine's debugger and profiler private 2016-07-28 15:09:33 +00:00
qv4property_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4qobjectwrapper.cpp QML: Replace QPointer with a QQmlQPointer (which is trivial) 2016-09-27 08:37:39 +00:00
qv4qobjectwrapper_p.h QML: Replace QPointer with a QQmlQPointer (which is trivial) 2016-09-27 08:37:39 +00:00
qv4regexp.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4regexp_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4regexpobject.cpp QML: Make QV4::Heap::Pointer trivial 2016-09-28 08:46:50 +00:00
qv4regexpobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4runtime.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4runtime_p.h QML: Obliterate QQmlAccessors 2016-08-30 13:07:51 +00:00
qv4runtimeapi_p.h Fix binding dependencies when used in together with functions 2016-08-30 13:48:19 +00:00
qv4scopedvalue_p.h QML: Specialize bindings based on target property type. 2016-06-27 06:20:23 +00:00
qv4script.cpp Fix endianness in constant handling 2016-08-03 08:49:16 +00:00
qv4script_p.h Make generated code loading constants relocatable 2016-08-02 10:37:28 +00:00
qv4sequenceobject.cpp QML: Replace QPointer with a QQmlQPointer (which is trivial) 2016-09-27 08:37:39 +00:00
qv4sequenceobject_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4serialize.cpp V4: allow inlining of ExecutionEngine::{qml,js}Engine() 2016-05-20 13:44:13 +00:00
qv4serialize_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4sparsearray.cpp Updated license headers 2016-01-19 14:53:18 +00:00
qv4sparsearray_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4string.cpp QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4string_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4stringobject.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4stringobject_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4typedarray.cpp V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4typedarray_p.h V4: Pass scope around as parameters inside the runtime. 2016-06-22 11:07:05 +00:00
qv4util_p.h Particles: replace a QSet<int> with a bit vector for group data. 2016-03-08 09:37:40 +00:00
qv4value.cpp Updated license headers 2016-01-19 14:53:18 +00:00
qv4value_p.h QML: Make all context objects trivial 2016-09-30 14:14:31 +00:00
qv4variantobject.cpp V4: allow inlining of ExecutionEngine::{qml,js}Engine() 2016-05-20 13:44:13 +00:00
qv4variantobject_p.h Updated license headers 2016-01-19 14:53:18 +00:00
qv4vme_moth.cpp Fix binding dependencies when used in together with functions 2016-08-30 13:48:19 +00:00
qv4vme_moth_p.h Updated license headers 2016-01-19 14:53:18 +00:00