Commit Graph

330 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
62d9b9ac1b Make network plugin to use adapter references. 2009-05-27 11:25:25 -03:00
Luiz Augusto von Dentz
c4f3b52e2f Fix bug which cause disconnect watches to run on freed data.
Watches were not being removed when the pointer passed as user_data is freed.
2009-05-04 10:16:46 -03:00
Johan Hedberg
a746025869 Fix address variable type 2009-05-02 23:32:07 +03:00
Luiz Augusto von Dentz
a381d5342d Make disconnect watch callback to take removal flag.
This should make watches aware of a force disconnection for permanent device
removal making possible to remove any persistent data associate with the
device.
2009-04-27 10:43:29 -03:00
Luiz Augusto von Dentz
3bcd43d2d3 Make network plugin to use disconnect watches. 2009-04-22 15:41:59 -03:00
Alok Barsode
e050cc3d14 Using # operator to stringify plugin name. 2009-04-21 13:25:35 +01:00
Alok Barsode
2f28c39a63 Add priority field to plugin descriptor definition and load plugins in priority order. 2009-04-21 13:23:51 +01:00
Johan Hedberg
8e706e2d4f Convert some not-so-important info logs to debug logs 2009-03-24 12:31:10 +02:00
Alok Barsode
bf6a4a5774 Adding version check for plugins. 2009-03-14 07:11:47 +01:00
Marcel Holtmann
92bd92f851 Use GCC visibility for exporting symbols 2009-03-11 12:02:00 +01:00
Luiz Augusto von Dentz
88b59d5500 Fix network regression which caused disconnections. 2009-03-12 11:55:16 -03:00
Luiz Augusto von Dentz
c4c03a457d Make use of AF_INET instead of AF_INET6. 2009-03-10 20:16:16 -03:00
Johan Hedberg
1c195ab280 Fix strncpy length parameters to avoid non-nul-terminated strings 2009-02-25 17:48:40 +02:00
Johan Hedberg
d7aa6d1b2d Use safer strncpy instead of strcpy 2009-02-25 17:34:16 +02:00
Johan Hedberg
1d5d3e7b16 Fix leaked sdp_record_t 2009-02-24 19:45:37 +02:00
Luiz Augusto von Dentz
231ba99b01 Convert Network plugin to use confirm callback. 2009-02-23 11:23:15 +02:00
Luiz Augusto von Dentz
10d6858927 Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close. 2009-02-19 16:23:10 -03:00
Luiz Augusto von Dentz
2ecef94bcd Make network plugin to use BtIO API. 2009-02-19 13:41:44 +02:00
Marcel Holtmann
9c0b5859e6 Fix mostly every warning caused by -Wsign-compare 2009-01-29 17:58:28 +01:00
Luiz Augusto von Dentz
3e88293bae Fix bug on error report. 2009-01-23 14:42:13 -03:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
7b92589167 Fix spelling mistakes 2008-12-30 22:51:30 +01:00
Marcel Holtmann
86984e4b0e Add missing include definitions 2008-12-23 04:32:20 +01:00
Luiz Augusto von Dentz
1a092fcbf4 Disallow Network.Disconnect from unauthorized senders.
Disconnect should only be possible for the 'owner' of the connection,
the application which called Connect.
2008-12-01 16:37:36 -03:00
Marcel Holtmann
5112255d45 Remove deprecated methods and signals from network interface 2008-12-01 19:50:15 +01:00
Marcel Holtmann
a9aef73a05 Merge branch 'for-upstream' of git://gitorious.org/bluez/vudentzs-clone 2008-12-01 19:20:45 +01:00
Luiz Augusto von Dentz
82c82fe327 Add disconnect watch for Network.Connect method.
If the client leaves or dies the connection should be removed.
2008-12-01 14:44:30 -03:00
Marcel Holtmann
519ec3b59a Disable the usage of scripts for now 2008-12-01 18:19:53 +01:00
Johan Hedberg
3862e5642d Use correct property types for Device and UUID 2008-11-22 18:06:54 +02:00
Luiz Augusto von Dentz
7ec871d37d Make use of g_timeout_add_seconds whenever possible. 2008-11-17 14:15:10 -03:00
Johan Hedberg
bd44943632 Use g_clear_error(&err) instead of g_error_free(err); err = NULL 2008-10-24 13:44:16 +03:00
Johan Hedberg
c0736ea762 Rename dbus_connection_emit_property_changed to emit_property_changed 2008-10-16 22:03:25 +03:00
Johan Hedberg
102df1da56 Fix remaining places to use dict_append_entry too 2008-10-16 21:23:43 +03:00
Johan Hedberg
548026e08b Make device driver probe calls take UUID's instead of full records
This is preparation for allowing the device object to be correctly set up even
when we don't have the full service records but only the remote UUID's.
2008-10-09 15:13:28 +02:00
Johan Hedberg
b33d56deea Remove uninitialized variable compiler warning with some gcc versions 2008-10-04 13:22:20 +02:00
Marcel Holtmann
d68a57d8be Fix uninitialized reply of multiple GetProperties methods 2008-10-03 08:29:51 +02:00
Luiz Augusto von Dentz
acf2a8a0b3 Mark old plugins API as deprecated. 2008-10-02 19:16:39 -03:00
Luiz Augusto von Dentz
737e08aa76 Add code to emit PropertyChanged on network interface. 2008-10-02 17:51:28 -03:00
Luiz Augusto von Dentz
357a15b587 Add property support for network interface. 2008-10-02 17:39:07 -03:00
Vinicius Costa Gomes
c0296a9dde Cancels the pending request from agent side when receiving a NoReply 2008-09-09 19:47:14 -03:00
Alok Barsode
19ce4933f3 Redefining device_get_address to take bdaddr_t as parameter. 2008-09-08 17:55:14 +05:30
Alok Barsode
2a8fb41c4c Redefining adapter_get_address to take bdaddr_t as parameter. 2008-09-08 14:31:43 +05:30
Marcel Holtmann
b326ad96e3 Fix D-Bus API for serial and network plugins 2008-09-06 01:39:37 +02:00
Marcel Holtmann
c74f11481a Fix D-Bus connection init 2008-09-06 01:10:56 +02:00
Claudio Takahasi
c4c2f40df0 Network: removed unused function 2008-09-05 16:56:15 -03:00
Claudio Takahasi
d32b5d61be Network: missing unregister adapter drivers 2008-09-05 16:08:30 -03:00
Claudio Takahasi
6299ff3c17 Network: Missing DBusConnection unref 2008-09-05 16:08:30 -03:00
Claudio Takahasi
417a338e3e Network: removed memory leak and moved config file related funcs to manager.c 2008-09-04 15:05:53 -03:00
Alok Barsode
18614bd2b0 Renaming struct adapter to struct btd_adapter. 2008-09-04 16:03:43 +05:30
Claudio Takahasi
3f498e694e Network: Removed unused function 2008-09-01 18:56:36 -03:00