1493 Commits

Author SHA1 Message Date
av%netscape.com
c4fd2231d1 Bug 15178, r=vidur adding check for null-pointer avoiding crash
git-svn-id: svn://10.0.0.236/trunk@50281 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:46:23 +00:00
troy%netscape.com
69fbd973a0 Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization


git-svn-id: svn://10.0.0.236/trunk@50261 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:04:31 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
troy%netscape.com
28f1fa0323 Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin


git-svn-id: svn://10.0.0.236/trunk@50202 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:45:12 +00:00
troy%netscape.com
579c8e2248 Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance


git-svn-id: svn://10.0.0.236/trunk@50200 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:32:46 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
troy%netscape.com
032742ad4c Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50036 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 22:05:23 +00:00
troy%netscape.com
148aeb9479 Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs


git-svn-id: svn://10.0.0.236/trunk@49949 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 04:22:51 +00:00
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