Ben Tian
8f326963e9
Bug 899014 - [Bluetooth][HID] HID dom bluetooth implementation, r=echou
2013-08-12 17:32:25 +08:00
Kyle Machulis
f48c8beaab
Bug 903497: Fix return type for PrepareAdapterRunnable::Run; r=echou
2013-08-12 14:15:45 -07: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
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
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
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
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Thomas Zimmermann
11e2a08ff7
Bug 892939: Remove PrepareAdapterTask, r=echou,gyeh
...
PrepareAdapterRunnable does not block for DBus anymore, so the
intermediate step of PrepareAdapterTask in the main thread is
unnecessary. This patch merges the code of PrepareAdapterTask
into PrepareAdapterRunnable and removes PrepareAdapterTask.
PrepareAdapterRunnable now runs directly on the main thread.
2013-08-07 10:14:20 +02:00
Hsin-Yi Tsai
6030249f60
Bug 822210 - cdma call waiting - part4 - BT impl. r=gyeh
2013-07-30 17:27:23 +08:00
Carsten "Tomcat" Book
6a0617152c
merge mozilla-central to b2g-inbound
2013-08-08 14:46:05 +02:00
Eric Chou
f6c878b853
Bug 891257 - Disconnect gracefully when the user turns off Bluetooth, r=mrbkap
2013-08-08 17:51:37 +08:00
Szu-Yu Chen [:aknow]
7c0dd8c2fa
Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh
2013-08-05 16:28:14 -04:00
Ben Tian
19957048d4
Bug 900887 - Handle state change: CALL_STATE_DIALING -> CALL_STATE_CONNECTED, r=echou
2013-08-05 11:00:04 +08:00
Ed Morley
05a37c3a43
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ed Morley
0dd52ba0e1
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-02 13:30:22 +01:00
Thomas Zimmermann
04d9ff53ef
Bug 892933: Replace AddServiceRecordsInternal by non-blocking implementation, r=echou,gyeh
...
AddServiceRecordsInternal blocks the Bluetooth command thread while
waiting for a DBus reply. This patch replaces the function by a DBus
reply handler that runs asynchrounously on the DBus thread.
2013-08-02 09:30:55 +02: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
6cc84fd8fb
Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou
2013-08-02 18:32:57 +08:00
Eric Chou
6761fdbc75
Bug 892392 - Execute BluetoothService::StartInternal() at startup, r=gyeh
2013-08-02 11:58:01 +08:00
Eric Chou
6fa92a1082
Bug 899711 - Notify file change after receiving an one-packet-size file, r=gyeh
2013-08-01 12:32:18 +08:00
Kyle Machulis
cc370cb03b
Bug 899734: Fix bluetooth compile errors on desktop b2g; r=echou
2013-07-31 18:10:16 -07:00
Gina Yeh
00e2541d05
Bug 899949 - Failed to disconnect A2DP when turning off Bluetooth, r=echou
2013-07-31 19:06:50 +08:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Gina Yeh
d9bace10b7
Bug 842934 - Patch 1: Add topic for hfp status changed and notify observers with device address, r=echou
2013-07-30 17:34:56 +08:00
Ms2ger
b54682c23a
Bug 897484 - followup: root newly added code to fix bustage on a CLOSED TREE.
2013-07-29 18:27:04 +02:00
Ed Morley
d3b3b0d686
Merge mozilla-central and inbound
2013-07-29 15:42:41 +01:00
Gina Yeh
d0281d4eed
Bug 842948 - Patch 6: Implement dictionaries, r=echou
2013-07-29 17:32:35 +08:00
Gina Yeh
cf8759bbd7
Bug 842948 - Patch 5: Implement UpdateNotification, r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
d06efcb8d9
Bug 842948 - Patch 4: Handle signal "GetPlayStatus", r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
de14e1f9fe
Bug 842948 - Patch 3: Cache AVRCP data in BluetoothA2dpManager, r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
e9527b054f
Bug 842948 - Patch 2: Handle control signal "PropertyChanged" and add IsConnected() in BluetoothProfileManagerBase, r=echou
2013-07-29 17:32:34 +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
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Jon Coppeard
4258a261db
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Alive Kuo
bac4a808ba
Bug 887650 - Append extra information about activity caller in system message. r=gene
2013-07-25 13:18:24 -04:00
Jon Coppeard
bd28d643f7
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Thomas Zimmermann
fbd84b6694
Bug 891866: Implement RegisterAgent with asyncronous functions, r=echou,gyeh
...
RegisterAgent currently blocks the Bluetooth command thread while
waiting for DBus. This patch moves the result-handling code into a
DBusReplyHandler, and executes an asyncronous DBus call.
--HG--
extra : rebase_source : 42a5dcc5425555040c7e10b7e68f44da3e39bfc5
2013-07-22 13:30:47 +02:00
Thomas Zimmermann
a0003d5854
Bug 891866: Support nsRefPtr<RawDBusConnection>, r=qdot
...
Instances of RawDBusConnection can now be contained in nsRefPtr. This
allows to share the DBus connection among multiple threads.
--HG--
extra : rebase_source : fb24472b3b55e77abc7354f17ef679661f62b7fb
2013-07-22 13:30:22 +02:00
Thomas Zimmermann
25402e86aa
Bug 891866: Cleanup RegisterLocalAgent, r=echou,gyeh
...
RegisterLocalAgent builds is own DBus message. This patch cleans up
the function to use the utility function from DBusUtils.
--HG--
extra : rebase_source : d8615285f75f8bb444accc9aa371df43a3371a4a
2013-07-22 13:29:25 +02:00