Commit Graph

228 Commits

Author SHA1 Message Date
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
Boris Zbarsky
54c64f20a9 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
f8527dd881 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
e9e10ab2c1 Bug 1114935 - Part 6.2: Migration in MobileConnection. r=echen 2015-01-15 18:19:01 +08:00
Hsin-Yi Tsai
f68da2117d Bug 1069186 - determine LTE signal level based on rsrp and rssnr. r=edgar 2015-02-16 19:12:54 +08:00
Wes Kocher
9b35dd25c4 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Tooru Fujisawa
9bc8b14eba 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é
ae557e0c21 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
b9870ca52f Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
d3eac9c824 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
45c6bcf717 Bug 1067629 - Part 4: Update the related testcase. r=aknow 2015-02-13 00:23:00 -05:00
Ben Hsu
c7dc4f70a5 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]
083d17a849 Bug 1129277 - Remove builtinclass of nsIMobileConnectionCallback 2015-02-17 12:32:48 +08:00
Szu-Yu Chen [:aknow]
a839a6ff11 Bug 1124550 - Part 01: Remove unused code. r=hsinyi 2015-02-03 12:18:19 +08:00
Ms2ger
230617c722 Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Ehsan Akhgari
b6e35bb4b4 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
Ehsan Akhgari
abb608a46d Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Ben Hsu
cbf36a04a6 Bug 1114841 - Part 2: Remove DOMMMIError (DOM). r=aknow
--HG--
extra : histedit_source : 3077071db58877fc5be0332fb2fe78eda504e18e
2015-01-04 18:19:00 -05:00
Hsin-Yi Tsai
2f5937bfec Bug 1116431 - mobileconnection.iccId should be null instead of an empty string when no sim. r=edgar 2014-12-31 15:13:50 +08:00
Ben Hsu
da6ef958b4 Bug 1070831 - Part 7: Update related testcases (Follow). r=aknow 2014-12-24 02:41:00 -05:00
Edgar Chen
3e0b27eed9 Bug 1087847 - Make sure the Icc status in MobileConnection and IccManager are synced. r=hsinyi,smaug 2014-11-13 19:12:11 +08:00
Ben Hsu
c484a9009a Bug 1070831 - Part 7: Update related testcases. r=aknow 2014-12-21 17:38:00 +01:00
Ben Hsu
f24f7e3c55 Bug 1070831 - Part 5: Clean up the related IPC files. r=aknow 2014-12-21 17:35:00 +01:00
Ben Hsu
4a272ff44b Bug 1070831 - Part 4: Internal architecture changes. r=aknow 2014-12-21 17:35:00 +01:00
Ben Hsu
dfcee8ee7a Bug 1070831 - Part 3: Internal interface changes. r=aknow 2014-12-21 17:31:00 +01:00
Ben Hsu
58421df213 Bug 1070831 - Part 2: Clean up the DOM implementation. r=aknow 2014-12-21 17:30:00 +01:00
Ben Hsu
6b06ef1612 Bug 1110572 - Check the existance of a listener in this._listeners. r=edgar 2014-12-17 00:33:00 -05:00
Edgar Chen
7de2a1a309 Bug 1052825 - Part 4: Add test in mobileconnection for unlocking puk via MMI. r=hsinyi 2014-11-27 15:12:42 +08:00
Bevis Tseng
dc37a28162 Bug 1072808 - Part 4: Add MobileConnectionMessenger as a Wrapper for USSD/CdmaInfo System Messages. r=echen 2014-10-24 18:40:39 +08:00
Carsten "Tomcat" Book
7d00d8468a Backed out changeset 959ee37e80d5 (bug 1072808) 2014-11-25 10:45:38 +01:00
Bevis Tseng
6dd0ac0b52 Bug 1072808 - Part 4: Add MobileConnectionMessenger as a Wrapper for USSD/CdmaInfo System Messages. r=echen 2014-10-24 18:40:39 +08:00
Jessica Jong
7cc87cf696 Bug 1052846 - Part 3: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (gonk). r=echen 2014-11-18 10:07:02 +08:00
Jessica Jong
565ce1d394 Bug 1052846 - Part 2: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (dom/ipc). r=echen 2014-11-18 10:07:00 +08:00
Jessica Jong
12733f8228 Bug 1052846 - Part 1: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (idl). r=hsinyi 2014-11-18 10:06:52 +08:00
Jessica Jong
68de7fe7f5 Bug 1052848 - Add assertions for MobileRoamingMode. r=echen 2014-11-11 23:43:00 -05:00
Jessica Jong
7abb128fc5 Bug 1052848 - Part 3: Use enums for MobileRoamingMode in nsIMobileConnectionProvider.idl (gonk). r=echen 2014-11-10 17:56:15 +08:00
Jessica Jong
d30ed17a98 Bug 1052848 - Part 2: Use enums for MobileRoamingMode in nsIMobileConnectionProvider.idl (dom/ipc). r=echen 2014-11-10 17:56:13 +08:00
Jessica Jong
e93ca40fc5 Bug 1052848 - Part 1: Use enums for MobileRoamingMode in nsIMobileConnectionProvider.idl (idl). r=hsinyi 2014-11-10 17:56:12 +08:00
Jessica Jong
897c16255b Bug 1095332 - B2G RIL: Fix false alarms "WARNING: 'jsapi.Init(mWindow)'...". r=echen 2014-11-06 23:56:00 -05:00
Jessica Jong
507ab8fe9f Bug 1071469 - Part 4: don't use 'jsval' in nsITelephonyService.idl (gonk). r=echen 2014-11-06 10:20:54 +08:00
Carsten "Tomcat" Book
251ce20cf9 Merge mozilla-central to b2g-inbound 2014-11-04 13:39:32 +01:00
Edgar Chen
b22dac27e9 Bug 1092013 - Part 2: Enable ril debug when running mobileConnection tests. r=hsinyi 2014-11-02 14:39:14 +08:00
Edgar Chen
fca0d639fb Bug 1092013 - Part 1: mozMobileConnection.data.cell is reset to null unexpectedly in MobileConnectionService. r=hsinyi 2014-10-31 15:15:47 +08:00
David Major
f2d4ad8519 Bug 1084162 - Part 2: Don't PGO MobileConnection.cpp because it crashes VS2013. r=glandium 2014-11-04 14:28:06 +13:00
Jessica Jong
02a7c68ca8 Bug 1052836 - Part 3: Use enums for preferred network type in nsIMobileConnectionService.idl (gonk). r=echen 2014-10-30 02:57:00 -04:00
Jessica Jong
1d4db6b32a Bug 1052836 - Part 2: Use enums for preferred network type in nsIMobileConnectionService.idl (dom/ipc). r=echen 2014-10-30 02:56:00 -04:00
Jessica Jong
4bdd9018c7 Bug 1052836 - Part 1: Use enums for preferred network type in nsIMobileConnectionService.idl (idl). r=hsinyi 2014-10-30 02:56:00 -04:00
Edgar Chen
a5d4452b52 Bug 1083843 - [MobileConnection] Deprecate CFStateChangeEvent.success. r=hsinyi,smaug,btian 2014-10-23 22:13:35 +08:00
Jessica Jong
35d68af204 Bug 1052842 - (follow-up) Use enums for NetworkSelectionMode in nsIGonkMobileConnectionService.idl. r=hsinyi 2014-10-27 10:10:19 +08:00
Jessica Jong
8643dd2c80 Bug 1052843 - Part 3: Use enums for MobileRadioState in nsIMobileConnectionService.idl (gonk). r=echen 2014-10-24 17:12:35 +08:00