1485 Commits

Author SHA1 Message Date
kipp%netscape.com
a4aa98059e r=troy; Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49833 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:51:12 +00:00
rpotts%netscape.com
fa598b6cae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer.
git-svn-id: svn://10.0.0.236/trunk@49795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:16 +00:00
peterl%netscape.com
f6d5221996 removing dead style change code
r=troy


git-svn-id: svn://10.0.0.236/trunk@49651 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 04:24:20 +00:00
troy%netscape.com
bd5ca95ced Added SizeOf() handler for floater information maintained by the
line box


git-svn-id: svn://10.0.0.236/trunk@49644 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 02:51:03 +00:00
troy%netscape.com
67890faf02 Added SizeOf() handler for space manager
git-svn-id: svn://10.0.0.236/trunk@49632 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:52:01 +00:00
av%netscape.com
a08b5a7e8d Fixing bug #8036, reviewd by beard
git-svn-id: svn://10.0.0.236/trunk@49418 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 08:07:23 +00:00
mjudge%netscape.com
007d73a460 fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected..
git-svn-id: svn://10.0.0.236/trunk@49352 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:36:00 +00:00
kin%netscape.com
1806b9519b 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().


git-svn-id: svn://10.0.0.236/trunk@49313 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:04:05 +00:00
troy%netscape.com
4051bf71de 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


git-svn-id: svn://10.0.0.236/trunk@49303 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 05:09:19 +00:00
peterl%netscape.com
12c3349911 manage view visibility better, hide collapsed views and hidden views with widgets
git-svn-id: svn://10.0.0.236/trunk@49293 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:37:02 +00:00
peterl%netscape.com
4c0553554b manage view visibility better
git-svn-id: svn://10.0.0.236/trunk@49292 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:36:16 +00:00
troy%netscape.com
d868e2767f 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


git-svn-id: svn://10.0.0.236/trunk@49260 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 23:42:35 +00:00
mjudge%netscape.com
2c13db81d8 aproved leaf. reviews sfraser. checking for null stopping crash
git-svn-id: svn://10.0.0.236/trunk@49164 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 00:13:19 +00:00
troy%netscape.com
2379177245 Fix for bug #14959. Made sure that lines with floaters are also marked
dirty


git-svn-id: svn://10.0.0.236/trunk@49146 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 20:53:05 +00:00
troy%netscape.com
e5689ac462 Fixes for bug #2552 and bug #10961
git-svn-id: svn://10.0.0.236/trunk@49106 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 20:40:29 +00:00
warren%netscape.com
6fbf464bce Refcounted case conversion service properly
git-svn-id: svn://10.0.0.236/trunk@49094 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:05:51 +00:00
mjudge%netscape.com
12908f2dd0 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
git-svn-id: svn://10.0.0.236/trunk@49076 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 23:33:02 +00:00
troy%netscape.com
c6865f1b10 Optimized PrepareResizeReflow() so it doesn't mark lines dirty if they don't need
to be reflowed


git-svn-id: svn://10.0.0.236/trunk@49047 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 16:50:45 +00:00
kipp%netscape.com
02327da0cf Refixed bug #10496 - a=choffman, r=troy
git-svn-id: svn://10.0.0.236/trunk@48982 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 17:23:33 +00:00
mjudge%netscape.com
7971bfb7e6 more tweaks for line boundaries. previous
git-svn-id: svn://10.0.0.236/trunk@48833 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
b8eaf7bac4 tweaked word left and word right again. got double click working on edge cases! yeah
git-svn-id: svn://10.0.0.236/trunk@48829 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:09:41 +00:00
mjudge%netscape.com
6b1af498fe 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.
git-svn-id: svn://10.0.0.236/trunk@48812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:12:44 +00:00
mjudge%netscape.com
e27650740e approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
git-svn-id: svn://10.0.0.236/trunk@48797 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
807d5be104 fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time.
git-svn-id: svn://10.0.0.236/trunk@48778 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 04:12:23 +00:00
joki%netscape.com
1042dd0a3f Adding support for event.clickCount, obsoleting old dblclick event.
git-svn-id: svn://10.0.0.236/trunk@48743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
8558ff33bb fix for going to correct offset in selection with keyboard navigation
git-svn-id: svn://10.0.0.236/trunk@48708 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:19:04 +00:00
kipp%netscape.com
4bdfb90110 Queue up a reflow command when yanking floaters so that cases like bug #11389 work properly
git-svn-id: svn://10.0.0.236/trunk@48701 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:58:58 +00:00
kipp%netscape.com
ffbaac75aa Whoops, left some noise on
git-svn-id: svn://10.0.0.236/trunk@48687 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:41:13 +00:00
kipp%netscape.com
16349cdbd1 Fixed various bugs including part of 14486 and 14427; cleaned up the usage of stack based buffers to avoid future issues
git-svn-id: svn://10.0.0.236/trunk@48686 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:40:56 +00:00
kipp%netscape.com
e790d2ca63 Changed to have the stack buffer embedded in the xformer
git-svn-id: svn://10.0.0.236/trunk@48685 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:40:16 +00:00
kipp%netscape.com
9dd1eb95a9 Fixed part of bug 5726 by making spacers have some definite area when they have a non-zero size
git-svn-id: svn://10.0.0.236/trunk@48682 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:39:47 +00:00
mjudge%netscape.com
124711cde1 changes to selection code to stop a never ending loop
git-svn-id: svn://10.0.0.236/trunk@48665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:58:14 +00:00
peterl%netscape.com
4e42b2772d removed ReResolveStyleContext
git-svn-id: svn://10.0.0.236/trunk@48553 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:56:18 +00:00
peterl%netscape.com
5e304ecf23 removed ReResolveStyleContext
added style tree verify flag


