Граф коммитов

575 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com 3764df874e Removed some dead crud and implemented AttributeChanged 1998-09-25 16:35:01 +00:00
kipp%netscape.com 1c24cf2f69 Support style changes for leaf frames 1998-09-25 16:33:38 +00:00
kipp%netscape.com 5dd93faced Renamed style-changed reflow method; fixed implementation to generate a reflow command 1998-09-25 16:11:36 +00:00
kipp%netscape.com 3a1b3e1c22 Switch over to FrameRemoved instead of FrameDeleted 1998-09-25 16:10:49 +00:00
kipp%netscape.com cde642e1d6 Support (weakly) style-changed reflow and fixup naming of frame-removed methods 1998-09-25 16:10:10 +00:00
troy%netscape.com 318174a3d8 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com ded981efbe performance tweaks to apply style change 1998-09-25 01:49:10 +00:00
vidur%netscape.com c65c40efea Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com 4156cd43b6 Added some attribute handlers for inline frames (temporary) 1998-09-25 00:00:55 +00:00
kipp%netscape.com 39756bf44a Added methods for triggering style/rendering/reflow changes 1998-09-25 00:00:22 +00:00
kipp%netscape.com 01b8c34dc8 Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
kipp%netscape.com eb17ac05c0 Removed unused include 1998-09-24 21:34:31 +00:00
kipp%netscape.com 04604ad3be Removed bullet pseudo-content and instead use pseudo style to process bullets properly 1998-09-24 21:32:39 +00:00
troy%netscape.com 8708a830f9 Removed mChildCount from nsContainerFrame 1998-09-24 17:56:35 +00:00
kipp%netscape.com a491a713e9 Fixed block's max-element-size computation for child inline frames 1998-09-24 17:47:25 +00:00
troy%netscape.com 2ed107ad4d Removed IsPseudoFrame() from nsContainerFrame 1998-09-24 04:57:30 +00:00
troy%netscape.com f5a11ac77b Removed IsLastChild() member function from nsContainerFrame 1998-09-24 04:12:01 +00:00
troy%netscape.com 82c4fa9df0 Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame 1998-09-24 03:59:30 +00:00
troy%netscape.com 79eb911422 Removed some XXX CONSTRUCTION code that was work-in-progress, but is
no longer needed
1998-09-24 03:49:45 +00:00
troy%netscape.com 5e4611081b Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
from nsContainerFrame
1998-09-24 03:36:52 +00:00
troy%netscape.com 86ce7613e4 Changed the way nsIFrame inherits from nsISupports 1998-09-24 01:50:16 +00:00
kipp%netscape.com 34339e3dd4 Fixed up includes 1998-09-23 20:12:21 +00:00
kipp%netscape.com 7a47ddc638 Removed bullet factory methods 1998-09-23 20:12:07 +00:00
kipp%netscape.com 7e269eb6c3 nuked 1998-09-23 20:11:22 +00:00
kipp%netscape.com 09c2bd18a7 Implement bullets here; implement list renumbering cleanly instead of having the bullets blindly do it (fixes a crash and several pagination bugs) 1998-09-23 20:10:40 +00:00
karnaze%netscape.com b7d357fce8 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com ea7c23f8b9 Fixed bug in InsertNewFrame() that was screwing up the child list 1998-09-23 04:45:59 +00:00
kipp%netscape.com efdb756715 Removed unused include 1998-09-23 02:33:23 +00:00
kipp%netscape.com 6ccd415fc4 use line-layout's pres-context as a ref not a pointer 1998-09-23 02:32:17 +00:00
kipp%netscape.com 5bb033f24d Use pres-context as a ref instead of a pointer 1998-09-23 02:31:16 +00:00
kipp%netscape.com 90e7f6356a Added methods for counting the number of placed frames; switched the pres-context to a ref from a pointer; removed some debris 1998-09-23 02:31:00 +00:00
kipp%netscape.com e81efcd58d Use nsHTMLContainerFrame instead of nsHTMLBase 1998-09-23 02:30:21 +00:00
kipp%netscape.com 5a0b05a4f0 Moved some methods from various places into this class 1998-09-23 02:29:31 +00:00
kipp%netscape.com 383af639b3 Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow 1998-09-23 02:25:26 +00:00
kipp%netscape.com 313976d02e use line layout pres-context as a ref not a pointer 1998-09-23 02:24:49 +00:00
kipp%netscape.com 86fc054d7d Renamed margin carry in/out variables in the metrics struct 1998-09-23 02:21:53 +00:00
troy%netscape.com 8b1e799713 Changed to how broken image is handled 1998-09-22 04:01:16 +00:00
troy%netscape.com 80993d95c6 Added display of icon when loading image 1998-09-22 03:34:44 +00:00
troy%netscape.com 2c48537ccc Fixed a bug introduced with the LastFrame() changes 1998-09-21 16:37:38 +00:00
troy%netscape.com 88ce6d7582 Fixed some horkage I introduced 1998-09-21 16:35:49 +00:00
troy%netscape.com e30e3bdf78 Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount 1998-09-21 03:50:44 +00:00
troy%netscape.com e46c707ed3 Removed references to mFirstContentOffset 1998-09-21 03:47:45 +00:00
troy%netscape.com 4d0cc0344e Work in progress for displaying icon while laoding image... 1998-09-20 00:08:24 +00:00
troy%netscape.com 8239f605ce Changed FrameInserted incremental reflow code to insert the new frame
into the child frame list
1998-09-19 04:29:36 +00:00
troy%netscape.com 9955ac85ce Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com 8390e920bf Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com c24f15c230 Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
troy%netscape.com 52eb998d8f Removed nsIContentDelegate.h 1998-09-18 17:34:48 +00:00
troy%netscape.com b6c1cfd2b8 Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com 356c3c5ab5 Removed an unreferenced label 1998-09-18 03:10:00 +00:00
troy%netscape.com 4638bb8528 Removed some dead code 1998-09-18 03:08:23 +00:00
troy%netscape.com b01fe7302c Added CreateContinuingFrame() 1998-09-18 02:47:03 +00:00
troy%netscape.com 01aed8986f Removed some code that's no longer needed with the new frame construction code 1998-09-18 00:04:55 +00:00
troy%netscape.com 163bcce1ad Removed code that's no longer needed now that tables are using new
frame construction code
1998-09-17 23:46:16 +00:00
troy%netscape.com 64fbddffe3 Removed some XXX temp code that was needed until tables were switched
over to the new frame construction code
1998-09-17 04:57:50 +00:00
troy%netscape.com 740f73d46a Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com f66523e7c7 added decoration rendering code to deal with CSSisms 1998-09-17 00:18:25 +00:00
michaelp%netscape.com 91516c1897 cleaned up some link jumping nonsense. 1998-09-15 20:22:37 +00:00
buster%netscape.com c47f9bbfcb nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
michaelp%netscape.com 339f0de9fc changes for new plugin world. 1998-09-15 03:46:52 +00:00
kipp%netscape.com 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com c19913ecf4 Container floated elements are now wrapped in a BODY frame 1998-09-14 04:01:08 +00:00
troy%netscape.com 1b1b0c939f Changed to explicitly create frame of type frameset or outer frame instead
of using CreateFrame() which will be going away
1998-09-13 02:45:07 +00:00
kipp%netscape.com b9e8a43908 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
troy%netscape.com a110f0c67d Removed some XXX CONSTRUCTION commented out code 1998-09-12 04:54:04 +00:00
pierre%netscape.com 170f02692b initialize member variables to 0 1998-09-11 09:13:02 +00:00
troy%netscape.com 29f72760df Changed new frame construction code to handle floaters 1998-09-11 04:13:29 +00:00
troy%netscape.com 7f9a1669e1 Fixed it so bullets work again 1998-09-10 22:28:55 +00:00
troy%netscape.com f370908aef Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
rods%netscape.com b02a251eb8 GetPosition now uses a binary search for locating the cursor poistion. Also, selection now
uses the half width of a character for moving selection to the next character.
1998-09-10 19:18:01 +00:00
karnaze%netscape.com be6a60c25f in document, renamed nsHTMLFrame.cpp, nsHTMLFrameset.h, nsHTMLFrameset.cpp 1998-09-10 17:23:31 +00:00
karnaze%netscape.com 1141b63fe6 converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
kipp%netscape.com 58921403db Removed some cruft 1998-09-09 16:18:40 +00:00
kipp%netscape.com 6dff4273c4 Turned off image load skid marks 1998-09-09 16:13:52 +00:00
rods%netscape.com 56048c21b0 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com 65931b56e7 Removed some cruft; added NS_NewBodyFrame 1998-09-08 22:36:30 +00:00
kipp%netscape.com 1bacf0f89d new 1998-09-08 22:34:40 +00:00
kipp%netscape.com ee91dcd8d9 Removed some cruft; added NS_NewTextNode 1998-09-06 00:17:30 +00:00
michaelp%netscape.com a8320310e0 added Scrolled() method. and support to call it. fixed NS_RELEASE(rc) bug in
pres shell as reported by pierre.
1998-09-05 20:57:57 +00:00
kipp%netscape.com d7a47d0ea7 Added wbr 1998-09-04 01:02:54 +00:00
kipp%netscape.com fc082ae5f3 Removed some cruft and promoted a few frame creation routines 1998-09-04 00:55:20 +00:00
kipp%netscape.com 485971f9e7 Added decl for NS_NewImageFrame 1998-09-04 00:18:53 +00:00
kipp%netscape.com 62c5c8e302 tweaked element ctor methods 1998-09-03 22:22:34 +00:00
karnaze%netscape.com a26dce780e frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
kipp%netscape.com 675ed00281 Renamed element creation routines 1998-09-02 23:52:38 +00:00
buster%netscape.com a8906329f4 expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
aFilter is useful for determining if a frame should output itself during
a List().  In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added   static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing.  Currently this is controlled by command line switches on the viewer app.
1998-09-02 21:59:54 +00:00
kipp%netscape.com 013939ead8 Revised factory method argument order (normalized) 1998-09-01 01:35:19 +00:00
kipp%netscape.com db1080d1fc Added factory method names for all the new content objects 1998-09-01 01:33:19 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
kipp%netscape.com 8713c93675 Added NS_NewHTMLBR 1998-08-31 18:40:16 +00:00
troy%netscape.com 715766b02f Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
kipp%netscape.com 5a96e9378b Added NewHTMLAnchor 1998-08-29 03:13:15 +00:00
kipp%netscape.com b39d24a069 Export new HTML-HR factory method 1998-08-28 23:31:28 +00:00
rods%netscape.com 0c95d8533f Fixed up some of the selection methods 1998-08-28 16:02:33 +00:00
michaelp%netscape.com 8190f7951c DeleteFrame() now takes a pres context. 1998-08-28 03:02:39 +00:00
michaelp%netscape.com aad018fcbb deleteframe() now takes a pres context. 1998-08-28 02:50:17 +00:00
troy%netscape.com 35df864e01 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
troy%netscape.com b0d16a8897 Added missing NS_INIT_REFCNT() 1998-08-15 03:24:27 +00:00
troy%netscape.com 4b212c0467 Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
joki%netscape.com 20d06b486a Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
rods%netscape.com e26cb21fb1 Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)
1998-08-06 16:29:45 +00:00
kipp%netscape.com 046006426a Added decls for framesets 1998-08-05 22:08:33 +00:00
michaelp%netscape.com 5469028d38 added tags for plugins. 1998-08-05 04:22:51 +00:00
kipp%netscape.com a205def808 Tell line layout about floater 1998-08-04 21:16:32 +00:00
michaelp%netscape.com 9bd2a1fce5 another hack to get Unix to be happy. 1998-08-01 23:02:14 +00:00
michaelp%netscape.com 4cc548c8ba plugin changes. 1998-08-01 05:47:53 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
kipp%netscape.com 27ffd2eb94 Disabled widget&view for now; render the object so that people know code is coming 1998-07-29 19:33:48 +00:00
kipp%netscape.com 22f5a6d6c1 Tidy up the rendering; don't take space when show-borders is on 1998-07-29 19:33:27 +00:00
kipp%netscape.com 8349929d63 Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression 1998-07-29 04:05:49 +00:00
michaelp%netscape.com 3bc803ac1f hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
kostello%netscape.com efc6f70152 Added support for saving the selection (important for copy).
Change XIF interfaces
1998-07-27 18:08:58 +00:00
michaelp%netscape.com 8a42c31205 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
kipp%netscape.com e93de67eb9 Removed hack reflow code now that body/block do it properly 1998-07-23 19:56:11 +00:00
troy%netscape.com 7232d0c359 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com 23eb4a6ae4 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
kipp%netscape.com dd7f60627c Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
karnaze%netscape.com 0bb1d87245 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +00:00
kipp%netscape.com 6eef05bf6b Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
joki%netscape.com 1b3eefccdb Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
kipp%netscape.com 384d6fbda5 Implement paint method 1998-07-16 23:32:04 +00:00
kipp%netscape.com 936a3f47d9 Size the placeholder differently when visually debugging; render it too: 1998-07-16 23:31:53 +00:00
kipp 4321face90 Indent tweak 1998-07-15 17:05:59 +00:00
troy e264371e9b Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy 243f3f1255 Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy e8893481dd Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp b46eb126c9 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp f5cbcc3d7a Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp d53bd676fa new 1998-07-15 00:22:30 +00:00
kostello 97e90b0639 Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kipp 5bc86bdb50 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp 135b6b3efb Tweaked 1998-07-11 03:49:17 +00:00
kipp 15a1048658 initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy 7c4b0ac9ae Added some new sizing constraints 1998-07-09 20:53:37 +00:00
kipp 8beef8ceaa Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
kipp c21f2ee0f4 Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp e75706a7db Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp 8de1e92335 Reworked ContentInserted handling 1998-07-03 17:46:44 +00:00
troy a3005d96d4 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
troy 08cdd6ebcd Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp 11fba76f60 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp 9d76dca44e disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp 7292712c50 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
kipp cdaedbbf86 Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp 822565e6d7 Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp 396b89b7f9 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp 163249f258 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp aa980ae438 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
kipp cc04a28262 Added the same skip-over-non-body-content code that's in the root content frame code 1998-06-25 14:53:45 +00:00
karnaze ea5cd1554d named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
troy 2c3c341cda Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
instead
1998-06-14 05:14:17 +00:00
troy af75aa1015 Changed some pairs of GetStyleContext/GetStyleData calls to a single call
to nsIFrame::GetStyleData
1998-06-14 05:00:38 +00:00
karnaze 6800f5f5d8 initial support for <iframe> 1998-06-11 16:46:33 +00:00
troy 454392645d 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 6c25e7131e Fixed a pending-break clear bug; use new ReflowInlineChild API 1998-06-09 17:47:49 +00:00
kipp 18f4f90dea Added nsIInlineFrame interface 1998-06-09 17:47:20 +00:00
kipp 6b4f435e4f Implement ReflowChild directly so that it uses nsIInlineFrame is available 1998-06-09 17:40:21 +00:00
kipp a07a851265 Implement ReflowInlineChild to check for nsIInlineFrame and use it when available 1998-06-09 17:32:52 +00:00
kipp 6d91246eaa Updated reflow-inline-child to handle the new nsIInlineFrame api 1998-06-09 17:32:27 +00:00
troy 5aeffe1a29 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
kipp bab137bdff Added another tracing log message 1998-06-09 00:49:12 +00:00
kipp 5ca93333aa Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's) 1998-06-09 00:48:56 +00:00
joki 7aad810a2f Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp c76c309fef Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp 71d12dae58 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
kipp dfc4dd32ae Added no-wrap support 1998-06-05 17:53:28 +00:00
kipp 19adfee3f3 Added a reminder 1998-06-05 17:53:11 +00:00
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 55904e7030 changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
kipp d0d066dc01 Fixed to return proper reflow status 1998-06-05 00:54:03 +00:00
kipp 5d8ad4e74d Verify that mIsBlock is correct 1998-06-04 23:10:15 +00:00
kipp 2a8c488204 Removed dead code 1998-06-04 23:08:59 +00:00
kipp 35f737aeb1 IMplement ReflowBlockChild 1998-06-04 23:08:49 +00:00
kipp 4c0ffc1125 Added a head part 1998-06-04 21:33:07 +00:00
kipp 6ed0850c2d 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 a130d61779 Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames 1998-06-04 17:52:02 +00:00
kipp f017361697 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks 1998-06-04 17:51:27 +00:00
kipp 952e690f78 Log view creation when it's done; create view when child and parent opacities differ 1998-06-04 17:50:53 +00:00
kipp da9567882e Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically 1998-06-04 17:50:19 +00:00
kipp 8945757f0d Added mPrevMarginSynthetic flag 1998-06-04 17:49:29 +00:00
kipp b3a0265470 Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks 1998-06-04 17:49:15 +00:00
michaelp ab13cdae91 added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kipp 209e9ca775 new 1998-06-03 18:31:14 +00:00
kipp 7a7d1a61cd Print out view during listings 1998-06-03 15:57:24 +00:00
kipp 7d43cef5b1 Wrap created frames in a view if necessary 1998-06-03 15:57:08 +00:00
kipp 31e0061a0f disable notifies during synthetic content insertion 1998-06-03 15:55:49 +00:00
kipp 4e3f35d542 Print out views during listings 1998-06-03 15:51:17 +00:00
kipp bab6234e9e new 1998-06-03 15:49:00 +00:00
kipp a34b1a43fd IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
troy 71d8797ba4 Initialized nsBlockReflowState::mStyleSizeFlags to 0 1998-06-03 02:27:39 +00:00
troy 992a717874 Turned on incremental painting 1998-06-02 05:29:44 +00:00
kipp 76fcd38b25 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames 1998-06-01 23:39:40 +00:00
kipp 8d21e9ced3 Fixed block frame Clear method to work properly 1998-06-01 23:38:40 +00:00
kipp d4971d7ddc Added SetFirstChild; made line layout a friend of block frame 1998-06-01 23:37:55 +00:00
troy 6158f7cec4 Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
kipp 581d6444fe Support nsILinkHandler::OnOverLink 1998-06-01 20:55:10 +00:00
troy 9d672d75a1 Work in progress for floaters to handle percentage based
width/height
1998-06-01 19:56:58 +00:00
troy 2f68ab5d3a Added some support for percentage based width/height. Currently only works
for the initial reflow
1998-06-01 19:52:53 +00:00
troy f1bf0636c9 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp 00d8c58559 Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated) 1998-05-30 21:21:11 +00:00
kipp 80acd0c50e Use new cssLayout api 1998-05-30 21:18:32 +00:00
kipp f9cd42fd7b Use new mPendingBreak state 1998-05-30 17:46:11 +00:00
kipp def13663bd Support BR tags in inline frames 1998-05-30 17:45:46 +00:00
kipp 50881dab1b Partial support for BR clear behavior 1998-05-30 17:45:15 +00:00
troy 5c80c8e537 Placeholder now wraps container content in a body pseudo frame 1998-05-29 23:12:26 +00:00
troy 5d79a7eef1 Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case 1998-05-29 23:05:12 +00:00
troy cee140e58d Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp 91eb6b5f64 Consolidated list handling state variables 1998-05-29 18:25:14 +00:00
kipp ee56cc154f Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow 1998-05-29 02:34:19 +00:00
kipp 03b868eeb4 Removed some unused list layout cruft 1998-05-29 02:33:50 +00:00
kipp 0a670a18f5 Get initial reflow state set right during child reflow; support list bullets directly 1998-05-29 02:15:46 +00:00
kipp b3f2588ada Pass on initial reflow to ProcessInitialReflow 1998-05-29 02:15:00 +00:00
kipp 189c6d2f00 Added bullet creator 1998-05-29 02:14:41 +00:00
kipp 9287e82ebb Added initial reflow hook; setup list bullets using it 1998-05-29 02:13:25 +00:00
kipp 76f4a551b6 Added initial reflow hook 1998-05-29 02:13:13 +00:00
kipp 0c0146ddcf Added list state for line layout 1998-05-29 02:11:38 +00:00
kipp bbce64b181 Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook 1998-05-29 02:11:27 +00:00
kipp b6bad15b86 Added another state bit 1998-05-29 02:09:18 +00:00
troy 5acc41f6bd Added some more WillReflow() calls 1998-05-28 20:12:02 +00:00
troy a361eea70c Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set 1998-05-28 19:00:31 +00:00
troy b637ca6f64 Changed Paint() to not check if the frame is a pseudo frame 1998-05-28 04:38:28 +00:00
troy 26579fc14a Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp 98e4c731ca Use revised HorziontallyPlaceChildren api 1998-05-28 02:01:50 +00:00
kipp cb7f95262e Set x,y coordinate of frame before reflowing it 1998-05-27 22:24:57 +00:00
kipp beb0e254da Moved certain line layout state into a state struct that can be saved/restored for word breaking 1998-05-27 21:07:10 +00:00
kipp c258ad8093 Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code 1998-05-27 21:06:55 +00:00
kipp 784f23e1f6 Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code 1998-05-27 21:05:47 +00:00
kipp a30748d0f2 Updated to use lineLayout struct changes 1998-05-27 21:05:13 +00:00
peterl 28517de6a1 added visibility style attribute
moved attributes from position to display struct
1998-05-26 23:15:47 +00:00
troy b2296227ff Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp 864f4e1fc4 Removed some dead code; added code to DidReflow children at a good spot 1998-05-22 18:37:49 +00:00
troy 6d84299cc2 Changed reference to reflow command to a pointer to a reflow command 1998-05-22 04:56:27 +00:00
troy 63046c8bfd Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
troy e6fd0dce2e Changed the nsBandTrapezoid::State enum values to conform to the coding
standard
1998-05-22 04:03:14 +00:00
troy 3148067708 Added new Reflow() member function that will eventually supersede the two
existing reflow functions: ResizeReflow() and IncrementalReflow()
1998-05-22 03:52:51 +00:00
troy 23a25e2268 Some work in progress for incremental floaters 1998-05-22 02:38:41 +00:00
troy a19cf15e0f Fixed some busted code of a bogus type cast 1998-05-22 00:45:34 +00:00
kipp c484dcc24a disabled reflow-mapped-child for now 1998-05-21 16:29:20 +00:00
kipp 06f4a8f316 better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required 1998-05-21 16:12:10 +00:00
kipp 53d901a18b Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow 1998-05-21 16:11:29 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
kipp a856223ff7 Disable reflow optimizations for now 1998-05-20 21:51:51 +00:00
kipp 0b5ee49086 Add in will/did reflow calls; add in tracing calls too 1998-05-20 16:28:05 +00:00
kipp e4ff00c95f Use new tracing macros; add in ReflowMappedChild to avoid reflowing children 1998-05-20 16:27:46 +00:00
kipp 37ab909588 Use new tracing macros and verify-tree-enable 1998-05-20 16:27:22 +00:00
kipp 9aa06b9d92 Added in mDeltaWidth to block reflow state 1998-05-20 16:26:46 +00:00
kipp c009bb83d2 Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic 1998-05-20 16:26:34 +00:00
kipp 4f3ea52e14 Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
troy a185df6362 Implemented RemoveRegion() 1998-05-20 05:14:14 +00:00
troy ad60772a53 Changes for removing regions 1998-05-19 22:55:40 +00:00
troy 6b32a0861e Work in progress on removing a region 1998-05-19 15:30:10 +00:00
troy c6430d9196 Revamped space manager internals 1998-05-19 03:00:56 +00:00
kipp be831d99f1 Print out state when non-zero 1998-05-18 16:53:09 +00:00
kipp cfda8fbbf0 Call WillReflow before reflowing children 1998-05-18 16:52:57 +00:00
kipp 53e780d9cf dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:52:41 +00:00
kipp bea090f624 Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h 1998-05-14 00:49:46 +00:00
kipp 87861be535 Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState 1998-05-14 00:47:05 +00:00
peterl af91e8a55f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
troy 0b813ad3e7 Changes to space manager implementation. 1998-05-13 16:22:44 +00:00
kipp 07ed999729 Fixed ptr compilation bug 1998-05-13 00:13:09 +00:00
kipp a34356a113 Cast lineReflowStatus before comparing for negative values!; eliminated unused variables 1998-05-13 00:11:51 +00:00
kipp 30c8f7a0cb Moved margin code into line layout 1998-05-12 23:49:40 +00:00
scullin 711c0484c4 Release mode fix. 1998-05-12 23:32:59 +00:00
troy 1ac145e853 Space manager API change 1998-05-12 23:02:47 +00:00
troy 92c9ccb54b Added new member functions 1998-05-12 23:02:02 +00:00
peterl a97ac241a7 sync to new spacing apis 1998-05-12 22:28:01 +00:00
troy 87d8314c08 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy 3b08586876 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp 9ac5634a00 Added container methods for the singly contained frame 1998-05-12 01:31:22 +00:00
kipp 4b81688d10 Init band data so that zero is returned on failure 1998-05-12 01:30:57 +00:00
troy 89274c06e4 Wrapped VerifyLines() inside of a NS_DEBUG #define 1998-05-11 18:54:15 +00:00
troy eaaa05815e More incremental reflow work. 1998-05-11 18:38:10 +00:00
troy 27dd88d7ae Work in progress on block incremental reflow 1998-05-09 03:52:29 +00:00
kipp cb1358cbb5 Fixed irix bustage 1998-05-08 21:12:12 +00:00
troy 88e5de1f65 Moved ContentChanged() logic to nsFrame since it was completely generic and
serves as reasonable default behavior for all frames
1998-05-08 16:34:27 +00:00
troy d558e0944f Added ContentChanged() member function 1998-05-08 04:56:47 +00:00
troy 8a61897ab0 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp b00942a319 Support css width&height style properties 1998-05-07 23:38:51 +00:00
kipp b756f040c3 Support width & height ala css1 1998-05-07 21:50:56 +00:00
kipp ec92662afe order sid's alphabeticly 1998-05-07 21:36:41 +00:00
troy 78de74ac42 Work in progress 1998-05-07 21:10:07 +00:00
troy dde4836b65 Started hooking up appended content handler 1998-05-07 20:28:16 +00:00
troy f6e0e4fd8b Work on getting floaters working again 1998-05-07 05:25:08 +00:00
kipp 707a667dd2 Implemented destroy-lines 1998-05-07 03:45:29 +00:00
kipp c07c22af17 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
kipp 0c6469b295 Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code 1998-05-07 00:06:53 +00:00
kipp a333c5eda2 Changed CreateContinuingFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:37 +00:00
troy ca23e47c2e Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy af4352b9f4 Work in progress for inserted incremental reflow 1998-05-05 04:47:53 +00:00
troy 049905f1f8 Added ContentInserted handler 1998-05-04 18:32:12 +00:00
troy 9ae1d79f61 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
troy 38acdd1740 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy 7b7acfc81c Made sure to set previous bottom margin when restoring reflow state 1998-05-03 04:37:56 +00:00
troy 855a687477 Fixed a problem with mY not being updated properly for a bottom
margin
1998-05-03 04:16:13 +00:00
troy df86871d93 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp 1dfce13cc2 Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code) 1998-05-02 00:56:24 +00:00
kipp aef76fa930 Updated 1998-05-02 00:40:25 +00:00
kostello f7b27f2578 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00