summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* API review: Rename numPages() -> pageCount()Marius Storm-Olsen2009-11-093-4/+17
| | | | | | | | QPrintPreviewWidget wasn't following the Qt API naming convention of *Count()/set*Count(). Introduce proper function, and obsolete the old. Removed all usage of the old function in Qt. Reviewed-by: Andreas Aardal Hanssen
* API review: Rename numDigits() and setNumDigits()Marius Storm-Olsen2009-11-094-22/+44
| | | | | | | QLCDNumber doesn't follow the API convention of *Count and set*Count(). Introduce properly named functions, and obsolete the old ones. Reviewed-by: Andreas Aardal Hanssen
* API review: Rename numCols() -> colorCount()Marius Storm-Olsen2009-11-066-6/+28
| | | | | | | | | The name numCols is ambiguous, as sometimes it's refering to the number of columns, and sometimes the number of colors. It also does not match the typical Qt naming convention *Count(). Reviewed-by: Tom Cooksey Reviewed-by: Andreas Aardal Hanssen
* API review: Rename functions numColors(), setNumColors() and numBytes()Marius Storm-Olsen2009-11-0644-164/+207
| | | | | | | | | | QPaintDevice and QImage used the functions numColors(), setNumColors(), and numBytes(). However, this is not consistent with the rest of the Qt API which uses *Count() and set*Count(). Removed all usage of these functions inside Qt and test-cases. Reviewed-by: Andreas Aardal Hanssen
* API review: QRegExp::numCaptures() -> QRegExp::captureCount()Marius Storm-Olsen2009-11-0613-33/+46
| | | | | | | QRegExp::numCaptures() is marked as obsolete. Replaced all usage in Qt and test-cases. Reviewed-by: Andreas Aardal Hanssen
* API review: QMatrix::det() -> QMatrix::determinant(), matching math3dMarius Storm-Olsen2009-11-062-5/+16
| | | | | | | | After an API review of the new math3d classes, the full name was considered better than the short version. Therefore we obsolete the short function, and introduce the longer version. Reviewed-by: Andreas Aardal Hanssen
* API review: Add convenience functions using QMarginsMarius Storm-Olsen2009-11-066-0/+80
| | | | | | | We added the class QMargins, so we should use it wherever we deal with margins, as a convenience to the users. Reviewed-by: Andreas Aardal Hanssen
* Add preliminary QAccessibleImage interfaceHarald Fernengel2009-11-066-2/+96
| | | | As requested by the Maemo team.
* Merge remote branch 'platform-team/4.6' into 4.6Morten Johan Sørvig2009-11-0621-46/+679
|\
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6Morten Johan Sørvig2009-11-060-0/+0
| |\
| | * Merge commit 'upstream/4.6' into 4.6Bradley T. Hughes2009-11-060-0/+0
| | |\
| | * | Fixed g++ compiler warnings in qpen.cpp.Samuel Rødal2009-11-061-1/+1
| | | |
| | * | Fix error when configuring on Unix using an evaluation license.Jason McDonald2009-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you run configure on Unix more than once using an eval license (or -DQT_EVAL), configure outputs an error and fails to overwrite src/corelib/global/qconfig_eval.cpp. This is corrected simply by removing any existing instance of the file before re-creating it. Reviewed-by: Trust Me
| | * | Fix fuzzy aliased rendering on GLES2Tom Cooksey2009-11-062-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GL2 paint engine adds a (0.49,0.49) pixel offset when doing aliased rendering. But this assumed if it was doing aliased rendering then multisampling was disabled. On GLES, multisampling is always enabled if the surface has it enabled. So on GLES, we never add the offset if the surface is multisampled. Reviewed-By: Gunnar
| | * | Fix QPainter::setPen(pen with color but no style) on non-extended.David Faure2009-11-062-15/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was working with a QImage but not with a QPixmap, which is obviously a bug. In addition, it broke WebCore::GraphicsContext::setPlatformStrokeColor which does exactly what I put in the unittest: get pen, set color, set pen. This commit fixes the wrong color in the underline of the links in http://www.davidfaure.fr/kde/link_underline_color.html in QtWebkit. Merge-request: 1995 Reviewed-by: Samuel Rødal <sroedal@trolltech.com>
| | * | CompileEskil Abrahamsen Blomfeldt2009-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Missing comma in qfontdatabase.cpp Reviewed-by: Gunnar
| | * | don't do unessesary brush comparrisonsGunnar Sletta2009-11-061-8/+0
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
| | * | Fixed crash in qt_scale_image_16/32bit() when target is flipped.Kim Motoyoshi Kalland2009-11-061-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the target rectangle had negative width or height and the target rectangle's border passed through pixel centres, qt_scale_image_16/32bit() could crash because of incorrect rounding. Task-number: 5493 Reviewed-by: Gunnar
| | * | update documentationLars Knoll2009-11-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We are at Unicode 5.1, not 4.0 Tell about N'Ko support. Reviewed-by: Gunnar
| | * | add support for the N'Ko writing system to QtLars Knoll2009-11-064-49/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables N'Ko support in Qt, after having now a harfbuzz version that supports it. Task-number: QTBUG-1042 Reviewed-by: Gunnar
| | * | update harfbuzz once again, adding N'Ko supportLars Knoll2009-11-064-6/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integrate/update to change 797fe54d9ebbafb0cdc00705c008ea09e7ac1e9e from harfbuzz: commit 797fe54d9ebbafb0cdc00705c008ea09e7ac1e9e Author: Lars Knoll <lars.knoll@nokia.com> Date: Fri Nov 6 11:56:44 2009 +0100 add N'Ko support to the arabic shaper Long outstanding bug report for Qt. See http://bugreports.qt.nokia.com/browse/QTBUG-1042 Task-number: part of QTBUG-1042 Reviewed-by: Gunnar
| | * | Revert micro optimization where NoPen == NoBrush as SVG relies on thisGunnar Sletta2009-11-061-3/+1
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
| | * | Updated testcase since soft-light algorithm rewrite.Gunnar Sletta2009-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The SVG standard changed the algorithm which implies some changes to the results as well. Reviewed-by: Kim
| | * | Fixed uninitialized background artifacts in QWidget::render.Samuel Rødal2009-11-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to use isOpaque to check whether the widget has an opaque background, it's not enough to just check the palette (it doesn't check Qt::NoSystemBackground for example). Task-number: QTBUG-5012 Reviewed-by: Gunnar Sletta
| | * | fix painting on Windows CEMaurice Kalinowski2009-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it seems the timer id ~0 is already used on windows ce or not available at all. This has caused Qt to not receive the timer messages, causing to not update. Task-number: qtbug-5496 Reviewed-by: Gunnar Sletta
| | * | Fixed bad joins in the new stroker... Normal generation was broken.gunnar2009-11-061-4/+2
| | | | | | | | | | | | | | | | Reviewed-by: Trustme
| | * | Fixed warning in lance on printf with wrong typesgunnar2009-11-061-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | * | Fix a bug in malayalam renderingLars Knoll2009-11-062-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated to harfbuzz e6636cadacf220785fca12b741b4587ff1ee42ec. Fixes a bug with the rendering of samvruthokaram (combination of 0xd41 + 0xd4d) in malayalam. Task-number: Parts of QTBUG-1887 Reviewed-by: Eskil
| | * | update harfbuzz to fix assamese shaping bugLars Knoll2009-11-062-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Synced harfbuzz to e66916e33821e71ba19479c32108a2be8bb539b2 Task-number: QTBUG-1802 Reviewed-by: Eskil
| | * | Set strokes as non-convex by default.Gunnar Sletta2009-11-061-0/+4
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
| | * | Use fallback stroker for cosmetic strokes with asymetric transformsGunnar Sletta2009-11-062-3/+14
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
| | * | Fix docs for QGLFramebufferObject & add warnings in bind/releaseTom Cooksey2009-11-061-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Warnings are for binding/releasing when the current context isn't in the same context group as the FBO was created in. Reviewed-By: Trond
| | * | Remove unnessisary QGLFBOGLPaintDevice re-implementationsTom Cooksey2009-11-062-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now QGLFBO doesn't do stacking, QGLPaintDevice's base implementation is ok to use. Reviewed-By: Trond
| | * | Fixed crash in QPixmap::resize_helper on mac and x11Gunnar Sletta2009-11-061-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: Trond
| | * | Add test for QEventTransition when filtering on a QApplication instanceEskil Abrahamsen Blomfeldt2009-11-061-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Test for 8ec037effce7f515fffed6b05c011e385fb52593. Reviewed-by: Gunnar
| | * | Don't crash in QStateMachine when event transition listens toEskil Abrahamsen Blomfeldt2009-11-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QApplication instance We can't assert on actually watching the watched object, since we may have installed an event filter on QApplication::instance(), in which case we will filter events for all objects. Reviewed-by: Gunnar
| | * | Removed the FBO stacking behaviour and the test attached to it.Trond Kjernåsen2009-11-063-133/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Having this behaviour in QGLFrameBufferObject complicates alot of things and isn't really necessary. Reviewed-by: Tom Cooksey
| | * | Fixed soft-light composition mode in raster and OpenGL1.Kim Motoyoshi Kalland2009-11-063-351/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the soft-light composition mode implementation in the raster and OpenGL1 engines to use the equations in the SVG specification as of April 2009. Task-number: QTBUG-3193 Reviewed-by: Trond
| | * | Modify QGLShader and QGLShaderProgram in response to API reviewRhys Weatherley2009-11-069-207/+257
| | | | | | | | | | | | | | | | Reviewed-by: Sarah Smith
| | * | Fixed some debug and some minor optims to QPaintBuffergunnar2009-11-062-40/+60
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | * | Made QPen== catch QPen(Qt::NoPen) == QPen(QBrush(Qt::NoBrush))gunnar2009-11-061-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QSvgDocument uses the latter as default pen so every svg filling command would issue a penChange without this. Reviewed-by: TrustMe
| | * | Added some helpful info to QBrush and QPen's QDebug operatorsgunnar2009-11-062-2/+34
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | Merge remote branch 'qt-official/4.6' into 4.6Morten Johan Sørvig2009-11-0643-897/+1105
| |\ \ \ | | |/ / | |/| / | | |/
| * | Move the check for HWND to be right after the CreateWindow() callAndy Shaw2009-11-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | By moving the check, it ensures that the error message obtained if it fails is correct and not the error message that SetWindowLong() gives due to an invalid HWND. Merge-request: 1910 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | Merge commit 'upstream/4.6' into 4.6Bradley T. Hughes2009-11-0663-166/+944
| |\ \
| * | | Removed the unnecessery loop in the last commit originated from a mergeDenis Dzyubenko2009-11-061-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | request. Reviewed-by: Prasanth
| * | | Fix QDesktopWidget::availableGeometry() on OSXFred Emmott2009-11-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was ignoring top OSX menu bar. Example c++: http://pastebin.ca/1585763 http://fred.uwcs.co.uk/testAvailableGeometry.cpp Example output: http://pastebin.ca/1585766 http://fred.uwcs.co.uk/testAvailableGeometry.output Introduced by commit 13254da6c3192937812983f44ce95fe8e1bc602c Merge-request: 1652 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | | Add major Mac changes.Morten Johan Sørvig2009-11-061-0/+15
| | | |
| * | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6Morten Johan Sørvig2009-11-068-9/+116
| |\ \ \
| | * | | Add support for GetURL events on Mac OS XTor Arne Vestbø2009-11-057-6/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetURL events are delivered by Launch Services to the application if the application is registered as the default handler for the given protocol, and the user for example issues 'open http://foo.com/' in the console or clicks a link in another application. The GetURL event is converted to a QFileOpenEvent, which now has both a QUrl constructor and a url() method. These two new methods work in sync with the file() method, so a QFileOpenEvent constructed from a QUrl will return a valid file name from file() if the URL was a local file. The boolean argument to AEInstallEventHandler decides whether the handler is to be added to the system event dispatch table or the application's event dispatch table. Previously we added it to the system table, but this did not work for the GetURL event. We now use the application event table, which works for all three of the events we register on Carbon. Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>