summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Various qt documentation fixes (wk 42)artoka2012-01-3114-21/+32
| | | | | | | Fixes for bugs: QTBUG-8673, QTBUG-18101, QTBUG-14194, QTBUG-9109, QTBUG-8331, QTBUG-8329, QTBUG-8786, QTBUG-8787, QTBUG-21295, QTBUG-14554, QTBUG-19367, QTBUG-8323, QTBUG-9466, QTBUG-7924 and QTBUG-20355.
* Various qt documentation fixes (wk 40&41)artoka2012-01-3121-46/+56
| | | | | | | | Fixes for bugs: QTBUG-21067, QTBUG-17025, QTBUG-11489, QTBUG-20069, QTBUG-3563, QTBUG-20089, QTBUG-13983, QTBUG-11820, QTBUG-14732, QTBUG-14521, QTBUG-9675, QTBUG-18313, QTBUG-18313, QTBUG-11312, QTBUG-17739, QTBUG-7678, QTBUG-14759, QTBUG-14756, QTBUG-14677, QTBUG-16164, QTBUG-20721, QTBUG-15562, QTBUG-17029 and QTBUG-18544.
* Fix QProgressBar causing timer event spamTero Ahola2012-01-312-23/+37
| | | | | | | | | | | On Windows you will get a lot of timer events if you use QProgressBar widget. This is because QWindowsStyle uses a timer to animate a progress bar with unknown state (min and max values both zero). The issue was fixed by starting the timer only if needed. Task-number: QTBUG-10501 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fixed resource leak when setting QProgressBar style sheetTero Ahola2012-01-311-1/+2
| | | | | | | Task-number: QTBUG-19110 Merge-request: 2687 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Prevent stroking zero length lines in qstroker.cppSamuel Rødal2012-01-311-19/+21
| | | | | | | | | If several consecutive points are the same, we should just skip until we get a unique point. This prevents stroking artifacts in the miter join for example. Task-number: QTBUG-5331 Reviewed-by: Kim
* Fixes the double spinbox not updating geometry when suffix is changedThierry Bastian2012-01-311-0/+3
| | | | | | patch was found in the task and looks good. Task-number: QTBUG-9530
* Add an app icon.Thiago Macieira2012-01-311-0/+2
| | | | | | | Thanks to Mario Carrion for the patch. Task-number: QTBUG-10099 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Designer/QFormBuilder::save(): Fix traversal of QGridLayout/QFormLayoutFriedemann Kleint2012-01-312-56/+95
| | | | | | | Remove redundant code in qdesigner_resource ass well. Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com> Task-number: QTBUG-13683
* HTTP internals: send password even if no username is setRobert Hogan2012-01-311-2/+2
| | | | | | | | | | | Setting only a password (no username) for HTTP requests does not result in the password being sent. Only cancel authentication if neither a username nor a password is set. Requiring a username was preventing user-less logins. Merge-request: 1250 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> Task-number: QTBUG-15566
* Assistant: Get rid of bogus warning.Christian Kandeler2012-01-311-1/+2
| | | | Task-number: QTBUG-16096
* Designer: Set dirty correctly in case resource paths were changed.Friedemann Kleint2012-01-313-1/+5
| | | | | Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com> Task-number: QTBUG-17918
* Designer: Do not translate page object names of QMdiArea.Friedemann Kleint2012-01-311-2/+2
| | | | | | and page-based containers. Task-number: QTBUG-18244
* Designer: Allow promoted QWidget's to be buddies.Friedemann Kleint2012-01-311-1/+3
| | | | | | Extend check for focusPolicy by promoted check. Task-number: QTBUG-18631
* Designer: Specify 'notr' attribute for buttongroup name.Friedemann Kleint2012-01-311-0/+1
| | | | Such that the name does not show up in lupdate.
* Designer: Check for 0-spacing when loading grid settings.Friedemann Kleint2012-01-311-6/+14
| | | | Task-number: QTBUG-17542
* Add version attributes as per ODF specificationTomas Straupis2012-01-311-0/+2
| | | | | Merge-request: 1120 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Fixed the combobox just adjusting their size without relayoutingThierry Bastian2012-01-311-0/+1
| | | | | | | When adjustSize() is called, we nned to call updateGeometry to notify the layout in which the combobox is to redo the layout. Task-number: QTBUG-2559
* Fix a bug with menu overflowing from a lower resolution second screen.Pierre Rossi2012-01-312-14/+51
| | | | | | | | | The menu needs to take into account the screen geometry of the screen it's about to be shown on (not the last screen it was shown on) when updating its actions rects Task-number: QTBUG-2748 Reviewed-by: Thierry
* Small fix in iteviews for sizeHintForColumn/RowThierry Bastian2012-01-311-3/+3
| | | | | | | We were trying to check the column/row count but always from the root of the model insteal of the root that can be defined in the view. Task-number: QTBUG-5773
* add auto test for SSL certificates containing utf8 charactersPierre Rossi2012-01-314-5/+58
| | | | | Task-number: QTBUG-7912 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* fix coding style for merge request re. utf8 characters in SSL certsPierre Rossi2012-01-311-7/+6
| | | | | | | | fixes minor coding issues for "Use OpenSSL X509_NAME_ENTRY API to parse UTF8 subjectName/issuerName" Task-number: QTBUG-7912 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* Use OpenSSL X509_NAME_ENTRY API to parse UTF8 subjectName/issuerNameRaul Metsma2012-01-313-36/+29
| | | | | | | | ... to be able to display non-ASCII names from subject and issuerInfo. Task-number: QTBUG-7912 Merge-request: 922 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* Don't destroy Qt's internal pthread_key_t if it was not initializedBradley T. Hughes2012-01-311-7/+9
| | | | | | | | | | | | | The destructor function destroy_current_thread_data_key() was always called on library unload, even if the pthread_key_t was not initialized. This can cause us to destroy a key that doesn't belong to us, as pointed out in the task below. Fix this by creating a function static instance of a class whose destructor will destroy the key. Task-number: QTBUG-10861 Reviewed-by: Morten Sørvig
* Fixed a problem with toolbars not relayoutingThierry Bastian2012-01-311-4/+4
| | | | | | | | This could happen when dragging an extended toolbar from a mainwindow PAtch was provided on IRC by ravek (#dev) Task-number: QTBUG-10920 Reviewed-by: Trust-Me
* Fixed the itemviews so that the editor is not considered opaque any moreThierry Bastian2012-01-313-26/+3
| | | | | | | The editor was always considered opaque and clipping was set on the painter. This assumption can't be verified. Task-number: QTBUG-11367
* Use packagesExist() macro to bail if a nonexistant package is requested.Robin Burchell2012-01-311-0/+4
| | | | | | | | | | | | | | | This will solve problematic cases with large projects, lots of required packages, and no configure scripts failing to build partway through. Previously, PKGCONFIG processing would error to stdout, but continue the compilation. This should not affect existing code overly much, apart from projects who added nonexistent packages they didn't use to PKGCONFIG (but let's face it, that's a bit of a stupid thing to do.) Task-number: QTBUG-11418 Merge-request: 1022 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* QListView: speedup QListView::setRowHidden()Olivier Goffart2012-01-312-7/+13
| | | | | | | | | Basically the same optimisation that had been made long ago in the tree view: Use the right data structure for QListViewPrivate::hiddenRows (QSet instead of QVector) Task-number: QTBUG-11438 Reviewed-by: Gabriel
* Fixed partial update on QLineEditThierry Bastian2012-01-313-8/+19
| | | | | | | | | QLineControl passes a QRect to tell when a partial update is needed. We used to connect this slot to update. This made the whole lineedit update when the cursor blinked. Task-number: QTBUG-12709 Reviewed-by: gabi
* QGroupBox: Fix the focus rect of the title when using stylesheetMartin Pejcoch2012-01-311-0/+7
| | | | | Task-number: QTBUG-13015 Reviewed-by: Olivier Goffart
* Take Xft.hintstyle by default to match the behavior of GTK+Jiang Jiang2012-01-312-1/+10
| | | | | | | | For Qt apps running in GNOME, we use the GTK+ settings by default (instead of fontconfig settings). Task-number: QTBUG-13800 Reviewed-by: Samuel
* Fix fontconfig pattern mergingJiang Jiang2012-01-311-0/+7
| | | | | | | | | | | | | When merging fontconfig patterns, we need to clean up existing object first, otherwise the added object will be appended instead of replacing the existing object. When multiple font engines are using shaping, if fontconfig patterns are not correctly merged, it will result using the old font. For instance, in "<b>Fake Bold</b> Normal", "Normal" text will continue using the font for "Fake Bold" (that only happen with fallback fonts). Task-number: QTBUG-14455 Reviewed-by: Eskil
* Draw focusrect through style proxyJens Bache-Wiig2012-01-311-1/+1
| | | | | | | | This function call was simply not converted to use the new proxy style, hence preventing people from overriding it properly. Reviewed-by: Andy Shaw Task-number: QTBUG-16127
* Set no brush when the brush is a solid patern transparent color.Pierre Rossi2012-01-311-0/+2
| | | | | | | | Fix a bug in pdf print engine that was noticeable when printing a webpage: the missing image graphic didn't appear in the pdf. Task-number: QTBUG-16435 Reviewed-by: sroedal
* Fixed hslHue / hslHueF returning the wrong value for achromatic QColors.Samuel Rødal2012-01-312-1/+11
| | | | | | | | Made toHsl() work the same way as toHsv(), ensuring the hue gets set to USHRT_MAX and not 0. Task-number: QTBUG-16530 Reviewed-by: Eskil Abrahamsen Blomfeldt
* Fixed QPainterPath::pointAtPercent(t) for one-element paths.Samuel Rødal2012-01-312-1/+9
| | | | | | | Return the MoveTo element instead of QPointF(0, 0). Task-number: QTBUG-16788 Reviewed-by: Eskil Abrahamsen Blomfeldt
* Fixes: missing export of gzungetc() from internal zlibaavit2012-01-311-1/+1
| | | | | Task-number: QTBUG-17278 Reviewed-by: jiang
* Fail in a nicer way when QPixmap is used in a non-GUI application.Samuel Rødal2012-01-311-0/+5
| | | | | | | Show same fatal message as when trying to instantiate a QWidget. Task-number: QTBUG-17873 Reviewed-by: Gunnar Sletta
* fix QLocalSocket::isValid() on WindowsJoerg Bornemann2012-01-312-4/+3
| | | | | | | This function always returned false, even if the socket was connected. Task-number: QTBUG-18204 Reviewed-by: Martin Petersson
* QAccessibleTextEdit: Using x coordinate for calculate character widthJosé Millán Soto2012-01-311-1/+1
| | | | | | Merge-request: 1148 Task-number: QTBUG-18233 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Fix errors when compiling Qt with STLportCédric OCHS2012-01-312-1/+4
| | | | | | Task-number: QTBUG-18374 Reviewed-by: Olivier Goffart Merge-request: 1157
* Compile fix on solarisThierry Bastian2012-01-311-1/+1
| | | | | Task-number: QTBUG-15323 Reviewed-by: TrustMe
* qRound: do not do operation with double when qreal is floatOlivier Goffart2012-01-311-2/+2
| | | | | | | | 0.5 is double a literal, and they force computation on double while it would be more optimized on qreal if qreal is a float Task-number: QTBUG-16673 Reviewed-by: Thierry
* QSslConfiguration: fix equals operatorPeter Hartmann2012-01-311-1/+1
|
* Fix cursor position of one digit after RTL textJiang Jiang2012-01-312-1/+24
| | | | | | | | | A single digit after RTL text will be considered as RTL because it was treated as Other Neutral (DirON), it can be solved by changing it to DirAN. Task-number: QTBUG-2795 Reviewed-by: Lars Knoll
* fix project name duplicates in generated projects.slnJoerg Bornemann2012-01-314-4/+6
| | | | | | | Using QMAKE_PROJECT_NAME to rename certain projects. Task-number: QTBUG-6887 Reviewed-by: owolff
* qmake: introduction of QMAKE_PROJECT_NAMEJoerg Bornemann2012-01-312-3/+8
| | | | | | | | With this variable one can set the project name for IDE project files. Currently only used for Visual Studio Task-number: QTBUG-3206 Reviewed-by: ossi
* Send the hoverLeave not properly sent on the widget inside QGPW.Alexis Menard2012-01-312-2/+64
| | | | | | | | We need to send the hover leave event on the proper receiver in case the widget we embed in a complex hierarchy not the widget itself. Task-number:QTBUG-6986 Reviewed-by:bnilsen
* Support exception handling in QtConcurrent::run()Morten Johan Sørvig2012-01-312-2/+62
| | | | | Use QFutureInterface::reportException() in the same way that we do in QtConcurrent::map().
* Make QtUiTools use the lib-infix passed to configure.Friedemann Kleint2012-01-312-4/+6
| | | | | | | Patch contributed by OpenEmbedded project. Reviewed-by: hjk Task-number: QTBUG-7169
* There is no predefined qmake x11 scope for x11 builds.Robert Griebl2012-01-312-0/+4
| | | | | | | | | | | | All the autotests that are using a x11{} scope to add QMAKE_LIBS_X11 to LIBS are actually not adding anything at all, but just happen to build correctly because the standard GNU ld resolves symbols in shared libraries recursively (and libQtGui depends on all those X libs already). Building those tests with GNU gold will lead to undefined X* symbols, since gold doesn't use implicitly dependant libs to resolve symbols. Reviewed-by: Harald Fernengel