summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Fix coverity warningsThierry Bastian2009-08-134-7/+3
| | | | | | | | | | for unreachable code, break missing and uninitialized members in constructors
| * Use the correct font for QLineEditPaul Olav Tvete2009-08-131-0/+1
| | | | | | | | | | | | | | We don't get a FontChange event initially, so the control ended up with the default font instead. Reviewed-by: Andreas
| * clucene compiles on Windows CE nowThomas Hartmann2009-08-136-0/+50
| | | | | | | | | | | | | | reimplmenting some missing C functions Task-number: 214990 Reviewed-by: kh
| * Fix focus proxy deletion bugs/crashes in QGraphicsItem.Andreas Aardal Hanssen2009-08-134-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change would have been much simpler if either QGraphicsItem inherited QObject, or if we had some similar QPointer-like class that supported QGraphicsItem. The issue is this: Each item can delegate another item to be its focus proxy. That item can be a parent or child, or something completely unrelated. Either of the two items can be deleted independently. The former solution was to store backpointers in a map in the scene. Problem is, the items may not be in a scene when this happens, they may be removed from the scene, and the items may be moved between two scenes. The bad part about this fix is that it adds another pointer to QGraphicsItemPrivate. Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
| * Doc - Some cleanup on the documentation of QWebElementKavindra Devi Palaraja2009-08-131-158/+220
| | | | | | | | Reviewed-By: Simon Hausmann
| * Fix compile issue for animation frameworkThierry Bastian2009-08-131-1/+1
| |
| * QPropertyAnimation: refactor of the default-value codeThierry Bastian2009-08-133-41/+33
| |
| * fix tab and hold for Windows CE and scrollbarsThomas Hartmann2009-08-131-0/+6
| | | | | | | | | | Task-number: 258378 Reviewed-by: Maurice
| * Compile with QT_KEYPAD_NAVIGATION definedAlan Alpert2009-08-131-3/+2
| | | | | | | | | | | | | | Also, try not to regress in functionality (which the last compile fix did just a little) Reviewed-by: Thomas Hartmann
| * Fixes proper quoting under odbc.Bill King2009-08-131-11/+5
| | | | | | | | | | | | | | Query the database for the quoting charachter, don't assume you know what it is. Reviewed-by: Justin McPherson
| * Ugly round corners when no border is drawnGabriel de Dietrich2009-08-122-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specifying round corners with QStyleSheetStyle and no border-width specified, the round corners were not rendered with antialiasing. Furthermore, if border-width was set to 0, part of the border was rendered in discordance with CSS3. The background in now rendered directly instead of drawing a clipped rectangle. The actual border width is checked before rendering. A test has been added at tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui Task-number: 230362 Reviewed-by: olivier
| * oops: fix an issue when going backward and there is only 1 key value setThierry Bastian2009-08-121-4/+11
| |
| * extern the Qt helper functions with Q_CORE_EXPORTHarald Fernengel2009-08-121-2/+2
| | | | | | | | | | | | | | | | | | The q* helper functions are declared as Q_CORE_EXPORT, so they have to be extern'd like that as well. This fixes a problem where adding a resource to a project would result in undefined symbols on some RVCT versions. Reviewed-by: Andy Shaw <andy.shaw@nokia.com>
| * Make QPropertyAnimation symetric wrt directionThierry Bastian2009-08-122-39/+39
| | | | | | | | | | | | It is now possible to set a start value and no end value and starting the animation will pick the default end value from the current value of the property that's being animated.
| * fixing warnings for qreal=floatThomas Hartmann2009-08-121-1/+1
| | | | | | | | Reviewed-by: Joerg
| * QGraphicsRotation and QGraphicsRotation3D are now merged into 1 classThierry Bastian2009-08-122-119/+94
| | | | | | | | | | | | | | | | You can now also set the axis following hte Qt::Axis enum Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo Feel free to fix it. Reviewed-by: ogoffart
| * Mouse move events delivered toa blocked widget.Prasanth Ullattil2009-08-121-1/+1
| | | | | | | | | | | | | | | | On windows we were not checking whether the widgets receiving the mouse events are blocked by another modal widget or not. Task-number: 255912 Reviewed-by: Thierry Bastian
| * fix decoration of DontShowOnScreen widgets on Windows CEJoerg Bornemann2009-08-121-1/+1
| | | | | | | | | | | | | | | | Widgets with the WA_DontShowOnScreen attribute must not have a window decoration. Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets Reviewed-by: thartman
| * Add the typedefs to QSharedPointer and QWeakPointer to make templateThiago Macieira2009-08-121-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage simpler. For example, this allows writing code like: template <class Pointer> typename Pointer::pointer getPointer(constPointer &p) { return p.data(); } and that code will work for both QSharedPointer and QWeakPointer. Reviewed-by: Harald Fernengel Also add an operator- to make pointer operations possible.
| * Autotest: make sure we can't create QWeakPointer from a QObject in destruction.Thiago Macieira2009-08-121-0/+2
| | | | | | | | This test only works in debug mode
| * Doc: explain the use of QWeakPointer for tracking QObjectsThiago Macieira2009-08-122-14/+98
| | | | | | | | | | | | | | Explain the difference to QPointer and why QWeakPointer should be used instead. Reviewed-by: Trust Me
| * Possible Dead lock in the destructor of QObjectThierry Bastian2009-08-123-13/+11
| | | | | | | | | | | | | | | | | | | | | | The problem was that we were locking a mutex that was global to thread to remove posted events associated with a QObject from the posted event list. We were also immediately deleting those events. If that triggers the deletion of another QObject, you would then trigger a dead-lock. Task-number: 259514 Reviewed-by: brad Reviewed-by: ogoffart
| * Phonon: On windows, cross fading was brokenThierry Bastian2009-08-121-1/+2
| |
| * usage of Q_OS_WINCE fixedJoerg Bornemann2009-08-121-2/+2
| | | | | | | | | | | | There's no QT_OS_WINCE define. Reviewed-by: mauricek
| * Replace "Trolltech" with more appropriate terms.Jason McDonald2009-08-125-5/+4
| | | | | | | | Reviewed-by: Trust Me
| * Compile fix for Windows CE standard SDKThomas Hartmann2009-08-122-6/+8
| | | | | | | | | | | | Q_WS_SINCE_WM ifdefs were broken Reviewed-by: Joerg
| * Update obsolete email addresses.Jason McDonald2009-08-12326-572/+572
| | | | | | | | Reviewed-by: Trust Me
| * Replace some mentions of Trolltech with more appropriate terms.Jason McDonald2009-08-1217-27/+27
| | | | | | | | Reviewed-by: Trust Me
| * Update obsolete URL's in code and docs.Jason McDonald2009-08-121-1/+1
| | | | | | | | Reviewed-by: Trust Me