Commit Graph
1967 Commits
Author SHA1 Message Date
[email protected] 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
[email protected] 78b0f0882d Removed GetAutoMarginSize; added VerticalAlignFrames 1999-02-18 03:25:23 +00:00
[email protected] 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
[email protected] 602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
[email protected] 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
[email protected] 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
[email protected] 0e46889822 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
[email protected] f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
[email protected] 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
[email protected] 87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
[email protected] 655e2cab93 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
[email protected] 18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
[email protected] c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
[email protected] 48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
[email protected] b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
[email protected] 2c8f46e6c4 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
[email protected] 4266235f03 Revamp regression data dumping 1999-02-08 17:56:00 +00:00
[email protected] 311bd3a382 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
[email protected] c1ed79826f tweak so font-lock in emacs works better 1999-02-04 16:28:36 +00:00
[email protected] bfbd41ee8c Removed a couple of warnings 1999-02-03 19:10:03 +00:00
[email protected] 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
[email protected] d3fbf0598c Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
[email protected] 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
[email protected] e81b4ca16c Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
[email protected] 4c32ebf0f0 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
[email protected] 75f7e9377e selection rocks ass 1999-01-22 22:04:54 +00:00
[email protected] 4643533332 chagnes for selection to work 1999-01-22 18:58:14 +00:00
[email protected] 87e36c7a0a selection should work now more or less 1999-01-19 06:42:39 +00:00
[email protected] b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
[email protected] 9a40a331fb Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame 1999-01-15 01:29:15 +00:00
[email protected] 62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
[email protected] 592b9af63f Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
[email protected] 54df92ac77 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
[email protected] 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
[email protected] 24f354b8cd Attempt to patch mac build error 1998-12-18 21:04:33 +00:00
[email protected] 7b0e75e786 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
[email protected] 1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
[email protected] b345e3cc96 adding in selection 1998-12-14 18:34:14 +00:00
[email protected] db7d77973d Moved a #if 0 to get rid of a compiler warning 1998-12-12 19:19:48 +00:00
[email protected] e0338002ea chagnes to selection 1998-12-08 18:26:06 +00:00
[email protected] c1f41b5fbe new use of enumerator class changed IsDone to return NS_COMFALSE if not done 1998-12-03 21:44:54 +00:00
[email protected] e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
[email protected] 1cafe6a870 Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
[email protected] f859403773 Walk up the content-parent so that style is applied appropriately for cursor selection 1998-11-23 22:20:50 +00:00
[email protected] b35e0d5ece Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
[email protected] b48f16c7de Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
[email protected] f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
[email protected] e7a8fb61b9 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
[email protected] 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
[email protected] baefdbc1e7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00