John Daggett
11931c9dfc
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Olli Pettay
3ddf7986cc
Bug 930381 - Follow the COM rules when calling ProcessSynthMouseMoveEvent. r=mats, smaug, tnikkel
2013-11-12 07:54:10 -05:00
John Daggett
790129f3b0
Bug 934719 - log load begin and end in presshell. r=heycam
2013-11-05 10:03:22 +09:00
Tim Taubert
cfd4e7de61
Bug 931706 - Changing contentViewer.authorStyleDisabled should send a notification r=bz
...
From 38ce091c13f08060c76e0dd8821cbe62fc3aa0c1 Mon Sep 17 00:00:00 2001
2013-10-28 10:09:29 +01:00
Timothy Nikkel
2cdfe9a734
Bug 930535. Enable image visibility on b2g inside browser elements. r=mats
2013-10-26 19:17:52 -05:00
Masayuki Nakano
9c5cb0a5c0
Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug
2013-10-22 22:27:35 +09:00
Masayuki Nakano
c3b46ba6e2
Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug
2013-10-22 22:27:34 +09:00
Wes Kocher
429661b34c
Backed out changeset 82b31924a8bb (bug 914847) under suspicion of breaking mochitest-metro on a CLOSED TREE
2013-10-22 16:56:04 -04:00
Wes Kocher
ce222963ef
Backed out changeset 87ee0a1865e4 (bug 914847)
2013-10-22 16:55:14 -04:00
Wes Kocher
e3f57c4d94
Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
...
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
9c7f4320a4
Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug
2013-10-22 22:27:35 +09:00
Masayuki Nakano
6dd2534950
Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug
2013-10-22 22:27:34 +09:00
Nicholas Cameron
018dd19575
Bug 914847. Mini-flush for animations. r=dbaron
2013-10-22 14:14:41 +02:00
Nicholas Cameron
e5ff5fc0a3
Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron
2013-10-22 14:13:26 +02:00
Masayuki Nakano
682176c987
Bug 920425 part.30 Use mozilla::WidgetEvent::AsWheelEvent() r=smaug
2013-10-22 17:55:21 +09:00
Masayuki Nakano
e3facfba13
Bug 920425 part.29 Use mozilla::WidgetEvent::AsGUIEvent() r=smaug
2013-10-22 17:55:20 +09:00
Masayuki Nakano
c2d6606a1c
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Masayuki Nakano
fbe6c7ac3e
Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug
2013-10-18 15:10:24 +09:00
Masayuki Nakano
d152366c31
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00
Gabor Krizsanits
7b41a35e1e
Bug 565388 - No paint for invisible docshell. r=tnikkel
2013-10-16 15:18:42 +02:00
Masayuki Nakano
52e19b318b
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Birunthan Mohanathas
e3709383ec
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Scott Johnson
1d75885366
Backout 6a5549d97d8d (bug 878935) for missing IID changes.
2013-10-02 11:36:44 -05:00
Masayuki Nakano
9aaf116c1c
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Masayuki Nakano
5dbc2a60e4
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
a4221a463f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Jeff Muizelaar
e6675fbb2f
Bug 922817. Avoid unecessary PushGroups()s while painting. r=roc
...
This avoids a temporary surface when painting svg images.
--HG--
extra : rebase_source : b458c3e6daef20be14fa7d6c63be7874bc4bb850
2013-10-01 22:24:39 -04:00
Ehsan Akhgari
77b5078c36
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Scott Johnson
b0b7d88ca3
Bug 878935: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats]
2013-10-01 14:52:13 -05:00
Masayuki Nakano
3a0b655e5a
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Nicholas Nethercote
75f194c48c
Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till.
...
--HG--
extra : rebase_source : ac8aebe86b4b7ee5acc0f541be5645abf73b6a98
2013-09-30 16:20:23 -07:00
Markus Stange
52b360943f
Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc
2013-09-27 17:24:32 +02:00
Masayuki Nakano
d3aa0d67cf
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
Masayuki Nakano
015140fe0d
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
4983de6d4c
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Masayuki Nakano
743fbc6e59
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Benoit Jacob
55d6cf1e20
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
Masayuki Nakano
c28e4cad25
Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc
2013-09-24 19:04:16 +09:00
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Timothy Nikkel
03a3afac2f
Bug 847223. Part 5. Make AssumeAllImagesVisible usuable outside of PresShell. r=mats
2013-09-14 19:05:05 -05:00
Timothy Nikkel
321bea5488
Bug 847223. Part 2. Add a function to remove an image from the visible list. r=mats
2013-09-14 19:05:04 -05:00
Timothy Nikkel
8d27e0099c
Bug 847223. Part 1. Use a hashtable instead of an array to store list of visible images on the presshell. r=mats
2013-09-14 19:05:04 -05:00
Masayuki Nakano
776acd167e
Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc
2013-09-14 11:39:41 +09:00
Robert O'Callahan
b123a36604
Bug 906643. Part 5: Add nsIPresShell::AddPostRefreshObserver/RemovePostRefreshObserver. r=mats
2013-08-26 11:57:45 +12:00
Tom Schuster
3d2fa7cabf
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Robert O'Callahan
03e7828db2
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
Kartikaya Gupta
66b37ff496
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
Kartikaya Gupta
ad299f8964
Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:23 -04:00
Ehsan Akhgari
0e024fd271
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
Bill McCloskey
ac04716368
Bug 907489 - PresShell::HandleEvent() never initializes its "flags" variable (r=mattwoodrow)
2013-08-20 18:35:18 -07:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Kartikaya Gupta
20907cb1c8
Bug 901962 - Allow touch events to hit targets outside the CSS viewport. r=roc
2013-08-16 08:29:46 -04:00
L. David Baron
f76fcad70f
Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam
2013-08-14 21:58:37 -07:00
Kan-Ru Chen (陳侃如)
41345e7739
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Ms2ger
bf6618a13c
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
1571fe39c1
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
9803a2ddf3
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +02:00
Mats Palmgren
e6b84a68a6
Bug 897852 - Don't flush if we were destroyed. r=roc
2013-07-30 15:47:19 +00:00
David Zbarsky
67334df0d5
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d057bf162a
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Eitan Isaacson
7ed41ff82b
Bug 895711 - Mark new touches in touchstart as changed in HandleEventInner. r=smaug
2013-07-25 08:52:29 -07:00
Ms2ger
59ef6e7599
Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug
2013-07-24 09:38:13 +02:00
L. David Baron
539703de44
Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
...
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.
Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
a7c8d44db9
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
Simon Montagu
d1adeb99a2
Move the caret invalidation from CharacterDataChanged to CharacterDataWillChange so that the text doesn't change under the caret before invalidation. Bug 887631, r=ehsan
2013-07-19 17:44:46 +03:00
Ehsan Akhgari
192bc42d5e
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Ms2ger
f8554f1603
Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky
2013-07-10 11:53:09 +02:00
Cameron McCormack
a091acd9d2
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
702726731f
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01:00
Cameron McCormack
994ad89b82
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Catalin Iacob
6f4758d23e
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
Matt Woodrow
7b9d5b3e53
Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc
2013-06-18 19:59:29 +12:00
Timothy Nikkel
70b3f6bc38
Bug 880508. Remove defer invalidations code because we don't invalidate during painting anymore. r=matt.woodrow
2013-06-06 23:12:10 -05:00
Tim Taubert
bf97ac300c
Bug 453650 - implement reflow observers for docShells; r=bz
2013-06-01 12:00:12 +02:00
Anthony Jones
2301455d33
Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa
2013-05-24 09:43:36 +08:00
Markus Stange
08702570d3
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
David Zbarsky
a113dee00c
Bug 874770 - Always enable OMTA throttling r=nrc
2013-05-22 18:31:03 +08:00
Scott Johnson
5c4218d9ad
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
Olli Pettay
51b5cc9bf9
Bug 862309, remove useless warning about missing presshell, r=mats
...
--HG--
extra : rebase_source : 5f77555a3a24bc27cb3ce4422d6f06e1d4b97ab3
2013-05-15 14:38:05 +03:00
JosiahOne
26551896bf
Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc
2013-05-07 14:41:09 -04:00
Scott Johnson
07468ced83
Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron]
2013-05-14 14:24:14 -05:00
L. David Baron
903d3461e1
Bug 828312 patch 4: Remove unused nsIPresShell::StyleChangeReflow. r=bzbarsky
2013-05-10 17:35:08 -07:00
Trevor Saunders
bf4396ca60
bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert
2013-04-01 06:26:37 -04:00
Trevor Saunders
9729eca7a4
bug 856779 - make PresShell::Init() return void and devirtualize it r=bz
2013-05-02 09:22:59 -04:00
Matt Woodrow
b00d0c2090
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
David Zbarsky
720289e06b
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Robert O'Callahan
4bd8d8b1e8
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Robert O'Callahan
75d8c0a950
Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow
2013-04-20 00:01:41 +12:00
Scott Johnson
a0a8b12fb7
Bug 836565, Part 1: Make pinch gestures perform reflow-on-zoom operations only once to improve performance. [r=kats]
2013-04-16 16:29:04 -05:00
Joshua Cranmer
1f24ef2b5e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Jonathan Watt
3ee133ed0e
Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug
2013-04-11 10:11:54 +01:00
Ralph Giles
3c48dc5399
Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
...
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Trevor Saunders
384f492419
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Trevor Saunders
ef82aa217b
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Trevor Saunders
617729fa2f
bug 856779 - kill NS_NewPresShell() r=bz
2013-03-31 16:39:27 -04:00
David Zbarsky
3febe3b914
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Chris Lord
246158c9a8
Bug 854099 - Make nsPresShell::ScrollToShowRect take fixed position margins into account. r=roc
...
When fixed position margins are set, it indicates that chrome obscures the
viewport. Inflate the target rect by these margins when calling
ScrollToShowRect on the root scrollable frame.
2013-04-05 14:34:56 +01:00
Robert O'Callahan
613ea8adbd
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
David Zbarsky
632574c3c6
Bug 856962: Move Touch to its own file r=Ms2ger
...
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00