Commit Graph

600 Commits

Author SHA1 Message Date
Ehsan Akhgari
671bbdc894 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
b4cc06df88 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
79c133a0bf Bug 917220 - Fix IS_HEADSET, r=echou 2013-09-17 19:40:06 +08:00
Ben Tian
74b1d0c3d5 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
0f38e0b6ab Bug 915207 - Failed to get connected devices of A2DP, r=echou 2013-09-12 17:45:33 +02:00
Gina Yeh
f36649d5cb Bug 900880 - Remove unused system messages, r=echou 2013-09-11 14:56:48 +02:00
Gina Yeh
9232c36f20 Bug 914175 - Reply error when no profile is connected, r=echou 2013-09-11 09:21:48 +02:00
Ben Tian
1755cd59f3 Bug 911986 - [HFP] Implement RilListener for voice connection and ICC info change, r=echou 2013-09-09 19:54:56 +08:00
Gina Yeh
ebfe702c5a Bug 914076 - Send play status change event after pausing music, r=echou 2013-09-09 23:12:58 +02:00
Kyle Huey
abebd382da Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Vicamo Yang
e9a47488e4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
d32d9ebb4d 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
bf6d93be65 Bug 906305 - Patch 7: Fix BluetoothHidManager, r=echou 2013-09-06 19:21:48 +08:00
Gina Yeh
f0083ed524 Bug 906305 - Patch 6: Fix BluetoothA2dpManager, r=echou 2013-09-06 19:21:31 +08:00
Gina Yeh
33e74303c0 Bug 906305 - Patch 5: Fix BluetoothOppManager, r=echou 2013-09-06 19:21:04 +08:00
Gina Yeh
d625ba995e Bug 906305 - Patch 4: Fix BluetoothHfpManager, r=echou 2013-09-06 19:20:43 +08:00
Gina Yeh
4edcc8e685 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
49799186d1 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
d2c4d938ff Bug 906305 - Patch 1: Implementation of BluetoothProfileController, r=echou 2013-09-06 19:19:25 +08:00
Vicamo Yang
349d13eac4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Robert O'Callahan
33cdb42706 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
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Ed Morley
3f16692caf Merge mozilla-central and b2g-inbound 2013-09-04 16:50:18 +01:00
Ed Morley
2a2f5c9d13 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Phil Ringnalda
8b4379a664 Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
d2b683037b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Eric Chou
b9423ba702 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
52b7ac603e Bug 910974 - Patch 2: Cleanup, r=echou 2013-09-04 10:40:17 +08:00
Gina Yeh
96e8a119ea 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
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Bobby Holley
b8f437054d 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
191ed08f6a 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
89d970bafc 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
e57a26afcc 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
dd882f2fb2 Bug 869778 - Part 6: Bluetooth changes for msisdn. r=echou 2013-08-21 11:02:24 +08:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Ed Morley
983620f4cb Backed out changeset 9bd4fcd6d084 (bug 864485) 2013-09-04 11:51:02 +01:00
Thomas Zimmermann
1d16ad0801 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
5b04320f03 Bug 853550: Fix whitespace errors, r=echou 2013-08-29 01:21:52 +02:00
Vicamo Yang
3caf63238c Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 15:53:30 +08:00
Ed Morley
cf9819b5d1 Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Eric Chou
4f16f3b283 Bug 908490 - UnpackPropertiesMessage() should return false if there is an error, r=gyeh 2013-08-28 10:27:19 +08:00
Brian O'Keefe
2d797bffde Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal 2013-08-15 09:12:40 -04:00
Ryan VanderMeulen
49dd0e9154 Merge b2g-inbound to m-c. 2013-08-23 10:50:14 -04:00
Nicholas Nethercote
9ce6c39a8f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Thomas Zimmermann
65b578f665 Bug 906019: Implemented non-blocking GetDefaultAdapterPathInternal, r=echou,gyeh
GetDefaultAdapterPathInternal used two blocking DBus operations,
namely 'DefaultAdapter' and 'GetProperties'. The latter one depends
on the result of the former one.

The be non-blocking, GetDefaultAdapterPathInternal first make a
non-blocking 'DefaultAdapter' call. Once received, the reply handler
non-blockingly calls 'GetProperties' with the values received for
'DefaultAdapter', and put itself in place as this call's reply
handler. For this second reply, it finally schedules the Bluetooth
reply runnable.

--HG--
extra : rebase_source : aa0872a5db69c928ca25723952fe2928ef52d107
2013-08-20 10:27:36 +02:00
Thomas Zimmermann
bea8417e01 Bug 906019: Remove GetPropertiesReplyHandler, r=echou,gyeh
...because there is no need for this base class.

--HG--
extra : rebase_source : 0e1c3b40012f6132ae25611c00789b7f206e72d8
2013-08-23 11:39:52 +02:00
Ms2ger
5e3caea55b Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Hsin-Yi Tsai
4b28bcdf1b Bug 772765 - part4 - BT impl. r=gyeh 2013-07-09 17:20:57 +08:00