Commit Graph

891 Commits

Author SHA1 Message Date
Thomas Zimmermann
7ce145382c 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
0e8e275f74 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
86e4b6244c Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure 2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
b3c6e7d673 Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure 2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
cf01e81083 Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges 2013-08-12 18:07:32 +02:00
Thomas Zimmermann
38795b8dfe 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
9e114a19a6 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
711aa75692 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
8afe7e8fed Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 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
717c7803fc 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
e40502137a Bug 822210 - cdma call waiting - part4 - BT impl. r=gyeh 2013-07-30 17:27:23 +08:00
Carsten "Tomcat" Book
7ea1382e12 merge mozilla-central to b2g-inbound 2013-08-08 14:46:05 +02:00
Eric Chou
33471a88f6 Bug 891257 - Disconnect gracefully when the user turns off Bluetooth, r=mrbkap 2013-08-08 17:51:37 +08:00
Ryan VanderMeulen
2f3de4dea0 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
6274710e79 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]
3481e9835d Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh 2013-08-05 16:28:14 -04:00
Ben Tian
b8750a84a8 Bug 900887 - Handle state change: CALL_STATE_DIALING -> CALL_STATE_CONNECTED, r=echou 2013-08-05 11:00:04 +08:00
Ed Morley
d0a6230a88 Merge mozilla-central and b2g-inbound 2013-08-02 13:51:22 +01:00
Ed Morley
a9606b2dba Merge latest green b2g-inbound changeset and mozilla-central 2013-08-02 13:30:22 +01:00
Thomas Zimmermann
25d75a02dd 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
d01b5df996 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
2d4b9278a9 Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap 2013-08-02 18:33:15 +08:00
Gina Yeh
6a7c0fc791 Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou 2013-08-02 18:32:57 +08:00
Eric Chou
94d685e575 Bug 892392 - Execute BluetoothService::StartInternal() at startup, r=gyeh 2013-08-02 11:58:01 +08:00
Eric Chou
e1578b7f3f Bug 899711 - Notify file change after receiving an one-packet-size file, r=gyeh 2013-08-01 12:32:18 +08:00
Kyle Machulis
18ad4d3df5 Bug 899734: Fix bluetooth compile errors on desktop b2g; r=echou 2013-07-31 18:10:16 -07:00
Gina Yeh
c7f0c9d4d1 Bug 899949 - Failed to disconnect A2DP when turning off Bluetooth, r=echou 2013-07-31 19:06:50 +08:00
Ehsan Akhgari
5ee21d6d3f 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
a32e46ab24 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
0726a5ce03 Bug 897484 - followup: root newly added code to fix bustage on a CLOSED TREE. 2013-07-29 18:27:04 +02:00
Ed Morley
c02ed6a62f Merge mozilla-central and inbound 2013-07-29 15:42:41 +01:00
Gina Yeh
cb1dd152e8 Bug 842948 - Patch 6: Implement dictionaries, r=echou 2013-07-29 17:32:35 +08:00
Gina Yeh
e2b3ad28c1 Bug 842948 - Patch 5: Implement UpdateNotification, r=echou 2013-07-29 17:32:34 +08:00
Gina Yeh
e2b601ffc3 Bug 842948 - Patch 4: Handle signal "GetPlayStatus", r=echou 2013-07-29 17:32:34 +08:00
Gina Yeh
4c98db78ae Bug 842948 - Patch 3: Cache AVRCP data in BluetoothA2dpManager, r=echou 2013-07-29 17:32:34 +08:00
Gina Yeh
41d806ac30 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
a07f368f4e Bug 842948 - Patch 1: Implement API for AVRCP 1.3, r=echou, sr=mrbkap 2013-07-29 17:32:34 +08:00
Jon Coppeard
8278efd42a 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
8c89deb65b Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f 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
1463e7df5b Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Ryan VanderMeulen
bc61d30573 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Alive Kuo
b2f4623018 Bug 887650 - Append extra information about activity caller in system message. r=gene 2013-07-25 13:18:24 -04:00
Jon Coppeard
477e4df5c5 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Thomas Zimmermann
cd5cc34c31 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
e997c2f1ce 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
5ecc50b289 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
Ben Tian
4367251a81 Bug 895325 - [Bluetooth][Cleanup] Revise BluetoothOppManager constructor and BluetoothOppManager::Get(), r=echou 2013-07-19 10:27:07 +08:00
Ryan VanderMeulen
0439786998 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Eric Chou
602adf6071 Bug 893546 - Fix memory leakage in BluetoothHfpManager.cpp, r=mrbkap 2013-07-18 10:52:20 +08:00
Ben Tian
50bd48742d Bug 891210 - [Bluetooth][OPP cleanup] Move file-transfer related static variables into class BluetoothOppManager, r=echou 2013-07-15 12:10:32 +08:00
Boris Zbarsky
9af6d565fa Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Boris Zbarsky
684d4a0f3a Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking 2013-07-12 10:36:32 -04:00
Szu-Yu Chen [:aknow]
b91ec053d3 Bug 881142 - Part 3: Remove call state busy (bluetooth dom). r=gyeh 2013-07-15 08:54:07 -04:00
Ben Tian
76d20d977d Bug 891202 - [Bluetooth][OPP cleanup] Unify obex data sending function, r=echou 2013-07-10 11:20:13 +08:00
Ryan VanderMeulen
2cca46b24a Merge m-c to birch. 2013-07-12 13:31:17 -04:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Edgar Chen
4fbd36568e Bug 875721 - Part 4: Bluetooth changes for iccInfo. r=echou 2013-05-30 18:56:11 +08:00
Thomas Zimmermann
ae493b99c9 Bug 891276: Cleanup *ServiceRecords functions, r=echou
AddServiceRecords and RemoveServiceRecords are unused. This patch
removes any related code.
2013-07-11 09:58:26 +02:00
Thomas Zimmermann
79b015cfa0 Bug 884840: Reimplement GetServiceChannel without Bluetooth command thread, r=echou
The method BluetoothDBusService::GetServiceChannel currently blocks the
Bluetooth command thread while waiting for a DBus message, before it
dispatches a runnable to the main thread.

With this patch, the DBus message is processed asyncronously, and the
runnable gets dispatched from the DBus reply handler.

--HG--
extra : rebase_source : 24519b7dd8d59fcbbf78436092610c8db195f6a2
2013-07-09 09:56:14 +02:00
David Zbarsky
b2b3004e5d Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Phil Ringnalda
4021dafa78 Merge birch and inbound to central 2013-07-04 18:11:28 -07:00
Eric Chou
e5c03e1344 Bug 884253 - Define new error messages for Bluetooth profiles, r=gyeh 2013-07-04 17:45:06 +08:00
Mike Shal
edeb7caf7a Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ryan VanderMeulen
2f32b96e0b Merge m-c and inbound. 2013-07-03 09:14:15 -04:00
Ben Tian
fec3f51600 Bug 889231 - [Bluetooth] Lock-up occurs when you make a call in no signal network state, r=echou 2013-07-02 16:53:21 +08:00
Ben Tian
6db44eeec5 Bug 884190 - [Bluetooth] Rename commands from dom bluetooth to Dialer app (in dom bluetooth), r=echou 2013-07-01 11:04:02 +08:00
Trevor Saunders
795144e55a bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal
590ea3f8c1 Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Thomas Zimmermann
1163770feb Bug 880168: Replace RemoveDeviceTask by non-blocking implementation, r=echou,gyeh
This patch replaces RemoveDeviceTask by a non-blocking implementation
that does not use the Bluetooth command thread. The request gets send
directly to the DBus, and its reply gets processed in the DBus thread
itself.

