- 13 May, 2013 - 8 commits
-
-
Jędrzej Nowacki authored
Void is not constructible, so there is no point in checking how fast it can be constructed. Change-Id: Icb4b607bebce30fff5fc57b105101f019e0e0db5 Reviewed-by:
Stephen Kelly <stephen.kelly@kdab.com>
-
Sergio Ahumada authored
XPASS : tst_QWidget::update() QCOMPARE(w.numPaintEvents, 1) returned TRUE unexpectedly. Loc: [tst_qwidget.cpp(4017)] Change-Id: Ib7664871ed218f4c88fd2430491fa65443651927 Reviewed-by:
Simo Fält <simo.falt@digia.com> Reviewed-by:
Tony Sarajärvi <tony.sarajarvi@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Andy Shaw authored
In the Cocoa platform plugin the hovered signal() was not being emitted for the corresponding QMenu. This now ensures it is emitted for the action itself and its QMenu. Task-number: QTBUG-30841 Change-Id: I3cfe634a71de7b55550e2561eb1c6a939536216d Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Gatis Paeglis authored
When users created a modal window in a dropEvent(QDropEvent* event), the cursor was not restored to its original shape until after the modal window had been dismissed. Change-Id: Id4723e3cb66b36a3ca18ff097a3993563816d9e1 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
Gatis Paeglis authored
This is not needed. The DnD initiated scrolling is done by installing an eventFilter which forwards all MouseMove events to the QGuiApplicationPrivate::processDrag which creates and forwards all the necessary QDrag* events. QAbstractScrollArea has its own logic in the timerEvent() to make the view scroll when the pointer is standing still on the edge and the drag process is still ongoing. With the current implementation, widgets (during the DnD) were receiving DragMove events even when the pointer was standing still outside auto scroll areas. Task-number: QTBUG-28171 Change-Id: I355d88f3eab0ad39f916f84d66f5d0af7c0ff93e Reviewed-by:
Lars Knoll <lars.knoll@digia.com> Reviewed-by:
Stephen Kelly <stephen.kelly@kdab.com>
-
Eskil Abrahamsen Blomfeldt authored
We removed all Q_WS_WIN code when going to Qt 5. One of the things removed was the condition that we do painter path text rendering for transformed, non-ttf fonts, since the GDI engine does not support transforming those. This has now been reintroduced and adapted to the QPA way of doing things, by checking for it in the font engine subclass. Then there was the problem that QStaticText only supports cases where the font engine can transform the glyphs. Thus we need to fall back to regular text drawing in drawStaticText() for unsupported cases, and we need to skip the optimized path in the raster engine (which goes to drawStaticTextItem) Task-number: QTBUG-30932 Change-Id: I17ba7355ee127811b0e77bb3a9b9db092e99893b Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Thiago Macieira authored
The new enum value was introduced in f3612f39 Change-Id: I9ab5d8fba459408246e9a6f40c5c086af5abbf82 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com>
-
Friedemann Kleint authored
Change-Id: I411cfc28d2021eed0acf3949a141ffded1acdecc Reviewed-by:
Thorbjørn Lund Martsum <tmartsum@gmail.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- 12 May, 2013 - 1 commit
-
-
Sze Howe Koh authored
PostScript support was removed back in 2011: 34f712e7 - The QPSPrint* classes are gone - The QPrinter::OutputFormat enum only has NativeFormat and PdfFormat constants - QPaintEngine::PostScript is unused now Change-Id: I27d595b92341f41e14bd1e4fd860eac6826d7890 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 11 May, 2013 - 2 commits
-
-
Andreas Holzammer authored
Set SCREEN_PROPERTY_SENSITIVITY to SCREEN_SENSITIVITY_NO_FOCUS of the screen window when the Qt::WindowDoesNotAcceptFocus window flag is set. Change-Id: Iac0764a84186c382dcd3f4bdd31dd24ac15df768 Reviewed-by:
Sean Harmer <sean.harmer@kdab.com>
-
Sze Howe Koh authored
PostScript support was removed back in 2011, but not documented then: 34f712e7 Change-Id: Ie818bf5f733422db910efadd57efa0ddabcc5175 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 10 May, 2013 - 12 commits
-
-
Matt Fischer authored
Several modules, including DBus, MySQL, and OpenSSL have configure options of the form <MODULE>_PATH, which is used on Windows (where pkg-config is not present) to specify the locations of third-party libraries. These switches had been implemented by adding extra variables which were referenced in .pro files, to add the appropriate compiler and linker switches. This is undesirable because it means there are two independent paths for adding the switches to the build, which can get out of sync with each other, and indeed this had happened for some of the DBus tools. To remedy the situation, all three of the switches were reworked so that they added values directly to the principal variables that are used in the project files. This reduces maintenance, by ensuring that the pkg-config and non-pkg-config paths appear the same to the rest of the build system. Change-Id: Iae342f1d14b79fbcfef9fe38aadc803ad3141799 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
Andy Nichols authored
You are not supposed to call NSOpenGLContext -setView: for a view that has not yet called drawRect. We we attempted to do this, we would get the invalid drawable error, leading to QGLWidgets just drawing garbage. Task-number: QTBUG-28175 Change-Id: I47aef07b4676f2db8591f98fc1661f6f447bdef9 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Simo Fält authored
There has been frequent failures with CI, especially with OSX 10.7. These seems to work ok in CI node when ran alone but CI is running those in parallel with some other tests, and this is causing errors, most likely due to lost focus. Change-Id: Ic4151099c27a4b5d91778c9b13e88d2d661e8a0d Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Stephen Kelly authored
Change-Id: I71afbb3170869f3cd0313fb7c707062d1599251c Reviewed-by:
Richard J. Moore <rich@kde.org>
-
Venu authored
Added the same information for QFontMetricsF::elidedText. Task-number: QTBUG-30865 Change-Id: I57791de21f5721d7a505c3d13f450e5ec6cd2730 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
Tor Arne Vestbø authored
Change-Id: Ic87be3b6c7afbde869bd011a3a585b0fe7dbf15d Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
Topi Reinio authored
Remove redundant and invalid exampledirs definition from .qdocconf for Qt Open GL module. Change-Id: I5a725bf57d78b2fd35aa4dbd24e8cb3881499ed3 Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Topi Reinio authored
QDoc adds document nodes as files into the .qhp, including nodes with image subtype. This will generate a lot of unnecessary warnings for missing '<image>.png.html' files from qhelpgenerator when running 'make docs'. This change makes qdoc skip the above step for image nodes to remove the warnings. The images are still always added to .qch in a separate step. Change-Id: Ib07fc8a3ce65f5d4dd700daf00f5f6a36f74a696 Reviewed-by:
Martin Smith <martin.smith@digia.com> Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Jørgen Lind authored
Task-number: QTBUG-15379 Change-Id: I4a2ca942d2dbfa490302858b589e00bd91e25636 Reviewed-by:
Andy Shaw <andy.shaw@digia.com>
-
Mitch Curtis authored
Numpad is unnecessarily long. Change-Id: I19a6ce129e26a4f6f8344f514317214c48abde6e Reviewed-by:
Andy Shaw <andy.shaw@digia.com> Reviewed-by:
David Faure (KDE) <faure@kde.org>
-
Thiago Macieira authored
The implementation that GCC came with from 4.4 to 4.6 used external locks for most platforms, other than x86. It's unsuitable to be called "atomic" at all. More importantly, it's not behaviour-compatible with Qt's own QBasicAtomic classes. Change-Id: I92a0beab58504e6bd7cd236d358fef905c69821c Reviewed-by:
Olivier Goffart <ogoffart@woboq.com>
-
Thiago Macieira authored
You can't write: connect(proc, &QProcess::finished, [](){}); because of the overload. Change-Id: I651cc56ee15481392590dc44942d8e814fad75f6 Reviewed-by:
Olivier Goffart <ogoffart@woboq.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- 09 May, 2013 - 8 commits
-
-
Rafael Roquetto authored
The lack of eventfd(7) switches and auto detection caused cross-compilations to fail on Windows hosts, for builds targeting POSIX systems which do not support eventfd(7), such as QNX and BB10. Change-Id: Ic8f53c64066ece6f16d4dbc79c089b058401e632 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
J-P Nurmi authored
If a transient scrollbar was hidden during the fade out animation, it got stuck visible after being shown again. A regression introduced by f5217782 . Task-number: QTBUG-31060 Change-Id: I1cda16c6afa4370cce4702d3b4fdaee9f44f9ab9 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Albert Astals Cid authored
Change-Id: I9ccb3e4d281a545ca1845db4f6aa7ac6c04e8621 Reviewed-by:
Olivier Goffart <ogoffart@woboq.com>
-
Jake Petroules authored
All occurrences of `#if defined(Q_OS_MAC) && !defined(Q_OS_IOS)` have been replaced with `#if defined(Q_OS_MACX)`. Change-Id: I5055d9bd1845136beb8ed1c79a8f0f2c0897751a Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Jake Petroules authored
The equivalent was done earlier for qmake, and this will enable developers writing OS X-specific code to use #ifdef Q_OS_MACX as opposed to overly verbose #if defined(Q_OS_MAC) && !defined(Q_OS_IOS). The sole usage of Q_OS_MACX within qtbase has been changed to the now appropriate value and documentation has been updated. Change-Id: I2c59eea02e94b691b705170b2f96a97940fdc756 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Friedemann Kleint authored
The test showed frequent failures with XCB in initialShow2() (line 3200) after 01bc3408 (QTBUG-30923) which can be fixed by ensuring the widget from the HFW-test is deleted. Use QScopedPointer to ensure widgets are always deleted in case of test failures, too. Task-number: QTBUG-20778 Task-number: QTBUG-30923 Change-Id: I2af7737b604820463f760d6b6787dd5a5a93d602 Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
-
Lars Knoll authored
Compact an object in regular intervals when inserting data into it, to avoid the object becoming huge. Compact an object/array before inserting into another array or object. Check that the document doesn't get so big it's overflowing the internal data structures. Task-number: QTBUG-29288 Change-Id: Id39d80dac1e7d5a11f40819f41b4b336bce16947 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Olivier Goffart authored
Fix connection to pointer to member signal that belongs to the base class, but whose type is a pointer to a member of the derived class. The current code only use the QMetaObject of the type coming from the function type to look up the signal id. But if the signal was casted to a pointer to member function of a derived type, then we also need to look in the base classes Change-Id: Ib98fc38f63942946acb34d9f83c100991d58e4e5 Reviewed-by:
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 08 May, 2013 - 9 commits
-
-
Gabriel de Dietrich authored
This reverts commit 79e729e1 , which partially fixed QTBUG-30122 and will need to be reopened. On the Creator side, we think using the Qt::ToolTip flag is a bit unsafe since tooltips are supposed to have very limited interactivity. We would like to propose to use a similar pattern as in QComboBox instead. Task-number: QTBUG-30702 Change-Id: I245b7d8b16ac870564ea44f24f481ebfec8ca9a1 Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com>
-
Tor Arne Vestbø authored
The Xcode and SDK settings are expensive to resolve, as we're using system() calls to resolve them. We now try to detect the presence of a .qmake.cache file (and inform the user that creating one would be a good idea), and use the file to cache the various settings after resolving them. The Xcode logic had to be moved form xcode.conf as part of the mkspec, into default_pre/post.prf, so that we could cache() the resolved values. Task-number: QTBUG-30586 Change-Id: Ib5368cfee6f7e4a4a33f6be70d0e20d96896fe56 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
Topi Reinio authored
These two widget-based, mobile-targeted examples are obsolete, defunct, and/or serve no purpose in Qt 5. Task-number: QTBUG-31023 Change-Id: Ie5732734bb2547b1ea701d7b3c8dcd806362de09 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Olivier Goffart authored
moc currently silently ignores them, but I have a version which display a warning. Change-Id: I9a239cb7e99d40a57a013fb66357c4a6426d6e8b Reviewed-by:
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by:
Stephen Kelly <stephen.kelly@kdab.com>
-
David Gil authored
Change-Id: I1285938efd252346c4016c8f059c7e4f78ca12a9 Reviewed-by:
Sze Howe Koh <szehowe.koh@gmail.com> Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Giuseppe D'Angelo authored
During qHash refactorings, this line was changed as qt_hash didn't have an overload taking a QStringRef. This causes a performance regression w.r.t. the same code in Qt 4. Task-number: QTBUG-30821 Change-Id: I17b27a54a73cb9061c20f1bd7f79d0c405050edd Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Thiago Macieira authored
Change-Id: Ie040fe142a5ee74c7f38a3fd2e6806b41aec4976 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
Kai Koehne authored
Fix gcc 4.8.0 warning about potential use of uninitialized variable. Change-Id: I0881b1209e9156323b2710c50256d4bed83930ca Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Martin Smith authored
qdoc's faux C++ parser did not recognize class declarations of the form: class Name1::Name2 { ... }; ...where class Name2 is nested in class Name1. Now it does, but this fix doesn't handle deeper nestings. doc needs a proper C++ parser. Task-number: QTBUG-28664 Change-Id: I5adf88cc1b2ce03f5565250734416bf9592914b5 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-