Commit Graph

80 Commits

Author SHA1 Message Date
Ben Tian
e5a7ce7584 Bug 1173266 - [cleanup] Remove unused |isConnected| from bluetooth2, r=tzimmermann 2015-08-05 15:19:43 +08:00
Ben Tian
a67db0a86c Bug 1106007 - Cleanup include guards. r=tzimmermann 2015-08-04 17:39:30 +08:00
Bruce Sun
bdf2608dfb Bug 1181478 - Expose BluetoothGattServer object in BluetoothAdapter. r=btian, r=mrbkap, a=me
--HG--
extra : amend_source : d12e5a977854f40855e15de393b0499c6df4356a
extra : histedit_source : 1aec0f3cc99814111843cde3e082de5ac4d31542
2015-07-24 16:32:35 +08:00
Thomas Zimmermann
2f7aeaeba9 Bug 1187872: Remove HAL backend from Bluetooth, r=shuang
Bluedroid's HAL backend has been superseded by the Bluetooth daemon, and
already been unused in current releases. This patch removes the code from
Gecko.
2015-07-30 09:09:26 +02:00
Ben Tian
e6c5b6e3a5 Bug 1188394 - Fix warning: NS_ENSURE_TRUE(aTypes.Length()) failed, r=joliu 2015-07-29 16:39:02 +08:00
Ryan VanderMeulen
c78e298211 Backed out changeset beed8e3e86d9 (bug 1181478) for B2G test_interfaces.html failures. 2015-07-27 15:51:54 -04:00
Bruce Sun
08645287bd Bug 1181478 - Expose BluetoothGattServer object in BluetoothAdapter. r=btian, r=mrbkap 2015-07-24 16:32:35 +08:00
Ben Tian
adae4f295b Bug 1186317 - [cleanup] Remove unused macros and unnecessary logs, r=shuang 2015-07-21 18:05:44 +08:00
Bruce Sun
4eac95e011 Bug 1176898 - Remove redundant DisconnectFromOwner of BluetoothDiscoveryHandle. r=btian
--HG--
extra : rebase_source : 3275e369491f07e67d0678d8655c4fcd8f65dca4
2015-07-21 14:09:53 +08:00
Jamin Liu
fbd26faa80 Bug 1179713 - fix the manifest of bluetooth2 marionette test set. r=btian 2015-07-14 18:37:49 +08:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Phil Ringnalda
900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ben Tian
45733c0be3 Bug 1179682 - Remove |mName| from BluetoothReplyRunnable, r=joliu 2015-07-02 17:55:54 +08:00
Jocelyn Liu
301ab5a5e7 Bug 1178654 - Fix the uuid length when parsing bluetooth low energy advertisement data. r=btian 2015-07-03 12:39:23 +08:00
Ben Tian
da8ddddc60 Bug 1179141 - Remove macro |BT_API2_LOGR|, r=joliu 2015-07-02 15:13:41 +08:00
Carsten "Tomcat" Book
d4ade1ec3b Backed out changeset f41a2121425f (bug 1171931) for bustage 2015-06-30 10:30:51 +02:00
Juan Gomez
2b614f73ac Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-29 21:34:15 +02:00
Jamin Liu
b092e9d032 Bug 1175067 - Switch Bluetooth marionette test set to BT API v2 and disable unsupported tests. r=joliu 2015-06-17 18:00:26 +08:00
Jocelyn Liu
51e64c0d2c 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
79a8bee656 Bug 1174071 - Remove 'required' keyword for Bluetooth*EventInit dictionary members. r=btian, r=bz 2015-06-15 17:11:18 +08:00
Bruce Sun
b47876dbca Bug 1161945 - Fix empty characteristics and descriptors after searching services. f=elin, r=jocelyn 2015-06-12 10:44:57 +08:00
Bruce Sun
31d53bb99d Bug 1171868 - Remove GeneratePathFromGattId(aId, aPath, aUuidStr); r=jocelyn 2015-06-11 18:06:43 +08:00
Jocelyn Liu
fc8c6db4a0 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
791acb3ff2 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
bbd9c05ae1 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
3b6ba803a8 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
7833fc8055 Merge inbound to m-c. a=merge 2015-05-18 16:32:50 -04:00
Andrea Marchesini
3aa189b5ff Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Jocelyn Liu
55f0cac7c7 Bug 1165835: Fix bluetooth2 build break resulting from Bug 1164292. r=btian 2015-05-18 18:09:11 +08:00
Jamin Liu
dc14156d4f 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
90096e4744 merge mozilla-central to mozilla-inbound
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 17:07:10 +02:00
Andrea Marchesini
368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Bruce Sun
b6bba13293 Bug 1162893 - Fix BluetoothGattWriteType serialization problem. f=elin, r=jocelyn 2015-05-11 16:43:53 +08:00
Bruce Sun
3ce88763fd Bug 1161939 - Correct bitwise checking on GATT characteristic write properties. r=jocelyn 2015-05-06 18:15:30 +08:00
Carsten "Tomcat" Book
ba5c4e1c0c Merge mozilla-central to b2g-inbound 2015-05-04 15:26:45 +02:00
Jamin Liu
da0f8172bb 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
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Jocelyn Liu
08a3eb9653 Bug 1159650 - Remove incorrect value assertions in BluetoothGattCharacteristic and BluetoothGattDescriptor. r=btian 2015-04-29 19:53:00 -04:00
Bruce Sun
54c1083625 Bug 1159552 - Clear local arrays while discovering. r=jocelyn 2015-04-30 14:41:08 +08:00
Shawn Huang
c982fdb5b1 Bug 1143925 - Restart bluetoothd daemon automatically for API V2. r=tzimmermann 2015-04-30 05:46:00 -04:00
Jocelyn Liu
b31782a970 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]
4489badf21 Bug 1155063 - Part 3: CallStateChanged accepts an array (bluetooth dom). r=btian
--HG--
extra : rebase_source : 056f3a9c609a19e0cbdfa713f605f617046fdc1f
2015-04-24 18:10:37 +08:00
Bruce Sun
bd4023d862 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
a79764cf6b Merge inbound to m-c a=merge CLOSED TREE 2015-04-22 17:15:53 -07:00
Thomas Zimmermann
6a2c5933a5 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
8b5c28e63f Bug 1015796 - Use sequence<DOMString> as the type of attribute |attrs| in BluetoothAttributeEvent instead of any. r=btian, r=mrbkap
--HG--
extra : histedit_source : 5c14b863ffc33d75af03c001298b670c1cac3212
2015-04-19 20:09:00 -04:00
Thomas Zimmermann
19481051d7 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
aa6cf3235f Merge inbound to m-c a=merge CLOSED TREE
--HG--
rename : dom/bluetooth/bluetooth1/BluetoothRilListener.cpp => dom/bluetooth/BluetoothRilListener.cpp
2015-04-20 16:44:05 -07:00
Thomas Zimmermann
b4be1c364e Bug 1155718: Share ObexBase.{cpp,h} between Bluetooth v1 and v2, r=btian
Both implementations are the same.

--HG--
rename : dom/bluetooth/bluetooth2/ObexBase.cpp => dom/bluetooth/ObexBase.cpp
rename : dom/bluetooth/bluetooth2/ObexBase.h => dom/bluetooth/ObexBase.h
2015-04-20 12:56:49 +02:00