Commit Graph

733 Commits

Author SHA1 Message Date
troy%netscape.com
bb2686580f Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
troy%netscape.com
78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
troy%netscape.com
1741d8cae3 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com
2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
rickg%netscape.com
e53c0df266 missed this API change 1999-01-26 01:45:40 +00:00
mjudge%netscape.com
bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com
5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
amusil%netscape.com
43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
mjudge%netscape.com
110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
troy%netscape.com
b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
troy%netscape.com
b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com
0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
akkana%netscape.com
56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com
eab0e22fa7 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com
626cdf9ca8 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com
11e90148bb PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com
d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com
7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com
317d0d7c4e Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
mjudge%netscape.com
ee295b609b selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge%netscape.com
769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
rods%netscape.com
1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
troy%netscape.com
a1161339c0 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
troy%netscape.com
41250f6f85 Made handling of absolutely positioned child frames more efficient 1999-01-22 00:30:27 +00:00
troy%netscape.com
0f8e34e2e2 Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain
1999-01-20 05:11:17 +00:00
troy%netscape.com
4dd1d39c67 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com
174494f84c Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
mjudge%netscape.com
d52a50ae45 fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
karnaze%netscape.com
29d75b2c52 content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell 1999-01-19 23:16:02 +00:00
mjudge%netscape.com
dd0328320e selection should work now more or less 1999-01-19 06:42:39 +00:00
troy%netscape.com
36158ba506 Changed it so the DidReflow() temporary hack doesn't apply to scrolled
frames
1999-01-19 06:00:08 +00:00
troy%netscape.com
aebbda5000 Minor cleanup 1999-01-19 05:18:26 +00:00
troy%netscape.com
0c55cb8b0e Part of the fix for bug #2485 1999-01-19 05:17:39 +00:00
mjudge%netscape.com
34430366b2 Files for selection across frames. 1999-01-18 22:57:12 +00:00
troy%netscape.com
48365eb8a1 Changed to position absolute child elements relative to the padding edge not the
border edge
1999-01-18 19:30:42 +00:00
troy%netscape.com
a855ea42a4 Improvements to absolute positioning code 1999-01-18 17:27:27 +00:00
troy%netscape.com
e805654323 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
troy%netscape.com
7103b076b4 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
hyatt%netscape.com
ab7046faba Added code to support CLSID instantiation. Approved by amusil and av. 1999-01-16 02:43:51 +00:00
kipp%netscape.com
418cd0251c Removed List code now that base class dumps all child lists 1999-01-16 00:19:30 +00:00
kipp%netscape.com
10f24c7ebf Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically 1999-01-16 00:19:10 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
sfraser%netscape.com
13930cd646 Fix build bustage. 1999-01-15 23:47:23 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00