--HG--
rename : netwerk/protocol/http/HttpLog.h => netwerk/protocol/http/nsHttp.h
extra : rebase_source : a99a9d6561d94df77d8d9cd53e39371aa1f6386d
2013-04-16 16:46:10 +02:00
Ben Tian
5e6adb36d9 Bug 883619 - No busy tone on Bluetooth Car kit, r=gyeh 2013-06-24 12:10:07 +08:00
Gina Yeh
205ca1a67c Bug 873919 - Remove old system messages for Bluetooth pairing requests, r=echou 2013-06-20 12:14:09 +08:00
Gina Yeh
d8ae704353 Bug 882551 - Patch 5: Change return type of internal functions, r=qdot, r=mrbkap, r=echou 2013-06-20 09:20:16 +08:00
Gina Yeh
2c1d010243 Bug 882551 - Patch 4: Remove BluetoothA2dpManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:20:02 +08:00
Gina Yeh
ed2a4cfcfe Bug 882551 - Patch 3: Remove BluetoothOppManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:46 +08:00
Gina Yeh
e1a7a2500d Bug 882551 - Patch 2: Remove BluetoothHfpManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:31 +08:00
Gina Yeh
8ccaecc148 Bug 882551 - Patch 1: BluetoothProfileManagerBase inherits nsIObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:15 +08:00
Thomas Zimmermann
e72204009e Bug 880167: Replace SendDiscoveryTask by non-blocking implementation r=echou,gyeh
This patch replaces SendDiscoveryTask by a non-blocking implementation
that does not use the Bluetooth command thread. The request gets send
directly to the DBus, and its reply gets processed in the DBus thread
itself.
2013-04-16 16:42:35 +02:00
Ben Tian
f0e4b1fc60 Bug 883505 - [Bluetooth] Support for CHLD=0 of HFP, r=echou 2013-06-18 15:42:10 +08:00
Jon Coppeard
586c7b4514 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Kyle Machulis
e5ce876fd2 Bug 882443: Check for connection before asserting in BluetoothA2dpManager::Disconnect; r=gyeh r=shuang 2013-06-14 18:29:20 -07:00
Ben Tian
dfbf757ac3 Bug 879635 - [Bluetooth] [Hfp] Implement HFP 1.6 indicators activation and deactivation, r=echou 2013-06-07 16:54:13 +08:00
Eric Chou
0adbf805bd Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh 2013-06-11 18:24:19 +08:00
Gina Yeh
4f77f431bf Bug 881606 - BluetoothA2dpManager doesn't receive any sink property changed, r=echou 2013-06-11 14:47:48 +08:00
Gina Yeh
8b954097d7 Bug 878745 - followup patch, r=vyang 2013-06-10 19:17:25 +08:00
Gina Yeh
1d2d5b22e3 Bug 878745 - BluetoothService cleanup, r=echou 2013-06-10 12:18:00 +08:00
Gina Yeh
9b9e96c828 Bug 872907 - Patch 5: Handle A2DP status changed in AudioManager, r=echou, r=mwu 2013-06-08 23:26:28 +08:00
Gina Yeh
a6765ae76d Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Gina Yeh
e7d0099af2 Bug 872907 - Patch 3: Handle Sink property change, r=echou, r=mrbkap 2013-06-08 23:25:41 +08:00
Gina Yeh
406431e0fa Bug 872907 - Patch 2: Implement SendSinkMessage in BluetoothService, r=echou, r=mrbkap 2013-06-08 23:25:18 +08:00
Gina Yeh
17b3651391 Bug 872907 - Patch 1: Implement BluetoothA2dpManager, r=echou, r=mrbkap 2013-06-08 23:24:29 +08:00
Shawn Huang
96b1ed8a43 Bug 869259 - Get a mount lock to prevent the sdcard from being shared with the PC, r=echou 2013-06-07 15:10:24 +08:00
Ben Tian
cc5d97396f Bug 878728 - Support in-band ringtone, r=echou 2013-06-05 16:53:22 +08:00
Arnaud Sourioux
4f029c7b82 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Thomas Zimmermann
2003d4265a Bug 875273 - Re-introduce assertion in RunDBusCallback. r=echou
With the landing of bug 830290, no DBus callback should ever run in
the main thread. This patch therefore re-introduces the corresponding
assertion statement.
2013-06-04 08:07:29 -04:00
Ben Tian
c75cbc3e85 Bug 878672 - Remove extra CRLF of result codes, r=echou 2013-06-03 15:04:10 +08:00
Shawn Huang
5e7aee1ad8 Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou 2013-06-01 10:07:24 +08:00
Thomas Zimmermann
d31cb1d146 Bug 830290: Replace calls to dbus_connection_send_with_reply_and_block r=bent,qdot
There is one call to dbus_connection_send_with_reply_and_block in
the Bluetooth code. This patch replaces the call by a call to the
helper function dbus_func_send_and_block, which executes the DBus
operation within the DBus thread.
2013-03-11 15:22:50 +01:00
Thomas Zimmermann
dc0b14aedc Bug 830290: Replace dbus_connection_send by dbus_func_send r=bent,qdot
The Bluetooth system now uses dbus_func_send for sending DBus
messages where dbus_connection_send use used before. The former
function is similar to the latter one, but sends messages from
within the DBus thread; thus avoiding concurrency issues within
DBus.
2013-03-01 13:53:30 +01:00
Eric Chou
c9b60cd79e Bug 878005 - Send system message 'ATD>' to Gaia instead of sending 'BLDN' when receive 'ATD>' from headset, r=gyeh 2013-05-31 20:43:18 +08:00
Eric Chou
0b00c94948 Bug 875677 - Modify the logic of sending 'callheld' indicator to fit HFP 1.6, r=gyeh
According to HFP spec 1.6, we should update callheld status very carefully when
the status of other calls are changed.
2013-05-31 21:49:42 +08:00
Ryan VanderMeulen
e81694112a Backed out changeset 662f6427c909 (bug 872890) for debug bustage. 2013-05-31 12:12:41 -04:00
Shawn Huang
7ffbc4ccf3 Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou 2013-05-31 11:07:21 +08:00
Gabor Krizsanits
94a2af0a2c Bug 875405 - fixing unpushed cx usages. r=bholley 2013-05-30 16:54:46 +02:00
Ryan VanderMeulen
31c9996924 Merge m-c to inbound. 2013-05-30 07:47:14 -04:00
Eric Chou
025f71b525 Bug 877087 - Clear mDsFile after the OPP connection is dropped, r=gyeh 2013-05-30 15:00:06 +08:00
Gina Yeh
d4e76cf967 Backed out changeset 8cdcc0221c0f for build bustage DONTBUILD 2013-05-30 10:50:19 +08:00
Shawn Huang
23771d4a03 Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou 2013-05-30 09:33:48 +08:00
Ed Morley
ebb42781a7 Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
a5f7aee9a5 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Eric Chou
70b3a85035 Bug 871438 - Reset value when file transfer session starts, r=gyeh
When the transferring session was stopped, mBodySegmentLength wouldn't reset
to 0, and that would impact the next transferring if the first packet of the
next transferring doesn't contain header Body or EndOfBody, which would invoke
ExtractPacketHeaders() and refresh mBodySegmentLength in the function.
2013-05-28 15:25:42 +08:00
Eric Chou
48159027b0 Bug 875719 - Simplify and correct the mechanism of handling call state change event, r=gyeh
1. Remove variable mCurrentCallIndex and replace with using function FindFirstCall(aState)
2. Remove unused variable index and callArrayLength
2013-05-28 14:58:51 +08:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
a105e4d514 Bug 875251 - Push the JSContexts that get used in BluetoothAdapter, r=gabor 2013-05-23 07:10:00 -07:00
Thomas Zimmermann
c7e2c70a18 Bug 875251: Added AutoPushJSContext in Bluetooth, r=gabor
This patch fixes the fallout from bug 868130.
2013-05-24 01:50:00 -07:00
Gina Yeh
cb157d5ef0 Bug 853235 - Patch 2: Keep original mechaniems of bluetooth pairing requests, r=echou 2013-05-27 09:45:06 +08:00
Eric Chou
08fea77532 Bug 875650 - Shouldn't do the same thing when receiving ABORT and DISCONNECT, r=gyeh
The original implementation would be stuck on OPP server side after dealing with
ABORT packet. This is because we do something only should be done when receiving
DISCONNECT packet.
2013-05-24 15:59:32 +08:00
Kyle Machulis
48f2fcc631 Bug 875016: Fix return type for UpdateSdpRecords; r=echou 2013-05-23 12:27:54 -07:00
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
300df79e8d Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Eric Chou
21442832e7 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
8f97249989 Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh 2013-05-22 19:08:17 +08:00
Hsin-Yi Tsai
3bd9fcedb0 Bug 823958 - BT impl- TelephonyListener::EnumerateCallStateComplete (part 4/4). r=gyeh 2013-05-10 15:00:01 +08:00
Jon Coppeard
6fec5f0632 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Gina Yeh
414da4c45b Bug 853235 - Combine pairing-related system messages into one type, r=echou 2013-05-20 15:34:45 +08:00
Thomas Zimmermann
94e453db9b Bug 873400: Fix destination directory for Bluetooth file transfers, r=echou
Bluetooth file transfers store the file in 'downloads/bluetooth'. This
patch changes the location to 'Download/Bluetooth' for consistency with
other sub-systems.
2013-05-20 11:41:03 +08:00
Gregory Szorc
e0fa1f0276 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
94deccd7c8 Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
714eb479c3 Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Eric Chou
dee3a48ec3 Bug 871366 - Cut operator name if it is longer than 16 characters, r=gyeh 2013-05-15 17:12:48 +08:00
Szu-Yu Chen [:aknow]
51228414ba Bug 863281 - Part 3: Update emergency property for outgoing call. r=htsai, gyeh.
---
 dom/bluetooth/BluetoothTelephonyListener.cpp |    4 +++-
 dom/telephony/Telephony.cpp                  |   10 ++++++----
 dom/telephony/TelephonyCall.cpp              |   10 +++++++++-
 dom/telephony/TelephonyCall.h                |   10 +++++++++-
 4 files changed, 27 insertions(+), 7 deletions(-)
