- 14 Mar, 2012 12 commits
-
-
Miikka Heikkinen authored
There is no dummy.qml, so trying to find it will cause a warning and return an empty string. Since the url is optional anyway and apparently not relevant to this test, just use empty QUrl directly. Change-Id: I11ba742dedccd6bdea226f680aa57c957afc7dc7 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@nokia.com>
-
Miikka Heikkinen authored
These tests are marked insignificant for now to make CI runs pass. Insignifications need to be removed once the related issues are fixed. Change-Id: I3a1d36e5b17cf2f1b2f00b20b615359d96975f2b Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@nokia.com>
-
Kent Hansen authored
Instead of "Can't find variable: foo", use "foo is not defined". This is in preparation of letting V8 throw the exception when a property lookup fails on the QML scope object (needed for QTBUG-24448). Change-Id: I3c747482a8ef138dad9a85530a4f6b5c4c818a03 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
Kai Koehne authored
This allows users to use QT_FATAL_WARNINGS. Change-Id: I114825764c841030418c956d23575159157dfd69 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Kai Koehne authored
Change-Id: I1b53afeb2a9f0d6e571c5ed87304e85896523488 Reviewed-by:
Aurindam Jana <aurindam.jana@nokia.com>
-
Kai Koehne authored
Remove export macro logic for internal classes. Change-Id: I4dfa7f8e7bc9b5086e01e40342bd00812d5966bd Reviewed-by:
Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@nokia.com>
-
Caroline Chao authored
The code coverage tool adds #line when instrumenting the code using the gcc syntax. tst_headersclean uses the -pedantic-errors flag which causes a fatal error when the code is instrumented with the coverage tool. Similar change was done for qtbase (4ee14d6f87688492). Change-Id: I525879ef56463473dd3c9eb91dee4d9b8310cdf9 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
Luis Gabriel Lima authored
The type of the and expressions, e.g. (a && b), were being assigned to the type of the right hand expression (b). As reported in QTBUG-24660, this approach could lead to some unexpected behaviors. Now, when the left and right hand expressions are of different types, the responsability to deal with the and expression is delegated to v8. Task-number: QTBUG-24660 Change-Id: Ic42ebb035e62e2f197c337b2106d00453a99f04c Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Chris Adams authored
CustomParticle and ShaderEffect are currently broken. Disabling these examples until they can be fixed. Task-number: QTBUG-24034 Change-Id: Ic1ebba1f66f28495822cd729af1e1c24acad79da Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
Martin Jones authored
Much faster than creating a new one for each example. Change-Id: Ic32f244047e0dba78134ba0e3d368260be838f1e Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Michael Brasser authored
Change-Id: I72911a2c8e0a8613e53861da7b38312e51bf57da Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Martin Jones authored
Makes the tests run faster since we're not waiting for a window to appear all the time. Change-Id: Id2442cf32055084088c19865499055c7282bcae0 Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
- 13 Mar, 2012 12 commits
-
-
Charles Yin authored
Add a flag and helper functions for disabling user control in QAbstractAnimationJob class and make it synchronized with QDeclarativeAnimation class's disableUserControl flag. Change-Id: Ifa84ab0c78291941469c33f2cafe5f61ee718b2c Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Casper van Donderen authored
QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I62d203f21df63a95ee236e578b10418fd9680707 Reviewed-by:
Jerome Pasion <jerome.pasion@nokia.com>
-
Charles Yin authored
Simulates the drag behavior by press-move-move-release mouse events, we need 2 move events here to trigger the drag threshold. Task-number: QTBUG-22753 Change-Id: Ic3470c061834b7410c524029d82375cba62afa36 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Aurindam Jana authored
Add signals that are emitted on debugger responses for flaky auto tests. Change-Id: Ic59f559083b2b19fb8eec920dcb76f23125639a8 Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-
Martin Jones authored
Makes the tests run faster since we're not waiting for a window to appear all the time. Change-Id: Ibff3706873dbad2f92d2135eae260368f4f4bb10 Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Toby Tomkins authored
The default image scaling behaviour has changed in qtdeclarative. This change fixes the autotest to conform to fixed ratio scaling. Change-Id: I9c901825295fb04cab74c46f61696c5274ddd943 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Chris Adams authored
Previously, the engine pointer stored in a QQmlProperty could be stale due to engine deletion. This commit ensures we guard that pointer. Also reverts cbb7f8b1 Task-number: QTBUG-24734 Change-Id: I5349c51fbd19fa46a8710280173c1d224358b96e Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Martin Jones authored
Change-Id: I98b0a45b5afd0150bfacef2c1c1e814f70ae042f Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Martin Jones authored
Task-number: QTBUG-24664 Change-Id: I2a2fe144835e61665b8693d58ca4fb9ba506e8a8 Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Chris Adams authored
Change-Id: I6883f263648d425240503f6abbd358b744d68506 Reviewed-by:
Glenn Watson <glenn.watson@nokia.com>
-
Bea Lam authored
They should only move if they actually change from the last set position, and not if they are simply changing from their current item position, as that is wrong during an animation. This also cleans up some code for resetting the transition data. Task-number: QTBUG-24586 Change-Id: I0a6635903975ebc40d5cf8398b943a9de92d4493 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Glenn Watson authored
The repeater item previously stored a raw QObject pointer in a variant. When this pointer was a dynamic list model element that was deleted, the variant would continue to hold a stale pointer. Change repeater to use a guard object to hold the model when it is a QObject. Continue to use a variant to hold models that are not based on QObject to maintain same semantics. Change-Id: Ie100947132923803263c725e86efa68206382f12 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 12 Mar, 2012 9 commits
-
-
Michael Brasser authored
Use the correct type to look up the sub property. Task-number: QTBUG-24606 Change-Id: Iab372ca7440249241bf855d2875a947ad8fe4527 Reviewed-by:
Chris Adams <christopher.adams@nokia.com> Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Michael Brasser authored
Change-Id: Id33eb50e4a01f3450515f6e666e18cb018f1706e Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
Rohan McGovern authored
This test is no longer a host-only test. Enable it everywhere. Change-Id: Id7e65ad4d6f468b6b65d0f6035934fbd20fcb5e0 Reviewed-by:
Toby Tomkins <toby.tomkins@nokia.com>
-
Lars Knoll authored
Change-Id: I43bb54524f5786a838073df8812107dda7b0d56e Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
Laszlo Agocs authored
The hover test seems to be simply wrong. The double click tests worked before due to the obscure handling of double click but were somewhat incorrect in any case. Change-Id: Ie5690e26eb5921fe149e128d24d331f52a5a9075 Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
Michael Brasser authored
Recent changes to mouse double-click handling mean that two calls to QTest::mouseClick with the same position will result in a double click, which was causing this test to fail. Change-Id: I21e6aa7ab2221b6ea82b1afd13e36b7ba0aef8dc Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
Kent Hansen authored
The test is blocking the CI because it crashes on linux/x64. By "luck" it doesn't crash on the other test machines -- valgrind still complains, though. Task-number: QTBUG-24734 Change-Id: I6bc12ca72f8900339bc9139b40cf828aff8e47ba Reviewed-by:
Lars Knoll <lars.knoll@nokia.com>
-
Kent Hansen authored
The worker_remove_element test calls processEvents() before calling waitForWorker(). It's possible that the worker actually finishes during the processEvents() call. In such a situation, waitForWorker() should return right away; otherwise it would wait for 10000ms for a signal that had already emitted, and the test would fail. Change-Id: I8e98a3297cf5f360c1c405b1baa7524cc6593d81 Reviewed-by:
Lars Knoll <lars.knoll@nokia.com>
-
Lars Knoll authored
Change-Id: Iea22ae6596c04ba95d59bcb3957bdc3cf9263ae2 Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
- 11 Mar, 2012 1 commit
-
-
Rohan McGovern authored
This test wasn't testing much before. Refactor it to reuse headersclean from qtbase. It will now fail to compile if the headers from this module don't follow the rules. Change-Id: I2816b85543da74f66b993b7ee705cdb9e1c0f1c8 Reviewed-by:
Jason McDonald <jason.mcdonald@nokia.com>
-
- 10 Mar, 2012 2 commits
-
-
Bea Lam authored
refill() functionality should reposition items immediately, else removeNonVisibleItems() sees different positions from those added in addVisibleItems() if an item is animating. Change-Id: Ib9904e08bf92b18fd4b712270c0ab69e9a113e04 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Luis Gabriel Lima authored
This patch was based on the attached patch in QTBUG-7369. It basically exposes the wheel events to MouseArea via the onWheel signal. The current API is based on the new QWheelEvent API introduced by this patch: http://codereview.qt-project.org/#change,12532 Task-number: QTBUG-7369 Change-Id: Id58513715c2d0ae81e3a69e9e1ed400bbae07507 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- 09 Mar, 2012 4 commits
-
-
João Abecasis authored
QList<Type>::reserve() is used upfront to allocate necessary memory in a one go. This tells us straight away whether allocation is possible at all and reduces re-allocations and consequent memory copies. This also has the side effect that no spare memory is allocated, also allowing up to (and including) INT_MAX elements to actually be stored in the underlying QList, as long as enough memory is available to satisfy the allocation request and subsequent fill. The qqmlecmascript::sequenceConversionIndexes was changed to not attempt INT_MAX allocations as, given enough memory and virtual address space, that might succeed but take a really long time. Change-Id: I4b0c965e9c23be78874343a70d7c155933c80903 Reviewed-by:
Chris Adams <christopher.adams@nokia.com> Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
Michael Brasser authored
Task-number: QTBUG-24606 Change-Id: I0909d60316f7213b21fc315e8a3d0a6124e84409 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Glenn Watson authored
If a listmodel with static role types is created, it would crash if a role was assigned a value type such as string, and then subsequently assigned an array (sub list) value from a dynamic meta object (created when using get() from JS). Change-Id: Ibfd0b0b40be13b04103b49462cfae42a5c9f9fb9 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Aurindam Jana authored
Remove QQmlDebugClient and relevant classes from the library and move to client code. Change-Id: I6f526b3f0c92970dcad5e5abd8585bb9b406349e Reviewed-by:
Kai Koehne <kai.koehne@nokia.com>
-