Commit Graph
266 Commits
Author SHA1 Message Date
Andrea Marchesini b852839876 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book 5ad8ee79e8 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini a948bb05b4 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Edgar Chen d9eed53873 Bug 1234746 - Disable test_mobile_operator_names_plmnlist.js. r=me 2015-12-23 11:37:47 +08:00
Bevis Tseng 8e8191d5cf Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
Bevis Tseng 7e0109d48d Bug 1110619 - Part 1: IDL Interface Changes. r=echen 2015-11-10 15:29:36 +08:00
Nathan Froyd 4e6d8f6705 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 c8f0e61e24 Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16:00 +02:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Edgar Chen 68b828e433 Bug 1203828 - Let test_mobile_data_ipv6.js really test the v4 or v6 ip addresses. r=jjong 2015-09-11 11:57:53 +08:00
Wes Kocher 39892f52b7 Merge inbound to central, a=merge CLOSED TREE 2015-09-08 17:04:03 -07:00
Jessica Jong 1683a048e2 Bug 978071 - Enable mobile data IPv6 tests. r=echen 2015-09-08 17:47:04 +08:00
John Dai e60232a35e Bug 1179143 - Update testcase apply android_version filter. r=echen 2015-09-07 23:50:00 +02:00
Nicholas Nethercote 12fec02dfb 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
Jessica Jong 7ae2da89b8 Bug 1156231 - enable data registration recovery. r=hsinyi 2015-08-05 16:29:20 +08:00
Ben Hsu c028b0d287 Bug 891707 - Part 3: Disable some tests. r=echen, a=me 2015-08-04 01:40:00 -04:00
Jessica Jong 37612deaea Bug 1167132 - Part 7: [NetworkManager] Move network information into a separate interface (MobileConnection). r=echen 2015-07-22 19:32:00 -04:00
Bevis Tseng a87b520aed Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
Juan Gomez 89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen 7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Edgar Chen e4bec45ae6 Bug 1169225 - [MobileConnectionService] Support setting/getting call waiting on all serviceClass. r=aknow 2015-05-28 19:18:22 +08:00
Jessica Jong 2b6faff1d8 Bug 1168064 - B2G RIL: filter out cell info with unknown values. r=echen 2015-06-05 10:13:52 +08:00
Edgar Chen 8268ed4aa7 Bug 1169160 - [MobileConnection] Support more call barring program: all service, outgoing service and incoming service. r=hsinyi,aknow 2015-05-28 15:41:55 +08:00
Bevis Tseng 95e52df1a9 Bug 1114938 - Part 2.1: (Gonk) Refactor Stk Proactive Commands from IccProvider to IccService. r=echen 2015-04-27 16:01:56 +08:00
Edgar Chen 8e80d47870 Bug 1166174 - Fix MobileConnection.getCellInfoList() and add test case for it. r=hsinyi 2015-05-22 18:14:35 +08:00
Ben Hsu d45f7f7e15 Bug 906603 - Update the related testcase. r=aknow 2015-05-05 23:26:00 +08:00
Jessica Jong 9ba6075286 Bug 1114901 - Part 3: move data connection related code out of RadioInterfaceLayer. r=echen 2015-05-20 10:08:39 +08:00
Alexandre Lissy bbfb08f6c5 Bug 1160123 - Add support for LTE/WCDMA only network selection. r=hsinyi 2015-05-11 07:49:00 +02:00
Andrew McCreight 92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bevis Tseng abe2ea3055 Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
Andrea Marchesini 324ef4c39f Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
Ben Hsu 1ee21e2c9d Bug 1027546 - Part 3: Create a new testcase. r=aknow 2015-03-23 03:42:00 -04:00
Ben Hsu adf47f1991 Bug 1027546 - Part 2: Update the existing testcases. r=aknow 2015-03-18 04:28:00 -04:00
Mike Hommey 338d086ead Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Wes Kocher d65dddae26 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Bevis Tseng d7b2ca5d60 Bug 1114935 - Part 6.2: Migration in MobileConnection. r=echen 2015-01-15 18:19:01 +08:00
Ehsan Akhgari ea41d8de48 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 3a822d99b4 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 1f49174393 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng 2168e90b1a Bug 1114935 - Part 6.2: Migration in MobileConnection. r=echen 2015-01-15 18:19:01 +08:00
Hsin-Yi Tsai 7aee68195a Bug 1069186 - determine LTE signal level based on rsrp and rssnr. r=edgar 2015-02-16 19:12:54 +08:00
Wes Kocher 4eec78c5d0 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Tooru Fujisawa 6ac1a7ad7e Bug 1108382 - Part 7: Do not use non-standard flag argument of String.prototype.replace in dom/mobileconnection/gonk/. r=echen 2015-03-01 09:51:33 +09:00
Fabrice Desré 88b85943ca Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ms2ger ac0961d0a4 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré 8ab738009a Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Ben Hsu dd0d69fab9 Bug 1067629 - Part 4: Update the related testcase. r=aknow 2015-02-13 00:23:00 -05:00
Ben Hsu 33004e6e4b Bug 1067629 - Part 1: Construct a radio state FSM(mobileConnectionService.js). r=aknow 2015-02-16 21:42:00 -05:00
Szu-Yu Chen [:aknow] 437a5b2ba5 Bug 1129277 - Remove builtinclass of nsIMobileConnectionCallback 2015-02-17 12:32:48 +08:00