Граф коммитов

784 Коммитов

Автор SHA1 Сообщение Дата
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
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