summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1316-16/+16
| | | | | | 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-2916-384/+384
| | | | | | | | 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-0116-32/+32
| | | | | | | | | | | | | - 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-1116-16/+16
| | | | | | | | | 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>
* Fix non-ascii name issues in ICD.Xizhi Zhu2011-08-182-3/+3
| | | | | PMO Bug 275663. Developed by Aapo Makela, reviewed by me.
* Update internal state before emitting configurationChanged() signals.Xizhi Zhu2011-06-081-0/+1
| | | | PMO Bug 257336.
* Fix the state of default network configuration.Xizhi Zhu2011-05-241-0/+6
| | | | | | | PMO Bug 257336 - Default configuration remains in QNetworkConfiguration::Active state even when device moves out of WLAN coverage This fix sets the default network configuration (of type UserChoice) back to Discovered when the network session is disconnected. Reviewed-by: Cristiano di Flora
* Update licenseheader text in source filesJyri Tahtela2011-05-1316-272/+272
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Fixes QT-4753Xizhi Zhu2011-03-232-10/+13
| | | | | | Invalid read in ICD plugin for bearer management. Reviewed-by: Iiro Kause
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-02-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (21 commits) Fix compilation of QMutableSetIterator::value() with QT_STRICT_ITERATORS Fix the compilation error that the previous fix didn't fix Use the thread-default glib context for the DBus connection in the ICD bearer manager. Check that _POSIX_THREAD_SAFE_FUNCTIONS is larger than zero. Use an increasing size for the getpwuid_r buffer. Make sure we use at least 1024 bytes when calling getpwuid_r. Fix compilation error: symbol is namespaced. Don't crash when creating backtrace for built-in JS function (2nd try) Revert "Improved performance of mapFromGlobal/mapToGlobal on X11" QtDBus: do not wait for reply for AddMatch and RemoveMatch Make qdbus show all types, even those that it doesn't know about Doc: Fix the docs saying what the locale codec is used for Autotest: simple improvements Autotest: Use QElapsedTimer for timings directfb: Pixmap creation always premultiplied the alpha even when it is already premultiplied in the image. Don't crash when BMP color table is broken Designer: Fix a crash in the Signal-Slot-Editor. complain about unmatched quotes/parens use const ref move multiple inclusion check for feature files to correct location ...
| * 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>
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging into ↵Qt Continuous Integration System2011-02-041-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging: (216 commits) Doc: Fixed a reference to the wrong image. Fixed a bug that caused marked up inline text to be truncated. Doc: Renamed an image to ensure that it does not clash with another. Doc: Fixed QML, unindented snippet. Doc: Removed unnecessary HTML entity from the title. Doc: Fixed broken links to the old Symbian Foundation Wiki. Doc: Updated the copyright statements in the templates. Doc: Fixing typo Replace all occurances of "Qt 4.7" with "QtQuick 1.0" Doc: Adjusted the font sizes for the offline documentation. Doc: Added a missing style sheet to the qhp manifest. Doc: Fixed the qthelp namespace for the Qt documentation. Doc: including missing pages in overviews. Doc: Fixed typo in QCoreApplication docs Fixed whitespace. Avoid hard-coding product names in page titles. Doc: Unindented a code snippet. Doc: Fixed confusing wording of a sentence. Doc: Fixed a broken link. Doc: Updated the information about commercial editions of Qt. ...
| * Doc: Fixed qdoc warning.David Boddie2011-01-251-3/+3
| |
* | 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