Commit Graph

811 Commits

Author SHA1 Message Date
Jamin Liu
14608576aa Bug 943753 - Fix the incorrect condition for synchronous connection to support HSP. r=echou
We don't need to check SLC status for HSP.
2013-12-02 16:38:51 +08:00
Ben Tian
a21c6b6e29 Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou 2013-12-02 10:39:58 +08:00
Ben Tian
47bb7aa534 Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou 2013-11-29 14:18:04 +08:00
Ben Tian
1ad0367958 Bug 921991 - B2G BT: support multiple sim cards, r=echou, r=mrbkap 2013-11-26 14:11:06 +08:00
Jamin Liu
d613f625f0 Bug 937074 - [Bluetooth] Make sure SLC established before we set up SCO. r=echou 2013-11-26 11:28:10 +08:00
Shawn Huang
ced02707a8 Bug 939500 - [bluedroid] Avrcp 1.3 prototype, r=echou 2013-11-22 23:40:22 +08:00
Eric Chou
d2b2f6bd8c Bug 932543 - Check data size before memcpy in BluetoothOppManager, r=gyeh 2013-11-22 11:55:42 +08:00
Szu-Yu Chen [:aknow]
85de6e4a45 Bug 856553 - Part 3: Add radiostatechange in listener (bluetooth). r=gyeh 2013-11-21 09:09:01 -05:00
Shawn Huang
c93895bf4e Bug 941574 - [bluedroid] Fix sometimes outgoing connection fails due to Reset() mis-placed, r=echou 2013-11-21 20:17:10 +08:00
Shawn Huang
8fea4aff20 Bug 941564 - [bluedroid] Update BD address while an incoming connection established, r=echou 2013-11-21 20:17:07 +08:00
Shawn Huang
af24ad3ad4 Bug 935882 - [bluedroid] Support GetConnectedDevice API, r=echou 2013-11-21 18:12:45 +08:00
Eric Chou
3acf0d2d68 Bug 941416 - Fix regression of bug 936995, r=gyeh 2013-11-21 12:58:04 +08:00
Shawn Huang
937b91c858 Bug 935578 - Patch 3: Enable connect/disconnect, r=echou 2013-11-20 16:19:09 +08:00
Shawn Huang
de7d3246e2 Bug 935578 - Patch 2: BluetoothA2dpManager bluedroid version, r=echou 2013-11-20 16:19:09 +08:00
Shawn Huang
3308e127dd Bug 935578 - Patch 1: Separate BluetoothA2dpManager implementation for bluez/bluedroid stack, r=echou 2013-11-20 16:19:08 +08:00
Eric Chou
8855291faa Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh 2013-11-20 15:01:54 +08:00
Eric Chou
fc53895714 Backed out changeset 40ecdab580b3 (bug 936995) for potential JB build error 2013-11-20 15:17:00 +08:00
Eric Chou
e6daad1cd4 Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh 2013-11-20 15:01:54 +08:00
Eric Chou
5af154446f Bug 940271 - Don't fire PropertyChanged if the device address has been already in the array, r=gyeh 2013-11-19 20:13:02 +08:00
Gina Yeh
17dd18187e Bug 932914 - Broadcast AdapterAdded after adapter name is updated, r=echou 2013-11-19 15:58:48 +08:00
Ben Tian
a4e3a52112 Bug 938524 - Bluedroid HFP prototype, r=echou 2013-11-18 15:41:16 +08:00
Ben Tian
94e89deac6 Bug 938521 - Make bt interface accessible from profile managers, r=echou 2013-11-14 17:45:26 +08:00
Eric Chou
c238635a93 Bug 939669 - Append missed properties to BluetoothAdapter, r=gyeh 2013-11-19 11:12:17 +08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Shawn Huang
ee7d258415 Bug 938529 - [bluedroid] Set BT_SCAN_MODE to Connectable after Bluetooth turned on. r=echou 2013-11-18 12:39:03 -05:00
Ben Tian
d29f02da1b Bug 936732 - Patch 2/3: BT file changes, r=khuey 2013-11-18 14:29:45 +08:00
Ben Tian
0279b76fae Bug 936732 - Patch 1/3: relocate files, r=echou 2013-11-14 17:30:32 +08:00
Eric Chou
f37223aadf Bug 933113 - Modify Pair/Unpair interface for Gaia being able to Pair/Unpair with only BD address, r=gyeh, sr=mrbkap
NFC handover is a mechanism for two devices to exchange their Bluetooth device
address with each other. Then one device would be initialize the Bluetooth
pairing process with received Bluetooth device address. However currently we
need a BluetoothDevice object for Pairing/Unpairing, but actually the address
of the Bluetooth device object is the only thing Gecko requires.
2013-11-15 17:19:31 +08:00
Ben Tian
e623b2c1ad Bug 937572 - debug build MOZ_ASSERT fails in BluetoothOppManager::Disconnect(), r=echou 2013-11-15 09:42:53 +08:00
Eric Chou
90c8be2215 Bug 937973 - Fix discoverable not working problem, r=gyeh 2013-11-14 14:51:17 +08:00
Eric Chou
74e291e0c0 Bug 936711 - Fix crash which happened at disabling Bluetooth during reconnection, r=gyeh 2013-11-12 17:37:30 +08:00
Ben Tian
ba5eed092f Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou 2013-11-12 11:59:01 +08:00
Gregor Wagner
1aec9cc529 Backout 69acb8830b8c for real. 2013-11-11 10:40:50 -08:00
Gregor Wagner
5df0704249 Backout 26407a874057 for causing Bug 937199. 2013-11-11 10:28:56 -08:00
Ben Tian
aa1eeeceab Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou 2013-11-11 14:16:28 +08:00
Carsten "Tomcat" Book
905fe735af merge b2g-inbound to mozilla-central 2013-11-11 12:03:04 +01:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ben Tian
7287f4d0fa Bug 921991 - B2G BT: support multiple sim cards, r=echou 2013-11-08 14:41:12 +08:00
Shawn Huang
a1c09137f7 Bug 932770 - [bluedroid] Implement GetPairedDeviceInternal, r=echou 2013-11-08 23:25:20 +08:00
Gina Yeh
3e6d25c78b Bug 934891 - Remove DISCONNECTING state from A2DP, r=echou 2013-11-08 12:53:27 +08:00
Ben Tian
ef3f933806 Bug 934552 - Crash in bluetooth while monkey testing, r=echou 2013-11-06 14:26:46 +08:00
Ben Tian
3cd142b992 Bug 897782 - Support Multiple BT file transfering, r=echou 2013-11-05 15:53:10 +08:00
Gina Yeh
60e1d9d07c Bug 935368 - Wrong interface for dbus method of DefaultAdapter, r=echou 2013-11-06 19:46:23 +08:00
Shawn Huang
9b32fc9d8e Bug 932682 - [bluedroid] Support Pair/Unpair, Bond state changed callback, r=echou 2013-11-05 19:30:46 +08:00
Ryan VanderMeulen
bdb89f6681 Merge b2g-inbound to m-c. 2013-11-04 16:17:59 -05:00
Carsten "Tomcat" Book
dc3520d4b7 merge b2g-inbound to mozilla-central 2013-11-04 13:52:18 +01:00
Shawn Huang
c5092b0c54 Bug 931802 - [bluedroid] Support DeviceFound/DiscoveryStateChange callback, r=echou 2013-11-04 19:05:48 +08:00
Gina Yeh
a78e003eff Bug 933195 - Replace object path with device address, r=echou 2013-11-04 14:42:51 +08:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Hsin-Yi Tsai
ac71b9a804 Bug 912849 - part5 - BT impl. r=gyeh 2013-10-28 14:48:59 +08:00
Szu-Yu Chen [:aknow]
fed3573d63 Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh 2013-10-31 08:06:28 -04:00
Edgar Chen
dba3f9d142 Bug 926343 - Part 3: Bluetooth changes for adding clientId in nsIIccProvider. r=gyeh 2013-09-30 18:22:33 +08:00
Ryan VanderMeulen
6a6ba035dd Backed out 9 changesets (bug 814625) for desktop build bustage.
Backed out changeset a107de5616a0 (bug 814625)
Backed out changeset 416665a419f4 (bug 814625)
Backed out changeset b6fc8734864f (bug 814625)
Backed out changeset 9f5e2e44a914 (bug 814625)
Backed out changeset 17b3050df362 (bug 814625)
Backed out changeset 43a047c081c8 (bug 814625)
Backed out changeset 90bdcd099320 (bug 814625)
Backed out changeset 8957cc31cce2 (bug 814625)
Backed out changeset de45eb7a8d16 (bug 814625)
2013-10-30 15:48:39 -04:00
Szu-Yu Chen [:aknow]
3a0706dbd2 Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh 2013-10-30 15:07:15 -04:00
Shawn Huang
537f574ab5 Bug 930853 - [Bluetooth] Support SetProperty function which enables SetName, SetDiscoverable, SetDiscoveryTimeout, r=echou 2013-10-30 19:23:39 +08:00
Shawn Huang
f06729ee5e Bug 929941- Listening bluetooth address, name, scan mode events for bluedroid stack, r=echou 2013-10-30 13:46:03 +08:00
Jessica Jong
cb27ea8e51 Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh 2013-10-30 12:03:25 +08:00
Ed Morley
4326269d4b Merge mozilla-central and b2g-inbound 2013-10-29 16:34:46 +00:00
Vicamo Yang
5d8c284fed Bug 920551 - 2.i/2: fix Bluetooth. r=echou 2013-10-29 16:12:46 +08:00
Gina Yeh
bf4d8aa3f7 Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou 2013-10-28 12:07:15 +08:00
Gina Yeh
225c35bd47 Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou
For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
2013-10-28 12:07:01 +08:00
Gina Yeh
a68bd93e34 Bug 913372 - Patch 1: Refine the architecture of BluetoothProfileController, r=echou 2013-10-28 12:06:38 +08:00
Shawn Huang
28e905d633 Bug 929891 - [Bluetooth][bluedroid] Enable/Disable Bluetooth, r=echou 2013-10-28 12:05:17 +08:00
Chuck Lee
b001ef58c6 Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi 2013-10-25 10:00:22 +08:00
Ed Morley
815b5c0198 Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Ed Morley
d7fe23f9e5 Backed out changeset 9302086dcead (bug 920551) 2013-10-25 10:52:17 +01:00
Ed Morley
344cf393db Backed out changeset 704e9cae5ed6 (bug 913372) 2013-10-25 10:52:11 +01:00
Ed Morley
ed54a2de58 Backed out changeset cfd0b69ef12b (bug 913372) 2013-10-25 10:52:08 +01:00
Ed Morley
33dc58364f Backed out changeset 10ad5c75e102 (bug 913372) 2013-10-25 10:52:05 +01:00
Thomas Zimmermann
f724a6fb00 Bug 923647: Replace GetDefaultAdapterAdapter by non-blocking implementation, r=echou
GetDefaultAdapter blocks while querying the default Bluetooth
adapter. This patch replaces the function with a non-blocking
call to DBus. The reply is handled in a callback function.

