Commit Graph

54 Commits

Author SHA1 Message Date
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Jan de Mooij
c291b790a9 Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij
f3ccbe5797 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Jocelyn Liu
d2c814a4a9 Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-16 09:38:50 +08:00
Shawn Huang
3e63545c77 Backed out changesets 0832ffdd8144 for Bug 1167064 2015-06-15 19:05:03 +08:00
Jocelyn Liu
cb70c4f158 Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-15 17:11:35 +08:00
Bruce Sun
8d7643c9b3 Bug 1171868 - Remove GeneratePathFromGattId(aId, aPath, aUuidStr); r=jocelyn 2015-06-11 18:06:43 +08:00
Bruce Sun
1a968c0a6d Bug 1171866 - Remove ReversedUuidToString; f=tzimmermann, r=jocelyn 2015-06-11 18:01:00 +08:00
Ryan VanderMeulen
f54e393bde Backed out changeset 150544a28405 (bug 1167064) for B2G mochitest failures. 2015-06-08 15:41:26 -04:00
Jocelyn Liu
c0d4703750 Bug 1167064 - Switch to bluetooth APIv2. r=shuang 2015-06-04 02:59:00 -04:00
Thomas Zimmermann
b69c35e17d Bug 1164498: Remove |DispatchBluetoothReply|, r=btian
This patch removes |DispatchBluetoothReply|. The only remaining user
is |BluetoothDBusService|, but it comes with its own implemenation of
the function.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
8977bb28d7 Bug 1164498: Cleanup Bluetooth utility functions for dispatching replies, r=btian
This patch adds support for |DispatchReplySuccess| and |DispatchReplyError|
to Bluetooth v1.
2015-05-19 12:28:38 +02:00
Carsten "Tomcat" Book
b6327979f4 Merge mozilla-central to b2g-inbound 2015-05-04 15:26:45 +02:00
Jamin Liu
19a0334c68 Bug 1063444 - Implement LE scan related methods and LE device event. r=joliu, r=mrbkap 2015-05-04 18:59:02 +08:00
Andrew McCreight
4af1ed5d3c Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Jocelyn Liu
263f00387d Bug 1138267 - Unregister bluetooth signal handlers in unlink. r=shuang, r=bz
Without unregistering the bluetooth signal handler when a object unlinked, we
might end up exposing a deleted object to JS or accessing deleted objects while
receiving signals from parent process.

This patch unregister signal handlers in unlink for each Bluetooth* classes
which registers signal handlers. And also checks if the signal handler is not
unregistered before handling signals in content process.
2015-04-27 22:46:00 -04:00
Thomas Zimmermann
962ea97b35 Bug 1154235: Use |snprintf| in Bluetooth utililities, r=btian
The use of |sprintf| is unsafe and generally deprecated. This patch
replaces |sprintf| in the Bluetooth utilities with |snprintf|.
2015-04-16 10:48:21 +02:00
Thomas Zimmermann
7be654cf65 Bug 1154235: Share BluetoothUtils.{cpp,h} between Bluetooth v1 and v2, r=btian
With this patch, Bluetooth v1 and v2 share the same files for
BluetoothUtils.{cpp,h}. Some of the functions are still version specific
and cannot be shared. The v1 variants can be removed after switching to
v2.
2015-04-16 10:48:21 +02:00
Thomas Zimmermann
6b0d1d142b Bug 1154235: Move dom/bluetooth/bluetooth2/BluetoothUtils.{cpp,h} to /dom/bluetooth, r=btian 2015-04-16 10:48:21 +02:00
Thomas Zimmermann
7b1c8a0c6e Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu 2015-04-09 15:57:40 +02:00
Tom Schuster
7c3552a7df Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Thomas Zimmermann
2be9b80b07 Bug 1105308: Merge BluetoothUtils.{cpp,h}, r=btian
This patch merges BluetoothUtils.{cpp,h} from BlueZ and Bluedroid
backends. The resulting files of the same name are located in the
generic code's directory.

This change requires a rebuild of dependency information, so the
patch touches CLOBBER as well.
2014-11-28 11:49:40 +01:00
Ben Tian
54f3834973 Bug 939022 - BluetoothUtils for bluedroid. Patch 1/3: Move files, r=echou 2013-12-16 19:00:54 +08:00
Ben Tian
efd90d4ac9 Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou 2013-12-06 12:20:07 +08:00
Ms2ger
503d7fdd5e No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Birunthan Mohanathas
fd194c1851 Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Nathan Froyd
b4a5129cce 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
ee429297ad 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
17a1e1cb33 Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou 2013-08-02 18:32:57 +08:00
Jon Coppeard
7ab147be05 Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Ryan VanderMeulen
d1ff360637 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Alive Kuo
4c291a038f Bug 887650 - Append extra information about activity caller in system message. r=gene 2013-07-25 13:18:24 -04:00
Jon Coppeard
3c93e78516 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Bobby Holley
c9c266aea9 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
3587c0ac6b Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Jose Cortes
c6d2e72827 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden 2013-04-02 16:06:14 -07:00
Eric Chou
8fc34159bc Bug 842214 - Replace JS_NewStringCopyN with JS_NewUCStringCopyN, or non-ascii chars would be shown incorrectly, r=gyeh 2013-02-18 16:02:23 +08:00
Gina Yeh
6e59996032 Bug 838499 - Assertion failed in function SetJsObject(), r=echou 2013-02-06 20:07:27 +08:00
Gina Yeh
24292f08d5 Bug 835740 - Modified BRSF value in hands-free profile, r=echou 2013-01-30 12:33:23 +08:00
Gina Yeh
c6dfafa63d Bug 811569 - Patch 2: Support array of nsString in SetJsObject, r=echou 2013-01-29 14:52:39 +08:00
Eric Chou
354dd7a1ed Bug 820216 - should use JS_NewUCStringCopyN to copy a Unicode string, r=gyeh 2012-12-27 10:20:17 +08:00
Eric Chou
e9803a4ba8 Bug 820143 - implemented Calling Line Identification (CLI), r=gyeh 2012-12-17 23:24:35 +08:00
Gina Yeh
ff9a5e4399 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00
Gabriele Svelto
581ddc4bda Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Ehsan Akhgari
187bf3e6b6 Bug 779473 - Fix some nsresult abuses in the Bluetooth implementation 2012-10-13 10:45:45 -04:00
Eric Chou
06df2f84cd Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Gina Yeh
a40a7f4575 Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Luke Wagner
55107a5229 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley) 2012-08-21 18:42:53 -07:00