Thomas Zimmermann
c2d3554599
Bug 1223722: Transfer Bluetooth addresses in |BluetoothValue|, r=brsun
2016-01-05 12:01:33 +01:00
Thomas Zimmermann
60eda1e3b3
Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun
2015-10-30 14:54:41 +01:00
Thomas Zimmermann
7bdf67568d
Bug 1215525: Update |BluetoothUuid| structure with c'tors and helper methods, r=brsun
2015-10-30 14:54:41 +01:00
Carsten "Tomcat" Book
8df6b7c2d2
Backed out changeset 078dd0e39cc8 (bug 1215525) for bustage
2015-10-29 14:37:47 +01:00
Carsten "Tomcat" Book
1e136e5f16
Backed out changeset 4a99cfd718aa (bug 1215525)
2015-10-29 14:37:34 +01:00
Thomas Zimmermann
e34417c9ad
Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun
2015-10-29 13:30:02 +01:00
Thomas Zimmermann
abac82c870
Bug 1215525: Update |BluetoothUuid| structure with c'tors and helper methods, r=brsun
2015-10-29 13:30:01 +01:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Ben Tian
08cda2ac28
Bug 1195608 - [cleanup] Fix too long lines and revise some comments under dom/bluetooth, r=joliu
2015-08-18 11:29:45 +08:00
Will Wang
e17b385e76
Bug 825149 - Support HFP NREC feature. r=shuang
2015-08-10 04:51:00 -04:00
Ben Tian
5d4d64b03e
Bug 1127701 - Fix warning: NS_ENSURE_TRUE(value.isNumber()) failed, r=joliu
2015-07-29 16:40:39 +08:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -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
Thomas Zimmermann
ad10293cc7
Bug 1168446: Don't store connection parameters in |BluetoothSocket|, r=shuang
2015-06-01 10:42:29 +02:00
Thomas Zimmermann
932cb9d175
Bug 1168446: Remove |Disconnect| from BlueZ's |BluetoothSocket|, r=shuang
...
The method |BluetoothSocket::Disconnect| is just a wrapper around
|Close|. This patch replaces all invocations of |Disconnect| with
|Close| and removes the method.
2015-06-01 10:42:29 +02:00
Thomas Zimmermann
3cb54f81b3
Bug 1164498: Remove |DispatchBluetoothReply| from |BluetoothHfpManger|, r=btian
...
This patch replaces |DispatchBluetoothReply| in |BluetoothHfpManager|
with corresponding calls to |DispatchReplySuccess| or |DispatchReplyError|.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
7c963134da
Bug 1159267: Share BlueZ's HFP manager between Bluetooth v1 and v2, r=btian
...
Both implementations mostly differ in coding style and correctness
fixes. The last remaining differences are related to different
interfaces in Bluetooth v1 and v2.
2015-05-06 09:58:04 +02:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Thomas Zimmermann
b796e1444d
Bug 1156352: Remove |UnixSocketRawData| from Bluetooth interfaces, r=btian
2015-04-23 13:48:47 +02:00
Ben Tian
a74859ff04
Bug 1152694 - Make UUID and service name as input arguments for BluetoothSocket, r=tzimmermann
2015-04-13 17:30:47 +08:00
Thomas Zimmermann
3514ff887a
Bug 1146355: Prepare BlueZ for Bluetooth v2, r=brsun
2015-04-09 15:57:41 +02:00
Bevis Tseng
b358a654e1
Bug 1114935 - Part 6.3: Migration in Bluetooth. r=btian
2015-01-15 18:22:08 +08:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gregor Wagner
1f49174393
Backout Bug 1114935 for causing bug 1144567.
2015-03-18 11:48:52 -07:00
Bevis Tseng
6b9f0344e2
Bug 1114935 - Part 6.3: Migration in Bluetooth. r=btian
2015-01-15 18:22:08 +08:00
Thomas Zimmermann
6bcd32b3d4
Bug 1137151: Marked destructors of ref-counted Bluetooth classes as protected, r=shuang
2015-03-10 13:44:02 +01:00
Dave Huseby
f8c0a3485b
Bug 1107681 - fix up the dom uses of WrapptedJSToDictionary to use the cx-less interface. r=bholley
2014-12-29 11:56:00 +01:00
Thomas Zimmermann
3a77e0c1ff
Bug 1105308: Cleanup non-shared functions in BlueZ' BluetoothUtils.{cpp,h}, r=btian
...
This patch moves functions out of BlueZ' BluetoothUtils.{cpp,h} that
are specific to this backend.
2014-11-28 11:49:40 +01:00
Jessica Jong
fa3810c3dd
Bug 1052842 - Part 4: Use enums for NetworkSelectionMode in nsIMobileConnectionService.idl (bt). r=btian
2014-10-21 14:31:48 +08:00
Edgar Chen
2512f51a1f
Bug 994461 - Part 3: BT changes for IccInfo WebIDL. r=echou
2014-09-15 23:14:49 +08:00
Mike Habicher
82109af909
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Vicamo Yang
8371bf0470
Bug 1063304 - 3.c/3: accommodate other components. r=echen
2014-09-21 15:24:43 +08:00
Carsten "Tomcat" Book
7e90b88b7a
Backed out changeset 9ff2889f236a (bug 1063304)
2014-09-17 13:13:08 +02:00
Ryan VanderMeulen
1ce4cc0915
Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously.
2014-09-16 16:54:25 -04:00
Mike Habicher
8c5339cc7a
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Vicamo Yang
e8097c2286
Bug 1063304 - 3.c/3: accommodate other components. r=echen
2014-09-16 21:20:18 +08:00
Thomas Zimmermann
02c0e8055c
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in Bluetooth, r=btian
2014-09-08 11:44:02 +02:00
Ryan VanderMeulen
ebc1fbc9c5
Backed out 6 changesets (bug 1059813) by request.
...
Backed out changeset cffeecd46cad (bug 1059813)
Backed out changeset f991f546dbcd (bug 1059813)
Backed out changeset ab4056a1aa06 (bug 1059813)
Backed out changeset d08a91fee65a (bug 1059813)
Backed out changeset 7bd0ecf96e59 (bug 1059813)
Backed out changeset 0b7a62175398 (bug 1059813)
2014-09-03 11:29:16 -04:00
Thomas Zimmermann
66385b9b87
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in Bluetooth, r=btian
2014-09-03 16:43:14 +02:00
Edgar Chen
3bf66116e8
Bug 843452 - Part 2-2: Bluetooth changes for MobileConnectionService interface. r=echou
2014-07-02 17:14:08 +08:00
Wes Kocher
93e86ff4d2
Backed out 17 changesets (bug 843452)
...
Backed out changeset e72a0297d488 (bug 843452)
Backed out changeset 73f62ce4190f (bug 843452)
Backed out changeset 6d4a49ebd9fc (bug 843452)
Backed out changeset ac93e396669f (bug 843452)
Backed out changeset cf4fc721821e (bug 843452)
Backed out changeset 9a94ea71d232 (bug 843452)
Backed out changeset b95ff097374d (bug 843452)
Backed out changeset 8d6428a93500 (bug 843452)
Backed out changeset e31b86ef0e80 (bug 843452)
Backed out changeset bd4efde535cd (bug 843452)
Backed out changeset 02bbcd8ac571 (bug 843452)
Backed out changeset f7f41bf82b22 (bug 843452)
Backed out changeset 20f42764cd38 (bug 843452)
Backed out changeset 82f8670f5c17 (bug 843452)
Backed out changeset 52f25f1278e3 (bug 843452)
Backed out changeset 181337820a7c (bug 843452)
Backed out changeset 9bd12641af03 (bug 843452)
2014-08-28 16:51:41 -07:00
Edgar Chen
46f387df71
Bug 843452 - Part 2-2: Bluetooth changes for MobileConnectionService interface. r=echou
2014-07-02 17:14:08 +08:00
Daniel Holbert
fcb840d2d9
Bug 1022417: Annotate BluetoothHfpManager::GetVolumeTask as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan
2014-06-08 14:58:02 -07:00
Vicamo Yang
d72554ea24
Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
2014-06-03 22:15:25 +08:00
Birunthan Mohanathas
9ca3e6a37d
Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-26 21:54:58 +03:00
Birunthan Mohanathas
385cfc1f37
Bug 869836 - Part 10: Use Truncate instead of AssignLiteral(""). r=ehsan
2014-05-26 21:54:53 +03:00
Birunthan Mohanathas
7c5f901fae
Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
9f41043f62
Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-22 06:48:51 +03:00