Commit Graph

1119 Commits

Author SHA1 Message Date
mjudge@netscape.com
ec19bd6e4d Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy@netscape.com
655e2cab93 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy@netscape.com
b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
mjudge@netscape.com
71fde4f6dc scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge@netscape.com
ae1818857e 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
michaelp@netscape.com
bd06216ab8 modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
mjudge@netscape.com
6e5883620b turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
mjudge@netscape.com
f588fc2234 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
0dc1ad5d27 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge@netscape.com
d9346800ef 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
akkana@netscape.com
5c9ae6a6fa 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
mjudge@netscape.com
75f7e9377e selection rocks ass 1999-01-22 22:04:54 +00:00
mjudge@netscape.com
4643533332 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge@netscape.com
d129bdb90b fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
mjudge@netscape.com
87e36c7a0a selection should work now more or less 1999-01-19 06:42:39 +00:00
mjudge@netscape.com
4c5f15ec01 Files for selection across frames. 1999-01-18 22:57:12 +00:00
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy@netscape.com
62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy@netscape.com
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp@netscape.com
9f3e4c1249 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
troy@netscape.com
6f9192bec1 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
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge@netscape.com
b345e3cc96 adding in selection 1998-12-14 18:34:14 +00:00
kipp@netscape.com
9102a327a0 I disabled selection rendering until it works again 1998-12-12 03:05:24 +00:00
kipp@netscape.com
671ee6b4f3 Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear 1998-12-10 00:30:52 +00:00
mjudge@netscape.com
e0338002ea chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge@netscape.com
c1f41b5fbe new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
wtc@netscape.com
50476c767e 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
michaelp@netscape.com
7adcc313c8 fixed memory leak. 1998-11-28 04:24:46 +00:00
kipp@netscape.com
f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki@netscape.com
249a270b84 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
baefdbc1e7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
vidur@netscape.com
bd1aafe982 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
68e24f6722 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp@netscape.com
c29cc95744 Some support for first-letter style 1998-11-12 16:31:38 +00:00
peterl@netscape.com
54c84e200c turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
kipp@netscape.com
22cca59880 Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support 1998-11-05 19:27:42 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
kipp@netscape.com
13744b8632 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp@netscape.com
1400e9044a Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point 1998-10-31 22:48:21 +00:00
michaelp@netscape.com
70e988371d changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
kipp@netscape.com
66ef26a34e Use normal font always when rendering text-decorations, not the small-caps font 1998-10-28 02:03:40 +00:00
kipp@netscape.com
eb4fbcec02 Fixed underlining bug; support justification 1998-10-27 16:52:34 +00:00
peterl@netscape.com
fd8f36e779 renamed cursor defines 1998-10-26 23:14:17 +00:00
kipp@netscape.com
21be57ed1d Support letter and word spacing 1998-10-26 17:27:53 +00:00
kipp@netscape.com
bf9627daa8 Removed premature optimization of pre vs. non-pre 1998-10-21 20:03:54 +00:00
kipp@netscape.com
30fae999ed Implement capitalization trasnform and small-caps font-variant 1998-10-20 16:46:14 +00:00
kipp@netscape.com
14a934f24f Spanked hard to use the nsTextTransformer 1998-10-20 00:21:18 +00:00
kipp@netscape.com
fd5a059a8e Return break-before when none of the text gets used 1998-10-12 18:44:58 +00:00