Commit Graph
2279 Commits
Author SHA1 Message Date
troy@netscape.com 87f67cf0c6 Removed an assert that is no longer applicable 1999-12-07 23:43:07 +00:00
troy@netscape.com 5168e91ede 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 fc987a4cbb 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 e81be9a041 #ifdef out a printf. r=none 1999-12-07 07:38:16 +00:00
evaughan@netscape.com bac34cf1a3 Fix for PDP+ bug #20712
-r beard
1999-12-07 05:28:32 +00:00
troy@netscape.com 71df55fc17 b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.
1999-12-07 04:36:08 +00:00
evaughan@netscape.com 0294727466 Fixed build bustage looks like a merge error. 1999-12-07 04:27:20 +00:00
evaughan@netscape.com e9aaa04ce3 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 7abe460751 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
nisheeth@netscape.com aafbc5d74c Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
rods@netscape.com 352360cd42 Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
cls@seawood.org 6462caede1 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 2c5eeff370 Fix Linux bustage. 1999-12-05 02:24:02 +00:00
hyatt@netscape.com 9a7a1b27f7 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
sspitzer@netscape.com e3cde9765e fix warning. 1999-12-04 21:37:38 +00:00
kmcclusk@netscape.com 642a715a41 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
akkana@netscape.com 46baaab2a4 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
pierre@netscape.com c8cdc73d9b 20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation. 1999-12-02 09:19:16 +00:00
evaughan@netscape.com 9036cb6c09 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 c45484ddce 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 0e836ce640 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 4297f2a5fc Removed dead code 1999-12-01 04:18:20 +00:00
troy@netscape.com 0aae6bbd5e Correctly this time 1999-12-01 04:13:19 +00:00
troy@netscape.com 9773027b47 Removed some commented out dead code 1999-12-01 04:12:46 +00:00
troy@netscape.com d45af5545b Removed some old dead code 1999-12-01 04:10:47 +00:00
pierre@netscape.com 40c2c3091a 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 c1f55e0465 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
kin@netscape.com 447084f970 Fix for bug #20107 [DOGFOOD] typing in the body causes body to scroll to top
and     bug #19541 [DOGFOOD] Browser jumps to top of page seconds after
                    scrolling down
Modified nsScrollPortFrame::Reflow() to pass NS_FRAME_NO_MOVE_VIEW when
reflowing it's kidFrame.

r=evaughan@netscape.com
1999-11-30 23:18:47 +00:00
ftang@netscape.com 7794909ca4 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 d4ed09c310 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 3abca0bf7e 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 7a2c39f272 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
waterson@netscape.com 93d1cad1b5 Add focus pseudo-class atoms. r=hyatt 1999-11-30 00:54:45 +00:00
dougt@netscape.com 15861e6442 fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
nisheeth@netscape.com a20ddb12e3 Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor(). 1999-11-30 00:17:40 +00:00
warren@netscape.com a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
vidur@netscape.com 91ec5e1e27 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
tbogard@aol.net 617bb737a6 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 fc88b86e04 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 a10c0375d6 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 0752c93eab 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 5fb61f40e8 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
pierre@netscape.com d815fcec1d 18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy. 1999-11-23 01:08:20 +00:00
pierre@netscape.com 238b79536a 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 f62125f548 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 3d5ac7eafa 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 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
kin@netscape.com dc1588f4c9 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
brade@netscape.com c12445ff7a File Removed. 1999-11-15 20:46:30 +00:00
tbogard@aol.net 6f862bdb60 Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00