summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/activeqt: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-0112-266/+147
| | | | | | | | | support Also, buffer sizes passed to Registry APIs were incorrect. Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/sql: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-012-37/+2
| | | | | | | Also remove many #ifdef UNICODE blocks Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/opengl: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-011-8/+4
| | | | | | | support Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/network: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-017-104/+43
| | | | | | | support Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-0150-2919/+1227
| | | | | | | | | | | | | Also - Make winPeekMessage() & winPostMessage() obsolete - FlashWindowEx, IsValidLanguageGroup functions no longer resolved dynamically (available on >= Windows 2000) - LoadIcon/LoadCursor -> LoadImage w/LR_SHARED for system icons/cursors - qsystemtrayicon_win: use Shell_NotifyIconGetRect if available (Windows 7) Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Handle application paths larger than MAX_PATH, and fix potential buffer overflowMarius Storm-Olsen2009-07-012-10/+39
| | | | | | | | | | | | These days we can easily get very long paths, so we should support application paths as long as needed. There was also a potention exploit in that if the path was MAX_PATH or larger, the string would not be \0 terminated (see MSDN docs for GetModuleFileName), and thus cause problems in QString::fromWCharArray(). Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/corelib: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-0128-1340/+554
| | | | | | | | | | | | support Also: QString::fromUtf16() -> QString::fromWCharArray() WCHAR & TCHAR -> wchar_t LPTSTR/LPCTSTR -> LPWSTR/LPCWSTR Documentation update Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* src/winmain: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-011-13/+7
| | | | | | | | | | support Also TCHAR -> wchar_t LPTSTR/LPCTSTRs -> LPWSTR/LPCWSTRs Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* doc: Fixed several qdoc error reports.Martin Smith2009-07-012-66/+77
| | | | | Also changed qdoc not to warn about undocumented parameters if the function is marked with the \reimp command.
* Added QGraphicsScene::sendEvent().J-P Nurmi2009-07-012-0/+30
| | | | | Merge-request: 787 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
* ItemViews: Fixed signal entered not being emitted when using the mouseThierry Bastian2009-07-012-33/+42
| | | | | | | | | | wheel The solution is to check the the current "entered item" hasn't change also when the scrollbars change values Task-number: 200665 Reviewed-by: janarve
* OpenVG compile fix - use const_cast instead of static_castRhys Weatherley2009-07-011-4/+4
| | | | Reviewed-by: trustme
* Set the focus to a child widget when set on a QGroupBoxBenjamin Poulain2009-06-301-3/+2
| | | | | | | | | When the focus is set on a QGroupBox with the policy NoFocus, the focus should be propagated to one of the child if it accepts the focus. This was failing because QWidget::focusWidget() returns the QGroupBox itself. Task-number: 257158 Reviewed-by: Denis
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-305-13/+31
|\
| * Fix Toolbars in unified toolbar looking bad Carbon w/Fullscreen changesNorwegian Rock Cat2009-06-301-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a bug in the Carbon code when an item went in full-screen, than out with a unified toolbar. In those cases the toolbars would end up getting but into the mainwindow area. The reason this was happening was that we were calling transferChildren() after we had set up our toolbar. This cause problems because we end up pulling the QToolbars right out of the unified toolbar. The easiest way to solve this is to just update the status on it again. This should solve any issues. I also added some logic to avoid calling this too many times in that one case. Luckily, this seems to only affect Carbon. Task-number: 254462 Reviewed-by: Jens Bache-Wiig
| * Doc: Fixed a doc bug in QPlainTextEdit class description.Geir Vattekar2009-06-301-7/+7
| | | | | | | | | | Task-number: 256762 Reviewed-by: TrustMe
| * Doc: About menu on the Mac gets the application name from Info.plist.Geir Vattekar2009-06-302-3/+6
| | | | | | | | | | Task-number: 256818 Reviewed-by: Trenton Schulz
| * fix crash in QLocalServer on WinCE when waitForNewConnection times outJoerg Bornemann2009-06-301-1/+1
| | | | | | | | Reviewed-by: mauricek
* | QDockArea: remove coverity warningThierry Bastian2009-06-301-1/+1
| |
* | QToolBar: fix coverity warningsThierry Bastian2009-06-303-27/+18
| | | | | | | | I also changed a bit the way the timer for the popup is working
* | doc: Fixed several qdoc error reports.Martin Smith2009-06-301-6/+10
| |
* | Merge branch '4.5'Marius Storm-Olsen2009-06-3014-24/+53
|\ \ | |/
| * QWidget::adjustSize() sends a spontaneous event - Mac OS X CocoaPrasanth Ullattil2009-06-302-2/+12
| | | | | | | | | | | | | | | | The windowDidResize notification now differentiates an internally triggered resize from a user triggered resize. Task-number: 256269 Reviewed-by: Norwegian Rock Cat
| * bug fixDerick Hawcroft2009-06-301-0/+1
| | | | | | | | | | | | | | - case for QVariant::Bool in switch statement was missing Task-number: 215511 Reviewed-by: TrustMe
| * Remove unused variablesAnders Bakken2009-06-291-2/+0
| | | | | | | | | | | | These variables are never used. Reviewed-by: TrustMe
| * Remove superfluous call to SetBlittingFlagsAnders Bakken2009-06-291-1/+0
| | | | | | | | | | | | We already do this in QDirectFBWindowSurface::scroll Reviewed-by: TrustMe
| * QTemporaryFile: Report the user-provided openModeJoão Abecasis2009-06-291-1/+2
| | | | | | | | Reviewed-by: Thiago
| * Always turn on shadows for Cocoa.Norwegian Rock Cat2009-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Frameless windows wouldn't get shadows in Cocoa, which they do in Carbon. You can argue over who is more correct, but the fact is they can't be inconsistent. Since Cocoa is the newcomer, I'm bending that. Though it would seem useful to have an ability to provide some developer control over the shadow. At the moment, the only thing we have to ensure is that we always turn on the shadow. Task-number: 254725 Reviewed-by: Denis
| * QNetworkAccessManager stuff: Some fixes for coverityMarkus Goetz2009-06-293-6/+13
| | | | | | | | | | | | A few "fixes" to make that number go down.. Reviewed-by: Thiago Macieira
| * Fix crash/artifacts on SuperHTom Cooksey2009-06-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | Add SuperH to the ever growing list of architectures which can't correctly dereference a short* which is not 16-bit aligned. Turning this into a white-list rather than a black list might make sense at some point, but as QT_ARCH_I386 isn't defined on windows, the white list looks even uglier at the moment. :-) Task-number: 257077 Reviewed-by: TrustMe
| * Remove a couple of registry entries when unregistering an ActiveX serverAndy Shaw2009-06-291-0/+4
| | | | | | | | | | | | These two entries were not removed since the server was an OOP server Reviewed-by: Prasanth
| * Fix coverity warningJens Bache-Wiig2009-06-291-2/+1
| | | | | | | | | | | | | | | | Coverity was complaining because we were not checking the return value of find() but instead using the pixmap handle to check the result. This makes the call more consistent Reviewed-by: mgoetz
| * bug fixDerick Hawcroft2009-06-291-1/+4
| | | | | | | | | | Task-number: 217003 Reviewed-by: Bill King
| * Don't crash in libdbus-1 because of invalid parameters.Thiago Macieira2009-06-291-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | Some QDBusAbstractInterface can have empty paths or service names, for wildcard purposes. If someone tries to make a call using those interfaces, the application crashes. So check for the invalid conditions and don't make the call. If we return 0 here, the message-sending code will generate an error in QDBusConnectionPrivate. Reviewed-by: TrustMe
* | qdoc: Added more handling of \reimp commandMartin Smith2009-06-301-10/+23
| | | | | | | | | | | | Also fixed a few qdoc error reports. Task-number: 162182, 222650
* | QMenuBar: make sure to update the geometries when neededThierry Bastian2009-06-301-0/+4
| |
* | QMenu: when we access the actions geometry, it's now always up2dateThierry Bastian2009-06-301-0/+5
| |
* | QMenu: fixed a crash when clicking on a menu with a submenuThierry Bastian2009-06-301-1/+2
| |
* | Fixed QLayout to take the maxi/min size into account for the menu barThierry Bastian2009-06-301-1/+4
| | | | | | | | | | | | | | It was only taking the sizeHint into account Task-number: 141355 Reviewed-by: jasplin
* | Fixed compile with Windows CE 5.Rohan McGovern2009-06-301-0/+4
| | | | | | | | On some systems, math.h still doesn't define M_PI.
* | QXmlQuery: add setFocus(const QString &).Frans Englich2009-06-292-0/+20
| | | | | | | | | | | | | | | | Requested by Girish and Jurgen. Useful for training and small examples. Task-number: 245219 Reviewed-by: Tobias Koenig AutoTest: Included in this submit.
* | QMenuBar: adding autotest for the geometry calculationThierry Bastian2009-06-291-5/+6
| | | | | | | | Also fixed a bug that would take the VMargin 3 times instead of 2.
* | Fix some coverity warningsThierry Bastian2009-06-295-9/+8
| |
* | QMenuBar: some private members weren't initializedThierry Bastian2009-06-291-1/+4
| | | | | | | | This was a coverity warning
* | Initialize the time structure in QTime::currentTime()Benjamin Poulain2009-06-291-2/+1
| | | | | | | | | | | | | | | | In QTime::currentTime(), the pointer to the tm structure was used without being initialized. Task-number: 256889 Reviewed-by: Markus Goetz
* | QMenuBar: adding autotest and simplify/fix geometry calculationThierry Bastian2009-06-292-15/+9
| |
* | QMenu: adding autotest for the geometry calculationsThierry Bastian2009-06-291-4/+4
| | | | | | | | I also fixed an off-by-1 pixel bug
* | QMenu: fixed geometry problem that was adding twice the panel widthThierry Bastian2009-06-291-5/+6
| |
* | QMenuBar: simplification of codeThierry Bastian2009-06-293-114/+99
| | | | | | | | More to come: calculation of geometry
* | Fixed some regressions in the OpenGL pixmap backend.Samuel Rødal2009-06-292-4/+13
| | | | | | | | | | | | | | | | Make sure a QPixmap gets an alpha channel when filled with a non-opaque color, and fix issues where shader manager did not active correct shader program. Reviewed-by: Tom