Commit Graph

94 Commits

Author SHA1 Message Date
Eric Chou
6dffda8f00 Bug 790136 - Added missing service uuids, r=qdot 2012-09-12 15:44:05 +08:00
Nathan Froyd
9b227bf10d Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04: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
09affb1655 Bug 782588 - 'mozBluetooth is not a singleton'. Add missing include. 2012-09-06 07:41:56 -07: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
Kyle Machulis
987ebe1ee2 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -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
Kyle Huey
a9856089e7 Bug 687332: Part 4 - Sigh. r=me 2012-08-30 21:32:16 -07:00
Kyle Huey
0baaffe99f 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
Eric Chou
ffd0038d61 Bug 777665 - patch 1: Hook up settings to Bluetooth. r=qdot, sr=mrbkap 2012-08-30 14:08:50 +08:00
Gina Yeh
61e408ddb7 Bug 786596 - v1: get device type information. r=qdot, sr=mrbkap 2012-08-30 11:15:35 +08:00
David Zbarsky
b95d9a2a77 Bug 785583 - BluetoothReplyRunnable instantiates nsAutoPtr template in the header r=qdot 2012-08-25 12:33:51 -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
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Gina Yeh
db0d9763f3 Bug 783934 - Final Version: Add events onconnected and ondisconnected in BluetoothDevice, r=qdot, sr=mrbkap 2012-08-23 14:14:20 +08:00
Ehsan Akhgari
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou
5ea354700f Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08: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
Gina Yeh
2326b507ac Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kyle Machulis
a72c6b98bc Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Kyle Machulis
955d0d468f Bug 784179: Wrong thread assertion in GetPairedDevicePropertiesInternal; r=gwagner 2012-08-20 18:24:48 -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
Gina Yeh
d32750b34d 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
a48f21e47d 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
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
Eric Chou
987b293c10 Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
---
 dom/base/nsDOMClassInfo.cpp                   |    9 +++
 dom/base/nsDOMClassInfoClasses.h              |    1 +
 dom/bluetooth/BluetoothPairingEvent.cpp       |   78 +++++++++++++++++++++++++
 dom/bluetooth/BluetoothPairingEvent.h         |   70 ++++++++++++++++++++++
 dom/bluetooth/Makefile.in                     |    2 +
 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl |   15 +++++
 6 files changed, 175 insertions(+), 0 deletions(-)
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
 create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Chris Pearce
8406326152 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
f86eea38b2 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
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
95076b885d Bug 782905 - [b2g-bluetooth] Calling setEnabled(false) twice in a very short period may crash, r=qdot 2012-08-16 10:47:39 +08:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Kyle Machulis
cbd5b55b88 Bug 781692: Always fire DOMRequests for Set functions in BluetoothAdapter 2012-08-13 17:57:54 -07: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
Eric Chou
547bef08d3 Bug 781398 - v1: patch 1: Replace mConnection with gThreadConnection. r=qdot 2012-08-09 20:26:12 +08:00
Wes Johnston
7d6f48a80c backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
77f0fb11d6 Bug 780718 - Return false from DOMRequestService is preventDefault was called on events. r=sicking 2012-08-08 12:35:15 -07:00
Kyle Machulis
bdfa58a344 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
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
084b90c613 Bug 759883 - [b2g-bluetooth] Divide out bluetooth specifics from DBusThread object; r=echou 2012-08-07 21:16:03 -07:00
Kyle Machulis
a79739adbd Bug 779384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:10:36 -07:00
Kyle Machulis
93137badd9 Backing out 936cfbd263b2, wrong commit message 2012-08-07 21:10:25 -07:00