Commit Graph

693 Commits

Author SHA1 Message Date
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Timothy Nikkel
3d5bc6688c Bug 919129. Fix nsLayoutUtils::UpdateImageVisibilityForFrame so that it doesn't expand the image rect so much by replacing it with the scroll port rect. r=matspal 2013-09-21 16:20:22 -05:00
Daniel Holbert
fc2f41d897 Bug 918109: Move some null-initialized static variables in nsLayoutUtils.cpp to function-scope. r=mats 2013-09-18 19:19:23 -07:00
Timothy Nikkel
6193557598 Bug 847223. Part 10. Make the new code work when we have the image visibility analysis prefed off. r=mats 2013-09-14 19:05:06 -05:00
Timothy Nikkel
5a0f35ceaa Bug 847223. Part 6. Use the first reflow of relevant image frames to add/remove them from the visible list. r=mats 2013-09-14 19:05:05 -05:00
Corey Ford
1b743eac38 Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam 2013-09-05 15:47:08 -07:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Robert O'Callahan
e7a331a54e Bug 909603. Remove invalid assertion. r=tn 2013-09-04 16:44:48 +12:00
Timothy Nikkel
e870d6f974 Bug 910529. Part 2. In nsLayoutUtils::PaintFrame, display port and ignoring viewport scrolling should only happen when we are drawing the root frame. r=matt.woodrow 2013-08-28 22:38:15 -05:00
Timothy Nikkel
0e119dfb25 Bug 910529. Part 1: Remove second unneeded declaration of rootScrollFrame in nsLayoutUtils::PaintFrame. r=matt.woodrow 2013-08-28 22:37:42 -05:00
Seth Fowler
c9627e154d Bug 825771 (Part 3) - Add support for image-orientation to nsImageFrame. r=dholbert 2013-08-28 15:39:07 -07:00
Ehsan Akhgari
2faab8bc9e Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
Ehsan Akhgari
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Botond Ballo
cc9d060ff1 Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn 2013-08-08 15:56:08 -04:00
Botond Ballo
c7e59f7954 Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats 2013-08-08 15:56:08 -04:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Corey Ford
c1f2a8126d Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron 2013-08-08 17:20:17 -07:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Corey Ford
df05870c1e Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Ryan VanderMeulen
02d1dbe0d8 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Kartikaya Gupta
80fc21967b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Robert O'Callahan
343eac0301 Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
Carsten "Tomcat" Book
f9fb745d15 Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE 2013-07-26 09:25:03 +02:00
Robert O'Callahan
aa23ef7e8f Bug 837242. Part 1: Convert bool parameters to flags. r=mats
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Max Vujovic
a3d913c879 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Timothy Nikkel
c6f1c91b0a Bug 837242. Part 3. Keep track of what area is exposed to events so that covered frames don't get events. r=roc 2013-07-30 11:22:46 -05:00
Ed Morley
97e3c032bc Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Max Vujovic
cac859d2f2 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
L. David Baron
0354744354 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Bem Jones-Bey
bea2ece59a Bug 829958 - Fix intrinsic width calculation to take into account the scroll frame created when overflow isn't visible. r=bz 2013-07-12 17:24:17 -04:00
L. David Baron
7ec07e319b Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc 2013-06-24 22:32:10 -07:00
Phil Ringnalda
83b45dda07 Back out 2332bb3fe186:10f70b8b04fe (bug 858937) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:42:05 -07:00
L. David Baron
8a290dce94 Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc 2013-06-24 22:32:10 -07:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
David Zbarsky
6453ee5fd6 Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron 2013-06-22 13:35:09 -07:00
Joe Drew
d90b555d68 Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow 2013-05-30 21:33:17 -04:00
Markus Stange
07bad85738 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
David Zbarsky
bbfd5fd484 [Bug 875204] Merge OMTA prefs r=nrc 2013-05-23 15:09:26 +08:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
David Zbarsky
4b7f63887c Bug 874770 - Always enable OMTA throttling r=nrc 2013-05-22 18:31:03 +08:00
Daniel Holbert
568a0e9c03 Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Benjamin Peterson
125cb1c0c5 Bug 873309 followup - Killed another unused function. r=me CLOSED TREE 2013-05-16 20:44:04 -05:00
David Zbarsky
e38d5abf49 Bug 873309 - Remove unused GetAllInFlowPaddingRects(Union) function r=roc 2013-05-16 17:46:10 -07:00
Scott Johnson
c45503c1dd Bug 862763: Cache whether font size inflation is enabled in the pres shell for efficiency. [r=dbaron] 2013-05-16 10:06:03 -05:00
Jonathan Watt
8f5ac9f5d6 Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow 2013-05-14 00:47:02 +01:00
David Zbarsky
66bd868e95 Bug 866575: Throw when creating a pattern with a large source r=nrc, mattwoodrow 2013-05-01 22:04:08 -04:00
Robert O'Callahan
a7a41f0415 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Robert O'Callahan
1c7352a936 Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow 2013-04-20 00:01:41 +12:00
Daniel Holbert
2e9d4d47f3 Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats 2013-04-11 07:49:53 -07:00
Ralph Giles
ad4c3beead Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00