Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Gina Yeh 5b81eec10f Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou c9b084301f Bug 861085 - Enable/Disable Bluetooth based on mozSettings value at startup, r=gyeh, r=qdot 2013-04-16 11:02:23 +08:00
Eric Chou 683613dfd8 Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap 2013-04-04 17:55:34 -07:00
Matt Brubeck 3ee37d2232 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou 9b0ac5fced Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
--HG--
extra : rebase_source : eb7d4a12566722c759c9badda579fe66ef689ff1
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen e3283fe2b4 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou b28ef5bbeb Bug 851046 - Remove function ListenSocketViaService(). r=mrbkap
Since we are now using BluetoothSocket directly for listening, this functions can be removed.
2013-03-19 13:53:43 -07:00
Gina Yeh 7baf99a668 Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Gina Yeh 15906456c0 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 222ba209a5 Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou 2013-01-29 14:52:58 +08:00
Eric Chou 8958926c13 Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot 2013-01-09 16:51:53 +01:00
Gina Yeh eb58c9b017 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 48668bc7b2 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 4893e62992 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 8ef660a117 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Eric Chou 45c56232ef 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 9e7732996a Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Gina Yeh 196a8f9079 Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Eric Chou b04a37f44f Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Kyle Machulis 156f92210d Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Eric Chou c95d365829 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 3825fda6ae Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis 2a50397f57 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Eric Chou b1229bb92c Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Gina Yeh d2213ee525 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Kyle Machulis f87fb81b3d 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 1c0944f4fb Bug 791928 - Final version: Broadcast bonding-related events with device name, r=qdot 2012-09-21 14:17:35 +08:00
Gina Yeh a8a416d307 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 57fc1df8d0 Bug 791147: Patch 1 - Make bluetooth pairing replies use DOMRequests; r=bent 2012-09-19 16:37:42 -07:00
Gina Yeh ceb6558fc1 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou 83c230f9c3 Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Gina Yeh 15af0d63e0 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Ben Turner aa4a6e2806 Bug 791162 - 'Fix off-main-thread access of BluetoothService::Get'. r=qDot. 2012-09-13 21:27:45 -07:00
Ben Turner 9e6221f761 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Gina Yeh 38b6df706e 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 dc77cb5f0a 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 cbc670ae41 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07:00
Ehsan Akhgari 4a8bc9fd25 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 f6263b471d Backout d8d15eedf9ec for build failures 2012-09-06 01:11:11 -07:00
Ben Turner 83f7be10e2 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 00:45:20 -07:00
Kyle Machulis a1d87b361c Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Gina Yeh bf62bdbc2a Bug 764559 - Final version: add eventlistener for adapteradded in BluetoothManager, r=qdot, sr=jst 2012-09-03 14:38:44 +08:00
Eric Chou 31225c1b70 Bug 777665 - patch 1: Hook up settings to Bluetooth. r=qdot, sr=mrbkap 2012-08-30 14:08:50 +08:00
Ehsan Akhgari e368dc9c85 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 2dc14ca1d9 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 141b9509a5 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 2dcdd775ec Bug 758504 - Final: patch 2: Implement function to remove reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Eric Chou 4596320121 Bug 758504 - Final: patch1: Implement function to add reserved services. r=qdot 2012-08-10 11:17:06 +08:00
Kyle Machulis 11d7f94bbe 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 de6f5f272e Bug 780812 - [b2g-bluetooth] Implement function to get RFCOMM channel of specific Bluetooth service; r=qdot 2012-08-07 21:19:07 -07:00