Commit Graph

712 Commits

Author SHA1 Message Date
Edgar Chen
daa9d206c9 Bug 975778 - Increase the timeout value for test_cdma_call_waiting.js; r=me 2015-12-31 11:47:39 +08:00
Ben Hsu
37491038df 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
760339d02f Bug 975778 - Part 1: Modify some helper functions (head.js). r=btseng 2015-10-08 02:57:00 +08:00
Alastor Wu
408dc1372e 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
d7a26cc3a6 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Sebastian Hengst
3cc260d1a3 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
9d3a1a032f 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
ada3e48127 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Nathan Froyd
31b37a09c7 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
5e3af05604 Bug 1222935 - Support REQUEST_SEND_USSD command. r=hsinyi 2015-11-26 20:32:51 +08:00
Bevis Tseng
147caf7ecb Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
Edgar Chen
2a19099c0c Bug 1214537 - Disable test_gsm_cdma_{incoming|outgoing}_basic_operations.js. r=me 2015-11-03 18:07:02 +08:00
Bevis Tseng
c23e34d98e Bug 1223662 - Improve Test Coverage. r=echen 2015-11-11 13:24:51 +08:00
Bevis Tseng
58059457ef Bug 1223662 - Part 1: Check mmiServiceCode with correct constant. r=echen 2015-11-11 13:10:51 +08:00
Edgar Chen
a9a7e5608a Bug 1220548 - Make telephony test script can tolerate the missing dailing state. r=bevis 2015-11-02 16:05:23 +08:00
Ben Hsu
b10bbfa288 Bug 1155072 - Part 1: Deprecate nsITelephonyListener.conferenceCallStateChanged (Telephony). r=btseng 2015-10-12 01:47:00 +02:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Bevis Tseng
e944703576 Bug 1200134 - Control USSD Sessions with State-Transitions instead of Boolean. r=echen 2015-08-28 16:39:57 +08:00
Andrea Marchesini
f748e94341 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
665aa92b26 Merge b2ginbound to central, a=merge 2015-10-07 11:04:26 -07:00
Carsten "Tomcat" Book
9f1c0bf17d 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
378b7180e7 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
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
335cec2303 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Ben Hsu
c8092d2fef 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
9d38c7e0c3 Bug 1147296 - Part 5: Replace two testcases (Testcase). r=btseng 2015-09-25 12:57:59 +08:00
Ben Hsu
80fd2467c7 Bug 1147296 - Part 4: Expose new functions (head.js). r=btseng 2015-09-11 03:09:00 +08:00
Ben Hsu
45479d2991 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
863102a58d 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
093d419de1 Bug 1147296 - Part 1: Create |Modem| helper object (head.js). r=btseng 2015-10-04 22:51:00 +08:00
Benoit Chabod
442543cfbe 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.
2015-08-24 01:29:00 +08:00
Ho-Pang Hsu
ccbc5d3610 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
b06d7f99a7 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
d8faa01cea 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
76461344ad Bug 1129882 - add mozInterrupt in telephony object. r=baku 2015-09-03 10:14:17 +08:00
Alastor Wu
72eb06bf22 Bug 1129882 - create agent in telephony object. r=baku, r=hsinyi 2015-03-26 16:27:25 +08:00
Nicholas Nethercote
10d95cca57 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.
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
32eeb6d850 Backed out changesets 8e41bbb259cc and a5823a3df988 (bug 1129882) for smoketest regressions. a=me 2015-08-25 09:42:03 -04:00
Alastor Wu
215e13227f Bug 1129882 - Add mozInterrupt in telephony object. r=baku 2015-08-10 17:23:33 +08:00
Alastor Wu
4e69f152f7 Bug 1129882 - Create agent in telephony object. r=szchen, r=htsai 2015-03-26 16:27:25 +08:00
Fabrice Desré
8877a980c0 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
2cc1e95bda Bug 1129882 - Add mozInterrupt in telephony object. r=baku 2015-08-10 17:23:33 +08:00
Alastor Wu
9db4eb91b5 Bug 1129882 - Create agent in telephony object. r=szchen, r=htsai 2015-03-26 16:27:25 +08:00
Ben Hsu
03c698bbef Bug 1191237 - Part 2: Stablize |test_TelephonyUtils.js|. r=aknow 2015-08-06 10:26:00 +02:00
Ben Hsu
d9e5803874 Bug 1191237 - Part 1: Enhance |TelephonyService.js|. r=aknow 2015-08-06 10:20:00 +02:00
Ben Hsu
e21e879057 Bug 891707 - Part 2: Enable a testcase. r=aknow 2015-06-10 00:53:00 -04:00
Ben Hsu
f6d2a2301c Bug 891707 - Part 1: Wait for |UNSOLICITED_RESPONSE_VOICE_NETWORK_STATE_CHANGED| when changing modem tech. r=aknow 2015-06-14 19:51:00 -04:00
Szu-Yu Chen [:aknow]
a867c34ed0 Bug 1185156 - Fix bug in resuming held call. r=hsinyi 2015-07-30 11:36:27 +08:00
Szu-Yu Chen [:aknow]
fe716b497f Bug 1179089 - Let TelephonyRequestParent hold the callback objects. r=hsinyi 2015-07-28 18:41:59 +08:00