Граф коммитов

1583 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com 93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
kin%netscape.com 9ce2f08c0b Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
tbogard%aol.net cfc00042fa Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00
vidur%netscape.com 375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
troy%netscape.com 2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
av%netscape.com ca533a122e Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
nisheeth%netscape.com ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mjudge%netscape.com cdbbab7322 fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on" 1999-11-05 22:09:16 +00:00
kin%netscape.com 69f6a5d415 Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann
1999-11-05 17:42:21 +00:00
kipp%netscape.com ca39ca7b10 r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued 1999-11-04 19:34:36 +00:00
kipp%netscape.com 2e252d2512 r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly 1999-11-03 22:09:00 +00:00
kipp%netscape.com ef6a9e0b86 r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
mjudge%netscape.com cb31827195 small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com b73baec438 Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates
multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
1999-11-03 00:11:40 +00:00
kipp%netscape.com f6d66c6b92 r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property 1999-11-02 23:42:52 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com c93281e841 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
troy%netscape.com 614cbe4d17 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
troy%netscape.com 92397272b4 Fixed problem with GetFrameName() being defines in non-debug build 1999-11-01 23:12:32 +00:00
kipp%netscape.com b8f8a97ca6 r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear 1999-11-01 22:38:17 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
kipp%netscape.com 80998e8d8c r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker 1999-11-01 15:36:02 +00:00
kipp%netscape.com 9e50fa5b4f r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs... 1999-11-01 15:32:37 +00:00
kipp%netscape.com 3c7c76999f Disabled debug noise I accidently checked in (whoops!) 1999-11-01 15:31:04 +00:00
kipp%netscape.com 0a512d8393 r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737) 1999-11-01 15:24:57 +00:00
troy%netscape.com 2b4f236320 Added nsHTMLReflowState.h 1999-10-30 16:16: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
evaughan%netscape.com 039be939e6 Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
kipp%netscape.com 3409a3e7b1 r=troy; fixed a crash bug in the debug logic found while fixing 12958 1999-10-29 14:36:00 +00:00
kipp%netscape.com 24eed8d0c5 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +00:00
kipp%netscape.com 1b94ea5410 r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!) 1999-10-29 14:34:53 +00:00
kipp%netscape.com afdbdc1c10 r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right 1999-10-29 14:34:01 +00:00
kipp%netscape.com f961e4b03a r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +00:00
kipp%netscape.com 911d3089e8 r=troy; use new line-layout api to help with some resize-reflow optimization bugs 1999-10-29 14:32:11 +00:00
kin%netscape.com 74852c1b92 Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
kipp%netscape.com ea416bdb68 bug=17320; Fixed a purify warning 1999-10-28 14:33:34 +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
kipp%netscape.com dc8f6cd4c4 Reduce the number of cases that trigger noisy debug noise 1999-10-25 23:05:31 +00:00
kipp%netscape.com e04f117392 Turned off some more debug noise 1999-10-25 23:05:15 +00:00
kipp%netscape.com 193727f73e r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101) 1999-10-25 23:04:51 +00:00
ftang%netscape.com 0b2a09b76d fix not enough gap between IME selection problem. r=erik 1999-10-25 22:18: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
braddr%puremagic.com f939a5bb97 Change NS_COMFALSE instances to NS_ERROR_ABORT's 1999-10-22 05:32:31 +00:00