Chris Jones
0bf5793b37
Bug 836198: Create a "zombie" state for PresShell and use it for the preloaded TabChild PresShell. r=bz
2013-02-04 22:38:54 -08:00
Robert O'Callahan
25f95e87ba
Bug 826817. Part 4: Remove will-send-did-paint and did-send-will-paint flags from nsIPresShell APIs. r=tnikkel
2013-01-28 13:34:11 -06:00
Trevor Saunders
667dfe1f8a
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Cameron McCormack
264c7c98ac
Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
7acdf057ce
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
Cameron McCormack
8bac5dab50
Bug 508725 - Part 7: Optimize restyling when a scoped style sheet changes. r=dbaron
2013-01-08 19:09:23 +11:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Robert O'Callahan
ae130ef998
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Nicholas Cameron
6edbdb7f5a
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
2012-12-12 10:12:43 +13:00
Chris Jones
0e47102e61
Bug 814778: Disable font inflation for the b2g master process. r=dbaron
2012-11-28 12:16:01 -08:00
Daniel Holbert
2c9fb5680d
Bug 815928 part 3: Fix typo s/elemnt/element/ in comments & tests. DONTBUILD, rs=Waldo
2012-11-27 19:15:36 -08:00
Chris Jones
940ee1bda6
Bug 803908: Enable font inflation for async pan/zoomed browsers. r=dbaron
2012-11-20 11:55:14 -08:00
Alexander Surkov
27e34b45af
Bug 812466 - namespacify Accessible classes, r=tbsaunde
2012-11-18 11:01:44 +09:00
Robert O'Callahan
bf2aa4af25
Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats
...
Scrolling is never synchronous now, so we don't need to block scripts
or reflows when restoring the scroll position.
2012-11-14 22:40:28 -08:00
L. David Baron
33669718b3
Bug 809533, patch 5: Remove unneeded null-checks in nsIPresShell.h. r=roc
2012-11-09 10:30:28 -08:00
Robert O'Callahan
138c02abf9
Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
2012-10-19 14:21:16 +13:00
Robert O'Callahan
3ba06d9570
Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
2012-10-19 14:20:39 +13:00
Jonathan Kew
69d8813220
bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud
2012-10-16 20:41:20 +01:00
Trevor Saunders
cedf459742
bug 801659 - clean up cache of DocAccessible on pres shells, and add fast path to nsAccDocManager::GetDocAccessible() r=surkov, dholbert
2012-10-15 10:58:42 -04:00
Robert O'Callahan
71684bc222
Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
2012-10-10 23:25:57 +13:00
Matt Woodrow
68688f4315
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
fad83e95c6
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
47c6e63bd5
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
db9f490bab
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Robert O'Callahan
ed8dee2991
Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
2012-09-24 16:37:10 +12:00
Robert O'Callahan
4944baf992
Back out bug 791616 due to test failure.
2012-09-24 21:55:16 +12:00
Robert O'Callahan
8b74b302c7
Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
2012-09-24 16:37:10 +12:00
L. David Baron
d86552b7aa
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
Scott Johnson
6014d9b8c2
Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron]
2012-09-05 16:39:34 -05:00
David Zbarsky
184db376d1
[Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug
2012-08-25 00:09:48 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Neil Deakin
2e97f51f7d
Bug 743975 - move theme and window size done events to direct calls, r=smaug
2012-08-15 14:52:35 -04:00
Matt Woodrow
46fbbdd789
Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc
2012-08-13 22:11:33 +12:00
Matt Woodrow
7f95d6fb80
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Robert O'Callahan
5f62cf1e37
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ed Morley
baaf9d5138
Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7
2012-08-05 14:35:08 +01:00
Robert O'Callahan
4987fd45b3
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ms2ger
19bfb03e2d
Back out bug 772679 for crashes.
2012-08-04 15:10:45 +02:00
Robert O'Callahan
0af221476e
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Trevor Saunders
70ba404cc1
bug 765252 - ensure doc accessibles don't out live the related pres shell r=bz, davidb, surkov
2012-07-28 00:21:40 -04:00
Matt Brubeck
9f49f36170
Back out 30fbd796d3bb and 50e2e602bab0 (bug 765252) because of Windows build failure
2012-07-25 20:10:06 -07:00
Trevor Saunders
f891d32819
bug 765252 - ensure PresShell::Destroy() always shutsdown the related accessible document r=bz, davidb
2012-07-21 07:48:05 -04:00
Ehsan Akhgari
298a11d0fb
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
8d0edb7193
Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions
2012-07-03 20:20:24 -04:00
Ehsan Akhgari
5d2f11443a
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Matt Woodrow
c93feb82fc
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00