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
Xidorn Quan
c783a5c82f
Bug 1187801 part 3 - Add iframe fullscreen flag and stop auto-rollback when this flag presents. r=smaug
2015-10-08 17:47:39 +11:00
Andrea Marchesini
db97457570
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
4d84eb2be5
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
2015-07-11 14:14:58 +02:00
Andrea Marchesini
567d09c01f
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 21:08:43 -04:00
Xidorn Quan
a5cfa673a9
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
0294bacd27
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04: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
Robert Longson
edf9f8fd0c
Bug 1108887 - Backout part 2 of bug 949435 (SVG iframe). r=bzbarsky
2015-02-11 11:20:50 +00:00
Kan-Ru Chen (陳侃如)
8863a756af
Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz
2014-11-21 18:56:27 +08:00
Kan-Ru Chen (陳侃如)
2c3f23f89f
Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz
2014-11-21 18:56:27 +08:00
Wes Kocher
c219da6c17
Backed out changeset 78aacc35b4e7 (bug 1044736) for breaking statusbar in b2g, take two a=backout
2014-11-17 22:49:39 -08:00
Wes Kocher
30086e74a0
Backed out changeset c7c9170ab299 (bug 1044736)
2014-11-17 22:44:13 -08:00
Wes Kocher
18435c6ea3
Backed out changeset d045286cff6e (original backout of 8 changesets) for not working right a=backout
2014-11-17 22:19:49 -08:00
Wes Kocher
df63c516ef
Backed out 8 changesets (bug 1044736) for breaking the statusbar on b2g a=backout
...
Backed out changeset b1a6ecfca674 (bug 1044736)
Backed out changeset 61fc517d0336 (bug 1044736)
Backed out changeset 59a47fafaccf (bug 1044736)
Backed out changeset b3ff4ce20e67 (bug 1044736)
Backed out changeset e4f1f09f150f (bug 1044736)
Backed out changeset 8ecfc1f41ddc (bug 1044736)
Backed out changeset c7c9170ab299 (bug 1044736)
Backed out changeset 78aacc35b4e7 (bug 1044736)
2014-11-17 20:34:00 -08:00
Kan-Ru Chen (陳侃如)
4f169ae692
Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz
2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
afb172ba6d
Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz
2014-11-12 19:27:31 +08:00
Carsten "Tomcat" Book
66af27d596
Backed out changeset e81aa95ac8d3 (bug 1044736) to fix bustage on a CLOSED TREE
2014-11-12 08:40:14 +01:00
Carsten "Tomcat" Book
2f6cb3d69a
Backed out changeset 8505276285fa (bug 1044736)
2014-11-12 08:39:41 +01:00
Carsten "Tomcat" Book
6c2b14a312
Backed out changeset 6ccbc46c33db (bug 1044736)
2014-11-12 08:39:28 +01:00
Kan-Ru Chen (陳侃如)
6d134c35cc
Backed out 8 changesets (bug 1044736) r=bustage
...
Backed out changeset 920775ddfb85 (bug 1044736)
Backed out changeset a3604ab2b3ca (bug 1044736)
Backed out changeset fb6a60700803 (bug 1044736)
Backed out changeset 7037d2b40d39 (bug 1044736)
Backed out changeset 1b55f80e1ca6 (bug 1044736)
Backed out changeset f55ff90f2b6f (bug 1044736)
Backed out changeset 8505276285fa (bug 1044736)
Backed out changeset e81aa95ac8d3 (bug 1044736)
2014-11-12 15:10:27 +08:00
Kan-Ru Chen (陳侃如)
27c110b5aa
Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz
2014-11-12 14:20:18 +08:00
Kan-Ru Chen (陳侃如)
687f27c287
Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz
2014-11-12 14:20:18 +08:00
Birunthan Mohanathas
86c0c5b215
Bug 946065 - Part 11: Move content/html/ to dom/ and flatten subdirectories. r=peterv
2014-10-25 20:24:55 +03:00