aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert most remaining return values from Value to ReturnedValueLars Knoll2013-09-1859-498/+553
| | | | | Change-Id: If8b0c3b91be50678693868c10fefc3678008834d Reviewed-by: Simon Hausmann <[email protected]>
* Fix regression in Object.isExtensible()Lars Knoll2013-09-181-1/+1
| | | | | | | | We need to encode a bool, but the extensible flag in Object is a bitfield (ie uint). Change-Id: I2461c8ae90e92840da737c0c7ee88b9a2cee21e3 Reviewed-by: Simon Hausmann <[email protected]>
* Convert more methods to use ReturnedValueLars Knoll2013-09-1814-63/+86
| | | | | | | Change Exception.value() and a few other places. Change-Id: I53ce17e5656e260138b1ac7f6d467e4636c0a0b9 Reviewed-by: Simon Hausmann <[email protected]>
* Convert builtin methods to return a ReturnedValueLars Knoll2013-09-1854-1488/+1545
| | | | | Change-Id: I6b75adbf53a5be0deab023d2eed98ce2a7915551 Reviewed-by: Simon Hausmann <[email protected]>
* Rename BuiltinFunctionOld to BuiltinFunctionLars Knoll2013-09-183-8/+8
| | | | | | | | This is the correct abstraction for a builtin method. Time to get rid of the 'old' in the name. Change-Id: Ia386d2cc8ef0e6c269ab24da6fc8ebfac52d7f69 Reviewed-by: Simon Hausmann <[email protected]>
* Don't check whether Scoped<T> really contains a TLars Knoll2013-09-181-3/+3
| | | | | | | | | | When retriveing a pointer to T, there's no need to check that we really have a Managed stored in the value, as the type checking is already done by the constructor and assignment operators. Change-Id: I246610b8d6e33848e6a2e2179a5e6e6d9d0975ca Reviewed-by: Simon Hausmann <[email protected]>
* Convert lookups to use ReturnedValueLars Knoll2013-09-189-236/+159
| | | | | Change-Id: Idbcd1fbd2aa43775ce8c1a3d8fac29a6b58b678a Reviewed-by: Simon Hausmann <[email protected]>
* Use a ReturnedValue for Managed::getIndexed()Lars Knoll2013-09-1826-116/+185
| | | | | Change-Id: I0371ed21c4ef99564d3ffa1082dd109e890a78bf Reviewed-by: Simon Hausmann <[email protected]>
* Use ReturnedValue for Managed::get().Lars Knoll2013-09-1843-190/+320
| | | | | Change-Id: Ia8f35d227b69d32e1f6a041283abbbd083aa34ca Reviewed-by: Simon Hausmann <[email protected]>
* Use ReturnedValue for Managed::construct()Lars Knoll2013-09-1825-91/+92
| | | | | Change-Id: I9e702d60c4e1b7ba19a699ff7a8d53876d6cd5f7 Reviewed-by: Simon Hausmann <[email protected]>
* Don't access out of bounds argumentsLars Knoll2013-09-181-1/+1
| | | | | | | | QQmlV4Function wasn't checking argc correctly when accessing the arguments it contains. Change-Id: I475c1366d46a5ef9c91104c12343507e469a69bb Reviewed-by: Simon Hausmann <[email protected]>
* Rename QV4::ValueScope to QV4::ScopeLars Knoll2013-09-1834-115/+115
| | | | | | | | The class is going to be used all over the place, so let's give it a short name :) Change-Id: If61543cb2c885e7fbb95c8fc4d0e870097c352ed Reviewed-by: Simon Hausmann <[email protected]>
* Require a ValueScope for ScopedCallData as wellLars Knoll2013-09-1828-102/+144
| | | | | | | | This brings things more in line with ScopedValue, and also simplifies cleanup of Scoped values. Change-Id: If5f1466b4e13c629d56c1e7c638937f61ba48f77 Reviewed-by: Simon Hausmann <[email protected]>
* Use a ReturnedValue for Managed::call()Lars Knoll2013-09-1843-146/+189
| | | | | Change-Id: Ief2d75e9789dd367c603d90dc0fe5316a0d055e3 Reviewed-by: Simon Hausmann <[email protected]>
* Adjust return values to use ReturnedValueLars Knoll2013-09-183-38/+40
| | | | | Change-Id: I03822d360ad90cc659da66252439472ecb1a52bb Reviewed-by: Simon Hausmann <[email protected]>
* Change calling convention in JIT to use ReturnedValueSimon Hausmann2013-09-189-67/+47
| | | | | | | This simplifies the masm backend as well and should be faster. Change-Id: I64ad5d9ee1b6caca950471e3aec4ef19d7503e62 Reviewed-by: Lars Knoll <[email protected]>
* Disable quick autotests on mac until qtbase is fixedLars Knoll2013-09-181-1/+2
| | | | | Change-Id: I8c4fecfe42f93b3d6c272d2552a856e3ed1fce28 Reviewed-by: Gunnar Sletta <[email protected]>
* Avoid copying touchpoints, and only check until we find a match.Robin Burchell2013-09-171-2/+7
| | | | | | | | Change-Id: I46fad782e93fe1f940acec05f4e1bb4afb5be230 Reviewed-by: Andrew Knight <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> Reviewed-by: Laszlo Agocs <[email protected]> Reviewed-by: Frederik Gladhorn <[email protected]>
* Expose "Qt.application.state".Yoann Lopes2013-09-174-9/+123
| | | | | | | | | | | This deprecates Qt.application.active. The new property can indicate more states than just active or inactive (currently Suspended and Hidden exists in addition to the aforementioned). Change-Id: I8d5bf72f89a357c13daf1625c20e8e7311dac013 Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Alan Alpert <[email protected]>
* These files are not used anywhere.Gunnar Sletta2013-09-173-1742/+0
| | | | | | Change-Id: I0aa3b7ad944375ec53d8bd831a233d8055d21582 Reviewed-by: Giuseppe D'Angelo <[email protected]> Reviewed-by: Yoann Lopes <[email protected]>
* wince: Build fix, Windows can also run on ARM.Sergio Martins2013-09-171-0/+2
| | | | | | Change-Id: I113a9fd86215700fe11fa5b2bfb8461953b1255b Reviewed-by: Andreas Holzammer <[email protected]> Reviewed-by: Simon Hausmann <[email protected]>
* Doc: PathView::currentItem is an Item, not an int.David Faure2013-09-171-4/+4
| | | | | | Change-Id: If06c747b424ac8dd6b880aa296af5e5957bb9b51 Reviewed-by: Topi Reiniö <[email protected]> Reviewed-by: Jerome Pasion <[email protected]>
* qmlplugindump: fix prototypes identification for composite typesCaroline Chao2013-09-171-11/+11
| | | | | | | | | The prototype name for the composite type is the first "default" prototype found in the reachable types. If none is found then the default value is QObject. Change-Id: I40b4fefaab40e4c9f83d24c89bd026579be63e7b Reviewed-by: Fawzi Mohamed <[email protected]>
* Qt Quick Dialogs: can see and control geometry of QML implementationsShawn Rutledge2013-09-173-13/+61
| | | | | | | | | | | QQuickAbstractDialog had x/y/width/height properties already but they didn't do anything. It's still not possible with the native dialogs because neither QPlatformDialogHelper nor QFileDialogOptions etc. have any geometric properties; but the application author can now see and control the geometry of any QML dialog implementation. Change-Id: Icdac9592c72e81175436436027f7fe3d75ff7f42 Reviewed-by: Liang Qi <[email protected]>
* Fix wrong return typeAlex Blasche2013-09-171-1/+1
| | | | | | | | | | | | | | Android g++4.8 errors out with jsapi/qjsvalueiterator.cpp: In member function 'QString QJSValueIterator::name() const': jsapi/qjsvalueiterator.cpp:155:16: error: converting 'false' to pointer type for argument 1 of 'QString::QString(const char*)' [-Werror=conversion-null] return false; Change-Id: I589418e34c7e1ae72f2bf547067ea8e5944119b8 Reviewed-by: Simon Hausmann <[email protected]> Reviewed-by: Paul Olav Tvete <[email protected]> Reviewed-by: Lars Knoll <[email protected]>
* Removed strange character from MacroAssemblerARM.cpp file.Tomasz Olszak2013-09-171-1/+1
| | | | | | | | | | It caused: error: stray ‘\302’ in program error: stray ‘\304’ in program when cross-compiling for ARM with gcc 4.5 Change-Id: Ibd80a21b436b65b355181b1e304ade22f9ff7404 Reviewed-by: Simon Hausmann <[email protected]>
* Don't depend on widgets plugin in QtQuickEskil Abrahamsen Blomfeldt2013-09-171-2/+2
| | | | | | | | | | Since the accessible directory contains plugins for both the widgets and quick plugins, we need to specify the precise plugin, otherwise all QtQuick apps will depend on QtWidgets on Android. Change-Id: I8016afc64f8a75cc4ac0a3a69871df9cb2894f8a Reviewed-by: Christian Stromme <[email protected]>
* Add currentColor property to ColorDialog.Mitch Curtis2013-09-175-23/+55
| | | | | | | | | | | | QColorDialog has this property. This patch effectively means that the color property will be set when the dialog closes, instead of whenever the current color in the dialog changes, so pressing cancel will revert the color to what it was before the dialog was opened. [ChangeLog][QtDeclarative][ColorDialog] Added currentColor property. Change-Id: I2ef6b32954342cd2469cf1552d53f9e2fbf3420b Reviewed-by: Shawn Rutledge <[email protected]>
* fixed warnings in dialog module when PURE_QML_ONLY is definedShawn Rutledge2013-09-171-1/+4
| | | | | | | There are a couple of unused parameters in that case. Change-Id: Ica81621e7d74474cbfa0b54c20501ecc72661c08 Reviewed-by: Liang Qi <[email protected]>
* Add qml toolAlan Alpert2013-09-1716-11/+769
| | | | | | | | | | | | | | | | | | | This tool simply runs QML files using a QQmlApplicationEngine. It is configurable so as to behave, by default, like qmlscene in that it will automatically place non-Window QtQuick 2 Items inside a QQuickWindow with the size of the root item. The configuration is extensible so that other GUI scenes can also use it by altering the configuration files in their installation. On OS X, it is an app bundle, and handles the QFileOpenEvent so that it can be the tool with which qml files are usually launched by double-clicking. (This does not break the ability to use it on the command line too: the options still work, you just have to give the path to the executable inside the bundle.) Change-Id: I6bac813ce188be54842a78d7b532fcf2d54dc443 Reviewed-by: Alan Alpert (Personal) <[email protected]>
* Skip failing testsAlan Alpert2013-09-161-0/+3
| | | | | | | | | Rendering seems to have changed for some reason. Unblocking CI while it is investigated. Task-number: QTBUG-33517 Change-Id: Ieb7fdf2bbe151fc46fbdee64a2b5786349f9fbe8 Reviewed-by: Giuseppe D'Angelo <[email protected]>
* Skip failing test for nowAlan Alpert2013-09-161-0/+3
| | | | | | | | | It's been difficult to reproduce locally and is blocking CI. Skipping test while we look into the error. Task-number: QTBUG-33516 Change-Id: I77f00a024143e12d19526d0b52593cc2d128cedf Reviewed-by: Giuseppe D'Angelo <[email protected]>
* Merge "Merge remote-tracking branch 'origin/stable' into dev" into ↵Sergio Ahumada2013-09-133-94/+106
|\ | | | | | | refs/staging/dev
| * Merge remote-tracking branch 'origin/stable' into devSergio Ahumada2013-09-133-94/+106
| |\ | | | | | | | | | Change-Id: I6fc67bf30a901f8078a5b99a9e290190b3f64b81
| | * Add missing file to qquickflickable testMartin Jones2013-09-091-0/+26
| | | | | | | | | | | | | | | | | | Change-Id: I69014a85f61bbf1958daa1e4b6cda59534c04a83 Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Alan Alpert <[email protected]>
| | * Stabilize tst_QQuickMultiPointTouchArea.Friedemann Kleint2013-09-061-94/+79
| | | | | | | | | | | | | | | | | | | | | Center windows on screen, introduce QScopedPointer. Change-Id: Ia9205f74211eba1f2d2250ff1c76f54618ed7d79 Reviewed-by: Alan Alpert <[email protected]>
| | * Fix a warning about not using a set variableLaszlo Papp2013-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 6a36bcb7945109daebd6464ee6d0a3f6724fb18b fixed similar warnings, but apparently the tools folder was left out. Change-Id: If7f889e404264688fa6208afcd3bfdba5a161714 Reviewed-by: Thiago Macieira <[email protected]> Reviewed-by: Alan Alpert <[email protected]>
* | | Expose drag threshold in MouseAreaJens Bache-Wiig2013-09-136-10/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In several cases such as for creating a Slider, it is useful to have a 0 pixel threshold in order to initiate a drag operation. We have previously hardcoded this to a platform dependent (usually 10 pixel) value for MouseArea. Note that we have no way of indicating the version/revision number in a grouped property for documentation at the moment. In addition we deliberately had to remove the REVISION from the property because it is blocked by QTBUG-33179. However, since this is not a user-creatable type it should not cause any issues in practice. This patch adds MouseArea.drag.threshold in order to improve on this. Change-Id: Ia4871e64fab39e30c4494f00be99ad38cdd630df Reviewed-by: J-P Nurmi <[email protected]>
* | | systemdialogs example bug fix: don't allow clicking through tabsShawn Rutledge2013-09-131-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | For example on Font Dialogs tab of examples/quick/dialogs/systemdialogs/systemdialogs.qml it was possible to open the color dialog by clicking slightly below the open button, because the color dialog tab was behind the current one. Change-Id: If9917e2baef7cfd49a0d01acd73ffa69dfcee088 Reviewed-by: Liang Qi <[email protected]>
* | V4: Fix SSA decomposition when no regalloc is used.Erik Verbruggen2013-09-138-248/+257
| | | | | | | | | | | | | | | | | | Add scheduling for moves generated by removing phi nodes by re-using the MoveMapping class from the register allocator. This change applies to both the JIT when no register allocator is used, and the interpreter. Change-Id: I38eac5b13759c7790132d1ef07fa17fcb53187e3 Reviewed-by: Simon Hausmann <[email protected]>
* | qmlplugindump: Add support for composite typesCaroline Chao2013-09-131-54/+139
| | | | | | | | | | | | | | Task-number: QTBUG-33106 Change-Id: I80fc817eb59256e860f3fdd591104930688ef84c Reviewed-by: Shawn Rutledge <[email protected]>
* | Remove qStableSort usages from declarativeGiuseppe D'Angelo2013-09-131-1/+2
| | | | | | | | | | | | | | | | QtAlgorithms is getting deprecated, see http://www.mail-archive.com/[email protected]/msg01603.html Change-Id: I57912f2d1f36053055ea36b1699f704a675dc8b0 Reviewed-by: Gunnar Sletta <[email protected]>
* | Remove qLowerBound usages from declarativeGiuseppe D'Angelo2013-09-132-5/+6
| | | | | | | | | | | | | | | | QtAlgorithms is getting deprecated, see http://www.mail-archive.com/[email protected]/msg01603.html Change-Id: I85df32525af0c5706c631555a06b66ef3484d797 Reviewed-by: Lars Knoll <[email protected]>
* | Remove qCopy usages from declarativeGiuseppe D'Angelo2013-09-131-3/+5
| | | | | | | | | | | | | | | | QtAlgorithms is getting deprecated, see http://www.mail-archive.com/[email protected]/msg01603.html Change-Id: Id410f20cba2abb4724351ebb29e20b7a8f784ede Reviewed-by: Lars Knoll <[email protected]>
* | Remove qSort usages from declarativeGiuseppe D'Angelo2013-09-1316-34/+61
| | | | | | | | | | | | | | | | | | QtAlgorithms is getting deprecated, see http://www.mail-archive.com/[email protected]/msg01603.html Change-Id: I8fa7d0186cc8f0ba562695974829e37f1eb87f2f Reviewed-by: Gunnar Sletta <[email protected]> Reviewed-by: Lars Knoll <[email protected]>
* | Fix ReturnedValue support on ia32 and armSimon Hausmann2013-09-121-1/+17
| | | | | | | | | | | | | | The 64-bit value is passed in eax:edx and r0:r1 Change-Id: I9a8a7d8ae41f14780958351ecedea2d117f77d85 Reviewed-by: Lars Knoll <[email protected]>
* | Convert ReturnedValue into a primitive (typedef to quint64)Lars Knoll2013-09-1210-158/+153
| | | | | | | | | | | | | | | | | | | | | | ReturnedValue is used to return values from runtime methods The type has to be a primitive type (no struct or union), so that the compiler will return it in a register on all platforms. They will be returned in rax on x64, [eax,edx] on x86 and [r0,r1] on arm. Change-Id: I38433e6fad252370dda5dc335d9c5be8f22e8c76 Reviewed-by: Simon Hausmann <[email protected]>
* | Fix __qmljs_init_closure to use ReturnedValueLars Knoll2013-09-124-6/+6
| | | | | | | | | | Change-Id: I777a63db32857a6a326839e3fcdb99657dc80e7f Reviewed-by: Simon Hausmann <[email protected]>
* | Change binops to use ReturnedValueLars Knoll2013-09-125-135/+104
| | | | | | | | | | Change-Id: I068b1af5c352fc84793079e5bccbe3482b04cafa Reviewed-by: Simon Hausmann <[email protected]>
* | Convert unary operations and some other runtime methodsLars Knoll2013-09-124-57/+47
| | | | | | | | | | Change-Id: I985876ade37efd24e1d4f8360a6472282cf44f8b Reviewed-by: Simon Hausmann <[email protected]>