bzbarsky%mit.edu
8a32ae7e9f
Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
...
r+sr=roc.
2006-11-06 01:17:32 +00:00
roc+%cs.cmu.edu
899128e82a
Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
2006-10-19 01:47:47 +00:00
bzbarsky%mit.edu
feea3a45cc
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
2006-09-19 04:26:20 +00:00
mats.palmgren%bredband.net
fd99ce03ed
1. Make scroll frames non-splittable.
...
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
2006-08-24 05:22:16 +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
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
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
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +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
87c224f2cb
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
roc+%cs.cmu.edu
fbb67978a5
Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
2004-11-14 20:22:58 +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
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
dbaron%dbaron.org
8856db0238
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu
5d55c4535e
Ongoing deCOMtamination. r+sr=dbaron
2003-06-30 10:46:59 +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
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
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
karnaze%netscape.com
d71ccf1e46
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +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
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +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
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
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
rods%netscape.com
f225ff8a67
Display frame reflow counts (turned via config file define)
...
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +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
rods%netscape.com
21de9f3e8a
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
af1ce8d410
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
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
3409a3e7b1
r=troy; fixed a crash bug in the debug logic found while fixing 12958
1999-10-29 14:36:00 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
f808fbb193
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
kipp%netscape.com
5e1f60f6ff
Implement List method
1999-05-03 20:54:24 +00:00
troy%netscape.com
39e0aad7f0
Removed ContentChanged() and AttributeChanged() which are no longer need
...
now that GetPrimaryFrameFor() always returns the out-of-flow frame
1999-04-25 16:59:39 +00:00
kipp%netscape.com
3ecd939521
Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout
1999-04-23 15:15:53 +00:00
troy%netscape.com
4466f403c7
Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow()
1999-04-23 14:34:48 +00:00
kipp%netscape.com
60f52440cb
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
kipp%netscape.com
b4c8bce4e2
Removed DidReflow hack again
1998-11-17 01:03:41 +00:00
troy%netscape.com
a435cf3ef5
Reinstated hack to have the placeholder frame forward the DidReflow() notification
...
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
kipp%netscape.com
381815af96
Removed hacks that were mostly block-frame bug workarounds
1998-11-14 19:26:57 +00:00
kipp%netscape.com
594ec210f9
Removed unused include
1998-11-10 19:16:32 +00:00
kipp%netscape.com
a6ea00c527
Use lineLayout object to pass on floater to the containing block
1998-11-10 18:04:34 +00:00
troy%netscape.com
5befa347fb
Added a hack to make sure that the floated frame gets a DidReflow notification
1998-11-07 00:03:45 +00:00
troy%netscape.com
c347b9a308
Added some temporary code to ensure that the floated frame is deleted
1998-11-02 23:57:25 +00:00
kipp%netscape.com
a77548baff
Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
1998-10-12 17:00:32 +00:00
kipp%netscape.com
c6db34691b
Removed skid marks; implement FindTextRuns again
1998-10-09 23:46:02 +00:00
troy%netscape.com
d25a9a35a2
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
troy%netscape.com
b5b596a60a
Removed nsIInlineReflow and folded it into nsIHTMLReflow
1998-10-03 04:28:05 +00:00
troy%netscape.com
7aceb4270d
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com
ba3c7125c2
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com
7891e67337
moved attribute change code to style sheete
...
cleaned up content change api
1998-09-29 23:48:07 +00:00
vidur%netscape.com
446dec40b6
Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
1998-09-28 21:22:31 +00:00
troy%netscape.com
2bd6a1a377
Moved ContentReplaced() handler code to style system
1998-09-25 22:47:00 +00:00
troy%netscape.com
50795d8516
Moved ContentDeleted() document notification code to the style system which
...
generates the reflow command
1998-09-25 05:13:06 +00:00
troy%netscape.com
cdf9d06a40
Removed some XXX CONSTRUCTION code that was work-in-progress, but is
...
no longer needed
1998-09-24 03:49:45 +00:00
kipp%netscape.com
728050bc38
Fixed up includes
1998-09-23 20:12:21 +00:00
kipp%netscape.com
c2091a6dff
use line-layout's pres-context as a ref not a pointer
1998-09-23 02:32:17 +00:00
troy%netscape.com
29e5156e14
Removed nsIContentDelegate.h
1998-09-18 17:34:48 +00:00
troy%netscape.com
28c7cf540c
Removed content delegates
1998-09-18 17:18:37 +00:00
troy%netscape.com
aae84de775
Removed some code that's no longer needed with the new frame construction code
1998-09-18 00:04:55 +00:00
kipp%netscape.com
8f2807a027
Removed css/layout directory
1998-09-15 00:19:49 +00:00
troy%netscape.com
de1641f3f9
Changed new frame construction code to handle floaters
1998-09-11 04:13:29 +00:00
troy%netscape.com
effef91cf6
Phase one of frame construction changes
1998-09-10 19:32:14 +00:00
kipp%netscape.com
c6290fa577
XPCOM'ized nsIContent and nsIHTMLContent
1998-08-29 20:20:38 +00:00
kipp%netscape.com
76ee6f6886
Tell line layout about floater
1998-08-04 21:16:32 +00:00
peterl%netscape.com
714146a525
rounding support
1998-07-31 23:34:45 +00:00
kipp%netscape.com
4a9fb58cf0
Tidy up the rendering; don't take space when show-borders is on
1998-07-29 19:33:27 +00:00
kipp%netscape.com
360dc68e35
Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression
1998-07-29 04:05:49 +00:00
kipp%netscape.com
7d9dcb23b5
Removed hack reflow code now that body/block do it properly
1998-07-23 19:56:11 +00:00
kipp%netscape.com
a8093e38e4
Size the placeholder differently when visually debugging; render it too:
1998-07-16 23:31:53 +00:00
troy
a90fe8e1de
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp
0b21a9b759
More hacks for floating embed's, object's and applet's
1998-07-15 00:47:46 +00:00
troy
87a620acb0
Changed anchor frames to forward content notifications to the real frame
1998-06-30 21:35:07 +00:00
kipp
1a446c2e3f
New and improved (?) line layout
1998-06-25 16:33:10 +00:00
troy
f8b11bcac8
Changed block to do the initial reflow of a floater. Also fixed a problem
...
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
8f956b9c41
Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
1998-06-04 21:04:50 +00:00
kipp
cc0ee570ee
Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
1998-06-04 17:52:02 +00:00
kipp
aa7da9b898
Print out view during listings
1998-06-03 15:57:24 +00:00
troy
99a5451cee
Added some support for percentage based width/height. Currently only works
...
for the initial reflow
1998-06-01 19:52:53 +00:00
troy
a4f359a574
Placeholder now wraps container content in a body pseudo frame
1998-05-29 23:12:26 +00:00