Craig Topper
9baac273f7
Bug 253889: DeCOMtaminate nsIPresShell - Make GetRootFrame() nonvirtual inside gklayout. r=roc
...
--HG--
extra : rebase_source : 6c1572e04309bc6d0db9732f98d820595dd3ab77
2010-03-31 08:48:04 -04:00
Craig Topper
0a69c7d1ea
Bug 253889: DeCOMtaminate nsIPresShell - Rev IID and remove NS_NewPresShell. r=roc
...
--HG--
extra : rebase_source : 55acb1008a92cd6c13760591c086c52ac9cb3e74
2010-03-31 08:47:25 -04:00
Craig Topper
c61d158305
Bug 253889: DeCOMtaminate nsIPresShell - Remove more NS_IMETHOD. r=roc
...
--HG--
extra : rebase_source : ab0c230d7be484858e03b242c76b5cc9bcfa87ae
2010-03-31 08:45:32 -04:00
Craig Topper
ea105cfe25
Bug 253889: DeCOMtaminate nsIPresShell - Inline getters. r=roc
...
--HG--
extra : rebase_source : cdb8803dc075e72a47879c83d62e2c08cc999caf
2010-03-31 08:45:08 -04:00
Craig Topper
1921815643
Bug 253889: DeCOMtaminate nsIPresShell - IsPaintingSuppressed(). r=roc
...
--HG--
extra : rebase_source : 9ee8283e8bce33402893ae5316f89c9f699a1236
2010-03-31 08:43:49 -04:00
Craig Topper
980fd2992c
Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
...
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Craig Topper
a31830c001
Bug 253889: DeCOMtaminate nsIPresShell - GetEventTarget[Frame|Content](). r=roc
...
--HG--
extra : rebase_source : aa059747dc2b24360fd8429fbd7fd21077ecbfa4
2010-03-31 08:43:01 -04:00
Craig Topper
cff7ecc30e
Bug 253889: DeCOMtaminate nsIPresShell - Remove NS_IMETHOD. r=roc
...
--HG--
extra : rebase_source : dc316062106c32edc90815399708b861e3a14aa9
2010-03-31 08:41:54 -04:00
Craig Topper
7b89b159bb
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Craig Topper
2ac1f8e03f
Bug 253889: DeCOMtaminate nsIPresShell - make some methods const. r=roc
...
--HG--
extra : rebase_source : 94167aa329d4021677027f6bb6b1674d278f53f5
2010-03-31 08:38:52 -04:00
Kyle Huey
53dc79a0f8
Backing out Bug 253889 to fix Bug 555727.
2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Kyle Huey
8d41d7991f
Backing out Bug 253889 to fix Bug 555727.
2010-03-30 19:56:05 -04:00
Kyle Huey
f0912af871
Backed out changeset 90a30ea68797
2010-03-30 19:55:21 -04:00
Kyle Huey
0bcdbd6636
Bug 253889: Windows bustage fix.
2010-03-28 19:57:06 -04:00
Craig Topper
6c9540a26d
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Robert O'Callahan
51423cccfa
Backed out changeset 4df05ea5fe1b
2010-03-29 16:42:10 +13:00
Robert O'Callahan
f850f044d1
Bug 548792. When scrolling content into view, make sure to check scrollable elements in ancestor documents. r=mats
2010-03-29 14:46:59 +13:00
Robert O'Callahan
9a2ed61b34
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Karl Tomlinson
4ae5415e56
b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug
2010-03-24 16:36:27 +13:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Daniel Holbert
199de9f2f6
Bug 541588 subpatch 2: Use nsRefreshDriver instead of nsITimer to schedule sample callbacks for nsSMILAnimationController. r=roc
2010-03-21 23:42:53 -07:00
Craig Topper
a956b85435
Bug 253889: DeCOMtaminate nsIPresShell r=roc
2010-03-20 17:54:19 -04:00
Neil Deakin
8f3acb3041
Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil
2010-03-19 14:32:13 -04:00
Masayuki Nakano
bb7a62d1cf
Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst
2010-03-19 14:02:53 +09:00
Daniel Holbert
82534e711d
Backed out changeset 59f507847beb (bug 541588) to see if it was responsible for minor SVG perf regression.
2010-03-18 07:58:09 -07:00
Daniel Holbert
97312ef359
Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc
2010-03-17 01:54:20 -07:00
Mats Palmgren
549893b6d7
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Daniel Holbert
563c185c57
Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure
2010-03-11 23:11:09 -08:00
Daniel Holbert
3565228251
Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc
2010-03-11 22:03:49 -08:00
Masayuki Nakano
788bb1a791
Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc
2010-03-11 14:25:29 +09:00
Robert O'Callahan
f3e9a6b5c7
Bug 545268. Decide whether to suppress a mouse event by looking at the suppression state of the document where the event is going to be delivered. r=smaug
2010-03-05 13:10:32 +13:00
Daniel Holbert
5f7e96d98d
Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz
2010-03-02 07:36:33 -08:00
Daniel Holbert
bb1b787565
Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange.
2010-03-02 08:29:46 -08:00
Daniel Holbert
bf932485ec
Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz
2010-03-02 07:36:33 -08:00
Neil Deakin
2c7d3081c7
Bug 543065, only scroll one ancestor of menus, SCROLL_FIRST_ANCESTOR_ONLY flag should stop at first scrollable container, not just first parent, r=roc
2010-03-02 06:21:23 -08:00
Michael Ventnor
25bc9c7d85
Bug 542361 - Fix and remove the GetUsedX assertions r=roc
...
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Robert O'Callahan
11a3d788af
Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant.
2010-03-01 21:03:49 +13:00
Shawn Wilsher
27a2fcd36e
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Neil Deakin
10dc1ef135
Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug
2010-02-20 11:06:58 -05:00
Boris Zbarsky
c050f02b8b
Bug 538087. Hook up reflow to refresh driver. r=dbaron
2010-02-19 12:11:40 -05:00
Shawn Wilsher
56b8597aca
Backed out changeset bca0b6ed92e4
2010-02-18 10:02:49 -08:00
Shawn Wilsher
40e546231a
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Mats Palmgren
7744382398
Use GetExtremeCaretPosition() for all editable nodes, not just the doc root. b=512295 r=roc
2010-02-09 17:09:59 +01:00
Dão Gottwald
5bf54b4622
Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure
2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a
Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron
2010-02-04 14:58:02 +01:00
Boris Zbarsky
48153cc0e6
Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron
2010-02-03 16:17:55 -05:00
Timothy Nikkel
c63f549245
Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
...
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Timothy Nikkel
9aed5c95c4
Bug 536926. Make sure event gets handled even if there is no focused node and the root content has no frame. r=enndeakin
...
--HG--
extra : rebase_source : a7e532c248467a0083a682f8ed0d32959595c898
2010-01-27 22:12:29 -06:00
Mats Palmgren
fa91c35561
Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc
2010-01-26 14:10:12 +01:00
Robert O'Callahan
df694cae49
Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats
2010-01-14 15:30:05 +13:00
Olli Pettay
136f3f85ca
Bug 533845 - Mouse events don't work in content iframe, if iframe is inside a xul panel, r=roc
...
--HG--
extra : rebase_source : 8270dcfedb49c555a5deb6bb7a29e4a500cd7a90
2010-01-13 11:02:11 +02:00
Robert O'Callahan
04a613495c
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
663dca4d9b
Bug 526394. Part 25: Create nsIPresShell::ScrollFrameRectIntoView. r=mats
2010-01-12 10:45:16 +13:00
Robert O'Callahan
11acff4c6e
Bug 526394. Part 22: Remove more view stuff from PresShell. r=mats
2009-09-09 17:40:02 +12:00
Robert O'Callahan
519c0fd842
Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats
2009-09-09 17:40:02 +12:00
Robert O'Callahan
7eb8b6c4d7
Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats
2009-09-03 17:23:47 +12:00
Robert O'Callahan
9324676397
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
Cristian KLEIN
fc3d506af7
Bug 370436 - "Context menu from keyboard for spell checker selects the wrong line" [r=roc]
2010-01-09 09:51:00 -06:00
Masayuki Nakano
864c94c4cd
Bug 532422, this landing just removes unused variable r=Olli
2010-01-08 14:01:42 +09:00
L. David Baron
25d33fe57f
Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky
2010-01-07 08:51:16 -05:00
Olli Pettay
63fd91b1fa
Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc
2010-01-07 12:36:11 +02:00
Timothy Nikkel
bd15675d9d
Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
...
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0
Backed out changeset 63d4a49fbec1 (bug 396367)
2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2
Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
...
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Boris Zbarsky
ef3cef478b
Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron
2009-12-31 14:07:57 -05:00
Neil Deakin
989819833a
Bug 536486, remove IsDestroyingFrames check now that frames are available from content nodes, fixes possible leak, r=roc
2009-12-31 12:36:56 -05:00
Boris Zbarsky
8519610b49
Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron
2009-12-24 16:20:06 -05:00
Boris Zbarsky
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
Olli Pettay
bf7962ffed
Bug 535851 - noscript is rendered in print preview, r=roc
2009-12-19 12:35:54 +02:00
Masayuki Nakano
68361828eb
Bug 532422 - n900: Cannot select any characters from sym map. r=enndeakin.
2009-12-17 10:42:02 -08:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
cc6eb188e6
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7
Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron
2009-12-10 14:36:03 -08:00
Olli Pettay
ec076a94d3
Bug 528829 - If mouse button is held down during page transition, Firefox stops responding to mouse clicks, r=roc
2009-12-10 10:58:33 -08:00
Timothy Nikkel
d16beb2417
Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
...
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Olli Pettay
2a7bca1c92
Bug 530880, r=bz, sr=roc
...
--HG--
extra : rebase_source : 4f1e95223fd0c167fa5ec882b46ae36f9edbb071
2009-11-26 11:12:20 +02:00
David Bolter
ae4129ee61
Bug 525579 - topcrash [@ nsAccessibilityService::GetAccessible(nsIDOMNode*, nsIPresShell*, nsIWeakReference*, nsIFrame**, int*, nsIAccessible**)] (thanks dbaron) r=roc,surkov
2009-11-16 09:03:53 -05:00
Robert O'Callahan
e62be286c3
bug 514732 - fix bustage for shared lib builds r=bz
2009-11-02 21:55:35 -05:00
Alexander Surkov
64fdee6658
Bug 437607 - Clicking the 'Skip to main content' link once works, second time fails to initiate a V cursor jump, r=davidb, sr=roc
2009-11-02 09:02:09 +08:00
Oleg Romashin
9472920cda
Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc.
2009-10-31 15:44:57 -04:00
Olli Pettay
c806e56c0e
Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking
2009-10-29 13:11:02 +02:00
Robert O'Callahan
56aad34bd4
Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron
2009-10-07 17:28:41 +13:00
Robert O'Callahan
e324cf9671
Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec
2009-10-02 00:10:13 +10:00
Timothy Nikkel
5321e14840
Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
...
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Mats Palmgren
00302efc79
Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc
2009-10-16 12:55:32 +02:00
Neil Deakin
c7fb80186c
Bug 519693, <select> click and drag scrolling not working, change to get scrollable frame when capturing, r=roc
2009-10-09 09:35:20 -04:00
Robert O'Callahan
9758ecee67
Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
...
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c
Bug 517916, crash if the capturing element has no view, r=roc
2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5
Fix spelling of synthetic in macro name.
2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78
Bug 519590. Don't interrupt reflow until some time has passed. r=roc
2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3
Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky
2009-10-02 14:05:31 -04:00
Robert O'Callahan
d56dfa741e
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Neil Deakin
492e487e7d
Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil
2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Timothy Nikkel
73a27c9267
Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
...
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -05:00
Neil Deakin
a11c6e6243
Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug
2009-09-28 10:17:01 -04:00
Kyle Huey
c815c08e8d
Bug 513684. Stop :hover from bleeding through certain elements. r=roc Test fixes from Markus Stange <mstange@themasta.com>.
2009-09-26 16:35:05 -07:00
Dão Gottwald
b15d2e3fde
Backed out changeset a2d46929bcbd
2009-09-26 22:21:22 +02:00
Kyle Huey
dbd51bf4f0
Bug 513684 - Stop :hover from bleeding through certain elements. r=roc
2009-09-13 22:54:44 -04:00
Zelgadis
18ad8d6e45
Bug 517949 - Null pointer in PresShell::UnsuppressAndInvalidate() leads to crash
...
r+a1.9.2=roc
2009-09-23 16:38:57 +02:00
Robert O'Callahan
6de615de1b
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
...
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Timothy Nikkel
5f8ff6cfdc
Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc
2009-09-19 12:20:42 +02:00
Neil Deakin
6d83cdc84a
Bug 516880, use the right presshell when getting frames during mouse capture, r=roc
2009-09-17 12:59:42 -04:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
1bbb6caf46
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-16 10:00:04 +12:00
Justin Dolske
f221ae86bd
Backed out changeset a3f33def2dca (bug 497495 part 4)
2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-14 17:29:56 -04:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Bobby Holley
2d5ec55945
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
L. David Baron
0b77a89d40
Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky
2009-09-11 06:46:36 -04:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Alexander Surkov
f50096a8aa
Bug 514595 - it's not necessary to keep two events type for show and two ones for hide, r=marocz, davidb, ginn, sr=roc
...
--HG--
rename : accessible/tests/mochitest/test_events_mutation_coalesce.html => accessible/tests/mochitest/test_events_coalescence.html
2009-09-09 17:03:14 +08:00
Christian Biesinger
c39efe899d
bug 513451 remove nsPresShell::EnumeratePlugins, it's been unused since bug 480819
...
r+sr=roc
2009-09-03 12:37:56 +02:00
Taras Glek
8943704095
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Boris Zbarsky
36622c6995
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Zack Weinberg
2cd31f70f9
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Zack Weinberg
cc794998ac
Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron
2009-08-17 20:21:06 -07:00
Zack Weinberg
f1502249fc
Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc
2009-08-17 20:21:06 -07:00
Olli Pettay
7748742e49
Bug 473805 - Prevent resize event loops, r=dbaron
...
--HG--
extra : rebase_source : e0476c7c1b390ebe194e508c3c728d517483989b
2009-08-15 11:49:20 +03:00
Robert O'Callahan
9f2ae1a715
Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron
2009-08-13 19:09:51 -07:00
Olli Pettay
0dbb7cf7b8
Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
...
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Markus Stange
86545547c8
Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
...
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Masayuki Nakano
f9802cc670
Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc
2009-08-08 00:11:17 +09:00
Robert O'Callahan
cba39f15c7
Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
...
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
liucougar@gmail.com
db643902e8
Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
...
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Boris Zbarsky
dca83c78dc
Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc
2009-07-28 08:53:18 -04:00
Michael Kohler
404670f1f3
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02:00
L. David Baron
e6a3698129
Destroy frame properties right after destroying the frame tree so they're destroyed before the style set. (Bug 399994) r=roc
2009-07-23 07:40:18 -04:00
Robert O'Callahan
2ebc95776b
Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug
2009-07-22 12:45:09 +12:00
Robert O'Callahan
b613384451
Bug 352093. Part 9: make context menu event coordinates be relative to the widget for the widget for the top of the view hierarchy. r=dbaron
2009-07-22 12:45:08 +12:00
Robert O'Callahan
243774fd17
Bug 352093. Part 4: IME code should use GetRootWidget so it works with documents that don't have their own widgets. r=masayuki
2009-07-22 12:45:05 +12:00
Robert O'Callahan
41b0dc9d84
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
b4be2a9744
Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky
2009-07-22 12:44:59 +12:00
Robert O'Callahan
0d1716c268
Bug 339548. Part 2: Introduce nsRootPresContext.
2009-07-22 12:44:54 +12:00
Robert O'Callahan
522a58f4ec
Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky
2009-07-22 12:44:52 +12:00
Timothy Nikkel
6cea3d5dca
Bug 502424 - Window transparency does not work. r+sr=roc
2009-07-09 11:16:11 +02:00
Timothy Nikkel
b21de22a53
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Olli Pettay
6041f8abed
Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking
2009-06-30 10:56:40 +03:00
Olli Pettay
7e463f0741
Bug 482578, r=bz, sr=jonas
2009-06-28 23:04:35 +03:00
Robert O'Callahan
b345a70a9e
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Boris Zbarsky
03a827f6f5
Bug 498530. Don't try to remove array elements that might not be in the array. r+sr=smaug
2009-06-16 11:46:24 -07:00
Robert O'Callahan
338a814be0
Backed out changeset 69c6dbdfd179
2009-06-14 00:18:06 +12:00
Robert O'Callahan
9ffe56c833
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 544ae2157803cf075a50d2a451c6179525ebbc36
2009-06-13 21:16:34 +12:00
Timothy Nikkel
358f2be59b
Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky
2009-06-12 21:28:41 -04:00
Timothy Nikkel
647a1b6542
Bug 496020 - "nsCSSFrameConstructor::BeginUpdate is called when scripts are not blocked." r+sr=bzbarsky
2009-06-11 13:09:34 -04:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Olli Pettay
f9fa7407e7
Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst
2009-05-18 12:17:45 +03:00
Timothy Nikkel
13f0179fd9
Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc
2009-05-15 15:08:41 +12:00
Boris Zbarsky
a63e049e91
Bug 492760. Don't try to do a best-effort scroll to never-been-laid-out frames. r+sr=roc
2009-05-14 21:40:28 -04:00
Boris Zbarsky
11f21755ed
Bug 488057. Be more careful when we unsuppress painting. r+sr=roc
2009-05-12 15:07:08 -04:00
Daniel Holbert
0947631c3a
Bug 490909: Remove old layout debugging code, patch #2 : remove 'VerifyTree' & related code. r+sr=dbaron
2009-05-12 12:03:09 -07:00
Boris Zbarsky
e6259a26ac
Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc
2009-05-11 22:04:58 -04:00
Boris Zbarsky
d294c4b67f
Bug 491842. Check for suppressed scroll before doing the layout flush, so that we don't end up scrolling during the flush when scroll is suppressed. r+sr=dbaron
2009-05-09 22:57:53 -05:00
Ryo Onodera
5e72993bff
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Robert O'Callahan
0d7d241faf
Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
...
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Phil Ringnalda
621dae24da
Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc
2009-05-03 18:35:33 -07:00
tn
eb440cb520
Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
...
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
Neil Deakin
a6df0afb93
Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug
2009-04-22 08:55:54 -04:00
Olli Pettay
81884a8ad9
Bug 489224 - Printing doesn't print text field values, r+sr=roc
2009-04-22 12:35:45 +03:00
Joe Drew
64bbcf4155
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Dão Gottwald
ddb69df7b5
Backout bug 485275 (changeset 996c11579453) because of test failures
2009-04-18 10:53:27 +02:00
tn
6af985ce18
Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc
2009-04-18 09:11:29 +02:00
Boris Zbarsky
fcb79320f6
Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc
2009-04-09 12:43:15 -04:00
Robert O'Callahan
7b4d0810ce
Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 8bf16bbc46de1f420d529f8d0a60ae07f8f0ef81
2009-04-01 14:08:34 +13:00
Boris Zbarsky
8a5261a288
Bug 485631. Suppress dirty frame asserts while painting to a canvas. r+sr=roc
2009-03-30 11:33:25 -04:00
Olli Pettay
45080d5ed8
Bug 424377, r+sr=roc
2009-03-10 21:30:50 +02:00
Olli Pettay
468b832900
Bug 425265, r=roc, sr=bz
2009-03-08 21:01:02 +02:00
Olli Pettay
8e3d66727a
Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst
2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624
Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst
2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c
backout 333198
2009-03-02 22:21:46 +02:00
Olli Pettay
e6f01244a1
Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+
2009-02-26 14:00:30 -08:00
Robert O'Callahan
19082bf736
Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
...
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Zack Weinberg
558a5863e2
Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc
2009-02-23 02:10:23 +01:00
Zack Weinberg
1099a7c603
Bug 478784. Don't use the view manager's default background color for transparent widgets. r+sr=roc
...
--HG--
extra : rebase_source : 5dbaf9f2ecd8cff7213acec2e14d0a3b040c7c4b
2009-02-19 21:10:04 +13:00
Jeremy D. Lea
b9a1696e34
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
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