summaryrefslogtreecommitdiffstats
path: root/src/network/bearer
Commit message (Collapse)AuthorAgeFilesLines
* Fix waitForOpened not working with already active configurationVille Pernu2010-12-171-1/+2
| | | | | | | | | | When an active QNetworkConfiguration is already in use (e.g. browser already open), the QNetworkSession::waitForOpened() did not work properly. Changed one if-statement in the function to adapt to the scenario. Reviewed-by: Perttu Pohjonen Task-number: QTBUG-565
* Fix crash on exit.Aaron McCarthy2010-10-191-8/+30
| | | | | | | | | If QNetworkConfigurationManager is deleted from the QApplication destructor it will be deleted after QNetworkConfigurationManagerPrivate global static (which is also deleted by QApplication). Fixed by testing if connManager() returns 0 before use. Task-number: QTBUG-14447
* doc: Changed \i to \e.Martin Smith2010-10-041-4/+4
| | | | | | Don\t use \i for italics. Use \e. Task: QTBUG-14133
* Fix memory leaks and valgrind errors.Aaron McCarthy2010-09-131-0/+3
|
* Destroy QNetworkConfigurationManager global static from qApp dtor.Aaron McCarthy2010-09-011-1/+22
| | | | | | | | | The order of global static destruction is not well defined. Ensure that the QNetworkConfigurationManager global static is destroyed from the QCoreApplication destructor before its dependencies are destroyed with the rest of the global statics. Task-number: QTBUG-13304
* Fix race condition on bearer management initialisation.Aaron McCarthy2010-08-242-5/+17
| | | | | | | Defer initialisation and changing thread affinity until after the global static is constructed. Task-number: QTBUG-12686
* Merge remote branch 'staging/4.7' into bearermanagement/maemo-fixesAaron McCarthy2010-08-163-13/+8
|\
| * Make this constructor explicit in Qt too.Aaron McCarthy2010-08-131-4/+0
| |
| * Better fix for d524da81ee257a6bd67d32d0bc870280a7d5b8a4.Aaron McCarthy2010-08-132-9/+8
| | | | | | | | Wrap new APIs in ifndef QT_MOBILITY_BEARER.
* | Register QNetworkConfigurationPrivatePointer metatype.Aaron McCarthy2010-08-161-0/+1
|/
* Merge remote branch 'origin/4.7' into oslo-staging-2/4.7Olivier Goffart2010-08-092-1/+8
|\ | | | | | | | | | | | | | | | | | | Conflicts: doc/src/index.qdoc src/dbus/qdbusconnection.cpp src/gui/s60framework/qs60mainapplication.cpp src/gui/s60framework/qs60mainappui.cpp src/network/access/qnetworkrequest.cpp src/network/bearer/qnetworkconfiguration.h
| * Fix link error when building Bearer application with Qt MobilityAlex2010-08-052-1/+8
| | | | | | | | | | | | | | | | | | | | | | QtMobility uses the Qt header when compiling applications which link against Mobility's Bearer library. Therefore QNetworkConfiguration::bearerName() cannot be inline and refer to the new QNetworkConfiguration::bearerTypeName() function (which doesn't exist in Mobility) Task-number: QTBUG-12378 Reviewed-by: Rohan McGovern
* | compilation with QT_NO_DEPRECATEDOlivier Goffart2010-08-061-0/+2
|/ | | | Reviewed-by: Andreas Kling
* Return 'Unknown' bearer type name for unknown bearer type.Aaron McCarthy2010-08-032-2/+2
|
* Use an enum to return the bearer type of a network configuration.Aaron McCarthy2010-08-024-29/+114
| | | | | Task-number: QTBUG-12378 Reviewed-by: Alex
* Rename QNetworkConfiguration::bearerName() function.Aaron McCarthy2010-08-022-9/+21
| | | | | | | | | | | bearerName() -> bearerTypeName(). bearerName() is deprecated and converted into an inline function which calls bearerTypeName(). This is required to keep existing code source compatible between Qt Mobility 1.0.x and Qt 4.7. Task-number: QTBUG-12378 Reviewed-by: Alex
* Cherry pick fix for MOBILITY-1077 from Qt Mobility.Aaron McCarthy2010-07-271-4/+8
| | | | | 7ef45318255c5cf1f10508753c9a2c55fc2cb8c0 321bd8b7b54e34a983b1ba142af836cf3e153a66
* Order network configurations in service networks in priority order.Aaron McCarthy2010-07-232-9/+13
| | | | | | | | 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>
* Don't poll non-polling engines when configurations are in use.Aaron McCarthy2010-06-031-2/+4
|
* Fix QT_NO_LIBRARYTasuku Suzuki2010-04-291-0/+4
| | | | | | | | | Some class uses QFactoryLoader without checking if QT_NO_LIBRARY is not defined. Remove QT_NO_SETTINGS used with QT_NO_LIBRARY for QFactoryLoader because LIBRARY depends on SETTINGS. Merge-request: 578 Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
* Remove redundant network configuration updates on startup.Aaron McCarthy2010-04-201-1/+1
| | | | | The initial list of network configurations was being fetched twice when the bearer management plugins are loaded.
* Introduce a qconfig feature for Bearer ManagementTasuku Suzuki2010-04-1511-1/+43
| | | | | Merge-request: 517 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Remove holes in bearer management data structures.Aaron McCarthy2010-04-155-14/+23
|
* Bearer management changes from Qt Mobility (7a5ff985)Aaron McCarthy2010-04-141-0/+4
| | | | 7a5ff9859f5775915ae80c287f51c772599c2379
* Remove leading whitespace from Qt header macros.Thiago Macieira2010-03-313-23/+23
| | | | | | | The tst_headers::macros test doesn't like it. It's easier to remove the spaces than to fix the test. Reviewed-by: Markus Goetz
* MONILITY-645Wolfgang Beck2010-03-303-18/+63
| | | | Merging bearer header.
* Compile with QT_NO_NETWORKINTERFACE defined.Aaron McCarthy2010-03-255-3/+7
|
* Bearer management documentation.Aaron McCarthy2010-03-243-3/+3
| | | | Add overview and examples from Qt Mobility.
* Bearer management changes from Qt Mobility (6fb31d1e).Aaron McCarthy2010-03-241-1/+1
| | | | 6fb31d1e287d7def45c115eb56bcb9b0c5cb3c40.
* Fix build failure on WinCE.Aaron McCarthy2010-03-221-0/+4
|
* Revert "Don't emit open signal on session close/error."Aaron McCarthy2010-03-192-5/+8
| | | | This reverts commit 39818f933b958d504b9cc18487658209d1df22da.
* Don't emit open signal on session close/error.Aaron McCarthy2010-03-192-8/+5
|
* Add flag to indicate that network sessions are expected on a platform.Aaron McCarthy2010-03-182-1/+4
|
* Make destructor virtual.Aaron McCarthy2010-03-181-1/+1
|
* Make QNetworkConfigurationManager and QNetworkConfiguration threadsafe.Aaron McCarthy2010-03-116-195/+285
|
* Merge remote branch 'staging/4.7' into bearermanagement/pollingAaron McCarthy2010-03-051-1/+1
|\
| * doc: Fixed some qdoc errors.Martin Smith2010-03-021-1/+1
| |
* | Don't keep polling network sessions open indefinitely.Aaron McCarthy2010-03-051-0/+14
| |
* | Prefer ethernet over wlan.Aaron McCarthy2010-03-041-18/+51
| | | | | | | | | | Change how the defaultConfiguration is calculated when one is not provided by an engine.
* | Updating polling mechanism for bearer management engines.Aaron McCarthy2010-03-045-7/+147
|/ | | | | | | Improves the polling mechanism by sharing a single timer for all poll based engines. Updates are only performed for a poll based engine iff a QNetworkConfigurationManager object has been constructed or a QNetworkConfiguration is held externally from the engine.
* Bearer management changes from Qt Mobility (fca9891).Aaron McCarthy2010-03-023-1/+9
| | | | fca98911b75ce12e70d93cfc2932a9759758a605
* Change initialization order.Aaron McCarthy2010-02-221-1/+1
|
* Add locking to bearer code.Aaron McCarthy2010-02-226-102/+136
| | | | | QNetworkConfigurationManagerPrivate and QBearerEngine derived classes need to be thread-safe.
* Don't block forever if no bearer plugins are loaded.Aaron McCarthy2010-02-161-0/+5
|
* Add QT_MODULE headers.Aaron McCarthy2010-02-153-0/+6
|
* Change docs: "phone" -> "device".Aaron McCarthy2010-02-151-1/+1
|
* Remove unused code.Aaron McCarthy2010-02-152-59/+0
|
* Simplify.Aaron McCarthy2010-02-151-2/+1
|
* Optimise iterations over QHash.Aaron McCarthy2010-02-153-34/+41
|
* Use snippets.Aaron McCarthy2010-02-151-8/+1
|