- Nov 07, 2014
-
-
Kai Koehne authored
Some QVariant's like QModelIndex cannot be streamed in a meaningful way: QDataType::save() will return false for them. However, this leads to a qWarning and Q_ASSERT in QVariant::operator<<(). To prevent this we're calling QDataType::save() manually beforehand. We however throw away the result if it succeeds, and still call QVariant::operator<<() to get the benefits of the QDataStream version handling. The alternatives would be to make QVariant::operator<<() not assert, or blacklist all known types with problems manually. Both seem to be difficult though ... Change-Id: I4f5fe6d5a3a076c24fbc73371a4d12d720de53da Task-number: QTBUG-42438 Reviewed-by:
Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Sep 17, 2014
-
-
Simon Hausmann authored
[ChangeLog][QtQml][Important Behavior Changes] When a JavaScript object/array is passed to C++ through a QVariant, the engine no longer immediately converts the object recursively into a QVariantMap or QVariantList but instead stores a QJSValue in the QVariant. This prevents a loss of data when the JS object contains non-primitive types such as function objects for example. Code that expects the variant type to be exactly QVariant::Map or QVariant::List may need to be adapted. Registered conversion functions however ensure that code that merely calls toMap() or toList() continues to work. Task-number: QTBUG-40431 Change-Id: I1dbc1d5f8e78ad28bb62db3681b9a0b34557e7f5 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Aug 25, 2014
-
-
Jani Heikkinen authored
- Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I84a565e2e0caa3b76bf291a7d188a57a4b00e1b0 Reviewed-by:
Jani Heikkinen <jani.heikkinen@digia.com>
-
- Feb 10, 2014
-
-
Ulf Hermann authored
The debug services generally behave in one of two ways when initializing: Either they block the initializing thread until some configuration is passed over the network or they just go on. By introducing a generalized configurable debug service the various ways of waiting on initialization are cleaned up. The API defined for it also allows for engine-specific initialization. Change-Id: Id5685ef17d2a7eb1222629f7caa5ec53076d47b2 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Feb 05, 2014
-
-
Ulf Hermann authored
Let the debug server handle adding and removing of engines through defined interfaces to prepare for multi-engine profiling and debugging. Change-Id: I7b277e54bdcce1d3e95e723f041a7db6b08b29fc Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Jan 22, 2014
-
-
Oswald Buddenhagen authored
remove trailing spaces and expand tabs Change-Id: Ieacb9d096b612c45d1a64700044c114d1f7522bc Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Sep 26, 2013
-
-
Lars Knoll authored
Don't use unprotected Values in the API anymore. Change-Id: I8851628227fca374de24701bc8ee0908b5ae3923 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Jul 03, 2013
-
-
Simon Hausmann authored
This replaces the entire rewriter with more or less: expressionToEval = "(function(<named params here>) { " + expr + " } )" This also fixes crashes at run-time when the signal rewriter was executed from the loader thread and tried to use a v4 identifier hash with the same engine that's also in the main thread. Change-Id: Ib1e4927d330706a593411fbff64ed3da1e23d0e0 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- May 24, 2013
-
-
Lars Knoll authored
Remove the remaining places that were rewriting bindings. Remove the binding rewriter class. Change-Id: Ib1e9121dc10f4526ddb7cf0ae32fecd8ce2d4993 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- May 07, 2013
-
-
Lars Knoll authored
Change-Id: I2c4e98cf7e778de9aafabdbd68e6682106343d12 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Jan 10, 2013
-
-
Sergio Ahumada authored
Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by:
Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- Sep 23, 2012
-
-
Iikka Eklund authored
Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Aug 27, 2012
-
-
Matthew Vogt authored
When resolving property names, only properties known to the current context of execution should be available. If a property name has been overriden by a component extension, code executing in the context of the base component should resolve the property name to the property available inside the base component or its bases. Task-number: QTBUG-24891 Change-Id: I9687cc28e108226d5a939627a901c8254344b598 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com> Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Aug 23, 2012
-
-
Michael Brasser authored
Rewrite signal handlers to include the parameters in the rewrite. Also check whether parameters are actually used when possible, and if not don't provide them to the expression. Change-Id: I7d65c05f4639979dd61035cf7478119ef7647c25 Reviewed-by:
Matthew Vogt <matthew.vogt@nokia.com> Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
- Jun 12, 2012
-
-
Kent Hansen authored
The QQmlData hooks signalEmitted() and receivers() now receive the index in the signal index range (i.e., excluding non-signal methods). This was done to avoid Q(Meta)Object having to compute the class's method offset; the signal offset should be sufficient for everyone. This required adapting QQmlNotifier, QQmlBoundSignal, QQmlPropertyCache and friends to use the signal index range whenever a property's notify signal is involved in the internal connection lists and property captures. Using the signal index range also reduces the memory used for NotifyList::notifies, since useless entries for non-signal methods will no longer be created. Change-Id: I62872fbea5a1f829b8b03bae3fc1e6acd84cf886 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
- May 25, 2012
-
-
Aurindam Jana authored
Send property data of type QVariant to the client. Change-Id: I5a18da18f1347935e4ccaafb05e3a877e73bbede Reviewed-by:
Christiaan Janssen <christiaan.janssen@nokia.com>
-
- May 21, 2012
-
-
Simjees Abraham authored
Resetting the binding for property corrected in case the property is nested (eg: font.bold) Task-number: QTCREATORBUG-6294 Change-Id: I39cca54c17860c4e6df1cf864cc2f70214d50c8f Reviewed-by:
Christiaan Janssen <christiaan.janssen@nokia.com>
-
- May 20, 2012
-
-
Matthew Vogt authored
Test for the existence of a VME metaobject. Otherwise, assertion of a static cast result is not meaningful. Change-Id: Ic9e9c38e5dce65c41d20e405c33e179334c37b00 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com> Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
- May 12, 2012
-
-
Aurindam Jana authored
Fetch Objects for given filename, line number and column number. Change-Id: I9a81e4c7fa75faaf87f02453026c5320b7f86003 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- May 09, 2012
-
-
Aurindam Jana authored
If the scope object is null or if there no QML context for the scope object, try to use the root context of the engine. Change-Id: I0068ea36f18a179b44791b81a2f6b8ec5423f615 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- May 01, 2012
-
-
Michael Brasser authored
Reference count the expressions, and improve testing. Change-Id: I810509eae1c7608b367e9ff5f7891a294667a692 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
- Apr 26, 2012
-
-
Aurindam Jana authored
Since the client and service needs to pack/unpack datastreams, they need to encode/decode using the lowest common QDataStream version. Change-Id: I3b4886fece59b24950ba618da07a0fefd41a5637 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Apr 18, 2012
-
-
Aurindam Jana authored
Send parent debug id when a new object is created. Change-Id: I8e3871fee91f0d24c44b0d458d5b273f9f527b11 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Mar 29, 2012
-
-
Aurindam Jana authored
Change-Id: Ic197656b90a309d1d9e72b9d6648fee86164c3e1 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Mar 28, 2012
-
-
Chris Adams authored
Previously, QQmlBoundSignal used QQmlExpression internally. This commit adds a new, more optimal QQmlJavaScriptExpression subclass specifically designed for QQmlBoundSignal, and converts the code to use it instead of QQmlExpression where appropriate. Task-number: QTBUG-24460 Change-Id: I2865a119ce840235e27a7722d8052ca61c265f69 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Mar 26, 2012
-
-
Michael Brasser authored
Change-Id: If549cf57bbac18a986a2a0e63fdc76902d2dae43 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Michael Brasser authored
Prepare for the addition of another subclass. Change-Id: I340f735503e661d9d735f3316a065f807294921b Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
- Mar 19, 2012
-
-
Aurindam Jana authored
Rename service from QDeclarativeEngine to QmlDebugger. Send a response for each query. Change-Id: I01cfeaf3e4116bfd7029d170ee228c159973947c Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
Kai Koehne authored
Change-Id: I6f753d14aa381fd29aadfc7c649599beb4ec4a9a Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Aurindam Jana authored
All created instances are stored under the root context. Check for the creation context of the object when building up the tree. Do the same when building up the states list. Change-Id: I8716d9966a61b8f7cb3ad4b7ab5acd4c94b4cd03 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Mar 15, 2012
-
-
Aaron Kennedy authored
This is the first step to creating much lighter weight bindings that are tuned for the specific scenario in which they're used. Change-Id: Ib985dcff25679b711b5c634bbc891aa7902bf405 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Mar 13, 2012
-
-
Kent Hansen authored
QMetaMethod::signature() has been renamed to methodSignature(), and it now returns a QByteArray. Also, the new function QMetaMethod::isValid() should be used to determine whether a method is valid, instead of relying on signature() returning a 0 pointer. Where it makes sense, the existing code that was using signature() and parameterTypes() has been changed to use the new API QMetaMethod::name(), parameterCount(), and parameterType(int). Also, in the new meta-object revision (7), the QMetaObject stringdata member is now of type QByteArrayData*. QFastMetaBuilder will be ported to generate the new format, but for now it's sufficient to reinterpret_cast the stringdata assignment to keep it compiling. Change-Id: Ie340ef17bcebc3afa4aae6450dfe2d06e4d881a4 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
Kai Koehne authored
Change-Id: I5c33113783834ef0c7292f5f19f12d8c68f42141 Reviewed-by:
Aurindam Jana <aurindam.jana@nokia.com>
-
- Mar 07, 2012
-
-
Aurindam Jana authored
Revert the names of the services changed in b855240b to maintain BC. Change-Id: I79826d92fd09c41e0020541b0c7bb77b5b2ecb1f Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Feb 24, 2012
-
-
Matthew Vogt authored
Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Feb 21, 2012
-
-
Aurindam Jana authored
Iterate through contents of QVariantMap to convert QObjects to streamable type. Change-Id: I2cb64a84aef674904de43f9a0c0fee539b87a59a Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
- Jan 30, 2012
-
-
Jason McDonald authored
As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: If39bd256b0fa85eba17ea30f8ab87ea27d758908 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Jan 23, 2012
-
-
Jason McDonald authored
Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- Jan 16, 2012
-
-
Christiaan Janssen authored
Change-Id: I2d69738158abfc76f80b1cfc0e0ccb145fda2245 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
- Jan 05, 2012
-
-
Jason McDonald authored
Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-