2013-05-14 14:08:07 +08:00
Eric Chou
09593e64ab Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh 2013-05-13 18:08:40 +08:00
Dave Hylands
1016437715 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
aa9e660583 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
7da14f84fb Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Gina Yeh
0ce1c300fe Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou 2013-05-11 14:06:16 +08:00
Shawn Huang
d5b9ba0b02 Bug 870304: Fix misssing icon when getting paired/connected list, r=echou 2013-05-11 00:03:55 +08:00
Gina Yeh
bdd57e7f0f Bug 830213 - Patch 3: Remove BluetoothScoManager, r=echou 2013-05-10 19:03:25 +08:00
Gina Yeh
0d6b87eddd Bug 830213 - Patch 2: Implementation of ConnectSco/DisconnectSco/IsScoConnected in BluetoothHfpManager, r=echou, sr=mrbkap 2013-05-10 19:01:10 +08:00
Gina Yeh
4fada6d52b Bug 830213 - Patch 1: Add ConnectSco, DisconnectSco, IsScoConnected in nsIDOMBluetoothAdapter, r=echou, sr=mrbkap 2013-05-10 18:58:59 +08:00
Shawn Huang
34058fefb1 Bug 869306: Update call direction if call state changes, r=echou 2013-05-10 17:47:16 +08:00
Hsin-Yi Tsai
ebbd3163f6 Bug 869306 - Add call.isOutgoing for BT Cert. r=allstars.chh 2013-05-08 18:39:05 +08:00
Eric Chou
d33055ad80 Bug 860166 - New mechanism for establishing outboung Bluetooth connection, r=mrbkap
Things we have done in this patch:

1. Make BluetoothHfpManager/BluetoothOppManager implement BluetoothProfileManagerBase
2. Add function BluetoothService::GetServiceChannel()
3. Once GetServiceChannel() is done, callback Bluetooth*Manager::OnGetServiceChannel() will be invoked
4. Remove unused function BluetoothService::GetSocketViaService()
2013-05-10 14:39:12 +08:00
Eric Chou
e8b491688d Bug 860166 - Create new class BluetoothProfileManagerBase, r=mrbkap
BluetoothProfileManagerBase is a base class of Bluetooth profile managers.
It will be a generic interface declaring basic functions that all profile
managers should implement, such as Connect(), Disconnect() and IsConnected().
Currently there is only one callback function OnGetServiceChannel(), which
will be called after calling BluetoothService::GetServiceChannel().
2013-05-10 14:39:09 +08:00
Shawn Huang
f463a1089c Bug 869337 - Fix missing At comman reply OK after +COPS, r=gyeh, r=echou 2013-05-10 13:46:50 +08:00
Eric Chou
3969d171c7 Bug 869296 - New mechanism to deal with AT commands 'AT+BLDN' and 'ATD>n', r=gyeh
According to HFP spec, when we receive AT command 'AT+BLDN', we shall respond
with:

  1. 'OK' if the call history is not empty. An outgoing call would be made
  2. 'ERROR' if the call history is empty. No call would be made.

