Commit Graph

138 Commits

Author SHA1 Message Date
Bruce Sun
7d75957ea5 Bug 1236724: Check the maximum length of each array in IPC; f=jhector, r=btian 2016-01-06 11:30:39 +08:00
Thomas Zimmermann
1025acb217 Bug 1223722: Transfer arrays of Bluetooth UUIDs in |BluetoothValue|, r=brsun
Bluetooth's UUID arrays are sorted and stripped from duplicates. This code is
now executed in the client process. This reduces the amount of privilegued
code and accounts the required computation time to the process that actually
uses it.

The change also makes the IPDL interface a bit less fragile, as the client
does not expect sorted arrays from the chrome process. It's a detail of the
client's implementation that manifested itself in the interface.
2016-01-05 12:01:33 +01:00
Thomas Zimmermann
388ee1f523 Bug 1223722: Transfer Bluetooth remote names in |BluetoothValue|, r=brsun 2016-01-05 12:01:33 +01:00
Thomas Zimmermann
30f1560836 Bug 1223722: Transfer Bluetooth addresses in |BluetoothValue|, r=brsun 2016-01-05 12:01:33 +01:00
Thomas Zimmermann
c89087189f Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
0d85c6c530 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
5b81d46a91 Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
df67765d87 Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
becd273af5 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
37ee544cc5 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
09cd7942e9 Bug 1220121: Prepare IPDL support for additional Bluetooth types, r=brsun
This patch adds IPDL helpers for transfering |BluetoothAddress|,
|BluetoothPinCode|, and |ControlPlayStatus|.
2015-11-13 15:26:50 +01:00
Carsten "Tomcat" Book
f8d5bb5846 Backed out changeset 0f1e0ea245ef (bug 1220121) for bustage on a CLOSED TREE 2015-11-12 11:49:13 +01:00
Carsten "Tomcat" Book
f603f4b528 Backed out changeset 31a5c454f6fc (bug 1220121) 2015-11-12 11:48:59 +01:00
Carsten "Tomcat" Book
4b689b06f4 Backed out changeset dc164758f576 (bug 1220121) 2015-11-12 11:48:57 +01:00
Carsten "Tomcat" Book
d03ac03d02 Backed out changeset 71d0b47d316a (bug 1220121) 2015-11-12 11:48:56 +01:00
Carsten "Tomcat" Book
537f869a11 Backed out changeset 6fc769997278 (bug 1220121) 2015-11-12 11:48:54 +01:00
Carsten "Tomcat" Book
07869fe632 Backed out changeset 0f3562e114b1 (bug 1220121) 2015-11-12 11:48:53 +01:00
Carsten "Tomcat" Book
4bf2867843 Backed out changeset 74199d201199 (bug 1220121) 2015-11-12 11:48:51 +01:00
Thomas Zimmermann
d15fbe07f1 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-12 11:23:36 +01:00
Thomas Zimmermann
10e5c8cb29 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-12 11:23:36 +01:00
Thomas Zimmermann
9ec12aea49 Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-12 11:23:35 +01:00
Thomas Zimmermann
62d409ef30 Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-12 11:23:35 +01:00
Thomas Zimmermann
0b0f22bed8 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun 2015-11-12 11:23:35 +01:00
Thomas Zimmermann
c1ee8d6d40 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun 2015-11-12 11:23:35 +01:00
Thomas Zimmermann
b861723a21 Bug 1220121: Prepare IPDL support for additional Bluetooth types, r=brsun
This patch adds IPDL helpers for transfering |BluetoothAddress|,
|BluetoothPinCode|, and |ControlPlayStatus|.
2015-11-12 11:23:35 +01:00
Carsten "Tomcat" Book
b544b52fe5 Backed out changeset 0af975118f61 (bug 1220121) for bustage on a CLOSED TREE 2015-11-11 12:07:05 +01:00
Carsten "Tomcat" Book
8c97f8e21f Backed out changeset 28725f253f82 (bug 1220121) 2015-11-11 12:06:50 +01:00
Carsten "Tomcat" Book
340ef80c63 Backed out changeset a7ea5f2e3444 (bug 1220121) 2015-11-11 12:06:48 +01:00
Carsten "Tomcat" Book
10913bbc26 Backed out changeset 975e3b3d7504 (bug 1220121) 2015-11-11 12:06:47 +01:00
Carsten "Tomcat" Book
ecf2991010 Backed out changeset 1ebe50bb4fad (bug 1220121) 2015-11-11 12:06:46 +01:00
Carsten "Tomcat" Book
ecd9413df1 Backed out changeset 7251fc4dce99 (bug 1220121) 2015-11-11 12:06:44 +01:00
Carsten "Tomcat" Book
ca229888f4 Backed out changeset aa607b61225c (bug 1220121) 2015-11-11 12:06:43 +01:00
Thomas Zimmermann
94c38f831b Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
979ae5cc25 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
de98d385d5 Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
eee910e817 Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
0f91652650 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
d1d8ccfb94 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
685ba0b178 Bug 1220121: Prepare IPDL support for additional Bluetooth types, r=brsun
This patch adds IPDL helpers for transfering |BluetoothAddress|,
|BluetoothPinCode|, and |ControlPlayStatus|.
2015-11-11 11:14:39 +01:00
Shawn Huang
cf42136aa0 Bug 1211769 - [MAP] Pack MAP replies to OBEX response packets, r=btain, sr=mrbkap 2015-11-10 19:04:12 +08:00
Ben Tian
883404e323 Bug 1168298 - Support OBEX authentication procedure, r=shuang, r=mrbkap 2015-11-10 11:34:11 +08:00
Carsten "Tomcat" Book
d22b2c9770 Merge mozilla-central to b2g-inbound 2015-11-02 12:06:26 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Thomas Zimmermann
cb9c58250a Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-30 14:54:41 +01:00
Carsten "Tomcat" Book
aa4d7353fb Backed out changeset 4a99cfd718aa (bug 1215525) 2015-10-29 14:37:34 +01:00
Thomas Zimmermann
dc14c6ccee Bug 1215525: Replace strings with Bluetooth addresses and UUIDs in Bluetooth mid-layer, r=brsun 2015-10-29 13:30:02 +01:00
Nathan Froyd
01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Shawn Huang
71bec8c223 Bug 1208492 - Handle MAP replies from Gaia and pass the results to BluetoothMapSmsManager, r=btian 2015-10-12 17:14:54 +08:00
Bruce Sun
a8b089a2b8 Bug 1181483: Implement GATT server characteristic notification; r=jocelyn, r=mrbkap 2015-09-23 14:18:01 +08:00
Jocelyn Liu
1832bcbeea Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz 2015-09-23 14:16:27 +08:00