Commit Graph

57 Commits

Author SHA1 Message Date
Olli Pettay
c806b877ae Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Eric Chou
96d61874a4 Bug 811946 - remove annoying compiler warnings and define a more structured interface for Bluetooth uuid, r=qdot 2012-11-27 14:12:19 +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
Eric Chou
9e7732996a Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
af77ac0c72 Bug 802590 - patch 1: DOM API change, sr=mrbkap, r=qdot 2012-10-19 14:16:13 +08:00
Gabriele Svelto
44557fe8f0 Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02: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
Nathan Froyd
a30e1929a4 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04: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
Eric Chou
b1229bb92c Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +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
a8b77def0b Bug 791945 - Final version: Assertion failed when checking type of propertychanged message, r=echou 2012-09-19 11:19:45 +08: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
6c6a93dea8 Bug 791182 - Final version: Send system message when pairing process is finished, r=qdot 2012-09-17 13:56:29 +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
Ed Morley
5158da58ec Backout 35c8685ee065 (bug 790133) for B2G compilation failures 2012-09-14 10:13:15 +01:00
Gina Yeh
67c123e2be Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-14 16:54:25 +08: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
Kyle Machulis
a1d87b361c Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Kyle Huey
3b42fbfcd1 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Ehsan Akhgari
2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou
c713f87fb5 Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Gina Yeh
6ba33be90b Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +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
Gina Yeh
f5c91080a9 Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Eric Chou
03b52423d5 Bug 730992 - Patch 3: Hooking things up to BluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp       |  204 +++++++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h         |    8 ++
 dom/bluetooth/nsIDOMBluetoothAdapter.idl |   16 +++-
 3 files changed, 224 insertions(+), 4 deletions(-)
2012-08-17 18:35:59 +08:00
Chris Pearce
f15f8516e4 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
faa4304b5c Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   17 +++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 ++-
 4 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +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
Kyle Machulis
b82b733e51 Bug 781692: Always fire DOMRequests for Set functions in BluetoothAdapter 2012-08-13 17:57:54 -07:00
Kyle Machulis
281a66ef4c Bug 768306 - Patch 2: Change BluetoothAdapter initialization to get properties via off main thread blocking calls when creating Adapter object; r=mrbkap 2012-08-08 10:47:09 -07:00
Kyle Machulis
4ecaf376fb Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter; r=echou 2012-08-01 18:59:03 -07:00
Kyle Machulis
fe29f68a46 Backed out changeset be7c3fa1a34d to fix commit message 2012-08-01 18:58:49 -07:00
Kyle Machulis
7fe35a159e Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter 2012-08-01 18:57:39 -07:00
Kyle Machulis
999cc34e55 Bug 761511: Patch 3 - Update Manager/Adapter/Device objects to be BluetoothPropertyObjects, and add class specific setters; r=mrbkap 2012-07-31 21:53:04 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Kyle Machulis
f8c0d08e82 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
Kyle Machulis
9df5dec558 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00
Kyle Machulis
d2a38bcf4f Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
4c5554ccb2 Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
421f8ec45d Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
c360d390b8 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
435352baa4 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Eric Chou
fdb9db60f5 Bug 755190 - Enabling b2g bluetooth will lead to system crash, r=qDot 2012-05-15 12:47:27 -07:00
Ryan VanderMeulen
9a0075da5b Re-land the patch for bug 732639 after a b2g clobber. 2012-05-07 17:50:25 -04:00
Ryan VanderMeulen
835d66af27 Backout 7a8607523522 (bug 732639) due to bustage. r=Boot2Fail 2012-05-07 17:21:01 -04:00
Kyle Machulis
eda1d7b45b Bug 732639: Create event loop thread for bluetooth dbus on gonk/linux; r=cjones 2012-05-07 14:04:59 -07:00