summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Oops typo in my previous commit: 8137373.Janne Anttila2009-05-291-1/+1
| | | | Correct ordinal for BIO_free symbol is 209.
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-05-2916-201/+121
|\
| * A fix for a bug 252798ikause2009-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AVKON will show blanker - this will allow applications to change their layout and ensures that 'intermediate' states are not shown to the end user. This blanker is a full screen window and this causes Qt application to receive visibility change event (not visible) and then Qt application deletes backing store. Finally, when blanker is removed, Qt application receives another visibility change event (fully or partially visible) and backing store is recreated, but the original version does not ensure that window contents are valid. In fact, because of orientation change event, window server generates redraw request and it is handled before receiving that second visibility change event. In QSymbianControl::Draw doesn't draw anything. By adding this update() call, we ensure that window will be drawn correctly eventually. Reviewed-by: Jason Barron <jason.barron@nokia.com>
| * Disable keypad navigation for the autotests and document it.Jason Barron2009-05-293-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | On Symbian keypad navigation is enabled by default since there is no reliable way to detect the presence of touch or not. Enabling this feature though causes problems for many of Qt's autotests since they were not written with this in mind. Many tests send QTest::key*() events to a widget and subsequently test the state of the widget, but with keypad navigation enabled, the behavior changes because the widget does not have edit focus by default. Reviewed-by: axis <qt-info@nokia.com>
| * S60Style: Remove unneeded case-statements and own implementation for ↵Sami Merilä2009-05-293-94/+0
| | | | | | | | drawItemText.
| * S60Style: Rename the private class to highlight that it is available only to ↵Sami Merilä2009-05-292-1/+1
| | | | | | | | 's60'.
| * Cleaned up the inputMethodHints enum a bit.axis2009-05-281-10/+13
| | | | | | | | Made a clear distinction between Exclusive flags and other flags.
| * Fixed input methods support on all spinbox types.axis2009-05-284-1/+24
| |
| * S60Style: Adding missing break for clearCaches.Sami Merilä2009-05-281-0/+1
| |
| * Enabled QtS60Style background filling also for _simulated, by movingAlessandro Portale2009-05-286-91/+65
| | | | | | | | | | | | some code to qs60style.cpp. De-duplicated some code in qt_s60_fill_background. The unused QT_S60STYLE_LAYOUTDATA_SIMULATED had to go, too.
* | Support for SSL symbol runtime resolving in Symbian.Janne Anttila2009-05-291-0/+145
|/ | | | | | | | | | | | | | | | The commit enables -openssl config in addition to -openssl-linked in Symbian OS platforms. In Symbian OS the symbol names are stripped away from DLLand symbols are are referenced via ordinal numbers. This change resolves the correct ordinals for SSL symbols in Symbian OS. The change is a bit hackish, but is currently only way to resolve symbols at runtime in Symbian OS - if STDDLL targettype is not counted. The problem of STDDLL target type is that it is not supported by S60 3.1 and in addition the SSL libraries in S60 are not currently build with STDDLL target but DLL target. This mechanism should work as long as BC for SSL symbols is kept. And S60 has given binary promise, so we should not have problems...
* Fixed Qt/Symbian compilation with -stl configure option.Janne Anttila2009-05-282-1/+4
| | | | The STL enabled config does not have implicit include for e32base.h.
* Optimize font DPI calculation by using cached value.Jason Barron2009-05-281-4/+2
| | | | | | | The default DPI is stored in the S60 structure, so that can simply be used here instead of re-calculating it each time. Task-number: 247279
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-277-79/+118
|\
| * Modify QDesktopWidget to emit proper signals on resize.Jason Barron2009-05-272-8/+65
| | | | | | | | | | | | | | | | | | | | | | The resize behavior of QDesktopWidget was somewhat undefined on Symbian because we weren't actually changing the size of the widget. This patch fixes that and also implements the resizeEvent() function so that it properly emits signals. We didn't call resize() to change the size here because our implementation of setGeometry_sys() ignores the desktop widget since it doesn't have a backing store and isn't a real window. Task-number: 253930
| * S60Style: Keep the background texture in static QPixmap pointer.Sami Merilä2009-05-274-54/+46
| |
| * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-05-272-2/+16
| |\
| * | Implemented task 247268 - Cleanup qeventdispatcher_unix.cpp.Janne Anttila2009-05-271-17/+7
| | | | | | | | | | | | | | | All qeventdispatcher_unix.cpp changes were reverted since, this file is not anymore used in Symbian OS branch.
* | | InputMethods supported enabled for QPlainTextEdit.Aleksandar Sasha Babic2009-05-272-3/+23
| |/ |/|
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-2759-431/+576
|\ \ | |/
| * Keep exported symbols the same between udeb and urel, although theIain2009-05-262-1/+6
| | | | | | | | | | | | | | | | implementation does nothing in urel Required to have udeb/urel compatibility between binaries. RevBy: Alessandro Portale
| * Update comment - this version might even make sense...Iain2009-05-261-1/+1
| |
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicIain2009-05-26181-2502/+3248
| |\
| | * S60Style: Tidy up the code - remove 'todo's.Sami Merilä2009-05-261-16/+7
| | |
| | * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-05-264-18/+28
| | |\
| | | * S60Style: Add reason for clearing style specific caches.Sami Merilä2009-05-264-18/+28
| | | |
| | * | Made more space available for code section in QtGui library in symbian-sbsv2 ↵Miikka Heikkinen2009-05-261-1/+4
| | |/ | | | | | | | | | builds.
| | * Compile on Qt/Symbian.Jason Barron2009-05-251-1/+0
| | | | | | | | | | | | | | | The 'in' variable was removed in f1e9c0f3d2 so we don't need this line anymore.
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-2551-397/+532
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfile.cpp src/corelib/kernel/qsharedmemory_unix.cpp src/network/socket/qnativesocketengine_p.h src/network/socket/qnativesocketengine_unix.cpp
| | | * qdoc: Added some missing qdoc comments.Martin Smith2009-05-252-11/+14
| | | | | | | | | | | | | | | | Task-number: 252489
| | | * qdoc: Added some missing qdoc comments.Martin Smith2009-05-258-57/+60
| | | | | | | | | | | | | | | | Task-number: 252491
| | | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-258-70/+46
| | | |\
| | | | * Fix another compilation breakage introduced by the fix to theThiago Macieira2009-05-231-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compilation breakage introduced in 6c1d7e57. The fix in fc7a43cce did fix the failure, but created another one because qhostinfo_win.cpp also had a copy of qt_sockaddr_in6 Reviewed-by: Jason McDonald
| | | | * Pressing enter in a QPlainTextEdit embedded on a itemview should insert a ↵Olivier Goffart2009-05-222-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newline Do the same special case as for QTextEdit (yes, this is a pitty that we have special cases like that Reviewed-by: Thierry Task-number: 252532
| | | | * Fix compilation breakage on Windows caused by 6c1d7e57.Thiago Macieira2009-05-223-41/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, QT_NO_IPV6 isn't defined, but the necessary includes were missing. So #include winsock2.h and also use our own structures. Reviewed-By: Trust Me
| | | | * Fix syntax of the fcntl system call: this is not setsockoptThiago Macieira2009-05-221-6/+3
| | | | | | | | | | | | | | | | | | | | Reviewed-By: Oswald Buddenhagen
| | | | * Fixes a potential crash when changing system palette with QGtkStyleJens Bache-Wiig2009-05-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we installed an eventfilter regardless if the gtk symbols were defined or not. Instead we now initialize and check for the symbols before we install the filter. Task-number: 254342 Reviewed-by: ogoffart
| | | * | qdoc: Added some missing qdoc comments.Martin Smith2009-05-251-0/+6
| | | |/ | | | | | | | | | | | | Task-number: 252493
| | | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-2232-176/+283
| | | |\
| | | | * Fixed compilation with -qtnamespaceMarkus Goetz2009-05-229-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 254333 Reviewed-by: Andy Shaw <qt-info@nokia.com>
| | | | * Reset openMode to NotOpen when returning false from QFile::open()João Abecasis2009-05-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When connecting to an open file descriptor, set the openMode in the file system engine, as is done for file handles. Reviewed-by: Thiago
| | | | * QTemporaryFile: really close files before renamingJoão Abecasis2009-05-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets temporary file renaming working on Windows, without requiring block-copying. While we could #ifdef this behavior for Windows, it's preferrable to maintain consistency in the exposed interface. Reviewed-by: Thiago
| | | | * QTemporaryFileEngine now tracks if a fileName has been generatedJoão Abecasis2009-05-221-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With recent changes to QTemporaryFile, allowing the file to be closed, the engine has to keep track of whether a fileName has already been generated, so we don't generate new files after the first one. If the file is closed but we already have a name for it, then just forward the call to the base file engine. Reviewed-by: Thiago
| | | | * QTemporaryFile: there's no need to keep another pointer to the engine hereJoão Abecasis2009-05-221-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lifetime of the engine is already handled by the native engine. Reviewed-by: Thiago
| | | | * QTemporaryFile: really (re)open file if it has been really closed...João Abecasis2009-05-221-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some circumstances, the file descriptor in QTemporaryFile is actually closed and setOpenMode alone won't give us reOpen semantics. Added function to QTemporaryFileEngine that checks if we have open file handles. On open, if we currently hold no handles, re-open the file. Trying to open a new file while we hold open handles would lead to leaks, so added an assert there, to be on the safe side. Reviewed-by: Thiago
| | | | * Unconditionally open temporary files in ReadWrite modeJoão Abecasis2009-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although QTemporaryFile hides QFile::open(OpenMode), this function is still available when accessing instance methods through the base class. Unconditionally setting ReadWrite allows the temporary file to be re-opened with different flags. Task-number: 248223 Reviewed-by: Thiago
| | | | * QTemporaryFile: handle failures from QFSFileEngine::open(mode, fd)João Abecasis2009-05-221-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, this only happens if Append mode is requested and we're unable to seek to the end of the file. Theoretically, this could change in the future so it's better to err on the safe side. Reviewed-by: Thiago
| | | | * Documentation fixJoão Abecasis2009-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We souldn't be returning an empty string for the fileName, just because the file is closed. E.g., after a rename, the file will be closed, but should still have a name. Reviewed-by: Thiago
| | | | * QTemporaryFile would forget fileName while file was "closed"João Abecasis2009-05-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: this showed even if the file descriptor was kept open. Reviewed-by: Peter Hartmann Reviewed-by: Thiago
| | | | * QTemporaryFile: don't clear filePath if remove failsJoão Abecasis2009-05-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: MariusSO Reviewed-by: Peter Hartmann Reviewed-by: Thiago