Commit Graph

1621 Commits

Author SHA1 Message Date
pinkerton%netscape.com
7d81a6f553 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. 1999-12-10 02:14:35 +00:00
troy%netscape.com
bfb7487d47 b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308
1999-12-09 21:40:37 +00:00
troy%netscape.com
c0644e2987 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
pollmann%netscape.com
18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
troy%netscape.com
63a9d6b36f Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
troy%netscape.com
d36f7cea02 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
rginda%netscape.com
34a05a535b Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org
1999-12-07 22:04:52 +00:00
sfraser%netscape.com
81b90d3598 #ifdef out a printf. r=none 1999-12-07 07:38:16 +00:00
evaughan%netscape.com
29c18fc081 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
troy%netscape.com
85012ab550 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
1999-12-06 15:49:53 +00:00
rods%netscape.com
dcfe8e548a Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
cls%seawood.org
5794c7cb83 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL. 1999-12-05 07:29:35 +00:00
hyatt%netscape.com
482f0f8746 Fix Linux bustage. 1999-12-05 02:24:02 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
eb96099e6d 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.
1999-12-03 09:24:22 +00:00
kmcclusk%netscape.com
4df6cffe8e Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
evaughan%netscape.com
9c827edcdb 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
1999-12-02 01:07:27 +00:00
pierre%netscape.com
97457e62bb 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. 1999-12-01 05:10:50 +00:00
troy%netscape.com
a19c2c4c87 Added XXX comment to remind me (and Chris) of a problem that needs to
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com
01dc596189 Correctly this time 1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0 Removed some commented out dead code 1999-12-01 04:12:46 +00:00
troy%netscape.com
a6363a7d20 Removed some old dead code 1999-12-01 04:10:47 +00:00
pierre%netscape.com
ce15b0c85d 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. 1999-12-01 04:10:02 +00:00
pierre%netscape.com
046ba35285 12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field. 1999-11-30 23:31:16 +00:00
ftang%netscape.com
6773500b62 fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop 1999-11-30 22:16:12 +00:00
troy%netscape.com
6070918134 b=20286. Changed PlaceFloater() so that it repositions any views after
placing the frame
1999-11-30 05:09:08 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
troy%netscape.com
a87ea4d233 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
tbogard%aol.net
715b5883cb 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. 1999-11-27 03:06:59 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
mjudge%netscape.com
d1b5f823f1 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) 1999-11-24 01:10:22 +00:00
mjudge%netscape.com
e5cc293e99 missed a |= instead of just a ==. The compared variable is a bitflag not just a number. 1999-11-23 22:49:44 +00:00
kin%netscape.com
ac5342a0c8 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
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
d7fbad6cea 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? 1999-11-23 20:30:21 +00:00
tbogard%aol.net
515e4d9739 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 1999-11-23 09:57:47 +00:00
pierre%netscape.com
096c23050e 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. 1999-11-23 01:07:56 +00:00
troy%netscape.com
79ddaa641e b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
0e0d40fa91 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
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