Ryan VanderMeulen
6434df9710
Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
...
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)
CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
459763b920
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
...
---
b2g/app/b2g.js | 3 +
content/base/src/nsGkAtomList.h | 4 +
dom/events/EventNameList.h | 16 +++
dom/events/EventStateManager.cpp | 6 +
dom/ipc/PBrowser.ipdl | 2 +
dom/ipc/TabChild.cpp | 6 +-
dom/ipc/TabParent.cpp | 24 ++++
dom/ipc/TabParent.h | 1 +
layout/base/nsIPresShell.h | 12 +-
layout/base/nsPresShell.cpp | 250 ++++++++++++++++++++++++++++++++++++++
layout/base/nsPresShell.h | 26 ++++
modules/libpref/init/all.js | 3 +
12 files changed, 350 insertions(+), 3 deletions(-)
2014-10-14 15:09:24 +08:00
Kartikaya Gupta
85de5eb65b
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Lebedev Maksim
23ba0aa7bb
Bug 1073563 - The lostpointercapture event must be dispatched before any other pointer events. r=smaug
2014-10-08 16:27:34 -07:00
Eric Rahm
b8709b7dc6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Masayuki Nakano
3f6061897e
Bug 960871 part.10 Some methods which took both WidgetCompositionEvent and WidgetTextEvent should take only WidgetCompositionEvent r=smaug
2014-10-07 19:01:49 +09:00
Masayuki Nakano
a0e7e21fc0
Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug
2014-10-07 19:01:48 +09:00
Wes Kocher
e9f3c5a025
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e037820a94
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-06 13:08:20 -07:00
Jonathan Kew
b107bf5af1
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01:00
Masayuki Nakano
b255a819ed
Bug 1065835 part.4 Destroy TextComposition instance after handling synthesized compositionend event when synthesized events for a request to commit or cancel is caused by PresShell discarding native compositionend event r=smaug
2014-09-26 09:05:12 +09:00
Ehsan Akhgari
e10a50686e
Bug 1071573 - Fix more bad implicit constructors in layout; r=roc
2014-09-23 22:01:52 -04:00
Rik Cabanier
f81fcd59c6
bug 1058044 - Background-blend-mode no longer blends correctly for <html> elements. r=roc
2014-09-23 19:50:00 +02:00
Maksim Lebedev
053516f154
Bug 977003 - Make async got/lostpointercapture events. r=smaug
2014-09-12 02:32:00 -04:00
Cameron McCormack
72c8556198
Bug 1041512 - Mark intrinsic widths dirty on a style change even if the frame hasn't had its first reflow yet. r=dbaron
2014-09-17 10:40:11 +10:00
Jonathan Watt
a2a286f7b1
Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
96a5f5b9b8
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jonathan Watt
b4f1c21e73
Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
842e7d2157
Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
b46e201a8d
Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:09 +01:00
Robert O'Callahan
e81e80bf0f
Bug 1061045. Remove dirtyRect save/restore from Enter/LeavePresShell since they're not needed anymore. r=tn
2014-09-06 16:16:34 +12:00
Ryan VanderMeulen
e776d45bea
Merge m-c to inbound. a=merge
2014-09-09 19:29:28 -04:00
Patrick Brosset
139e624711
Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug
2014-09-09 20:54:08 +02:00
Wes Johnston
7a7f4ac70c
Bug 966493 - Mark touchstart and end events as handling user input. r=smaug
2014-09-09 15:10:07 -07:00
Carsten "Tomcat" Book
7aefac9a0a
Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures
2014-09-09 11:15:18 +02:00
Patrick Brosset
24eb056615
Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug
2014-09-09 09:48:36 +02:00
Kartikaya Gupta
3098d35269
Bug 1062307 - Ensure the contextmenu event triggered by a long-press action targets things outside the root scroll frame. r=capella,smaug
2014-09-06 09:30:46 -04:00
Timothy Nikkel
e1e5cb4c87
Bug 1033679. When we clear frames from the image loader make sure that we also remove the images from the refresh driver. r=khuey
...
Normally a frame being destroyed would do this via PresShell::NotifyDestroyingFrame -> ImageLoader::DropRequestsForFrame but when we are tearing down the whole frame tree we skip per frame notifications like that for perf reasons. So we now make sure to do it when clearing out frames wholesale.
We also need to pass a prescontext pointer to ClearFrames because the ImageLoader only has a document pointer, and by that point in the presshell destruction sequence the presshell pointer on the document has been cleared.
2014-09-04 23:27:16 -05:00
Jonathan Kew
48560f7840
bug 1061170 - constrain the reflow-state's available inline size for an orthogonal flow. r=smontagu
2014-09-03 16:43:03 +01:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Jeff Muizelaar
d3bf2d4324
Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
...
This makes the ownership of LayerProperties more clear.
2014-08-25 11:09:39 -04:00
Kearwood (Kip) Gilbert
23290f35f5
Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
...
- Updated ScrollTo method in nsGlobalWindow to accept a
mozilla::dom::ScrollOptions parameter to select between the instant
and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
to pass the correct value of mozilla::dom::ScrollBehavior to the
implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
CSS property in Bug 1010538.
2014-08-05 15:01:34 -07:00
Ting-Yu Lin
38aafe2793
Bug 1057256 - Part 3 - Make touch caret handle events before selection carets. r=roc
2014-08-25 02:50:00 +02:00
Kartikaya Gupta
2383d93a79
Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa
2014-08-22 15:26:56 -04:00
John Daggett
39e8289510
Bug 1041951 - parse font-variant as a shorthand for font feature subproperties. r=dbaron
2014-08-20 16:54:25 +09:00
Robert O'Callahan
85137c3fab
Bug 1048752. Part 27: Remove obsolete caret state logic and just SchedulePaint as needed. r=tn
...
This is the core of the whole patch set.
Now GetPaintGeometry/PaintCaret figure out on their own almost all the state
they need every time we paint. So when caret flags change, all we need
to do is SchedulePaint. We don't need to fiddle with mDrawn and most of the
logic in DrawCaret is obsolete. (In fact, it was duplicated by GetGeometry
and friends, and we're removing that duplication.) EraseCaret, CheckCaretState
and UpdateCaretPosition are also obsolete.
We need to have GetPaintGeometry/PaintCaret choose the correct content node
and offset, either getting them from the Selection or using specific data set by
DrawAtPosition. This logic, plus a bit of other code shared between them, is
put into the helper GetFrameAndOffset.
2014-08-06 17:19:29 +12:00
Robert O'Callahan
d51bd7ae75
Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
2014-08-06 17:19:29 +12:00
Robert O'Callahan
bed9de9439
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.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
6fb18233c7
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.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
5bf77116d0
Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
...
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.
2014-08-06 17:19:26 +12:00
Robert O'Callahan
39c3893475
Bug 1048752. Part 2: Remove InvalidateOutsideCaret and MaybeInvalidateCaretPosition. r=tn
...
I'm quite sure DLBI means we don't need these anymore.
2014-08-06 17:19:23 +12:00
Markus Stange
86ffb75a84
Backed out changeset 411a075b3624 (bug 987030) because it probably caused timeouts of browser_tabview_expander.js. CLOSED TREE
2014-08-08 18:05:40 +02:00
Birunthan Mohanathas
4dca94f3d8
Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Markus Stange
1ca8b0f458
Bug 987030 - Fix compressed paint timer scheduling. r=roc
2014-08-08 12:46:50 +02:00
Matt Woodrow
78234179ba
Bug 969222 - Don't find a new frame pointer unless the previous one was deleted. r=smaug
2014-08-08 16:38:17 +12:00
Ed Morley
01cda2bdfd
Backed out changeset 9545e672983b (bug 1048916) for build failures; CLOSED TREE
2014-08-06 17:04:01 +01:00
Jeff Muizelaar
9e8ede29ef
Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
...
This makes the ownership of LayerProperties more clear.
2014-08-05 10:48:01 -04:00
Ed Morley
16ed0e2e87
Merge mozilla-central and inbound
2014-08-06 13:43:41 +01:00
Ed Morley
e01eec6203
Merge latest green inbound changeset and mozilla-central; a=merge
2014-08-06 13:37:48 +01:00
Olli Pettay
d65779731f
Bug 1026164, improve focus handling in shadow dom, r=wchen
2014-08-06 02:23:02 +03:00