However, with current implementation, we are unable to know whether the call
history is empty or not in Gecko. Therefore I introduce a solution, using a task
and a flag to decide if a call is made after AT+BLDN is received, which may not
be perfect but reliable, easy to understand and easy to implement.
2013-05-09 22:10:28 +08:00
Eric Chou
0c97e63278 Bug 869296 - Do 'Last Number Redial' when we receive ATD>n, r=gyeh 2013-05-09 22:10:28 +08:00
Eric Chou
2a8d3074cf Bug 869332 - Don't reset call status while receiving an unhandled CallStateChanged event, r=gyeh 2013-05-08 14:16:51 +08:00
David Zbarsky
e6b1eb46b4 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Eric Chou
fe4455f951 Bug 866615 - Modify the nsDeviceStorage type from 'movies' to 'videos', r=dougt
From 19f4e6e369439a1626fbc69ac2dd72b63e56d397 Mon Sep 17 00:00:00 2001
2013-04-29 17:10:30 +08:00
Gina Yeh
2864f876ff Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou
e3926e8f4d Bug 864575 - Notify all observers of file-changing at the right time, r=gyeh
When we receive multiple files in a row, we need to notify observers of
file-changing whenever a file is completely received. Currently we only
send one notification at the end of the entire session.
2013-04-26 18:09:04 +08:00
Eric Chou
084a1b39cc Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Dave Hylands
13c9965087 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Gina Yeh
c1d82b4506 Bug 863620 - Followup of bug 848414, r=echou 2013-04-19 14:40:51 +02:00
Eric Chou
970b136c4d Bug 860166 - Revice AT command handler for Headset profile (HSP), r=gyeh 2013-04-19 17:08:06 +08:00
Eric Chou
a7bc2c708b Bug 860166 - Use two server sockets to listen to both HFP and HSP services, r=gyeh, r=mrbkap 2013-04-19 17:08:00 +08:00
John Lin
6ba6195024 Bug 860075 - Avoid duplicate BT signal observer registration from child process. r=echou, r=gyeh 2013-04-19 16:40:56 +08:00
Ryan VanderMeulen
5e0f181410 Backed out changeset 8f7ef60b6f5a (bug 860934) for mochitest asserts and crashes. 2013-04-18 12:02:27 -04:00
Gina Yeh
8cc7dd41de Bug 859727 - Remove routing logic from BluetoothScoManager, r=echou, r=rlin 2013-04-18 17:41:17 +02:00
Dave Hylands
defe3f16b6 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Kyle Machulis
e77f5f1a14 Bug 862462 - Make sure BluetoothAdapter unroots before destruction; r=mrbkap 2013-04-16 14:54:00 -07:00
Kyle Machulis
02a78ca57a Bug 861980 - Change sockopt length to be a socklen_t; r=echou 2013-04-16 14:54:00 -07:00
Boris Zbarsky
774766d13e Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Gina Yeh
510eab17b7 Bug 857896 - Convert device property "Connected" into a boolean if bluez returns a two-byte array, r=echou,qdot 2013-04-16 11:10:29 +02:00
Eric Chou
e909254f82 Bug 861085 - Enable/Disable Bluetooth based on mozSettings value at startup, r=gyeh, r=qdot 2013-04-16 11:02:23 +08:00
Eric Chou
d18ca310ca Bug 823803 - Manage two server sockets (RFCOMM/EL2CAP) in BluetoothOppManager, r=mrbkap, r=gyeh
In order to solve the problem, BluetoothOppManager should maintain
two server sockets at the same time, one is RFCOMM socket, another
is EL2CAP socket.
2013-04-12 18:45:39 +08:00
Eric Chou
6e7344ce22 Bug 823803 - Add L2CAP/EL2CAP Socket support, r=qdot, r=gyeh
This version of BlueZ from Code Aurora has added GOEP_PSM to Object
Push Profile service record, which means that remote devices may
connect with us via both L2CAP and RFCOMM. This patch completes
L2CAP/EL2CAP socket implementation.
2013-04-12 18:45:37 +08:00
Gina Yeh
80586339fa Bug 859727 - Should set force to FORCE_NONE after Sco is disconnected, r=echou 2013-04-12 16:27:21 +08:00
Kyle Machulis
71b1038b68 Bug 844705 - Add comment to mReadFileThread. r=mrbkap 2013-04-09 12:11:00 -04:00
Eric Chou
1b7aa14ffc Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
2d0a7c72d4 Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap 2013-04-04 17:55:55 -07:00
Eric Chou
a74626221d Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap 2013-04-04 17:55:34 -07:00
Eric Chou
f8e8e5baf5 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap 2013-04-04 17:54:43 -07:00
Eric Chou
e667f57802 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Eric Chou
c91b2f0574 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Eric Chou
28c1a3205a Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap 2013-04-04 17:52:48 -07:00
Eric Chou
701eb23509 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap 2013-04-04 17:52:12 -07:00
Eric Chou
223c009a60 Bug 851046: Patch 1 - New interface: BluetoothSocketObserver; r=mrbkap 2013-04-04 17:51:35 -07:00
Matt Brubeck
79a6cd1876 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a71c18ea3c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
adebe2a8df Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap
--HG--
extra : rebase_source : 0c3e6e78f59b83faf7c81892974505caa1b1723a
2013-04-04 17:25:44 -07:00
Eric Chou
616ce7b65f Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
--HG--
extra : rebase_source : eb7d4a12566722c759c9badda579fe66ef689ff1
2013-04-04 17:25:44 -07:00
Eric Chou
a062954a28 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap
--HG--
extra : rebase_source : 1b005af7999f8136a2d503e708d255c5a8ed8eb9
2013-04-04 17:25:44 -07:00
Eric Chou
7a5724f9f8 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
2013-04-04 17:25:44 -07:00
Eric Chou
143a369f92 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap
--HG--
extra : rebase_source : 86f3d7acbfa097f92a2731d49ff5298ab4ad7a7c
2013-04-04 17:25:44 -07:00
Eric Chou
4dcbd2a0c8 Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap
--HG--
extra : rebase_source : 43524216294e08625619b5b1c6a35e0de9fadde6
2013-04-04 17:25:44 -07:00
Eric Chou
d887898329 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap
--HG--
extra : rebase_source : 692fc69bc24a212621a5ff8a37fd17c237de9b20
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen
0302be40e5 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
f7ec3354ff Bug 851046 - Small misc fixes. r=mrbkap
1. Rename mSocketStatus
2. Remove keyword enum
3. Remove null-checking after new Bluetooth*Manager instances
2013-04-04 00:32:28 +08:00
Eric Chou
f15416897c Bug 851046 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver. r=mrbkap
A Bluetooth*Manager may hold more than one BluetoothSocket at a time, therefore
we need to identify the caller (which socket calls the callback function).
2013-03-19 17:08:44 -07:00
Eric Chou
ba4fb1b95f Bug 851046 - Remove function ListenSocketViaService(). r=mrbkap
Since we are now using BluetoothSocket directly for listening, this functions can be removed.
2013-03-19 13:53:43 -07:00
Eric Chou
35d0df609e Bug 851046 - Apply BluetoothSocket to BluetoothScoManager. r=mrbkap 2013-03-19 09:48:30 -07:00
Eric Chou
4b31e39c03 Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Eric Chou
a328096a8e Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Eric Chou
1da32d7594 Bug 851046 - Use (Bluetooth*Managers)->Disconnect() instead of (Bluetooth*Managers)->CloseSocket() since managers are not UnixSocketConsumer anymore. r=mrbkap 2013-03-15 14:55:19 +08:00
Eric Chou
1e506a75c4 Bug 851046 - New class: BluetoothSocket. r=mrbkap
After this new class is landed, communicating with other devices on
profile level should become more intuitive and reasonable. Each
Bluetooth*Manager doesn't need to inherit UnixSocketConsumer, instead,
BluetoothSocket inherits UnixSocketConsumer. That makes Bluetooth*Manager
be able to have more than 1 Bluetooth connections at a time with different
remote devices.
2013-02-26 11:16:36 +08:00
Eric Chou
f69465699c Bug 851046 - New interface: BluetoothSocketObserver. r=mrbkap
For those instances which want to be notified for any event sent
from a BluetoothSocket instance, they need to implement this
interface to get notification.
2013-02-26 10:34:54 +08:00
Ehsan Akhgari
124e2f7dca Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Jose Cortes
60db87874e Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
2da2c38f03 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gina Yeh
74476548cd Bug 853200 - Remove unused event handlers from idl, r=echou, sr=mrbkap 2013-03-28 18:05:58 +08:00
shuang
a1f06a50ef Bug 841336 - Remove assertion in RunDBusCallback if platform is gonk, r=echou 2013-03-26 13:15:09 +08:00
Gina Yeh
2075f6dc32 Bug 854347 - Failed to receive files after calcelling receiving a file, r=echou 2013-03-26 10:53:10 +08:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Kyle Machulis
bd7f44351c Bug 843868: Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 455aeb8c49bec2477a5ffea839a0ac3fe09434f7
2013-03-19 10:23:47 -07:00
Phil Ringnalda
8eb607560b Back out b21345c5027c (bug 843868) for build bustage
CLOSED TREE
2013-03-15 21:35:25 -07:00
Kyle Machulis
182d940454 Bug 843868 - Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 9b980684b37e2e3345414af494ddb22e6c710e52
2013-03-15 21:10:40 -07:00
Gina Yeh
7276942610 Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Thomas Zimmermann
ce568fa6e8 Bug 843958: Support SCO in switch statement; r=qdot r=echou
The fix for bug 843958 makes b2g crash when Bluetooth gets turned
on. This patch fixes the affected switch statement.

