Bobby Holley
3775205e64
Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Jessica Jong
6cdf3f4c02
Bug 1309587 - PreventDefault() on suppressed/delayed key events that are sent back to parent. r=smaug
2016-11-21 06:55:00 -05:00
Ehsan Akhgari
f2408219cd
Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow
...
This will help make it clearer that this code lives in a different
module for contributors.
2016-11-21 20:01:15 -05:00
Stone Shih
69fdca2adf
Bug 1303704 Part1: [Pointer Event] Implement prevent default behavior of pointerdown. r=masayuki
...
MozReview-Commit-ID: AbO5cBjIwfJ
2016-09-20 14:33:08 +08:00
Ehsan Akhgari
aa367a9cdd
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-16 09:17:35 -05:00
Ehsan Akhgari
917a5e63fc
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
84568d0bc2
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Carsten "Tomcat" Book
979d51a6a3
Backed out changeset f1ff6d4dca5f (bug 1311149)
2016-11-16 14:50:40 +01:00
Ehsan Akhgari
a092a1aba9
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-15 23:21:28 -05:00
Ehsan Akhgari
2d792bd2ad
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Wes Kocher
fe11464d41
Backed out changeset 41f004509646 (bug 1315394) for android crashtest assertions a=backout
2016-11-11 11:17:53 -08:00
Markus Stange
76e8e2df27
Bug 1316673 - Respect the scroll destination when doing asynchronous scrollIntoView. r=kats
...
MozReview-Commit-ID: 6sLjxUc9Df1
2016-11-10 14:32:12 -05:00
Markus Stange
8dbd9f2544
Bug 1307242 - Call nsPresContext::NotifyNonBlankPaint when building the display list for a presshell that contains more than just canvas backgrounds. r=mattwoodrow
...
MozReview-Commit-ID: LLmt3ooMxL3
2016-11-09 22:46:26 -05:00
Bobby Holley
12a171309a
Bug 1315394 - stylo: stop unconditionally marking the root node as dirty in PresShell::Init. r=heycam
...
MozReview-Commit-ID: 66gJWIZl0wo
2016-11-11 09:13:06 -08:00
Matt Woodrow
229f7a5ca7
Bug 1314193 - Early return in PresShell::Paint if BeginTransaction fails. r=dvander
2016-11-01 13:23:33 +13:00
Jonathan Watt
2ad0df530e
Bug 1280324, part 3 - Fix various nsDeviceContext::CreateRenderingContext to call CreateReferenceRenderingContext instead. r=edwin
2016-10-27 19:25:01 +01:00
Timothy Nikkel
57f7429e42
Bug 1309982. Check if presshell is destroying before proceeding to do more work in PresShell::ReconstructFrames. r=mats
...
PresShell::Destroy calls destroy on the frame constructor/manager, which clears it's local presshell pointer, thus causing us to crash.
2016-10-20 16:42:16 -05:00
Jessica Jong
e44bb40b31
Bug 1304761 - add contextmenu event to the delayed event queue if it's suppressed. r=smaug
2016-10-19 01:58:00 +02:00
Neil Deakin
fae9ead7e6
Bug 1301673, use css pixels for the drag region, add each rectangle to the clip region so that tree drag feedback in drawn properly, r=tn
2016-10-19 15:01:39 -04:00
Neil Deakin
df6ce0d915
Bug 1301673, use device pixels for the supplied drag position and the computed dragrectangle, r=tn
2016-10-19 15:01:39 -04:00
Stone Shih
23e641d37b
Bug 1307707 - Part 2: [Pointer Event] Remove redundant member variable PointerCaptureInfo::mPrimaryState. r=masayuki
...
MozReview-Commit-ID: 4YoGKiAjxth
2016-10-14 10:16:39 +08:00
Stone Shih
5061cc6f90
Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
...
MozReview-Commit-ID: 1aRwP7FsiB0
2016-10-05 15:16:02 +08:00
Stone Shih
68549f744a
Bug 1304290 - Part 2: Keep nsPresShell alive to prevent access invalid address of shell->mPointerEventTarget. r=smaug
...
MozReview-Commit-ID: FG8AyKEJ6Qr
2016-10-03 13:20:14 +08:00
Cameron McCormack
92e70f0cf6
Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
...
MozReview-Commit-ID: 6yOIKKl8npT
2016-10-13 15:04:19 +08:00
Cameron McCormack
a8ce0e16c4
Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
...
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.
MozReview-Commit-ID: 994gE9tOjAn
2016-10-13 15:04:15 +08:00
Olli Pettay
fffb815d77
Bug 1308459 - Rename RefreshDriver::PresContext() to hint about its behavior, r=tnikkel
2016-10-12 14:27:38 +03:00
Andi-Bogdan Postelnicu
fb407e9fc3
Bug 1308877 - prevent null pointer dereference in PresShell::HandleEvent. r=smaug
...
MozReview-Commit-ID: E4tdcyUCxpU
2016-10-10 13:44:03 +03:00
Brian Birtles
579a715b48
Bug 1302973 - Store timelines on document; r=smaug
...
MozReview-Commit-ID: KHtAq0VgPZW
2016-10-09 22:36:56 +09:00
Kartikaya Gupta
04cc737e18
Bug 1306603 - Remove rest of mozpasspointerevents code as it is not needed any more. r=kanru
...
MozReview-Commit-ID: 5N3hUq2lGuU
2016-10-05 08:27:02 -04:00
Stone Shih
13ddcb4112
Bug 1293174 - [Pointer Event] Implement implicit pointer capture for touch. f=bevistseng. r=smaug
2016-08-11 14:49:15 +08:00
Xidorn Quan
7d6c4129ab
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
2016-09-26 22:03:25 +10:00
Xidorn Quan
7ba350b0a6
Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
...
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.
This commit is generated by the following command:
find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
-e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
-e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +
MozReview-Commit-ID: 54H5x27Pmso
2016-09-26 22:03:25 +10:00
Carsten "Tomcat" Book
ea2a9e92f1
Merge mozilla-central to mozilla-inbound
2016-09-23 12:38:03 +02:00
Joel Maher
dc82a36645
Backout 472858f465b0 (Bug 1290158) for perf regression.
...
MozReview-Commit-ID: 92eO5YtKLoj
2016-09-23 06:20:33 -04:00
Daniel Holbert
e14eb670ea
Bug 1304540 part 2: Use nsCOMPtr/RefPtr (and their forget() API) instead of manual NS_ADDREF macros, in a few files within layout. r=mats
...
MozReview-Commit-ID: SrJNtbwc1B
2016-09-21 15:41:26 -07:00
Daniel Holbert
db2f6f5ff0
Bug 1304540 part 1: minor code-cleanup in the neighborhood of some NS_ADDREF usages. r=mats
...
DETAILS ON THE CLEANUP:
* In nsFrameTraversal.cpp:
- Whitespace fix.
- Remove a useless nullptr assignment.
- Use "=" to initialize a nsCOMPtr, per coding style guideline ("initialize variables with nsFoo aFoo = bFoo and not nsFoo aFoo(bFoo)").
* In nsPresShell.cpp:
- Wrap a longish assignment to 2 lines (since next patch will make the first line longer, which would push the whole thing over 80 characters if it weren't wrapped).
- Add braces around "if" body.
* In nsTextFrame.cpp:
- Remove a useless nullptr assignment.
- Move the "metrics->GetThebesFontGroup()" call slightly earlier, so it happens *before* we've implicitly transferred ownership the object pointed to by "metrics".
- Add a code-comment.
MozReview-Commit-ID: LG6vgOmM9MK
2016-09-21 15:39:48 -07:00
Bill McCloskey
1680d779a9
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-09-16 20:35:11 -07:00
Neil Rashbrook
64d79b3dcf
Bug 1290158 Don't generate synthetic paint events for invisible documents r=mattwoodrow
2016-09-14 15:55:45 +01:00
Timothy Nikkel
1df76568d8
Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
87e53ccf82
Bug 1284350. Backed out changeset 82c3b4b81d82 (Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
0d631a301a
Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
0bbc6e35bf
Bug 1284350. Backed out changeset a909de86c183 (Bug 1261554 (Followup) - Fix memory reporting for PresShell::mVisibleRegions. r=me)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
dd4d9f4fe6
Bug 1284350. Backed out changeset e9df21facccf (Bug 1269931 - Send visible region updates for pres shells associated with nested views. r=botond)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
94f662b139
Bug 1284350. Backed out changeset 4517cddd204e (Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
867e4989d7
Bug 1284350. Backed out changeset 45c3308d49c9 (Bug 1269935 - Replace PresShell::DecVisibleCount() with a general map function. r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
26f992dadf
Bug 1284350. Backed out changeset d0aa5cf74699 (Bug 1269937 - Manage updating visible frames and regions using RAII. r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
60c7054395
Bug 1284350. Backed out changeset 719d6d5d9d21 (Bug 1259281 - Mark frames NONVISIBLE if their pres shell is inactive or frozen. r=mstange)
2016-07-26 13:48:00 -05:00
Timothy Nikkel
9a53979660
Bug 1298101. Implement telemetry to take event handling time during page load. r=smaug
2016-09-07 23:30:24 -05:00
Michael Layzell
c987b38274
Bug 1018486 - Part 4: Changes in layout/, r=bz
...
MozReview-Commit-ID: BsaKGHsoqOq
2016-09-07 10:50:40 -04:00
Ho-Pang Hsu
b4a4689f5a
Bug 1258808 - Part 1: Passing PointerId (Gecko). r=smaug, f=btseng
2016-09-01 16:12:15 +08:00