Jamin Liu
ce3a6d74e2
Bug 860698 - B2G Bluetooth: Add a test case for discover remote device through BluetoothAdapter. r=vyang, r=echou
2014-04-02 08:51:46 -04:00
Ben Tian
78473067ed
Bug 990428 - Do not reset mSlcConnected=false when indicator status update is disabled, f=jaliu, r=echou
2014-04-01 14:40:49 +08:00
Dave Hylands
8d3c875bf6
Bug 984269 - Fix bustage on a CLOSED TREE
2014-04-01 16:32:21 -07:00
Ryan VanderMeulen
0d5b7940ce
Merge inbound to m-c.
2014-04-01 16:45:00 -04:00
Jamin Liu
ff14390381
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
02da1fe1b4
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
Jamin Liu
3a8f5a713d
Bug 860697 - B2G Bluetooth: Add test cases to set/get properties of BluetoothAdapter. r=vyang, r=echou
2014-04-01 08:58:54 -04:00
Ben Tian
f9d9512acb
Bug 984284 - [m-c] a2dp headset icon show on the notification bar, r=echou
2014-03-26 17:02:40 +08:00
Masayuki Nakano
930436ef24
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
Thomas Zimmermann
41ccdb8f5d
Bug 983576: Annotate all assertions for non-main threads in BlueZ backend, r=echou
...
This patch adds an annotation to each assertion for non-main threads in
the BlueZ backend of Bluetooth. This should make is easy and obvious to
see in which context a method or function is expected to run.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
f756e17674
Bug 983576: Annotate global BlueZ variables, r=echou
...
The global variables in BluetoothDBusService.cpp are now annotated
for their multi-threading access. Some code still seems to access
some of these variables in an unprotected manner. Follow-up patches
should clean this up.
As a side effect, this patch makes several variables as constant,
which improves correctness of the code.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
49823019b0
Bug 983576: Fail if sDBusConnection is not set, r=echou
...
Until now, we had corner cases in Bluetooth where DBus messages might
have been received on connections that are shutting down. This can't
happen any longer and this patch replaces the respective tests with
assertions.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
371fc3f23b
Bug 983576: Refactor BlueZ start/stop code, r=echou
...
With this patch, the start code of Bluetooth's BlueZ back mostly
runs on the I/O thread. Only the loading of the BT firmware and
the blocking connection setup is done on the BT thread.
The stop code has been moved to the I/O thread, except for some
initial waiting and the final cleanup of the firmware. The code
doesn't wait for errors anymore when cleaning up the connection
to DBus. This makes it run completely non-blocking. The initial
waiting may later be replaced by something more sophisticated.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann
b2c765fcbf
Bug 983576: Move DispatchToBtThread to mozilla::bluetooth namespace, r=echou
...
This patch moves DispatchToBtThread to mozilla::bluetooth, so that
it is available on the I/O thread.
2014-03-27 11:43:48 +01:00
Jocelyn Liu
11efa3b360
Bug 986375 - Use defined constants for HFP result code to avoid typo. r=echou
2014-03-26 19:08:00 +01:00
Thomas Zimmermann
697d1bf608
Bug 985949: Correctly forget pointer references in Bluedroid backend, r=echou
...
This patch fixes a regression from bug 967364. An nsRefPtr is now
correctly cleared by |forget| without causing a crash.
2014-03-24 10:44:29 +01:00
Thomas Zimmermann
f48e139273
Bug 985949: Fix pointer handling in BlueZ backend, r=echou
...
This is caused by bug 967364. We need to hand over data structures
to DBus operations and forget about them if the operation returned
success. Until now, we could just tell their nsRefPtrs to |forget|
about them, but with bug 967364 applied we need to swap an empty
value into the pointer.
2014-03-24 10:44:28 +01:00
Shawn Huang
187be6656a
Bug 986352 - [bluedroid] Fix hfp-fallback build break due to miss Reset() for BluetoothHfpManager, r=echou
2014-03-21 17:12:16 +08:00
Thomas Zimmermann
23eb2cae61
Bug 979370: Remove |BluetoothService::IsEnabledInternal|, r=echou
...
The method |IsEnabledInternal| of |BluetoothService| is not used
any longer. This patch removes it.
2014-03-14 10:50:29 +01:00
Thomas Zimmermann
a7b1e31f1b
Bug 979370: Remove |ToggleBtTask|, r=echou
...
|ToggleBtTask| runs on the same thread as the start and stop methods
of |BluetoothService|. This patch merges the code of |ToggleBtTask|
into the start and stop methods and removes the class.
2014-03-14 10:50:18 +01:00
Thomas Zimmermann
7cdb5bf24d
Bug 979370: Split |BluetoothService::StartStopBluetooth|, r=echou
...
This patch splits |BluetoothService::StartStopBluetooth| into two
separate functions. Both have mostly different code paths.
2014-03-14 10:50:02 +01:00
Thomas Zimmermann
cdaa2663bf
Bug 979370: Move Bluetooth thread into BlueZ backend, r=echou
...
The Bluetooth thread is only necessary for starting and stopping
Bluetooth with the BlueZ backend. Bluedroid implements its multi-
threading internally.
This patch moves the Bluetooth thread into the BlueZ backend. Two
runnables implement the starting and stopping code. The methods
|StartInternal| and |StopInternal| of |BluetoothDBusService| each
create an instance of the respective runnable and send it to the
internal BT thread. The code in |BluetoothService| runs completely
on the main thread.
For the Bluedroid back end, the patch changes a number of thread
assertions.
2014-03-14 10:49:33 +01:00
Shawn Huang
276d7a631f
Bug 976485 - [bluedroid] Fix sometimes Avrcp 1.3 play status is out of sync. r=gyeh
2014-03-13 09:12:41 -04:00
Ben Tian
1201c02cee
Bug 981458 - Revise +CIEV string for battery charge indicator, r=gyeh
2014-03-12 17:21:07 +08:00
Vicamo Yang
e02ccd0835
Bug 957917 - 2/2: test cases. r=hsinyi
2014-03-11 22:18:00 +08:00
Shawn Huang
feba044fd1
Bug 979160 - Outgoing connection failure shall trigger OnConnect instead of OnDisconnect, r=echou
2014-03-10 10:33:32 +08:00
Ryan VanderMeulen
cb6ce085e9
Backed out changesets a7ea2d51414d and 901717199390 (bug 957917) for causing bug 980375.
2014-03-06 16:30:35 -05:00
Thomas Zimmermann
1e4c0c54eb
Bug 978809: Send ToggleBtAck after finishing BlueZ connection setup, r=echou
...
With this patch, ToggleBtAck is sent by the BlueZ backend of
Bluetooth after the connection has been set up completely.
2014-03-06 12:45:16 +01:00
Thomas Zimmermann
e36fd9541b
Bug 978809: Remove sToggleBtMonitor from Bluedroid backend, r=echou
...
When enabling or disabling Bluetooth, the Bluedroid backend waits
on sToggleBtMonitor until a BT adapter has been activated. Once
the monitor gets notified, the backend sends a ToggleBtAck runnable
to the main thread.
This patch removes sToggleBtMonitor from the Bluetooth Bluedroid
backend. Instead of signalling the monitor's notification, the
Bluedroid handler function sends the ToggleBtAck directly.
2014-03-06 12:43:35 +01:00
Eric Chou
1a2e41ef89
Bug 976943 - Replace OnConnect/OnDisconnect with one function, f=btian, r=gyeh
...
In BluetoothProfileController, it's meaningless to separate OnConnect
and OnDisconnect since the following steps would be the same for both
cases. Therefore I introduced a function called NotifyCompletion() for
each profile manager to report the completion of connecting/disconnecting
operations.
2014-03-06 19:26:28 +08:00
Eric Chou
c3b5cb5574
Bug 976943 - Add error handing for connect/disconnect process, f=btian, r=gyeh
2014-03-06 19:26:22 +08:00
Eric Chou
7bb536bce6
Bug 976883 - Handle unknown property sent from bt stack properly, f=btian, r=shuang
2014-03-05 15:50:54 +08:00
Shawn Huang
bc17206b08
Bug 951634: Add TimerCallback in Profile Controller, r=gyeh
2014-01-29 19:13:10 +08:00
Vicamo Yang
b4077f06b2
Bug 957917 - 2/2: test cases. r=hsinyi
2014-03-05 10:37:45 +08:00
Jamin Liu
98714c3135
Bug 972730 - Avoid disabling BT before the BT adapter is initialized in marionette test. r=echou, f=vicamo
...
The current Bluetooth API can't allow user to disable BT before the BT
adapter is initialized.
In practice, We block the clicking event in gaia layer to prevent user
to turn off BT before BT enable procedure complete.
If we use marionette test to force emulator turn on and turn off BT in
a short period of time, it may crash emulator.
Listen to 'adapteradded' event rather than 'enabled' as the end of
BT enable to make sure we wouldn't disable BT when it's not ready.
2014-03-03 10:20:24 -05:00
Thomas Zimmermann
3f6340544d
Bug 977146: Push ToggleBtAck into implementations of {Start|Stop}Internal, r=echou
...
The methods {Start|Stop}Internal for BlueZ and Bluedroid now send
ToggleBtAck to signal completeness of the operation.
The current patch allows for further cleanups in the BlueZ code. It
does not change the semantics or code flow.
2014-03-03 13:07:17 +01:00
Thomas Zimmermann
bb87fe4d28
Bug 977146: Declare ToggleBtAck in header file, r=echou
...
Declaring ToggleBtAck in the header file of BluetoothService makes
it available ot others classes.
2014-03-03 13:07:17 +01:00
Thomas Zimmermann
d3e5381cea
Bug 977146: Set PROP_BLUETOOTH_ENABLED in ToggleBtAck, r=echou
...
PROP_BLUETOOTH_ENABLED signals the Bluetooth state to other
components in the system. Setting its value in ToggleBtAck
on the main thread avoids duplicated code in the upcoming
patches.
2014-03-03 13:07:16 +01:00
Carsten "Tomcat" Book
01f93d64ea
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Hsin-Yi Tsai
b7e0a2c555
Bug 881174 - part5 - cdma 3way call: BT. r=gyeh
2014-02-21 17:53:23 +08:00
Ben Tian
92255142aa
Bug 939672 - Patch 2/2: Move NS_DECL_ISUPPORTS and NS_DECL_NSIOBSERVER into BluetoothProfileManagerBase.h
2014-02-20 18:15:47 +08:00
Ben Tian
c16cd5a358
Bug 939672 - Patch 1/2: [bluedroid] Add fallback BluetoothHfpManager, r=gyeh
...
--HG--
rename : dom/bluetooth/bluedroid/BluetoothHfpManager.cpp => dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp
rename : dom/bluetooth/bluedroid/BluetoothHfpManager.h => dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.h
2014-02-25 11:37:37 +08:00
Ben Tian
81fa60b1c1
Bug 972732 - Patch 1/2: Remove bluez/linux and bluedroid/gonk folders, r=echou
...
--HG--
rename : dom/bluetooth/bluedroid/gonk/BluetoothServiceBluedroid.cpp => dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp
rename : dom/bluetooth/bluedroid/gonk/BluetoothServiceBluedroid.h => dom/bluetooth/bluedroid/BluetoothServiceBluedroid.h
rename : dom/bluetooth/bluez/linux/BluetoothDBusService.cpp => dom/bluetooth/bluez/BluetoothDBusService.cpp
rename : dom/bluetooth/bluez/linux/BluetoothDBusService.h => dom/bluetooth/bluez/BluetoothDBusService.h
2014-02-25 10:38:51 +08:00
Ehsan Akhgari
dea85f2037
Bug 975732 - Move one CXXFLAGS variable in dom/bluetooth to DEFINES; r=mshal
2014-02-22 21:42:12 -05:00
Ehsan Akhgari
7e41f47adf
Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-21 09:11:33 -05:00
Thomas Zimmermann
46edc5eb77
Bug 972253: Remove GetDBusConnection, r=echou
...
All calls to GetDBusConnection have been replaced by direct references
to sDBusConnection.
2014-02-20 12:56:11 +01:00
Thomas Zimmermann
9dc09442a0
Bug 972253: Cleanup Start/Stop methods in BlueZ backend, r=echou
...
This patch cleans up the code for starting and stopping DBus
connections in the BlueZ backend of Bluetooth. It also fixes
a bug were the initial 'adapteradded' reply might have been
missed.
2014-02-20 12:55:57 +01:00
Thomas Zimmermann
11f9899457
Bug 972253: Merge the content of DBusThread.cpp into Bluetooth code, r=echou
...
DBusThread.{cpp,h} maintains state for Bluetooth. This patch moves
the content of these files to Bluetooth's Bluez backend.
2014-02-20 12:55:41 +01:00
Sam Joch
02bac5e79f
Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent
2014-02-07 12:19:58 +01:00
Thomas Zimmermann
dcb36dc325
Bug 969314: Cleanup Gonk start/stop code in BluetoothDBusService, r=echou
...
This patch removes all unnecessary code when starting and stopping
Gonk in BluetoothDBusService. The change simplifies the respective
methods considerably.
2014-02-13 16:28:11 +01:00
Thomas Zimmermann
28afc0ec13
Bug 969314: Cleanup handling of libbluedroid.so, r=echou
...
This patch cleans up the handling of libbluedroid.so and its
interfaces. Open and closing the library is now handled internally
and contained functions are wrapped in class methods.
2014-02-13 16:28:09 +01:00
Thomas Zimmermann
e5ec01aca8
Bug 969314: Merge BluetoothGonkService into BluetoothDBusService, r=echou
...
This patch merges the code from BluetoothGonkService into
BluetoothDBusService. The merged code is protected by ifdef
statements.
2014-02-13 16:28:07 +01:00
Vicamo Yang
90fc702d2a
Bug 969109 follow-up: strictly define the order of participating promises. r=echou, f=jaliu
2014-02-13 19:52:05 +08:00
Ben Tian
b9bec5646b
Bug 969447 - Unable to turn bluetooth on after turning it on and off several times, r=echou, a=1.3+
2014-02-13 12:08:41 +08:00
Ryan VanderMeulen
450343501c
Backed out changeset eea91c2d859d (bug 969447) for Marionette-webapi bustage.
...
CLOSED TREE
2014-02-11 12:48:09 -05:00
Ben Tian
a6c3a5d5bf
Bug 969447 - Unable to turn bluetooth on after turning it on and off several times, r=echou
2014-02-11 18:14:58 +08:00
Eric Chou
e990369c4b
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
Carsten "Tomcat" Book
893735910e
merge b2g-inbound to mozilla-central
2014-02-10 12:52:16 +01:00
Vicamo Yang
e00a9d0dfd
Bug 969109: fix racing condition in test_dom_BluetoothManager_enabled.js. r=echou, f=jaliu
2014-02-10 12:03:43 +08:00
Chris Peterson
268821c150
Bug 952785 - RawDBusConnection::SendWithReply() returns bool, not nsresult. r=echou
2014-02-09 12:44:05 -08:00
Thomas Zimmermann
4f63fd3fe0
Bug 964817: Invoke DBus send operations on I/O thread, r=echou
...
Currently, the DBus connection for Bluetooth is shared between the
main thread and the I/O thread. This causes race conditions when
starting or stopping Bluetooth.
This patch moves all occurences of main-thread-invoked DBus send
operations to the I/O thread. This is mostly refactoring. Internally,
send operations are already executed on the main thread, so there is
no change in the over all logic of these methods.
2014-02-06 13:44:46 +01:00
Thomas Zimmermann
8815883deb
Bug 843857: Don't listen if connect fails on BT server, r=echou
...
If the listen operation fails for Bluetooth servers, we should
not call listen again in the error handler. Otherwise, we run
into an endless loop of listen calls and error callbacks.
2014-02-05 14:17:22 +01:00
Jon Coppeard
4df3aa4450
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Birunthan Mohanathas
02d0812720
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Kyle Huey
502ccb79bd
Bug 965498 - Don't lose an already_AddRefed<T> and leak blobs in bluetooth. r=qdot
2014-01-29 17:03:51 -05:00
Ben Tian
ab82c431da
Bug 957949 - [HFP] Add B2G common bluedroid config file, r=echou
2014-01-15 11:50:27 +08:00
Ben Tian
c5682cb766
Bug 921999 - Bluetooth Device connection status in Settings is incorrect if remote headset restores connection, r=gyeh
2014-01-23 10:46:45 +08:00
Gina Yeh
f386355248
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
L. David Baron
03ba2e465b
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Jamin Liu
9e0c783bfd
Bug 953045 - Fix a bug of bluetooth AVRCP to support media metadata updating correctly. f=shuang, r=echou
2014-01-17 18:15:37 +08:00
Ryan VanderMeulen
fdd6001939
Merge m-c to inbound.
2014-01-16 15:07:22 -05:00
Ryan VanderMeulen
127438a7eb
Merge inbound to m-c.
2014-01-16 15:06:12 -05:00
Terrence Cole
6beccf2363
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Shawn Huang
5073a3f047
Bug 953034 - Part 2: Change MediaNumber type to uint64_t. r=gyeh
2014-01-16 08:39:34 -05:00
Shawn Huang
e06c376115
Bug 953034 - Part 1: Reply RegisterNotification event EVENT_TRACK_CHANGED with correct parameter whether a track is selected or not. r=gyeh
2014-01-16 08:39:14 -05:00
Shawn Huang
426ad22263
Bug 950220 - Unable to change Bluetooth device name from Settings UI, r=echou
2014-01-16 14:36:35 +08:00
Tom Schuster
f39e81815a
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Ben Tian
5f3ae35ee6
Bug 948337 - create BluetoothHfpManagerBase for audio manager access
2014-01-13 13:58:43 +08:00
Jamin Liu
91f62414a0
Bug 953036 - Set HSP flag when BluetoothHfpManager chooses to connect HSP. r=echou
2014-01-10 08:23:13 -05:00
Ben Tian
95cf96304b
Bug 956258 - [cleanup] Patch 2/2: reduce warnings and remove cancel_discovery() in SendFile(), r=echou
2014-01-03 17:25:04 +08:00
Ben Tian
ac2a05d6a2
Bug 956258 - [cleanup] Patch 1/2: rename g* variables to s* ones, r=echou
2014-01-10 09:34:43 +08:00
Thomas Zimmermann
d4a238ea67
Bug 950891: Don't run GetServiceChannel while turning Bluetooth on/off, r=echou
...
This patch adds a check to BluetoothDBusService::GetServiceChannel to
ensure that Bluetooth is ready. If the system is in a transition from
on to off, or vice versa, the method might operate on an undefined
state.
2014-01-07 13:46:20 +01:00
Shawn Huang
5f3ba55496
Bug 946240 - [Bluetooth][gonk-kk] Add flags to support different AVRCP profile version. r=echou
2014-01-08 09:32:19 -05:00
Boris Zbarsky
2d26bed9c3
Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey
2014-01-06 21:53:23 -05:00
Birunthan Mohanathas
d05644b6b3
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ben Tian
96953caf23
Bug 947870 - Assertion in BluetoothOppManager::CreateFile (bluedroid), r=echou
2013-12-23 16:47:12 +08:00
Ben Tian
02483f8f82
Bug 939022 - BluetoothUtils for bluedroid. Patch 2/3: Modify files, r=echou
2013-12-23 11:24:11 +08:00
Ben Tian
7722a2510c
Bug 939022 - BluetoothUtils for bluedroid. Patch 1/3: Move files, r=echou
...
--HG--
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluedroid/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluedroid/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluez/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluez/BluetoothUtils.h
2013-12-16 19:00:54 +08:00
Ms2ger
df65132615
Bug 942104 - Fix a mismerge from the backout on a CLOSED TREE; a=Tomcat
2013-12-20 15:19:14 +01:00
Ms2ger
17684644bd
Merge backout.
2013-12-20 11:36:27 +01:00
Ms2ger
0ca1c2ac03
Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review.
2013-12-20 11:33:37 +01:00
Eric Chou
2fe77c563d
Bug 949772 - Fire PropertyChanged to registered BluetoothDevice objects, r=gyeh
2013-12-18 18:21:37 +08:00
Eric Chou
7dbd32c503
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
Ben Tian
9cc7da49ac
Bug 949843 - Don't use char* str = NS_ConvertUTF16toUTF8(aBdAddress).get();, r=echou
2013-12-18 09:53:11 +08:00
Eric Chou
74a7ecb704
Bug 942104 - Fire event 'ondiscoverystatechanged' (bluez), r=gyeh
2013-11-30 20:20:18 +08:00
Eric Chou
3c5f74ef5d
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
57de6c7c2d
Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh
2013-11-30 20:20:17 +08:00
Eric Chou
d50d82aeec
Bug 942104 - Add an event "ondiscoverystatechanged", r=gyeh, sr=mrbkap
2013-11-30 20:20:17 +08:00
Shawn Huang
004633cb58
Bug 944293 - [Bluetooth] Correct IS_PERIPHERAL COD validation and add error handling if COD is invalid, r=gyeh
2013-11-29 16:01:22 +08:00
Eric Chou
e81e85b392
Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh
2013-11-27 16:24:51 +08:00
Eric Chou
7682be42aa
Bug 942712 - Set gToggleInProgress to false when bt toggling is done, r=gyeh
...
From 2e8e1d84251fac968caf9104536d1b794c986670 Mon Sep 17 00:00:00 2001
2013-11-26 15:13:43 +08:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Jamin Liu
e6c9ee0f38
Bug 881194 - [Bluetooth] Send +CIEV callheld for conference call. r=echou
2013-12-16 08:37:33 -05:00
Jamin Liu
f43378e9ff
Bug 881194 - [Bluetooth] Send +CIEV callheld properly to indicate call hold status. r=echou
...
- Send +CIEV callheld=1 when active calls become held calls
- Send +CIEV callheld=0 when all held calls become active calls.
2013-11-15 14:48:00 +08:00
Jamin Liu
4f634eea11
Bug 881194 - [Bluetooth] Support AT+CHLD=3 in dom bluetooth. When "AT+CHLD=3" is received from a hands-free device, notify the Dialer app to "Add a held call to the conversation". r=echou
2013-11-28 14:05:05 +08:00
Vicamo Yang
0867faba06
Bug 939637: B2G Bluetooth: add test case for navigator.BluetoothManager.adapteradded. r=echou
2013-12-13 15:31:21 +08:00
Vicamo Yang
7944cb8b87
Bug 939441: B2G Bluetooth: add test cases for navigator.BluetoothManager.enabled. r=echou, f=jgriffin
2013-12-13 15:31:16 +08:00
Thomas Zimmermann
d6f5d45a38
Bug 932728: Open only one connection to DBus, r=echou,qdot
...
Bluetooth maintains two connections to the DBus server and the DBus
system itself maintains a third one. This implies some overhead and
makes the code more difficult to understand.
This patch changes the Bluetooth code to use the connection that is
established by the DBus system.
2013-12-12 12:56:00 +01:00
Shawn Huang
c533d73a07
Bug 941462 - Reply internal error code when getting I/O error from BlueZ, r=gyeh
2013-12-12 19:37:42 +08:00
Jamin Liu
aae415e05c
Bug 932490 - Fix the buffer overflows of OBEX packet. r=echou
2013-12-11 09:53:24 -05:00
Ben Tian
2e823715a4
Bug 948247 - [bluedroid] Race condition in BluetoothSocket may result in segmentation fault, r=echou
2013-12-11 16:53:11 +08:00
Eric Chou
9aacc7b3f5
Bug 947870 - Avoid assertion on receiving files via Bluetooth, r=gyeh
2013-12-11 13:17:34 +08:00
Ryan VanderMeulen
52ab5ad2dc
Merge b2g-inbound to m-c.
2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
0d3a767ee1
Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou
2013-12-08 21:53:11 -05:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Ben Tian
18e1783c39
Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou
2013-12-06 12:20:07 +08:00
Eric Chou
e6fc137e6a
Bug 947060 - Don't go through bonding procedure while transferring files via OPP, r=gyeh
2013-12-09 17:43:15 +08:00
Ben Tian
924e0e833b
Bug 947096 - [Flatfish] Build break results from variable access that requires MOZ_B2G_RIL flag, r=echou
2013-12-06 15:17:24 +08:00
Eric Chou
c245e30619
Bug 932496 - Add length check to prevent from memory pollusion, r=gyeh
2013-12-06 16:23:35 +08:00
Ryan VanderMeulen
b9c8c56382
Merge inbound to m-c.
2013-12-05 17:29:03 -05:00
Ben Tian
d81f15817c
Bug 946048 - Reset mPhoneType in BluetoothHFPManager constructor, r=echou
2013-12-04 13:51:57 +08:00
Gina Yeh
833de3b3f9
Bug 943752 - Refine BluetoothProfileController logic for AVRCP and HID, r=echou
2013-12-05 10:05:39 +08:00
Mike Shal
ddecae52a4
Bug 875013 - Remove VPATH; r=glandium
2013-11-21 14:57:06 -05:00
Ben Tian
c341c78824
Bug 945193 - Print function name in bluetooth logs, r=echou
2013-12-02 18:50:23 +08:00
Ben Tian
1c3c4a9227
Bug 945640 - [HFP] Pop up volume UI when bluetooth headset adjusts volume during call, r=echou
2013-12-04 10:06:10 +08:00
Ben Tian
78eb3945d2
Bug 944574 - Add ConnectSco/DisconnectSco into BluetoothServiceBluedroid, r=echou
2013-12-03 09:56:27 +08:00
Gina Yeh
37803e9b64
Bug 945149 - No event AdapterAdded is received after turning on Bluetooth, r=echou
2013-12-04 10:18:33 +08:00
Eric Chou
cee27f18fd
Bug 915533 - Remove files that were accidentally restored, r=gyeh
2013-12-03 14:45:01 +08:00
Ben Tian
1d78173e9d
Bug 944592 - Re-implement BluetoothOppManager::Disconnect(), r=echou
2013-11-29 14:13:40 +08:00
Ryan VanderMeulen
bbe673a3ae
Merge m-c to b2g-inbound.
2013-12-02 10:38:28 -05:00
Carsten "Tomcat" Book
4e6c35fc32
Backed out changeset 2faed81ad05f (bug 915533) for Build Bustage
2013-12-02 08:53:30 +01:00
Carsten "Tomcat" Book
3dcf6e8424
Backed out changeset 22ad4bbd595d (bug 915533) for Build Bustage
2013-12-02 08:53:16 +01:00
Ben Tian
8472e8db0c
Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou
2013-12-02 10:39:58 +08:00
Ben Tian
1d917ad645
Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou
2013-11-29 14:18:04 +08:00
Jamin Liu
4b34aee468
Bug 943753 - Fix the incorrect condition for synchronous connection to support HSP. r=echou
...
We don't need to check SLC status for HSP.
2013-12-02 16:38:51 +08:00
Ben Tian
561bfba8ed
Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou
2013-12-02 10:39:58 +08:00
Ben Tian
c2d4ccccd7
Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou
2013-11-29 14:18:04 +08:00
Ben Tian
f30b8763ea
Bug 921991 - B2G BT: support multiple sim cards, r=echou, r=mrbkap
2013-11-26 14:11:06 +08:00
Jamin Liu
1c0a4f6a04
Bug 937074 - [Bluetooth] Make sure SLC established before we set up SCO. r=echou
2013-11-26 11:28:10 +08:00
Shawn Huang
fa230ff4f0
Bug 939500 - [bluedroid] Avrcp 1.3 prototype, r=echou
2013-11-22 23:40:22 +08:00
Eric Chou
02f85c47fe
Bug 932543 - Check data size before memcpy in BluetoothOppManager, r=gyeh
2013-11-22 11:55:42 +08:00
Szu-Yu Chen [:aknow]
d63e9055db
Bug 856553 - Part 3: Add radiostatechange in listener (bluetooth). r=gyeh
2013-11-21 09:09:01 -05:00
Shawn Huang
37e55ec070
Bug 941574 - [bluedroid] Fix sometimes outgoing connection fails due to Reset() mis-placed, r=echou
2013-11-21 20:17:10 +08:00
Shawn Huang
4bdb73a6f8
Bug 941564 - [bluedroid] Update BD address while an incoming connection established, r=echou
2013-11-21 20:17:07 +08:00
Shawn Huang
be3cd2829e
Bug 935882 - [bluedroid] Support GetConnectedDevice API, r=echou
2013-11-21 18:12:45 +08:00
Eric Chou
1cc0654fc3
Bug 941416 - Fix regression of bug 936995, r=gyeh
2013-11-21 12:58:04 +08:00
Shawn Huang
885fc676f9
Bug 935578 - Patch 3: Enable connect/disconnect, r=echou
2013-11-20 16:19:09 +08:00
Shawn Huang
6bd0358282
Bug 935578 - Patch 2: BluetoothA2dpManager bluedroid version, r=echou
2013-11-20 16:19:09 +08:00
Shawn Huang
a4c27c757d
Bug 935578 - Patch 1: Separate BluetoothA2dpManager implementation for bluez/bluedroid stack, r=echou
2013-11-20 16:19:08 +08:00
Eric Chou
5368aec6b5
Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh
2013-11-20 15:01:54 +08:00
Eric Chou
60fc45811d
Backed out changeset 40ecdab580b3 (bug 936995) for potential JB build error
2013-11-20 15:17:00 +08:00
Eric Chou
b364dda826
Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh
2013-11-20 15:01:54 +08:00
Eric Chou
0fa0058d69
Bug 940271 - Don't fire PropertyChanged if the device address has been already in the array, r=gyeh
2013-11-19 20:13:02 +08:00
Gina Yeh
3a3aef68ab
Bug 932914 - Broadcast AdapterAdded after adapter name is updated, r=echou
2013-11-19 15:58:48 +08:00
Ben Tian
8df29db602
Bug 938524 - Bluedroid HFP prototype, r=echou
2013-11-18 15:41:16 +08:00
Ben Tian
c3a0fd7794
Bug 938521 - Make bt interface accessible from profile managers, r=echou
2013-11-14 17:45:26 +08:00
Eric Chou
2cfceb1a58
Bug 939669 - Append missed properties to BluetoothAdapter, r=gyeh
2013-11-19 11:12:17 +08:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Shawn Huang
4d1c7b7a1f
Bug 938529 - [bluedroid] Set BT_SCAN_MODE to Connectable after Bluetooth turned on. r=echou
2013-11-18 12:39:03 -05:00
Ben Tian
a8aa7ce6fe
Bug 936732 - Patch 2/3: BT file changes, r=khuey
2013-11-18 14:29:45 +08:00
Ben Tian
7586433935
Bug 936732 - Patch 1/3: relocate files, r=echou
2013-11-14 17:30:32 +08:00
Eric Chou
d5abf52a20
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
1d6f62c081
Bug 937572 - debug build MOZ_ASSERT fails in BluetoothOppManager::Disconnect(), r=echou
2013-11-15 09:42:53 +08:00
Eric Chou
4bf044f866
Bug 937973 - Fix discoverable not working problem, r=gyeh
2013-11-14 14:51:17 +08:00
Eric Chou
69782465dc
Bug 936711 - Fix crash which happened at disabling Bluetooth during reconnection, r=gyeh
2013-11-12 17:37:30 +08:00
Ben Tian
475713e244
Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou
2013-11-12 11:59:01 +08:00
Gregor Wagner
08e105bbe1
Backout 69acb8830b8c for real.
2013-11-11 10:40:50 -08:00
Gregor Wagner
f7412e11d8
Backout 26407a874057 for causing Bug 937199.
2013-11-11 10:28:56 -08:00
Ben Tian
7ee526b975
Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou
2013-11-11 14:16:28 +08:00
Carsten "Tomcat" Book
21548bfe8b
merge b2g-inbound to mozilla-central
2013-11-11 12:03:04 +01:00
Ms2ger
0fdc697b63
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ben Tian
59d2e848b4
Bug 921991 - B2G BT: support multiple sim cards, r=echou
2013-11-08 14:41:12 +08:00
Shawn Huang
0da63279ac
Bug 932770 - [bluedroid] Implement GetPairedDeviceInternal, r=echou
2013-11-08 23:25:20 +08:00
Gina Yeh
9a299e00ab
Bug 934891 - Remove DISCONNECTING state from A2DP, r=echou
2013-11-08 12:53:27 +08:00
Ben Tian
3df3d24522
Bug 934552 - Crash in bluetooth while monkey testing, r=echou
2013-11-06 14:26:46 +08:00
Ben Tian
fe0650c3cc
Bug 897782 - Support Multiple BT file transfering, r=echou
2013-11-05 15:53:10 +08:00
Gina Yeh
ec9f771fde
Bug 935368 - Wrong interface for dbus method of DefaultAdapter, r=echou
2013-11-06 19:46:23 +08:00
Shawn Huang
7fd0d33f4d
Bug 932682 - [bluedroid] Support Pair/Unpair, Bond state changed callback, r=echou
2013-11-05 19:30:46 +08:00
Ryan VanderMeulen
88bcfa3e2d
Merge b2g-inbound to m-c.
2013-11-04 16:17:59 -05:00
Carsten "Tomcat" Book
651904135a
merge b2g-inbound to mozilla-central
2013-11-04 13:52:18 +01:00
Shawn Huang
b1f70c67e0
Bug 931802 - [bluedroid] Support DeviceFound/DiscoveryStateChange callback, r=echou
2013-11-04 19:05:48 +08:00
Gina Yeh
025a5f5c1e
Bug 933195 - Replace object path with device address, r=echou
2013-11-04 14:42:51 +08:00
Nathan Froyd
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Hsin-Yi Tsai
0dc69754fa
Bug 912849 - part5 - BT impl. r=gyeh
2013-10-28 14:48:59 +08:00
Szu-Yu Chen [:aknow]
bbf2d765ec
Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh
2013-10-31 08:06:28 -04:00
Edgar Chen
4e050df812
Bug 926343 - Part 3: Bluetooth changes for adding clientId in nsIIccProvider. r=gyeh
2013-09-30 18:22:33 +08:00
Ryan VanderMeulen
c5d90671d1
Backed out 9 changesets (bug 814625) for desktop build bustage.
...
Backed out changeset a107de5616a0 (bug 814625)
Backed out changeset 416665a419f4 (bug 814625)
Backed out changeset b6fc8734864f (bug 814625)
Backed out changeset 9f5e2e44a914 (bug 814625)
Backed out changeset 17b3050df362 (bug 814625)
Backed out changeset 43a047c081c8 (bug 814625)
Backed out changeset 90bdcd099320 (bug 814625)
Backed out changeset 8957cc31cce2 (bug 814625)
Backed out changeset de45eb7a8d16 (bug 814625)
2013-10-30 15:48:39 -04:00
Szu-Yu Chen [:aknow]
3ecc273f1b
Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh
2013-10-30 15:07:15 -04:00
Shawn Huang
ee40a658dc
Bug 930853 - [Bluetooth] Support SetProperty function which enables SetName, SetDiscoverable, SetDiscoveryTimeout, r=echou
2013-10-30 19:23:39 +08:00
Shawn Huang
e9e5f812ec
Bug 929941- Listening bluetooth address, name, scan mode events for bluedroid stack, r=echou
2013-10-30 13:46:03 +08:00
Jessica Jong
26719c17ca
Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh
2013-10-30 12:03:25 +08:00
Ed Morley
c4fca9c7f5
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Vicamo Yang
ecd052d94f
Bug 920551 - 2.i/2: fix Bluetooth. r=echou
2013-10-29 16:12:46 +08:00
Gina Yeh
00d37fbf0c
Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou
2013-10-28 12:07:15 +08:00
Gina Yeh
3643741917
Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou
...
For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
2013-10-28 12:07:01 +08:00
Gina Yeh
2eaffa45fd
Bug 913372 - Patch 1: Refine the architecture of BluetoothProfileController, r=echou
2013-10-28 12:06:38 +08:00
Shawn Huang
768a171492
Bug 929891 - [Bluetooth][bluedroid] Enable/Disable Bluetooth, r=echou
2013-10-28 12:05:17 +08:00
Chuck Lee
f497343dae
Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi
2013-10-25 10:00:22 +08:00
Ed Morley
ae834488ea
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ed Morley
1ddd1f40eb
Backed out changeset 9302086dcead (bug 920551)
2013-10-25 10:52:17 +01:00
Ed Morley
15ff1e3c37
Backed out changeset 704e9cae5ed6 (bug 913372)
2013-10-25 10:52:11 +01:00
Ed Morley
51cb7858c4
Backed out changeset cfd0b69ef12b (bug 913372)
2013-10-25 10:52:08 +01:00
Ed Morley
c12014092e
Backed out changeset 10ad5c75e102 (bug 913372)
2013-10-25 10:52:05 +01:00
Thomas Zimmermann
c2af4fec1a
Bug 923647: Replace GetDefaultAdapterAdapter by non-blocking implementation, r=echou
...
GetDefaultAdapter blocks while querying the default Bluetooth
adapter. This patch replaces the function with a non-blocking
call to DBus. The reply is handled in a callback function.
As a side effect, this change also removes an invalid warning in
cases where no default adapter is available, and enabling Bluetooth
seems a bit faster.
--HG--
extra : rebase_source : ad3cbb2ccc8ac98b3c8e6d56e47822da0afb07f1
2013-10-25 09:50:07 +02:00
Gina Yeh
fa40f05c95
Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou
2013-10-25 14:22:23 +08:00
Gina Yeh
51add0287a
Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou
...
For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
2013-10-25 14:21:56 +08:00
Gina Yeh
cd7d5cb11e
Bug 913372 - Patch 1: Refine the architecture of BluetoothProfileController, r=echou
2013-10-25 14:20:09 +08:00
Vicamo Yang
581f882a3f
Bug 920551 - 2.i/2: fix Bluetooth. r=echou
2013-10-25 11:07:48 +08:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Trevor Saunders
f1399b6633
[PATCH] bug 922566 - kill dom-config.mk
...
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
content/media/webspeech/recognition/Makefile.in | 1 -
content/media/webspeech/recognition/moz.build | 5 +-
content/media/webspeech/synth/Makefile.in | 1 -
content/media/webspeech/synth/pico/Makefile.in | 3 --
dom/alarm/Makefile.in | 2 -
dom/apps/src/Makefile.in | 1 -
dom/base/Makefile.in | 2 -
dom/base/moz.build | 26 ++++++++++-
dom/battery/Makefile.in | 1 -
dom/bindings/Makefile.in | 3 --
dom/bindings/moz.build | 17 ++++++-
dom/bindings/test/Makefile.in | 5 +-
dom/bluetooth/Makefile.in | 2 -
dom/bluetooth/moz.build | 7 ++-
dom/browser-element/Makefile.in | 3 --
dom/browser-element/moz.build | 6 ++-
dom/camera/Makefile.in | 1 -
dom/camera/moz.build | 5 +-
dom/devicestorage/Makefile.in | 1 -
dom/dom-config.mk | 61 -------------------------
dom/encoding/Makefile.in | 1 -
dom/fmradio/Makefile.in | 2 -
dom/fmradio/ipc/Makefile.in | 1 -
dom/fmradio/ipc/moz.build | 5 +-
dom/fmradio/moz.build | 5 +-
dom/icc/src/Makefile.in | 4 --
dom/media/Makefile.in | 3 --
dom/media/moz.build | 6 ++-
dom/mobilemessage/src/Makefile.in | 1 -
dom/mobilemessage/src/moz.build | 5 +-
dom/network/src/Makefile.in | 2 -
dom/plugins/base/Makefile.in | 1 -
dom/plugins/base/moz.build | 8 +++-
dom/power/Makefile.in | 1 -
dom/quota/Makefile.in | 1 -
dom/system/gonk/Makefile.in | 2 -
dom/telephony/Makefile.in | 1 -
dom/time/Makefile.in | 1 -
dom/wifi/Makefile.in | 5 --
39 files changed, 85 insertions(+), 123 deletions(-)
delete mode 100644 dom/dom-config.mk
delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Birunthan Mohanathas
98f3b9652a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Shawn Huang
bcd81bd814
Bug 880610: Part3-[Bluetooth]bluedroid-Prototype: BluetootServiceBluedroid, r=echou
2013-10-23 14:12:24 +08:00
Shawn Huang
6fdf08afa3
Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack, r=echou
2013-10-23 14:12:24 +08:00
Shawn Huang
4471a0f8e1
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-23 14:12:24 +08:00
Dave Hylands
b28e475dc4
Backout 033a0cdb8c03 (Bug 818353) due to causing bug 929815.
2013-10-22 21:12:04 -07:00
Eric Chou
71f1f5760b
Backed out changeset 089f015f15bb and e907ab075ec8 (bug 880610) for hitting MOZ_ASSERT
2013-10-19 16:01:25 +08:00
Eric Chou
f98b1a9463
Backed out changeset e09e6815a873 (bug 928214) for crashing Settings app
2013-10-19 15:52:35 +08:00
Shawn Huang
363c5a5749
Bug 928214 - [Bluetooth]bluedroid-Prototype: BluetootServiceBluedroid, r=echou
2013-10-19 13:04:30 +08:00
Carsten "Tomcat" Book
aa20ddde42
Merge mozilla-central to b2g-inbound
2013-10-18 12:00:14 +02:00
Carsten "Tomcat" Book
18e7416841
merge b2g-inbound to mozilla-central
2013-10-18 11:39:28 +02:00
Jessica Jong
e58f3f2eaa
Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh
2013-10-18 15:01:03 +08:00
Shawn Huang
cae6b0cfa1
Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack. r=echou
2013-10-17 18:25:55 +08:00
Shawn Huang
633b78e812
Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium
2013-10-17 18:25:50 +08:00
Ben Tian
c828f32a76
Bug 925638 - Patch 2/3: implement new webidl functions, r=echou
2013-10-16 10:38:13 +08:00
Ben Tian
e3f3bf600f
Bug 925638 - Patch 1/3: hfp cdma-handling functions, r=echou
2013-10-17 12:40:17 +08:00
Steve Fink
3014099584
Bug 925916 - Handlify a few things in bluetooth, r=smaug
2013-10-16 10:44:50 -07:00
Ben Tian
be5ba77695
Bug 932192 - Refactor OPP manager for multiple file transfer, r=echou
2013-11-01 11:21:13 +08:00
Eric Chou
17bce122e9
Bug 925663 - Establish HSP connection if and only if HFP service record couldn't be found, r=gyeh
2013-10-14 17:29:21 +08:00
Edgar Chen
c80ce76427
Bug 873380 - Part 2: Bluetooth changes for iccCardLockError. r=echou
2013-09-25 16:36:29 +08:00
Thomas Zimmermann
750ccd808d
Bug 922617: Don't inherit BluetoothDBusService from RawDBusConnection, r=echou
...
BluetoothDBusService uses RawDBusConnection, but isn't one. With
this patch, the connection is instead maintained as a field of
the class.
This change also allows to delete the class instance when the
connection gets closed, which will allow for further cleanups
of the DBus connection handling within Bluetooth.
2013-10-01 12:29:02 +02:00
Thomas Zimmermann
aa631fa25a
Bug 922602: Remove BluetoothDBusService::RemoveReservedServicesInternal, r=echou
...
The method is unused and obsolete.
--HG--
extra : rebase_source : 5604d428a3d91452b84224c2033126f1a2c32927
2013-10-04 14:05:32 +02:00
Phil Ringnalda
9592b8fd7e
Merge m-c to b-i
2013-10-03 08:00:21 -07:00
Ms2ger
24a2e9c09e
Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal
2013-10-03 09:10:00 +02:00
Eric Chou
cc6efe2268
Bug 912376 - SCO wouldn't be dropped after SLC was disconnected, r=btian
2013-10-03 10:12:46 +08:00
Thomas Zimmermann
da3e8bf216
Bug 919913: Introduce DBusReplyCallback, r=qdot,echou
...
DBusReplyCallback replaces the removed DBusCallback as type for
reply-handler functions. Bluetooth, the only user of DBus, has
been updated as well.
2013-10-01 10:20:55 +02:00
Thomas Zimmermann
7df21e26a0
Bug 919913: Converted BluetoothDBusService to new Send methods, r=echou
...
This patch changes BluetoothDBusService to use the new send methods
that have been added to RawDBusConnection. The conversion from the
old functions is
- dbus_func_send to Send,
- dbus_func_send_async to SendWithReply,
- dbus_func_args_async to SendWithReply,
- dbus_func_args to SendWithError, and
- dbus_func_args_timeout to SendWithError.
References to DBusCallback have been removed.
2013-10-01 10:20:30 +02:00
Gina Yeh
32041c957c
Bug 913374 - Use nsRefPtr for BluetoothProfileController in profile managers, r=echou
2013-10-01 15:26:40 +08:00
Eric Chou
1e7ea56b53
Bug 914514 - Close socket right after the user stops the transmission, r=gyeh, r=btian
...
Instead of setting a flag, this patch would shutdown current connection
right after the user stopped the transmission.
2013-10-01 10:53:08 +08:00
Nathan Froyd
e8316ed759
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ehsan Akhgari
7233ba7103
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Gina Yeh
5487688aad
Bug 917220 - Fix IS_HEADSET, r=echou
2013-09-17 19:40:06 +08:00
Ben Tian
dac0937181
Bug 915628 - [Bluetooth] Define new log levels and add logs in profile controller, r=echou
2013-09-14 06:51:00 +08:00
Gina Yeh
6dbf6f8afc
Bug 915207 - Failed to get connected devices of A2DP, r=echou
2013-09-12 17:45:33 +02:00
Gina Yeh
135f478a83
Bug 900880 - Remove unused system messages, r=echou
2013-09-11 14:56:48 +02:00
Gina Yeh
21c39bd0ca
Bug 914175 - Reply error when no profile is connected, r=echou
2013-09-11 09:21:48 +02:00
Ben Tian
f06d3327ac
Bug 911986 - [HFP] Implement RilListener for voice connection and ICC info change, r=echou
2013-09-09 19:54:56 +08:00
Gina Yeh
2ecba30868
Bug 914076 - Send play status change event after pausing music, r=echou
2013-09-09 23:12:58 +02:00
Kyle Huey
888aba875b
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Vicamo Yang
da62cf5ddc
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
3b1087b464
Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
...
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Gina Yeh
37bde31c90
Bug 906305 - Patch 7: Fix BluetoothHidManager, r=echou
2013-09-06 19:21:48 +08:00
Gina Yeh
b0e6dbde85
Bug 906305 - Patch 6: Fix BluetoothA2dpManager, r=echou
2013-09-06 19:21:31 +08:00
Gina Yeh
81b5f996b2
Bug 906305 - Patch 5: Fix BluetoothOppManager, r=echou
2013-09-06 19:21:04 +08:00
Gina Yeh
b49c5f26fd
Bug 906305 - Patch 4: Fix BluetoothHfpManager, r=echou
2013-09-06 19:20:43 +08:00
Gina Yeh
53070ae399
Bug 906305 - Patch 3: Remove BluetoothReplyRunnable in SendInputMessage. Error handling for dbus error, r=echou
2013-09-06 19:20:27 +08:00
Gina Yeh
c9954227d1
Bug 906305 - Patch 2: Make parameter service UUID of Connect() optional, r=echou, sr=mrbkap
2013-09-06 19:19:46 +08:00
Gina Yeh
44c0fc72d2
Bug 906305 - Patch 1: Implementation of BluetoothProfileController, r=echou
2013-09-06 19:19:25 +08:00
Vicamo Yang
3d3267810b
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-06 16:11:34 +08:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Wes Kocher
545fbb7bd2
Merge m-c to inbound
2013-09-04 18:04:50 -07:00
Ed Morley
93698b72f5
Merge mozilla-central and b2g-inbound
2013-09-04 16:50:18 +01:00
Ed Morley
3d679673b4
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Phil Ringnalda
1fdd0f4c23
Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage
2013-09-03 22:33:35 -07:00
Vicamo Yang
c0dad73b20
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-04 12:46:01 +08:00
Eric Chou
92d1030955
Bug 910484 - Use a pointer to hold a global static variable to avoid assertion, r=mrbkap
...
In order to avoid the assertion, which occurs because we can't control the
order of contruction of global static variables, I changed to use a pointer
instead of an instance, so I can really allocate the memory block at the
other place (in ctor of BluetoothDBusService).
2013-09-04 12:17:13 +08:00
Gina Yeh
ead88c1d27
Bug 910974 - Patch 2: Cleanup, r=echou
2013-09-04 10:40:17 +08:00
Gina Yeh
ab94506215
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
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Bobby Holley
83c76ab760
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
Nicholas Nethercote
01c70c8c97
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Thomas Zimmermann
7e44be7f39
Bug 906020: Remove BluetoothArrayOfDevicePropertiesRunnable, r=echou,gyeh
...
With the completely non-blocking handling of 'GetProperties' message
there is no need for BluetoothArrayOfDevicePropertiesRunnable any longer.
--HG--
extra : rebase_source : 8cbdf1bfdf4aec3dfd797326a6846931a8099723
2013-08-27 01:00:58 +02:00
Thomas Zimmermann
349561db67
Bug 906020: Implement non-blocking BluetoothArrayOfDevicePropertiesRunnable, r=echou,gyeh
...
BluetoothArrayOfDevicePropertiesRunnable used to block while waiting
for the results of the 'GetProperties' messages it sends over DBus. With
this patch, each 'GetProperties' operation is performed asyncronously
and the result is handled in a DBus reply handler. The same reply handler
gets used for all 'GetProperties' messages until all devices have been
processed. In this case the final Bluetooth reply runnable gets
dispatched.
The old function GetPropertiesInternal is now unused and has been
removed.
--HG--
extra : rebase_source : 6e5ed63ce2077e16bcaf995c3ca89f923ec8b37e
2013-08-27 01:00:47 +02:00
Edgar Chen
672963c55c
Bug 869778 - Part 6: Bluetooth changes for msisdn. r=echou
2013-08-21 11:02:24 +08:00
Andrew McCreight
01af9297c7
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Ed Morley
540e5885cd
Backed out changeset 9bd4fcd6d084 (bug 864485)
2013-09-04 11:51:02 +01:00
Thomas Zimmermann
d2a6dbc862
Bug 853550: Replace Bluetooth command thread, r=echou,gyeh
...
Starting and stopping Bluetooth support can block the executing thread
for an indefinite amount of time. In most cases these operations are
only performed when Gecko starts and stops, so we don't want to keep
a separate Bluetooth command thread for this.
This patch replaces the Bluetooth command thread by a LazyIdleThread,
which only consumes resources while it executes actual code. After a
timeout period, the LazyIdleThread cleans up its internal state. The
timeout is currently 3 seconds, which has been choosen arbitrarily.
Thanks to bent for helping with the details of LazyIdleThread.
2013-08-30 20:18:43 +02:00
Thomas Zimmermann
7819ee2c2f
Bug 853550: Fix whitespace errors, r=echou
2013-08-29 01:21:52 +02:00
Vicamo Yang
db903c7353
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-04 15:53:30 +08:00
Ed Morley
eec3c3ab64
Merge mozilla-central and inbound
2013-08-28 16:21:25 +01:00
Eric Chou
a1b9ee8093
Bug 908490 - UnpackPropertiesMessage() should return false if there is an error, r=gyeh
2013-08-28 10:27:19 +08:00
Brian O'Keefe
261614859f
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal
2013-08-15 09:12:40 -04:00
Ryan VanderMeulen
bc2000a956
Merge b2g-inbound to m-c.
2013-08-23 10:50:14 -04:00
Nicholas Nethercote
36ec1052f2
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
88b10d29d8
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
482dd7c30b
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
987ec661d3
Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4807f1c86c
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
6c4c371456
Bug 772765 - part4 - BT impl. r=gyeh
2013-07-09 17:20:57 +08:00
Jeff Muizelaar
5bfbf126a7
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
e4e0a32206
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
21c12e18e9
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
2b75ef619c
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
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gina Yeh
264c5a9f3d
Bug 889795 - Reply 'Authorize' signal for supported profile, r=echou, sr=mrbkap
2013-08-14 13:54:18 +08:00
Ben Tian
64d4f74c1f
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
79f2e1f7bf
Bug 899014 - [Bluetooth][HID] HID dom bluetooth implementation, r=echou
2013-08-12 17:32:25 +08:00
Kyle Machulis
8abb99c4ec
Bug 903497: Fix return type for PrepareAdapterRunnable::Run; r=echou
2013-08-12 14:15:45 -07:00
Thomas Zimmermann
37771b0aa4
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
e66199f950
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
f4a46b14da
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
117e2b871f
Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure
2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
a697ac1806
Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure
2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
996c429895
Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges
2013-08-12 18:07:32 +02:00
Thomas Zimmermann
32bbdfba58
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
d9bb4b0fbb
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
db7099b738
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
febf24bb96
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
8ce53f9ffd
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
4564ab6819
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
d6c117e123
Bug 822210 - cdma call waiting - part4 - BT impl. r=gyeh
2013-07-30 17:27:23 +08:00
Carsten "Tomcat" Book
da3071b7d9
merge mozilla-central to b2g-inbound
2013-08-08 14:46:05 +02:00
Eric Chou
602b30d510
Bug 891257 - Disconnect gracefully when the user turns off Bluetooth, r=mrbkap
2013-08-08 17:51:37 +08:00
Ryan VanderMeulen
6f0d3838c9
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
3ef78b339d
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
Szu-Yu Chen [:aknow]
21ffce756d
Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh
2013-08-05 16:28:14 -04:00
Ben Tian
10d78003ba
Bug 900887 - Handle state change: CALL_STATE_DIALING -> CALL_STATE_CONNECTED, r=echou
2013-08-05 11:00:04 +08:00
Ed Morley
ce3bcd733c
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ed Morley
4e6f3c8e19
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-02 13:30:22 +01:00
Thomas Zimmermann
f002405956
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
2e729aa83d
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
59da7e9ae2
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Gina Yeh
de4f45b303
Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou
2013-08-02 18:32:57 +08:00
Eric Chou
edd9c1a2e2
Bug 892392 - Execute BluetoothService::StartInternal() at startup, r=gyeh
2013-08-02 11:58:01 +08:00
Eric Chou
ba23b5ac8b
Bug 899711 - Notify file change after receiving an one-packet-size file, r=gyeh
2013-08-01 12:32:18 +08:00
Kyle Machulis
2075adb03c
Bug 899734: Fix bluetooth compile errors on desktop b2g; r=echou
2013-07-31 18:10:16 -07:00
Gina Yeh
5e31ba64b8
Bug 899949 - Failed to disconnect A2DP when turning off Bluetooth, r=echou
2013-07-31 19:06:50 +08:00
Ehsan Akhgari
2824b29025
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
e8935b0303
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
55c3667424
Bug 897484 - followup: root newly added code to fix bustage on a CLOSED TREE.
2013-07-29 18:27:04 +02:00
Ed Morley
40350f10a6
Merge mozilla-central and inbound
2013-07-29 15:42:41 +01:00
Gina Yeh
d62aa07a21
Bug 842948 - Patch 6: Implement dictionaries, r=echou
2013-07-29 17:32:35 +08:00
Gina Yeh
088093d5d4
Bug 842948 - Patch 5: Implement UpdateNotification, r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
797a139da7
Bug 842948 - Patch 4: Handle signal "GetPlayStatus", r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
1629236996
Bug 842948 - Patch 3: Cache AVRCP data in BluetoothA2dpManager, r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
9e71965423
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
5ab7491ae0
Bug 842948 - Patch 1: Implement API for AVRCP 1.3, r=echou, sr=mrbkap
2013-07-29 17:32:34 +08:00
Jon Coppeard
20fb51afdd
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
ce93df92db
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
9709d43d76
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00