Commit Graph

118 Commits

Author SHA1 Message Date
kipp%netscape.com
bffc589afc whitespace tweak 1998-11-26 18:08:27 +00:00
kipp%netscape.com
a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com
65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com
7675978299 fixed comment 1998-11-18 02:08:30 +00:00
troy%netscape.com
527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy%netscape.com
9d8145f033 Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com
081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
2f5892eda7 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
kipp%netscape.com
413e835d6a Added NS_FRAME_OUTSIDE_CHILDREN bit 1998-10-30 22:04:56 +00:00
troy%netscape.com
6be0630937 Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
whether the view is automatically positioned and sized to stay in
sync with the frame
1998-10-16 20:09:32 +00:00
troy%netscape.com
c724e3393f Rearranged member functions to better group child frame enumeration related
functions
1998-10-08 21:03:59 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
troy%netscape.com
da48864fc7 Moved HandlePress,HandleDrag,HandleRelease from nsIFrame to nsFrame 1998-10-08 18:21:32 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +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
2ee88cc63a added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.
1998-09-29 23:41:59 +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
troy%netscape.com
4b214d1806 Changed the way nsIFrame inherits from nsISupports 1998-09-24 01:50:16 +00:00
kipp%netscape.com
5b8a340e7a Renamed margin carry in/out variables in the metrics struct 1998-09-23 02:21:53 +00:00
troy%netscape.com
62b1375f69 Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
6d20aa0438 Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
pierre%netscape.com
1971412a64 initialize member variables to 0 1998-09-11 09:13:02 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
michaelp%netscape.com
d6a0988c76 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
karnaze%netscape.com
90951aa3b9 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
buster%netscape.com
89e198237d 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
rods%netscape.com
ad87b994a1 Fixed up some of the selection methods 1998-08-28 16:02:33 +00:00
michaelp%netscape.com
cccee92638 deleteframe() now takes a pres context. 1998-08-28 02:50:17 +00:00
joki%netscape.com
db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
troy
d660868bc2 Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
711c31863c Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +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
7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy
6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
kipp
5bb77d7e59 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
925e12fa74 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
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp
3147b0e1a7 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
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl
2c0fe9653c 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
michaelp
9f71c8886e added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
troy
7a485fcc40 Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp
e4431fe3a2 Added another state bit 1998-05-29 02:09:18 +00:00
troy
3ea1d2d8e3 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
troy
9b54fbae32 Changed reference to reflow command to a pointer to a reflow command 1998-05-22 04:56:27 +00:00
troy
6204c78831 Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
troy
a4a33ecef7 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
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
kipp
98f696a9af Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
kipp
c0075966dd 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
084e36938f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
troy
8f2db5dfa6 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy
5b69e1f043 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
troy
71191f123b More incremental reflow work. 1998-05-11 18:38:10 +00:00
troy
b3c5708bd1 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp
f8bff82f91 Changed CreateContinuingFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:37 +00:00
troy
d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy
b6217c70a6 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
kostello
a5c40d6b25 * 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:02 +00:00
troy
e1e6d470ff Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy
3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00