Zack Weinberg
bea9955522
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
...
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Serge Gautherie
5ec9f53e89
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Masayuki Nakano
68f9a6a266
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc
2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f
backing-out the patch for bug 442774
2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc
2009-02-12 16:02:49 +09:00
Masayuki Nakano
def135f71a
Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul
2009-02-11 03:19:15 +09:00
Masayuki Nakano
4fa4a8c50d
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc
2009-02-10 20:17:37 +09:00
L. David Baron
0e1e58e70d
Correctly handle a style change reflow on a subtree that has placeholders with out of flows outside that subtree. (Bug 363247) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
L. David Baron
a1538274bb
Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc
2009-01-29 12:39:22 -08:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
Zack Weinberg
5ec5e3b886
Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc
...
--HG--
extra : rebase_source : 585e5e1803e98d25163fdcdf7f0aa758177e932c
2009-01-22 17:18:59 +13:00
Neil Deakin
bcc795fb9d
Bug 212750, one more fix for nsIntRect usage
2009-01-17 16:25:56 -05:00
Neil Deakin
f0c2f61672
Bug 212750, fix broken point usage
2009-01-17 16:14:18 -05:00
Neil Deakin
c8df9e6d4f
Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc
2009-01-17 15:50:00 -05:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Olli Pettay
7bf054d872
Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron
2009-01-14 22:42:25 +02:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
d30fae3581
Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron
2009-01-05 18:26:59 +02:00
L. David Baron
82d6666100
Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc
2009-01-04 14:52:38 -05:00
Olli Pettay
28e3d7cf73
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
L. David Baron
43923a2427
DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Olli Pettay
d766a4a00e
Bug 466057, r+sr=bz
2008-12-20 16:28:19 +02:00
Stuart Parmenter
91c3580bb5
bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me
2008-12-12 02:50:31 -08:00
Masayuki Nakano
229283883c
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Olli Pettay
f8412fdedc
Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz
2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483
Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc
2008-12-13 17:07:08 +01:00
Robert O'Callahan
a3a3951684
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
L. David Baron
39812fadae
Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+
2008-12-08 08:08:05 -08:00
Mats Palmgren
e79d638b8e
Make GetCurrentEventFrame() return null if the shell is being destroyed (don't call GetPrimaryFrameFor()). b=421839 r+sr=roc
2008-12-08 00:10:31 +01:00
L. David Baron
7fc92bad7f
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
Neil Deakin
368d82a815
Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
...
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
L. David Baron
90b976fe34
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
85dd73ebd3
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-04 08:09:52 -08:00
Markus Stange
76daa5a7da
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Daniel Holbert
357fdecd33
(Undoing whitespace-only change)
2008-12-04 05:15:11 -08:00
Daniel Holbert
2059630793
Note: prev changeset (d5969f0d3fd9) was for Bug 466607 -- I forgot the bug # in the checkin comment. (I'm pushing _this_ whitespace-only changeset as a follow-up to get that bug # in there.)
2008-12-04 05:14:21 -08:00
Daniel Holbert
34af9c25e6
Use QI for type-safety check in StopMediaInstance/StartMediaInstance. r=chris.double sr=roc
2008-12-04 05:08:39 -08:00
Gavin Sharp
58c580b07d
Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner
2008-11-28 14:53:33 -05:00
L. David Baron
2aa2ccaca4
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 15:22:38 -08:00
L. David Baron
927e7f0297
Back out 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures.
2008-11-25 15:08:51 -08:00
L. David Baron
49d3fcc1ac
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
Markus Stange
7a9f82ce7e
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
L. David Baron
9b86daea26
Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky
2008-11-02 11:44:55 -08:00
Benjamin Smedberg
9696613a50
Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren
2008-10-30 12:17:59 -07:00
Daniel
4b653f7ab0
Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc
2008-10-29 06:11:40 +01:00
Chris Double
b9fbf2e7c2
Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc
2008-10-29 07:48:39 +13:00
Benjamin Smedberg
4214b72dd5
Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212
2008-10-28 02:49:14 -04:00
Benjamin Smedberg
dd4c950cff
Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
...
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!
r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4
Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc
2008-10-28 00:47:19 -04:00
Gavin Sharp
7ed4660fab
Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc
2008-10-27 16:16:23 -04:00
Theppitak Karoonboonyanan
018ec4b25f
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Vladimir Vukicevic
e3c6205bcf
let's use the right #ifdef here so this actually works; mobile fix, r=stuart
2008-10-10 15:30:52 -07:00
Boris Zbarsky
d0177423c2
Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking
2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Neil Rashbrook
87def3185e
Bug 365467 Focus contollers initial window and element can get out of sync r+sr=jst
...
Reordering tests to see if that can make the change stick
--HG--
rename : browser/base/content/test/browser_autodiscovery.js => browser/base/content/test/browser_discovery.js
rename : browser/base/content/test/autodiscovery.html => browser/base/content/test/discovery.html
2008-10-10 10:36:41 +01:00
Vladimir Vukicevic
3b27944210
b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart
2008-10-09 14:49:15 -07:00
Brad Lassey
add313bab4
Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc
2008-10-08 19:28:31 -04:00
Ted Mielczarek
ecd6b2666b
Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst)
2008-10-08 12:33:52 -04:00
Neil Rashbrook
3d8ed29e1c
Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst
2008-10-08 13:24:58 +01:00
Gavin Sharp
31508f4ffc
Bug 454324: Handle error from SelectNode to fix crash when selection-less items are dragged (including, recently, tabs). r+sr=bzbarsky
2008-10-05 20:30:09 -07:00
L. David Baron
4c2a55f0ee
Backed out changeset 6f3797124c84: Relanding: Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-10-01 20:11:44 -07:00
L. David Baron
7c8c7d48e3
Back out bug 114169 (changeset 8110e3bae4bf) and change the test (changeset 8f53fcb8bde5) to todos, to see if it was repsonsible for the regression in bug 458065.
2008-10-01 10:36:54 -07:00
Jonathan Watt
ec710d7a39
Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-09-29 15:57:38 -07:00
Boris Zbarsky
d674c8ca02
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Arpad Borsos
d0e70a51bf
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Robert O'Callahan
f79290bb0e
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Robert O'Callahan
34d5a63301
Bug 454004 - Ctrl+Home / Ctrl+End don't work in Mail Compose window; r+sr=mats.palmgren
2008-09-18 01:28:17 +02:00
Keith Schwarz
dc907e1ec7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
fa9533f8cf
Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky
2008-09-09 06:43:10 -07:00
timeless@mozdev.org
b0c349250f
Backed out changeset 54215f2cbc66
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141
Bug 452797 - Clean up unused variables in layout/; r+sr=roc
2008-09-06 20:38:31 +02:00
Arpad Borsos
4b171f9d59
Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc
2008-09-04 22:32:39 +02:00
Neil Deakin
5b84dc9285
Bug 439565, crash with drag image not in document
2008-08-27 10:46:29 -04:00
Martijn Wargers
f0b88f7d3d
Bug 449653. Make drawWindow work even inside an onload handler (so before we've unsuppressed painting), r+sr=roc
2008-08-18 15:09:17 -04:00
Rob Arnold
f6bda8fda0
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
L. David Baron
07bbfcbe0b
Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
L. David Baron
addab50588
Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky
2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495
Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky
2008-07-22 21:50:20 -07:00
John Daniels
ef0fee1d70
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00
Boris Zbarsky
f98d5014e5
Bug 431770. Make sure to start/end a frame constructor update when reconstructing frames. r+sr=dbaron
2008-07-11 17:15:11 -04:00
Robert O'Callahan
cf7c906882
Fixing bustage
2008-07-09 20:56:02 +12:00
Chris Double
02ccf2851f
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Benjamin Smedberg
ec69c9db81
Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst
2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f
Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats
2008-06-26 10:41:04 +12:00
L. David Baron
0f7580e2bf
Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky
2008-06-10 17:26:59 -07:00
gavin@gavinsharp.com
1a44673b56
Back out patch for bug 144000 (backout patch by jst@mozilla.org, r=uriber, sr=peterv, a=beltzner)
2008-04-22 13:48:37 -07:00
jonas@sicking.cc
ea7b3dfeb2
Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner
2008-04-18 10:20:11 -07:00
roc+@cs.cmu.edu
0608964380
Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron
2008-04-18 02:21:21 -07:00