Commit Graph

83 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Matt Woodrow
d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Qiang Lu
b3eee8c12c Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel
--HG--
extra : amend_source : f7d209e2dd0bdb9a67c563b5bd2d51da4af56ba8
extra : histedit_source : d8226f7240c5d19d9d2f08f9fc07a83e158505a2%2Cde0d48144261c643fcb23c0f7756906aeded1708
2015-07-24 12:45:55 -07:00
Milan Sreckovic
e3e474039d Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Jeff Gilbert
56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Jeff Gilbert
680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Wes Kocher
d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Jim Chen
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Jeff Gilbert
f032a2a672 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Milan Sreckovic
50b7a495b6 Bug 918386 - Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-07-09 14:21:49 -04:00
Carsten "Tomcat" Book
31145f4c87 Backed out changeset 9f4b2ff029e3 (bug 918386) for breaking emulator tests on a CLOSED TREE 2014-07-09 14:07:52 +02:00
Milan Sreckovic
f50d227be7 Bug 918386: Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-06-30 14:26:39 -04:00
Ryan VanderMeulen
1faa299871 Backed out changeset 9f1c312a85ee (bug 918386) for crashes. 2014-07-03 14:37:10 -04:00
Milan Sreckovic
8b27a0b4d2 Bug 918386: Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-06-30 14:26:39 -04:00
Walter Litwinczyk
cfa586e393 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Birunthan Mohanathas
cfd62b35ad Bug 869836 - Part 10: Use Truncate instead of AssignLiteral(""). r=ehsan
--HG--
extra : rebase_source : e75c900e72e5367518f2b923a839fd23acf29a42
2014-05-26 21:54:53 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
189593520f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jeff Gilbert
4a25e762cd Bug 999713 - Kill WS in files we want to touch. - r=kamidphish 2014-04-22 16:23:18 -07:00
Qiang Lu
e729c53d96 Bug 973761 - [WebRTC] Check device capabilities (HW codec and Android ver) before enabling vp8 hardware acceleration on Fennec. r=bjacob, r=gcp 2014-03-20 21:37:16 +08:00
Benoit Jacob
be611ea96c Bug 957437 - Avoid crashing in GfxInfo::GLStrings::EnsureInitialized() - r=jrmuizel 2014-01-09 15:31:55 -05:00
Benoit Jacob
555568c44c Bug 950203 - Let GfxInfo on Android create its own GL context to get GL strings, instead of waiting on the compositor's - r=jrmuizel 2013-12-18 15:49:13 -05:00
Benoit Jacob
03209f24ba Bug 937204 - 4/3. Avoid stalling in xpcshell or anywhere we don't have a WindowCreator - r=ehsan 2013-11-15 11:28:47 -05:00
Benoit Jacob
acdb7ab005 Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Benoit Jacob
e0bfc36883 Bug 937204 - 2/3. Consistently EnsureInitialized in all GfxInfo getters - r=jrmuizel 2013-11-15 11:28:42 -05:00
Chris Double
f3ca32275b Bug 845734 - Remove Sony devices from JellyBean Stagefright blocklist - r=bjacob 2013-09-03 14:39:41 +12:00
Chris Double
724c3bec8b Bug 818363 - Remove SGH-T989 from stagefright blocklist - r=bjacob 2013-09-03 14:38:52 +12:00
Chris Double
987aac078d Bug 888802 - Whitelist Sony Gingerbread devices for Stagefright OMX video decoding - r=bjacob 2013-09-03 14:36:48 +12:00
Chris Double
393d5abb86 Bug 812680 - Part 4: Don't blacklist HTC One X for OMX decoding - r=bjacob 2013-09-03 14:35:25 +12:00
Edwin Flores
d3fc908cc3 Bug 882342 - Blacklist Motorola XT890 running Android 4.1 for H264 playback r=bjacob 2013-08-01 15:12:14 +12:00
Edwin Flores
7842f48a3d Bug 889433 - Blocklist h264 playback on Sony devices running Android 4.2 r=doublec 2013-07-23 06:34:09 +12:00
Chris Double
459c46a60d Bug 812881 - Backout due to devices no longer crashing - r=bjacob a=akeybl 2013-06-12 14:26:25 +12:00
Benoit Jacob
8c194c46a4 Bug 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe, CLOSED TREE 2013-06-11 14:55:13 -04:00
Ryan VanderMeulen
e0a3048c8c Backed out changeset 90f4975ba986 (bug 879172) for Android bustage on a CLOSED TREE. 2013-06-11 16:13:56 -04:00
Benoit Jacob
698b147eab Bug 879172 - Recognize a device as Sony as soon as its Manufacturer string contains Sony as substring - r=joe 2013-06-11 14:55:13 -04:00
Chris Double
33086ccc59 Bug 868826 - Fix stagefright blocklist for JB devices - r=bjacob 2013-05-09 06:10:21 +12:00
Chris Double
56688b4fe0 Bug 853522 - Add some Samsung JB devices to stagefright blocklist - r=bjacob 2013-05-03 15:08:24 -04:00
Chris Double
29251b57f0 Bug 845729 - Blocklist some Samsung devices on ICS - r=bjacob
--HG--
extra : rebase_source : 620672aab4f726b05b0bcf31e29c61ca828888f6
2013-05-03 11:00:23 +12:00
Chris Double
5b5ef6fcc7 Bug 864734 - Add to Stagefright blocklist for various crashing Android devices - r=bjacob
--HG--
extra : rebase_source : f56ac9d6a3b1206c9476e880ca941dab49c6cf16
2013-04-30 14:45:49 +12:00
Chris Double
5449eb4690 Bug 845734 - Blocklist Sony JB devices for Stagefright decoding - r=bjacob
--HG--
extra : rebase_source : 4acad58a3f5ddcf073f21f8e581e5f5e5660747f
2013-04-23 08:11:48 +12:00
Chris Double
41811e9fb0 Bug 818363 - Blocklist Samsung SGH-T989 on Gingerbread - r=bjacob
--HG--
extra : rebase_source : e687f37cb395c682be95115508617c95df0e1986
2013-04-23 08:11:07 +12:00
Chris Double
22160b515d Bug 845729 - Blocklist some Samsung ICS qcom devices for stagefright decoding - r=bjacob
--HG--
extra : rebase_source : 446b8dbbba7ed7aabe1cd761d4d7404a9a11f65c
2013-04-23 08:10:31 +12:00
Benoit Jacob
e9feee3d7a Bug 863843 - Android: blocklist STAGEFRIGHT on rk30board - r=joedrew 2013-04-20 10:22:51 -04:00
Benoit Jacob
c5a96730b5 Bug 862523 - Android: blocklist the STAGEFRIGHT feature on the following Hardware's: antares, endeavoru, harmony, picasso, picasso_e, ventana - r=joe,doublec 2013-04-17 16:56:05 -04:00