Commit Graph

137 Commits

Author SHA1 Message Date
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com
2b4f236320 Added nsHTMLReflowState.h 1999-10-30 16:16:45 +00:00
troy%netscape.com
a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
2ea886f3be Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
f5ba346bdc Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
mjudge%netscape.com
3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
kin%netscape.com
ca92ac282c First pass implementation of selection auto scrolling.
layout/base/public/nsIFrame.h
        - Added GetContentAndOffsetsFromPoint() method. This
          method will eventually replace GetPosition().

    layout/base/public/nsIFrameSelection.h
        - Added HandleDrag() and Start/StopAutoScrollTimer() methods.

    layout/base/src/nsRangeList.cpp
        - Added implementation for HandleDrag() and
          Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsBRFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().

    layout/html/base/src/nsFrame.cpp
    layout/html/base/src/nsFrame.h
        - Added implementation for GetContentAndOffsetsFromPoint().
        - Added GetClosestViewForFrame() utility method.
        - Modified HandleEvent() to call HandleRelease() which now
          stops the auto scrolling timers.
        - Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
          and Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsTextFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
mjudge%netscape.com
2c78141fa6 fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor 1999-09-25 23:33:02 +00:00
peterl%netscape.com
ad49316854 removed ReResolveStyleContext
added flag for style tree verify
1999-09-21 07:48:34 +00:00
mjudge%netscape.com
eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com
046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
peterl%netscape.com
de5d9b0b62 added content state changed (vs content changed) notification 1999-09-10 05:50:02 +00:00
mjudge%netscape.com
a5ac5b186c adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
peterl%netscape.com
09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
kipp%netscape.com
6361c09f47 Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep 1999-08-27 21:39:26 +00:00
mjudge%netscape.com
5531d305c5 changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :) 1999-08-24 21:51:47 +00:00
troy%netscape.com
05fb1d7f25 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy%netscape.com
08c5b45b84 Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
troy%netscape.com
1df4c2d244 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com
c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com
f02d9ef8b9 Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
troy%netscape.com
19ed07723e Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
mjudge%netscape.com
f98938bdfd up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
mjudge%netscape.com
225111bf33 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
joki%netscape.com
7e2352ba3a Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
mjudge%netscape.com
4bff71e096 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
mjudge%netscape.com
a15e7eb5ac adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
mjudge%netscape.com
5404272a5e adding back in keyboard navigation. removing const from peekoffset to stop the const creep 1999-05-13 00:43:47 +00:00
mjudge%netscape.com
884bb4bb82 massive checkin for selection modifications and removing static state variables for selection in nsFrame.h. 1999-05-07 21:12:59 +00:00
mjudge%netscape.com
f302ca2537 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
troy%netscape.com
00edc72db6 Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
kipp%netscape.com
9fbbadd484 Added a bit to speed up frame destruction 1999-04-13 21:48:35 +00:00
troy%netscape.com
62cb7b680b Added NS_FRAME_GENERATED_CONTENT 1999-04-05 03:44:07 +00:00
peterl%netscape.com
ea38299e52 added args to ReResolveStyle to capture style change info 1999-03-25 06:32:56 +00:00
mjudge%netscape.com
26d8cc3a13 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
d1fe3c6035 Removed global gLogModule 1999-02-26 16:59:57 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
mjudge%netscape.com
7df9af9d91 adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +00:00
kipp%netscape.com
3245994287 Removed obsolete GetAutoMarginSize method 1999-02-18 03:19:02 +00:00
troy%netscape.com
9fa8b62428 Added NS_FRAME_REPLACED_ELEMENT 1999-02-13 05:58:28 +00:00
sfraser%netscape.com
9ab69a922e 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
mjudge%netscape.com
d6da223dbd 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
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf 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
e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00