Chris Jones
cb38f07a3e
Bug 814778: Disable font inflation for the b2g master process. r=dbaron
2012-11-28 12:16:01 -08:00
Olli Pettay
a5cafc148a
Bug 804811, propagate events even from disabled form controls to chrome. B2G-only hack, r=jst
2012-11-28 13:51:34 +02:00
Chris Jones
6f5326630f
Bug 803908: Enable font inflation for async pan/zoomed browsers. r=dbaron
2012-11-20 11:55:14 -08:00
Robert O'Callahan
360f41735f
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
Robert O'Callahan
b37fa487a3
Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats
2012-11-14 22:39:58 -08:00
Ehsan Akhgari
27d839024f
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Robert O'Callahan
ab2aeba7d3
Bug 804606. On Mac, call ApplyPluginGeometryUpdates immediately when we've computed geometry, instead of waiting until the paint event. r=smichaud
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openlocation.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_zoomrestore.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoomrestore.js
rename : toolkit/system/androidproxy/Makefile.in => toolkit/system/windowsproxy/Makefile.in
rename : toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp => toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp
extra : rebase_source : 006071633b23f5ab34a27e46100fe32fbff9f735
2012-11-07 09:38:11 +13:00
Matt Woodrow
c39ede05cb
Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc
2012-11-12 10:31:15 -08:00
Matt Woodrow
189a77c698
Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc
2012-11-09 19:21:45 +13:00
Chris Jones
3b6afccf0e
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
L. David Baron
7c9e487c8c
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
Mats Palmgren
58ce5fe831
Bug 806483 - Explicitly remove the LayerManagerDataProperty() from a destroyed frame also when destroying the shell. r=roc
2012-11-06 00:35:45 +01:00
Wes Johnston
0caa037263
Bug 790454 - Set touch target in touchstart. r=smaug
2012-11-02 12:59:20 -07:00
Robert O'Callahan
45f55abd96
Bug 805331. Part 1: Refactor nsDisplayList::GetList
...
Renames GetList to GetSameCoordinateSystemChildren, and adds an assertion
to verify that the children have the same reference frame as the parent.
Adds nsDisplayList::GetChildren to return whatever children there are.
Obsoletes nsDisplayTransform::GetStoredList.
2012-11-03 01:59:03 +13:00
Wes Johnston
32df5c04e9
backout 387a5f8b5e4f and b45a4dcb88c1
2012-10-29 15:45:52 -07:00
Jacek Szpot
bea8356b2c
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Wes Johnston
a649a716c6
Bug 790454 - Follow up to fix bustage and remove unused nsresult. r=dholbert
2012-10-29 14:35:15 -07:00
Wes Johnston
612d2e4a63
Bug 790454 - Find target for touch during touchstart. r=smaug
2012-10-29 14:02:17 -07:00
Gabor Krizsanits
6a87d375cf
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Mats Palmgren
8ad31a0bc8
Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc
2012-10-29 06:44:31 +01:00
Robert O'Callahan
117a471483
Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
...
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Robert O'Callahan
3df73be65b
Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
...
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
055f521513
Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
...
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Robert O'Callahan
d234cc4757
Bug 703241. Part 4: Don't let 'frame' be treated as its own container in PresShell::DoScrollContentIntoView. r=matspal
...
--HG--
extra : rebase_source : 1fba4feec8e6686d00c79bb2aea5d5ac0837c116
2012-10-17 17:44:06 +13:00
Robert O'Callahan
399a5061ba
Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats
...
--HG--
extra : rebase_source : bcbe05a09fe9f5423bb09697f8be3c6ce0c44f46
2012-06-22 17:06:54 +12:00
Robert O'Callahan
7027f42f5d
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
...
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Masayuki Nakano
1cc0ce4f3e
Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug
2012-09-26 14:47:45 +09:00
Gabor Krizsanits
b38c7dcb1a
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00
Makoto Kato
f63a03e07e
Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith
2012-10-16 17:38:20 +09:00
Trevor Saunders
bc9ac5fb2d
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
David Zbarsky
ec66c8d312
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
David Zbarsky
53345541db
Backout 784bb7c5ea9c (Bug 799407) for bustage
2012-10-15 02:14:34 -04:00
David Zbarsky
16b60cf311
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Robert O'Callahan
570d8fb6ce
Bug 626245. Part 5: Move plugin widgets before compositing the window, not after. r=matspal
...
--HG--
extra : rebase_source : 147afbc494e9b05f52b134ca6dd4f9635457d879
2012-10-10 23:25:57 +13:00
Robert O'Callahan
78fbac6550
Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
...
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
8aec82ec43
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Olli Pettay
0f6bf5eed5
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Masayuki Nakano
5ac763afdd
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09:00
Matt Woodrow
087f699aa3
Bug 796183 - Always invalidate the widget when doing empty transactions with a LayerManager. r=roc
2012-10-03 13:04:26 +13:00
Benoit Girard
89e0e7d121
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
82f400d981
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
8c72ac3baa
Bug 539356 - Add HasRetainedDataFor. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
f061f5d0a9
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-08-29 17:48:45 +12:00
Matt Woodrow
722d9c982d
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Oleg Romashin
eaf15a9992
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
e195484e72
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
11dba48580
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
ff33f7ce7a
Bug 539356 - Add HasRetainedDataFor. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
b90b8f6ece
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-08-29 17:48:45 +12:00
Matt Woodrow
4efdb99b18
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Oleg Romashin
585aa99e71
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
1534837d0c
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Robert O'Callahan
592db0a464
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
6d1e576d39
Back out bug 791616 due to test failure.
2012-09-24 21:55:16 +12:00
Robert O'Callahan
b87d59e7ac
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
...
--HG--
extra : rebase_source : 4e178c79f19f96eaa31711c63c117835b28bcc10
2012-09-24 16:37:10 +12:00
Robert Longson
3e3a71ce0c
Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
...
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Ehsan Akhgari
8ec85a4391
Bug 792302 - Add a more useful pseudo stack entry for flushing to FlushPendingNotifications; r=roc,BenWa
2012-09-20 19:19:48 -04:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
817f867d4e
Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc
2012-09-12 21:53:28 -05:00
Matt Woodrow
f798f0a97a
Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
b5a6e210b0
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12:00
Wes Johnston
ee665629c5
Bug 790164 - Keep contentPresShell alive while sending touch events. r=smaug
2012-09-11 13:28:06 -07:00
L. David Baron
253be7632f
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
32391cde9d
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
Chris Jones
2b59f28d65
Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc
2012-09-05 09:23:45 -07:00
Robert O'Callahan
b3739ebb38
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
...
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
4df6e1b279
Bug 780847. Built-in support for mouse/touch events targeting nodes within a certain radius via heuristics. r=mats,smaug
...
--HG--
extra : rebase_source : 13a350bb6c993e5a23e54657cbe9f22c287036ad
2012-08-20 12:02:42 +12:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
David Zbarsky
1404308f43
Bug 780692 Part 2.5: Rename GetRootFrameThroughViews to GetNearestFrameContainingPresShell. r=tn
2012-08-30 17:19:26 -04:00
David Zbarsky
6fb8f7c0f1
Bug 780692 Part 2: Flush layout when handling touch events r=smaug
2012-08-30 14:41:09 -04:00
Boris Zbarsky
f6bb4154ad
Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron
2012-08-28 13:10:08 -04:00
David Zbarsky
a3f56ea14f
[Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug
2012-08-25 00:09:48 -04:00
Benoit Girard
ca001bb642
Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
...
--HG--
extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
2012-08-23 22:07:21 -04:00
Ehsan Akhgari
8c296bbcd4
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
Masayuki Nakano
1d4f21b65a
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Neil Deakin
fae99fd13d
Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug
2012-08-15 14:52:40 -04:00
Neil Deakin
34ac541af0
Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders
2012-08-15 14:52:37 -04:00
Neil Deakin
510f6f1a72
Bug 743975 - move theme and window size done events to direct calls, r=smaug
2012-08-15 14:52:35 -04:00
Kyle Huey
433d46efea
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
9bf3c06eeb
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
13ed261c0c
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Matt Woodrow
1f62ddd68b
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
Ryan VanderMeulen
212cdce23a
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
649734f593
Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
7912249da5
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
acbe3bbdd7
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Honza Bambas
5fe7a22e2c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Robert O'Callahan
fce3de4ae2
Bug 780582. Ensure that mouse-up/touch-end events are processed by some frame, so that capture is released. r=smaug
2012-08-07 23:07:54 +12:00
Cameron McCormack
4a39934652
Bug 655877 - Part 29: Don't underline links within SVG text by default. r=dbaron
2012-08-05 11:01:19 +10:00
Ms2ger
1e53e4af55
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Ed Morley
4eb11bee72
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
a1a20f374b
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Neil Deakin
28413e223c
Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil
2012-07-30 20:43:29 -04:00
Neil Deakin
b960ff246c
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Trevor Saunders
15be0e10a2
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 Woodrow
60ae0739e9
Bug 777924 - Invalidate layers when transitioning out of flattening component alpha. r=roc
2012-07-27 15:02:46 +12:00
Matt Brubeck
4c19df0013
Back out 30fbd796d3bb and 50e2e602bab0 (bug 765252) because of Windows build failure
2012-07-25 20:10:06 -07:00
Trevor Saunders
89e69ff062
bug 765252 - ensure PresShell::Destroy() always shutsdown the related accessible document r=bz, davidb
2012-07-21 07:48:05 -04:00
Matt Woodrow
8ecc9d2eaf
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Chris Jones
2cf7adf64a
Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
...
This is a rollup of three separate patches
- Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
- Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
- Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc
--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Wes Johnston
d48f4b5292
Bug 774987 - Remove a leak and unnecessary copy in touch event handling. r=smaug
2012-07-19 16:36:45 -07:00
Wes Johnston
b01e9e1147
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Wes Johnston
3a85b40bc8
Backout a7d1108f70fb, e32603f16465, 142b9df4d021,
2012-07-10 16:20:09 -07:00
Wes Johnston
709cc65d28
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Ehsan Akhgari
5c63bf26a2
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
6ef72aef93
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
99bc5e9399
Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions
2012-07-03 20:20:24 -04:00
Ehsan Akhgari
ee77eaaad9
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
0138ec138a
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
ca0e8309a1
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Ehsan Akhgari
cf1ff79712
Backout changeset 6266a1336e2d (bug 770058 part 2) because DLBI is being backed out
2012-07-03 19:37:29 -04:00
Robert O'Callahan
2dcd49c2b6
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-07-03 14:24:20 +12:00
Matt Woodrow
8530c5649f
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
54721f863f
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
56a4c51474
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
67eaa8edd4
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
1f0dbc7c74
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
69d08d71a9
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Chris Lord
9a816c469a
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ed Morley
cd98097038
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
87d5e4ea27
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Aryeh Gregor
e6e1d6b4e8
Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan
2012-06-24 09:54:43 +03:00
Mounir Lamouri
1f70fdd32a
Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5).
2012-06-22 11:13:32 +02:00
Robert O'Callahan
704486f05e
Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats
2012-06-22 17:06:54 +12:00
Robert O'Callahan
596c6feb9c
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
2012-06-22 17:06:49 +12:00
Ed Morley
2840374911
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-12 10:36:42 +01:00
L. David Baron
9c11da2c07
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-11 13:57:35 -07:00
L. David Baron
36736e18b3
Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html .
2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
b74e4a29db
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
1241b67c63
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
093e674c1f
Bug 763014 - crash in PresShell::HandleEventInternal, r=mats
2012-06-11 00:45:09 +03:00
L. David Baron
8719c1bb1c
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-10 13:02:23 -07:00
Matt Brubeck
614ef16d00
Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE
2012-06-11 11:12:18 -07:00
Nathan Froyd
21b0f8399f
Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc
2012-06-06 13:29:16 -04:00
Ed Morley
7d13aab294
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Oleg Romashin
2e0b0654ad
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
391ce6dad4
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
1a109388f5
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
8ab773e4a8
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-11 16:44:09 +12:00
Ryan VanderMeulen
846a6a41bf
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Aryeh Gregor
8e7de01930
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Kartikaya Gupta
f8a53f8b94
Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc
2012-06-09 12:14:39 -04:00
Robert O'Callahan
26dd819e2e
Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug
2012-06-07 22:06:39 +12:00
Scott Johnson
e35726280c
Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
...
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Kartikaya Gupta
ee659229d7
Bug 758361 - Move the before-first-paint event so it doesn't get improperly triggered on a plugin codepath. r=bz
2012-06-04 12:26:03 -04:00
Robert O'Callahan
3ce7640e85
Bug 758179. Part 1: Flush layout before calling nsFrame::HandlePress/HandleRelease. r=mats
2012-05-30 01:13:36 +12:00
Alexander Surkov
05d6b0b663
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Ed Morley
f0346ff780
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
90bd8753e1
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
a067109b15
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Mats Palmgren
d329029d95
Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
ca5bacff08
Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
8d1bd9831d
Bug 754480 - Remove unused mDragService member. part=1/3 r=bz
2012-05-16 19:32:40 +02:00
Trevor Saunders
8df11e79ab
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
8a4183542c
Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal
2012-05-16 17:40:57 +12:00
Oleg Romashin
7ad2071db0
Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal
...
--HG--
extra : rebase_source : 524add7c1080994dd1bc2345cbd6f54c15653d27
2012-02-07 12:22:53 -08:00
Mats Palmgren
30ee665eeb
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Nathan Froyd
b55f7f45cf
Bug 747508 - Count PresContexts in about:memory; r=njn
2012-05-07 16:09:11 -04:00
Chris Pearce
cad06a23d5
Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug
2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220
Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug
2012-05-09 09:47:18 +12:00
Mats Palmgren
6c78ae7c6b
Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
8582ded41c
Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
125932d5d4
Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc
2012-05-04 02:14:02 +02:00
Andreas Gal
5d949cc38a
Do background image scaling on the GPU. Part 1: Refactor nsCSSRendering to expose helpers we need in nsDisplayBackground::GetLayerState (bug 750172, r=roc).
2012-05-03 13:11:57 -07:00
Wes Johnston
c547164cd0
Bug 741247 - Dispatch touch events to the active tabs presShell. r=smaug
2012-04-26 14:40:05 -07:00
Masayuki Nakano
e089b336f8
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Masayuki Nakano
4d9504c5e9
Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug
2012-04-25 12:00:01 +09:00
Timothy Nikkel
b9a7468478
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-24 13:52:35 -05:00
Joe Drew
3019e4b61c
Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
...
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Timothy Nikkel
e472248f52
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-19 20:54:54 -05:00
Wes Johnston
9d43831eef
Bug 732016 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug
2012-04-17 10:08:23 -07:00
Timothy Nikkel
c512b3f366
Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc
2012-04-17 01:04:05 -05:00
David Humphrey (:humph)
5f9892f336
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00
Robert O'Callahan
833e8a244f
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Kyle Huey
b9156a7e34
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
803a05ad74
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-04-07 08:58:41 -07:00
Wes Johnston
e0627db572
Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug
2012-04-04 10:08:53 -07:00
Boris Zbarsky
c146ad9e16
Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug
2012-03-24 20:46:03 -04:00
Ehsan Akhgari
cbd5bcd53c
Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
...
--HG--
extra : rebase_source : 3e5d2fafc028edb2940bef07302161670692d5a1
2012-03-26 09:09:38 -07:00
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Mats Palmgren
6fee80611d
Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz
2012-03-20 19:02:38 +01:00
Adam Dane [:hobophobe]
3c986b3780
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Wes Johnston
624f845ca0
Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug
2012-03-19 14:34:34 -07:00
Dão Gottwald
6a83ce299e
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
1157561543
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-18 14:42:25 -05:00
Jonathan Kew
6ed8fa15f1
bug 735647 - use larger buffers for key strings in ReflowCountMgr, and fix leakage & allocator mismatch. r=matspal
2012-03-15 09:00:25 +00:00