summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | My 4.5.1 changes.Bjoern Erik Nilsen2009-04-161-0/+22
| | | | |
| | * | | Fix a bug that made it hard to click the top items in a list widgetNorwegian Rock Cat2009-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our "view under tranparent view" function was sound, but it didn't take into consideration that fact that views in the hierarchy could be hidden. This is most prominent when you have a QFocusFrame over a QAbstractScrollArea. Task-number: 251008 Reviewed-by: Morten Sørvig
| | * | | Fixed titlebar on X11 for fixed size windows with Qt::CustomizeWindowHintDenis Dzyubenko2009-04-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 250326 Reviewed-by: Brad
| * | | | Remove obsolete code from autotests.Jason McDonald2009-04-16109-1576/+415
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each version of Qt has its own set of autotests, therefore preprocessor directives relating to obsolete QT_VERSION's are not necessary. Reviewed-by: Carlos Duclos
| * | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-04-161-3/+18
| |\ \ \
| | * | | QFileDialog: When passing an invalid path in static functions the nativeAlexis Menard2009-04-161-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dialog don't appear on Windows. The problem is with the directory that you can specify when calling the static functions. It can include a file in that path which means that the file will be selected by default when the dialog appears. But if you give an invalid file as a selection to the Windows API, then it simply don't display the dialog. The patch is basically checking the dir we get when we are called. workingDirectory tested it already and fallback to the current directory if the argument is invalid. I just check now if workingDirectory changed the path (that means the parameter value was incorrect) and select nothing in that case. Using this trick avoid stating again the complete path to check if the selection exist. (i.e. path() on QFileInfo don't call stat()). Task-number: 250120 Reviewed-by: jan-arve Reviewed-by: jasplin
| * | | | Remove obsolete pre-processor directives that check QT_VERSION.Jason McDonald2009-04-1616-96/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me ....though discussed with three devs.
| * | | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-04-162-4/+21
| |\ \ \ \ | | |/ / /
| | * | | QX11Embed crashes on 64-bit SolarisBradley T. Hughes2009-04-161-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The data passed to XChangeProperty should be long arrays, as this is what Xlib expects. Task-number: 244062 Reviewed-by: Rhys Weatherley
| | * | | Add sql changes to 4.5.1 changelogBill King2009-04-161-0/+18
| | | | |
| * | | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-04-1661-925/+2568
| |\ \ \ \ | | |/ / /
| * | | | Remove obsolete pre-processor directives that check QT_VERSION.Jason McDonald2009-04-1613-101/+0
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Kent Hansen
* | | | | Fix two bugs in Graphics View's mouse grab logics + add autotests.Andreas Aardal Hanssen2009-04-173-7/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change fd4d94df4eb16e9e54f61dd8ee45914e24832ae9 introduced mouse grab and keyboard grab support to Graphics View (this was as part of 4.4). The change was missing a large set of autotests that I wrote to test the behavior of these features. As part of task 245317, which involves investigating modality in Graphics View, I figured it would be a good idea to start off but reconstructing these autotests. So this change is mainly about adding autotests for mouse grabbing. And of course, as it always is, I found two bugs while writing these tests. 1) Calling QGraphicsItem::grabMouse() while the item is holding the implicit mouse grab will now upgrade the implicit grab to an explicit grab. 2) Adding a popup to the scene will automatically grab the mouse. Before, the popup would get the grab on show(), but if it was already visible when added to the scene it would not gain the grab. Task-number: 245317 Reviewed-by: jasplin
* | | | | Condense this code into one single case. Avoid duplicating code.Thiago Macieira2009-04-161-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just because I can. Reviewed-by: Bradley T. Hughes
* | | | | QTreeView automatic resize can be brokenThierry Bastian2009-04-163-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QTreeView sometimes autoresizes the wrong column Task-number: 210390 Reviewed-by: janarve
* | | | | Make subpixel antialiasing of text work on Mac OS X under carbonGunnar Sletta2009-04-164-41/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the alphaRGBMapForGlyph function and make use of it in the raster engine. The gamma correction is currently hardcoded to 2.0 which looks very good on two separate displays (iMac and MacBook Pro). Ideally this would be picked from the system settings or computed dynamically, but as long as 2.0 works, we'll stick to that. Reviewed-by: Samuel
* | | | | Fixes: Faster string-splitting in QResource::findNode()Gunnar Sletta2009-04-161-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RevBy: Samuel Details: Creating the intermediate stringlist and appending all the temporary strings to it costs quite a bit. Fix this by introducing a StringSpliter class that is malloc-free and uses QStringRef instead. Found during S60 Performance week
* | | | | Fixes: Make QDir::cleanPath() slightly faster, by avoiding some detach calls..Gunnar Sletta2009-04-161-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RevBy: Samuel Details: We have the size of the array and we don't realloc, so we can use direct pointer access. This saves us a few detach() calls and some refcount checking in the inner loops... Found during S60 Performance week...
* | | | | Fixes: Speed up QFileInfo::setFile() a bit...Gunnar Sletta2009-04-161-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RevBy: Samuel Details: When doing initFileEngine on a operational QFileInfo, it will detach(), which creates copy of the file engine, then we delete this engine and create our own engine. Creating a clean QFileInfo, saves us one temporary file engine..
* | | | | Experimental fix for speeding up QResource::name()...Gunnar Sletta2009-04-161-2/+8
| | | | |
* | | | | Reduce the number of calls to cleanPath() in QResourceRoot::findNodeSamuel Rødal2009-04-161-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the cleanPath call out of the function and outside the loops to avoid doing the same work over and over. Reviewed-by: Gunnar Sletta
* | | | | Optimize vector normalize for vectors of length 1Rhys Weatherley2009-04-155-39/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the square of the length is very close to 1, then avoid the qSqrt(). Reviewed-by: trustme
* | | | | Add the QQuaternion::nlerp() function as a counterpart to slerp()Rhys Weatherley2009-04-153-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nlerp() implements "normalized linear interpolation", which is faster than slerp() and gives approximate results that are good enough for some applications. Reviewed-by: trustme
* | | | | Rename QQuaternion::interpolate() to slerp()Rhys Weatherley2009-04-153-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slerp() is the more common-place name in the 3D community. Reviewed-by: trustme
* | | | | Remove the int constructors from the vector classesRhys Weatherley2009-04-158-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The int constructors existed to make fixed-point conversions faster in certain circumstances. With the removal of fixed-point support, they are no longer required. Reviewed-by: trustme
* | | | | Merge branch '4.5' of git@scm.dev.troll.no:qt/qtSimon Hausmann2009-04-152-9/+26
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | protect against circular inclusion of pro/pri filesOswald Buddenhagen2009-04-151-1/+7
| | | | | | | | | | | | | | | | | | | | Task-number: 250574
| * | | | do not crash on lines starting with an equal signOswald Buddenhagen2009-04-151-0/+3
| | | | |
| * | | | fix uninitialized variable readOswald Buddenhagen2009-04-151-4/+12
| | | | |
| * | | | add some commentsOswald Buddenhagen2009-04-151-4/+4
| | | | |
| * | | | Changelog for 4.5.1Denis Dzyubenko2009-04-151-0/+42
| | | | |
| * | | | GTK: Fix line edit background color with custom brushJens Bache-Wiig2009-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should allways use the brush and not the color if possible. Task-number: 240842 Reviewed-by: nrc
| * | | | Silence warning about unused static function on WindowsJoão Abecasis2009-04-151-0/+2
| | | | | | | | | | | | | | | | | | | | Reviewed-by: mariusSO
| * | | | QFileDialog : Fix filters that doesn't work if whitespaces at the endAlexis Menard2009-04-152-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is basically remove the whitespaces at the end otherwise the reg exp will be wrong. Task-number: 240789 Reviewed-by: jasplin
| * | | | Fixed and improved the example codeJan-Arve Sæther2009-04-152-14/+58
| | | | |
| * | | | Updated changesPaul Olav Tvete2009-04-151-0/+3
| | | | |
| * | | | Make choosing a file path for a QUrl-type property work on Windows.Friedemann Kleint2009-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Use QUrl::fromLocalFile to construct the url string. Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
| * | | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jarek Kobus2009-04-1543-858/+2198
| |\ \ \ \
| | * | | | Update changelog with my changesBradley T. Hughes2009-04-151-0/+26
| | | | | |
| | * | | | Fixed painting issues with draggable tabsJens Bache-Wiig2009-04-153-75/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a few of the remaining glitches tabbar animations have: * We no longer grab tabs but paint them through QStyle. This makes tabs work and animate correctly when they are outside the visible region. * Buttons now correctly follow tabs when dropped * Gtkstyle recieved some polish to make it look more native. Task-number: 247694, 251166 Reviewed-by: nrc
| | * | | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Kavindra Devi Palaraja2009-04-152-2/+9
| | |\ \ \ \
| | | * | | | Prevent crash in qt_scrollRectInImage.Samuel Rødal2009-04-152-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clip both against the source and target device rectangles. Task-number: 247937 Reviewed-by: Trond BT: yes
| | * | | | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Kavindra Devi Palaraja2009-04-158-15/+96
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | Merge commit '4e9c2364e8e9580aa317e9387338d45207ac4baa' into HEAD
| | | * | | | My 4.5.1 changes.Morten Sørvig2009-04-151-2/+16
| | | | | | |
| | | * | | | Update the item if the text has changed but the boundingRect is theAlexis Menard2009-04-152-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | same. updateBoudingRect update the item only if the boundingRect change but if we have 123 as an initial text and then we set 321 as the new text, then nothing happen because the rect is the same. In case the boundingRect change then we call update 2 times but the item is already dirty so the second call will just return. BT:yes Reviewed-by: Andreas
| | | * | | | BT: Updated configure for OpenGL ES 2.0 Windows CEFriedemann Kleint2009-04-151-0/+0
| | | | | | |
| | | * | | | Reparenting QGLWidgets did sometimes caused warnings to be printed onTrond Kjernåsen2009-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mac/Cocoa. Check if the view is visible before attaching it to a context. Task-number: related to 250066 Reviewed-by: Norwegian Rock Cat BT: yes
| | | * | | | BT: Namespace compile fixes for Cocoa.Norwegian Rock Cat2009-04-153-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It worked in 4.5.0, so it should work in 4.5.1 too.
| | | * | | | My changesJan-Arve Sæther2009-04-151-6/+19
| | | | | | |
| | | * | | | My changes for 4.5.1João Abecasis2009-04-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BT: yes