Commit Graph

66 Commits

Author SHA1 Message Date
Kyle Machulis
bb7e8fcc13 Bug 796176 - Patch 2: Make Bluetooth*Managers listen on startup/disconnect, stop listening to stop/connect; r=echou
--HG--
extra : rebase_source : 9ed9b4cc1ba445128a8ff6f90a9fb84044b7ca1a
2012-10-10 22:49:11 -07:00
Kyle Machulis
93c1dcc69d Bug 799243 - Patch 2: Fix static nsTArray initialization in BluetoothDBusService; r=echou 2012-10-08 22:00:02 -07:00
Gina Yeh
ea5b6c5f71 Bug 782586 - Final version: Firing onadapteradded event when bluetooth is ready to get default adapter, r=qdot 2012-10-09 11:29:37 +08:00
Gina Yeh
771f15de9f Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
e830f70fa8 Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Gina Yeh
114a88c200 Bug 795659 - Final version: Follow-up to bug 795458, r=qdot 2012-10-04 11:13:12 +08:00
Eric Chou
aea8c16ff3 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh
78c37a4bca Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Gina Yeh
0be0dc67c7 Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +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
a306302aee Bug 795410 - patch 2: Complete call flow, r=qdot
From 9fb76c07818c989ec8edc26b54ba84e1e6ec41ed Mon Sep 17 00:00:00 2001
2012-09-28 19:42:04 +08: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
7893409009 Bug 795458 - a workaround for this bug and fixed a typo, r=qdot 2012-09-30 10:45:21 +08:00
Eric Chou
0321ad5184 Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08: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
Eric Chou
218d22deb5 Bug 794791 - [b2g-bluetooth] Update Device/Adapter properties table; r=qdot 2012-09-27 10:28:19 -07: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
Kyle Machulis
3b1ee2b065 Bug 789428: Fix object path setting for BluetoothDevice; r=echou
--HG--
extra : rebase_source : 7712835dfa55640910721f9a04bb4ee48e8168b4
2012-09-25 11:48:51 -07:00
Eric Chou
72bf2b3e90 Bug 793609 - [b2g-bluetooth] Wrong value passed into KeepDBusPairingMessage(), r=qdot 2012-09-25 10:44:00 +08: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
Gina Yeh
b69f56998f Bug 792656 - Final version: Fix typo of system message type, r=qdot 2012-09-20 13:53:33 +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
b22bbb7e1b Bug 791650 - Final version: 'Connected' attribute in device should a 2-byte array, r=qdot 2012-09-19 11:22:38 +08:00
Kyle Machulis
2950761880 Bug 791811: DeviceCreated signal asserts due to BluetoothService access on DBus Signal thread; r=echou 2012-09-17 23:10:25 -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
Eric Chou
078c6ba561 Bug 791436 - [b2g-bluetooth] Readd reserved service reg/unreg for bluetooth, r=qdot 2012-09-17 14:00:54 +08:00
Gina Yeh
dd95d5c4ab Bug 791182 - Final version: Send system message when pairing process is finished, r=qdot 2012-09-17 13:56:29 +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
Kyle Machulis
959e5ab98e Bug 791413: Exit early when bluetooth property types don't match; r=cjones 2012-09-15 00:39:21 -07:00
Kyle Machulis
a189fa8e21 Bug 791189: Exit signal filters early when signal not handled, remove service reg/unreg to fix bt crashes; r=dhylands 2012-09-14 23:47:01 -07: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
ab94fb03d9 Bug 790136 - Registered/Unregistered HFP_AG & HSP_AG services, r=qdot 2012-09-12 15:44:05 +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
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
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Eric Chou
32582e5ebe Bug 785320 - [b2g-bluetooth] Crash after renaming device in Settings/Bluetooth; r=qdot 2012-08-24 20:32:32 -07: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
d624a947ee Bug 784255 - [b2g-bluetooth] devicefound event does not come up correctly, r=qdot 2012-08-21 14:24:05 +08:00
Eric Chou
1f79e5fddf Bug 783932 - [b2g-bluetooth] Fix wrong textwidth(tw=) value in Mode line, r=qdot 2012-08-21 11:21:24 +08:00
Kyle Machulis
955d0d468f Bug 784179: Wrong thread assertion in GetPairedDevicePropertiesInternal; r=gwagner 2012-08-20 18:24:48 -07: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