linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Fixing DBus error system in BlueZ
@ 2010-11-08  6:29 Gustavo F. Padovan
  2010-11-08  6:29 ` [PATCH 1/9] Create __btd_error_invalid_args() Gustavo F. Padovan
  2010-11-08 12:33 ` [PATCH 0/9] Fixing DBus error system in BlueZ Johan Hedberg
  0 siblings, 2 replies; 21+ messages in thread
From: Gustavo F. Padovan @ 2010-11-08  6:29 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

Here are some patches that try to fix the mess of reporting error to
DBus inside BlueZ. It follows the oFono and ConnMan error system.

The goal is to get ride of any directly call to g_dbus_create_error()
inside bluez code, changing that to __btd_error_*. This patch set
doesn't fix all of them yet, but is a very good start. Please review.


Gustavo F. Padovan (9):
  Create __btd_error_invalid_args()
  Add __btd_error_already_exists()
  Add __btd_error_not_supported()
  Add __btd_error_not_connected()
  Add __btd_error_in_progress()
  Add __btd_error_not_available()
  Add __btd_error_busy()
  Add __btd_error_does_not_exist()
  Add __btd_error_not_authorized()

 attrib/client.c          |   28 ++++-----------
 audio/control.c          |   16 ++-------
 audio/device.c           |    6 +--
 audio/gateway.c          |   16 ++-------
 audio/headset.c          |   58 ++++++++++-----------------------
 audio/media.c            |   12 ++----
 audio/sink.c             |   10 ++----
 audio/source.c           |    7 +---
 audio/telephony-dummy.c  |   25 ++++++--------
 audio/telephony-maemo5.c |   11 ++----
 audio/telephony-maemo6.c |   11 ++----
 audio/transport.c        |   14 ++------
 health/hdp.c             |   58 ++++++++------------------------
 input/device.c           |    8 +----
 network/server.c         |    9 +----
 plugins/service.c        |   56 ++++++++------------------------
 serial/port.c            |   20 +----------
 serial/proxy.c           |   31 ++++-------------
 src/adapter.c            |   81 +++++++++++++++++-----------------------------
 src/device.c             |   49 ++++++++--------------------
 src/error.c              |   62 +++++++++++++++++++++++++++++++++++
 src/error.h              |   10 ++++++
 src/manager.c            |    7 ----
 23 files changed, 221 insertions(+), 384 deletions(-)

-- 
1.7.3.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-11-10 15:38 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08  6:29 [PATCH 0/9] Fixing DBus error system in BlueZ Gustavo F. Padovan
2010-11-08  6:29 ` [PATCH 1/9] Create __btd_error_invalid_args() Gustavo F. Padovan
2010-11-08  6:29   ` [PATCH 2/9] Add __btd_error_already_exists() Gustavo F. Padovan
2010-11-08  6:29     ` [PATCH 3/9] Add __btd_error_not_supported() Gustavo F. Padovan
2010-11-08  6:29       ` [PATCH 4/9] Add __btd_error_not_connected() Gustavo F. Padovan
2010-11-08  6:29         ` [PATCH 5/9] Add __btd_error_in_progress() Gustavo F. Padovan
2010-11-08  6:29           ` [PATCH 6/9] Add __btd_error_not_available() Gustavo F. Padovan
2010-11-08  6:29             ` [PATCH 7/9] Add __btd_error_busy() Gustavo F. Padovan
2010-11-08  6:29               ` [PATCH 8/9] Add __btd_error_does_not_exist() Gustavo F. Padovan
2010-11-08  6:29                 ` [PATCH 9/9] Add __btd_error_not_authorized() Gustavo F. Padovan
2010-11-09  8:22     ` [PATCH 2/9] Add __btd_error_already_exists() Jose Antonio Santos Cadenas
2010-11-09 17:13       ` Gustavo F. Padovan
2010-11-09 20:13         ` Jose Antonio Santos Cadenas
2010-11-09 20:30           ` Gustavo F. Padovan
2010-11-09 20:35             ` Jose Antonio Santos Cadenas
2010-11-09  8:20   ` [PATCH 1/9] Create __btd_error_invalid_args() Jose Antonio Santos Cadenas
2010-11-10  0:51     ` Gustavo F. Padovan
2010-11-08 12:33 ` [PATCH 0/9] Fixing DBus error system in BlueZ Johan Hedberg
2010-11-08 17:31   ` Gustavo F. Padovan
2010-11-10  5:23     ` Marcel Holtmann
2010-11-10 15:38       ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).