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
Benoit Girard
32745d1cc3
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Ali Juma
f8d6403787
Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard
2012-03-12 11:50:15 -04:00
Ali Juma
42a0e56158
Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan
2012-03-12 11:50:11 -04:00
Brad Lassey
c12f116fa1
bug 723597 - Spurious mouseover event fired on page load r=tn
...
--HG--
extra : rebase_source : b8c820b54dc41160451eb2c16e1cec32be046951
2012-03-12 19:30:40 -04:00
Nicholas Nethercote
21e2aeb95c
Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
...
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Masayuki Nakano
8b623ce6c9
Bug 707859 part.2 Forget PresShell::mSynthMouseMoveEvent when drag session prevents to dispatch it r=smaug
2012-02-24 13:41:33 +09:00
Rob Campbell
7fc1e05e22
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Masayuki Nakano
ae04179a47
Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug
2012-02-21 12:19:18 +09:00
Jesse Ruderman
90828e6fbc
Bug 728717 - Make the 'Some pres arena objects were not freed' assertion fatal. r=bz
2012-02-19 12:40:14 -08:00
Jared Wein
43f524eb6a
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Daniel Holbert
503db232a8
Bug 728462: Remove declaration of no-longer-used 'GfxTextrunWordCacheMallocSizeOf'. r=jfkthame
2012-02-18 09:47:52 -08:00
Daniel Holbert
a4f8a041b7
Bug 728480: Wrap MOZ_TOUCH-specific code in #ifdefs, to prevent unused-function build warnings. r=wesj
2012-02-17 17:27:39 -08:00
Bill McCloskey
6b3aa0565d
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Daniel Levin
46c42b490b
Bug 710973 - Validate aYResolution in PresShell::SetResolution, don't validate aXResolution twice. r=tn
...
--HG--
extra : rebase_source : 995ad8ddd8edac814bc2bfb8dd3891430b8704cb
2012-02-16 14:29:05 +01:00
Nicholas Nethercote
610b65aebb
Bug 689583 - Add names for memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Cameron McCormack
836b84312c
Bug 724709 - Bring EnsureTextRun docs up to date. r=roc DONTBUILD
2012-02-07 10:37:08 +11:00
Nathan Froyd
440b15b488
Bug 717659 - add telemetry for reflows in background tabs. r=bz
2012-02-03 12:27:42 +01:00
Jonathan Watt
15b82e8416
Bug 714839 - Make nsCSSFrameConstructor inherit nsFrameManager. r=bz.
...
--HG--
extra : rebase_source : 23c36617c5088884b7e1ecea48e6c09aa8757690
2012-02-02 10:06:46 +00:00
Matt Brubeck
6eb3db5623
Merge mozilla-central and mozilla-inbound
2012-02-01 17:09:34 -08:00
Josh Aas
1d82a76ecf
Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg
2012-01-31 16:55:54 -05:00
Robert O'Callahan
779d6360f4
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
2012-01-28 16:36:23 +13:00
Phil Ringnalda
f7620ea904
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
613c2cea1d
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
...
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Wes Johnston
650c3497a9
Bug 721076 - Return correct prevent default value if there are no changed touches. r=smaug
2012-02-01 10:32:00 -08:00
Ms2ger
2d51bac031
Merge m-c to m-i.
2012-01-25 11:06:40 +01:00
Ms2ger
4bcb2cb24d
Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan
2012-01-25 08:50:05 +01:00
Wes Johnston
72f42280fd
Bug 603008 - Platform support for multitouch events. r=smaug
...
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
L. David Baron
5f13418d9a
Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
...
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
Jonathan Watt
9fb3c8bb9f
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Justin Wood
09b3d2e3d1
Merge m-c tip to m-i
2012-01-15 05:29:24 -05:00
Ms2ger
0db2e640d3
Bug 717371 - Don't use nsINode::GetChildAt in PresShell::GoToAnchor; r=bz
2012-01-15 09:13:12 +01:00
Boris Zbarsky
f12f1399b7
Bug 716793. Dispatch synthetic mousemove off the refresh driver, not as fast as we can. r=roc
...
We use Flush_Display here because mousemoves flush out layout, so we want to do the synthetic one after we've done our normal layout flushing
2012-01-10 00:23:29 -05:00
Nathan Froyd
16a8066bb0
Bug 709971 - HTML reflow telemetry; r=bz
2012-01-10 15:08:43 -05:00
David Zbarsky
785e84c27d
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Markus Stange
eb399a7302
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Boris Zbarsky
b02086b4af
Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
464140fc29
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
aa95f5d61c
Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
d13d62c3a3
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
1a8fc22417
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Boris Zbarsky
9d2b67a38b
Back out rev 2a35bcdd7c1e (bug 716793) to fix orange tests
2012-01-10 02:00:17 -05:00
Boris Zbarsky
8cc27e4293
Bug 716793. Dispatch synthetic mousemove off the refresh driver, not as fast as we can. r=roc
...
We use Flush_Display here because mousemoves flush out layout, so we want to do the synthetic one after we've done our normal layout flushing
2012-01-10 00:23:29 -05:00
Marco Bonardo
314dacb861
Merge last green PGO from mozilla-inbound to mozilla-central
2012-01-06 13:22:51 +01:00
Neil Rashbrook
e7ecf3a5d5
Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc
2012-01-05 21:33:41 +00:00
Jonathan Kew
f702c54c74
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Nicholas Nethercote
5c8cc7d9f5
Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent.
2011-12-12 19:04:12 -08:00
Neil Deakin
499a154f1d
Bug 704758, assertion with null frame, handle ime events that get retargeted by getting the right frame, r=smaug
2011-12-23 14:21:09 -05:00
Neil Rashbrook
985ba4520e
Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan
2011-12-24 00:11:30 +00:00
Matt Brubeck
59b7c3304b
Merge mozilla-inbound and mozilla-central
2011-12-17 08:59:15 -08:00