Commit Graph

325 Commits

Author SHA1 Message Date
Kyle Huey
ce39f191af Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey
365f97ee97 Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Bevis Tseng
344fbfabb5 Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng
50dda7a56e Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
John Dai
ee05088bb0 Bug 1213785 - Fixed test_icc_contact_add.js and test_icc_contact_update.js testcases timeout. r=echen 2015-10-30 04:22:00 +08: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
Jessica Jong
4e84ab709f Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16: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
john1984
02b8f6bd38 Bug 1122376 - Support write SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:57:00 +02:00
John Dai
2f4fc8dbd8 Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02: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
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
Bevis Tseng
71640b6e98 Bug 1195273 - Suppress assertion check in ~ErrorResult() if no exception to be thrown. r=echen 2015-08-19 18:24:58 +08:00
Samael Wang
b83e861478 Bug 1187832 - Update ril_worker and corresponding test cases. r=btseng 2015-08-04 13:58:42 +08:00
Bevis Tseng
32c57c89d9 Bug 1189884 - Read/Update ANR of SIM Contact Properly. r=echen 2015-08-03 20:24:40 +08:00
Bevis Tseng
4b52bcbe97 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
Bevis Tseng
1e4969d186 Bug 1114937 - Part 5: Fix Test Case to Remove Contact with Correct Contact Id. r=echen 2015-06-16 18:11:25 +08:00
Bevis Tseng
b0cacb447f Bug 1114937 - Part 4: IPDL Implementation. r=echen 2015-06-16 17:41:47 +08:00
Bevis Tseng
75c7fcbaa3 Bug 1114937 - Part 3: Web API change to adopt IccService for IccContacts. r=echen, r=hsinyi 2015-06-16 17:38:27 +08:00
Bevis Tseng
aac7631208 Bug 1114937 - Part 2: IDL implementation in Gonk. r=echen 2015-06-16 17:35:42 +08:00
Bevis Tseng
4df3fe67d6 Bug 1114937 - Part 1: Define new IDL for IccContacts. r=echen 2015-06-16 17:29:50 +08:00
Birunthan Mohanathas
e52329c788 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
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Bevis Tseng
9e318eb674 Bug 1172873 - Suppress the notification of STK proactive command if there is no Icc detected. r=echen 2015-06-10 11:58:01 +08:00
Bevis Tseng
67c22044d3 Bug 1159134 - Part 2: Add Test Cases for STK related Requests. r=echen 2015-05-05 19:10:58 +08:00
John Dai
dca4aacfb8 Bug 1161438 - Part 2 - marionette testcase. r=echen 2015-05-31 22:39:00 +02:00
Bevis Tseng
58ab7bd69b Bug 1114938 - Part 3.3: (IPC) IPDL Implementation. r=echen 2015-04-30 15:04:09 +08:00
Bevis Tseng
e79b17af4b Bug 1114938 - Part 3.2: (IPC) Add Helper to deflate/inflate XPCOM object to/from JSON for IPC. r=echen 2015-05-15 17:17:37 +08:00
Bevis Tseng
d52ecce3e6 Bug 1114938 - Part 3.1: (IPC) IPDL Declaration. r=echen 2015-05-15 17:14:29 +08:00
Bevis Tseng
af7510ff6a Bug 1114938 - Part 2.2: (Gonk) Refactor Stk Request APIs from IccProvider to IccService. r=echen 2015-04-29 10:42:35 +08:00
Bevis Tseng
0526f2cfde Bug 1114938 - Part 2.1: (Gonk) Refactor Stk Proactive Commands from IccProvider to IccService. r=echen 2015-04-27 16:01:56 +08:00
Bevis Tseng
710bec0a85 Bug 1114938 - Part 1: Refactor StkProactiveCmdFactory.jsm into a XPCOM Service. r=echen 2015-04-15 18:33:26 +08:00
Bevis Tseng
0a82fe59a8 Bug 1162464 - Part 2: Implementation Changes. r=echen 2015-05-08 11:23:09 +08:00
Bevis Tseng
eefeacc94e Bug 1162464 - Part 1: IDL Changes. r=echen 2015-05-08 10:57:16 +08:00
John Dai
26582948ac Bug 1159622 - Split test_icc_contact.js into read contact and add contact. r=echen 2015-05-12 00:53:00 +08:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bevis Tseng
7c589ce5f6 Bug 1155142 - Part 1: Move All IccInfo-related Implementation to IccService to deprecate rilContext. r=echen 2015-04-17 19:03:46 +08:00
Ethan Wu
ea4d5d2f61 Bug 1157018 - NsckPuk and PckPuk lock types that should require PUK instead require PIN. r=echen 2015-04-22 17:24:11 +08:00
John Dai
34d4e44045 Bug 949849 - B2G RIL: Update the marionette test script for icc.updateContact. r=echen 2015-04-13 18:27:00 -04:00
Bevis Tseng
229a1e6cf9 Bug 1114935 - Part 8: Mark TODO items for deprecating RILContentHelper. r=echen 2015-02-13 15:05:37 +08:00
Bevis Tseng
6efa260fb7 Bug 1114935 - Part 7: Add Backward Compatibility for v2.2 binary implementation. r=echen 2015-02-13 14:46:49 +08:00
Bevis Tseng
829e1aa963 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi 2015-01-13 18:03:44 +08:00
Bevis Tseng
842148ab59 Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Bevis Tseng
0a9d03a56e Bug 1114935 - Part 4.1: Add Support of nsIIccInfo to IccInfo. r=echen 2015-01-07 19:25:22 +08:00
Bevis Tseng
c365bb03ce Bug 1114935 - Part 3: Define new IPDL Protocol for nsIIccService. r=echen 2015-01-07 14:53:21 +08:00
Bevis Tseng
029d30b54c Bug 1114935 - Part 2: Add Gonk Implementation of nsIIccService. r=echen 2015-01-06 13:32:08 +08:00
Bevis Tseng
b63a22c34e Bug 1114935 - Part 1: Define new nsIIccService/nsIGonkIccService to replace nsIIccProvider. r=echen 2014-12-31 10:52:25 +08:00
Ehsan Akhgari
33bb32f549 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