--HG--
extra : rebase_source : dd903b58f7675dec0c1aae86a7a790ff11296db0
2013-03-12 14:27:59 -07:00
Kyle Machulis
2d36cae087 Bug 843958 - Fix compiler warning for SCO not handling LM; r=echou 2013-03-10 22:37:15 -07:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Eric Chou
fbc0120ad1 Bug 836715 - Fix potential memory problem in RemoveDeviceTask, r=qdot
From 6e3780271509a502462560717f7cc768dafb673b Mon Sep 17 00:00:00 2001
2013-03-04 18:47:41 +08:00
Eric Chou
d8ce2154f7 Bug 841984 - Fixed potential memory problem in SetProperty(), r=qdot 2013-03-08 12:10:09 +08:00
Eric Chou
9d915cdd0d Bug 841576 - Check if nsTHashtable has been initialized before calling Init(), r=qdot 2013-03-07 21:36:13 +08:00
Vicamo Yang
df445a6ebf Bug 834160 - Part 5/7: fix Telephony. r=smaug, f=htsai
--HG--
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/BluetoothTelephonyListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/BluetoothTelephonyListener.h
2013-03-06 17:53:23 +08:00
Eric Chou
a4721542d9 Bug 848414 - Reply with ERROR to unknown AT commands, r=gyeh 2013-03-12 13:46:43 +08:00
Gina Yeh
22df1218f3 Bug 846647 - Update call state before reseting call array, r=echou 2013-03-02 12:04:59 +08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gina Yeh
f94a074431 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Gina Yeh
424faeea8d Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Gina Yeh
786670aa37 Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Gina Yeh
76e46f4140 Bug 830551 - Send file-transfer-complete message after receiving unexpected response code from remote, r=echou 2013-02-25 12:40:31 +08:00
Gina Yeh
5bb3f08035 Bug 842471 - Invalid value type in BluetoothDevicePropertiesRunnable(), r=echou 2013-02-20 14:19:34 +08:00
Shawn Huang
24186914a1 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Eric Chou
4f7b758879 Bug 842214 - Replace JS_NewStringCopyN with JS_NewUCStringCopyN, or non-ascii chars would be shown incorrectly, r=gyeh 2013-02-18 16:02:23 +08:00
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Gregor Wagner
404ddb1215 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent 2013-02-14 16:45:13 -08:00
Eric Chou
08f90d420f Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Gina Yeh
55c2cf3061 Bug 838421 - After an instance of BluetoothAdapter is destroyed, no events can be received by other instances, r=echou 2013-02-08 18:03:09 +08:00
Gina Yeh
96d37dc57a Bug 838499 - Assertion failed in function SetJsObject(), r=echou 2013-02-06 20:07:27 +08:00
Eric Chou
b2938e1493 Bug 836516 - Set a system property so that WLAN firmware could be aware of BT operations, r=gyeh
Solution was provided by ggrisco@codeaurora.org
2013-02-06 15:28:04 +08:00
Gina Yeh
350f60fffa Bug 838080 - Cannot receive all events after a series of actions, r=echou 2013-02-06 09:35:29 +08:00
Eric Chou
3bbf333646 Bug 838089 - Blacklisted AT commands: AT+XAPL/AT+XEVENT, r=gyeh 2013-02-05 19:19:15 +08:00
Vicamo Yang
5075aba1fa Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou 2013-02-01 20:28:15 +08:00
shuang
9efe073453 Bug 828837:Fix COD equals 0x20080c cause icon empty, r=echou 2013-02-01 17:04:07 +08:00
Eric Chou
caf94abdb6 Bug 835474 - Assign length of the message with aMessage->mSize, r=gyeh 2013-01-30 12:58:40 +08:00
Gina Yeh
a0060964a3 Bug 835740 - Modified BRSF value in hands-free profile, r=echou 2013-01-30 12:33:23 +08:00
Eric Chou
fa09a368dc Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-29 18:37:51 +08:00
Eric Chou
515d75fd39 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-29 18:37:51 +08:00
Eric Chou
ec3404bfe2 Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-29 18:37:51 +08:00
Gina Yeh
dc5200d225 Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou 2013-01-29 14:52:58 +08:00
Gina Yeh
e514b6c920 Bug 811569 - Patch 3: Cleanup for DOMRequest related checking and do_GetService checking, r=echou 2013-01-29 14:52:48 +08:00
Gina Yeh
f0f2a72ba5 Bug 811569 - Patch 2: Support array of nsString in SetJsObject, r=echou 2013-01-29 14:52:39 +08:00
Gina Yeh
93ca9b9bee Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou 2013-01-29 14:52:30 +08:00
Ed Morley
cb0790a0ed Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Gina Yeh
7313c6cb98 Bug 828798 - [Bluetooth] [HFP] No redundant +CIEV commands are sent to bluetooth headset, r=echou 2013-01-28 19:28:51 +08:00
Eric Chou
efeafb911f Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-28 19:23:15 +08:00
Eric Chou
f1a556a1f7 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-28 19:23:12 +08:00
Eric Chou
9c29db61dc Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-28 19:23:02 +08:00
Gina Yeh
a4934c9f16 Bug 827230 - [Bluetooth] [Hfp] Support feature 'Query Operator Selection' (AT+COPS?), r=echou, a=nonlibxul 2013-01-23 09:22:08 +08:00
Gina Yeh
dd518e91a0 Bug 823346 - [Bluetooth] [Hfp] Updating status change of Battery level, r=echou, a=nonlibxul 2013-01-22 13:53:28 +08:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Gina Yeh
bfa8e2199a Bug 828175 - Patch 1: [Bluetooth] [Hfp] Error handling for AT+CHLD command, r=echou 2013-01-18 18:53:00 +08:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Eric Chou
0b1b9adb3b Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Gina Yeh
7dc1a1b72b Bug 827266 - Patch 1: [Bluetooth][Hfp] Support 'call waiting notification activation', r=echou 2013-01-16 14:17:41 +08:00
Gina Yeh
502eb67eb5 Bug 827212 - Patch 2: Support feature 'Enhanced call status indications', r=echou 2013-01-16 14:13:58 +08:00
Gina Yeh
72b18d3b47 Bug 827212 - Patch 1: Move functions from public to private in BluetoothHfpManager, r=echou 2013-01-16 14:13:41 +08:00
Eric Chou
6f56a8305e Bug 829473 - Fix a wrong conditional check resulted from bug 827204, r=gyeh 2013-01-11 10:45:28 +01:00
Gina Yeh
530630a689 Bug 827255 - Patch 1: Enable AG error result code, r=echou 2013-01-11 14:00:04 +08:00
Thomas Zimmermann
c2ef416d9d Bug 827888: Fix usage of sIsParing variable [r=echou,qdot]
The variable sIsPairing signals to the Bluetooth pairing response
notifier if pairing is still requested.