git-svn-id: svn://10.0.0.236/trunk@48549 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:51:52 +00:00
peterl%netscape.com
eeb2ec5d3e removed ReResolveStyleContext
added flag for style tree verify


git-svn-id: svn://10.0.0.236/trunk@48545 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:48:34 +00:00
troy%netscape.com
bb46cb1eff Fix for bug #14414. Changed DoRemoveFrame() to invalidate the space taken
up by the line when deleting an empty line


git-svn-id: svn://10.0.0.236/trunk@48505 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 05:15:39 +00:00
kipp%netscape.com
5faaa2ac33 Eliminate a warning
git-svn-id: svn://10.0.0.236/trunk@48483 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 02:20:14 +00:00
hyatt%netscape.com
61e7c00bb7 Chrome event stuff. Menu changes.
git-svn-id: svn://10.0.0.236/trunk@48458 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:03:00 +00:00
kipp%netscape.com
7223e249d3 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
git-svn-id: svn://10.0.0.236/trunk@48440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:15:16 +00:00
kipp%netscape.com
3e190bdd79 Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910)
git-svn-id: svn://10.0.0.236/trunk@48439 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:14:22 +00:00
kipp%netscape.com
e2761a3f1c Reimplement TrimTrailingWhiteSpace
git-svn-id: svn://10.0.0.236/trunk@48437 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:13:50 +00:00
kipp%netscape.com
a1c8b975ba Bring TrimTrailingWhiteSpace back to life after troy's changes
git-svn-id: svn://10.0.0.236/trunk@48435 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:12:50 +00:00
kipp%netscape.com
dce1fb8e52 Tweaked list logic
git-svn-id: svn://10.0.0.236/trunk@48434 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:12:27 +00:00
mjudge%netscape.com
179e58ff5f checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames
git-svn-id: svn://10.0.0.236/trunk@48406 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:47:37 +00:00
troy%netscape.com
9a25e04f8b 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


git-svn-id: svn://10.0.0.236/trunk@48240 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 04:42:54 +00:00
troy%netscape.com
545ba4350f Backed out some changes that aren't needed and were fixed with a change
to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@48233 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 00:59:38 +00:00
troy%netscape.com
28ffdcaf30 Optimized reflow to skip measuring of the text for a resize reflow (when
possible)


git-svn-id: svn://10.0.0.236/trunk@48189 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 16:22:34 +00:00
alecf%netscape.com
ca2cea5ccd fix a bunch of null-derefing problems when accessing http://webmail.netscape.com/ and add some assertions when these things happen
git-svn-id: svn://10.0.0.236/trunk@48133 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:00:43 +00:00
alecf%netscape.com
ee585f6ea5 fix dereferencing error on slashdot.org
git-svn-id: svn://10.0.0.236/trunk@48130 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:48:51 +00:00
kipp%netscape.com
b1972b0b42 Handle right aligned skipped floaters a little better
git-svn-id: svn://10.0.0.236/trunk@48112 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:20:48 +00:00