Commit Graph

60 Commits

Author SHA1 Message Date
L. David Baron
b671b647c5 Fix merge bustage between changeset c8be375e0c41 (bug 988111) and changeset 8560fc7e2849 (bug 984269), merged (I think) in changeset 0ff6afce0133, on a CLOSED TREE. 2014-04-01 15:10:06 -07:00
Ryan VanderMeulen
52484dbcb0 Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Jamin Liu
72a93a4448 Bug 988111 - Unregister Bluetooth signal handler when BT objects were disconnected from owner window. r=echou, f=shuang 2014-04-01 08:58:56 -04:00
Jamin Liu
f952f1aad2 Bug 980039 - Don't create BT adapter if the owner window of BT manager was cleaned up. r=echou, f=shuang
It's meaningless to create a adapter for a BluetoothManager which was disconnected from its owner window.
2014-04-01 08:58:55 -04:00
Masayuki Nakano
b185105992 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Steve Fink
fca158bdf5 Bug 925916 - Handlify a few things in bluetooth, r=smaug 2013-10-16 10:44:50 -07:00
Ben Tian
50c668cd29 Bug 915628 - [Bluetooth] Define new log levels and add logs in profile controller, r=echou 2013-09-14 06:51:00 +08:00
Bobby Holley
1e72ccd895 Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Thomas Zimmermann
75e046a4af Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
60bf85dd1d Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
524da22e31 Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure 2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
5e3c55d3f4 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00
Thomas Zimmermann
a21fbb7fdc Bug 888595: Converted BluetoothAdapter to WebIDL, r=bzbarsky,echou
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.

--HG--
extra : rebase_source : 8a3e25ff89877148d0765b371ebdf77ad33aad75
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
9735683b39 Bug 888595: Convert BluetoothManager bindings to WebIDL, r=bzbarsky,echou
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.

--HG--
extra : rebase_source : 4bdc77b3923d4ca6ec820c12454a295010382839
2013-08-12 10:31:58 +02:00
Boris Zbarsky
735f5c683b Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking 2013-07-12 10:36:32 -04:00
Thomas Zimmermann
f383f61b5e Bug 875251: Added AutoPushJSContext in Bluetooth, r=gabor
This patch fixes the fallout from bug 868130.
2013-05-24 01:50:00 -07:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Ed Morley
6d6ba7db99 Backed out changeset b3df3d58f20c (bug 866450) 2013-05-02 11:56:54 +01:00
Ms2ger
ddb1f7c1ab Bug 866450 Part 8: Fix a missed nsContentUtils::WrapNative call on a CLOSED TREE 2013-05-02 12:10:11 +02:00
Jose Cortes
e1b04f4398 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Gina Yeh
418152901b Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Peter Van der Beken
7e3e8c9052 Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Gina Yeh
c6d8aea525 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
Eric Chou
492be7deab Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-29 18:37:51 +08:00
Gina Yeh
86d8eef233 Bug 811569 - Patch 3: Cleanup for DOMRequest related checking and do_GetService checking, r=echou 2013-01-29 14:52:48 +08:00
Ed Morley
4083c0c3a6 Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Eric Chou
2ae028d66d Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-28 19:23:15 +08:00
Ms2ger
6546506458 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Gregor Wagner
ff18bc3e05 Bug 815572 - Standardize the Bluetooth permissions name to "bluetooth". r=qdot 2012-11-27 12:10:47 -08:00
Gina Yeh
3d1f39fe89 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
9356d6f411 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Nathan Froyd
3c013d928f Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ben Turner
4fa4606698 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Ben Turner
44596e4e30 Bug 782588 - 'mozBluetooth is not a singleton'. r=qDot. 2012-09-06 07:15:36 -07: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
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
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
David Zbarsky
b95d9a2a77 Bug 785583 - BluetoothReplyRunnable instantiates nsAutoPtr template in the header r=qdot 2012-08-25 12:33:51 -04: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
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
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
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
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