Commit Graph

13 Commits

Author SHA1 Message Date
Nathan Froyd
c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Liang-Heng Chen
0727e1ae3e Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-21 07:53:00 +02:00
Carsten "Tomcat" Book
bdf50df75e Backed out changeset b47029d8d419 (bug 1205237) 2015-10-21 11:14:48 +02:00
Liang-Heng Chen
1388286814 Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin
--HG--
extra : rebase_source : b86c2f05e6f0bf6389864e5a2b36756c08afef0b
2015-10-20 02:32:00 +02: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
Sean Lin
fb882d073c Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 1 - WebIDL & implementation changes. r=smaug 2015-10-08 18:11:10 +08:00
Sean Lin
258942501c Bug 1192101 - Part 4 -Support PresentationRequest / PresentationAvailability / getSession(s). Part 4 - Rename PresentationSessionInfo relevant classes. r=smaug 2015-09-09 17:41:55 +08:00
Sean Lin
16cb2d0274 Bug 1192727 - Improve the way that Presentation receiver gets the ID of the incoming session. r=smaug
--HG--
extra : histedit_source : 9ca69ab5fb5b440050bf6cd9e9e95242d31c2b27
2015-08-31 13:24:35 +08:00
Sean Lin
1efa4382a3 Bug 1069230 - Presentation API implementation. Part 8 - Data transport channel. r=jdm 2015-04-22 16:01:38 +08:00
Sean Lin
4e9ad23c31 Bug 1069230 - Presentation API implementation. Part 6 - mozChromeEvent for app launch. r=fabrice r=smaug 2015-03-30 15:48:11 +08:00
Sean Lin
4eb814cda5 Bug 1069230 - Presentation API implementation. Part 5 - Establish session (receiver). r=smaug 2015-03-30 15:46:11 +08:00
Sean Lin
0a8b5f2ba1 Bug 1069230 - Presentation API implementation. Part 4 - Establish session (sender) & available changes. r=smaug 2015-03-30 14:27:27 +08:00
Sean Lin
ffb77b7af4 Bug 1069230 - Presentation API implementation. Part 2 - Presentation service and listeners. r=smaug 2015-03-25 19:47:56 +08:00