As a side effect, this change also removes an invalid warning in
cases where no default adapter is available, and enabling Bluetooth
seems a bit faster.

--HG--
extra : rebase_source : ad3cbb2ccc8ac98b3c8e6d56e47822da0afb07f1
2013-10-25 09:50:07 +02:00
Gina Yeh
d9324ff476 Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou 2013-10-25 14:22:23 +08:00
Gina Yeh
df457d5d1e Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou
For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
2013-10-25 14:21:56 +08:00
Gina Yeh
34ad62a42a Bug 913372 - Patch 1: Refine the architecture of BluetoothProfileController, r=echou 2013-10-25 14:20:09 +08:00
Vicamo Yang
b748f48265 Bug 920551 - 2.i/2: fix Bluetooth. r=echou 2013-10-25 11:07:48 +08:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Trevor Saunders
e4cd176c9e [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Birunthan Mohanathas
7b51758e7a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Shawn Huang
d7e831b48e Bug 880610: Part3-[Bluetooth]bluedroid-Prototype: BluetootServiceBluedroid, r=echou 2013-10-23 14:12:24 +08:00
Shawn Huang
0b5010268a Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack, r=echou 2013-10-23 14:12:24 +08:00
Shawn Huang
9f3225665a Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium 2013-10-23 14:12:24 +08:00
Dave Hylands
9cbe703498 Backout 033a0cdb8c03 (Bug 818353) due to causing bug 929815. 2013-10-22 21:12:04 -07:00
Eric Chou
c886826721 Backed out changeset 089f015f15bb and e907ab075ec8 (bug 880610) for hitting MOZ_ASSERT 2013-10-19 16:01:25 +08:00
Eric Chou
c3fb0aed0d Backed out changeset e09e6815a873 (bug 928214) for crashing Settings app 2013-10-19 15:52:35 +08:00
Shawn Huang
277f562884 Bug 928214 - [Bluetooth]bluedroid-Prototype: BluetootServiceBluedroid, r=echou 2013-10-19 13:04:30 +08:00
Carsten "Tomcat" Book
5310a97558 Merge mozilla-central to b2g-inbound 2013-10-18 12:00:14 +02:00
Carsten "Tomcat" Book
81022cc152 merge b2g-inbound to mozilla-central 2013-10-18 11:39:28 +02:00
Jessica Jong
0e1c559e4b Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh 2013-10-18 15:01:03 +08:00
Shawn Huang
1ccf4eb5bd Bug 880610: Part2-Add build flag in UnixSocket to distinguish between bluez and bluedroid stack. r=echou 2013-10-17 18:25:55 +08:00
Shawn Huang
09b63ac029 Bug 880610: Part1-Add build flag to support both bluez/bluedroid stacks, r=glandium 2013-10-17 18:25:50 +08:00
Ben Tian
6a731ff719 Bug 925638 - Patch 2/3: implement new webidl functions, r=echou 2013-10-16 10:38:13 +08:00
Ben Tian
2854effd36 Bug 925638 - Patch 1/3: hfp cdma-handling functions, r=echou 2013-10-17 12:40:17 +08:00
Steve Fink
fca158bdf5 Bug 925916 - Handlify a few things in bluetooth, r=smaug 2013-10-16 10:44:50 -07:00
Ben Tian
3d3697c1c9 Bug 932192 - Refactor OPP manager for multiple file transfer, r=echou 2013-11-01 11:21:13 +08:00
Eric Chou
5fc473c0fb Bug 925663 - Establish HSP connection if and only if HFP service record couldn't be found, r=gyeh 2013-10-14 17:29:21 +08:00
Edgar Chen
61a4797b38 Bug 873380 - Part 2: Bluetooth changes for iccCardLockError. r=echou 2013-09-25 16:36:29 +08:00
Thomas Zimmermann
8ad6e475e5 Bug 922617: Don't inherit BluetoothDBusService from RawDBusConnection, r=echou
BluetoothDBusService uses RawDBusConnection, but isn't one. With
this patch, the connection is instead maintained as a field of
the class.

This change also allows to delete the class instance when the
connection gets closed, which will allow for further cleanups
of the DBus connection handling within Bluetooth.
2013-10-01 12:29:02 +02:00
Thomas Zimmermann
68f2e77d97 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
33616a85dc Merge m-c to b-i 2013-10-03 08:00:21 -07:00
Ms2ger
2f7a94dd23 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
a6cef081b4 Bug 912376 - SCO wouldn't be dropped after SLC was disconnected, r=btian 2013-10-03 10:12:46 +08:00
Thomas Zimmermann
b951e3bea6 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
114f1f976d 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
c14b5b4907 Bug 913374 - Use nsRefPtr for BluetoothProfileController in profile managers, r=echou 2013-10-01 15:26:40 +08:00
Eric Chou
fa31edfa4c 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
98723f4c48 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
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
dee6c12c6f 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
31b2fedfbc Bug 917220 - Fix IS_HEADSET, r=echou 2013-09-17 19:40:06 +08:00
Ben Tian
50c668cd29 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
d4a6ec7c7b Bug 915207 - Failed to get connected devices of A2DP, r=echou 2013-09-12 17:45:33 +02:00
Gina Yeh
27141a5f24 Bug 900880 - Remove unused system messages, r=echou 2013-09-11 14:56:48 +02:00
Gina Yeh
f80a3771d9 Bug 914175 - Reply error when no profile is connected, r=echou 2013-09-11 09:21:48 +02:00
Ben Tian
a5f2d7f641 Bug 911986 - [HFP] Implement RilListener for voice connection and ICC info change, r=echou 2013-09-09 19:54:56 +08:00
Gina Yeh
1cef7c0b96 Bug 914076 - Send play status change event after pausing music, r=echou 2013-09-09 23:12:58 +02:00
Kyle Huey
a53f6f80b6 Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Vicamo Yang
7252df0bea Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
d82368f831 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
9f4bfb5397 Bug 906305 - Patch 7: Fix BluetoothHidManager, r=echou 2013-09-06 19:21:48 +08:00
Gina Yeh
8564ab3d30 Bug 906305 - Patch 6: Fix BluetoothA2dpManager, r=echou 2013-09-06 19:21:31 +08:00
Gina Yeh
40c9fe3f0f Bug 906305 - Patch 5: Fix BluetoothOppManager, r=echou 2013-09-06 19:21:04 +08:00
Gina Yeh
74aca70d8f Bug 906305 - Patch 4: Fix BluetoothHfpManager, r=echou 2013-09-06 19:20:43 +08:00
Gina Yeh
4ac899ce79 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
1d046be039 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
5900851981 Bug 906305 - Patch 1: Implementation of BluetoothProfileController, r=echou 2013-09-06 19:19:25 +08:00
Vicamo Yang
3f03665fbf Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Robert O'Callahan
8ca63f18ef 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
10df022340 Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Ed Morley
98663d5170 Merge mozilla-central and b2g-inbound 2013-09-04 16:50:18 +01:00
Ed Morley
18a47a0e8e Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Phil Ringnalda
90f3149a6c Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
4ed4d84d72 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Eric Chou
3dc523f7dc 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
eb145d6c12 Bug 910974 - Patch 2: Cleanup, r=echou 2013-09-04 10:40:17 +08:00
Gina Yeh
df9b5223ee 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
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Bobby Holley
1e72ccd895 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
d74157039d 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
afae6934d4 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
667d0d91df 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
98dff426ed Bug 869778 - Part 6: Bluetooth changes for msisdn. r=echou 2013-08-21 11:02:24 +08:00
Andrew McCreight
3228f67147 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Ed Morley
29ff7437c4 Backed out changeset 9bd4fcd6d084 (bug 864485) 2013-09-04 11:51:02 +01:00
Thomas Zimmermann
26fc503b83 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
7818ac47ad Bug 853550: Fix whitespace errors, r=echou 2013-08-29 01:21:52 +02:00
Vicamo Yang
f58d71463a Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 15:53:30 +08:00