Commit Graph

2342 Commits

Author SHA1 Message Date
mjudge@netscape.com
40459a892f selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
rickg@netscape.com
32ed009b73 sync with nsString2 API 1999-04-20 07:20:21 +00:00
kipp@netscape.com
5988928407 Updated to new nsIHTMLReflow method signatures 1999-04-20 00:26:32 +00:00
kipp@netscape.com
88f33fe845 Use revised image loading api 1999-04-13 21:51:00 +00:00
joki@netscape.com
3e1467d574 New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
kipp@netscape.com
a3efdf7680 Added SetClipRect helper method 1999-04-10 17:32:22 +00:00
kipp@netscape.com
74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl@netscape.com
82aa4e8465 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp@netscape.com
76a50ef817 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
mjudge@netscape.com
1f00ddd6cd I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this. 1999-03-16 00:08:38 +00:00
mjudge@netscape.com
bbdd37ba12 fix hack for getting selection to "Really" update the frame 1999-03-14 01:18:47 +00:00
mjudge@netscape.com
cabbcc62f9 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
mjudge@netscape.com
90b5efff4a fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
kipp@netscape.com
b8a31a5be0 Removed dead code; output rects naturally 1999-03-05 04:22:54 +00:00
mjudge@netscape.com
85aff9625f updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
kipp@netscape.com
25591f64c4 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp@netscape.com
48f5180b30 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp@netscape.com
7fea468b02 Implement operator delete; get rid of static constructor 1999-02-26 17:05:20 +00:00
troy@netscape.com
ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com
b2d859edbe Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp@netscape.com
4a28ab858c Revised the signature of the VerticalAlignFrames method 1999-02-23 19:32:20 +00:00
warren@netscape.com
3fdebc0a44 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mjudge@netscape.com
462b1e5446 Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge@netscape.com
a928c8eebb Shift click to continue selection 1999-02-21 01:23:40 +00:00
mjudge@netscape.com
bf113cfe32 nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
kipp@netscape.com
78b0f0882d Removed GetAutoMarginSize; added VerticalAlignFrames 1999-02-18 03:25:23 +00:00
mjudge@netscape.com
db0bce323b fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
troy@netscape.com
602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser@netscape.com
231eebc995 Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
akkana@netscape.com
0e46889822 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
troy@netscape.com
f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
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
87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +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
18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy@netscape.com
c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy@netscape.com
48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +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
troy@netscape.com
2c8f46e6c4 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
kipp@netscape.com
4266235f03 Revamp regression data dumping 1999-02-08 17:56:00 +00:00
peterl@netscape.com
311bd3a382 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
kipp@netscape.com
c1ed79826f tweak so font-lock in emacs works better 1999-02-04 16:28:36 +00:00
kipp@netscape.com
bfbd41ee8c Removed a couple of warnings 1999-02-03 19:10:03 +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
kipp@netscape.com
d3fbf0598c Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
mjudge@netscape.com
d91c7540a0 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
troy@netscape.com
e81b4ca16c Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur@netscape.com
4c32ebf0f0 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00