Commit Graph

33 Commits

Author SHA1 Message Date
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Bruce Sun
8d7643c9b3 Bug 1171868 - Remove GeneratePathFromGattId(aId, aPath, aUuidStr); r=jocelyn 2015-06-11 18:06:43 +08:00
Bruce Sun
1a968c0a6d Bug 1171866 - Remove ReversedUuidToString; f=tzimmermann, r=jocelyn 2015-06-11 18:01:00 +08:00
Thomas Zimmermann
b69c35e17d Bug 1164498: Remove |DispatchBluetoothReply|, r=btian
This patch removes |DispatchBluetoothReply|. The only remaining user
is |BluetoothDBusService|, but it comes with its own implemenation of
the function.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
8977bb28d7 Bug 1164498: Cleanup Bluetooth utility functions for dispatching replies, r=btian
This patch adds support for |DispatchReplySuccess| and |DispatchReplyError|
to Bluetooth v1.
2015-05-19 12:28:38 +02:00
Carsten "Tomcat" Book
b6327979f4 Merge mozilla-central to b2g-inbound 2015-05-04 15:26:45 +02:00
Jamin Liu
19a0334c68 Bug 1063444 - Implement LE scan related methods and LE device event. r=joliu, r=mrbkap 2015-05-04 18:59:02 +08:00
Andrew McCreight
4af1ed5d3c Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Jocelyn Liu
263f00387d Bug 1138267 - Unregister bluetooth signal handlers in unlink. r=shuang, r=bz
Without unregistering the bluetooth signal handler when a object unlinked, we
might end up exposing a deleted object to JS or accessing deleted objects while
receiving signals from parent process.

This patch unregister signal handlers in unlink for each Bluetooth* classes
which registers signal handlers. And also checks if the signal handler is not
unregistered before handling signals in content process.
2015-04-27 22:46:00 -04:00
Thomas Zimmermann
7be654cf65 Bug 1154235: Share BluetoothUtils.{cpp,h} between Bluetooth v1 and v2, r=btian
With this patch, Bluetooth v1 and v2 share the same files for
BluetoothUtils.{cpp,h}. Some of the functions are still version specific
and cannot be shared. The v1 variants can be removed after switching to
v2.
2015-04-16 10:48:21 +02:00
Thomas Zimmermann
6b0d1d142b Bug 1154235: Move dom/bluetooth/bluetooth2/BluetoothUtils.{cpp,h} to /dom/bluetooth, r=btian 2015-04-16 10:48:21 +02:00
Thomas Zimmermann
7b1c8a0c6e Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu 2015-04-09 15:57:40 +02:00
Thomas Zimmermann
2be9b80b07 Bug 1105308: Merge BluetoothUtils.{cpp,h}, r=btian
This patch merges BluetoothUtils.{cpp,h} from BlueZ and Bluedroid
backends. The resulting files of the same name are located in the
generic code's directory.

This change requires a rebuild of dependency information, so the
patch touches CLOBBER as well.
2014-11-28 11:49:40 +01:00
Ben Tian
54f3834973 Bug 939022 - BluetoothUtils for bluedroid. Patch 1/3: Move files, r=echou 2013-12-16 19:00:54 +08:00
Nicholas Nethercote
d0f640378a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke. 2013-08-27 19:59:14 -07:00
Gina Yeh
17a1e1cb33 Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou 2013-08-02 18:32:57 +08:00
Jon Coppeard
3c93e78516 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Gina Yeh
c6dfafa63d Bug 811569 - Patch 2: Support array of nsString in SetJsObject, r=echou 2013-01-29 14:52:39 +08:00
Steve Fink
ed62b6f44e Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
27634e6f07 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
466f61a3c6 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Eric Chou
e9803a4ba8 Bug 820143 - implemented Calling Line Identification (CLI), r=gyeh 2012-12-17 23:24:35 +08:00
Gina Yeh
ff9a5e4399 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00
David Zbarsky
1fcb541d91 No bug, fix struct/class mismatch warnings 2012-11-14 21:38:26 -05:00
Gabriele Svelto
581ddc4bda Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Eric Chou
06df2f84cd Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Gina Yeh
a40a7f4575 Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Gina Yeh
b6812c2a11 Bug 777671 - Final version: add function getPairedDevices() in nsIDOMBluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp           |   97 +++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h             |    2 +-
 dom/bluetooth/BluetoothPropertyContainer.cpp |   32 +--------
 dom/bluetooth/BluetoothPropertyContainer.h   |   26 +------
 dom/bluetooth/BluetoothService.h             |   11 ++-
 dom/bluetooth/BluetoothUtils.cpp             |   48 ++++++++++++-
 dom/bluetooth/BluetoothUtils.h               |    9 ++-
 dom/bluetooth/linux/BluetoothDBusService.cpp |   93 +++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |    4 +-
 dom/bluetooth/nsIDOMBluetoothAdapter.idl     |    3 +-
 10 files changed, 261 insertions(+), 64 deletions(-)
2012-08-17 10:53:45 +08:00
Kyle Machulis
3f4b855e92 Bug 761511: Patch 3 - Update Manager/Adapter/Device objects to be BluetoothPropertyObjects, and add class specific setters; r=mrbkap 2012-07-31 21:53:04 -07:00
Kyle Machulis
5ea51bd841 Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap 2012-07-17 20:41:54 -07:00
Kyle Machulis
dc49029209 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00