summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated testcase to match new boundingRect logicGunnar Sletta2009-10-281-1/+1
|
* Adapt testcase to updates in QGraphicsPixmapItemGunnar Sletta2009-10-281-2/+2
| | | | Reviewed-by: TrustMe
* Got tst_qpixmapfilter.cpp compiling againGunnar Sletta2009-10-281-1/+1
| | | | Reviewed-by: Trustme
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-2724-167/+305
|\
| * Fix integer overflow in string.remove len parameterMarkus Goetz2009-10-272-3/+12
| | | | | | | | | | Task: 262677 Reviewed-by: joao
| * Carbon: active window not restoredRichard Moe Gustavsen2009-10-271-2/+9
| | | | | | | | | | | | | | | | | | | | After closing a window we used to go through the list of kDocumentWindowClass windows to pick the next one to pop to front. This patch will search the kMoveableWindowClass list of windows first, and as such, pop to front any modal window first Rev-By: MortenS
| * Implement support for wheel delta with finer resolution than 15 deg.Richard Moe Gustavsen2009-10-275-87/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, Qt, in many places, does not really understand that a mouse wheel, or touch pad, might operate on a much higher granularity than 15 degrees (that is, a delta of 120). This is clear disadvantage on mac, since the mighty mouse, and track pad, got a resolution that is close to 1 degree. This is called pixel scrolling. This patch first and formost changes the implementation of QAbstractSlider::wheelEvent to _really_ understand what to do when delta is less than 120. Rather than accumulate delta until 120 is reached, then scroll with a value equal to: offset * step * QApplication::wheelScrollLines (default = 3), we multiply offset directly, before waiting for 120. This means that event tough offset is below 120, multiplying it with wheelScrollLines and step will very often give a value over 120, menaing we can scroll much earlier and _much more_ fined grained. This also fixes some auto tests that was ifdeffed out because of specialised mac code written inside this function from before. (NB: we still plan to introduce a new event for pixel scrolling, perhaps for Qt-4.7) Rev-By: Andreas Rev-By: denis
| * Fix OpenVG window composition when opacity != 1Rhys Weatherley2009-10-271-20/+16
| | | | | | | | | | Task-number: QT-2322 Reviewed-by: Sarah Smith
| * Use vgClear() to clear the background during screen compositing.Rhys Weatherley2009-10-271-18/+46
| | | | | | | | | | | | | | | | This fixes an "off by 1" bug in screen compositing with OpenVG that left lines all over the background when windows were moved. Task-number: QT-2322 Reviewed-by: Sarah Smith
| * Fixes Oracle batchExec using strings as out params.Bill King2009-10-272-2/+63
| | | | | | | | | | | | reserve() affects capacity(), not length(). Task-number: QTBUG-551
| * Autotest: fix building tst_qsqlquery.Thiago Macieira2009-10-261-1/+1
| | | | | | | | | | | | 'का' is not valid, since it encodes to more than 1 byte. Reviewed-by: Trust Me
| * Revert "Re-apply change 8e0fbc2caa3edefb78d6667721235b783bc1a850 by Iain"Iain2009-10-261-13/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit f4abf627a8d097e095022d2709718a681b54bd7e. DEF file was unconditionally enabled for Webkit, ignoring setting in qtbase.pri, which was supposed to be the global place to enable/disable DEF file usage. Remove this workaround since we still haven't got DEF files switched on by default. (cherry picked from commit 3b7f570e6f296ef0a5c9c581ed06cb19986164a0)
| * Doc: Added internal or hidden placeholder documentation.David Boddie2009-10-261-0/+17
| | | | | | | | | | Reviewed-by: Trust Me To-be-completed-by: QtWebKit developers
| * Doc: Fixed qdoc warnings.David Boddie2009-10-263-7/+3
| | | | | | | | Reviewed-by: Trust Me
| * Doc: Fixed qdoc warnings.David Boddie2009-10-261-2/+21
| | | | | | | | Reviewed-by: Trust Me
| * Doc: Fixed whitespace issue.David Boddie2009-10-261-4/+3
| | | | | | | | Reviewed-by: Trust Me
| * QSslSocket: Add \reimp to the socket option functionsMarkus Goetz2009-10-261-0/+6
| | | | | | | | Reviewed-by: Thiago
| * tst_qtcpsocket: Increased some of the timeouts to increase stabilityMarkus Goetz2009-10-261-7/+7
| | | | | | | | Reviewed-by: TrustMe
| * QPixmap::loadFromData: Do not crash on empty/invalid data/lengthMarkus Goetz2009-10-262-0/+24
| | | | | | | | | | Task-number: 262636 Reviewed-by: gunnar
| * Implement symbol hiding for JSC's JIT functions.Thiago Macieira2009-10-261-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions are implemented directly in assembly, so they need the proper directives to enable/disable visibility. On ELF systems, it's .hidden, whereas on Mach-O systems (Mac) it's .private_extern. On Windows, it's not necessary since you have to explicitly export. I also implemented the AIX idiom, though it's unlikely anyone will implement AIX/POWER JIT. That leaves only HP-UX on PA-RISC unimplemented, from the platforms that Qt supports. It's also unlikely that we'll imlpement JIT for it. Reviewed-by: Kent Hansen (this commit was 26d0990c66068bfc92a2ec77512b26d4a0c11b02, but was lost during a WebKit update)
| * Fix linking of WebKit on Linux 32-bit.Thiago Macieira2009-10-261-1/+2
| | | | | | | | | | | | It was missing the ".text" directive at the top of the file, indicating that code would follow. Without it, the assembler created "NOTYPE" symbols, which would result in linker errors.
| * Fixed typo in configure usage (superfluous hyphen).Erik Verbruggen2009-10-261-1/+1
| | | | | | | | Reviewed-by: Thiago Macieira
* | Fixed QPainterPath to properly set the convex hint on QVectorPath'sGunnar Sletta2009-10-272-14/+38
| | | | | | | | Reviewed-by: Samuel
* | Fixed compilation of QGraphicsEffectSource autotest.Samuel Rødal2009-10-271-3/+3
| |
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-graphics-team into 4.6Gunnar Sletta2009-10-2714-632/+226
|\ \
| * | Made blur and drop shadow APIs use qreal instead of int for blur radius.Samuel Rødal2009-10-275-32/+32
| | | | | | | | | | | | | | | | | | | | | There's no reason to lock ourselves to int in the API when some of the backend could handle floating point blur radii. Reviewed-by: Bjørn Erik Nilsen
| * | Made graphics effects autotest compile.Samuel Rødal2009-10-271-1/+2
| | | | | | | | | | | | | | | | | | There's no grayscale effect anymore, use colorize effect. Reviewed-by: Gunnar Sletta
| * | Options on how to get a pixmap from an effect sourceGunnar Sletta2009-10-278-18/+177
| | | | | | | | | | | | | | | | | | Usable for future optimizations. Reviewed-by: Samuel
| * | Cocoa: Synthesize italic text correct way when adding glyphs to pathEskil Abrahamsen Blomfeldt2009-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Mac OS X, Cocoa, we would synthesize italics on the text by slanting it in the incorrect direction (so it leaned to the left) when generating a path from the text, e.g. when printing. The patch makes the text slant the correct way, and the logic now becomes identical with the synthesized italics in the draw() function. Task-number: QTBUG-4969 Reviewed-by: Trond
| * | Fixed PDF generation for Windows.Trond Kjernaasen2009-10-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Font names were not retrieved correctly after the QT_WA removal patch. The old code always used the GetTextOutlineA() API, except for WinCE, even when a Unicode compatible Windows platform was used. Reviewed-by: Kim
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-graphics-team into 4.6Gunnar Sletta2009-10-261502-16353/+43632
| |\ \
| | * | Made sure we invalidate the cache when the effect rect changes.Samuel Rødal2009-10-261-2/+6
| | |/ | | | | | | | | | | | | | | | | | | When blurring and the blur radius increases we need a bigger effect rect to do within-pixmap-bounds filtering. Reviewed-by: Bjørn Erik Nilsen
| * | Removed pixelize, bloom and grayscale filterGunnar Sletta2009-10-233-574/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is new API and we don't want to add several items that are not strictly needed. This is a new set of features and we can grow them once we have more input from users on what is needed. The Bloom filter was added based on input from designers, but is not implemented according to how designers think of blook, so the effect doesn't meet the requirements. The Grayscale filter is functionally a duplicate of the colorize filter and is therefore not needed. The Pixelize filter has no genuine usecase. Reviewed-by: Samuel
* | | Merge branch 'vectorpath' into 4.6Gunnar Sletta2009-10-276-45/+74
|\ \ \
| * | | Make use of QVectorPath::isConvex() to speed up rounded rect fillingGunnar Sletta2009-10-271-3/+1
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
| * | | Reworked QVectorPath API to allow for caching and convex curved shapesGunnar Sletta2009-10-275-40/+72
| | | |
| * | | Removed a redundant if() check. Its checked in the containing conditionGunnar Sletta2009-10-271-2/+1
| | | | | | | | | | | | | | | | Reviewed-by: Samuel
* | | | Reset the GL error stack prior to checking for errors in bindTexture()Gunnar Sletta2009-10-271-0/+5
|/ / / | | | | | | | | | Reviewed-by: Tom
* | | Fixed crash when QPrintDialog parent is a subwidgetGunnar Sletta2009-10-271-1/+1
| | | | | | | | | | | | Reviewed-by: Trond
* | | Kill a tiny few sin/cos/sqrt calls in the new strokerGunnar Sletta2009-10-262-3/+12
| |/ |/| | | | | Reviewed-by: Eskil
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-261500-16350/+43625
|\ \
| * | Suppress warnings in QtOpenGL codeRhys Weatherley2009-10-263-1/+5
| | |
| * | Suppress warnings under OpenGL/ES 2.0 in QGLShaderProgramRhys Weatherley2009-10-261-0/+55
| | |
| * | Fix OpenGL/ES 2.0 bug in previous QGLShaderProgram check-inRhys Weatherley2009-10-261-1/+1
| | |
| * | Use QObjectPrivate within QGLShaderPrivate and QGLShaderProgramPrivateRhys Weatherley2009-10-262-47/+134
| | | | | | | | | | | | Reviewed-by: Sarah Smith
| * | Optimize concatenation of partial shadersRhys Weatherley2009-10-262-30/+95
| | | | | | | | | | | | Reviewed-by: Sarah Smith
| * | Fix ifdef around QMatrix4x4::rotate(QQuaternion)Rhys Weatherley2009-10-261-1/+1
| | | | | | | | | | | | Reviewed-by: trustme
| * | Optimize QGraphicsRotation's use of QMatrix4x4Rhys Weatherley2009-10-264-6/+179
| | | | | | | | | | | | | | | | | | | | | | | | Previous code was creating a full 3D rotation matrix and then projecting back to 2D. This change combines the two steps into one to avoid calculating matrix components that will be dropped. Reviewed-by: Sarah Smith
| * | Make compile on X11 systems where qreal == floatRhys Weatherley2009-10-261-1/+1
| | | | | | | | | | | | Reviewed-by: Sarah Smith
| * | Fix a crash in shutdown of QGraphicsEffectRhys Weatherley2009-10-251-1/+1
| | | | | | | | | | | | Reviewed-by: trustme