Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Nathan Froyd
ddc23df5df
Bug 1222475 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/; r=baku,bz,terrence
2015-11-03 13:29:19 -05:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Nathan Froyd
eba0daa4d6
Bug 1225923 - part 3 - fix AppendElement(nsDependentString(...)) calls in dom/telephony/; r=btseng
...
I think the intent of these calls is to not copy the information strings
passed in, but to simply convert them to a friendlier nsString container
for processing.
In the TelephonyDialCallback case, we're copying the strings only to
convert them to an array of JS::Value, which copies the data again. We
might as well avoid one of the copies.
In the TelephonyParent case, we're copying the strings only to send them
over an IPC channel. Therefore, it's safe to not copy the strings
initially, because the original strings will remain live long enough to
send the IPC message.
2015-11-18 10:53:05 -05:00
Ben Hsu
95344b3cee
Bug 1155072 - Part 1: Deprecate nsITelephonyListener.conferenceCallStateChanged (Telephony). r=btseng
2015-10-12 01:47:00 +02: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
Szu-Yu Chen [:aknow]
2cfe77d256
Bug 1179089 - Let TelephonyRequestParent hold the callback objects. r=hsinyi
2015-07-28 18:41:59 +08:00
Birunthan Mohanathas
a8939590de
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
Ben Hsu
4f1ec443ba
Bug 1147736 - Part 3: Deprecate NotifyError. r=aknow
...
--HG--
extra : rebase_source : 704301c64d2ac14ef16123dd2658d1a2defd20f1
extra : source : 95e956a2ddb926fc79a61d80bad4a26035f354b0
2015-04-27 23:29:00 -04:00
Ben Hsu
3922bae1fb
Bug 1147736 - Part 1: Extend TelephonyCallInfo. r=aknow
...
--HG--
extra : rebase_source : 92be87ade27902ff3cdd451d97586ea2f35095ed
2015-05-18 01:03:00 -04:00
Naoki Hirata
04205ef8bb
Backed out 4 changesets (bug 1147736)
...
Backed out changeset 80ad8826d772 (bug 1147736)
Backed out changeset 1f69ddad07bb (bug 1147736)
Backed out changeset 34aee78127f5 (bug 1147736)
Backed out changeset 8a8c735fb984 (bug 1147736)
2015-05-13 14:15:57 -07:00
Ben Hsu
eed7112128
Bug 1147736 - Part 3: Deprecate NotifyError. r=aknow
...
--HG--
extra : source : 95e956a2ddb926fc79a61d80bad4a26035f354b0
2015-04-27 23:29:00 -04:00
Ben Hsu
b3901f1c0f
Bug 1147736 - Part 1: Extend TelephonyCallInfo. r=aknow
...
--HG--
extra : source : 5a0f9070dd9441a39d5d759f19e88303d768ad6d
2015-04-27 23:22:00 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Szu-Yu Chen [:aknow]
c5c62a49c9
Bug 1155063
- Part 4: CallStateChanged accepts an array (ipc). r=hsinyi
...
--HG--
extra : rebase_source : 9845dc6a38509e7eebed9ed8c97d4ed6f48e8a9f
2015-04-24 18:10:37 +08:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
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
Ben Hsu
7fd3b4c5e1
Bug 1095362 - Part 6: Internal architecture changes (IPC). r=aknow
2015-01-09 01:42:00 -05:00
Wes Kocher
f88bfbf94c
Merge mozilla-inbound to mozilla-central a=merge
2015-01-08 17:08:12 -08:00
Szu-Yu Chen [:aknow]
61bc77de22
Bug 1115603
- Part 5: Add serializer for nsITelephonyCallInfo (ipc). r=khuey
2015-01-08 16:33:51 +08:00
Ehsan Akhgari
1889255041
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Albert Crespell
8dd8327ec2
Bug 722841 - WebTelephony: Implement navigator.mozTelephony.sendTones(). r=hsinyi
2015-01-07 07:37:03 +01:00
Szu-Yu Chen [:aknow]
d4236ab32b
Bug 1115758 - Part 4: Add nsITelephonyService.cancelUSSD (ipc). r=hsinyi
2015-01-07 15:28:44 +08:00
Ben Hsu
24229edf18
Bug 1077075 - Part 6: Internal architecture (IPC). r=aknow
...
--HG--
extra : histedit_source : 219eeae82328717287bb56c495ccff452d0cbe39
2014-12-24 00:35:00 -05:00
Szu-Yu Chen [:aknow]
84ee6937e1
Bug 1113027 - Part 3: Should pass clientId to notifyDialCallSuccess (ipc). r=hsinyi
2014-12-23 15:46:10 +08:00
Jessica Jong
4bce52bb06
Bug 1071469 - Part 3: don't use 'jsval' in nsITelephonyService.idl (ipc). r=smaug
2014-11-06 10:20:53 +08:00
Kyle Huey
59d1375f34
Bug 1091981: Make sure to use the canonical nsITelephonyCallback pointer. r=aknow
2014-10-31 10:50:22 -07:00
Szu-Yu Chen [:aknow]
82e323a812
Bug 978639 - Part 4: Add hangUpConference method (ipc). r=hsinyi
2014-10-20 03:12:00 -04:00
Szu-Yu Chen [:aknow]
514a1421f8
Bug 1058397
- Part 3: USSDSession implement. r=hsinyi
2014-10-15 02:51:00 -04:00
Szu-Yu Chen [:aknow]
eb7e412eba
Bug 1058397
- Part 1: Separate TelephonyCallback. r=hsinyi
2014-10-15 02:50:00 -04:00
Ryan VanderMeulen
556bae10fc
Backed out changesets 3ad7043d2116, 774f695d8c0a, c7d7762d5e27, and 87cd44cd57b7 (bug 1058397
) for non-unified bustage.
2014-10-09 12:13:35 -04:00
Szu-Yu Chen [:aknow]
1525f1cf74
Bug 1058397
- Part 3: USSDSession implement. r=hsinyi
2014-10-08 20:01:00 +02:00
Szu-Yu Chen [:aknow]
b9ca03a04a
Bug 1058397
- Part 1: Separate TelephonyCallback. r=hsinyi
2014-10-08 20:01:00 +02:00
Szu-Yu Chen [:aknow]
eb53bc6fb1
Bug 889737 - Part 08: Dial MMI (ipc). r=vicamo
2014-09-22 01:35:00 -04:00
Szu-Yu Chen [:aknow]
49f63eb2ff
Bug 889737 - Part 05: Refactoring: Embed the response in delete. r=vicamo
2014-09-22 01:34:00 -04:00
Szu-Yu Chen [:aknow]
8cc572cefd
Bug 889737 - Part 03: Refactoring: Rename DialSuccess to DialCallSuccess. r=hsinyi
2014-09-22 01:34:00 -04:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Szu-Yu Chen [:aknow]
f5b19b0ff2
Bug 1051715 - Part 2: Also pass number in notifyDialSuccess. r=hsinyi
2014-08-12 23:51:00 -04:00
Hsin-Yi Tsai
fd995e0e3c
Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug
2014-04-10 14:25:42 +08:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Hsin-Yi Tsai
478c777a6c
Backed out changeset 598098217e1f (bug 981519) for causing regression bug 1026081
2014-06-17 15:37:31 +08:00
Hsin-Yi Tsai
279886c354
Bug 981519 - number and name presentation - part 3 - DOM & IPC code. r=smaug
2014-04-10 14:25:42 +08:00
Vicamo Yang
fa6b7968d6
Bug 927320 - 2/2: rename related variables. r=aknow,btian
2014-06-03 22:15:30 +08:00
Vicamo Yang
cff89f3dbc
Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
...
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
rename : dom/telephony/gonk/TelephonyProvider.manifest => dom/telephony/gonk/TelephonyService.manifest
rename : dom/telephony/ipc/TelephonyIPCProvider.cpp => dom/telephony/ipc/TelephonyIPCService.cpp
rename : dom/telephony/ipc/TelephonyIPCProvider.h => dom/telephony/ipc/TelephonyIPCService.h
rename : dom/telephony/nsIGonkTelephonyProvider.idl => dom/telephony/nsIGonkTelephonyService.idl
rename : dom/telephony/nsITelephonyProvider.idl => dom/telephony/nsITelephonyService.idl
2014-06-03 22:15:25 +08:00
Szu-Yu Chen [:aknow]
5e87410479
Bug 1016849 - Part 1: Remove isActive (interface and ipc). r=hsinyi
2014-05-29 00:15:00 -04:00
Szu-Yu Chen [:aknow]
f2fe96a740
Bug 1013745 - Part 3: Get callIndex when dialling success (ipc). r=hsinyi
2014-05-26 19:08:00 +02:00
Ben Turner
e97775227c
Bug 1007398 - Properly handle racing destruction of PTelephonyChild actors, r=hsinyi.
2014-05-08 11:41:58 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Hsin-Yi Tsai
535c668bf1
Bug 881174 - part4 - cdma 3way call DOM and IPC. r=vicamo
2014-02-21 17:52:13 +08:00
Szu-Yu Chen [:aknow]
c2e7beb833
Bug 969218 - Part 6: Use promise for dial and dialEmergency - ipc. r=khuey
2014-02-27 14:12:30 +08:00