Commit Graph

124 Commits

Author SHA1 Message Date
Olli Pettay
2091da9022 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Bob Owen
3fbaac6efc Bug 1023969 - Part 2: Replace |AutoPushJSContext|s in BluetoothAdapter::SetPropertyByValue. r=bholley 2014-06-19 20:14:32 +01:00
Bob Owen
9fe35d7da0 Bug 1023969 - Part 1: Replace AutoPushJSContext in BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley 2014-06-19 20:09:03 +01:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Steve Fink
b3dbf53538 Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
Eric Chou
c72ced4ee5 Bug 942104 - Fire event 'discoverystatechanged', r=gyeh 2014-05-23 14:00:25 +08:00
Carsten "Tomcat" Book
bd7ee951aa Backed out changeset dc828b20d647 (bug 942104) 2014-05-22 11:46:19 +02:00
Eric Chou
f36d9cd423 Bug 942104 - Fire event 'discoverystatechanged', r=gyeh 2014-05-22 14:09:52 +08:00
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
3f26a82832 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
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
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
Eric Chou
b095e499cf Bug 962310 - Support in-process bt file transfer, f=bent, r=gyeh
Currently if an app which lives in chrome process calls SendFile()
to send a file via Bluetooth, it would crash.
2014-02-11 10:07:23 +08:00
Gina Yeh
5f54a70b3a Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug 2014-01-22 14:26:29 +08:00
Ms2ger
c7e03b6a71 Bug 942104 - Fix a mismerge from the backout on a CLOSED TREE; a=Tomcat 2013-12-20 15:19:14 +01:00
Ms2ger
3f3cc744ed Merge backout. 2013-12-20 11:36:27 +01:00
Ms2ger
2900763f15 Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review. 2013-12-20 11:33:37 +01:00
Eric Chou
3af35c0e8b Bug 949772 - Make BluetoothAdpater be able to deal with multiple properties in one PropertyChanged event, f=btian, r=gyeh 2013-12-18 18:21:05 +08:00
Eric Chou
f490f0563a Bug 942104 - Fire event 'ondiscoverystatechanged', r=gyeh
From b03fc76c1810cf3f91aa9f92732c3df4ffd471a3 Mon Sep 17 00:00:00 2001
2013-11-25 14:13:26 +08:00
Eric Chou
f1a9b94f89 Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh 2013-11-30 20:20:17 +08:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Ben Tian
94e89deac6 Bug 938521 - Make bt interface accessible from profile managers, r=echou 2013-11-14 17:45:26 +08:00
Eric Chou
f37223aadf Bug 933113 - Modify Pair/Unpair interface for Gaia being able to Pair/Unpair with only BD address, r=gyeh, sr=mrbkap
NFC handover is a mechanism for two devices to exchange their Bluetooth device
address with each other. Then one device would be initialize the Bluetooth
pairing process with received Bluetooth device address. However currently we
need a BluetoothDevice object for Pairing/Unpairing, but actually the address
of the Bluetooth device object is the only thing Gecko requires.
2013-11-15 17:19:31 +08:00
Ben Tian
ef3f933806 Bug 934552 - Crash in bluetooth while monkey testing, r=echou 2013-11-06 14:26:46 +08:00
Gina Yeh
a78e003eff Bug 933195 - Replace object path with device address, r=echou 2013-11-04 14:42:51 +08:00
Vicamo Yang
5d8c284fed Bug 920551 - 2.i/2: fix Bluetooth. r=echou 2013-10-29 16:12:46 +08:00
Carsten "Tomcat" Book
81022cc152 merge b2g-inbound to mozilla-central 2013-10-18 11:39:28 +02:00
Ben Tian
6a731ff719 Bug 925638 - Patch 2/3: implement new webidl functions, r=echou 2013-10-16 10:38:13 +08: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
Kyle Huey
a53f6f80b6 Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Gina Yeh
1d046be039 Bug 906305 - Patch 2: Make parameter service UUID of Connect() optional, r=echou, sr=mrbkap 2013-09-06 19:19:46 +08:00
Ed Morley
18a47a0e8e Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Gina Yeh
df9b5223ee Bug 910974 - Patch 1: Dispatch events when remote device queries current play status, r=echou, sr=mrbkap 2013-09-04 10:40:01 +08:00
Andrew McCreight
3228f67147 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Gina Yeh
9c16f4b490 Bug 889795 - Reply 'Authorize' signal for supported profile, r=echou, sr=mrbkap 2013-08-14 13:54:18 +08:00
Thomas Zimmermann
bda2731440 Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02: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
Carsten "Tomcat" Book
5e3c55d3f4 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
3f2e1bc9c0 Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges 2013-08-12 18:07:32 +02:00
Thomas Zimmermann
d1a87dc4f2 Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.

--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +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
Ed Morley
05a37c3a43 Merge mozilla-central and b2g-inbound 2013-08-02 13:51:22 +01:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Gina Yeh
93e89304fd Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap 2013-08-02 18:33:15 +08:00
Gina Yeh
d0281d4eed Bug 842948 - Patch 6: Implement dictionaries, r=echou 2013-07-29 17:32:35 +08:00
Gina Yeh
d368c340e4 Bug 842948 - Patch 1: Implement API for AVRCP 1.3, r=echou, sr=mrbkap 2013-07-29 17:32:34 +08:00
Jon Coppeard
c43484e0e2 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00