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

262 Коммитов

Автор SHA1 Сообщение Дата
Bevis Tseng e8573be274 Bug 1110619 - Part 2: Implementation Changes. r=echen
--HG--
extra : rebase_source : 1b6e744494e8831826d45fef5ec4a48ffdc8841c
2015-11-10 15:30:48 +08:00
Bevis Tseng 686572f7d9 Bug 1110619 - Part 1: IDL Interface Changes. r=echen
--HG--
extra : rebase_source : 397f71ccf3f70a3c796a3098c39cdd47123db7b5
2015-11-10 15:29:36 +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
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
Edgar Chen 72803bd36c 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 eea972e415 Merge inbound to central, a=merge CLOSED TREE 2015-09-08 17:04:03 -07:00
Jessica Jong ec0f211e0c Bug 978071 - Enable mobile data IPv6 tests. r=echen
--HG--
extra : commitid : EI4dstm8pl9
2015-09-08 17:47:04 +08:00
John Dai b5e8f03e7e Bug 1179143 - Update testcase apply android_version filter. r=echen 2015-09-07 23:50:00 +02: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
Jessica Jong 520881f002 Bug 1156231 - enable data registration recovery. r=hsinyi
--HG--
extra : commitid : 3HrEDw63LLk
2015-08-05 16:29:20 +08:00
Ben Hsu 754f51f930 Bug 891707 - Part 3: Disable some tests. r=echen, a=me
--HG--
extra : rebase_source : 58ba435dd8e1c86c42d2804e294160861c384009
2015-08-04 01:40:00 -04:00
Jessica Jong a6382e8e7e 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 ddd1dd8283 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08: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
Edgar Chen 42f3c9a428 Bug 1169225 - [MobileConnectionService] Support setting/getting call waiting on all serviceClass. r=aknow 2015-05-28 19:18:22 +08:00
Jessica Jong 76e673694c Bug 1168064 - B2G RIL: filter out cell info with unknown values. r=echen 2015-06-05 10:13:52 +08:00
Edgar Chen 6e38b077c4 Bug 1169160 - [MobileConnection] Support more call barring program: all service, outgoing service and incoming service. r=hsinyi,aknow
--HG--
rename : dom/mobileconnection/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_error.js
2015-05-28 15:41:55 +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
Edgar Chen 8a574c6491 Bug 1166174 - Fix MobileConnection.getCellInfoList() and add test case for it. r=hsinyi 2015-05-22 18:14:35 +08:00
Ben Hsu f19e29b3b2 Bug 906603 - Update the related testcase. r=aknow 2015-05-05 23:26:00 +08:00
Jessica Jong 7d03cbd030 Bug 1114901 - Part 3: move data connection related code out of RadioInterfaceLayer. r=echen 2015-05-20 10:08:39 +08:00
Alexandre Lissy 5521afccce Bug 1160123 - Add support for LTE/WCDMA only network selection. r=hsinyi
--HG--
extra : rebase_source : 356f4e5e0c987a094cf63050a163257b7adb4ad9
2015-05-11 07:49:00 +02: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 3810a891ed Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
Andrea Marchesini 789ad8312d 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 f9e255a46b Bug 1027546 - Part 3: Create a new testcase. r=aknow 2015-03-23 03:42:00 -04:00
Ben Hsu 2ef4c29e16 Bug 1027546 - Part 2: Update the existing testcases. r=aknow 2015-03-18 04:28:00 -04:00
Mike Hommey b077d9624d 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 18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Bevis Tseng 7e83037bda Bug 1114935 - Part 6.2: Migration in MobileConnection. r=echen
--HG--
extra : histedit_source : c1c51efa5413f09418e2f88edca054fcd9917229
2015-01-15 18:19:01 +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
Bevis Tseng 59b9d089a5 Bug 1114935 - Part 6.2: Migration in MobileConnection. r=echen
--HG--
extra : rebase_source : 82e295c3b9be642cf77cd81e42122448fb1b2065
extra : histedit_source : 4fc10f6d8dd46341b0080e384e11ec2a5a4c66f6
2015-01-15 18:19:01 +08:00
Hsin-Yi Tsai bcf8bdaaf3 Bug 1069186 - determine LTE signal level based on rsrp and rssnr. r=edgar 2015-02-16 19:12:54 +08:00
Wes Kocher a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Tooru Fujisawa 345506b0a6 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é fa7df3a41f 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 e705bd4203 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré 26484e0481 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 402e1db327 Bug 1067629 - Part 4: Update the related testcase. r=aknow 2015-02-13 00:23:00 -05:00
Ben Hsu c8fc386c7f 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] 38fc097e73 Bug 1129277 - Remove builtinclass of nsIMobileConnectionCallback 2015-02-17 12:32:48 +08:00
Szu-Yu Chen [:aknow] 2e6a219f14 Bug 1124550 - Part 01: Remove unused code. r=hsinyi 2015-02-03 12:18:19 +08:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ms2ger b83d21c58c Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00