summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Assistant: Added search history.ck2009-08-041-57/+238
| | | | | Task-number: 251278 Reviewed-by: kh
* fix warning on MSVCThierry Bastian2009-08-041-2/+1
|
* QMenu now takes minimum width into account for the action rectsThierry Bastian2009-08-042-5/+18
| | | | | | | The action now try to take advantage of the space given by a minimum width. Patch proposed initially by Aron Seigo and improved later on. Reviewed-by: Trustme
* Fixes selectionModel::hasSelection return value after model::resetLeonardo Sobral Cunha2009-08-042-1/+2
| | | | | | | | | | After resetting the model, the selectionModel::hasSelection() of the view should return false. Fixed the corresponding autotest, which was wrong. Task-number: 256502 Reviewed-by: thierry
* fix warnings on mingw (gcc4.4)Thierry Bastian2009-08-046-12/+17
| | | | | | | basically reordering members initialization in constructors or fixing singed/unsigned checks. Reviewed-by: Trustme
* Mac: Remove debug work outputRichard Moe Gustavsen2009-08-041-1/+0
|
* Modify imagewidget example so it works with new APIRichard Moe Gustavsen2009-08-041-31/+15
|
* Add support for pan gesture on mac (carbon and cocoa)Richard Moe Gustavsen2009-08-042-0/+70
|
* Remove the "preliminary support" warning for 10.6Morten Sorvig2009-08-041-4/+1
| | | | | Also make the "usupported on > 10.6" error a warning. No need to stop the build, the warning will be printed enough times.
* Build on snow leopard.Morten Sorvig2009-08-041-1/+1
| | | | | | Don't error out when building qmake, just let it build a 64-bit binary (even for carbon) RebBy: Richard Moe Gustavsen
* Make Cocoa builds 64-bit by default on snow leopard.Morten Sorvig2009-08-041-8/+14
|
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMorten Sorvig2009-08-0432-234/+232
|\
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtJason McDonald2009-08-041-26/+21
| |\
| | * Fixes failed queries when mysql auto-preparesBill King2009-08-041-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Queries like "Show Index" etc, fail on mysql when automatically prepared due to a bug in several versions of mysql. Basically anything but a select query will fail. This fixes this by making the user explicitly prepare the query if they want to, and the blame then falls on them if they try and prepare a statement likely to fail. This fix also seems to result in a speedup for single-execution queries, possibly due to reduction in roundtrip communications. All autotests pass & behaviour conforms to documentation. Task-number: 252450, 246125
| * | Fix incorrect license headers.Jason McDonald2009-08-047-31/+41
| |/ | | | | | | Reviewed-by: Trust Me
| * Fix obsolete license headersJason McDonald2009-08-0410-18/+18
| | | | | | | | Reviewed-by: Trust Me
| * Doc fixesAaron Kennedy2009-08-043-1/+9
| | | | | | | | Reviewed-by: TrustMe
| * Fixed "Hightlighted menu items not always selected" bug.Gabriel de Dietrich2009-08-032-1/+37
| | | | | | | | | | | | | | | | Menu paintEvent was not called when the mouse cursor lied between the menu item area and the menu frame border. Task-number: 258920 Reviewed-by: olivier
| * Fix compile error on WinCE.Prasanth Ullattil2009-08-032-1/+16
| | | | | | | | Reviewed-by: TrustMe
| * Fixed some perspective transform rendering bugs.Samuel Rødal2009-08-034-155/+82
| | | | | | | | | | | | | | | | The bugs were caused by not clipping to the near plane (w = 0) when mapping primitives with perspective tranfsorms. Task-id: 258961 Reviewed-by: Gunnar
| * Wizard background images incorrect in Snow Leopard.Prasanth Ullattil2009-08-031-0/+1
| | | | | | | | | | | | | | We need to clear the QPixmap before the image is drawn using the CGContextDrawImage(). Reviewed-by: Norwegian Rock Cat
| * Fix deadlock in the fsevents file watcher.Norwegian Rock Cat2009-08-032-1/+7
| | | | | | | | | | | | | | | | | | | | I was making an assumption that one could call CFRunLoopStop and expect that the runloop would stop very soon afterwards. This is a bit naive and can result in situations where we end up running past and entering run again before everything is finished. We now make sure that we don't leave stop() until the we really have stopped the other thread. Reviewed-by: mbm
* | Fix spelling error.Morten Sorvig2009-08-032-10/+10
|/
* fixed broken integration of qwindowsurface_raster.cppGunnar Sletta2009-08-031-1/+1
|
* Sync with QtCreator source, add's help startup options.kh12009-08-036-40/+158
| | | | Reviewed-by: kh
* Ensure that we never increase the strong reference count up from zero.Thiago Macieira2009-08-032-5/+138
| | | | | | Also add some thread stress tests to try and detect doing it wrong. Reviewed-By: Bradley T. Hughes
* Change the pointer-tracking code to work everywhere.Thiago Macieira2009-08-035-12/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if you create a QSharedPointer in code with pointer-tracking, you must ensure it gets deleted in code with pointer-tracking, otherwise the internal safety tracker will be "leaking" objects. The pointers would never get removed. And if any new pointer happened to have the same pointer address (which happens quite often), the tracker code would promptly abort the application. With this change, the untracking of the pointer is scheduled by the same code that creates the tracking. This is done by "abusing" the custom deleter code: - for the QSharedPointer that used ExternalRefCountWithDestroyFn already, we intercept the call to the destroy function and call the untracking function - for a normal QSharedPointer, we use the "normalDeleter" function as custom deleter and chain up above Note: the autotest only *really* works in release mode. Otherwise functions don't get inlined and do get merged by the linker. Reviewed-By: Bradley T. Hughes
* Don't forget to delete the deleter object too in QSharedPointer.Thiago Macieira2009-08-032-0/+16
| | | | | | Destructors have to be run for the subobjects we initialise. Reviewed-By: Bradley T. Hughes
* Cleanup old code in QSharedPointerThiago Macieira2009-08-031-18/+16
| | | | | | | | | | | We don't support MSVC 6.0 or MSVC .NET 2002, so all compilers we support can deal with member templates and partial template specialisation. Remove the #ifdef protecting the code that needed it. Also add some comments indicating the sizes of the structures. There is no padding necessary in most cases. Reviewed-By: Trust Me
* Remove the need for internal API in QSharedPointer.Thiago Macieira2009-08-033-44/+56
| | | | | | | That way, this code can be compiled with an earlier version of Qt and should still work in new ones. Reviewed-by: Trust Me
* Autotest: add a way to ensure that there are no safety-check pointers leakingThiago Macieira2009-08-032-1/+64
| | | | | In the future, it would be nice to split the autotest in multiple functions at every check().
* Fix compilation and warningAlexis Menard2009-08-032-3/+5
| | | | Reviewed-by: TrustMe
* Merge branch 'master' of git:qt/qtThiago Macieira2009-08-0310-25/+30
|\
| * Warning --Alexis Menard2009-08-031-2/+2
| | | | | | | | Reviewed-by: TrustMe
| * Fixed warnings on phonon/ds9 with mingw (gcc 4)Thierry Bastian2009-08-039-23/+28
| | | | | | | | Reviewed-by: Trustme
* | Merge branch '4.5'Thiago Macieira2009-08-0345-404/+867
|\ \ | |/ |/| | | | | | | | | | | | | | | Conflicts: src/corelib/tools/qsharedpointer.cpp src/corelib/tools/qsharedpointer_impl.h src/gui/dialogs/qcolordialog.cpp src/gui/painting/qwindowsurface_raster.cpp src/network/access/qnetworkaccessmanager.cpp tests/auto/qsharedpointer/externaltests.cpp
| * Autotest: disable the pointer-tracking tests in 4.5Thiago Macieira2009-08-031-0/+2
| | | | | | | | | | | | | | The functionality these tests tested was broken in 4.5 and has been disabled. Therefore, these tests simply cannot pass. It's fixed in 4.6.
| * Fix compilation of webkit with mingwThierry Bastian2009-08-031-3/+0
| |
| * Fix more database autotests.Bill King2009-08-032-4/+6
| |
| * Cocoa with namespace breaks the buildRichard Moe Gustavsen2009-07-311-2/+2
| | | | | | | | | | | | | | Added the needed macros around the classnames the way it should be done. Reviewed-by: Prasanth
| * Coverty warnings --. This switch was missing a break.Alexis Menard2009-07-301-0/+1
| | | | | | | | Reviewed-by:TrustMe
| * Allow maximize button on the titlebar for a fixed size windowDenis Dzyubenko2009-07-301-0/+5
| | | | | | | | | | | | | | | | | | On Windows we will add maximize button to the titlebar even if the window has a fixed size if the user explicitely asked for it by setting Qt::CustomizeWindowHint | Qt::WindowMaximizeButtonHint. Task-number: 250188 Reviewed-by: Leonardo Sobral Cunha
| * Autotest: add a newline after the user program headers.Thiago Macieira2009-07-301-0/+1
| | | | | | | | | | | | | | | | If the user forgot to end their headers with a newline, the compilation would fail because the next line is #include <QtCore/QtCore>. Reviewed-by: Jesper Thomschütz
| * Remove mem leak / warning in the cocoaportRichard Moe Gustavsen2009-07-301-0/+1
| | | | | | | | | | | | Remove mem leak / warning in the cocoaport Reviewed-by: msorvig
| * Mac: Fix crash in QCoreTextFontEngineMulti when disabling font kerning.Morten Sørvig2009-07-301-1/+1
| | | | | | | | | | | | CFDictionaryAddValue expects a CFNumberRef, not a pointer-to-CFNumberRef. Reviewed-by: TrustMe
| * Unable to change focus between two line edits on macRichard Moe Gustavsen2009-07-301-37/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because we try to decide whether the window cocoa tells us to be active should be active, and if we desagree, we do nothing. The result is that Qt and Cocoa ends up in different states. I decided to remove a lot of the logic that went on in this case, and the resons is: 1. By checking the callplaces to onApplicationWindowChangedActivation, we know that we always have a valid widget pointer, and we know that the widget always is a window (otherwise Cocoa would never tell us that the widget got active). 2. We can never end up doing nothing in this response. The best we can do is to follow what Cocoa tells us. If this turns out to break something, it would probably be better to check why we get an activation call in the first place for a window that should not be activated (e.g. is canBecomeKeyWindow set correctly?) Task: 253610 RevBy: msorvig
| * Fixes hack around show queries not allowed to be prepared.Bill King2009-07-301-3/+3
| | | | | | | | | | | | | | Mysql queries other than select can't be prepared, otherwise they fail to return the necessary meta-information to enable them to be seen as returning data under certain versions of mysql. This fixes the hack to work correctly until we stop preparing queries automagically.
| * Doc - Renamed the cursor's images to illustrate splitV and splitH properlyKavindra Devi Palaraja2009-07-293-2/+2
| | | | | | | | | | | | Task: 258895 Reviewed-By: Jens Bache-Wiig
| * Comment one of my changes from yesterdayRichard Moe Gustavsen2009-07-291-4/+7
| | | | | | | | Task-number: 258445
| * Disable benchlibtickcounter test by default.Rohan McGovern2009-07-291-3/+4
| | | | | | | | | | | | | | This test depends on some low-level features of the CPU and the OS scheduler which seem impractical to automatically verify independently of the test. So turn it off to stop its intermittent failures in our test farm.