Commit Graph

88 Commits

Author SHA1 Message Date
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Watt
3a0065fa08 Bug 707960 - Remove the covered region hack added in bug 614732. r=longsonr.
--HG--
extra : rebase_source : 0b2147bed77e20ba1a1afa635a1aa95e23f41051
2012-07-23 12:00:40 +01:00
Jonathan Watt
1adb494274 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Jonathan Watt
2d338f4adf Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Jonathan Watt
5047eaf363 Bug 771795 - Stop over-invalidating SVG. r=heycam. 2012-07-08 08:29:57 +02:00
Jonathan Watt
6d5640d6dd Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
210ba1b832 Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
ee7b3d7fe0 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Watt
c8b52ec634 Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Jonathan Watt
cb4551f9d5 Bug 738929 - Speed up building of layout/svg/base/src by cleaning up #include directives in its source files. r=dholbert. 2012-03-26 12:58:59 +01:00
Jonathan Watt
e30bc57157 Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
c9836192c8 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Robert Longson
1e81fc3027 Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Jonathan Watt
1374ace393 Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas. 2012-03-02 08:28:59 +00:00
Jonathan Watt
8303f9f7d4 Bug 726928 - UpdateCoveredRegion needs to convert 'extent' from CSS px now, not Dex px, otherwise painting invalidation is broken. r=dholbert. 2012-02-17 06:07:51 +00:00
Rafael Ávila de Espíndola
1b8e3721ea Bug 727218 - mark nsSVGImageListener final. r=roc. 2012-02-15 06:29:31 -05:00
Jonathan Watt
e9a976b112 Bug 614732 - Temporary patch to add an mCoveredRegion to SVG leaf frames to cache their covered regions, since we can't reliably compute their pre-change covered regions for invalidation from the user space bounds now in their mRects (see bug 614732 comment 32 solution #1). r=roc. 2012-02-10 12:33:49 +00:00
Jonathan Watt
52effda719 Bug 614732 - For SVG leaf frames, use mRect to store the frame's user space bounds, and stop using it to store its covered region (compute that on demand). r=roc. 2012-02-10 12:33:46 +00:00
Jonathan Watt
18cb8886d0 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Scott Johnson
8b64920eb3 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Justin Lebar
0f63342314 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
6ce9c5bbde Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-01 11:06:53 -04:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Robert Longson
ec1fe3034f Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
f7b9213184 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
86ffe6926f Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Robert Longson
baf4f6d89e Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2e60074c52 Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Scott Johnson
d7adce1370 Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions 2011-10-07 00:25:36 -07:00
Scott Johnson
e317548311 Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-10-03 13:39:05 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonathan Watt
ec8b7c2df1 Bug 664130 - Rename GetHittestMask to GetHitTestFlags to avoid confusion about masking. r=longsonr. 2011-07-08 14:20:14 +01:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Daniel Holbert
1618fafe07 Bug 614272: When painting an SVG image, check if imageTransform is singular before applying it to our gfxContext. r=longsonr a=blocking-final+ 2011-01-10 21:57:19 -08:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
9dce61ff01 Bug 272288 Patch 1: Fix nsSVGImageFrame to handle SVG images. r=roc a=roc 2010-12-19 16:45:29 -08:00
Robert Longson
0b5ec4c833 Bug 605626 - Prevent assertion when displaying an image that has no width or height r=dholbert a=roc 2010-10-26 09:19:31 +01:00
Daniel Holbert
a313214d9f Bug 606360: Don't double-count full-page-zoom factor when drawing SVG <image> element. r=longsonr a=blocking-final+ 2010-10-22 15:55:04 -07:00
Daniel Holbert
0cba8fe605 Bug 605420: Adjust dirtyRect to the right coordinate system when drawing for the SVG <image> element. r=longsonr a=blocking-final 2010-10-22 09:52:41 -07:00
Daniel Holbert
27e28e68bf Bug 604723: Multiply onto (instead of replacing) our gfxContext matrix when painting SVG images. r=longsonr a=blocking 2010-10-19 13:48:02 -07:00
Daniel Holbert
b5aa5d79c6 Bug 598798 patch 5: Make nsSVGImageFrame::PaintSVG use nsLayoutUtils::DrawSingleImage. r=roc r=jwatt a=blocking-betaN 2010-10-11 13:08:19 -07:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Chris Jones
308355c7a0 Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Robert O'Callahan
3ecd0a2a97 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00