Jonathan Watt
ee916d4351
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
13e1e5f79d
Bug 1062249 - Vastly simplify the various GetCanvasTM methods. r=longsonr
...
--HG--
extra : rebase_source : b0ba980a34c720bd3c3f3c95733083e92f0c0513
2014-09-08 12:28:50 +01:00
Markus Stange
f765e8e0ff
Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc
2014-09-10 12:18:57 +02:00
Markus Stange
1d10ec322f
Bug 1062832 - Make nsSVGFilterChainObserver participate in cycle collection. r=roc
2014-09-09 17:14:46 +02:00
Markus Stange
291a8d4966
Bug 1062832 - Create abstract class nsSVGFilterChainObserver for observers without frames. r=roc
2014-09-09 17:14:46 +02:00
Markus Stange
b12757247a
Bug 1062832 - Move frame invalidation from nsSVGFilterReference to nsSVGFilterProperty. r=roc
2014-09-09 17:14:46 +02:00
Markus Stange
5ca816d536
Bug 1062832 - Remove frame handling from nsSVGIDRenderingObserver and put it into nsSVGRenderingObserverProperty. r=roc
2014-09-09 17:14:45 +02:00
Markus Stange
f0ce0d3170
Bug 1062832 - Reorder stuff in nsSVGEffects.cpp. r=roc
2014-09-09 17:14:45 +02:00
Markus Stange
0184e500c3
Bug 1062832 - Use nsRefPtr in the filter references array instead of manual refcounting. r=roc
2014-09-09 17:14:45 +02:00
Markus Stange
9eefe61541
Bug 1062832 - Remove nsSVGFilterProperty::mFilters. r=roc
2014-09-09 17:14:44 +02:00
Cameron McCormack
424406e1b8
Bug 1042860 - Handle animated attribute changes on descendants of SVG <text> elements. r=dholbert
2014-09-08 12:34:20 +10:00
Jonathan Watt
53f6bba616
Bug 1063853, part 2 - Move all nsRenderingContext user data to the wrapped Moz2D DrawTarget. r=Bas
2014-09-05 18:11:35 +01:00
Jonathan Watt
7d2ad21e7e
Bug 1063073 - Make sure embedding elements that rely on an embedded SVG's intrinsic dimensions are resized if the SVG is late in loading. r=dholbert
2014-09-04 20:09:51 +01:00
Jonathan Watt
2ec303fb9e
Bug 932771, part 3 - Make PaintSVG painting work by passing transforms down, rather than walking up the tree using GetCanvasTM. r=longsonr
2014-08-29 20:42:07 +01:00
Cameron McCormack
ba762a2f5c
Bug 931668 - Part 10: Record pending restyles of restyle root descendants and ensure we restyle them if we didn't get to them. r=dbaron
...
--HG--
extra : rebase_source : b259e02c38362a12735158e30d6aa54556cf54ab
2014-09-05 13:48:45 +10:00
Max Vujovic
5820513009
Bug 1058801 - Make mFilter a const reference in nsSVGFilterInstance, like in nsCSSFilterInstance. r=mstange
2014-09-04 10:31:04 -07:00
Max Vujovic
1d758c7592
Bug 1058798 - Fix indentation in ns*FilterInstance.h files. r=mstange
2014-09-04 10:31:03 -07:00
Max Vujovic
e006fff028
Bug 1058794 - Change some functions in nsFilterInstance.cpp to return a value instead of nsresult. r=mstange
2014-09-04 10:31:03 -07:00
Max Vujovic
6ba69e7f96
Bug 1058809 - Move the opening brace for nsCSSFilterInstance::SetBounds to a newline. r=mstange
2014-09-04 10:31:02 -07:00
Jonathan Watt
e2bfc1e9ea
Bug 1053237 - Stop unnecessarily calling nsSVGUtils::AdjustMatrixForUnits() over and over in nsSVGMaskFrame. r=longsonr
2014-08-18 10:35:26 +01:00
Ehsan Akhgari
60360fc645
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
James Kolb
74a487913a
Bug 1028288 Add canvas global transparency support to svgs. r=seth
2014-08-29 23:04:34 +09:00
Max Vujovic
f2d76f0477
Bug 948265 - Add CSS opacity filter to nsCSSFilterInstance. r=mstange
2014-08-25 12:23:22 -07:00
Max Vujovic
c870efb559
Bug 948265 - Add CSS contrast filter to nsCSSFilterInstance. r=mstange
2014-08-25 12:23:21 -07:00
Max Vujovic
5e832dfb35
Bug 948265 - Add CSS brightness filter to nsCSSFilterInstance. r=mstange
2014-08-25 12:23:20 -07:00
Max Vujovic
8f2b88b966
Bug 948265 - Add CSS invert filter to nsCSSFilterInstance. r=mstange
2014-08-25 12:23:19 -07:00
Jonathan Kew
50cb6e6264
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Jonathan Kew
a5a5cf98e5
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Seth Fowler
4cd9e3e8e6
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
...
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
David Zbarsky
1b247e50b6
Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical
2014-08-22 09:40:02 -04:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Max Vujovic
83273ef37c
Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange
2014-08-21 10:17:12 -07:00
Max Vujovic
bb851682eb
Bug 948265 - Add CSS grayscale filter to nsCSSFilterInstance. r=mstange
2014-08-21 10:17:09 -07:00
Max Vujovic
4c4ed2fc92
Bug 948265 - Add CSS saturate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 17:52:28 -07:00
Max Vujovic
891ddf7cb3
Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron
2014-08-20 15:46:59 -07:00
Ehsan Akhgari
5833657423
Bug 1055519 - Fix some more bad implicit constructors in layout and widget; r=roc
2014-08-20 00:58:22 -04:00
Aryeh Gregor
60fbc97021
Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan
2014-08-18 17:44:50 +03:00
Robert O'Callahan
a1480fca87
Bug 1048752. Part 19: Create nsCaret::GetPaintGeometry to call during painting. r=tn
...
This is the start of the changes to caret-drawing proper.
The idea is to combine GetCaretFrame and GetCaretRect into a method
GetPaintGeometry which looks like GetGeometry but returns values
needed for painting (i.e. including bidi decorations, and returning
a null frame if we're not supposed to paint due to specific caret
state, e.g. in the "off" phase of the blink cycle).
Mostly a straightforward refactoring but there are a few interesting changes:
-- nsDisplayCaret stores its bounds instead of getting them from nsCaret on
demand. Eventually those bounds will not be stored in nsCaret at all.
-- nsDisplayCaret::GetBounds returns true for aSnap. nsCaret draws snapped
rects, so why not.
-- I removed "if (caretRect.Intersects(aDirtyRect))" in EnterPresShell.
As far as I can tell, this check is incorrect because it doesn't take
transforms into account. Since there's at most one drawn caret per window,
hence we do this at most once per paint, I don't think there's any real
performance advantage to having this check.
--HG--
extra : rebase_source : c98d3a5994478b482d19cc2e2ac83ab51bd17e00
2014-08-06 17:19:28 +12:00
Robert O'Callahan
0a6d04586e
Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
...
The forward declaration of Selection in nsCaret.h will be used in later patches.
--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00
Robert O'Callahan
2489dc1f01
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Max Vujovic
1c39379cd6
Bug 948265 - Add NOT_IMPLEMENTED return value for each CSS filter in nsCSSFilterInstance. r=longsonr
2014-08-15 10:43:42 -07:00
Max Vujovic
f797e1291f
Bug 948265 - Add CSS drop-shadow filter to nsCSSFilterInstance. r=mstange
2014-08-14 11:29:56 -07:00
Jonathan Watt
1f2273ebfb
Bug 1052999 - Stop using FOR_PAINTING in nsSVGForeignObjectFrame::GetInvalidRegion. r=longsonr
2014-08-13 13:36:41 +01:00
Jonathan Watt
9cf6a9f6a0
Bug 1052913 - Clean up some nsSVGClipPathFrame code and add some documentation to make it clearer. r=dholbert
2014-08-13 13:36:32 +01:00
Jonathan Watt
7a07a4a8da
Bug 1052910 - Clean up some includes. r=dholbert
2014-08-13 13:34:53 +01:00
Jonathan Watt
5762a0a0eb
Bug 1052915 - Stop unnecessarily calling nsSVGUtils::AdjustMatrixForUnits() over and over in nsSVGClipPathFrame. r=longsonr
2014-08-13 13:34:52 +01:00
Trevor Saunders
8f78184d9a
bug 1016545 - Provide an iterator that iterates over all children of an element r=bz
2014-07-16 14:41:57 -04:00
Nicholas Nethercote
a7cf4142b4
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Jonathan Watt
ca40beec75
Bug 1049256, part 2 - Get rid of nsISVGChildFrame::FOR_HIT_TESTING. r=longsonr
2014-08-07 08:09:34 +01:00
Jonathan Watt
f35f4a70d1
Bug 1049256, part 1 - Convert SVG hit-testing to act on an SVG user space point instead of calling nsSVGUtils::GetCanvasTM(). r=longsonr
2014-08-07 08:09:31 +01:00