Nathan Froyd
46d6f38e68
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
Tom Klein
a37fc70bf8
Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar
...
The fix for _cairo_bentley_ottmann_tessellate_boxes is from cairo upstream
commit 11b6c49c103d53526e9805c8906fde5dbb2eb884.
2015-06-18 13:15:00 -04:00
Kartikaya Gupta
66035b2086
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Ryan VanderMeulen
96a8ea6d61
Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
...
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein
e0dbed1ec3
Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar
2015-06-15 16:57:00 +02:00
Jeff Muizelaar
9d12fb02ae
Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
...
We can run these now that we don't split out gkmedias.
This also changes a test to avoid MSVC codegening a divide by 0
2015-06-04 14:34:46 -04:00
Botond Ballo
b9201d6d43
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
2015-06-08 16:01:26 -04:00
Botond Ballo
c2e7f78131
Bug 1169690 - Gtests. r=kats
2015-06-03 19:38:50 -04:00
Kartikaya Gupta
7da59c9813
Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
02cfec25b3
Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
d945923ede
Bug 1169695 - Store task run-at times in the task queue. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
4bd908745e
Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
dd092bcff9
Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
c546d977b5
Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
...
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath
44ec9b7625
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical
2015-05-28 13:02:44 +02:00
Timothy Nikkel
ce67d6c95f
Bug 1168630. Part 6. Modify the test for bug 1119497 based on the new assumption of always having a root APZC. r=botond
...
Part 5 adds an assert that we always return an APZC from GetAPZCAtPoint. The test for bug 1119497 fails this assumption because it does not give it's layer tree a root AZPC. In all non-test code we ensure that there is always a root APZC and many things would break without such. So we modify the test to always have a root APZC more like actual code.
The test is testing that we don't return the layer below (with an APZC) the topmost child layer (without an APZC). So checking if we hit the root APZC still makes the test test the same thing.
2015-05-31 14:44:41 -05:00
Tom Klein
253194c595
Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar
2015-05-30 16:07:48 +01:00
Kartikaya Gupta
af8e959c15
Bug 1166871 - Add a test. r=botond
2015-05-29 11:04:22 -04:00
Mike Hommey
2c863b9fe4
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Kartikaya Gupta
233ca347d8
Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
...
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
9ec5af61da
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-05-22 06:42:08 -04:00
Nathan Froyd
f61c010661
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Carsten "Tomcat" Book
4ac13379e8
Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE
2015-05-20 16:12:33 +02:00
Milan Sreckovic
912b462a4a
Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar
2015-05-15 10:42:10 -04:00
Tom Klein
32a0475bae
Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas
2015-05-20 11:44:05 +01:00
Botond Ballo
f02aa0dc4a
Bug 1159985 - Gtest. r=kats
2015-05-11 22:25:34 -04:00
Botond Ballo
54a961f705
Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats
2015-05-11 22:06:03 -04:00
Botond Ballo
3c8c88ed15
Bug 1163845 - Unify handling of time in APZ gtests. r=kats
2015-05-15 12:45:27 -04:00
John Daggett
d49810fba6
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-13 14:11:25 +09:00
Carsten "Tomcat" Book
92f1f1edb3
Backed out changeset 194a4c39c2a9 (bug 1056479)
2015-05-12 12:21:02 +02:00
John Daggett
43c45479d7
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-12 17:44:20 +09:00
Carsten "Tomcat" Book
1c0b0eacfa
Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
...
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
0e5dd8996b
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-12 14:51:17 +09:00
Kartikaya Gupta
74563ea4c9
Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond
2015-05-07 14:44:03 -04:00
Thibaud Backenstrass
33539fad6d
Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical
2015-05-07 11:08:01 +02:00
Botond Ballo
dae9b09192
Bug 1152051 - Gtest. r=Cwiiis,kats
2015-04-29 19:38:02 -04:00
Kartikaya Gupta
829abde6a5
Bug 1148350 - Add a test. r=botond
2015-04-30 14:30:38 -04:00
Kartikaya Gupta
cfdb6229fe
Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander
2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK)
5b075b3ea2
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
Ryan VanderMeulen
2250cf37e6
Merge inbound to m-c. a=merge
2015-04-14 10:06:03 -04:00
Alexandre Lissy
e012543f84
Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only
2015-04-13 14:26:00 -04:00
Botond Ballo
75058fcf12
Bug 1152051 - During an overscroll animation, detect a peak even if a sample has a velocity of exaclty zero. r=Cwiiis
2015-04-08 19:59:14 -04:00
Nicolas Silva
f2da0db3a0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Jonathan Kew
d39df22a7f
Bug 1012640 - patch 1 - Add checks for IsOriginalCharSkipped() to the gfxSkipChar unit tests. r=roc
2015-04-07 09:27:18 +01:00
Nicolas Silva
e140a853f2
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Martijn Wargers
404a79b2da
Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher
2015-03-20 14:29:19 +01:00
Mason Chang
ed82f14198
Bug 1146691
- Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats
2015-03-24 08:50:58 -07:00
Ehsan Akhgari
33bb32f549
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
Wes Kocher
a694cc39ce
Merge m-c to inbound a=merge CLOSED TREE
2015-03-20 18:01:17 -07:00