Benjamin Smedberg
73a6fab34b
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
802d1a10c7
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
Robert O'Callahan
e46ac01617
Bug 469203. Don't try to make toplevel HTML documents transparent, it just doesn't work and the window can disappear in a mysterious way. r+sr=dbaron
2008-12-29 21:17:08 +13:00
Robert O'Callahan
9599929a93
Bug 465913. Don't need to call BreakFromPrevInFlow in nsContainerFrame::DeleteNextInFlowChild. r+sr=dbaron
2008-12-08 13:39:11 +13:00
Robert O'Callahan
bc9d906d47
Bug 465928. Avoid SetInvalidateTextRuns being called by nsBlockFrame::DoRemoveFrame when we're just deleting empty continuation frames. r+sr=dbaron
2008-12-03 14:27:19 +13:00
Markus Stange
e00fee0e90
Bug 450944 - Implement -moz-window-shadow functionality on Mac OS X, r=hwaara sr=roc.
...
This patch turns on window shadows for transparent windows by default, so the identity popup and the "edit bookmarks" popup will get a shadow, too. ui-r=faaborg
2008-10-14 17:33:40 +02:00
Mats Palmgren
b2c47be417
Undo frame list formatting change from bug 243519. b=454727 r+sr=roc
2008-10-11 03:08:20 +02:00
Arpad Borsos
18b833c041
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Keith Schwarz
48a87265ac
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
timeless@mozdev.org
2779332bd2
merging backout part two of two
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:01:00 +02:00
timeless@mozdev.org
2cf6a7ee79
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
timeless@mozdev.org
4a47e497f2
merging part one of backout
2008-09-08 16:00:02 +02:00
timeless@mozdev.org
cd1123a292
Backed out changeset 18b48ea2b188
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 15:59:01 +02:00
Robert O'Callahan
311213e939
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-08 20:13:17 +12:00
Serge Gautherie
04f1838be4
Bug 452797 - Clean up unused variables in layout/; (debug) bustage fix; noticed by Jesse on irc.
2008-09-06 21:12:09 +02:00
Arpad Borsos
95c1e86113
Bug 452797 - Clean up unused variables in layout/; r+sr=roc
2008-09-06 20:38:31 +02:00
Robert O'Callahan
36e333a796
Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures
2008-09-07 00:35:20 +12:00
Robert O'Callahan
c2ca6a7204
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-06 21:35:05 +12:00
Robert O'Callahan
c04d96c610
Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky
2008-09-06 20:52:56 +12:00
Robert O'Callahan
dd26ad1004
Bug 422283. Make sure that an overflow container's next-in-flows are always also overflow containers. This means that when we convert a normal frame into an overflow container, we need to scan through its next-in-flows and make them overflow containers too. r=fantasai,sr=mats
2008-09-06 20:48:09 +12:00
Robert O'Callahan
8d8390a5b5
Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661
2008-09-05 15:40:06 +12:00
Robert O'Callahan
82aa805186
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Rob Arnold
a99f6d56c4
Implement Aero Glass effect support - bug 418454 r=vlad r=roc
2008-08-12 17:44:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
7d3343e0fa
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
269c2d355a
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
roc+@cs.cmu.edu
d8e8b9dda2
Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver
2008-05-28 06:39:41 -07:00
uriber@gmail.com
130962d56a
Don't reserve space for start (end) margin on the first- (last-) in-flow if it has a previous (next) bidi continuation. bug=421419 r+sr=dbaron a1.9=dsicore
2008-03-11 14:54:34 -07:00
dbaron@dbaron.org
0d8b560733
Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
2008-03-05 16:05:26 -08:00
dbaron@dbaron.org
3f0b7f25ae
Fix bug under some valid types of optimization where we cross margin and padding. b=420069 r+sr=roc a1.9b4=damons a-sheriff=sayrer
2008-02-28 17:52:06 -08:00
fantasai.cvs@inkedblade.net
919d5bd3d3
fixed positioned elements print only on first and last pages b=417676 r+sr=roc
2008-02-24 04:19:17 -08:00
fantasai.cvs@inkedblade.net
2f230818c7
switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
2008-02-19 23:08:55 -08:00
bzbarsky@mit.edu
3a6834eaac
Fix bug 416073: invalidate more things as needed during table reflow to prevent glitches. r+sr=roc
2008-02-08 01:36:32 -08:00
roc+@cs.cmu.edu
5273b12459
Bug 405721. nsContainerFrame::RemoveFrame should search the frame's overflow list if the frame isn't found in the main child list. r+sr=bzbarsky
2008-01-14 17:12:01 -08:00
roc+@cs.cmu.edu
f20b4931ec
Bug 404146. Simplifying the code a little
2008-01-09 19:23:35 -08:00
roc+@cs.cmu.edu
fcd171df95
Bug 404146. Advancing through nsContainerFrame next-in-flows can make our InlineData->line invalid, so just null it out if it might have become invalid. r+sr=dbaron
2008-01-09 19:18:44 -08:00
roc+@cs.cmu.edu
68ae6bb3ad
Bug 322074. Check more carefully whether a transparent document is actually a top-level window. r+sr=bzbarsky
2008-01-09 14:50:29 -08:00
karlt+@karlt.net
97b6f538a2
FinishReflowChild() with the final position for <msqrt> and <mpadded> b=410132, r+sr+a=roc
2008-01-02 20:33:21 -08:00
hwaara@gmail.com
953ce2af3a
bug 392040, <select> menu requires multiple clicks to show up in zoom pages, r=bz, sr=roc, a=blocking1.9+. Also checking in a testcase for bug 404872
2007-12-22 13:07:58 -08:00
hwaara@gmail.com
410476baa7
bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
2007-12-19 11:40:18 -08:00
dholbert@cs.stanford.edu
a150e16085
Bug 404219: Reinsert (instead of discarding) frameList after failing to remove a frame from it. r=fantasai sr=roc a=blocking1.9
2007-12-18 11:22:12 -08:00
roc+@cs.cmu.edu
0df022faac
Bug 407397. Don't 'optimize' by not reflowing when a 0x0 frame is removed. Bad Kipp. r+sr=dbaron
2007-12-10 17:14:25 -08:00
bzbarsky@mit.edu
dba00dec70
Fix bug 406485. Patch by fantasai, r+sr=roc
2007-12-04 19:22:55 -08:00
fantasai.cvs@inkedblade.net
f45e8f389d
fix incorrect loop test condition for skipping irrelevant frames; update code to deal properly with skipped frames; b=404213 r+sr=roc
2007-12-01 19:13:23 -08:00
bzbarsky@mit.edu
6d565cfcfa
Backing out bug 392040 to fix bug 404872. a="it's a blocker regression, and it's keeping me and Gavin from using Bugzilla"
2007-11-25 15:17:23 -08:00
hwaara@gmail.com
a97cd77d3d
bug 392040, SELECT menu requires multiple clicks to show up on some pages. This also happened when using full page zoom. r+sr=roc, a=blocking1.9+
2007-11-19 11:20:35 -08:00
fantasai.cvs@inkedblade.net
e3a5b93a76
nsOverflowContinuationTracker::Insert wasn't expecting to pull from overflowContainers list into same parent's excessOverflowContainers list, b=399843 r+sr=roc
2007-11-15 11:23:07 -08:00
fantasai.cvs@inkedblade.net
69f752aa00
nsOverflowContinuationTracker shouldn't assume frame won't get reflowed again before its continuation gets reflowed, b=398322, b=393956, r=dholbert sr=roc
2007-10-09 12:46:21 -07:00
dholbert@cs.stanford.edu
054a0363b4
Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc
2007-10-02 20:44:18 -07:00
fantasai.cvs@inkedblade.net
404e205908
paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
2007-10-01 22:57:45 -07:00
roc+@cs.cmu.edu
a28eeaaafd
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
2007-07-25 21:03:29 -07:00
asqueella@gmail.com
2604465594
fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
...
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.
r+sr=roc
2007-07-23 16:31:11 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
59c3596049
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz
2007-07-04 08:49:38 -07:00
sharparrow1@yahoo.com
b6d8dd200b
Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
2007-07-03 15:49:00 -07:00
enndeakin@sympatico.ca
8a87437d5f
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
2007-06-29 12:04:45 -07:00
neil@parkwaycc.co.uk
6f80b97be6
Follow-up cleanup b=375403 r+sr=roc
2007-05-13 03:06:57 -07:00
neil@parkwaycc.co.uk
ce44eb7691
Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc
2007-05-10 08:46:42 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
0e9ad118b5
Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc
2007-03-25 18:12:49 -07:00
sharparrow1%yahoo.com
0f36bae875
Bug 371620: Some selects have stopped working. r+sr=roc.
2007-02-27 22:07:36 +00:00
sharparrow1%yahoo.com
e85eefee1d
Bug 371536: Stop creating views for positioned elements. r+sr=roc.
2007-02-26 14:00:21 +00:00
sharparrow1%yahoo.com
88fb576ad6
Bug 371460: Remove clipping functions from views. r+sr=roc.
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
4862938c93
Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
2007-02-24 00:23:42 +00:00
asqueella%gmail.com
284a5ea424
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
2007-02-18 17:34:09 +00:00
smontagu%smontagu.org
e0c9b6cbd5
Bug 370255: ASSERTION: frame not dirty: 'aFrame->GetStateBits() & (NS_FRAME_IS_DIRTY | NS_FRAME_HAS_DIRTY_CHILDREN)' on changing page direction, r=uriber, sr=roc
2007-02-13 18:11:24 +00:00
sharparrow1%yahoo.com
d19f64369b
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
0da0c9650d
Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
2007-01-28 17:20:01 +00:00
bmlk%gmx.de
e312ffbfb4
bustage fix
2006-12-26 18:34:59 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
uriber%gmail.com
eb9a23855e
Pull InsertFrames, AppendFrames, and RemoveFrames up from nsInlineFrame to nsContainerFrame. bug=198928 r+sr=dbaron
2006-12-25 18:53:52 +00:00
uriber%gmail.com
c14d0a8561
Bug 363378: Caret gets stuck (or moves incorrectly) in empty table cells when using left/right arrow keys. r+sr=roc
2006-12-15 09:32:24 +00:00
dbaron%dbaron.org
31f1898810
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
33ea7b8269
When cleaning up anonymous content, let the ESM know; that way if any of it is
...
:hover or :active the state will be updated accordingly. Bug 314346, r+sr=roc
2006-08-29 22:00:26 +00:00
mats.palmgren%bredband.net
a9e4efa770
Removed a bogus assertion. b=345699 r+sr=roc
2006-07-28 09:18:27 +00:00
cvshook%sicking.cc
d3ec0aa5c5
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
0e88f73bc6
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
0a10a79f62
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
bryner%brianryner.com
7a96206e10
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
2006-03-22 18:36:36 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
bryner%brianryner.com
210588e5e5
Make sure documents have a container before deciding that they should be translucent (bug 327014). r+sr=roc.
2006-03-07 05:34:37 +00:00
timeless%mozdev.org
426f83aecc
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
uriber%gmail.com
c7032d59bb
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
77bca74243
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
7db01c8d27
Bug 321294: Remove unused ReplaceFrame codepaths.
...
r/sr=roc
2006-01-10 22:58:37 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
cst%andrew.cmu.edu
f9065cc1e4
Backing out patch for bug 94687 due to regressions
2005-09-29 20:35:06 +00:00
cst%andrew.cmu.edu
2509f6846c
Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
...
r+sr=roc
2005-09-27 12:39:25 +00:00
roc+%cs.cmu.edu
fed343c43a
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
2005-09-19 02:15:54 +00:00
roc+%cs.cmu.edu
f246fa2bbd
Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
2005-09-06 21:34:50 +00:00
roc+%cs.cmu.edu
8b9158491c
Bug 306116. Use a loop instead of recursion while deleting next-in-flows to avoid stack overflow when reflowing really long text. r+sr=dbaron,a=asa
2005-09-06 01:26:50 +00:00
bzbarsky%mit.edu
8e208eced1
Make frames know whether they're leaves or not from the frame construction
...
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu
6f9109be2b
Bug 296377. Frames that use -moz-appearance may be transparent even if their background color is set, because the background color is not painted. r+sr=dbaron,a=chofmann
2005-06-21 21:53:10 +00:00
mats.palmgren%bredband.net
774f7d6bed
Don't apply z-index to non-positioned elements. b=297425 r+sr=roc a=asa
2005-06-14 23:53:56 +00:00
mconnor%steelgryphon.com
a7ea2d2c15
bug 294324 - scrolling performance regression, patch by roc, r+sr=bz, a=shaver
2005-05-18 14:02:20 +00:00
bzbarsky%mit.edu
e61e1e1935
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
84b0577142
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
9062a6ea25
Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa
2005-04-19 22:58:33 +00:00
bzbarsky%mit.edu
48ba5ce32b
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
roc+%cs.cmu.edu
20d333fbf6
Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
36107f5980
Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
5466f1cb0f
Bug 288117. Fix up function name as dbaron requested.
2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
f93b035647
Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
2005-03-31 03:40:12 +00:00
roc+%cs.cmu.edu
74aa22c5f3
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
2005-03-07 22:12:53 +00:00
bzbarsky%mit.edu
e042c2f571
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
54d585f2af
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
bzbarsky%mit.edu
edf26381af
Overflowing inlines have transparent content in the view even if they have
...
non-visible overflow set, since overflow does not apply to inlines. Bug
277200, r+sr=roc
2005-02-02 00:29:43 +00:00
roc+%cs.cmu.edu
86e95f1475
Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
2005-01-27 20:49:47 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk
a45fb5a046
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
2004-11-24 00:19:21 +00:00
smontagu%smontagu.org
bf4ea89835
Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
2004-11-11 17:48:09 +00:00
bzbarsky%mit.edu
7fd8feb31d
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
dbaron%dbaron.org
76e0711fdd
Treat 'visibility: collapse' the same as 'visibility: hidden'. b=264072 r+sr=roc
2004-10-13 15:12:14 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
02e5799687
The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
2004-09-13 05:39:27 +00:00
dbaron%dbaron.org
3827991ce7
Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
c1681a238f
Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
5948a3cb75
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
dba4f07f62
Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
b88692c5a1
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu
01147f5d80
Bug 253977 backout because of possible Tp regression on btek.
2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu
aca07ab169
Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
2004-08-22 03:00:46 +00:00
bryner%brianryner.com
8c24cc7e63
Backing out bug 253888 until I can figure out how to fix the crash
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
2004-08-21 05:09:50 +00:00
bzbarsky%mit.edu
abb7d4ca9a
Make sure that GetFrameForPoint checks all layers of each float before moving
...
on to the next one. Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
dbaron%dbaron.org
94bc9d26c8
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
smontagu%smontagu.org
82d48e1672
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
roc+%cs.cmu.edu
cab775b57b
Backing out 233441.
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e0fe2b43bd
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
bzbarsky%mit.edu
93e07d24dc
Let generated content content nodes know when their frames go away. Bug
...
237975, r+sr=dbaron
2004-04-20 19:20:16 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
54c1157975
Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
8397ac8d8f
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
8e85f2ae12
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
2004-02-22 03:31:30 +00:00
bryner%brianryner.com
cd870d2172
attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)
2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
e1d625af68
Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
9348803726
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
uid502
91e2869af8
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
dbaron%dbaron.org
7008f7eb21
Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
2003-07-23 00:14:16 +00:00
jaggernaut%netscape.com
83c571e877
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
3d6b2b44f3
ongoing deCOMtamination work. r+sr=dbaron
2003-06-27 18:13:48 +00:00
kin%netscape.com
d7512728d7
Trying to fix commercial win32 build bustage.
2003-06-26 16:44:48 +00:00
roc+%cs.cmu.edu
c5936391c8
Ongoing deCOMtamination. r+sr=dbaron
2003-06-26 11:30:17 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
roc+%cs.cmu.edu
995075dc79
Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
eb1d7efd30
Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
d21b664b22
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
2003-04-06 02:49:40 +00:00
darin%netscape.com
06db7d7b43
backing out roc+%cs.cmu.edu check-in for bug 113232
2003-03-25 00:07:00 +00:00
darin%netscape.com
1cc9401e27
backing seth out, for blocker fixes
2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
881436c9dc
fix for regression bug #198946
...
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
2003-03-24 20:41:10 +00:00
roc+%cs.cmu.edu
3dace14ed6
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
2003-03-24 04:54:48 +00:00
ere%atp.fi
0db46aa009
Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
...
r=roc+moz
sr=bzbarsky
2003-03-05 14:26:31 +00:00
roc+%cs.cmu.edu
96b5516d32
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
f4e000a5fa
Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron
2003-02-22 21:53:42 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
roc+%cs.cmu.edu
d43619e30c
Bug 117631. -moz-border-radius can make views transparent. r+sr=bz
2003-01-19 00:28:02 +00:00
dbaron%dbaron.org
827d985eac
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
2003-01-16 21:05:09 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
alecf%netscape.com
a834e8a209
another comment typo that was sitting in my tree, again no reviewer...
2003-01-07 23:16:05 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
karnaze%netscape.com
e802c4dc50
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
2002-10-30 15:33:36 +00:00
karnaze%netscape.com
40902d04df
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
2002-10-08 20:35:26 +00:00
roc+%cs.cmu.edu
8fc1ada6c9
Bug 172227. Fix rendering garbage by removing a bogus optimization in nsContainerFrame::SyncFrameViewAfterReflow --- we *always* need to update the view transparency in case FRAME_OUTSIDE_CHILDREN changed. r=dbaron,sr=kin
2002-10-08 04:09:38 +00:00
roc+%cs.cmu.edu
88a7759322
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
2002-09-30 11:56:37 +00:00
pete.zha%sun.com
ea38f8803d
Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
...
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de
2002-09-17 02:49:30 +00:00
roc+%cs.cmu.edu
23f188782e
Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
78f830028e
Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
2002-08-30 03:32:05 +00:00
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
kmcclusk%netscape.com
b87a141e21
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com
681db8a644
backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853
2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com
539f09beff
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 02:53:35 +00:00
kmcclusk%netscape.com
4c676a798c
Save and restore transformation matrix translation components instead of setting a negative translation while painting to eliminate off by one pixel rendering errors in 120DPI display mode. bug=80530 r=dbaron sr=waterson
2002-06-17 23:35:15 +00:00
dbaron%fas.harvard.edu
e5a0855621
Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
2002-06-12 03:27:48 +00:00
roc+%cs.cmu.edu
7ff5e00b9e
Bug 142461. Make sure clipped views are not marked transparent. r=kmcclusk,sr=waterson
2002-06-04 04:44:03 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
rods%netscape.com
f689da2c74
This backs out the previous patch and just check to see if it is also a
...
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
karnaze%netscape.com
7bb0f90ec2
bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz
2002-03-31 22:43:40 +00:00
peterlubczynski%netscape.com
074652f237
Fix for topcrash attempting to paint a null frame, bug 110650 r=kmcclusk@netscape.com sr=beard
2002-02-28 04:54:50 +00:00
roc+%cs.cmu.edu
59d3d1ebd0
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00
roc+%cs.cmu.edu
95ccf5f5c7
Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi
2002-02-15 13:15:45 +00:00
kin%netscape.com
d38cee3cd4
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
roc+%cs.cmu.edu
71f8f6558e
Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
2002-01-27 07:56:23 +00:00
jst%netscape.com
74b270f1db
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-01-24 09:20:51 +00:00
dbaron%fas.harvard.edu
e6598e05b6
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
roc+%cs.cmu.edu
f50ba53535
Bug 87839. Mark a view as transparent if it is being clipped smaller than the frame. r=kmcclusk,sr=attinasi
2001-12-06 03:16:35 +00:00
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
dbaron%fas.harvard.edu
6e86902faa
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson%netscape.com
7241191f29
Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
2001-09-21 00:53:29 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
waterson%netscape.com
48483431d2
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
2001-09-05 20:27:19 +00:00
waterson%netscape.com
ecbcce00ce
Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst
2001-08-03 07:34:28 +00:00
waterson%netscape.com
e13d9d68f5
Bug 92977. Remove redundant |MoveViewTo()| call. sr=attinasi.
2001-08-03 07:18:35 +00:00
attinasi%netscape.com
33c1722127
Fixed regression (bug 90503) by restricting the full-view invalidate to the case where the height has decreased (instead of just changed). r=karnaze, sr=waterson b=86852
2001-07-17 19:35:23 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
attinasi%netscape.com
0929067509
Fix for bad invalidation/painting when deleting lines of text at the end of a document or mail message. b=86852 r=alexsavulov sr=waterson
2001-07-05 19:26:30 +00:00
ftang%netscape.com
3e782eb254
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
roc+%cs.cmu.edu
f545dc66ba
Make sure a reflow command is posted for all dirty children in nsContainerFrame::ReflowDirtyChild, even if there's already a dirty child. Fix for bug 57251. r=attinasi,sr=waterson
2001-04-17 23:12:36 +00:00
waterson%netscape.com
e737ebab3b
Bug 74184. Make sure that NS_FRAME_HAS_CHILD_WITH_VIEW is carried forward to continuing frames. r=kmcclusk, sr=attinasi
2001-04-17 06:43:01 +00:00
kmcclusk%netscape.com
572c81e29b
Use frame bit to indicate if frame has a decendant with a view and use this to optimize nsContainerFrame::PositionChildViews; bug 70211; sr=attinasi@netscape.com r=karnaze@netscape.com
2001-03-30 05:25:49 +00:00
kmcclusk%netscape.com
f55ec09bcb
Invalidate only the newly exposed region when the container frame size changes vertically b=19256; sr=attinasi@netscape.com r=roc+moz@cs.cmu.edu
2001-03-30 05:17:07 +00:00
timeless%mac.com
e76ccfd647
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
kmcclusk%netscape.com
ce1acffe03
Rewrote nsContainerFrame::PositionChildViews to use the view tree instead of doing a recursive walk of the frame tree. Should improve page load performance bug 70211 r=attinasi@netscape.com sr=hyatt@netscape.com
2001-03-12 04:19:10 +00:00
erik%netscape.com
06d55ad850
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
waterson%netscape.com
9bd4266798
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
pierre%netscape.com
78e4562501
#42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi.
2000-06-22 05:28:36 +00:00
evaughan%netscape.com
14c154301b
Fix for mac xp menus not comming up at all.
2000-05-18 00:37:27 +00:00
evaughan%netscape.com
d4513de096
Fixed bug that crashed when menus are used with native scrollbars.
2000-05-17 04:45:44 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
3822ffce4e
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:29:06 +00:00
troy%netscape.com
b115bc7d04
Changed SyncFrameViewAfterReflow() to consider out-of-flow frames
...
as block-level as well. This covers the case where a floated or
absolutely positioned frame has its 'display' value set to 'inline'
and so we didn't recognise it as block-level
2000-04-23 04:33:23 +00:00
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
kmcclusk%netscape.com
1945225950
Clip now applies to child views. b=11660 r=buster@netscape.com
...
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac
2000-04-13 21:56:27 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00