1624 Commits

Author SHA1 Message Date
pollmann%netscape.com
a31c8c8d4c Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56002 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:09:10 +00:00
karnaze%netscape.com
6ffe908f39 incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
kin%netscape.com
9b0d9085aa Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
r=troy@netscape.com,norris@netscape.com  a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@55853 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 18:41:43 +00:00
pinkerton%netscape.com
f5f1bfbb66 fix for page scrolling to scroll (one page - height of one line), not 80% of the page as before. bug 21348, r=evaughan,sfraser. a=brendan.
git-svn-id: svn://10.0.0.236/trunk@55836 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 02:14:35 +00:00
troy%netscape.com
6e46435b1d b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308


git-svn-id: svn://10.0.0.236/trunk@55811 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:40:37 +00:00
troy%netscape.com
2ea5ceca9c Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
git-svn-id: svn://10.0.0.236/trunk@55713 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:49:20 +00:00
pollmann%netscape.com
945d82f2db Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
troy%netscape.com
23414d53c9 Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.


git-svn-id: svn://10.0.0.236/trunk@55682 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:51 +00:00
troy%netscape.com
aa323aac76 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing


git-svn-id: svn://10.0.0.236/trunk@55646 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:41:48 +00:00
rginda%netscape.com
1d5ae86d11 Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@55596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:04:52 +00:00
sfraser%netscape.com
e232c6c064 #ifdef out a printf. r=none
git-svn-id: svn://10.0.0.236/trunk@55562 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:38:16 +00:00
evaughan%netscape.com
edbfd05a90 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy


git-svn-id: svn://10.0.0.236/trunk@55520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 03:36:05 +00:00
troy%netscape.com
52084caad8 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
rods%netscape.com
52cc20d7d0 Added a "flags" varaible for combobox creation
r=self, bug 19382


git-svn-id: svn://10.0.0.236/trunk@55380 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:19 +00:00
cls%seawood.org
7ae9896327 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL.
git-svn-id: svn://10.0.0.236/trunk@55350 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 07:29:35 +00:00
hyatt%netscape.com
d7908baef5 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@55328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:24:02 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
067920c238 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
kmcclusk%netscape.com
d3a24645a8 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
evaughan%netscape.com
14bd190690 1) Added sanity checks to box to case memory bugs
2) Fixed the floating point roundoff that was causing boxes to lay themselves out off by 1 pixel
3) Simplified box data structure

-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@54980 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:07:27 +00:00
pierre%netscape.com
1b8f60a970 Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them.
git-svn-id: svn://10.0.0.236/trunk@54869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 05:10:50 +00:00
troy%netscape.com
4c1a325cf2 Added XXX comment to remind me (and Chris) of a problem that needs to
be revisited


git-svn-id: svn://10.0.0.236/trunk@54867 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:50:26 +00:00
troy%netscape.com
8ed54079fe Correctly this time
git-svn-id: svn://10.0.0.236/trunk@54863 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:13:19 +00:00
troy%netscape.com
62b5734d6a Removed some commented out dead code
git-svn-id: svn://10.0.0.236/trunk@54862 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:12:46 +00:00
troy%netscape.com
b9c53f0450 Removed some old dead code
git-svn-id: svn://10.0.0.236/trunk@54861 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:10:47 +00:00
pierre%netscape.com
ebcb5ad836 18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time.
git-svn-id: svn://10.0.0.236/trunk@54860 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:10:02 +00:00
pierre%netscape.com
2af3ff840a 12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
git-svn-id: svn://10.0.0.236/trunk@54811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:31:16 +00:00
ftang%netscape.com
fd45ea4f85 fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
git-svn-id: svn://10.0.0.236/trunk@54777 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:16:12 +00:00
troy%netscape.com
64a7b56d5e b=20286. Changed PlaceFloater() so that it repositions any views after
placing the frame


git-svn-id: svn://10.0.0.236/trunk@54723 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:09:08 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
troy%netscape.com
42c75ca193 Changes parameter to be "const nsRect*" and changed a comment
git-svn-id: svn://10.0.0.236/trunk@54720 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:48:34 +00:00
tbogard%aol.net
50834581e0 nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
git-svn-id: svn://10.0.0.236/trunk@54495 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:06:59 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
4c7a925272 Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
git-svn-id: svn://10.0.0.236/trunk@54354 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
93087b4bea missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
git-svn-id: svn://10.0.0.236/trunk@54333 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:49:44 +00:00
kin%netscape.com
275e4a25ba Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com


git-svn-id: svn://10.0.0.236/trunk@54322 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
43a63010d1 small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
tbogard%aol.net
80ea367e86 Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
git-svn-id: svn://10.0.0.236/trunk@54270 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 09:57:47 +00:00
pierre%netscape.com
47b0c08a9f 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@54230 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:07:56 +00:00
troy%netscape.com
01e5cb02a3 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes


git-svn-id: svn://10.0.0.236/trunk@54041 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 06:03:16 +00:00
troy%netscape.com
07f4c06751 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated


git-svn-id: svn://10.0.0.236/trunk@54020 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 22:04:01 +00:00
troy%netscape.com
3f61543a91 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works


git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
buster%netscape.com
1e648d27d6 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


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
kin%netscape.com
53798ca2b2 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


git-svn-id: svn://10.0.0.236/trunk@53893 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 19:40:52 +00:00
tbogard%aol.net
3d105e77c7 Changed QueryCapability to use the new interface requestor. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53464 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 10:22:00 +00:00
vidur%netscape.com
19c16e67fa Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@53296 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:06:09 +00:00
troy%netscape.com
29fc759acb 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


git-svn-id: svn://10.0.0.236/trunk@53199 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 06:00:41 +00:00
av%netscape.com
e2a5ab7e02 Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@53116 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:00:07 +00:00
nisheeth%netscape.com
7ad60e4687 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.
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00