Commit Graph

2091 Commits

Author SHA1 Message Date
av%netscape.com
a3ce92faff Fixing bug #8036, reviewd by beard 1999-09-30 08:07:23 +00:00
mjudge%netscape.com
54829b853b fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected.. 1999-09-29 20:36:00 +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
troy%netscape.com
055ef7bf53 Fix for bug #15152. Moved check for "no wrap" inside of loop. This fixes a
problem where blocks inside of blocks were not getting marked dirty
1999-09-29 05:09:19 +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
peterl%netscape.com
bcb317606a remap style contexts that don't get swapped when computing style changes 1999-09-29 03:32:19 +00:00
briano%netscape.com
c16b8d92f1 Only include memory.h if the system actually has it. Fixes QNX. Approved by leaf. 1999-09-29 02:24:17 +00:00
troy%netscape.com
409c9ae7db Part of the fix for bug #11633. Check the NS_FRAME_OUT_OF_FLOW bit and make
sure the frame was really moved out of the flow
1999-09-28 23:42:35 +00:00
mjudge%netscape.com
e8f13ffdd6 aproved leaf. reviews sfraser. checking for null stopping crash 1999-09-28 00:13:19 +00:00
troy%netscape.com
7a30e821a3 Fix for bug #14959. Made sure that lines with floaters are also marked
dirty
1999-09-27 20:53:05 +00:00
troy%netscape.com
9430750742 Fixes for bug #2552 and bug #10961 1999-09-26 20:40:29 +00:00
warren%netscape.com
339d201a49 Refcounted case conversion service properly 1999-09-26 10:05:51 +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
troy%netscape.com
84fdc7184f Optimized PrepareResizeReflow() so it doesn't mark lines dirty if they don't need
to be reflowed
1999-09-25 16:50:45 +00:00
peterl%netscape.com
fbfc908c89 remove warnings
fix bug 10007 - when style change needs to regenerate frame do not set new context into frame
approved chofman
1999-09-25 05:00:41 +00:00
kipp%netscape.com
b4438b15f9 Refixed bug #10496 - a=choffman, r=troy 1999-09-24 17:23:33 +00:00
nisheeth%netscape.com
38d524ab94 Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
19143aa5fe bug 13630, r=troy, a=leaf, Added a null check to prevent a crash. 1999-09-24 01:58:32 +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
nisheeth%netscape.com
6fff19fc5b Stop the stopwatches before you print them. 1999-09-22 01:49:31 +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
kipp%netscape.com
f76eb620df Queue up a reflow command when yanking floaters so that cases like bug #11389 work properly 1999-09-22 00:58:58 +00:00
kipp%netscape.com
574daaa6d8 Whoops, left some noise on 1999-09-22 00:41:13 +00:00
kipp%netscape.com
5a777fb9ed Fixed various bugs including part of 14486 and 14427; cleaned up the usage of stack based buffers to avoid future issues 1999-09-22 00:40:56 +00:00
kipp%netscape.com
2cdc8576a2 Changed to have the stack buffer embedded in the xformer 1999-09-22 00:40:16 +00:00
kipp%netscape.com
3f7a66b903 Fixed part of bug 5726 by making spacers have some definite area when they have a non-zero size 1999-09-22 00:39:47 +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
700674fb14 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
peterl%netscape.com
0c1d5c4837 added calls to verify style tree 1999-09-21 07:53:49 +00:00
peterl%netscape.com
2093ce913d made style changes handle floaters and positioned children
added style tree verify
moved re-resolve style logic from frames
1999-09-21 07:53:14 +00:00
peterl%netscape.com
ecb4bd83d0 removed ReResolveStyleContext
added style tree verify flag
1999-09-21 07:51:52 +00:00
nisheeth%netscape.com
f5d9af7ae9 Add prefix string to style resolution timer output. 1999-09-21 06:24:17 +00:00
troy%netscape.com
fef9b919ac Fix for bug #14414. Changed DoRemoveFrame() to invalidate the space taken
up by the line when deleting an empty line
1999-09-21 05:15:39 +00:00
kipp%netscape.com
1948a1d4a8 Eliminate a warning 1999-09-21 02:20:14 +00:00
kipp%netscape.com
e634c9589a Reworked side margin calculations to fix (finally!) bug 11932; also cleaned up table side margin handling to better match nav's behavior yet move forward with css2 1999-09-21 00:15:16 +00:00
kipp%netscape.com
d5d391a005 Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910) 1999-09-21 00:14:22 +00:00
kipp%netscape.com
b4262f0657 Reimplement TrimTrailingWhiteSpace 1999-09-21 00:13:50 +00:00
kipp%netscape.com
22df009a37 Bring TrimTrailingWhiteSpace back to life after troy's changes 1999-09-21 00:12:50 +00:00
kipp%netscape.com
6e01ea2f60 Tweaked list logic 1999-09-21 00:12:27 +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
nisheeth%netscape.com
1158ccf423 Include nsITimeRecorder.h in the pres shell. 1999-09-20 08:23:33 +00:00
nisheeth%netscape.com
ba965a8d79 Add calls to reset and print the stopwatch maintained by the styleset for tracking style resolution time. 1999-09-20 06:55:24 +00:00
troy%netscape.com
f004ab4be8 Optimized Reflow() some more. In the case where we're not measuring text but
we need to peek ahead and so we need to know the length of the last word, if
there's only one word in the text run then we can avoid measuring
1999-09-19 04:42:54 +00:00
troy%netscape.com
0d253cf419 Backed out some changes that aren't needed and were fixed with a change
to the frame construction code
1999-09-19 00:59:38 +00:00
troy%netscape.com
a3551f363b Optimized reflow to skip measuring of the text for a resize reflow (when
possible)
1999-09-18 16:22:34 +00:00