Commit Graph

61 Commits

Author SHA1 Message Date
Jocelyn Liu
9766618d47 Bug 1174717 - Passing fallible when calling AppendElement method for Sequence types in bluetooth2. r=shuang 2015-06-15 08:41:00 -04:00
Jocelyn Liu
1c4017a3f9 Bug 1174071 - Remove 'required' keyword for Bluetooth*EventInit dictionary members. r=btian, r=bz 2015-06-15 17:11:18 +08:00
Bruce Sun
504c2023ac Bug 1161945 - Fix empty characteristics and descriptors after searching services. f=elin, r=jocelyn 2015-06-12 10:44:57 +08:00
Bruce Sun
fa01a113bf Bug 1171868 - Remove GeneratePathFromGattId(aId, aPath, aUuidStr); r=jocelyn 2015-06-11 18:06:43 +08:00
Jocelyn Liu
8073b180ec Bug 1170076 - Use snprintf instead of sprintf when parsing bluetooth GATT advertisement data. r=shuang 2015-06-02 19:58:00 -04:00
Bevis Tseng
0526f2cfde Bug 1114938 - Part 2.1: (Gonk) Refactor Stk Proactive Commands from IccProvider to IccService. r=echen 2015-04-27 16:01:56 +08:00
Jamin Liu
0b0d6866d9 Bug 1165182 - Stop LE scans when Bluetooth adapter is disconnected from its owner. r=joliu 2015-05-26 10:33:47 +08:00
Bobby Holley
c88c2e4f75 Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Ryan VanderMeulen
41d95849b2 Merge inbound to m-c. a=merge 2015-05-18 16:32:50 -04:00
Andrea Marchesini
6ce7c91736 Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan 2015-05-18 14:52:26 +01:00
Jocelyn Liu
55680b0c8b Bug 1165835: Fix bluetooth2 build break resulting from Bug 1164292. r=btian 2015-05-18 18:09:11 +08:00
Jamin Liu
2e4db95721 Bug 1163969 - Reject the stopLeScan request only if there's no ongoing LE Scan using the given handle. r=joliu 2015-05-13 15:58:22 +08:00
Carsten "Tomcat" Book
4a467cfa03 merge mozilla-central to mozilla-inbound 2015-05-12 17:07:10 +02:00
Andrea Marchesini
7a35ed6840 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Bruce Sun
c585977111 Bug 1162893 - Fix BluetoothGattWriteType serialization problem. f=elin, r=jocelyn 2015-05-11 16:43:53 +08:00
Bruce Sun
c48c327e63 Bug 1161939 - Correct bitwise checking on GATT characteristic write properties. r=jocelyn 2015-05-06 18:15:30 +08:00
Carsten "Tomcat" Book
39e98f065d Merge mozilla-central to b2g-inbound 2015-05-04 15:26:45 +02:00
Jamin Liu
9f7a4accc5 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
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Jocelyn Liu
86544a488e Bug 1159650 - Remove incorrect value assertions in BluetoothGattCharacteristic and BluetoothGattDescriptor. r=btian 2015-04-29 19:53:00 -04:00
Bruce Sun
80527f9ad6 Bug 1159552 - Clear local arrays while discovering. r=jocelyn 2015-04-30 14:41:08 +08:00
Shawn Huang
86c26c9f52 Bug 1143925 - Restart bluetoothd daemon automatically for API V2. r=tzimmermann 2015-04-30 05:46:00 -04:00
Jocelyn Liu
5cbad14a13 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
Szu-Yu Chen [:aknow]
b76d984f86 Bug 1155063 - Part 3: CallStateChanged accepts an array (bluetooth dom). r=btian 2015-04-24 18:10:37 +08:00
Bruce Sun
db21482d20 Bug 1153159 - Pass |promise| as a parameter in |BT_ENSURE_TRUE_RESOLVE| and |BT_ENSURE_TRUE_REJECT| macros. r=btian 2015-04-23 11:07:59 +08:00
Wes Kocher
191a53ded9 Merge inbound to m-c a=merge CLOSED TREE 2015-04-22 17:15:53 -07:00
Thomas Zimmermann
aa1b0d85fb Bug 1156229: Make ref-counted class destructors non-public, r=joliu
To build Bluetooth v2 with gcc 4.8 and later, all ref-counted classes
must have non-public destructors.
2015-04-22 09:35:36 +02:00
Jocelyn Liu
fd3b5c2f54 Bug 1015796 - Use sequence<DOMString> as the type of attribute |attrs| in BluetoothAttributeEvent instead of any. r=btian, r=mrbkap 2015-04-19 20:09:00 -04:00
Thomas Zimmermann
c736f89f63 Bug 1154281: Remove references to UnixSocket.h from Bluetooth, r=btian
The code needs |UnixSocketRawData| from SocketBase.h and the data
structures in UnixSocketWatcher.h
2015-04-21 10:33:06 +02:00
Wes Kocher
866c92a0b7 Merge inbound to m-c a=merge CLOSED TREE 2015-04-20 16:44:05 -07:00
Thomas Zimmermann
4c52d236c0 Bug 1155718: Share ObexBase.{cpp,h} between Bluetooth v1 and v2, r=btian
Both implementations are the same.
2015-04-20 12:56:49 +02:00
Thomas Zimmermann
954d9f99f9 Bug 1155718: Share BluetoothSocketObserver.h between Bluetooth v1 and v2, r=btian
Both implementations are the same.
2015-04-20 12:56:49 +02:00
Thomas Zimmermann
8e1ad7975a Bug 1155718: Share BlueoothRilListener.{cpp,h} between Bluetooth v1 and v2, r=btian
This patch uses the v1 implementation, which include a fix for bug 1137151.
2015-04-20 12:56:49 +02:00
Thomas Zimmermann
f1ce0490fe Bug 1155718: Share BluetoothProfileManagerBase.h between Bluetooth v1 and v2, r=btian
This patch uses the v1 implementation, which include a fix for bug 1137151.
2015-04-20 12:56:49 +02:00
Thomas Zimmermann
0fdd73cf72 Bug 1155718: Share BluetoothHidManager.{cpp,h} between Bluetooth v1 and v2, r=btian
This patch uses the v1 implementation, which include a fix for bug 1137151.
2015-04-20 12:56:49 +02:00
Thomas Zimmermann
aa6382c55f Bug 1155718: Share BluetoothHfpMangerBase.h between Bluetooth v1 and v2, r=btian
Both implementations are the same, except coding-style fixes in v1.
2015-04-20 12:56:49 +02:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Thomas Zimmermann
cd600c61d0 Bug 1155082: Share BluetoothUUID.{cpp,h} between Bluetooth v1 and v2, r=btian
BluetoothUUID of v1 and v2 are the same, except for bug 1015819 in
v1. So this patch moves the v1 variant to a shared location and removes
the v2 variant completely.
2015-04-17 17:45:05 +02:00
Bruce Sun
02f5f65704 Bug 1152653 - Implement BluetoothGatt.oncharacteristicchanged. r=jocelyn, r=mrbkap 2015-04-16 16:47:01 +08:00
Bruce Sun
66e560b063 Bug 1140952 - Implement read/write value of a descriptor for GATT client API (ipc part). f=jocelyn, r=btian 2015-04-16 16:45:20 +08:00
Bruce Sun
f50af0f15c Bug 1140952 - Implement read/write value of a descriptor for GATT client API (webapi part). f=jocelyn, r=btian, r=mrbkap 2015-04-16 16:44:58 +08:00
Bruce Sun
7635978729 Bug 1140952 - Implement read/write value of a characteristic for GATT client API (ipc part). f=jocelyn, r=btian 2015-04-16 16:44:37 +08:00
Bruce Sun
725ee88361 Bug 1140952 - Implement read/write value of a characteristic for GATT client API (webapi part). f=jocelyn, r=shawnjohnjr, r=mrbkap 2015-04-16 16:44:17 +08:00
Thomas Zimmermann
b80a5c01c0 Bug 1154235: Move dom/bluetooth/bluetooth2/BluetoothUtils.{cpp,h} to /dom/bluetooth, r=btian 2015-04-16 10:48:21 +02:00
Thomas Zimmermann
9b28626c48 Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:46:33 +02:00
Thomas Zimmermann
e821b76be5 Bug 1153796: Move dom/bluetooth/bluetooth2/BluetoothInterface.{cpp,h} to dom/bluetooth, r=btian 2015-04-15 11:46:33 +02:00
Carsten "Tomcat" Book
fd53febb32 Backed out changeset 0f94e1a00fcd (bug 1153796) 2015-04-15 11:32:21 +02:00
Carsten "Tomcat" Book
f85064bac9 Backed out changeset 868ace3fafba (bug 1153796) 2015-04-15 11:32:10 +02:00
Thomas Zimmermann
b38c9c690a Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:04:43 +02:00
Thomas Zimmermann
77f18f8653 Bug 1153796: Move dom/bluetooth/bluetooth2/BluetoothInterface.{cpp,h} to dom/bluetooth, r=btian 2015-04-15 11:04:43 +02:00