Граф коммитов

171 Коммитов

Автор SHA1 Сообщение Дата
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
Andrea Marchesini c53e405b13 Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
Ho-Pang Hsu 28c4c83c60 Bug 1171807 - Part 2: Move to enums and deprecate TelephonyCall.mCallState and TelephonyCallGroup.mCallState (DOM). r=btseng 2015-10-06 19:11:00 +02:00
Alastor Wu cbdade4ed8 Bug 1129882 - add mozInterrupt in telephony object. r=baku 2015-09-03 10:14:17 +08:00
Alastor Wu b5daced1c2 Bug 1129882 - create agent in telephony object. r=baku, r=hsinyi
--HG--
extra : transplant_source : %FA%40F5A%AF%93%BCl%D2%18%FB%0E%3F%26%ED%91%19%5DE
2015-03-26 16:27:25 +08:00
Ryan VanderMeulen 4e5520b18f Backed out changesets 8e41bbb259cc and a5823a3df988 (bug 1129882) for smoketest regressions. a=me 2015-08-25 09:42:03 -04:00
Alastor Wu 1a93cb3c1b Bug 1129882 - Add mozInterrupt in telephony object. r=baku
--HG--
extra : rebase_source : 2e68e3ad3a7711ea65bc0167a0e9a5aaa65e3bf7
extra : source : 9c6fde246f6e673154b03d20768b3159c16f1fe9
2015-08-10 17:23:33 +08:00
Alastor Wu 274608e1ff Bug 1129882 - Create agent in telephony object. r=szchen, r=htsai
--HG--
extra : rebase_source : 0fdd02232b67aac07f9c4b54298dd4cf5219247e
extra : source : 847b57aaeff70a93f282b7d6968966837763a314
2015-03-26 16:27:25 +08:00
Fabrice Desré 16dfbc45e6 Bug 1129882 - backout 9c6fde246f6e and 847b57aaeff7 for causing 1193840 on a CLOSED TREE r=szchen, r=htsai 2015-08-12 14:35:41 -07:00
Alastor Wu 63a6ffdf2e Bug 1129882 - Add mozInterrupt in telephony object. r=baku 2015-08-10 17:23:33 +08:00
Alastor Wu 7969b21bcc Bug 1129882 - Create agent in telephony object. r=szchen, r=htsai 2015-03-26 16:27:25 +08:00
Carsten "Tomcat" Book e1cb5ab587 Backed out changeset 6df9cef6b3ed (bug 1129882) for GU failures on a CLOSED TREE 2015-07-24 16:35:17 +02:00
Carsten "Tomcat" Book 1225980bea Backed out changeset c17987dfa969 (bug 1129882) 2015-07-24 16:30:31 +02:00
Alastor Wu 9401ab6f5a Bug 1129882 - add mozInterrupt in telephony object. r=baku 2015-03-26 15:32:43 +08:00
Alastor Wu 60c6333bf7 Bug 1129882 - create agent in telephony object. r=szchen r=hsinyi 2015-03-26 16:27:25 +08:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Hsin-Yi Tsai 6b4b7c9567 Bug 1168515 - do not block incall MMI requests on alerting state. r=aknow 2015-05-28 17:05:10 +08: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 154a206ace Bug 1147736 - Part 2: Bypass NotifyError. r=aknow
--HG--
extra : rebase_source : d7f1378bbba99b434699521b4d9485392dc90f6f
extra : source : a78ad976faf317828b6cb268dced774e863b6b80
2015-04-27 23:28: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 96c5adc38a Bug 1161403 - Part 1: Deprecate internal states. r=aknow 2015-05-06 03:58:00 -04: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 fd87d7cd9d Bug 1147736 - Part 2: Bypass NotifyError. r=aknow
--HG--
extra : source : a78ad976faf317828b6cb268dced774e863b6b80
2015-04-27 23:28:00 -04:00
Szu-Yu Chen [:aknow] a7f53dcb89 Bug 1155063 - Part 2: CallStateChanged accepts an array (telephony dom). r=hsinyi
--HG--
extra : rebase_source : 3e427f6429c7cde4a1863f825192c995e0ceedb3
2015-04-24 18:10:37 +08:00
Fernando Jimenez 3cad522746 Bug 1145551 - DTMF should be sent using the active SIM, the given or the default one (in that order). r=aknow 2015-04-09 19:22:37 +02:00
Szu-Yu Chen [:aknow] f03e9110ff Bug 1043165 - Part 2: Add TelephonyCall.disconnectedReason (dom). r=hsinyi 2015-03-26 16:39:39 +08:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Szu-Yu Chen [:aknow] 6ed87aa37e Bug 1115603 - Part 2: Implement nsITelephonyCallInfo and use it (dom). r=hsinyi 2015-01-08 16:33:51 +08: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] 2c02688cc7 Bug 1113027 - Part 2: Should pass clientId to notifyDialCallSuccess (dom). r=hsinyi 2014-12-23 15:46:09 +08:00
Szu-Yu Chen [:aknow] f756e7d379 Bug 1100895 - Part 2: Implement ready attribute. r=hsinyi 2014-12-17 06:57:23 +08:00
Hsin-Yi Tsai a4a60a2f8b Bug 986308 - [B2G][STK] support call number modified by STK call control. r=aknow 2014-10-27 15:41:27 +08:00
Ehsan Akhgari f453170f6b Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Hsin-Yi Tsai 9210b8f09a Bug 1089534 - [B2G][Telephony] should GetCallFromEverywhere in Telephony::NotifyError. r=aknow 2014-10-27 17:06:40 +08:00
Ben Hsu 2e05d4f539 Bug 1081811 - Part 1: Remove some callschanged event firing and associated parameters. r=aknow 2014-10-22 00:12:00 -04:00
Szu-Yu Chen [:aknow] e85cc1bee9 Bug 1059649 - Part 1: Redesign the logic of conference detection. r=hsinyi 2014-10-21 02:30:00 -04:00
Peter Van der Beken d76c717d3c Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02: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] b9ca03a04a Bug 1058397 - Part 1: Separate TelephonyCallback. r=hsinyi 2014-10-08 20:01:00 +02:00
Szu-Yu Chen [:aknow] e4e7244f5f Bug 1074377 - Should hold the already_AddRefed return value. r=khuey 2014-10-02 23:39:00 -04:00
Szu-Yu Chen [:aknow] c74f17a79c Bug 889737 - Part 07: Dial MMI (callback). r=vicamo 2014-09-22 01:35:00 -04:00
Szu-Yu Chen [:aknow] d51907bc80 Bug 889737 - Part 04: Refactoring: Change Telephony::Callback to TelephonyCallback. 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
Vicamo Yang 311da50812 Bug 1064231 - unify instantiation process for RIL services. r=smaug 2014-09-21 15:24:44 +08:00
Carsten "Tomcat" Book 2847662955 Backed out changeset 69870df1c72f (bug 1064231) 2014-09-17 13:12:59 +02:00