av@netscape.com
3a08e69a7d
Fixing bug #8036 , reviewd by beard
1999-09-30 08:07:23 +00:00
mjudge@netscape.com
fa752f1da3
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
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
troy@netscape.com
4891628cfd
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
afedab4c16
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
peterl@netscape.com
0360fa7941
remap style contexts that don't get swapped when computing style changes
1999-09-29 03:32:19 +00:00
briano@netscape.com
848d46f718
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
576cb4bb57
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
3c8f3e89a9
aproved leaf. reviews sfraser. checking for null stopping crash
1999-09-28 00:13:19 +00:00
troy@netscape.com
31b27c3e79
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
92044e1172
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
warren@netscape.com
83a0c90fd8
Refcounted case conversion service properly
1999-09-26 10:05:51 +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
troy@netscape.com
f0b82b48b2
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
1e9db3c35a
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
7e48d2f55c
Refixed bug #10496 - a=choffman, r=troy
1999-09-24 17:23:33 +00:00
nisheeth@netscape.com
e99f7f9cef
Use NSPR logging rather than printf's for stopwatch output.
1999-09-24 08:57:36 +00:00
nisheeth@netscape.com
4b9fd1184c
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
fec390df63
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge@netscape.com
f5180b6d3c
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
4d9d482ba6
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
5a3d54af61
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge@netscape.com
e02f754b09
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
abcca8d091
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
nisheeth@netscape.com
d1e88d3551
Stop the stopwatches before you print them.
1999-09-22 01:49:31 +00:00
mjudge@netscape.com
04dce4da11
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
kipp@netscape.com
5d30088c56
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
c04447381b
Whoops, left some noise on
1999-09-22 00:41:13 +00:00
kipp@netscape.com
3e173a86d0
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
7f86de8eaa
Changed to have the stack buffer embedded in the xformer
1999-09-22 00:40:16 +00:00
kipp@netscape.com
b11bcc2859
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
95d94af406
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl@netscape.com
2000556ef0
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
peterl@netscape.com
153d0d8d55
added calls to verify style tree
1999-09-21 07:53:49 +00:00
peterl@netscape.com
1334ccb0fd
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
bac2a6f830
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
nisheeth@netscape.com
be957dd725
Add prefix string to style resolution timer output.
1999-09-21 06:24:17 +00:00
troy@netscape.com
66026a6b38
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
35fabaec3f
Eliminate a warning
1999-09-21 02:20:14 +00:00
kipp@netscape.com
0125acaba9
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
a39fd07f30
Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910)
1999-09-21 00:14:22 +00:00
kipp@netscape.com
926846f460
Reimplement TrimTrailingWhiteSpace
1999-09-21 00:13:50 +00:00
kipp@netscape.com
afae4ff8e6
Bring TrimTrailingWhiteSpace back to life after troy's changes
1999-09-21 00:12:50 +00:00
kipp@netscape.com
280cd4f5d6
Tweaked list logic
1999-09-21 00:12:27 +00:00
mjudge@netscape.com
10e7579f15
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
cd1903fc1f
Include nsITimeRecorder.h in the pres shell.
1999-09-20 08:23:33 +00:00
nisheeth@netscape.com
25a984bcac
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
a3c0996996
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
190fbcc092
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
ce9bdae968
Optimized reflow to skip measuring of the text for a resize reflow (when
...
possible)
1999-09-18 16:22:34 +00:00