summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* browser: Don't add closed tabs to the closed-tab history in privacy modeTor Arne Vestbø2009-09-251-4/+7
| | | | | Task-number: QTBUG-4508 Reviewed-by: Simon Hausmann
* tst_qfilesystemwatcher directory changed test relaxedmread2009-09-251-1/+3
| | | | | | | | | The polling watcher was generating two events for directory content deletion on Symbian emulator. 1 for content change, 1 for time change. Seems within the bounds of reason for a poller, so test relaxed to allow it. Reviewed-by: Liang QI
* Doc: Point out that not all DBMS'es can be expected to function equally well.Volker Hilsheimer2009-09-251-2/+9
| | | | | In particular, MSSQL, DB2 and Sybase suffer from cross-platform and feature complete client libraries.
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-2525-118/+494
|\
| * Replacing QPointer usage with QWeakPointer in statemachineLeonardo Sobral Cunha2009-09-253-7/+7
| | | | | | | | Reviewed-by: thierry
| * Use qDebug() instead of printf() when dumping the simplex matrix.Jan-Arve Sæther2009-09-252-12/+11
| | | | | | | | | | | | printf() does not work very well on windows, since it will not send the output to OutputDebugString(). This allows us to catch the output even if the program is configured without "CONFIG += console".
| * Fixed the image comparison tests for Windows Mobile 5ninerider2009-09-253-3/+14
| | | | | | | | | | | | | | The image comparison reference snapshots were not up to date. Also the comparison ignores the title bar completely. Reviewed-by: banana joe
| * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-2530-162/+1558
| |\
| | * Fix app showing a blank screen after switching to it using task switcherShane Kearns2009-09-251-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On S60, the widget backing store is dropped when app window is hidden in order to save memory. This has a side effect that the widgets are not redrawn when the backing store is recreated if they have static content. Fix is to invalidate the backing buffer after recreating it, and repaint the widget. Reviewed-by: Jason Barron
| | * Stop fluidlauncher timers when in background to save batteryShane Kearns2009-09-254-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed fluidlauncher to use a stacked widget instead of two top level windows. Used the ActivationChange event to get notification from the OS window system when fluidlauncher is active. Slideshow related timers are stopped when the window is deactivated and restarted when activated. Task-number: QT-886 Reviewed-by: Alessandro Portale
| | * QGraphicsAnchorLayout: Enable boundary feasibility testEduardo M. Fleury2009-09-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | This test would trigger random Q_ASSERT failures but should work fine after the previous commit. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
| | * QGraphicsAnchorLayout: Fix bug where simplex would return wrong resultsEduardo M. Fleury2009-09-251-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jan-Arve found a bug where QSimplex would return bad results in some tight situations. The problem was triggered randomly but the chances of appearance were higher in problems with only one feasible solution, ie. problems what were in the boundary of feasibility. The QSimplex solver implements a two-phase simplex solver, the first phase is responsible for finding a _feasible_ solution for the problem (not the best one). The second phase starts with the basic feasible solution (just found) and changes until one that is _optimal_ is found. To implement that solution we need to add artificial variables to the original problem, before phase 1, and remove them, before starting phase 2. Unfortunately though, there was some randomness in the criteria used by the solver that would sometimes cause the removal of a good variable instead of an artificial one, between the phases. With one good variable missing, the solver would also miss an important restriction, without such, it would push the objective function too far, thus returning a "wrong" result. This commit adds a tie-breaker condition to the pivot row logic to ensure the artificial variables are removed before the "good" ones. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
| | * QSimplex: Add class and methods documentationEduardo M. Fleury2009-09-251-5/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This private class is used by QGraphicsAnchorLayout as the linear programming solver engine. This method adds documentation to implementation, method and classes. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
| | * QGraphicsAnchorLayout: Adding hasConflicts() verifications on anchor testsJesus Sanchez-Palencia2009-09-251-0/+29
| | | | | | | | | | | | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
| | * QGraphicsAnchorLayout: Removing memory leaks on anchor testsJesus Sanchez-Palencia2009-09-251-0/+12
| | | | | | | | | | | | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
| | * QGraphicsAnchorLayoutPrivate: Avoiding graph simplification on empty layoutsJesus Sanchez-Palencia2009-09-251-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
| | * QGraphicsAnchorLayout: enabled hasConflicts() test on autotestJesus Sanchez-Palencia2009-09-251-5/+1
| | | | | | | | | | | | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
| | * Merge branch 'origin/4.5' into 4.6Oswald Buddenhagen2009-09-252-11/+83
| | |\ | | | | | | | | | | | | | | | | Conflicts: translations/qt_ru.ts
| | | * Add Russian translation for Qt DesignerRitt Konstantin2009-09-252-1/+7033
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for Qt Assistant and Qt Assistant_adp toolsRitt Konstantin2009-09-252-72/+52
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for QtHelp libraryRitt Konstantin2009-09-251-44/+64
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for Qt LinguistRitt Konstantin2009-09-251-22/+21
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for QtConfigRitt Konstantin2009-09-251-19/+24
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for QVFBRitt Konstantin2009-09-251-10/+11
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian translations for Qt librariesRitt Konstantin2009-09-251-206/+208
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | | * Update Russian phrasebookRitt Konstantin2009-09-251-10/+82
| | | | | | | | | | | | | | | | | | | | Merge-request: 1611 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| | * | improve "nested evaluation" testKent Hansen2009-09-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test that the variable is stored in the correct activation object. Currently it's marked as an expected failure because it doesn't work with the JSC-based back-end. It did however work with the old back-end, so this is a regression.
| | * | Fix regressions in qeventloop, qtimer, and qsocketnotifier autotestsBradley T. Hughes2009-09-253-31/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit ed375675d4a4f6fd63edeb242e23c87b3de4be6f triggers a behavior in Glib's mainloop implementation where some event sources are not "serviced" every iteration of the mainloop context. This breaks an invariant that many tests relied on, so we need to solve the problem. The invariant is that a newly added timer that would normally fire on the next pass of the event loop (liker a zero timer) SHOULD actually fire. We do this by registering 2 timer event sources with Glib's mainloop: one normal priority source and one idle priority source. The idle priority source is the one that will send events most of the time, with the normal priority one taking over only when processEvents() is called manually. Task-number: QT-877 Reviewed-by: jbache Reviewed-by: thiago Reviewed-by: denis
| | * | Make menu editor work on Mac OS X.Friedemann Kleint2009-09-252-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a regression caused by the introduction of the QMenuBar::nativeMenuBar property (defaulting to true), which caused it the menu editor to disappear. Handle QMenuBar::nativeMenuBar it as a fake property, keeping it set to false for Form Editor. Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
| * | | Changed S60 version check to do runtime check also in emulator.Miikka Heikkinen2009-09-251-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | S60 version check for emulator was hardcoded, which caused problems for users of our binary packages, which deploy same binaries to all environments. Changed the check to look for platform .sis files also in emulator and use the hardcoded version only as a fallback option for those SDKs that do not provide these files. Task-number: QTBUG-4579 Reviewed-by: axis
* | | | Made QDir::tempPath and QDesktopServices::TempLocation consistent in S60Janne Anttila2009-09-251-4/+1
| |/ / |/| | | | | | | | | | | Reviewed-by: TrustMe Autotest: Fixes qdesktopservices::storageLocation test
* | | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-2533-193/+1569
|\ \ \
| * | | add test case for wrong error message in qtscriptKent Hansen2009-09-251-0/+11
| | | |
| * | | Stabilize GraphicsView and QFocusEvent testOlivier Goffart2009-09-252-38/+51
| | | |
| * | | Reuse animation in animatedTiles exampleLeonardo Sobral Cunha2009-09-251-30/+4
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| * | | Removed unused parameter from graphics scene index internal functionLeonardo Sobral Cunha2009-09-252-5/+6
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| * | | Raycasting example: fix painting error when the orientation changes.Ariya Hidayat2009-09-251-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | remove completely useless .qm install sub-targetOswald Buddenhagen2009-09-251-3/+0
| | | | | | | | | | | | | | | | qms are installed centrally from the top-level install target
| * | | Update patch_capabilities.pl help to be a little bit clearerIain2009-09-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I certainly didn't read it well enough to notice I needed the third parameter with template pkg files. Reviewed-by: Jason Barron (cherry picked from commit 36304a764fb4ee0cc7cc26033c05c8d70c87b4b5)
| * | | Raycasting example: basic, minimalistic support for touch devices.Ariya Hidayat2009-09-251-4/+82
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | Adding test for line endingsAleksandar Sasha Babic2009-09-253-0/+948
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Some network tests depend on reading file and comparing it with data fetched from network. On Windows, if not set properly, git will append CRLF when checking out. This makes tests to fail as sizes and binary content are not as expected. Reviewed-by: Janne Anttila
| * | Fix QT_VNC_NO_DISABLEPAINTING logicPaul Olav Tvete2009-09-251-1/+1
| | | | | | | | | | | | | | | | | | Oops... Reviewed-by: Jeremy
| * | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-09-258-35/+331
| |\ \
| | * | Add QGraphicsItem::stackBefore(), and fix Z ordering bugs.Andreas Aardal Hanssen2009-09-256-5/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we changed the sibling stacking order to be defined (4.5) instead of undefined (4.2, 4.3, 4.4), the need to control this stacking order arose. Before we could just say the order was random, but stable, and the only way people could rely on order was to set Z. Now, when the default order is defined as "insertion order", people start relying on this order, and incidentally they want more control. In QML, the need to have insertion order semantics is very evident as the order you define the elements in QML more strongly implies a graphical stacking order than the imperative order they get when added in C++. This change adds QGraphicsItem::stackBefore(const QGraphicsItem *), which works similarily to QWidget::stackUnder(). It moves the item in front of the sibling item passed as an argument. While implementing this function, and writing tests for how this function behaves in combination with Z values, I found that the code we had for updating siblingIndex was broken in the case where you remove an item from the middle of the children list. In this case newly added items would be assigned the same sibling index order as one that's already in the list. So in order to get the tests to pass I had to fix this bug as well.. The approach is to sort the children list by insertion order, so that we can fix up the sibling indexes. Performancewise this has little implications. If there are gaps in the sibling index list, which only occurs if you remove an item from the middle of the children list, will the sibling index list be adjusted / corrected before used (for example, by stackBehind()). Multiple calls to stackBehind will be fast, and the list is flagged for resorting (including Z order). Reviewed-by: jasplin
| | * | Mac, Carbon: add support for device pixel scrolling (wheel event)Richard Moe Gustavsen2009-09-251-20/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes use of the rather hidden API on Mac for accessing the new mouse wheel event type. This will make scrolling with Mighty Mouse or TrackPad look much more slick. Rev-By:prasanth
| | * | Mac, Cocoa: add support for device pixel scrolling (wheel event)Richard Moe Gustavsen2009-09-251-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes use of the rather hidden API on Mac for accessing the new mouse wheel event type. This will make scrolling with Mighty Mouse or TrackPad look much more slick. Rev-By: prasanth
| * | | Amended the Q3 subdirectory listninerider2009-09-251-1/+1
| |/ / | | | | | | | | | One item slipped and was now added.
| * | Fixes for Windows CE.ninerider2009-09-251-33/+42
| | | | | | | | | | | | | | | | | | | | | | | | Tests showAndMoveChild and rectOutsideCoordinatesLimit_task144779 were made desktop client area dependent so the screen capturing targets meaningfull rectangles on Windows CE. Reviewed-by: Joerg
| * | Enabled the QTEST_NO_RTTI flag for WindowsCEninerider2009-09-252-1/+4
| | | | | | | | | | | | | | | | | | WindowsCE will not do any tests involving dynamic casts. Reviewed-by: Joerg
| * | Fixed path for lackey.exe for Windows CEninerider2009-09-251-2/+8
| | | | | | | | | | | | | | | | | | Also added check, whether some processes where actually not started. Reviewed-by: Joerg