Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
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
Nathan Froyd
e970b7431b
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Milan Sreckovic
a1bdbcfff9
Bug 1121835: Deal with non-finite values in Path calls. r=bschouten
2015-01-19 14:19:25 -05:00
Milan Sreckovic
6830a939b5
Bug 946069 - Assert/critical error if the CG contexts are invalid. Also, deal with the empty path when asking for the current point. r=mstange
2014-12-12 15:35:48 -05:00
Jonathan Watt
2a7e9c4671
Bug 949661 - Make PathBuilderCG::Arc use ArcToBezier instead of CGPathAddArc to work around a CG stroke dashing bug. r=jrmuizel
2014-10-29 01:59:36 +00:00
Jonathan Watt
344fb8cd20
Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange
2014-06-13 17:09:23 +01:00
Benoit Jacob
06f7a9c4a2
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Milan Sreckovic
a707eef534
Bug 893572 - Add tests and backout part of bug 922942 for regressing the tests prior to them being landed. r=Bas, r=mattwoodrow
2013-12-17 16:51:16 -05:00
Jonathan Watt
3576e7b904
Bug 944704, part 4 - Fix PathBuilderCG::Arc to sweep in the correct direction. r=Bas
2013-12-14 11:09:36 +00:00
Matt Woodrow
8a016cc126
Bug 935297 - Part 5: Implement StreamToSink on CG. r=Bas,jrmuizel
...
--HG--
extra : rebase_source : 81c9ba1c486ef7892f400a18707cdb3440c534e7
2013-11-06 15:52:51 +13:00
Matt Woodrow
60bb7765a1
Bug 922942 - Avoid crashes with PointInFill. r=Bas
...
--HG--
extra : rebase_source : cf209258a71342590c3d3488912d85df86a14b8b
2013-11-04 14:47:18 +13:00
Jeff Muizelaar
dfb3ac3543
Bug 891388. Implement Arc() in PathCG. r=joe
...
--HG--
extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
2013-07-08 14:28:21 -04:00
Yury
0b958ef865
Bug 812039 - mozIsPointInPath leaks CGPath objects. r=jmuizelaar
2012-11-15 20:34:57 -05:00
Tobias Schneider
d0adae1591
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Joe Drew
c12d40e347
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
012f6296d7
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
7d9c231869
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Muizelaar
7edc099e21
Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow
2012-02-25 00:35:41 -05:00
Jeff Muizelaar
11b2338e5c
Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
...
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.
--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Jeff Muizelaar
80095e3007
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
0dc4c17288
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
b2072dc211
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Ms2ger
ce301744c0
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
e74511907f
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00