Commit Graph

556 Commits

Author SHA1 Message Date
Scott Johnson
941dc77f1b 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
Scott Johnson
3dfd2b9b9a 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
5ae8f28835 Bug 828312 patch 4: Remove unused nsIPresShell::StyleChangeReflow. r=bzbarsky 2013-05-10 17:35:08 -07:00
Trevor Saunders
b0c6a89238 bug 856779 - make PresShell::Init() return void and devirtualize it r=bz 2013-05-02 09:22:59 -04:00
Mats Palmgren
0d5d050580 Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc 2013-04-15 22:00:06 +02:00
Trevor Saunders
9986f2949d bug 856779 - kill NS_NewPresShell() r=bz 2013-03-31 16:39:27 -04:00
Chris Lord
23dcd57f46 Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
076a4bfaee Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Chris Lord
cad92cc677 Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-06 16:56:00 +00:00
Ryan VanderMeulen
a9311d990d Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
86ee2a5ac2 Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-01 15:46:34 +00:00
Timothy Nikkel
5326ecc3d4 Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats 2013-02-24 18:59:22 -06:00
Timothy Nikkel
b8a752e3e0 Bug 689623. Part 6. Keep a list of visible images on the presshell and code to manage it. r=mats 2013-02-24 18:59:22 -06:00
Robert O'Callahan
b18cd55753 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow 2013-02-15 00:12:27 +13:00
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