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

29 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05: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
Bevis Tseng ddd1dd8283 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +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
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
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
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04: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
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
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 bb7c33d747 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : rebase_source : 115641804ec40a733ea7313043f44478774f8ecf
extra : histedit_source : adeca2a2a706247efad367073b2c7943af4e4496
2015-01-13 18:03:44 +08:00
Edgar Chen 5188f3ea13 Bug 1142495 - Fix ICC build error on emulator L. r=hsinyi 2015-03-12 23:55:50 +08:00
Carsten "Tomcat" Book 58c53ce72e merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Edgar Chen 10ca187446 Bug 1112471 - Part 2: DOM Changes for getting icc service state API. r=smaug 2014-12-26 10:11:20 +08:00
Botond Ballo 390eb5781d Bug 1073003 - Fix -Wswitch warnings. r=echen
--HG--
extra : rebase_source : 5fee55fde383139422f0b50301a8a14fac38dc15
2014-12-23 03:11:17 -05:00
Edgar Chen 948ddc5868 Bug 1098210 - Use WebIDL enums for mvnoType. r=hsinyi 2014-12-12 19:04:00 +08:00
Fabrice Desré 6c659fae80 Backout bug 1098210 (2bd2fad9eac0) for suspicion of smoke test breakage. r=me 2014-12-31 12:30:31 -08:00
Edgar Chen 5708a14a7f Bug 1098210 - Use WebIDL enums for mvnoType. r=hsinyi 2014-12-12 19:04:00 +08:00
Edgar Chen 0aa7fa0c12 Bug 1052852 - Use WebIDL enums for contactType. r=hsinyi 2014-12-12 11:08:27 +08:00
Edgar Chen ec63bd2ac9 Bug 1052825 - Part 2: DOM changes for using WebIDL enum in lockType. r=smaug 2014-11-11 18:16:57 +08:00
Garner Lee f82eaae04d Bug 1030602 - Remove extra SE Web MozICC dom APIs. r=allstars.chh sr=smaug 2014-10-22 11:24:00 +02:00
Vicamo Yang aad2f2d605 Bug 937485 - [WebIcc] use Webidl enum for cardState. r=edgar,smaug 2014-09-03 19:31:00 +08:00
Peter Van der Beken dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Edgar Chen 02486c284f Bug 994461 - Part 1: Move IccInfo to WebIDL. r=smaug,vicamo
--HG--
rename : dom/icc/interfaces/nsIDOMIccInfo.idl => dom/icc/interfaces/nsIIccInfo.idl
2014-09-19 15:53:05 +08:00
Carsten "Tomcat" Book 5eb817d9d8 Backed out changeset e6f223a82d91 (bug 937485) for causing b2g device regressions 2014-09-05 12:12:10 +02:00
Vicamo Yang 0284125420 Bug 937485: [WebIcc] use Webidl enum for cardState. r=echen, r=smaug 2014-09-04 10:31:41 +08:00
Birunthan Mohanathas ed37c377e3 Bug 1058101 - Flatten dom/icc/src/ into parent directory. r=mccr8
--HG--
rename : dom/icc/src/Icc.cpp => dom/icc/Icc.cpp
rename : dom/icc/src/Icc.h => dom/icc/Icc.h
rename : dom/icc/src/IccListener.cpp => dom/icc/IccListener.cpp
rename : dom/icc/src/IccListener.h => dom/icc/IccListener.h
rename : dom/icc/src/IccManager.cpp => dom/icc/IccManager.cpp
rename : dom/icc/src/IccManager.h => dom/icc/IccManager.h
2014-08-27 10:12:15 -07:00