summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/symbian/symbianengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in Digia's license headersSergio Ahumada2013-01-131-1/+1
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* symbian: Implement QNetworkConfiguration::purpose()Shane Kearns2011-09-201-1/+51
| | | | | | | | | | | | | QNetworkConfiguration::purpose() will now return translated values for the system SNAPs rather than always UnknownPurpose. e.g. the "Internet" SNAP returns PublicPurpose, and the WAP/MMS SNAPs return ServiceSpecificPurpose. IAPs inherit the purpose of the service network that contains them, unless the same IAP is present in more than one with conflicting purposes, in which case UnknownPurpose is returned. Task-Number: QTBUG-19166 Reviewed-By: mread
* More accurately determine bearer type for symbian GPRS/3GShane Kearns2011-09-131-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | The symbian IAP records don't distinguish between GRPS/EDGE/3G/HSPA, although the phone knows what type of cell it is attached to. For the IAP records which are of packet data type (reported as KCommDbBearerWcdma), we now query the phone network mode to determine the bearer type to report. The Qt API doesn't distinguish GRPS/EDGE (both are "2G") The Symbian API doesn't distinguish 3G and HSPA unless there is an active connection. So we have to report both of these as WCDMA. When a connection becomes active, we update Qt's IAP record list to show the known connection type (which may include HSPA now). Qt already contained code to observe roaming between cell types, which reports all types. Note that the bearer type may change during connection (handover to another cell may occur), which should be covered by the already existing code. Task-Number: QTBUG-19011 Reviewed-By: mread
* Fixing WINSCW compile errormread2011-07-051-9/+12
| | | | | | | | Refactoring the body of a large TRAP into a separate function. This was not compiling on WINSCW, perhaps due to the use of #ifdef within the TRAP macro expansion. It does compile now. Reviewed-by: Sami Merila
* whitespace fixesmread2011-07-051-29/+29
| | | | | Making these whitespace fixes in preparation for fixing a compile error and my editor likes to fix whitespace.
* Fix KERN-EXEC 0 errors in symbian bearer pluginShane Kearns2011-06-281-3/+11
| | | | | | | | | The plugin was ignoring errors when opening a handle, and as a result crashed if the handle was invalid. Error checking / handle validity checks added. Task-number: QTBUG-18572 Reviewed-by: mread
* Update licenseheader text in source filesJyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Fix possible bearer management Crash with Panic E32USER-CBase, 69Cristiano di Flora2011-03-081-6/+5
| | | | | Task-Number: QT-4652 Reviewed-by: Xizhi Zhu
* Unsuccessful unlocking of QNetworkConfigurationPrivate mutexPerttu Pohjonen2011-03-071-0/+1
| | | | | | | Above mentioned mutex is locked twice: first in caller function and second time in called function. Called function unlocks mutex and emits signal clearly unaware that the mutex is actually still locked. I changed the mutex to be unlocked before the function is called. Task-number: QTBUG-15108 Reviewed-by: Ville Pernu
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Fix KERN-EXEC 0 panic on exit when bearer is searching for WLANsShane Kearns2011-01-061-2/+4
| | | | | | | | | | | | | The access point scanner cancels itself in the destructor. This requires the handle to be valid, but it was closed in the symbian engine destructor immediately before deleting the AP scanner. Because of the way symbian active objects work, the crashing function is only called if there was an asynchronous request in progress. So it could be missed in cases where the scan completes faster than the test case. Task-number: QTBUG-16484 Reviewed-by: Markus Goetz
* Doc: Fixing typoSergio Ahumada2010-11-161-1/+1
|
* Fix for E32User-CBASE 46 Panic when using CActiveSchedulerWaitPerttu Pohjonen2010-11-151-12/+29
| | | | | | | | Fixing the initial problem of this error opened up a possibility to start a new WLAN scan while there was one still ongoing. This caused a crash. Task-number: QT-3996
* Fixed many spelling errors.Rohan McGovern2010-10-251-1/+1
|
* Fix User 46 Panic in bearer management on Symbian.Aaron McCarthy2010-10-131-7/+3
| | | | | | | The active object made a request before it was set as active. Task-number: QT-3996 Written-by: Perttu Pohjonen <perttu.pohjonen@nokia.com>
* Initialise pointer variables.Aaron McCarthy2010-09-291-2/+2
|
* Fix EasyWLAN handling.Aaron McCarthy2010-09-011-48/+38
| | | | | | | RCmManager is not sharable between threads, use a function local instance instead. Task-number: QTBUG-13064
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-08-031-55/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (23 commits) Removed the unfinished sentence. Fix for QTBUG-10173. Fixed the addressbook tutorial and some spelling mistakes. Fix for QTBUG-7071 and QTBUG-10173 Unbreak QImage::rgbSwapped() for many image formats. Crash when pressing the '£' key on Belgian Keyboard layout (Cocoa) Doc: Adding content to installation guide and fixing printing bugs Cocoa: Active QDockWidget does not stay on top of inactive QDockWidget Made changes to qdoc to allow it to accept a "style level" flag Doc: Correcting bugs in the CSS Return 'Unknown' bearer type name for unknown bearer type. Update def files. Doc: updating index page, x platform and platform spec. Removing redundant style files Added notice that some links are online documents. Modified qtdemo so error does not appear when there is no demo/example description availablei (QTBUG-12522). There is already output when building Qt that a description is missing -- the user does not need to witness an error about ensuring the documentation has been built just because a description has not been contributed. Fix Japanese characters not displayed in webkit on Mac Cocoa 64 (Regression) configure: don't symlink the mkspecs/features directory Doc: adding changes to getting started and fixing redirection links doc: Fixed many qdoc errors. Fixed potential infinite loop in QFileSystemWatcher on Mac. qdoc: Removed exclusion of declarative directories in qt-api-only.qdocconf Fixed comment about all enums being accessible in QML. Fix for QTBUG-12527. ...
| * Use an enum to return the bearer type of a network configuration.Aaron McCarthy2010-08-021-55/+29
| | | | | | | | | | Task-number: QTBUG-12378 Reviewed-by: Alex
* | Fixed additional case differences between Gnupoc and Symbian^3.axis2010-07-301-3/+3
|/ | | | RevBy: Trust me
* Cherry pick fix for MOBILITY-1234 from Qt Mobility.Aaron McCarthy2010-07-281-0/+2
| | | | e51af0d74f8bb6ca6100d2338671d2d053bfed01
* Cherry pick fix for MOBILITY-1194 from Qt Mobility.Aaron McCarthy2010-07-281-23/+44
| | | | f84bb604d745c512db8d53410c5fec835309f85e
* Fix compilation error on Symbian^4.Aaron McCarthy2010-07-281-5/+5
| | | | | The root cause is failing compilation test for SNAP when it shouldn't, but it should still not result in compilation errors in code.
* Cherry pick fix for MOBILITY-1194 from Qt Mobility.Aaron McCarthy2010-07-281-6/+60
| | | | 2f582953ecfc53f217317f58e4fc75b5b51a1126
* Order network configurations in service networks in priority order.Aaron McCarthy2010-07-231-37/+46
| | | | | | | | It is useful to know the priority order of the sub configurations of a service network. Task-number: QTBUG-11678 RevBy: juhvu <qt-info@nokia.com>
* Cherry pick fix for MOBILITY-965 from Qt Mobility.Aaron McCarthy2010-06-241-4/+66
| | | | 50de830ded2dcc1c6b4d8be71428d9a2bfed6ae7
* Cherry pick fix for MOBILITY-853 from Qt Mobility.Aaron McCarthy2010-06-241-0/+70
| | | | 256e67963c4cb0fc150e6c47193e7c9b17296611
* Cherry pick fix for MOBILITY-1031 from Qt Mobility.Aaron McCarthy2010-06-241-19/+22
| | | | 7e8b55524bd8a00e49e11103e8c8091e1e59e612
* Cherry pick fix for MOBILITY-938 from Qt Mobility.Aaron McCarthy2010-06-241-52/+46
| | | | 216f4016d1b447d51630086afca179df11fd6997
* Cherry pick fix for QTMOBILITY-240 from Qt Mobility.Aaron McCarthy2010-06-241-42/+48
| | | | c84a6d828bcb7f66d1ac06e1a7a84c5a8ba9cec4
* Fix build failure on Symbian 3.1.Aaron McCarthy2010-06-011-2/+2
|
* Fix multithreaded use of bearer management on Symbian.Aaron McCarthy2010-05-311-77/+49
| | | | | | | | | | | | | | | | | | | | Move more initialization code into initialize() function. The constructor for the SymbianEngine class can be called from any thread. Move all initialization into initialize() function which is guarinteed to be run in the main thread. This is required as some Symbian resources are not shared between thread in the same process. The implementation of the defaultConfiguration() function could only be called from the main thread. Cache a copy of the default network configuration when the configurations are updated and just return this when the defaultConfiguration() function is called. Only lock the engine mutex from external entry points. Remove need for locking in waitRandomTime() function. Prevents dead lock due to nested event loop. Task-number: QTBUG-10296
* Fix up cancelling of active object.Aaron McCarthy2010-05-311-44/+34
| | | | Task-number: QTBUG-10296
* Fix locking after merge from Qt Mobility.Aaron McCarthy2010-05-311-27/+43
| | | | | | Simplify locking by using inline getter functions. Task-number: QTBUG-10296
* Cherry pick fix for MOBILITY-828 from Qt Mobility.Aaron McCarthy2010-05-141-79/+169
| | | | Change e5f8e3069d0de428a751e8a1dd88f3585f2d3f5f from Qt Mobility.
* Remove redundant network configuration updates on startup.Aaron McCarthy2010-04-201-1/+6
| | | | | The initial list of network configurations was being fetched twice when the bearer management plugins are loaded.
* Add missing QT_NO_BEARERMANAGEMENT ifdefs.Aaron McCarthy2010-04-151-0/+4
| | | | This add addition ifdefs around code missed by MR 517.
* Bearer management changes from Qt Mobility (6fb31d1e).Aaron McCarthy2010-03-241-15/+64
| | | | 6fb31d1e287d7def45c115eb56bcb9b0c5cb3c40.
* Add flag to indicate that network sessions are expected on a platform.Aaron McCarthy2010-03-181-1/+2
|
* Make QNetworkConfigurationManager and QNetworkConfiguration threadsafe.Aaron McCarthy2010-03-111-1/+55
|
* Bearer management changes from Qt Mobility (fca9891).Aaron McCarthy2010-03-021-8/+30
| | | | fca98911b75ce12e70d93cfc2932a9759758a605
* Fix build on Symbian.Aaron McCarthy2010-02-231-0/+7
|
* Add locking to bearer code.Aaron McCarthy2010-02-221-0/+44
| | | | | QNetworkConfigurationManagerPrivate and QBearerEngine derived classes need to be thread-safe.
* Remove debug.Aaron McCarthy2010-02-111-1/+0
|
* Rename internal QNetworkSessionEngine* to QBearerEngine*.Aaron McCarthy2010-02-081-1/+1
|
* Remove implementation specific functions out of QNetworkSessionEngine.Aaron McCarthy2010-02-081-23/+1
|
* Port session functionality.Aaron McCarthy2010-01-181-10/+57
|