Ben Tian
9e476f1783
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
9d5d30d8a1
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
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Boris Zbarsky
70c2953003
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]
a5518c1c58
Bug 881142 - Part 3: Remove call state busy (bluetooth dom). r=gyeh
2013-07-15 08:54:07 -04:00
Ben Tian
424e19f955
Bug 891202 - [Bluetooth][OPP cleanup] Unify obex data sending function, r=echou
2013-07-10 11:20:13 +08:00
Ryan VanderMeulen
ae807eef57
Merge m-c to birch.
2013-07-12 13:31:17 -04:00
Trevor Saunders
f33ade0d68
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
7038f1a697
Bug 875721 - Part 4: Bluetooth changes for iccInfo. r=echou
2013-05-30 18:56:11 +08:00
Thomas Zimmermann
90077dbf0a
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
a96bc3f7be
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
dc4eb54b87
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Phil Ringnalda
da562a9c59
Merge birch and inbound to central
2013-07-04 18:11:28 -07:00
Eric Chou
4a9e7fa0c5
Bug 884253 - Define new error messages for Bluetooth profiles, r=gyeh
2013-07-04 17:45:06 +08:00
Mike Shal
d5df6bb361
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
daaef03958
Merge m-c and inbound.
2013-07-03 09:14:15 -04:00
Ben Tian
334078d88a
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
b5ce9bb471
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
2af42ae713
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Justin Lebar
3e059c7221
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
051c5b560a
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
156426771a
Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey
2013-06-26 14:51:06 -04:00
Thomas Zimmermann
e16614d9ba
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
e2f9cd0dde
Bug 883619 - No busy tone on Bluetooth Car kit, r=gyeh
2013-06-24 12:10:07 +08:00
Gina Yeh
368e37faa8
Bug 873919 - Remove old system messages for Bluetooth pairing requests, r=echou
2013-06-20 12:14:09 +08:00
Gina Yeh
d4801377c8
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
20f995abc1
Bug 882551 - Patch 4: Remove BluetoothA2dpManagerObserver, r=qdot, r=mrbkap, r=echou
2013-06-20 09:20:02 +08:00
Gina Yeh
6af57fc8e2
Bug 882551 - Patch 3: Remove BluetoothOppManagerObserver, r=qdot, r=mrbkap, r=echou
2013-06-20 09:19:46 +08:00
Gina Yeh
c79345626f
Bug 882551 - Patch 2: Remove BluetoothHfpManagerObserver, r=qdot, r=mrbkap, r=echou
2013-06-20 09:19:31 +08:00
Gina Yeh
1499788e39
Bug 882551 - Patch 1: BluetoothProfileManagerBase inherits nsIObserver, r=qdot, r=mrbkap, r=echou
2013-06-20 09:19:15 +08:00
Thomas Zimmermann
ec5028a72c
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
67d0fb5343
Bug 883505 - [Bluetooth] Support for CHLD=0 of HFP, r=echou
2013-06-18 15:42:10 +08:00
Jon Coppeard
a30b14261f
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
6a87e37411
Bug 882443: Check for connection before asserting in BluetoothA2dpManager::Disconnect; r=gyeh r=shuang
2013-06-14 18:29:20 -07:00
Ben Tian
9110d06780
Bug 879635 - [Bluetooth] [Hfp] Implement HFP 1.6 indicators activation and deactivation, r=echou
2013-06-07 16:54:13 +08:00
Eric Chou
c12b12b7e7
Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh
2013-06-11 18:24:19 +08:00
Gina Yeh
6da61d9335
Bug 881606 - BluetoothA2dpManager doesn't receive any sink property changed, r=echou
2013-06-11 14:47:48 +08:00
Gina Yeh
11fdbf1d77
Bug 878745 - followup patch, r=vyang
2013-06-10 19:17:25 +08:00
Gina Yeh
c9e209a7b9
Bug 878745 - BluetoothService cleanup, r=echou
2013-06-10 12:18:00 +08:00
Gina Yeh
54c2ac4730
Bug 872907 - Patch 5: Handle A2DP status changed in AudioManager, r=echou, r=mwu
2013-06-08 23:26:28 +08:00
Gina Yeh
bca648bfc7
Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap
2013-06-08 23:26:01 +08:00
Gina Yeh
7acf3408a1
Bug 872907 - Patch 3: Handle Sink property change, r=echou, r=mrbkap
2013-06-08 23:25:41 +08:00
Gina Yeh
0d6dda1c7a
Bug 872907 - Patch 2: Implement SendSinkMessage in BluetoothService, r=echou, r=mrbkap
2013-06-08 23:25:18 +08:00
Gina Yeh
7b631f0b3f
Bug 872907 - Patch 1: Implement BluetoothA2dpManager, r=echou, r=mrbkap
2013-06-08 23:24:29 +08:00
Shawn Huang
422a1ec197
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
bed7bf866d
Bug 878728 - Support in-band ringtone, r=echou
2013-06-05 16:53:22 +08:00
Arnaud Sourioux
8ebb1ca3e6
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Thomas Zimmermann
96fb8c658b
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
7a57639bd9
Bug 878672 - Remove extra CRLF of result codes, r=echou
2013-06-03 15:04:10 +08:00
Shawn Huang
e5335eeb68
Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou
2013-06-01 10:07:24 +08:00
Thomas Zimmermann
3fb8451dec
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
5bdf29ab6d
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
b61bb4e699
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
f458810e2e
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
32a90540f5
Backed out changeset 662f6427c909 (bug 872890) for debug bustage.
2013-05-31 12:12:41 -04:00
Shawn Huang
28747bf68d
Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou
2013-05-31 11:07:21 +08:00
Gabor Krizsanits
54aa4ccd06
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02:00
Ryan VanderMeulen
1226863031
Merge m-c to inbound.
2013-05-30 07:47:14 -04:00
Eric Chou
fe8af01a74
Bug 877087 - Clear mDsFile after the OPP connection is dropped, r=gyeh
2013-05-30 15:00:06 +08:00
Gina Yeh
9fe0c5b821
Backed out changeset 8cdcc0221c0f for build bustage DONTBUILD
2013-05-30 10:50:19 +08:00
Shawn Huang
a92386d8dd
Bug 872890:Reset HFP call array when RIL reports NotifyError(), r=echou
2013-05-30 09:33:48 +08:00
Ed Morley
8a9ae6677a
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Eric Chou
775be416f3
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
39261467eb
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
5169c0a913
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
4ca9c70f89
Bug 875251 - Push the JSContexts that get used in BluetoothAdapter, r=gabor
2013-05-23 07:10:00 -07:00
Thomas Zimmermann
98f8611e38
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
04ddf0745e
Bug 853235 - Patch 2: Keep original mechaniems of bluetooth pairing requests, r=echou
2013-05-27 09:45:06 +08:00
Eric Chou
8d70ccdda9
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
f371a586ec
Bug 875016: Fix return type for UpdateSdpRecords; r=echou
2013-05-23 12:27:54 -07:00
Bobby Holley
f2943090bd
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
01402a7f2f
Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor
2013-05-22 10:05:27 -06:00
Eric Chou
f906b641d5
Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh
2013-05-22 19:08:21 +08:00
Eric Chou
7da1f04cb2
Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh
2013-05-22 19:08:17 +08:00
Hsin-Yi Tsai
357786abe2
Bug 823958 - BT impl- TelephonyListener::EnumerateCallStateComplete (part 4/4). r=gyeh
2013-05-10 15:00:01 +08:00
Jon Coppeard
9c540a5368
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Gina Yeh
435cd35046
Bug 853235 - Combine pairing-related system messages into one type, r=echou
2013-05-20 15:34:45 +08:00
Thomas Zimmermann
f23d6f120d
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
cda3054fe8
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
995052ce79
Backed out changeset 94978dab7186 (bug 863069) for build bustage.
...
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
4b45bf9e76
Bug 863069 - Part 4: More sorting of existing lists; r=ted
2013-05-16 09:53:27 -07:00
Eric Chou
c005576fa2
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]
7237bc1d11
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
8a6beecda8
Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh
2013-05-13 18:08:40 +08:00
Dave Hylands
c53a4e7f72
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
bc36900668
Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures.
2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c
Bug 858416 - Create a composite device storage interface. r=dougt
2013-05-11 02:10:18 -07:00
Gina Yeh
c9d8f53fef
Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou
2013-05-11 14:06:16 +08:00
Shawn Huang
d950524c96
Bug 870304: Fix misssing icon when getting paired/connected list, r=echou
2013-05-11 00:03:55 +08:00
Gina Yeh
5c04951efe
Bug 830213 - Patch 3: Remove BluetoothScoManager, r=echou
2013-05-10 19:03:25 +08:00
Gina Yeh
725f4e197f
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
bccf590a6b
Bug 830213 - Patch 1: Add ConnectSco, DisconnectSco, IsScoConnected in nsIDOMBluetoothAdapter, r=echou, sr=mrbkap
2013-05-10 18:58:59 +08:00
Shawn Huang
77a3d4dcb3
Bug 869306: Update call direction if call state changes, r=echou
2013-05-10 17:47:16 +08:00
Hsin-Yi Tsai
d46bece2b0
Bug 869306 - Add call.isOutgoing for BT Cert. r=allstars.chh
2013-05-08 18:39:05 +08:00
Eric Chou
181f73a601
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
307b4be53f
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
b55b5aa158
Bug 869337 - Fix missing At comman reply OK after +COPS, r=gyeh, r=echou
2013-05-10 13:46:50 +08:00
Eric Chou
4ec461dfed
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
82b92c045e
Bug 869296 - Do 'Last Number Redial' when we receive ATD>n, r=gyeh
2013-05-09 22:10:28 +08:00