summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Platform socket engine test fixes & update TODOsShane Kearns2010-12-102-11/+34
| | | | Reviewed-by: Markus Goetz
* Fixes for socket engine autotest failuresShane Kearns2010-12-105-10/+32
| | | | Reviewed-by: Markus Goetz
* Fix some issues in symbian socket engineShane Kearns2010-12-091-22/+75
| | | | Reviewed-by: Markus Goetz
* QHostInfo: Symbian implementation for fromName()Aaron Tunney2010-12-091-15/+91
| | | | Reviewed-By: Markus Goetz
* Fix some crashes in the symbian socket engineShane Kearns2010-12-093-27/+99
| | | | Reviewed-by: Markus Goetz
* QSymbianSocketEngine: Some missing functionsMarkus Goetz2010-12-091-0/+20
|
* Make tst_platformsocketengine workMarkus Goetz2010-12-096-62/+68
| | | | | | Compile and instanciate the right engine. Reviewed-by: Shane Kearns
* Move tst_qnativesocketengine to tst_platformsocketengineMarkus Goetz2010-12-094-0/+0
|
* Fix bug in selectShane Kearns2010-12-092-4/+14
| | | | | | | When waitForRead was called, it was selecting for read and write, because we were checking the pointers instead of the bools. Reviewed-by: Markus Goetz
* QSymbianSocketEngine: Fix wrong debug messageMarkus Goetz2010-12-081-1/+1
|
* Socket engines: Improve manual test programMarkus Goetz2010-12-082-0/+38
| | | | Reviewed-by: Shane Kearns
* QSymbianSocketEngine: Unify a callMarkus Goetz2010-12-081-1/+1
|
* Fix handling of select ioctl resultsShane Kearns2010-12-081-4/+5
| | | | | | | The select ioctl report everything not just the flags we asked for. So mask off the results to only look at the requested flags. Reviewed-by: Markus Goetz
* Whitespace fixesShane Kearns2010-12-083-7/+7
| | | | Reviewed-by: Trust Me
* Implement sync & async select for symbian socket engineShane Kearns2010-12-082-45/+244
| | | | | | | | | | Async select is implemented with an active object rather than using the event dispatcher. Sync select is implemented using User::WaitForRequest to block the thread without requiring an event loop. In both cases, RSocket's KIoctlSelect is used to query the socket state. Reviewed-by: Markus Goetz
* Added manual test for socketengine developmentMarkus Goetz2010-12-082-0/+123
|
* Remove more Q_OS_SYMBIAN stuff from network codeMarkus Goetz2010-12-083-72/+7
|
* Fix compile errorsShane Kearns2010-12-086-7/+4
| | | | | | including qnativesocketengine_p.h causes link errors Reviewed-by: Markus Goetz
* Symbian: Also force IPv6 on Windows configure.exeMarkus Goetz2010-12-081-0/+2
|
* Symbian: Enable IPv6 again.Markus Goetz2010-12-082-10/+2
| | | | | | The native QSymbianSocketEngine supports IPv6 just fine. This reverts commit 0c7d5d106152924dedd822da8c90d9f3247a9947.
* QNativeSocketEngine: Remove symbian codeMarkus Goetz2010-12-082-111/+1
|
* QSymbianSocketEngine: Always support IPv6Markus Goetz2010-12-082-43/+11
|
* QSymbianSocketEngine: More compile fixesMarkus Goetz2010-12-083-81/+510
|
* QSymbianSocketEngine: Compile fixes..Markus Goetz2010-12-083-74/+169
|
* QSymbianSocketEngine: Get global RConnection*Markus Goetz2010-12-072-2/+5
| | | | Reviewed-by: Shane Kearns
* Create QSymbianSocketEngine when requestedMarkus Goetz2010-12-071-0/+8
| | | | Reviewed-by: Shane Kearns
* Remove Symbian code from QNativeSocketEngineMarkus Goetz2010-12-073-48/+51
| | | | | | .. and move one function around Reviewed-by: Shane Kearns
* Helper functions for synchronously waiting on an active object to completeShane Kearns2010-12-072-1/+83
| | | | | | | | | | | | | QtNetwork APIs are based on calling a function asychronously. However the user may call a waitForXXXX function later to convert this into a synchronous call. For Symbian, the async call should be implemented as an active object. These helpers make the synchronous conversion possible. Unix used select() in a polling way to do async mode and blocking way for the synchronous conversion. Reviewed-by: mread
* default RConnection for socketsShane Kearns2010-12-073-2/+36
| | | | | | | | | | Bearer pushes RConnection into QtCore. QSocket can pull this RConnection back out when it needs to open an RSocket (potentially this can be removed again later if QSocket is made QNetworkSession aware) Reviewed-by: Markus Goetz
* Continue code movingMarkus Goetz2010-12-072-154/+80
| | | | Reviewed-by: Shane Kearns
* Fixed typo and includes.Aaron Tunney2010-12-071-1/+3
| | | | Reviewed-by: Markus Goetz
* Move qnativesocketengine_symbian* to QSymbianSocketEngineMarkus Goetz2010-12-073-1/+293
| | | | Reviewed-By: Shane Kearns
* QTestLib: Wait a bit on Symbian at exitMarkus Goetz2010-12-071-1/+9
| | | | Reviewed-by: Shane Kearns
* Some more qnetworkproxy_symbian informationMarkus Goetz2010-12-071-0/+5
|
* Added qnetworkproxy_symbian.cppMarkus Goetz2010-12-072-0/+62
|
* Weed out old unix code from qhostinfo_symbian.cppMarkus Goetz2010-12-071-313/+9
|
* Copy qhostinfo_unix.cpp to qhostinfo_symbian.cppMarkus Goetz2010-12-072-1/+408
|
* Symbian socket engine: Some more commentsMarkus Goetz2010-12-071-1/+11
|
* Use shared socket server session everywhereShane Kearns2010-12-063-27/+6
| | | | | | | Converted uses of RSocketServ in QtNetwork and the symbian bearer plugin to use the shared session from QtCore instead of creating their own Reviewed-by: Markus Goetz
* Set preferences in socket server Connect()Shane Kearns2010-12-061-1/+6
| | | | | | | Tell the socket server we intend to use this session mainly for IP This allows the socket server to optimise this session for IP usage. Reviewed-by: Markus Goetz
* Use socket manager in QtNetworkShane Kearns2010-12-063-11/+43
| | | | | | | | | Store/Retrieve sockets in the socket manager Use the shared socket server instance from QtCore Also, add 4 stub functions for multicast groups (new in master) to fix link error Reviewed-by: Markus Goetz
* Add socket manager to corelibShane Kearns2010-12-062-13/+48
| | | | | | | | | This class stores socket handles so they can be passed around as integers. Also, it owns the global RSocketServ used throughout the application. Reason for this not being in QtNetwork is that QtCore exports some socket related classes. Reviewed-by: Markus Goetz
* Address some of the easier TODOs in native socket engineShane Kearns2010-12-012-86/+105
| | | | Reviewed-By: Markus Goetz
* Prototype socket managerShane Kearns2010-12-013-1/+140
| | | | | | | | To enable passing socket handles around as integers, need a two way mapping with RSocket. It's in corelib because of QSocketNotifier. This is also a convenient place to host the global RSocketServ session. Reviewed-By: Markus Goetz
* Skeleton code for symbian native socket engineShane Kearns2010-12-013-1/+768
| | | | | | | | Taken the unix native socket engine, and converted each call from the posix version to the symbian version. There are many TODOs as this is quite incomplete. Reviewed-By: Markus Goetz
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-11-304-41/+47
|\ | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: avoid the warning about comparison between signed and unsigned integers QRasterPixmapData: Reuse underlying QImage in fill() if possible.
| * avoid the warning about comparison between signed and unsigned integersKonstantin Ritt2010-11-301-1/+1
| | | | | | | | | | Merge-request: 951 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * QRasterPixmapData: Reuse underlying QImage in fill() if possible.Andreas Kling2010-11-303-40/+46
|/ | | | | | | | | | | | When switching from a format without alpha channel to one that has it, reuse the underlying QImage memory if the old & new color depths match. This avoids one allocation when using the rather common pattern: QPixmap pixmap(w, h); pixmap.fill(Qt::transparent); Reviewed-by: Samuel Rødal
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-11-307-25/+489
|\ | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-s60-public: DEF file freeze
| * DEF file freezemread2010-11-297-25/+489
| | | | | | | | | | | | | | Updating the DEF files on master as there's quite a few new exports since they were last frozen. Reviewed-by: Shane Kearns