Commit Graph

44 Commits

Author SHA1 Message Date
Gina Yeh
c6d8aea525 Bug 838421 - After an instance of BluetoothAdapter is destroyed, no events can be received by other instances, r=echou 2013-02-08 18:03:09 +08:00
Gina Yeh
9ae2cfbdcb Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou 2013-01-29 14:52:58 +08:00
Eric Chou
f354fcba12 Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot 2013-01-09 16:51:53 +01:00
Gina Yeh
726dc442eb Bug 815325 - Patch 1: Turning bluetooth on and off multiple times causes restart, r=echou 2012-11-30 17:46:55 +08:00
Gina Yeh
3d1f39fe89 Bug 812430 - Patch 1: First time connected by laptop would show empty pairing message, r=echou 2012-11-21 15:33:07 +08:00
Gina Yeh
b0a4410c20 Bug 812404 - Patch 1: Crash when connect with a bluetooth headset right after pairing completed, r=echou 2012-11-16 18:46:08 +08:00
Gina Yeh
9356d6f411 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Eric Chou
8b005928a8 Bug 805724 - patch 4: fire dom request events after calling OPP related functions, r=qdot 2012-11-03 09:36:43 +08:00
Eric Chou
99997a7a1d Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Gina Yeh
771f15de9f Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Eric Chou
aea8c16ff3 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Kyle Machulis
57d3f019c3 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Eric Chou
082e5f9f38 Bug 795410 - patch 1: Basic function prototype, r=qdot
From 2231ac9d0fb159edabb891f8b89afc176fb15c2b Mon Sep 17 00:00:00 2001
2012-09-28 18:59:12 +08:00
Kyle Machulis
889f44f4a8 Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
6d143f7d47 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Eric Chou
394898a96a Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Gina Yeh
323709cc8c Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Kyle Machulis
753a29ed75 Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 18f401b047424a187863c9fbe8943364330d1f4d
2012-09-25 13:13:15 -07:00
Gina Yeh
037d468fcd Bug 791928 - Final version: Broadcast bonding-related events with device name, r=qdot 2012-09-21 14:17:35 +08:00
Gina Yeh
e8884d4249 Bug 788949 - Final version: Add PrepareAdapter function for registering agent and add reserved services, r=qdot, r=echou 2012-09-20 21:22:02 +08:00
Kyle Machulis
150e16830a Bug 791147: Patch 1 - Make bluetooth pairing replies use DOMRequests; r=bent 2012-09-19 16:37:42 -07:00
Gina Yeh
2174db4cb5 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou
d1db99fdc1 Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Gina Yeh
1110893113 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Ben Turner
fe430e23ff Bug 791162 - 'Fix off-main-thread access of BluetoothService::Get'. r=qDot. 2012-09-13 21:27:45 -07:00
Ben Turner
4fa4606698 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Gina Yeh
c74551e934 Bug 789014 - Final version: Broadcast bonding-related events via system message, r=qdot, r=mrbkap 2012-09-12 22:03:42 +08:00
Eric Chou
53cd1dca1c Bug 788254 - [b2g-bluetooth] nsTArray should not be passed back as return value, r=qdot 2012-09-07 15:56:12 +08:00
Ben Turner
44596e4e30 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari
51966b80a6 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ben Turner
c9b35b8d7f Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner
0b4d931151 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Kyle Machulis
9ac24e5e11 Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Gina Yeh
fe128a5270 Bug 764559 - Final version: add eventlistener for adapteradded in BluetoothManager, r=qdot, sr=jst 2012-09-03 14:38:44 +08:00
Eric Chou
ffd0038d61 Bug 777665 - patch 1: Hook up settings to Bluetooth. r=qdot, sr=mrbkap 2012-08-30 14:08:50 +08:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Eric Chou
c9a6da0646 Bug 730992 - Patch 2: The machinery in Bluetooth*Service, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothCommon.h              |    8 +
 dom/bluetooth/BluetoothService.h             |   17 +
 dom/bluetooth/linux/BluetoothDBusService.cpp |  561 ++++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |   23 +
 4 files changed, 586 insertions(+), 23 deletions(-)
2012-08-17 18:35:59 +08:00
Gina Yeh
92be2d7a74 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
Eric Chou
69cfffffc7 Bug 758504 - Final: patch 2: Implement function to remove reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou
33d5525118 Bug 758504 - Final: patch1: Implement function to add reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Kyle Machulis
fbd17f6e7e Bug 768306 - Patch 1: Fix error handling in unpacking DBus replies, set up DBus blocking call handling thread; r=mrbkap 2012-08-08 10:46:39 -07:00
Eric Chou
6b01ab6f0a Bug 780812 - [b2g-bluetooth] Implement function to get RFCOMM channel of specific Bluetooth service; r=qdot 2012-08-07 21:19:07 -07:00
Kyle Machulis
140a6255ce Bug 761511: Patch 2 - Added BluetoothPropertyContainer base class and utility functions; r=mrbkap 2012-07-31 21:49:59 -07:00
Kyle Machulis
5abbd0bc68 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