Commit Graph

609 Commits

Author SHA1 Message Date
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