summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changed way how softkey command is mappedMarkku Luukkainen2009-05-042-2/+3
|
* More code to test the stack implementatioMore code to test the stack ↵Markku Luukkainen2009-05-041-5/+18
| | | | implementationn
* Very rough implementation of setting multiple buttons.Markku Luukkainen2009-05-041-15/+27
| | | | | Current implementation is missing loads of needed functionality but is enough to start testing the initial API
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-05-0414-92/+172
|\ | | | | | | softkeys
| * Don't show Symbian plugin stubs in Git.axis2009-05-041-0/+1
| |
| * Merge commit 'private/translucentWindows'Jason Barron2009-04-3013-92/+171
| |\ | | | | | | | | | | | | Conflicts: src/gui/styles/qs60style_symbian.cpp
| | * Avoid overwriting a user set palette.Jason Barron2009-04-304-33/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The polish(QWidget*) function is called the first time a widget is shown and therefore setting the widget's palette in this function will overwrite the user set palette if one is specified before show() is called. The solution is to break this into two parts, the first part sets the global palette in polish(QApplication*) and this is the part of the palette that is independent of widget. The second part involves adding the widget specific palettes using the QApplication:: setPalette() function that takes a classname and this is done in the polish(QWidget*) function.
| | * Small optimization when hiding windows.Jason Barron2009-04-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a window is hidden, it will call releaseBuffer() on the backing store which in turn will resize the window surface to a null rect. In this case, there is no need to update the QImage with the data pointer since it will be updated on the subsequent beginPaint() when the image is resized to a valid size again. This also avoids doing unnecessary locking on the FBSERV heap which still involves a context switch on older versions of Symbian.
| | * Some code cleanups after review.Jason Barron2009-04-291-3/+3
| | | | | | | | | | | | | | | Change these lines of code to either make it more consistent or more readable after review.
| | * Undo implementation of setWindowOpacity_sys().Jason Barron2009-04-291-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | This function was implemented using API from Symbian that will be deprecated. It was never actually suitable anyway since this function cannot be called after the window has been shown and this needs to be a runtime decision for Qt. The solution is to use SetTransparencyAlphaChannel(), but that will come later.
| | * Fixes crash when setting geometry on an obscured window.Jason Barron2009-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | Since Qt on Symbian now destroys the backing store when it gets hidden or obscured we need to be careful not to use functions like moveRect() when we don't have a backing store since this function is really a backing store optimization and therefore assumes one exists.
| | * Make QPixmap::grabWindow() work for top level windows.Jason Barron2009-04-291-1/+1
| | | | | | | | | | | | | | | | | | Its not enough to mask with Qt::Desktop because this enum value also includes Qt::Window so masking would give us a non-zero result thus causing the 'if' case to resolve to true which is not what we want.
| | * Fix compilation of QS60Style after bad merge.Jason Barron2009-04-281-1/+1
| | | | | | | | | | | | | | | | | | The previous commit on this file broke compilation. It should have called setBrush() instead of setColor() to set the Window role of the palette to use a texture brush.
| | * Fix compilation of tst_qwidget with some compilers.Jason Barron2009-04-281-2/+2
| | | | | | | | | | | | | | | Some compilers such as the Metroworks compiler do not like it when the two pointers have different types so cast them to be the same.
| | * Get transparency working by clearing the window surface.Jason Barron2009-04-281-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is duplicated code from the raster paint engine's beginPaint() function. For translucent windows the previous contents must be cleared from the backing store before the new content is painted. This class should probably be re-written as a subclass of the raster version. The reason we cannot use that implementation directly is because we cannot use QNativeImage because it doesn't provide anywhere we can do locking.
| | * More work on translucent windows.Jason Barron2009-04-283-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One step closer to semi-transparent windows, but not there yet. This gets the transparent contents into the window, but the previous contents are not cleared so it keeps drawing the backing store on top of itself each time a Draw() is done. SetBackgroundColor() indicates to WSERV that our window is semi-transparent. We also make sure not to use 'EDrawModeWriteAlpha' when the widget is non-opaque since this actually changes the alpha channel on the frame buffer (not the window) so the gives undesired results. It's a faster draw mode though so we should use it where we can.
| | * Fixes: Add support for translucent windows in Symbian.Jason Barron2009-04-286-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning, this is completely untested! Details: This should (in theory) get translucent windows working but this hasn't been tested yet. The emulator environment seems to return only 16ColorMU display modes which implies the window is opague so Qt ignores the translucent flag. HW seems to create 16ColorMA windows, but it hasn't been tested there yet either (no time).
| | * We previously had some hacks in this function to avoid creating aJason Barron2009-04-281-2/+4
| | | | | | | | | | | | | | | | | | backing store with the ARGB32 format (which is slower to draw on), but we actually want this in some cases so let's do this properly and move the hacks somewhere else.
| | * Fix background painting.Jason Barron2009-04-283-42/+26
| | | | | | | | | | | | | | | | | | | | | This is a reverted patch that has been rebased on to another branch and then caused conflicts so it might contain an error or two. Basically we need to store the background texture from the style into the palette so that it can be replaced by applications that don't want it.
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-04-308-105/+424
|\ \ \ | |/ / | | | | | | softkeys
| * | S60Style: Build break fix for 3.2SDK environment (it is lacking some skin ↵Sami Merilä2009-04-301-9/+9
| | | | | | | | | | | | IDs that are available in 3.2RnD environment).
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicSami Merilä2009-04-301-2/+4
| |\ \
| | * \ Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-301-3/+6
| | |\ \
| | * | | Fixed bug in QTemporaryFile::rename.Janne Anttila2009-04-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nativeInitFileName of file engine was not set in rename fallback case. Now it is set by calling: fileEngine()->setFileName This error was found with QNetworkDiskCache test case.
| * | | | S60Style: Layout spinbox so that up and down buttons are side-by-side, not ↵Sami Merilä2009-04-301-13/+66
| | |/ / | |/| | | | | | | | | | on top of each other.
| * | | S60Style: buildbreak fix - missing lines from commit ↵Sami Merilä2009-04-301-3/+6
| |/ / | | | | | | | | | d333404c72aa6c707cf389899999f2247454b824
| * | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-296-78/+332
| |\ \
| | * | S60Style: Use title font for GroupBox title.Sami Merilä2009-04-291-0/+5
| | | |
| | * | S60Style: Styled QToolBar implementation.Sami Merilä2009-04-294-41/+258
| | | |
| | * | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-04-294-14/+37
| | |\ \
| | * | | Basic optimizations to qdrawhelper for RVCT builds:Miikka Heikkinen2009-04-292-37/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Force static inline methods to be actually inline - Force ARM code for strategic methods RevBy: axis
| * | | | Fixed temporary file rename problem in Symbian OS.Janne Anttila2009-04-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Symbian OS temp file rename will always go to fallback solution since close for temp file does not really close the handle. The fallback implements rename by copy and remove. But in symbian OS also the remove after copy failed since it was done through local 'in' object. However the file was still open in object doing the remove. The fix is to close the local 'in' object and use current 'this' object to remove the file. This object points to QTemporaryFile and it will make sure that temp file is first closed before trying to remove.
| * | | | Fixed tst_QSslSocket::sslErrors test for Symbian HW.Janne Anttila2009-04-291-12/+18
| | |/ / | |/| |
* | | | Merge branch 'softkeys' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-04-3011-68/+95
|\ \ \ \ | | | | | | | | | | | | | | | softkeys
| * \ \ \ Merge branch 'master' into softkeysAlessandro Portale2009-04-2910-67/+93
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-292-13/+29
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Enable dynamic [de|con]struction of window surfaces based on visibilityJason Barron2009-04-282-13/+29
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a window becomes completely obscured either because it has been hidden or another window is completely covering it, the backing store should be deallocated to save memory and then re-allocated when the window is later made visible again. Reviewed-by: Iain <qt-info@nokia.com>
| | * | Increased stack size for threads created in QLocalSocket autotests.Janne Anttila2009-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | The default stack size (8KB), caused KERN-EXEC 3 panics when executing tests in 5800 HW.
| | * | Fixed tst_QTcpSocket RVCT build when TEST_QNETWORK_PROXY is not defined.Janne Anttila2009-04-291-1/+2
| | |/ | | | | | | | | | | | | | | | RVCT compiles also unused inline methods etc, for this reason QNetworkProxy needs to be included even it is not really used for anything.
| | * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-04-282-27/+31
| | |\
| | | * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-04-281-2/+2
| | | |\
| | | | * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-282-8/+8
| | | | |\
| | | | * | Fixed ASSERT panic in Symbian event dispatcher.Janne Anttila2009-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved ASSERT in QSelectThread::requestSocketEvents after mutex lock, since select thread might still have the lock and that's why the notifier might be in m_AOStatuses hash. After main thread has the mutex lock, notifier should not be anymroe in hash.
| | | * | | Simple refactoring how the data are fetched and stored.Aleksandar Sasha Babic2009-04-281-25/+29
| | | | |/ | | | |/|
| | * | | Always build Qt libs with "All -Tcb" capabilities in SymbianMiikka Heikkinen2009-04-281-5/+1
| | |/ /
| | * | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-04-281-1/+9
| | |\ \ | | | |/
| | | * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-04-281-6/+4
| | | |\
| | | * | These tst_qtcpsockets require more time to finish in Symbian OSJanne Anttila2009-04-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The modified test cases are: - disconnectWhileConnecting - disconnectWhileLookingUp
| | * | | Changed generated file headers to have timestamp in ISO format insteadMiikka Heikkinen2009-04-282-8/+8
| | | |/ | | |/| | | | | | | | | of localized format.
| | * | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-04-287-22/+43
| | |\ \ | | | |/