summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Tablet events get delivered to the widget where the tablet down happend.Luc Devallonne2009-07-101-2/+27
| | | | | | | | This is basically the Windows version of the bug fixed in change 82e825ed841bce324a6892fcbace03f9936d4f4f Merge-request: 855 Reviewed-by: Norwegian Rock Cat <qt-info@nokia.com>
* QTableView: auto-scrolling could be broken by invisible sectionsThierry Bastian2009-07-101-2/+2
| | | | Task-number: 248688
* QTableView: horizontal scrollbar could be inoperent with big columnsThierry Bastian2009-07-101-0/+4
| | | | Task-number: 240266
* QMainWindow: it is useless to apply the stte after a call to plugThierry Bastian2009-07-101-5/+0
| | | | The layoutState is already current (ie. already applied).
* doc: Clarified that native messages are being handled.Martin Smith2009-07-102-24/+43
| | | | Task-number: 214026
* Fix compilation support with namespaces for QtLibcSupplementThiago Macieira2009-07-101-3/+4
| | | | Reviewed-By: hjk <qtc-committer@nokia.com>
* QFileDialog: the side urls are now always cleaned when they are localThierry Bastian2009-07-101-4/+9
| | | | Task-number: 257579
* QDoubleSpinBox: make sure people can't choose too many decimalsThierry Bastian2009-07-101-3/+4
| | | | | | Maximum number of decimals is DBL_MAX_10_EXP + DBL_DIG Task-number: 257291
* Phonon videos on windows would not show with video acceleration disabledThierry Bastian2009-07-101-1/+1
| | | | Task-number: 257805
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtNorwegian Rock Cat2009-07-102-7/+21
|\
| * Fixes a heisenbug when using two ODBC connections with diff quoters.Bill King2009-07-101-7/+9
| | | | | | | | | | | | | | Can have situations where 2 odbc connections are active, that have differing quoting charachters. Before this fix, everything fell over. Reviewed-by: Justin McPherson
| * fix the test _and_ the class :)Harald Fernengel2009-07-031-1/+1
| |
| * Add a specialization for QByteArrayHarald Fernengel2009-07-031-0/+12
| | | | | | | | It tries to keep the semantics of QString::append(QByteArray) as much as possible.
* | Support Tablet coordinate on Windows with non-zero physical originLuc Devallonne2009-07-102-13/+17
|/ | | | | | | | | | Most Wacom tablet have a coordinate origin at 0 (Bamboo,Intous), but some tablet (like DTF 720, which have an integrated screen) have a non zero coordinate origin. Which lead to an errounous y/a tablet pos reported by Qt tablet event. Merge-request: 822 Reviewed-by: Norwegian Rock Cat <qt-info@nokia.com>
* Ensure that when we hide QToolBar in unified, unified follows.Norwegian Rock Cat2009-07-0910-42/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | Basically if you would hide a toolbar in the unified toolbar, you would still see a little bit of area at the top instead of having everything flush with the titlebar. This change basically unsures that the unified toolbar makes a decision to hide itself if all the toolbars inside it are hidden. It makes the behavior of clicking on the toolbar button behave more or less correctly since we are going to show the unified toolbar whether we want to or not. This all will get the toolbar button switch event to be dispatched in Cocoa as well. Also add an optimization for checking if we need to change the geometry. If we don't have any items the other toolbar areas, we can skip the set geometry call, which wrecks havoc with things in Cocoa. We still don't solve the case of someone who has hidden the items with the toolbar button then goes full-screen, then goes back out. I'm not motivated to solve it as is because we need to keep track of the hides we do on the button press vs. other hides from the user and still people can workaround it easy enough by handling window state change and doing what is recommended in the docs. Task-number: 208439 Rev-by: Denis
* QLocalSocket WriteOnly mode fixed on WindowsJoerg Bornemann2009-07-091-4/+6
| | | | | | | | | Write only local sockets silently disconnected after some time. Reason: we cannot call PeekNamedPipe on a write only pipe. Task-number: 257714 Reviewed-by: ossi Autotest: tst_QLocalSocket::writeOnlySocket
* Add the complex control SC_SpinBoxEditField to style optionNils Christian Roscher-Nielsen2009-07-091-1/+1
| | | | Reviewed-by: Thierry
* Compile fix.Denis Dzyubenko2009-07-091-0/+1
|
* Fix compile issueThierry Bastian2009-07-093-13/+20
|
* QTabBar: now uses QVariantAnimation over QTimeLineThierry Bastian2009-07-094-73/+65
| | | | QTimeLine is now no more used in private APIs
* QTreeView: cleanup of useless private slotsThierry Bastian2009-07-094-48/+20
| | | | currentChange is slot in the public class (QAbstractItemView
* QTreeView: use QVariantAnimation over QTimeLineThierry Bastian2009-07-094-67/+55
|
* Fixes a memory corruption when converting data with QIconvCodecDenis Dzyubenko2009-07-091-2/+4
| | | | | | | This partially reverts 9a5b40a011bd1b15a67d83564af55011761f8ad9 for the QIconvCodec. Reviewed-by: hjk
* Fixed handling of some SVG attributes when value is invalid.Suneel BS2009-07-091-14/+34
| | | | | | | | When the parsing of an SVG attribute fails, it should be given the default value. Fixed handling of invalid viewBox, stop-opacity and stop-offset. Autotest included. Reviewed-by: Kim
* Fixed inheritence of SVG fill attributes.Suneel BS2009-07-093-35/+64
| | | | | | | Fixed inheritence of fill-opacity, fill-rule and fill. Autotest included. Reviewed-by: Kim
* QHttpNetworkReply: Cache isChunkedMarkus Goetz2009-07-092-1/+6
| | | | | | Cache return value of expensive function. Reviewed-by: Peter Hartmann
* Use 'struct QConcatenable' instead of 'class QConcatenable' tohjk2009-07-091-1/+1
| | | | make compiler distinguishing both happy.
* QRingBuffer micro optimizationMarkus Goetz2009-07-091-1/+4
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtFriedemann Kleint2009-07-091-0/+2
|\
| * Add QT_END_HEADER to fix compile on PowerPC Mac and make autotest pass.Volker Hilsheimer2009-07-091-0/+2
| |
* | Remove unneeded assert.Friedemann Kleint2009-07-091-1/+0
|/ | | | | Triggered on Designer startup on Linux. Acked-by: Thierry Bastian <thierry.bastian@nokia.com>
* Directly copy QGenericMatrix members instead of using qMemCopy()Rhys Weatherley2009-07-091-1/+3
| | | | | | | | Using qMemCopy limits QGenericMatrix to plain old types like float and double. Copying the values normally will allow copy constructors to work on non plain types. Reviewed-by: trustme
* Remove some left-over mentions of fixed-point in math3dRhys Weatherley2009-07-095-20/+3
| | | | Reviewed-by: trustme
* Make compileBill King2009-07-081-0/+1
|
* Merge commit 'origin/4.5'Bill King2009-07-0815-91/+135
|\ | | | | | | | | | | | | | | | | | | Conflicts: src/sql/drivers/ibase/qsql_ibase.cpp tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qsqldatabase/tst_databases.h tests/auto/qsqldatabase/tst_qsqldatabase.cpp translations/qt_ru.ts
| * Update QGroupBox on focusBenjamin Poulain2009-07-081-5/+1
| | | | | | | | | | | | | | | | We cannot assume the position of the decorations when a QGroupBox get the focus. Task-number: 257660 Reviewed-by: Thierry
| * Fixes Dericks inf/nan patch for msvcBill King2009-07-081-0/+13
| |
| * remove debugDerick Hawcroft2009-07-071-1/+0
| |
| * Handle special number cases (nan,{+-}infinity) in PostgreSQLDerick Hawcroft2009-07-071-0/+17
| | | | | | | | | | | | | | | | | | When contructing the EXECUTE statement, there is a special case that we need to handle whereby we explicitly put quotes around the special float values before submutting the statement for execution Task-number:233829 Reviewed-by: Bill King
| * Document limitation in Cocoa cursor handling.Norwegian Rock Cat2009-07-071-0/+5
| | | | | | | | | | | | | | | | | | | | It seems there is a bug in AppKit which will automatically reset a cursor even when it is grabbed, but won't reset it when it's brought back into the window. The upshot of this is that doing a setCursor() inside of mouse handling behaves slightly different than on the other platforms (including Carbon). However, we are at the mercy of Cocoa here and I would rather have all the other things AppKit does right and live with this bug which they may fix some day.
| * Fix typo in color calculation.Norwegian Rock Cat2009-07-071-3/+3
| | | | | | | | | | | | | | | | | | Argh! It's divide by 256 not 265. The worst part was that I used the same values in Cocoa as well, so they were both "damaged." It should be good now. Task-number: 257499 Reviewed-by: Prasanth Ullattil
| * Handle all PostgreSQL notifications sitting in the queueDerick Hawcroft2009-07-071-4/+4
| | | | | | | | | | Task-number: 257247 Reviewed-by: trustme
| * Fix issue where a mainwindow would show two size grips in Cocoa.Norwegian Rock Cat2009-07-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OK. this is a bit strange. It seems the topdata->resizer value is used to control whether or not we should show a resize handle based on a count (0 no, non-zero yes). Since we somehow decided that this value will never be larger than 15, we made it 4-bits wide. There's a "Qt/Mac" API, QWidgetPrivate::qt_mac_update_sizer(QWidget *, int = 0) which would adjust this value by the int passed in.. We use that in several places, not excluding the QStatusBar where we would pass 1 if we want to show, and -1 if we didn't. Now if you subtract -1 from zero when you are 4 bits wide, well, bad things happen. Therefore protect that (since if it's at zero we have succeeded, we don't want to show the resizer). This seems to work well. The private API is certainly an interesting way of solving the problem, but is easy to abuse (for example, this code will break if resizer = 1 and we are passed -2 in the function. Task-number: 257485 Reviewed-by: Prasanth Ullattil
| * Implement QApplication::setOverrideCursor to use pure Cocoa callsNorwegian Rock Cat2009-07-061-1/+11
| | | | | | | | | | | | | | | | | | | | | | Seems this was a victim of our cursor fixing. Cocoa does a lot for us with setting cursors. This meant that we didn't need to do as much meddling and as a result qt_mac_set_cursor does nothing in Cocoa. Unfortunately, this broke setOverrideCursor. Luckily Cocoa has a stack that works exactly like Qt, so we can just use that. Task-number: 257507 Reviewed-by: Prasanth Ullattil
| * Fixed dead code possibly leading to crash.Rohan McGovern2009-07-031-1/+1
| | | | | | | | | | | | | | | | Looks like this `&&' was meant to be `||'. QNetworkProxy::FtpCachingProxy is 5 so it's clearly impossible for type to be less than 0 and greater than QNetworkProxy::FtpCachingProxy. Reviewed-by: Aaron Kennedy
| * Fixes ::record for dialect 3 named tables in interbase/firebird.Bill King2009-07-031-2/+2
| | | | | | | | | | | | The comparison was mistakenly only uppercasing one side, so mixed case table names were reporting back as if they weren't found for both QSqlDatabase::record() and QSqlDatabase::primaryIndex()
| * Fixes invalid length for numeric fields in oracle.Bill King2009-07-031-1/+1
| | | | | | | | | | When the precisionpolicy is high, and the field is numeric, it was getting confused as a string field and pulling the wrong length value.
| * QDirectFBPaintEngine return if destRect is nullAnders Bakken2009-07-031-0/+2
| | | | | | | | Reviewed-by: Donald <qt-info@nokia.com>
| * Better debug output for QDirectFBPaintEngineAnders Bakken2009-07-021-2/+5
| | | | | | | | | | | | Add unsupportedCompositionMode to the output. Reviewed-by: TrustMe
| * Remove unused function viewUnderTransparentForMouseView in QCocoaView.Prasanth Ullattil2009-07-022-57/+0
| | | | | | | | | | | | | | After we implemented hitTest for QCocoaView, this function is no longer used. Reviewed-by: Norwegian Rock Cat