Matt Woodrow
e40a3c55b7
Bug 1302071 - Part 5: Bucket PresContext invalidations by transaction ID, and only deliver them when the associated composite has completed. r=tnikkel
...
This patch does a few things:
* Buckets invalidations by transaction ID, and sends MozAfterPaints events for them when the associated composite completes.
* Creates a separate EventualDidPaint timer for each transaction ID we have invalidations for rather than just using one.
* Removes NotifyDidPaintForSubtree(PAINT_LAYERS), as it was only necessary for the existing bucketing mechanism.
MozReview-Commit-ID: JERMsgxhPQd
2017-02-17 15:16:15 +13:00
Markus Stange
f91ffc0a6f
Bug 1275347 - Move the display list profiler marker to the right place. r=mattwoodrow
...
MozReview-Commit-ID: JcSmqlXlr4A
2017-02-16 19:18:37 -05:00
Sylvestre Ledru
dd228868b0
Bug 1338086 - Remove useless else blocks in order to reduce complexity in view/ r=tnikkel
...
MozReview-Commit-ID: 6H794QjWZ1t
2017-02-09 10:42:41 +01:00
Olli Pettay
7b4b6e7d45
Bug 1338901 - nsViewManager::ProcessPendingUpdatesForView should use AutoTArray to avoid alloc/free, r=tn
2017-02-14 03:44:23 +02:00
Cameron McCormack
334e0fe231
Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
...
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Julian Seward
1a3d3ab3a5
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (1 of 5, fixes for view/). r=tnikkel.
2017-01-24 17:10:01 +01:00
Timothy Nikkel
1671e96cb4
Bug 1330225. Remove unused function nsViewManager::InsertChild. r=mats
2017-01-12 00:59:11 -06:00
Cameron McCormack
cb58119236
Bug 1323665 - Part 2: Allow StyleSheet.disabled CSSOM access to disable/enable a ServoStyleSheet. r=xidorn
...
Now that bug 1290209 has landed, we can make StyleSheet.disabled work in Servo
styled documents. This fixes a bunch of test crashes due to the assertion no
longer firing.
MozReview-Commit-ID: 6sLrdrxWlvK
2017-01-09 17:44:30 +08:00
Nathan Froyd
b9cca6c700
Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
...
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Timothy Nikkel
d69ab9c3b0
Bug 1323606. Implement the pref layout.show_previous_page for e10s. r=gw280 r=mats
...
The existing implementation only works for non-remote subdocuments.
This essentially makes the changes from bug 1157941 conditional on this pref.
2016-12-19 17:34:00 -06:00
Nicholas Nethercote
545f84822e
Bug 1299335 (part 3) - Streamline nsIWidget::SetParent. r=mstange.
...
This patch removes its return value, because none of the call sites check it
except for one non-vital assertion.
2016-12-16 10:54:11 +11:00
Cameron McCormack
4182a04ee8
Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
...
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Andi-Bogdan Postelnicu
0ade4438b5
Bug 1320874 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in view/. r=mstange
...
MozReview-Commit-ID: G5BkqvHRhW7
2016-11-29 10:36:29 +02:00
Sylvestre Ledru
03b7192853
Bug 1317430 - Avoid a unnecessary copy by passing a const & in view/ r=njn
...
MozReview-Commit-ID: BAZITOmUMVg
2016-11-14 23:16:52 +01:00
Nicholas Nethercote
8b8bd02a31
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Nicholas Nethercote
437e516713
Bug 1293596 (part 1) - Don't use NS_IMETHOD for nsIWidget::AttachViewToTopLevel. r=karlt.
2016-08-10 10:04:08 +10:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Matt Woodrow
22e9ef7587
Bug 1279202 - Make sure that deferring a resize of a document schedules a layout flush, not just a style one. r=dbaron
2016-07-14 18:39:35 +12:00
Mats Palmgren
058b8e530e
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
cb1cb75fda
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Phil Ringnalda
903965a65a
Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
...
CLOSED TREE
Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren
4185a33eae
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
ee41bb63c0
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Jonathan Kew
5959e41efd
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-11 11:04:21 +01:00
Sebastian Hengst
155d508cbb
Backed out changeset a74ef371c48f (bug 1087964) for failing elementFromPoint.html on OSX 10.10 debug. r=backout
2016-05-12 13:19:00 +02:00
Jonathan Kew
cced338425
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-12 09:31:13 +01:00
Masayuki Nakano
d3766dc0ef
Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
...
MozReview-Commit-ID: JaE0S7BIgVF
2016-05-12 11:36:41 +09:00
Phil Ringnalda
fb3bc51a33
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren
371722e397
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
8630ad5c64
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Timothy Nikkel
fec20f9b3f
Bug 1261752. Part 3. r=mats
2016-05-10 22:58:47 -05:00
Timothy Nikkel
2322af5ec8
Bug 1261752. Part 2. r=mats
2016-05-10 22:58:47 -05:00
Timothy Nikkel
7d571d707e
Bug 1261752. Part 1. r=mats
2016-05-10 22:58:26 -05:00
Xidorn Quan
1a169dea39
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
2016-05-03 17:58:57 +10:00
Xidorn Quan
1beec163ee
Bug 1267568 part 3 - Use an individual method for check whether resize should be delayed. r=smaug
...
MozReview-Commit-ID: 3esSPNoDJCB
2016-05-03 17:58:57 +10:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Timothy Nikkel
c1e61bdbdc
Bug 1264183. Remove unused argument to nsView::InvalidateHierarchy. r=mats
2016-04-22 00:17:15 -05:00
Masayuki Nakano
35775b20e1
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
2016-04-14 17:03:14 +09:00
Mike Conley
d6ec983152
Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
...
MozReview-Commit-ID: 7wCYif8F6ws
2016-04-13 16:59:15 -04:00
Nicholas Nethercote
8b08d3a33e
Bug 1239864 (part 10) - Use the new rect iterators in view/ and widget/. r=roc.
2016-01-18 17:20:59 -08:00
Timothy Nikkel
b384bc3f34
Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
...
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Jonathan Kew
657b233fdc
Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk
2015-12-03 13:19:50 +00:00
Bogdan Postelnicu
1c47bee22a
Bug 1237227 - Check the return of context->GetDisplayRootPresContext() for validity. r=roc
2016-01-06 04:32:00 -05:00
Nicholas Nethercote
738f8217ba
Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
...
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
ae857e0e63
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
6f043f6b6e
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
8da819977a
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Nicholas Nethercote
4442e1485c
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
b3312ed385
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
2015-11-25 20:32:47 -08:00