summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd
Commit message (Collapse)AuthorAgeFilesLines
* Use the thread-default glib context for the DBus connection in the ICD ↵Jocelyn Turcotte2011-02-081-1/+1
| | | | | | | | | | bearer manager. This allows the bearer management plugin to be ran on a thread different than the main one. Task-number: QTBUG-17199 Reviewed-by: Kranthi <kranthi.kumar-kuntala@nokia.com>
* Fix for QTBUG-17035kranthi2011-02-021-3/+3
| | | | | Reviewed-by: Aaron McCarthy Task-number: QTBUG-17035
* Update copyright year to 2011.Jason McDonald2011-01-1016-16/+16
| | | | Reviewed-by: Trust Me
* Quiet unused parameter warnings.Aaron McCarthy2010-12-201-0/+3
|
* Ensure that DBus is connected before all uses.Aaron McCarthy2010-12-152-11/+88
| | | | | | | | | | | | In early system startup applications may try to use ICD before it is contactable. Ensure that the connection to ICD is established before all calls are made. If ICD is still not contactable QDBusServiceWatcher is used to monitor registration of the com.nokia.icd2 address and reconnection is attempted once ICD is started. Task-number: Maemo 199755
* Proxy mode was not correctly checked.Jukka Rissanen2010-12-081-2/+2
| | | | Fixes: NB#208617 - QtProxyFactory does not return correct (any) proxy data
* Fix proxy reading from gconf so that it is only done once / session.Jukka Rissanen2010-12-062-4/+15
| | | | | | | Fixes: NB#194509 - Network access from a Qt app makes dbus daemon consume tons of cpu Task-number: QT-4220
* Removed implicity QtGui linking from icd.pro as it is not needed.juhvu2010-11-091-1/+1
| | | | Task-number: QTBUG-15059
* Fix opening a network session multiple times in succession.Aaron McCarthy2010-11-051-1/+1
| | | | | Don't try to open the network session if there is already an in progress open request.
* Fix synchronous dispatch in ICD in non-main threads.Aaron McCarthy2010-11-051-0/+2
| | | | | | | | | | ICD DBus signals always come in via the main thread. During synchronous dispatch these signals were not being emitted when expected because no event loop is running in the destination thread. Fixed by added a call to QCoreApplication::sendPostedEvents(object, QEvent::MetaCall) in the synchronous dispatch loop. Task-number: QTBUG-15004
* An aborted QNetworkSession on Maemo must emit SessionAbortedError.Alex2010-09-291-2/+5
| | | | | | | Currently it emits InvalidConfigurationError Task-number: QTMOBILITY-514 Reviewed-by: Aaron McCarthy
* Fix compile warnings (unused variables).Aaron McCarthy2010-09-282-1/+9
|
* Removing libconninet 3rdparty component.Aaron McCarthy2010-09-2815-6/+2915
| | | | | | | | | | | | The use of libconninet caused Qt to have a cyclic build dependency. Which was solved by embedding a copy as a 3rd party library. Maemo has since donated the libconninet code to Qt because (1) it was a private Maemo API and (2) the Qt ICD plugin is the only user of the library. This commit moves the relevent code from src/3rdparty/libconninet to src/plugins/bearer/icd and deletes the rest. Task-number: QT-3893
* Closes properly the dbus connection in icd backendAaron McCarthy2010-09-281-0/+2
|
* Connect/Disconnect requests needs to use the same dbus connection to ICD for ↵Aaron McCarthy2010-09-282-5/+6
| | | | | | the refcounting to work in ICD. Fixes NB#188145 - Network interface doesn't go down after last client disconnects
* QNetworkSession::close() method now send closed() signal while faking ↵Tomasz Bursztyka2010-08-251-3/+3
| | | | | | disconnection. Fixes: NB#185586 - QNetworkSession::closed() signal never sent when QNetworkSession::close() is called.
* Mutex is already locked when private member function is called.Aaron McCarthy2010-08-161-3/+2
| | | | | | Conflicts: src/plugins/bearer/icd/qicdengine.cpp
* Fixed a typo when doing a lock.Aaron McCarthy2010-08-161-2/+1
| | | | | | Conflicts: src/plugins/bearer/icd/qicdengine.cpp
* The QNetworkConfigurationManager did not get the online status correctly ↵Tomasz Bursztyka2010-08-162-28/+71
| | | | | | | | | even when there was an active connection. Fixes: NB#181984 - QNetworkConfigurationManager reports offline even when connected. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@nokia.com> Signed-off-by: Jukka Rissanen <jukka.rissanen@nokia.com>
* Release lock before calling into icd engine.Aaron McCarthy2010-08-161-5/+6
|
* Do not change the session configuration state because of changesJukka Rissanen2010-08-161-2/+0
| | | | | | | in QNetworkConfigurationManager. The session state is only changed according to status messages sent by icd. Fixes: NB#182148 - QNetworkSession changes to disconnected state immediately after opening session
* Fix deadlocks in ICD and NetworkManager engines.Aaron McCarthy2010-08-042-24/+22
| | | | | | Ensure that locks are not held when signals are emitted. Task-number: QTBUG-12631
* Use an enum to return the bearer type of a network configuration.Aaron McCarthy2010-08-023-10/+25
| | | | | Task-number: QTBUG-12378 Reviewed-by: Alex
* Merge remote branch 'staging/4.7' into bearermanagement/icd-static-libsAaron McCarthy2010-07-282-33/+34
|\
| * Cherry pick fix for QTMOBILITY-408 from Qt Mobility.Aaron McCarthy2010-07-282-33/+34
| | | | | | | | 7f9a8ebcfe86d3df428707888c3ab5fcd10226a4
* | Statically link to Qt based dependent librarys.Aaron McCarthy2010-07-281-2/+5
|/ | | | | | | | | | Some of the library dependencies of the ICD Bearer Management plugin use Qt. We include them in src/3rdparty and link against them statically to avoid the circular build dependency. Libraries that do not use Qt are still linked dynamically. The libraries which are statically linked are libconninet and libgq-gconf. Task-number: QTBUG-12354
* Do not crash if addrinfo signal does not contain ip address information.Jukka Rissanen2010-07-161-0/+3
| | | | | Fixes: NB#176643 - Segmentation fault occurs while using networking Reviewed-by: Adrian Constantin
* Fix build failure with cs2009q3 toolchain.Aaron McCarthy2010-07-052-7/+7
| | | | Use Qt typedef for unsigned 32-bit integers.
* Fix compiler warning.Aaron McCarthy2010-07-021-1/+1
|
* Abort if connection to DBus cannot be established.Aaron McCarthy2010-07-021-0/+5
| | | | | | | Fixes network access issue when running Qt applications in scratchbox environment. Task-number: QT-3528
* When application calls QNetworkSession::close() or QNetworkSession::stop(), ↵Jukka Rissanen2010-06-291-22/+33
| | | | | | make sure the disconnected signal is sent even if the actual network connection is not closed. Fixes: NB#175064 - QNetworkSession signals wrong state after calling stop()
* Remove redundant network configuration updates on startup.Aaron McCarthy2010-04-202-4/+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-154-0/+16
| | | | This add addition ifdefs around code missed by MR 517.
* Remove holes in bearer management data structures.Aaron McCarthy2010-04-151-4/+4
|
* Bearer management changes from Qt Mobility (7a5ff985)Aaron McCarthy2010-04-147-817/+1106
| | | | 7a5ff9859f5775915ae80c287f51c772599c2379
* Compile with QT_NO_NETWORKINTERFACE defined.Aaron McCarthy2010-03-252-7/+4
|
* Bearer management changes from Qt Mobility (6fb31d1e).Aaron McCarthy2010-03-242-2/+2
| | | | 6fb31d1e287d7def45c115eb56bcb9b0c5cb3c40.
* Add configure test for Maemo Internet Connection Daemon.Aaron McCarthy2010-03-231-2/+2
| | | | Task: QTBUG-9156
* 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-113-73/+175
|
* Remove unnecessary qWarnings from bearer management code.Aaron McCarthy2010-03-052-25/+11
|
* Merge remote branch 'staging/4.7' into HEADAaron McCarthy2010-03-021-3/+3
|\ | | | | | | | | Conflicts: src/plugins/bearer/corewlan/qcorewlanengine.mm
| * Remove QObject::tr() in the network module code.Friedemann Kleint2010-02-241-3/+3
| |
* | Bearer management changes from Qt Mobility (fca9891).Aaron McCarthy2010-03-025-74/+67
|/ | | | fca98911b75ce12e70d93cfc2932a9759758a605
* Make compile on Maemo6.Aaron McCarthy2010-02-233-9/+16
|
* Add locking to bearer code.Aaron McCarthy2010-02-221-0/+10
| | | | | QNetworkConfigurationManagerPrivate and QBearerEngine derived classes need to be thread-safe.
* Fix public includes.Aaron McCarthy2010-02-111-1/+1
|
* Update copyright year to 2010.Aaron McCarthy2010-02-111-2/+2
|
* Convert Maemo6 backend into plugin.Aaron McCarthy2010-02-108-0/+2128