summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-08-1718-135/+933
|\
| * Implemented faster image transformation in the raster engine.Kim Motoyoshi Kalland2009-08-173-13/+664
| | | | | | | | | | Task-number: 245650 Reviewed-by: Gunnar
| * Removed unused member variable from QGLFramebufferObjectPrivate.Kim Motoyoshi Kalland2009-08-171-2/+0
| | | | | | | | Reviewed-by: Samuel
| * Initialize QSvgTinyDocument::m_widthPercent and m_heightPercent.Kim Motoyoshi Kalland2009-08-171-4/+6
| | | | | | | | Reviewed-by: Trond
| * Add support for the orientation of tiff imagesBenjamin Poulain2009-08-171-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | The orientation tag was ignored for tiff images. The tag is now used to rotate the image before providing it to the user. The orientation of indexed an mono images is done completely manually. The orientation of other type is done in conjunction to the mirroring already performed by libtiff. Task-number: 258526 Reviewed-by: Samuel Rødal
| * Doc - mentioned that if no QRegExp is set, or an empty string is set,Kavindra Devi Palaraja2009-08-171-3/+5
| | | | | | | | | | | | | | | | everything in the source model will be accepted. Task: 251308 Reviewed-By: Olivier Goffart
| * Doc - some clean ups to QSortFilterProxyModel's documentationKavindra Devi Palaraja2009-08-171-89/+82
| | | | | | | | Reviewed-By: TrustMe
| * Merge QGV delta from kinetic-declarativeui into master.Andreas Aardal Hanssen2009-08-179-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | New flag: QGraphicsItem::ItemNegativeZStacksBehindParent, which makes it easy to toggle stack-behind based on the value of Z alone. Add interface initializations to QGV classes. Add a simple internal focus policy to QGraphicsItem to allow derived items to be focusable without allowing clickfocus. Reviewed-by: Alexis
| * Fixed text rendering on GL ES 2 implementations.Trond Kjernåsen2009-08-172-12/+31
| | | | | | | | | | | | | | | | | | | | | | Some GL ES 2 implementations seem to have problems with glCopyTexSubImage2D(), so we fall back and read the old font texture into system memory and re-upload the new font texture. Also, the precision used for texture coordinates in the fragment programs wasn't high enough, which could lead to rendering artifacts. Reviewed-by: Samuel
* | Doc: Clarified that arguments should be passed as separate strings.David Boddie2009-08-171-5/+13
|/ | | | | Task-number: 178753 Reviewed-by: Trust Me
* Fix a crash in the destruction of QListViewThierry Bastian2009-08-171-2/+4
|
* More coverity warnings removedThierry Bastian2009-08-175-15/+7
|
* qdoc: Fixed the bug that made reporting NOTIFY signals not work.Martin Smith2009-08-171-2/+3
| | | | | | | | | | The signal was being associated with a particular property, but in many classes, the NOTIFY signal applies to multiple properties. Added a new function to the PropertyNode class that adds the signal function without associating it with any property. Task-number: 259071
* QTextControl::print: fix coverity warningThierry Bastian2009-08-172-4/+3
| | | | | the test was wrong on the QPrinter pointer In addition, priv is never null
* remove QT_RASTER_PAINTENGINE and QT_RASTER_IMAGEENGINE defines as they areGunnar Sletta2009-08-175-82/+33
| | | | | | legacy and completely pointless... Reviewed-By: Eskil
* Fix coverity warningsThierry Bastian2009-08-175-9/+6
|
* QPaintDevice implemented in qpaintdevice.cpp. Saves duplicated codeGunnar Sletta2009-08-175-72/+69
| | | | Reviewed-by: Eskil
* Transforms do not obey AnchorUnderMouse with viewport margins setGabriel de Dietrich2009-08-171-2/+2
| | | | | | | | | | | | | setTransformationAnchor(QGraphicsView::AnchorUnderMouse) would not work properly if viewport margins were set. When centering the view in QGraphicsViewPrivate::centerView, the viewport margins were not being taken into account. Mapping from global cursor coordinates in the viewport instead of the view fixes the issue. Task-number: 255529 Reviewed-by: Olivier
* Better handling of qreal with QVariantThierry Bastian2009-08-178-26/+33
|
* Fixed coverity warningsThierry Bastian2009-08-178-13/+13
|
* Use LIBS_PRIVATE on Mac and X11.Thiago Macieira2009-08-1727-41/+59
| | | | | | | | | | | | | | | | On the Mac, it means "-framework ApplicationServices -framework Carbon -framework AppKit" are no longer part of the default LIBS in Qt applications. This required a lot of fixes where we used Mac-specific code in Qt. On X11, it was very straightforward, because we apparently use very little of X11 outside QtGui. I haven't changed the Windows-specific LIBS paths, because I don't know how Windows behaves. Windows has DLLs, but it links to static "import" libraries. So is it static linking or dynamic linking? Reviewed-By: Marius Storm-Olsen
* doc: Eliminated two qdoc error reports.Martin Smith2009-08-171-0/+10
|
* qpdf: fix memory leak detected by coverityThierry Bastian2009-08-171-0/+3
|
* Doc: Mention that destroying an item that belongs to a QGraphicsScene is ↵Olivier Goffart2009-08-171-0/+3
| | | | | | | | | inneficient As the virtual functions (such as the boundingRect()) are not available anymore in the destructor, the view has to refresh everything. Reviewed-by: Alexis
* Doc: Fix links and silence qdoc warnings.Volker Hilsheimer2009-08-163-24/+25
|
* Fixed compile.Rohan McGovern2009-08-141-3/+3
| | | | Put EffectParameter::userType back to EffectParameter::type.
* Fixed compile.Rohan McGovern2009-08-141-1/+1
| | | | | Put QString::toReal back to QString::toDouble, there is no QString::toReal.
* Avoid wrapping outside word boundaries in QTextDocument unless necessaryEskil Abrahamsen Blomfeldt2009-08-141-9/+10
| | | | | | | | | | | | | If you have a floating object which affects the width available to the text, we need to recalculate the width of the text line. In the code, the setLineWidth() call to do this would by default have WrapAnywhere as its wrap mode, even when this was not necessary. The code has now been moved so that WrapAnywhere is only used if we try to set the line width to match the available width and detect that the text is too wide (the natural text width exceeds the available space.) Task-number: 240325 Reviewed-by: Simon Hausmann
* Reimplement qSwap and Q_DECLARE_SHARED differently.Thiago Macieira2009-08-144-41/+40
| | | | | | | | | This enables the use of Q_DECLARE_SHARED with d-pointers that are QExplicitlySharedDataPointer<PrivateClass>. Also, this enables swapping atomically QSharedPointers. Reviewed-by: Harald Fernengel
* QVariant: more work on avoinding conversion between float and doublesThierry Bastian2009-08-145-16/+16
| | | | we call QVariant::toReal instead of toDouble when needed
* Fixed Coverity defect CID 1528.Gabriel de Dietrich2009-08-141-1/+1
| | | | Reviewed-by: Olivier
* Removing some unused variables.Alessandro Portale2009-08-146-16/+0
|
* QCssParser: reordering initializers to match declarationThierry Bastian2009-08-141-1/+1
|
* Fixed coverity warningsThierry Bastian2009-08-1416-37/+26
| | | | | Some dead code removed Some member not initialized missing
* QVariant: added toFloat and toRealThierry Bastian2009-08-1414-48/+90
| | | | | | | | Made better use of qreal all over the place. We were previously using QVariant::toDouble a lot. That is triggering unnecessary conversions between float and double on embedded. Reviewed-by: ogoffart
* Cocoa: Fix several issues with the event dispatcherRichard Moe Gustavsen2009-08-146-193/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotest: qcoreapplication, qapplication, qtimer qwidget_window, qwidget Issue 1: stacking order of modal windows was not working correctly. With this patch, we remove the need for rebuilding modal sessions all the time, and when we do, we rebuild them all in the correct order. Issue 2: When running the event processor manually (that is, just calling processEvents in a loop), we sometimes spendt 100% cpu if a window was pending to become modal. The reason was that we need to keep reposting the QCocoaRequestModal event until we could block the calling thread (that is, one of the exec flags was given to processEvents). With this patch, the need for posting QCocoaRequestModal is completly removed in favor of an 'interrupt' approach instead. Issue 3: If using Qt as a plugin, or just add widget to a native cocoa application, it would often lead to closing down the application. The reason is that the event dispatcher needs to restart [NSApp run] now and then. But this approach fails if Qt was not the code that started [NSApp run] in the first place. This patch removes the need to restart NSApp in this situation, at the cost of modal windows not beeing modal if Qt is not spinning the event dispatcher. Normal QDialog::exec etc will always work.
* Our modifications to freetypeHarald Fernengel2009-08-148-23/+292
|
* Add freetype 2.3.9Harald Fernengel2009-08-14661-0/+292236
|
* Deleted freetype 2.3.6Harald Fernengel2009-08-14650-282668/+0
|
* QTextFormat: better use QVariant::userType over QVariant::typeThierry Bastian2009-08-141-15/+15
| | | | | it was even a bug when checking against QMetaType::Float because Float is a user type so it could never be true
* spelWarwick Allison2009-08-143-12/+12
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtWarwick Allison2009-08-143289-5176/+9642
|\
| * remove unneeded distinction between Windows and Windows CERitt Konstantin2009-08-131-5/+1
| | | | | | | | | | Merge-request: 1167 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * create world TRUSTEE only once in QFSFileEngine (Win)Ritt Konstantin2009-08-131-22/+23
| | | | | | | | | | | | | | Don't re-create world TRUSTEE everytime in getPermissions() Merge-request: 1167 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * use BuildTrusteeWithSid instead of BuildTrusteeWithNameRitt Konstantin2009-08-131-52/+13
| | | | | | | | | | | | | | | | | | | | Get current user SID from the token of the current process and use it to fill UserTrustee with BuildTrusteeWithSid; Remove workaround for buggy secur32.dll version. Merge-request: 1167 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * remove needless resolvings in qfsfileengine_win.cppRitt Konstantin2009-08-131-53/+31
| | | | | | | | | | | | | | | | OpenProcessToken and SetFilePointerEx are present in all versions since NT4.0; use them if Q_OS_WINCE is not defined Merge-request: 1167 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * Fix coverity warningsThierry Bastian2009-08-134-7/+8
| |
| * fixing return values _wchmod on Windows CEJoerg Bornemann2009-08-132-4/+5
| | | | | | | | | | | | | | | | _wchmod returns 0 on success and -1 on error. Our Windows CE implementation did it wrong. Thanks to Konstantin Ritt for spotting this! Reviewed-by: mauricek
| * Add QIntegerForSize<1> and QIntegerForSize<2>.Thiago Macieira2009-08-131-0/+2
| | | | | | | | | | Undocumented, but maybe they're useful somewhere. It doesn't hurt to add them.
| * Internal doc: explain how QSharedPointer worksThiago Macieira2009-08-132-18/+305
| |