Commit Graph

174 Commits

Author SHA1 Message Date
troy%netscape.com
614cbe4d17 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
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
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
mjudge%netscape.com
21ff71f017 i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set. 1999-10-29 23:07:07 +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
2e4ab18e9c Change to some assertions in debug mode 1999-10-27 00:53:15 +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
29963d8875 Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
f5ba346bdc Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a Removed some more warnings 1999-10-22 14:51:41 +00:00
mjudge%netscape.com
7d0e807931 massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +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
fc71fb36d1 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. 1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
5a9e69f0c8 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com
a2f1c7cf5a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
peterl%netscape.com
724aca8163 removing dead style change code
r=troy
1999-10-02 04:24:20 +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
peterl%netscape.com
cd5a8a17d1 manage view visibility better, hide collapsed views and hidden views with widgets 1999-09-29 03:37:02 +00:00
troy%netscape.com
9430750742 Fixes for bug #2552 and bug #10961 1999-09-26 20:40:29 +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
mjudge%netscape.com
c6fd49197c more tweaks for line boundaries. previous 1999-09-22 07:26:37 +00:00
mjudge%netscape.com
e989c3be45 tweaked word left and word right again. got double click working on edge cases! yeah 1999-09-22 07:09:41 +00:00
mjudge%netscape.com
6976c807dc recursion failing finding the same frame we started with sometimes with generated content from style. simple 2 line check to avoind this. dagley said ok to check in red tree since not hurting anyone. 1999-09-22 06:12:44 +00:00
mjudge%netscape.com
99dadf07b9 approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping 1999-09-22 05:56:44 +00:00
mjudge%netscape.com
88c407b158 fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time. 1999-09-22 04:12:23 +00:00
joki%netscape.com
4016178c5d Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
mjudge%netscape.com
dfcf0208d4 fix for going to correct offset in selection with keyboard navigation 1999-09-22 01:19:04 +00:00
mjudge%netscape.com
1e48363fd7 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
peterl%netscape.com
ecb4bd83d0 removed ReResolveStyleContext
added style tree verify flag
1999-09-21 07:51:52 +00:00
mjudge%netscape.com
3c9065ac80 checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames 1999-09-20 21:47:37 +00:00
kipp%netscape.com
bbea57fc6b formatting sillyness 1999-09-15 20:38:42 +00:00
mjudge%netscape.com
d71f4104da changes for bug fixes for dogfood. finding frames left and right should find the correct frame and not give up so easily. nsTextFrame needed to change getpositionslowly. 1999-09-15 01:57:50 +00:00
kipp%netscape.com
d0e73c20e6 Removed MoveInSpaceManager 1999-09-15 00:26:39 +00:00
sfraser%netscape.com
2ad5b8ffa2 Fix a warning. 1999-09-14 23:41:49 +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
fa95528749 added content state changed notification 1999-09-10 05:52:23 +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
mjudge%netscape.com
591daffd24 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya. 1999-09-07 18:47:01 +00:00
peterl%netscape.com
09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
mjudge%netscape.com
fa5d3c3459 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine. 1999-09-01 21:40:16 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +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
0131e47431 Added IsFrameTreeTooDeep method to support code handling bug #10310 1999-08-27 21:48:06 +00:00
mjudge%netscape.com
5272505f4a added in selection of tables/images as blue borders for browser. 1999-08-25 22:19:23 +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
rods%netscape.com
b8e288a61f Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area 1999-08-19 14:36:47 +00:00
troy%netscape.com
f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
troy%netscape.com
17838b7952 Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00