Commit Graph

60 Commits

Author SHA1 Message Date
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
Kyle Machulis
295b68d22f Bug 778384: Hook bluetooth up to permissions manager; r=mrbkap 2012-08-07 21:07:57 -07:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Kyle Machulis
c855ca0c34 Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter; r=echou 2012-08-01 18:59:03 -07:00
Kyle Machulis
853d98299c Backed out changeset be7c3fa1a34d to fix commit message 2012-08-01 18:58:49 -07:00
Kyle Machulis
ec41fcb9b6 Bug 779702: Fixing Device and UUID array assignments in BluetoothAdapter 2012-08-01 18:57:39 -07:00
Kyle Machulis
c834a4fc67 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
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
2fb1dd9763 Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap 2012-07-31 21:49:59 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Makoto Kato
3f38c4d3bc Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Kyle Machulis
ad0739b48e Bug 776745 - [b2g-bluetooth] Crash in bluetooth discovery due to initializer buried in NS_ASSERTION; r=anygregor 2012-07-24 13:05:04 -07:00
Gervase Markham
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
David Zbarsky
7f0f075928 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04: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
Marshall Culpepper
b9d7c4b96d Bug 774708: Ensure sBluetoothEventObserverTable is valid before attempting to query observers, fixing a Bluetooth crash in emulator. r=qDot 2012-07-17 09:44:20 -07:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Kyle Machulis
e43e1e8665 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00
Kyle Machulis
d33a38a819 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
9d208f726a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
c4a1fa5a03 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Eric Chou
f2725dc366 Bug 755190 - Enabling b2g bluetooth will lead to system crash, r=qDot 2012-05-15 12:47:27 -07:00
Ryan VanderMeulen
3dff13f360 Re-land the patch for bug 732639 after a b2g clobber. 2012-05-07 17:50:25 -04:00
Ryan VanderMeulen
c704b93e25 Backout 7a8607523522 (bug 732639) due to bustage. r=Boot2Fail 2012-05-07 17:21:01 -04:00
Kyle Machulis
4dee4af461 Bug 732639: Create event loop thread for bluetooth dbus on gonk/linux; r=cjones 2012-05-07 14:04:59 -07:00
Eric Chou
258a838cb7 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Ms2ger
904a38aeb8 Backed out changeset db5d4c1aece7 for B2g bustage. 2012-04-14 09:29:41 +02:00
Kyle Machulis
2b841aaa61 Bug 732639: DBus Thread Implementation for B2G Bluetooth r=cjones
--HG--
extra : rebase_source : 564ff82ed63cb02ab99204c572baad6a5e761376
2012-04-13 22:40:09 -07:00
Mounir Lamouri
2831ba033b Bug 739840 - Make nsDOMEventTarget subclasses inherit from nsDOMEventTargetHelper first. r=khuey 2012-03-28 10:29:14 -07:00