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

323 Коммитов

Автор SHA1 Сообщение Дата
Bevis Tseng 6e206dd83d Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng 384a0baa63 Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
John Dai 1e3a9518ff Bug 1213785 - Fixed test_icc_contact_add.js and test_icc_contact_update.js testcases timeout. r=echen
--HG--
extra : rebase_source : a68f96868b4166fba9d3a32ee5c6435193cadf57
2015-10-30 04:22:00 +08: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
Jessica Jong 7c87382af8 Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16: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
john1984 1348a3cf3f Bug 1122376 - Support write SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:57:00 +02:00
John Dai c288c4bd19 Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02: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
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
Bevis Tseng 57b6768602 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 349090e33d Bug 1187832 - Update ril_worker and corresponding test cases. r=btseng
--HG--
extra : histedit_source : 69b6c55310e85033040550cdc5145a0721d8f27d
2015-08-04 13:58:42 +08:00
Bevis Tseng 54ebb598c5 Bug 1189884 - Read/Update ANR of SIM Contact Properly. r=echen 2015-08-03 20:24:40 +08:00
Bevis Tseng ddd1dd8283 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
Bevis Tseng fdf011b4c8 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 cb9feae08b Bug 1114937 - Part 4: IPDL Implementation. r=echen 2015-06-16 17:41:47 +08:00
Bevis Tseng 81ee8d77fa 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 03b459d802 Bug 1114937 - Part 2: IDL implementation in Gonk. r=echen 2015-06-16 17:35:42 +08:00
Bevis Tseng c65efc9f00 Bug 1114937 - Part 1: Define new IDL for IccContacts. r=echen 2015-06-16 17:29:50 +08:00
Birunthan Mohanathas a8939590de 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 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
Bevis Tseng 89637fe552 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 ffcb73e3b3 Bug 1159134 - Part 2: Add Test Cases for STK related Requests. r=echen 2015-05-05 19:10:58 +08:00
John Dai ac69620eeb Bug 1161438 - Part 2 - marionette testcase. r=echen 2015-05-31 22:39:00 +02:00
Bevis Tseng 4d90e84dab Bug 1114938 - Part 3.3: (IPC) IPDL Implementation. r=echen 2015-04-30 15:04:09 +08:00
Bevis Tseng 684e9cd23c 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 d8b32c5864 Bug 1114938 - Part 3.1: (IPC) IPDL Declaration. r=echen 2015-05-15 17:14:29 +08:00
Bevis Tseng 38074f8cdc 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 791acb3ff2 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 79eaad7f3e Bug 1114938 - Part 1: Refactor StkProactiveCmdFactory.jsm into a XPCOM Service. r=echen
--HG--
rename : dom/icc/gonk/StkProactiveCmdFactory.jsm => dom/icc/gonk/StkCmdFactory.js
2015-04-15 18:33:26 +08:00
Bevis Tseng 364c86e99a Bug 1162464 - Part 2: Implementation Changes. r=echen 2015-05-08 11:23:09 +08:00
Bevis Tseng c647ff437f Bug 1162464 - Part 1: IDL Changes. r=echen 2015-05-08 10:57:16 +08:00
John Dai 4095d8b27a 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 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bevis Tseng 411426aa0f 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 67852ea4de 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 ae24a15b48 Bug 949849 - B2G RIL: Update the marionette test script for icc.updateContact. r=echen 2015-04-13 18:27:00 -04:00
Bevis Tseng 20a12fcc38 Bug 1114935 - Part 8: Mark TODO items for deprecating RILContentHelper. r=echen
--HG--
extra : histedit_source : e0798b1d557e71945b2190ac1f6ff4c46a199313
2015-02-13 15:05:37 +08:00
Bevis Tseng a7cd6b1d89 Bug 1114935 - Part 7: Add Backward Compatibility for v2.2 binary implementation. r=echen
--HG--
extra : histedit_source : bd9d8cc9cbaeb6c7eb3aa1add377dbb5eef50ebb
2015-02-13 14:46:49 +08:00
Bevis Tseng e511c87731 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : histedit_source : c4f30cabe18e4a2ef4f6a34745e95d46c5baaff7
2015-01-13 18:03:44 +08:00
Bevis Tseng 1cba772979 Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Bevis Tseng 77e154f569 Bug 1114935 - Part 4.1: Add Support of nsIIccInfo to IccInfo. r=echen 2015-01-07 19:25:22 +08:00
Bevis Tseng 3d463ac840 Bug 1114935 - Part 3: Define new IPDL Protocol for nsIIccService. r=echen 2015-01-07 14:53:21 +08:00
Bevis Tseng a74633a3da Bug 1114935 - Part 2: Add Gonk Implementation of nsIIccService. r=echen 2015-01-06 13:32:08 +08:00
Bevis Tseng 576426e43e Bug 1114935 - Part 1: Define new nsIIccService/nsIGonkIccService to replace nsIIccProvider. r=echen 2014-12-31 10:52:25 +08:00
Ehsan Akhgari 883849ee32 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
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
Gregor Wagner fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00