Commit Graph

320 Commits

Author SHA1 Message Date
dbaron@fas.harvard.edu
d52d3d978e 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
58d409fba9 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
60f3d8f316 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
5b7e018561 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
e8403a2f92 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
45833ac380 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
7819b35cc1 Bug 92977. Remove redundant |MoveViewTo()| call. sr=attinasi. 2001-08-03 07:18:35 +00:00
attinasi@netscape.com
09584db851 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
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
attinasi@netscape.com
44db2f2c49 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
a40c513f65 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
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
roc+@cs.cmu.edu
e648ced853 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
352d10bc75 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
bbba090d90 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
b16f07aad0 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
5197e93c42 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
71b8e7e09b 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
d24bee0abc 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
5f165d8dc9 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
99b5642905 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
37a4efae45 #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
0462ea4ce8 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
7730ce0cd3 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
0909469319 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
fb20cfd146 #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
003b66f720 Fix for mac xp menus not comming up at all. 2000-05-18 00:37:27 +00:00
evaughan@netscape.com
53a09c6859 Fixed bug that crashed when menus are used with native scrollbars. 2000-05-17 04:45:44 +00:00
troy@netscape.com
3cb3cfefb2 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
c6902090d8 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:29:06 +00:00
troy@netscape.com
b4832567da 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
dc75dfc818 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
kmcclusk@netscape.com
fe9cb2320b 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
0db3c15533 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
troy@netscape.com
8f6726d0ad b=32301 r=buster@netscape.com Changed DeleteChildsNextInFlow() to also
check the frame's overflow list
2000-03-20 23:11:39 +00:00
joki@netscape.com
b4e113bf8f Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu 2000-03-09 15:31:44 +00:00
pp@ludusdesign.com
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
troy@netscape.com
67f034175a b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
joki@netscape.com
edf8e4af8b Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods 2000-01-18 15:17:31 +00:00
dbaron@fas.harvard.edu
db29d91e5f Fix performance problem pointed out by Jim Nance that there is excessive creation and destruction of clip regions during painting. The fix stops using PushState() and PopState() to undo a translation, since that causes the creation and destruction of a clip region.
r=troy
2000-01-16 15:13:46 +00:00
nisheeth@netscape.com
7e8a04d60e r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame. 2000-01-12 21:52:58 +00:00
nisheeth@netscape.com
bd43d81d01 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
troy@netscape.com
3a51175c2e Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
troy@netscape.com
7abe460751 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
troy@netscape.com
d45af5545b Removed some old dead code 1999-12-01 04:10:47 +00:00
troy@netscape.com
7a2c39f272 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
tbogard@aol.net
617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
kin@netscape.com
0752c93eab Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com
1999-11-23 22:05:05 +00:00
troy@netscape.com
f62125f548 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy@netscape.com
3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00