Ryan VanderMeulen
252154d12a
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Bobby Holley
41d0a60a21
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-08-27 15:21:40 -07:00
Ryan VanderMeulen
9d72cb6e1e
Merge b2g-inbound to m-c.
2013-08-23 10:50:14 -04:00
Nicholas Nethercote
9ec228491f
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Thomas Zimmermann
24a65d0990
Bug 906019: Implemented non-blocking GetDefaultAdapterPathInternal, r=echou,gyeh
...
GetDefaultAdapterPathInternal used two blocking DBus operations,
namely 'DefaultAdapter' and 'GetProperties'. The latter one depends
on the result of the former one.
The be non-blocking, GetDefaultAdapterPathInternal first make a
non-blocking 'DefaultAdapter' call. Once received, the reply handler
non-blockingly calls 'GetProperties' with the values received for
'DefaultAdapter', and put itself in place as this call's reply
handler. For this second reply, it finally schedules the Bluetooth
reply runnable.
--HG--
extra : rebase_source : aa0872a5db69c928ca25723952fe2928ef52d107
2013-08-20 10:27:36 +02:00
Thomas Zimmermann
98a772b0d1
Bug 906019: Remove GetPropertiesReplyHandler, r=echou,gyeh
...
...because there is no need for this base class.
--HG--
extra : rebase_source : 0e1c3b40012f6132ae25611c00789b7f206e72d8
2013-08-23 11:39:52 +02:00
Ms2ger
cb6087d9f7
Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Hsin-Yi Tsai
6461053fc3
Bug 772765 - part4 - BT impl. r=gyeh
2013-07-09 17:20:57 +08:00
Jeff Muizelaar
be2cbcb453
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Thomas Zimmermann
df934baba4
Bug 903422: Cleanup UnpackPropertiesMessage, r=echou
...
This patch cleans up the various funtions that are related to
UnpackPropertiesMessage.
The original function UnpackPropertiesMessage now returns success
or failure as a boolean value. All other functions have been
into this one. And the code has been cleaned up to be more readable.
2013-08-16 11:48:57 +02:00
Thomas Zimmermann
fac9795a4b
Bug 903422: Replace AppendDeviceNameRunnable by non-blocking implementation, r=echou,gyeh
...
AppendDeviceNameRunnable currently block on the Bluetooth command thread
for a DBus reply.
This patch refactors the code to not block during the DBus call. The classes
AppendDeviceNameHandler and AppendDeviceNameRunnable are being removed, and
the DBus interaction is done directly in the DBus thread.
2013-08-16 11:48:42 +02:00
Thomas Zimmermann
6bfcdac37c
Bug 903422: Cleanup GetPropertiesInternal, r=echou
...
This patch moves some logic from GetPropertiesInternal to a separate
function. This will simplify the following patches a bit.
2013-08-16 11:48:31 +02:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gina Yeh
9c16f4b490
Bug 889795 - Reply 'Authorize' signal for supported profile, r=echou, sr=mrbkap
2013-08-14 13:54:18 +08:00
Ben Tian
f87b2c0d29
Bug 904014 - [Bluetooth] [Cleanup] Revise macros in Bluetooth*Manager.cpp under dom/bluetooth, r=echou
2013-08-13 15:04:34 +08:00
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