summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* QTreeView: speed up isRowHidden for the case where no rows are hidden.David Faure2014-10-131-0/+2
| | | | | | | | | | isPersistent(index) is a linear search, which we can avoid altogether (as well as the creation of a persistent model index, is idx is indeed persistent) when the row-hiding feature isn't used at all. Change-Id: I55ef204dd9b79a89d51d5d3aacc1c110d37a4ea0 (cherry picked from qtbase/cd824ee79188b889df85d4d648a625589655e15e) Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
* [OS X]: respect icon visibility preference in system tray menusRené J.V. Bertin2014-10-091-1/+1
| | | | | | | | | | Check the `IconVisibleInMenu` switch so that systray menu items only show an icon if the application/user has configured things that way, and not otherwise. Task-number: QTBUG-41348 Change-Id: Ibb7db326fd598ca78cb95c815b5e165de2babeda Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* QMacStyle: Fix QTabBar appearance on YosemiteJari Tenhunen2014-10-071-10/+19
| | | | | | | | | | | | The selected tab text color should be white except when the window is not active. Also, no text shadow should be rendered in any case. Finally, there's no need to move the tab shape up anymore. Backport of qtbase/e9e66079b16754f1fef89c2ad93593d7d55c8654 Change-Id: Ib41b9ccb990dc5c550f5a48c855bebd39262b06e Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Backport: use backslashes for UNCs pathSamuel Gaist2014-10-011-16/+23
| | | | | | | | | | | | | | | | | ShellExecute fails to open a share folder due to using '/' instead of '\'. Windows API doesn't support forward slashes for extended-length path. Extended-length path are path that start with a "\\?\" prefix. For example, "\\?\c:\very_long_path\foo\bar.txt", or in the case of a UNC path that would be "\\?\very_long_path\foo\bar.txt". [1] [1] http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath (cherry-picked and adapted from qtbase/18c916517f3004d34482c20ed66bf09ec274d385) Task-number: QTBUG-13359 Change-Id: I2f38ecb76d87b87dc1d40bd48c94c78550a6ca1f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QLineEdit: Disable standard key 'cut' when there is no selection.Dyami Caliri2014-09-291-1/+1
| | | | | | | | (cherry-picked from qtbase/0aa84a619ea0a7c85a1ed48ed28817d4c7e40b33) Task-number: QTBUG-40477 Change-Id: I48aa7ecc4ee8a8e4e9feaf9b6cba5109d2d1f725 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix DateTime with recent versions of tzdataAllan Sandfeld Jensen2014-09-2313-244/+218
| | | | | | | | | An backport of http://trac.webkit.org/changeset/150833 needed for correct time KRAT, YAKT and MOS timezones. Task-number: QTBUG-41422 Change-Id: I6e9d1db690fee8d77faa1d76c836bd7b345ce854 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* OSX: make QFileDialog::getSaveFileName honor the initial file name.Erik Verbruggen2014-09-161-1/+1
| | | | | | | | | | | | | Since OSX 10.9 the NSSavePanel will call panelSelectionDidChange on the delegate when the selection is changed programmatically, even when the panel is not (yet) visible. This overwrites the selected file name with the default "Untitled" before we'd set it in runApplicationModalPanel. The fix is to check if panelSelectionDidChange is called before it is shown. Change-Id: I9ad6cd3afddc0aac35baebab31fd85cd7bf3f9e9 Task-number: QTBUG-36212 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* QPdf::addImage(): avoid a QImage detach when it's in an acceptable FormatMartin Pley2014-09-111-3/+3
| | | | | | | | | | | Don't detach QImage, when it's in Format_Mono or Format_ARG32. Use QImage::constScanLine() instead of QImage::scanLine(). Change-Id: I30fcafb576aea3189637a40fd75f77c70017ba46 Reviewed-by: John Layt <jlayt@kde.org> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com> (cherry picked from qtbase/1a32cc0ae42a4a49f2d45b8ad8251ec40a30bf76) Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
* QListView: Catch stack overflow on mutual scrollbar calculation.Lars Knoll2014-09-101-2/+32
| | | | | | | | | | Backport of fc4993be1fa7673016b6e5d81134463f163051f6 from Qt 5. Task-number: QTBUG-39902 Task-number: QTBUG-38517 Change-Id: I66b2c7304423dd65d67158ae0dc70ad12e4fa783 Reviewed-by: Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Fix font cache check in QFontEngineFT::recalcAdvances()Miikka Heikkinen2014-09-091-1/+3
| | | | | | | | | | | | | | Cached font was used regardless of the format, resulting in incorrect advance in some cases when default format differed from the cached format. Task-number: QTBUG-24188 Change-Id: I39e4156bd9ba743afa7e106e934c90227fbf2b8b Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com> (cherry picked from qtbase/2ea976c3a713535c2419d936d575e0b24545f0fa) Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> Reviewed-by: Jiang Jiang <gzjjgod@gmail.com>
* Revert previous QFileDialog fix for SolarisSamuli Piippo2014-09-051-1/+1
| | | | | | | | | | | | | | | | This reverts previous commit 6d47f5a168e350a6d9cbddb343ff9d75ffbd2c04, that broke compilation of QFileDialog in solaris (Sun CC). Solaris defaults to Draft version of getpwnam_r if _POSIX_C_SOURCE is not defined or < 199506L, and _POSIX_VERSION is defined as 199506L even when _POSIX_C_SOURCE is not used, so it cannot be used to detect correct posix support. Task-number: QTBUG-21451 Change-Id: Ibbf2b9de1dea74e7d8b6003d1a4e3686e5858525 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@digia.com> Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
* QSwipeGestureRecognizer: Use qAbs() to check distances.Friedemann Kleint2014-09-041-1/+1
| | | | | | | Task-number: QTBUG-15768 Change-Id: Idc6c6687430365a015fb2c15f4e4dcae6a687f9f Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> (cherry picked from qtbase/74303ad497ff0e3a9876d349e2ce2f67f08c0fbf)
* Don't call virtual methods after the source model is destroyed.Andreas Hartmetz2014-09-032-1/+3
| | | | | | | | | | | | | | | Calling clear_mapping causes the persistent indexes to be queried, and mapped using map_to_source, so that they can be restored later. That is not the appropriate response to the source model being deleted because there won't be anything to restore. Simply clear the stored mapping information instead so that the source model actually exists when mapToSource is called by the framework. Backport of 722798a359761a1eb635d18547b076615f192508 from qt5/qtbase Change-Id: I9c74f97855046b968dfba7a35134c234b974e63b Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* Replace all ocurrences of NSApp with [NSApplication sharedApplication].Jake Petroules2014-09-0116-88/+89
| | | | | | | | | | The former returns an id and the latter returns an NSApplication*. This gives us the benefits of static typing and resolves a build error on OS X 10.10. Task-number: QTBUG-39644 Change-Id: I62939b168f391beb846f8a1c5ae789e45bceb858 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Fix QPainter::drawPolyline() painting errors with cosmetic penaavit2014-08-291-4/+4
| | | | | | | | Task-number: QTBUG-31579 Change-Id: I8fd2c03ff9a22e4963bfcbcfe196ae4c61b9e10f Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com> (cherry picked from qtbase/319cbb7597100f3b65792dc6a0ce2885ce6c0e8c) Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
* QMacStyle: Fix focus frame rendering in YosemiteJari Tenhunen2014-08-201-5/+14
| | | | | | | | | | | | | | Using the HITheme API would result in the frame's right edge to be missing. Instead, we use the recommended technique to draw the focus ring around a custom NSCell. (See https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ControlCell/Articles/ManipulateCellControl.html) Backport of 769af6689337285927a2637b184149f688332542 from Qt5/qtbase Change-Id: I8f3992edc065e14632ec4e473732b30bcf4c1937 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Mac Style: Fix QLineEdit frame in 10.10Jari Tenhunen2014-08-191-10/+8
| | | | | | | | | Also removes some dead code. Backport of 83f06da1c6bffff61af78cbe75a0691d53742b53 from qt5/qtbase Change-Id: I7e088ca8b52bc3e2da25e29ab570469eab6f97bf Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* refactor disconnectFromFtp to remove cached entries when necessaryMatt Broadstone2014-08-182-12/+15
| | | | | | | | | | | | | | | | | In cases where a cached ftp connection fails to connect, or a file transfer has failed, we should removed the cached connection. Since qnam has an idea of a single internal QFtp per full operation, when file transfers failed previously the cached connection would be reused for subsequent connections and thus fail. [ChangeLog][QtNetwork][QNetworkAccessManager] QNetworkAccessManager now properly handles FTP transfer failures by removing failed cached ftp connections. Task-number: QTBUG-40797 (cherry picked and adapted from qtbase/45cbbe56bc13216b83215ea148590eccf81f420a) Change-Id: Ie9eec5ec54af16a8d19e34d04bdd993cc7bbd0f5 Reviewed-by: Richard J. Moore <rich@kde.org>
* Remove use of 'register' from Qt.Kevin Funk2014-08-1128-213/+213
| | | | | | | | | | | | | | | It is deprecated and clang is warning about it [-Wdeprecated-register]. Original patch from Stephen Kelly, see commit d9fb6e6dbb2b322556d581265da2442e3b91a6a3 in qt5/qtbase This is a backport of this commit + additional manual replacements in header files. There are still some 'register' uses inside implementation files left, but headers are all 'register'-free now. Change-Id: I7225381df1f093073583d62fa86f7bd7cca869c7 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix Flickable mouse grab issue.Robert Griebl2014-08-061-0/+1
| | | | | | | | | | | | | This issue cannot be reproduced on the desktop with a mouse (at least I could not). It can however reliably be reproduced on iMX6 embedded hardware with a touch-screen. It seems like the TS driver is reporting mouse events with a much more coarse granularity than the USB mouse driver, which in turn triggers this bug. (Qt5's quick1 and 2 both have the same issue) Change-Id: Id151e3847bc8d77c7b405b9c4d4d5747a6e33ed0 Task-number: QTBUG-27185 Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
* Add handling of value-type lists to QDeclarativeExpression::evaluate()Robert Griebl2014-08-051-1/+13
| | | | | | | | | | | QDeclarativeExpression::evaluate() converts all arrays to QList<QObject *>, even if the items cannot be represented by a QObject *. In case of a string-list, a QList of null-pointers is returned (which isn't very helpful). This patch makes evaluate() convert arrays, which contain ONLY value-type items, into a plain QVariantList. Change-Id: I4e5052af9fb296a4b692df7840bdd188298f7416 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Fix at lot of QT_NO_ define guards for very tiny Qt builds.Robert Griebl2014-08-0517-0/+96
| | | | | Change-Id: If33639be245a1ad3782e1fde279371f330a988be Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Fix compilation warnings due to superfluous commas at the end of enums.Robert Griebl2014-08-052-4/+4
| | | | | Change-Id: Ibc05eec8a109d68cfa2caa64ea069d77c456c41e Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Don't convert signed to unsigned when we need all 32bitAllan Sandfeld Jensen2014-07-301-2/+2
| | | | | | | | | | | | | | The fast scale methods qt_scale_image_16bit and qt_scale_image_32bit were incorrectly assigning an unsigned value to a signed variable, which broke their support of images with dimensions from 32384 to 65535. Images with dimensions higher than that are already using another code- path. Backported from change 0afc80c9225ca9630f627fe1aea3d4fd7f958082 in qtbase Task-number: QTBUG-40297 Change-Id: Ib55f7f9294f03a2f81206130e665af452f8cd085 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
* qwidget_win.cpp: Initialize WINDOWPLACEMENT correctly.Friedemann Kleint2014-07-281-0/+1
| | | | | | Task-number: QTBUG-40466 Change-Id: I93ff7977d68d36bc89f98d6a43c103a2a8d730f7 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
* Fix compilation of QWinInputContext with Q_IME_DEBUG defined.Friedemann Kleint2014-07-281-13/+13
| | | | | | Change-Id: I4f96b8ff57957e3cc370e5b1f37a036a619ce3f9 Task-number: QTBUG-40402 Reviewed-by: Liang Qi <liang.qi@digia.com>
* Move the C++11 support macros to a central place.Raphael Kubo da Costa2014-07-231-39/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main objective of this commit is to make C++11 support work with clang: so far, the Q_COMPILER_* definitions related to C++11 were enabled based on __GNUC__ and __GNUC_MINOR__; while clang does define those two, __GNUC_MINOR__ is hardcoded at "2" and thus none of the macros end up being defined. We now make qglobal.h more similar to how qtbase's qcompilerdetection.h works by separating the detection of the C++11 features supported by a compiler from the detection of the compilers themselves. It is important to note the list of macros has not changed, the macros have only been moved. This commit either follows the spirit of or is a cherry-pick of the following qtbase ones: - 4131c323a36ee8680a3b4d66a2a03a00544751c2 (Update the C++11 support macros) - 8dd66f42e834320c4ba0a6f2e45855d591b3b6e7 (Avoid undefined macro warning for __GXX_EXPERIMENTAL_CXX0X__) - fe5d5fdaf1d9b7d108727d290e24a6b0f00139c6 (clang: Use __has_feature() to detect C++11 features) - 0ec953c93688ec0de74cda43b91f66f4cf879e5f (Remove extra Q_COMPILER_xxx defines from the MSVC section) - 163dcf2b71f34a12137f200e4af5640e42e5f5e2 (Fix build with older Clang versions without __has_extension) - 53262b9b5b9cb536916f6d6e086a944cb17bb8d8 (Only define the MSVC C++11 feature macros in C++) Change-Id: I2ca35af1a23260a9373943f97a8a72db3fc670e4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* QSslCertificate: blacklist NIC certificates from IndiaPeter Hartmann2014-07-101-0/+4
| | | | | | | | | | | | Those intermediate certificates were used to issue "unauthorized" certificates according to http://googleonlinesecurity.blogspot.de/2014/07/maintaining-digital-certificate-security.html , and are by default trusted on Windows, so to be safe we blacklist them here. (backport of commit 916c9d469bd0df227dc3be97fcca27e3cf58144f) Change-Id: I22c6637895dcd21b1f7af73fdd5ca39d4747cf9e Reviewed-by: Richard J. Moore <rich@kde.org>
* Mac: Fix mixing unified and non-unified toolbarsDavid Garcia2014-06-181-1/+1
| | | | | | | | | | | | Test if the target toolbar is actually a unified toolbar before calling the special MapFromParent function. This change is not needed in Qt 5. Task-number: QTBUG-36100 Change-Id: I37fce89c79f5fce057e0b31d4c4f2e72269cdb06 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
* network internals: do not try to cache a deleted entryPeter Hartmann2014-06-182-0/+12
| | | | | | | | | | | We were keeping a dangling pointer to a non-existent QIODevice around which would lead to a crash. This is not reproducible in Qt5 anymore. Task-number: QTBUG-17400 Change-Id: I19af701a42e48c05d04dec18eca9f1bfc7e1f4bb Reviewed-by: Richard J. Moore <rich@kde.org>
* fix compilation errors with OS X 10.7 SDK or later for the Carbon flavorAshish Kulkarni2014-06-161-0/+56
| | | | | | | | Some deprecated functions have been removed from the the 10.7 SDK, but the symbols are still exported by the 32-bit libraries. Change-Id: I5e7843db02f9fdb6288425ce32574b43087958ce Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
* Use correct values for MAC_OS_X_VERSION_10_* defines.Jake Petroules2014-06-131-12/+47
| | | | | Change-Id: I1951fd6447a3d9d20feea99408174d4993a81f5c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Properly escape bytearray data outside the ascii range when using a codecLars Knoll2014-06-121-2/+5
| | | | | | | | | | | Some codecs can't handle the range outside ascii properly and would then fail to read the data back in correctly. Backport of change 7df8b1ada4b23acedda5724b492c26a8e322648b from Qt 5. Task-number: QTBUG-15543 Change-Id: I4c02921e787a939eeec0c7a11603b5896d756aef Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Windows: Added Comma to list of possible numpad keysOliver Wolff2014-06-121-0/+1
| | | | | | | | | | | Some keyboard layouts (German and Czech for example) have comma instead of period on the numpad, so this key should also be considered when setting the Qt::KeypadModifer state. Task-number: QTBUG-38248 Change-Id: I06847a02a9334c21784790eae6fd7e1bc6de4099 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (cherry picked from commit 7e44e4bb4e23758be7c05261e0413365491c6846)
* Cleanlooks style: Fix floating point exceptionAlexandre Rostovtsev2014-06-071-1/+1
| | | | | | | | | | | | | | | | In QCleanlooksStyle::drawControl, if indeterminate == true and rect.width() == 4, we will end up with slideWidth of zero, and take a mod by zero when calculating the value of step. This causes a crash in Quassel 0.10; see https://bugs.gentoo.org/show_bug.cgi?id=507124 Instead, calculate slideWidth based on max(width, minWidth) where minWidth was already set as 4, ensuring that slideWidth >= 2. Change-Id: I6678789105e359fa26c99409f449cad0ba3bd0ae (cherry picked from qtstyleplugins/8ff2ac6035fb1d01f5c0054ba14afb949410e3a7) Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Update for OS X Yosemite.Jake Petroules2014-06-062-1/+8
| | | | | | | | (Qt 4 equivalent of qtbase/203ce7c5ce36f300750607b74b2d2429be2d4959) Change-Id: Icce8517d02dc70b545cf68a265e28083018b3225 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix trailing whitespace.Jake Petroules2014-06-061-1/+1
| | | | | Change-Id: Iab22897d7c766202d214b04d422e56becb544e40 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* QClipboard Windows debugging: fix compilation with VS2005.Samuel Gaist2014-06-021-3/+3
| | | | | | | | | | This patch based on Qt Creator allows Qt 4 to be built using VS2005 [ChangeLog][Windows] Fixes build with MSVC 2005 Task-number: QTBUG-39133 Change-Id: I413beb063b5d1f458cfa26f54f6bbd2de9240380 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Doc: be more explicit about need to set expected SSL cert in errorsArnaud Bienner2014-06-022-2/+4
| | | | | | | | | Note added in QNetworkReply and QSslSocket documentation. Task-number: QTBUG-16770 Change-Id: I2dd8cfb913ec29a96b5465a905cd213713b8d537 Reviewed-by: Richard J. Moore <rich@kde.org> (cherry picked from qtbase/34590e84d4aaceb5874d8acb6a2b7a95c153cd6a)
* Fix QSysInfo::macVersion for OS X minor versions greater than 9.Jake Petroules2014-05-311-2/+3
| | | | | | | | | | gestaltSystemVersion's encoding only has room for a single version digit. Thus, OS X 10.10 would previously have been detected as OS X 10.9 (Apple's comments in the header even warn against this). (backported from qtbase/42f9a61608fe662e797dc6541f4e82c19b878d56) Change-Id: I329355135e82d0e57d9b70a93a62a5f086aa0955 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fix raster graphics on X11 RGB30Allan Sandfeld Jensen2014-05-261-1/+1
| | | | | | | | | | | The window surface incorrectly assumes that any pixel depth of 24 or above would be on 8bit/color. This breaks 10bit/color formats like RGB30. This patch instead make it specifically check for color depth 24 or 32 which are the two with 8bit/color. Task-number: QTBUG-25998 Change-Id: Id0b7e07bdb64679f8c647158938da12efede9142 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
* fix WINVER #ifdef for QS_TOUCH and QS_POINTERJoerg Bornemann2014-05-201-2/+2
| | | | | | | | | The condition in WinUser.h is _WIN32_WINNT >= 0x0602. This change is a backport of qtbase/e26ed09102e2eb350eb072decbd670b7d515be45 Change-Id: I0725e65948528889623a0b0ff290745996a8b0a3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Tslib plugin: also apply missing release coordinate code to non-raw modeRolf Eike Beer2014-05-151-7/+6
| | | | | | | | | Even if the normal mode is used the release events may have zero coordinates. Change-Id: I2eac8cf50dfcf9e62d8cec2423419a6579266849 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (cherry picked from qtbase/9ba7cc07dbef542bc73f97f1d7458699d25fbb8d)
* Tslib QWS: also apply missing release coordinate code to non-raw modeRolf Eike Beer2014-05-151-2/+2
| | | | | | | Even if the normal mode is used the release events may have zero coordinates. Change-Id: Ia9de05928ab5dfc225665e3b2c9a4d42f6ba984e Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Memory and file descriptor leak in QFontCacheSimon Yuan2014-05-146-84/+55
| | | | | | | | | | | | Make the cache also use the ref counts Make everyone who decrements a ref count check for 0 and delete Move all cache logic to the cache Same idea as 36cb3f3 and b3dae68 in Qt 5 without the extra stuff Task-number: QTBUG-38035 Change-Id: I27bea376f4ec0888463b4ec3ed1a6bef00d041f8 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Restore dirty line logic in RenderInline::destroyAshish Kulkarni2014-05-091-1/+2
| | | | | | | | | | In ea0cb7ad2066d9c3dc695ab2ebe724249b05ca0f the webkit version was upgraded which effectively merged http://trac.webkit.org/changeset/85869 The follow up patch was never merged: http://trac.webkit.org/changeset/86060 associated with ​https://bugs.webkit.org/show_bug.cgi?id=60448 Change-Id: I7dff1733439bb3bcfecc767da9147aa09a3159cf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
* Windows: Add missing colors to tooltip palette.Friedemann Kleint2014-05-091-0/+4
| | | | | | | Task-number: QTBUG-38183 Change-Id: Ic3581cc87c0d61140624ddaf6fa85d682120ad4f Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> (cherry picked from qtbase/9fc0c5466238eb8f43d2736d298ac36c65da529e)
* Fix visual index lookup in QTreeViewPrivate::adjustViewOptionsForIndex().Friedemann Kleint2014-05-071-9/+2
| | | | | | | | | | Determine the visual index by looking up the column of the QModelIndex in the logicalIndices array instead of looping. Task-number: QTBUG-37813 Change-Id: I5c3c73c67537877b03cdc2c36a52041d99f7f49d Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from qtbase/85aef2dd4b059d2ba9cba4605d9fef87f3e2c4fc)
* Fix MacOS build with SDK 10.7, XCode 4.3 and aboveWolfgang Bremer2014-05-071-2/+4
| | | | | | | | | | | | A hardcoded path condition failed and thus the dependency CoreWLAN was not added. This caused missing symbols. This patch is not necessary for Qt5 as only SDKs 10.6+ are supported. Task-number: QTBUG-24361 Change-Id: I273a2be8d2bd7c72e8d7a1eed7c3e62a380e237a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
* Don't crash on broken GIF imagesLars Knoll2014-05-061-0/+7
| | | | | | | | | | | | | | | | Broken GIF images could set invalid width and height values inside the image, leading to Qt creating a null QImage for it. In that case we need to abort decoding the image and return an error. Initial patch by Rich Moore. Backport of Id82a4036f478bd6e49c402d6598f57e7e5bb5e1e from Qt 5 Task-number: QTBUG-38367 Change-Id: I0680740018aaa8356d267b7af3f01fac3697312a Security-advisory: CVE-2014-0190 Reviewed-by: Richard J. Moore <rich@kde.org>