gecko-dev/mfbt/tests
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
..
TestArrayUtils.cpp Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
TestAtomics.cpp Bug 1155864 - Rip out Windows intrinsics from Atomics.h and allow Atomic to hold 64-bit types everywhere. r=Waldo 2015-04-17 18:40:52 -07:00
TestBinarySearch.cpp Bug 1059179 - Add BinarySearchIf(). r=waldo 2014-09-01 19:26:16 +02:00
TestBloomFilter.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestCasting.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestCeilingFloor.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestCheckedInt.cpp Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce 2014-12-18 15:27:05 -05:00
TestCountPopulation.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestCountZeroes.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestEndian.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestEnumSet.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestFloatingPoint.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestIntegerPrintfMacros.cpp Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
TestJSONWriter.cpp Bug 1074591 (part 2) - Remove Pointer{Element,Property}() from JSONWriter. r=froydnj. 2014-10-02 18:01:32 -07:00
TestMacroArgs.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestMacroForEach.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestMaybe.cpp Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
TestPair.cpp Bug 1143077 (Followup) - Add assignments to Pair test. 2015-03-17 19:40:17 -07:00
TestPoisonArea.cpp Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
TestRefPtr.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
TestRollingMean.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestSHA1.cpp Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger. 2014-07-22 20:54:41 -07:00
TestSegmentedVector.cpp Bug 1113300 - Add a way to use SegmentedVector like a stack. r=froydnj 2015-05-07 09:11:00 +02:00
TestSplayTree.cpp no bug - fix -Wreturn-type warning on a CLOSED TREE 2015-05-06 11:12:46 -04:00
TestTemplateLib.cpp Bug 1163328 - Add an And<...> class to TemplateLib.h which performs logical and on a variadic number of booleans known at compile time. r=froydnj 2015-05-21 22:33:39 -04:00
TestTuple.cpp Bug 1163328 - Tests for mozilla::Tuple. r=froydnj 2015-05-21 21:14:25 -04:00
TestTypeTraits.cpp Bug 1168008 - Make IsConvertible handle void. r=gerald 2015-05-28 16:03:08 -07:00
TestTypedEnum.cpp Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
TestUniquePtr.cpp Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
TestVariant.cpp Bug 1174906 - Add a mozilla::Variant<T1, T2, ...> template class; r=Waldo 2015-06-30 10:01:00 -07:00
TestVector.cpp Bug 1139993 - Add VectorBase::ConstRange that gives out |const T&| entries. r=Waldo 2015-03-06 15:37:00 -05:00
TestWeakPtr.cpp Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
moz.build Bug 1174906 - Add a mozilla::Variant<T1, T2, ...> template class; r=Waldo 2015-06-30 10:01:00 -07:00