waterson@netscape.com
0909469319
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
mjudge@netscape.com
406097b1c5
46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
2000-07-26 11:31:12 +00:00
buster@netscape.com
c618af81be
fixed bug 29854
...
r=waterson
2000-06-11 05:25:14 +00:00
kin@netscape.com
b6365c6ff0
Part2 of fix for bug #39821 : Drag and Drop interferes with selection
...
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.
layout/base/public/nsIFrame.h
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.h
layout/html/base/src/nsFrame.cpp
r=buster@netscape.com ,brade@netscape.com ,cmanske@netscape.com a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
karnaze@netscape.com
238eedfff2
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
2000-05-25 22:40:21 +00:00
waterson@netscape.com
0ce9302917
Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster
2000-05-25 19:58:51 +00:00
akkana@netscape.com
e58dc13225
Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
2000-05-16 22:48:28 +00:00
mjudge@netscape.com
340d89a44e
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
dbaron@fas.harvard.edu
0db3c15533
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
vidur@netscape.com
399eb274c1
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
troy@netscape.com
f2ba156da5
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
troy@netscape.com
67f034175a
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth@netscape.com
bd43d81d01
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
rbs@maths.uq.edu.au
644ced25d6
[#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:36:43 +00:00
troy@netscape.com
f0465b161b
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
troy@netscape.com
7abe460751
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
troy@netscape.com
3b67f2f17c
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy@netscape.com
bf2283fba6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy@netscape.com
e0a7ae552b
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy@netscape.com
5e5f240649
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
4050851582
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
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy@netscape.com
b5d5718a17
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
peterl@netscape.com
419e62fca8
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
7c7030fcf2
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
76a460de09
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
5db385ca1d
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
1b9f0a7401
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
mjudge@netscape.com
c59f7fd9c7
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
mjudge@netscape.com
86e3b61de7
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
359b802313
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +00:00
mjudge@netscape.com
d3912a1766
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
e5cede04c9
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
kipp@netscape.com
3dbd670c62
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
a12f027be4
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
399f8a6195
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
5c81e70106
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
troy@netscape.com
0e0a723228
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
3dd72d0e69
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +00:00
troy@netscape.com
d6f5216441
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy@netscape.com
0c1d0440da
Added NS_FRAME_IS_DIRTY flag to the frame state flags
1999-07-21 23:47:01 +00:00
troy@netscape.com
68b53a1be4
Removed IsTransparent() function from nsIFrame
1999-07-21 23:15:39 +00:00
mjudge@netscape.com
e9e5ebf31b
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
d36c31368a
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
477422b696
Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
1999-06-08 02:19:26 +00:00
mjudge@netscape.com
2c77f1b613
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
d1520ed3dc
adding in selection of non text frames in editor only
1999-05-17 00:21:18 +00:00
mjudge@netscape.com
46e5dd964d
adding back in keyboard navigation. removing const from peekoffset to stop the const creep
1999-05-13 00:43:47 +00:00