Commit Graph

68 Commits

Author SHA1 Message Date
Nathan Froyd
b095d63d5d 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
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
4edcc8e685 Bug 906305 - Patch 3: Remove BluetoothReplyRunnable in SendInputMessage. Error handling for dbus error, r=echou 2013-09-06 19:20:27 +08: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
Gina Yeh
9edb7b4db6 Bug 889795 - Reply 'Authorize' signal for supported profile, r=echou, sr=mrbkap 2013-08-14 13:54:18 +08: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
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
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
Alive Kuo
b2f4623018 Bug 887650 - Append extra information about activity caller in system message. r=gene 2013-07-25 13:18:24 -04:00
Eric Chou
33471a88f6 Bug 891257 - Disconnect gracefully when the user turns off Bluetooth, r=mrbkap 2013-08-08 17:51:37 +08: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
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
1d2d5b22e3 Bug 878745 - BluetoothService cleanup, r=echou 2013-06-10 12:18:00 +08:00
Gabor Krizsanits
94a2af0a2c Bug 875405 - fixing unpushed cx usages. r=bholley 2013-05-30 16:54:46 +02:00
Jon Coppeard
6fec5f0632 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01: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
Gina Yeh
cb157d5ef0 Bug 853235 - Patch 2: Keep original mechaniems of bluetooth pairing requests, r=echou 2013-05-27 09:45:06 +08: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
Gina Yeh
414da4c45b Bug 853235 - Combine pairing-related system messages into one type, r=echou 2013-05-20 15:34:45 +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
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
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
Gina Yeh
7276942610 Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Gregor Wagner
404ddb1215 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent 2013-02-14 16:45:13 -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
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
fa09a368dc Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 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
f0f2a72ba5 Bug 811569 - Patch 2: Support array of nsString in SetJsObject, r=echou 2013-01-29 14:52:39 +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
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
9c29db61dc Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-28 19:23:02 +08:00
Eric Chou
54ae910692 Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot 2013-01-09 16:51:53 +01: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
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
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
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
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
Ehsan Akhgari
40a0339637 Bug 779473 - Fix some nsresult abuses in the Bluetooth implementation 2012-10-13 10:45:45 -04: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