Commit Graph

187 Commits

Author SHA1 Message Date
Alastor Wu
b5d99318b3 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm

--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Alastor Wu
c8fae1998b Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu

--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu
40bc1f6803 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse

--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Carsten "Tomcat" Book
7fcba36865 Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js 2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book
0a62793b79 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Alastor Wu
4e7da2f687 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: GRjxz1E0C9r

--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu
14fb7102ce Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: 1RJvbzMOCpu

--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Gabriele Svelto
5f15df7db4 Bug 1227980 - Do not try to hold/resume calls in the wrong state when handling audio channels r=hsinyi 2016-01-28 10:29:19 +01:00
Carsten "Tomcat" Book
5edce79907 Backed out changeset c93664e82808 (bug 1227980) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 3c7d683d6d919a817d65738f5f76833d911138b6
2016-01-26 12:26:24 +01:00
Gabriele Svelto
69318dc8df Bug 1227980 - Do not try to hold/resume calls in the wrong state when handling audio channels r=hsinyi 2016-01-19 14:12:20 +01:00
Alastor Wu
f0d62419f0 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu
6a38526a4d Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Sebastian Hengst
3c1eb47e3a Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout 2015-12-27 22:28:08 +01:00
Alastor Wu
7ff9329b36 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
--HG--
extra : commitid : B7NcXGTFGrv
2015-12-24 17:28:45 +08:00
Alastor Wu
b4cb129af1 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
--HG--
extra : commitid : JZF4VU0qxpg
2015-12-24 17:17:30 +08: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
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