Commit Graph

32 Commits

Author SHA1 Message Date
André Reinald
860e5581ca Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Masayuki Nakano
8c4ece5434 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Ehsan Akhgari
a15756e3c9 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Masayuki Nakano
b5a383ee53 Bug 920377 part.28 Get rid of nsDragEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
517b713dad Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
085e2faeda Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
4a5dc45e59 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Benoit Jacob
f6f57bbbb4 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
Robert O'Callahan
0c63e0d429 Address review comments for bug 905909. r=dholbert 2013-09-19 16:30:30 +12:00
Bobby Holley
c44ac1cac5 Bug 905909 - Avoid infinite recursion in nsTreeBodyFrame. v1 2013-09-13 04:02:30 -07:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Masayuki Nakano
d251a5d7d6 Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc 2013-09-03 20:45:28 +09:00
Mats Palmgren
b42dc84aac Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Stephen Pohl
653988dba5 Bug 870917: Fix overlay scrollbars in XUL trees to fade and disappear correctly instead of pulsating continuously. r=roc 2013-07-12 23:19:37 -04:00
Blake Kaplan
d8846cdcec Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky 2013-05-01 15:50:08 -07:00
Gabor Krizsanits
9d5f7191e2 Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Stephen Pohl
eb234aaf4e Bug 874486 - Add weakFrame.IsAlive checks to avoid crashing. r=roc 2013-05-22 13:16:19 -04:00
Stephen Pohl
1be15adc9e Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
6f650d1dd5 Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
b4e558b7e2 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Trevor Saunders
d5a1f2dec2 bug 809871 - part 2/3 - outparamdel some nsTreeBodyFrame methods r=mats 2012-11-18 07:40:17 -05:00
Trevor Saunders
3d053dbfca bug 809871 - patch 1/3 - nsTreeColumns should store nsTreeBodyFrame* r=mats 2012-11-18 07:37:19 -05:00
Boris Zbarsky
91beeed598 Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv 2013-03-26 11:31:53 -04:00
Boris Zbarsky
c0d4537026 Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Alexander J. Vincent
288baa7151 Bug 851834 - Remove nsISupportsArray from layout/xul/tree. r=Neil 2013-03-19 08:46:20 -07:00
Jeff Walden
ae46876880 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Ryan VanderMeulen
a70ec7be21 Merge m-c to inbound. 2013-03-04 18:20:41 -05:00
Trevor Saunders
fdf2a869ea bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
L. David Baron
ca6c366dc6 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
b18cd55753 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow 2013-02-15 00:12:27 +13:00
Jeff Walden
8be01906e2 Bug 835542 - Implement mozilla::Abs. r=Ms2ger 2013-02-15 19:55:36 -08:00
Alex Vincent
3cb1fd90a9 Bug 833879 - Move layout/xul/base/src/tree/ to layout/xul/tree, layout/xul/base/src/grid to layout/xul/grid. r=roc 2013-02-04 07:11:49 -05:00