Commit Graph

712 Commits

Author SHA1 Message Date
Edgar Chen
7cf67181f5 Bug 975778 - Increase the timeout value for test_cdma_call_waiting.js; r=me
--HG--
extra : rebase_source : c502f30c26c7dfc7c6b9729da6002caf83c05aba
2015-12-31 11:47:39 +08:00
Ben Hsu
bb0cfb5d67 Bug 975778 - Part 2: Add a new testcase for CDMA call waiting (Testcase). r=btseng 2015-10-08 03:07:00 +08:00
Ben Hsu
82a40c4afd Bug 975778 - Part 1: Modify some helper functions (head.js). r=btseng 2015-10-08 02:57:00 +08: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
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
Pierre-Eric Pelloux-Prayer
622194555c Bug 1222935 - Support REQUEST_SEND_USSD command. r=hsinyi 2015-11-26 20:32:51 +08:00
Bevis Tseng
e8573be274 Bug 1110619 - Part 2: Implementation Changes. r=echen
--HG--
extra : rebase_source : 1b6e744494e8831826d45fef5ec4a48ffdc8841c
2015-11-10 15:30:48 +08:00
Edgar Chen
f469a03cbf Bug 1214537 - Disable test_gsm_cdma_{incoming|outgoing}_basic_operations.js. r=me
--HG--
extra : commitid : 4O0H4v5HlPq
extra : rebase_source : c981c9d71a45776a9dde964c56805bf740fef716
2015-11-03 18:07:02 +08:00
Bevis Tseng
dbf25d4e5c Bug 1223662 - Improve Test Coverage. r=echen
--HG--
extra : rebase_source : 1b49d0a375d9fc4a4cefef1d56b9c153956eadc5
2015-11-11 13:24:51 +08:00
Bevis Tseng
0e5a0bf20e Bug 1223662 - Part 1: Check mmiServiceCode with correct constant. r=echen
--HG--
extra : rebase_source : ac5e487cb6bcb043bbe470be1131fa2102ce97a2
2015-11-11 13:10:51 +08:00
Edgar Chen
f383e158c9 Bug 1220548 - Make telephony test script can tolerate the missing dailing state. r=bevis
--HG--
extra : commitid : 8UjmRukoXJs
extra : rebase_source : 312079f1ea3e1d8c96bd058b20eea1b7a63b363e
2015-11-02 16:05:23 +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
Bevis Tseng
a168f6fa94 Bug 1200134 - Control USSD Sessions with State-Transitions instead of Boolean. r=echen 2015-08-28 16:39:57 +08: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
Wes Kocher
5dc7315e7b Merge b2ginbound to central, a=merge 2015-10-07 11:04:26 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Ben Hsu
613fc1bb77 Bug 1204817 - Delete the child property of a parent call only when the parent call exists. r=btseng 2015-09-15 02:03:00 +02:00
Ben Hsu
3eeadf2fdf Bug 1147296 - Part 5: Replace two testcases (Testcase). r=btseng
--HG--
rename : dom/telephony/test/marionette/test_incoming_basic_operations.js => dom/telephony/test/marionette/test_gsm_cdma_incoming_basic_operations.js
rename : dom/telephony/test/marionette/test_outgoing_basic_operations.js => dom/telephony/test/marionette/test_gsm_cdma_outgoing_basic_operations.js
2015-09-25 12:57:59 +08:00
Ben Hsu
a7067ca7e0 Bug 1147296 - Part 4: Expose new functions (head.js). r=btseng 2015-09-11 03:09:00 +08:00
Ben Hsu
19f1483200 Bug 1147296 - Part 3: Introduce a new check function for both GSM and CDMA (head.js). r=btseng 2015-10-04 22:52:00 +08:00
Ben Hsu
6a02504864 Bug 1147296 - Part 2: Move to telephony command group and support CDMA operations (head.js). r=btseng 2015-09-11 03:07:00 +08:00
Ben Hsu
2ff22b7cc9 Bug 1147296 - Part 1: Create |Modem| helper object (head.js). r=btseng 2015-10-04 22:51:00 +08:00
Benoit Chabod
e5ebbda2b6 Bug 1191205 - Cancel USSD sessions only when needed. r=edgar
USSD sessions used to be cancelled everytime a new message was sent.
The cancel logic has been moved, so that no cancel request is sent if the USSD
code is coming from a reply to an existing session.

--HG--
extra : rebase_source : a3d9cb271b0605471a9a8c889658ea00fe107ef3
2015-08-24 01:29:00 +08: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
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07: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
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07: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
Ben Hsu
f002b95d69 Bug 1191237 - Part 2: Stablize |test_TelephonyUtils.js|. r=aknow 2015-08-06 10:26:00 +02:00
Ben Hsu
5a2e44f9ba Bug 1191237 - Part 1: Enhance |TelephonyService.js|. r=aknow 2015-08-06 10:20:00 +02:00
Ben Hsu
f3aec91f21 Bug 891707 - Part 2: Enable a testcase. r=aknow
--HG--
extra : rebase_source : 9d1318e213e6749d8b9a4763ddcb03ae9e43d989
2015-06-10 00:53:00 -04:00
Ben Hsu
60aaf29689 Bug 891707 - Part 1: Wait for |UNSOLICITED_RESPONSE_VOICE_NETWORK_STATE_CHANGED| when changing modem tech. r=aknow
--HG--
extra : rebase_source : 1ef07fa2f2b535f572d22aa74af2e04217ced94b
2015-06-14 19:51:00 -04:00
Szu-Yu Chen [:aknow]
ff6fc91fff Bug 1185156 - Fix bug in resuming held call. r=hsinyi 2015-07-30 11:36:27 +08:00
Szu-Yu Chen [:aknow]
2cfe77d256 Bug 1179089 - Let TelephonyRequestParent hold the callback objects. r=hsinyi 2015-07-28 18:41:59 +08:00