Being a boolean value, the variable only supported one pairing request
at a time. To support multiple parallel pairing requests, this patch
converts it into a counter. The counter is atomic, because notifier
calls run in separate threads.

Additionally, we now set sIsPairing before starting the pairing request.
Otherwise the notifier might run before we can increment the variable.
2013-01-10 07:55:43 -08:00
Gina Yeh
1d7cd7da57 Bug 828811 - After OPP session disconnected, wait for 1 sec and close socket actively if the socket is still connected, r=echou 2013-01-10 15:14:16 +01:00
Eric Chou
54ae910692 Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot 2013-01-09 16:51:53 +01:00
Doug Turner
6c17036468 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Gina Yeh
36814f1bf2 Bug 828118 - Patch 1: Failed to answer a phone call when bluetooth headset quickly send out ATA message, r=qdot 2013-01-09 17:37:08 +08:00
Gina Yeh
711578d06b Bug 827204 - Patch 1: Activate/Deactivate indicator events reporting, r=echou 2013-01-09 14:05:34 +08:00
Eric Chou
975bccb26d Bug 827267 - Added function IsTransferring() to distinguish if there is an ongoing file-transferring session, r=gyeh 2013-01-08 14:02:00 +01:00
Gina Yeh
9e6d7c714f Bug 825861 - Patch 1: Support feature: Ability to transmit DTMF codes, r=echou 2013-01-08 17:21:00 +08:00
Gina Yeh
f171760c2a Bug 825851 - Patch 1: Handle AT command: AT+VGM, r=echou 2013-01-07 16:58:59 +08:00
Gina Yeh
dd5a70ece7 Bug 826463 - Patch 1(v1): After disconnect BT headset while in-call, audio rerouting takes too long, r=echou 2013-01-05 12:34:19 +08:00
Eric Chou
b09ac84a26 Bug 824895 - check if mConnection is ready before running SetProperty(), r=gyeh 2013-01-02 16:33:37 +08:00
Eric Chou
d38947e761 Bug 820216 - should use JS_NewUCStringCopyN to copy a Unicode string, r=gyeh 2012-12-27 10:20:17 +08:00
Eric Chou
dc097412e2 Bug 824458 - callback function set in DBus sometimes wouldn't get called, r=gyeh 2012-12-25 14:56:26 +08:00
Ms2ger
4e7e2a5d51 Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger
e1d87b9f1f Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Eric Chou
cd035247db Bug 811683 - Increase speed of sending file, r=gyeh 2012-12-20 18:36:58 +08:00
Kyle Machulis
62d07093f9 Bug 811683 - Changed UnixSocketRawData to take variable sizes up to 64k, r=cjones 2012-12-20 18:36:55 +08:00
Gina Yeh
c780c6734a Bug 820157 - Patch 1: bluetooth Hfp not sending status updates, r=echou 2012-12-20 15:28:51 +08:00
Justin Lebar
776a756b93 Bug 819791 - Part 7: Use explicit TArray copy constructors in Bluetooth code. r=qdot 2012-12-18 20:16:06 -05:00
Eric Chou
ae99da25aa Bug 820143 - implemented Calling Line Identification (CLI), r=gyeh 2012-12-17 23:24:35 +08:00
Gina Yeh
d382e74c2c Bug 820103 - Patch 1: bluetooth Hfp memory dialing and Hfp supplied number not supported, r=echou 2012-12-17 17:51:38 +08:00
Gina Yeh
22d2505705 Bug 821636 - Patch 1: No subscriber number information in Bluetooth Handsfree, r=echou 2012-12-17 17:44:32 +08:00
Eric Chou
5015117d0a Bug 823427 - Remove unnecessary buffer in ObexBase.cpp, r=gyeh, r=dholbert 2012-12-21 19:03:42 +08:00
Gina Yeh
d7405c6410 Bug 823455 - Patch 1: Fire ondisabled/onenabled event when toggling is failed, r=echou 2012-12-21 18:22:58 +08:00
Eric Chou
14c2e5fa6b Bug 814341 - fix memory leak in Bluetooth, r=gyeh 2012-12-13 20:12:04 +08:00
Eric Chou
8a48eae2bf Bug 815079 - notify DeviceStorage when a file is received and saved, r=dougt 2012-12-12 16:54:54 +08:00
Eric Chou
4fcb9b5e02 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Ed Morley
c538b0d243 Backout 8288c4940d1e (bug 818696) for crashes 2012-12-11 12:53:37 +00:00
Eric Chou
1e1e052d39 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Gina Yeh
10eabddb07 Bug 819832 - Patch 1: Sending files to Mac would fail at the end of sending process, r=echou 2012-12-11 13:55:37 +08:00
Gina Yeh
65c913b3b0 Bug 817930 - Patch 1: Support for receiving multiple files sequentially, r=echou 2012-12-07 20:12:57 +08:00
Ms2ger
fbadf3d9a2 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Gina Yeh
b078ecf2ae Bug 816859 - Patch 1: Failed to receive a file, r=echou 2012-11-30 17:49:08 +08:00
Gina Yeh
bbc00dbb68 Bug 815325 - Patch 1: Turning bluetooth on and off multiple times causes restart, r=echou 2012-11-30 17:46:55 +08:00
Boris Zbarsky
2df1c922cc Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
Ehsan Akhgari
88689f2f34 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay
1e72329799 Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Gina Yeh
199b108bb4 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou
3935daabf2 Bug 811946 - remove annoying compiler warnings and define a more structured interface for Bluetooth uuid, r=qdot 2012-11-27 14:12:19 +08:00
Eric Chou
6044c3436d Bug 814376 - Improve the mechanism for setting file extension of a blob, r=sicking 2012-11-26 20:51:29 +08:00
Gina Yeh
d1d76cc78d Bug 814555 - Patch 1: After hanging up the phone, still ring tone from bluetooth, r=echou 2012-11-26 10:35:55 +08:00
Eric Chou
c054dc033e Bug 812412 - replace full path with leaf name only, r=dougt 2012-11-21 15:53:19 +08:00
Gina Yeh
c96a085df2 Bug 812430 - Patch 1: First time connected by laptop would show empty pairing message, r=echou 2012-11-21 15:33:07 +08:00
Gregor Wagner
bad15fa73a Bug 815572 - Standardize the Bluetooth permissions name to "bluetooth". r=qdot 2012-11-27 12:10:47 -08:00
Gina Yeh
4bbb5527a1 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00
Gina Yeh
aa95503d71 Bug 812404 - Patch 1: Crash when connect with a bluetooth headset right after pairing completed, r=echou 2012-11-16 18:46:08 +08:00
David Zbarsky
bfca907d39 No bug, fix struct/class mismatch warnings 2012-11-14 21:38:26 -05:00
Gregor Wagner
1e767c97ea Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Gregor Wagner
d1ebf22b39 Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -08:00
Gregor Wagner
ec389cf5db Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Gina Yeh
f5589f5c27 Bug 811196 - Patch 1: Cannot receive call status change from RIL, r=echou 2012-11-14 19:25:19 +08:00
Eric Chou
32a1721618 Bug 809781 - Fixed sending file failure, r=gyeh 2012-11-14 14:29:11 +08:00
Eric Chou
82ffc1cb30 Bug 809538 - refactory and handle no sdcard situation, r=qdot 2012-11-07 17:46:31 -08:00
Gina Yeh
9c284b5416 Bug 809515 - Patch 1: No response when failed to connect to a headset, r=qdot 2012-11-07 15:48:39 -08:00
Gina Yeh
a2d719de86 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Eric Chou
57002946d6 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -08:00
Eric Chou
e60ed852a5 Bug 805724 - patch 5: sent correct file name to Gaia and removed received incomplete file, r=qdot 2012-11-03 09:36:49 +08:00
Eric Chou
17cd9f8f35 Bug 805724 - patch 4: fire dom request events after calling OPP related functions, r=qdot 2012-11-03 09:36:43 +08:00
Eric Chou
92f04e9b2b Bug 805724 - patch 3: let user be able to terminate receiving process by calling StopSendingFile(), r=qdot 2012-11-03 09:36:39 +08:00
Eric Chou
2bc153583a Bug 805724 - patch 2: cleanup (naming, check text width, decrease build warnings), r=qdot 2012-11-03 09:36:34 +08:00
Eric Chou
6c0d16f800 Bug 805724 - patch 1: made BluetoothOppManager listen again after disconnection, r=qdot 2012-11-03 09:36:19 +08:00
Kyle Machulis
b7bab8b529 Bug 791268: Make dylib symbol binding retry, let bluetooth firmware shutdown still work even on error; r=echou
--HG--
extra : rebase_source : f17ca1a8d3fe84a73cab3c4e0db56ee4f15fe0d1
2012-11-02 13:16:45 -07:00
Gina Yeh
0b21e4708d Bug 806713 - Patch 1: NS_ASSERTION failure in UnixSocket.cpp when create a sco socket, r=qdot 2012-11-01 19:49:07 +08:00
Kyle Machulis
b1710fac8d Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7e469ae48df6aef480e882e196ee901c27702aa8
2012-10-31 20:24:54 -07:00
Kyle Machulis
5242679a56 Backed out changeset f57c433cb7bc: Wrong patch version r=echou r=qdot
--HG--
extra : rebase_source : 51f68f0f2c32ac4f41d0bd8fb21f323331ae3418
2012-10-31 20:24:15 -07:00
Kyle Machulis
486db47187 Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7acc2d356afd1578ea9f6266e2056eb9f02571e1
2012-10-31 13:45:50 -07:00
Gina Yeh
04d3a8ad36 Bug 806296 - Patch 1(v1): Cannot create an encrypted socket, r=echou 2012-10-31 17:33:50 +08:00
Eric Chou
f73dfbb691 Bug 802080 - Update connected device address, r=qdot 2012-10-31 14:07:06 +08:00
Gina Yeh
7ef5e107ca Bug 805708 - Patch 1: Cannot answer a waiting call during a phone call when press the headset, r=qdot 2012-10-31 11:53:36 +08:00
Eric Chou
deb420ea77 Bug 803614 - [b2g-bluetooth] Save received file, r=qdot, r=dougt 2012-10-31 11:15:12 +08:00
Gina Yeh
fc3f599f06 Bug 803475 - Failed to transfer audio back to bluetooth headset while in a phone call, r=qdot 2012-10-26 17:48:47 +08:00
Gina Yeh
dd34b4b1f1 Bug 804436 - Patch 2 : Failed to connect from a headset again after turn off and turn on the headset, r=qdot 2012-10-26 17:28:39 +08:00
Gina Yeh
a3f7f89a1e Bug 804474 - Null address value in system message of "bluetooth-hfp-status-changed", r=qdot 2012-10-26 17:21:32 +08:00
Kyle Machulis
56f246da50 Bug 802288: Make BluetoothOppManager shutdown at xpcom-shutdown event; r=echou 2012-10-25 18:25:46 -07:00
Kyle Machulis
4f3285fdcf Bug 804687: Remove sHfpCommandThread from BluetoothHfpManager; r=echou 2012-10-25 18:25:15 -07:00
Gina Yeh
cf617ca4a7 Bug 804460 - Patch 1: Failed to set audio stream volume to correct value by bluetooth headset, r=qdot 2012-10-25 18:50:41 +08:00
Gina Yeh
a59063cab6 Bug 800695 - Final version: Audio route is set to sco before connecting to a bluetooth headset, r=qdot 2012-10-22 18:34:15 +08:00
Eric Chou
8d5e823c2a Bug 802590 - Patch 3: Implemented the logic, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
443e9ef49c Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
fa2b7eba2e Bug 802590 - patch 1: DOM API change, sr=mrbkap, r=qdot 2012-10-19 14:16:13 +08:00
Gabriele Svelto
cc3411e5ab Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Kyle Machulis
ac48f9fd4b Bug 800249 - Patch 2: Add ability to retreive connected socket address as a string; r=cjones 2012-10-17 17:11:05 -07:00
Eric Chou
5d3aaff109 Bug 799452 - patch 2: Parse PUT request header, r=qdot 2012-10-17 14:48:52 +08:00
Eric Chou
889978765b Bug 799452 - Patch 1: Send a system message to notify 'receiving file confirmation', r=qdot 2012-10-17 14:46:53 +08:00
Eric Chou
b85d4df899 Bug 801507 - Listen to ObjectPush service socket, r=qdot 2012-10-15 14:16:41 +08:00
Kyle Machulis
ee62993412 Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones
--HG--
extra : rebase_source : 809d46954baea51bf4053c3a48ce45b18b1a58e9
2012-10-12 11:38:14 -07:00
Ehsan Akhgari
40a0339637 Bug 779473 - Fix some nsresult abuses in the Bluetooth implementation 2012-10-13 10:45:45 -04:00
Eric Chou
1f6e9a31fd Bug 800313 - Refine system messages interface for bluetooth file-sharing app, r=qdot 2012-10-12 19:14:21 +08:00
Kyle Machulis
594b76c58e Bug 796176 - Patch 2: Make Bluetooth*Managers listen on startup/disconnect, stop listening to stop/connect; r=echou
--HG--
extra : rebase_source : 9ed9b4cc1ba445128a8ff6f90a9fb84044b7ca1a
2012-10-10 22:49:11 -07:00
Gina Yeh
5fc1043cdb Bug 794349 - Final version: Send correct +CIND: value to HS at SLC establishment, r=qdot 2012-10-09 19:19:29 +08:00
Eric Chou
2291b0cd5c Bug 799138 - [b2g-bluetooth] Handle Connect/Disconnect/Put requests sent from remote devices, r=qdot 2012-10-09 13:56:17 +08:00
Kyle Machulis
c6bfffd40f Bug 799243 - Patch 2: Fix static nsTArray initialization in BluetoothDBusService; r=echou 2012-10-08 22:00:02 -07:00
Kyle Machulis
a276279be3 Bug 799243 - Patch 1: Fix Bluetooth*Manager observer pointer types; r=echou 2012-10-08 21:59:33 -07:00
Gina Yeh
39e7cb71f5 Bug 782586 - Final version: Firing onadapteradded event when bluetooth is ready to get default adapter, r=qdot 2012-10-09 11:29:37 +08:00
Kyle Machulis
db27fd2473 Bug 798035 - Patch 2: Bluetooth SCOManager Cleanup; r=gyeh
--HG--
extra : rebase_source : 4509998c8d685cf510861ebc06616387dca6444f
2012-10-05 19:16:43 -07:00
Kyle Machulis
1aaefa52b6 Bug 798035 - Patch 1: Change Bluetooth*Manager observers to be internal classes; r=gyeh
--HG--
extra : rebase_source : 511e9c9deec5626399fc76c0630ac4ca8285a40e
2012-10-05 17:11:24 -07:00
Kyle Machulis
6913002465 Bug 796184 - Revert UnixSocketImpl to a bare pointer, make Bluetooth*Managers use CloseSocket; r=cjones r=gyeh
--HG--
extra : rebase_source : fe8f4633eb9fb86ffc4a87e6b483b3357ab9896d
2012-10-05 16:05:35 -07:00
Gina Yeh
bae321fb7a Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
185daf9347 Bug 797810 - Patch 1: Support command "AT+CKPD=200" in BluetoothHfpManager, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
2a3e70a90d Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Eric Chou
3c5ec491a7 Bug 797786 - Send system message 'Update progress', r=qdot 2012-10-05 16:11:21 +08:00
Eric Chou
0d949fabe1 Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Gina Yeh
1d84205ec3 Bug 795659 - Final version: Follow-up to bug 795458, r=qdot 2012-10-04 11:13:12 +08:00
Eric Chou
8f9fed01f1 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh
2bb01f2f8e Bug 796827 - Final version: Destroy BluetoothHfpManager instance while in shutdown, r=qdot 2012-10-03 13:53:39 +08:00
Gina Yeh
3f0fb916d1 Bug 796829 - Final version: Destroy BluetoothScoManager instance while in shutdown, r=qdot 2012-10-03 11:27:36 +08:00
Gina Yeh
349708da74 Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Gina Yeh
3945435967 Bug 795850 - Final version: BluetoothHfpManager failed to be added as observer of mozsettings-changed, r=qdot 2012-10-02 11:00:33 +08:00
Ehsan Akhgari
7de021df15 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Nathan Froyd
27b9179800 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Gina Yeh
e98a47c01b Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis
348f07e1d1 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Kyle Machulis
53cd0a1c12 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-10-01 00:03:28 -07:00
Eric Chou
53ea233ce5 Bug 795410 - patch 3: Get file content and send, r=qdot
From 01ff8209cc5242bdf6c89432899ab4658e71e58a Mon Sep 17 00:00:00 2001
2012-09-28 20:03:36 +08:00
Eric Chou
c10fa5f9db Bug 795410 - patch 2: Complete call flow, r=qdot
From 9fb76c07818c989ec8edc26b54ba84e1e6ec41ed Mon Sep 17 00:00:00 2001
2012-09-28 19:42:04 +08:00
Eric Chou
6c110db3b7 Bug 795410 - patch 1: Basic function prototype, r=qdot
From 2231ac9d0fb159edabb891f8b89afc176fb15c2b Mon Sep 17 00:00:00 2001
2012-09-28 18:59:12 +08:00
Kyle Machulis
ff94d6c921 Backing out 826ef2970e19 (Bug 790739) due to bustage
--HG--
extra : rebase_source : b9698710f280c343d5aac29441111e9848912dc8
2012-09-30 23:17:21 -07:00
Kyle Machulis
fbe3ed43ff Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
de09ce7cbc Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Kyle Machulis
8bcd4826b8 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-09-30 22:54:53 -07:00
Eric Chou
ec1ba51743 Bug 795458 - a workaround for this bug and fixed a typo, r=qdot 2012-09-30 10:45:21 +08:00