Commit Graph

50 Commits

Author SHA1 Message Date
troy%netscape.com
b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
vidur%netscape.com
b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
mjudge%netscape.com
cd2d3d137c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
akkana%netscape.com
eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +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
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
peterl%netscape.com
62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
troy%netscape.com
efc7c95a53 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com
56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
mjudge%netscape.com
769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge%netscape.com
dd0328320e selection should work now more or less 1999-01-19 06:42:39 +00:00
mjudge%netscape.com
34430366b2 Files for selection across frames. 1999-01-18 22:57:12 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy%netscape.com
f332dc3305 Re-committing my fucking changes... 1999-01-13 00:38:29 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com
72f689c40f Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release
1999-01-12 23:17:20 +00:00
troy%netscape.com
b9a4ba7918 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
troy%netscape.com
487a0952b3 Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com
57ae70eb65 When verify-reflow-all is enabled, update the display after each reflow and pause for a while 1998-12-12 19:21:05 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
troy%netscape.com
e89b2bc6c9 Added support for printing multiple pages 1998-12-07 03:43:02 +00:00
buster%netscape.com
58dc37167f added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
wtc%netscape.com
59b32f50ef This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
kipp%netscape.com
5b4b437bb3 Fixed verify reflow to avoid creating reflow commands during a verify reflow 1998-11-26 18:11:02 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
kipp%netscape.com
2e9a075c19 Brought verify-reflow back to life 1998-11-25 18:41:02 +00:00
joki%netscape.com
e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
joki%netscape.com
b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy%netscape.com
79aed9646d Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +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
vidur%netscape.com
026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
kipp%netscape.com
c3aca28e6c Look on all lists for frames 1998-11-17 01:03:28 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
troy%netscape.com
532ccd2885 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +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
troy%netscape.com
3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
michaelp%netscape.com
dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
kipp%netscape.com
69df327e3e Moved frame-border rendering debug hook here 1998-10-30 22:06:14 +00:00
vidur%netscape.com
4d87ce50d3 Changes to allow absolutely positioned frames to move 1998-10-15 20:26:54 +00:00
kipp%netscape.com
ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +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
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
troy%netscape.com
0b5728618a Moved some files around 1998-09-30 21:01:11 +00:00