Commit Graph

308 Commits

Author SHA1 Message Date
rods@netscape.com
1bf93202ea Added block mgr flag to combo and list frame and their internal SelectArea frame
r=(at troy's suggestion), bug 19382
1999-12-05 20:43:26 +00:00
hyatt@netscape.com
2a888b93fe Treecells can now have src set on them for images. 1999-12-05 09:21:25 +00:00
hyatt@netscape.com
500f964671 Removing build warnings. 1999-12-05 04:57:13 +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
hyatt@netscape.com
fc09344d46 Prevent tree widget row groups from being added to the undisplayed content
map twice.
1999-12-01 11:13:06 +00:00
hyatt@netscape.com
e39d9c0989 Making a change to trees so that their inner frame is a box instead of a block. This
makes trees faster and bypasses numerous block bugs that occur when tables or trees
are used with boxes.  Also fixes bug #20354 (which is not a regression after all).
1999-12-01 10:37:20 +00:00
troy@netscape.com
16c46e3939 b=20329. Fixed CleanupFrameReferences() so it isn't O(N!) 1999-11-30 23:23:50 +00:00
waterson@netscape.com
415fbe8b56 Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt 1999-11-30 00:53:41 +00:00
rods@netscape.com
6f9bb1c25a Add a check around the WipeContaingBlock call in ContentInserted, it checks for
the select and doesn't do it. Just like Bug 18366, r=kmcclusk Bug 19949
1999-11-24 21:10:49 +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
nisheeth@netscape.com
dcf496222e r=karnaze. Fix for bug 18367. We set the primary frame for table rows to be the row frame for all cases now. Earlier, the anonymous table row group frame was getting set as the primary frame of rows inserted from script. 1999-11-23 02:06:39 +00:00
rbs@maths.uq.edu.au
6c7ecbe287 Add hook for the mroot tag in the confined MathML world 1999-11-21 22:01:56 +00:00
troy@netscape.com
023d367d9c b=19280. Changed DeletingFrameSubtree() so it's order N instead of
N^2/2 in the worst case. This speeds things way up. Note that the real
problem here is that WipeContainingBlock() is repeatedly throwing away
and recreating the BODY element's frame and all its child frames
1999-11-21 04:06:44 +00:00
rods@netscape.com
302e7bdc57 added nsGfxListControlFrame code ifdef'd out r=dcone bug 18241 1999-11-19 15:41:19 +00:00
rbs@maths.uq.edu.au
493b76efe0 Add hook for the msqrt tag in the confined MathML world 1999-11-17 00:41:48 +00:00
beard@netscape.com
7f3709df3b pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
kmcclusk@netscape.com
5234a92ea4 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
waterson@netscape.com
d964a5a128 Bug 18542. Make sure that we don't over-write aContentStyle arg when GFX scrollbars are turned on. r=evaughan 1999-11-11 21:48:17 +00:00
troy@netscape.com
5278cba522 Re-order things so we set the content object's document pointer after
initializing it. This eliminates some useless "content changed" notifications
1999-11-11 21:43:15 +00:00
troy@netscape.com
045d8eae8e b=17798. Changed WipeContainingBlock() to remove the frames it is deleting from
the content to frame map and undisplayed content map
1999-11-11 21:08:32 +00:00
evaughan@netscape.com
a703eaa3b5 Fixed gfxscrollbar bugs #16460 and #15722 1999-11-10 23:51:44 +00:00
rods@netscape.com
de17b1e09e I checked in a bad fix. This is correct. I have had Chris K. check it over.
Migrains will do that to you. for bug 18039
1999-11-09 23:49:37 +00:00
rods@netscape.com
88605285f8 Fixes bug 18039, it doesn't call WipeContainingBlock for select frames
This needs a better fix, filed bug 18366
r=kmcclusk
1999-11-09 22:36:05 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy@netscape.com
5916c94aa7 b=#17315. Changed DeletingFrameSubtree() to also look at the continuing
frames.
1999-11-04 05:23:11 +00:00
kipp@netscape.com
02e7762151 r=troy; Removed old garbage code that referred to an unused symbol from nsHTMLParts.h 1999-11-03 00:41:42 +00:00
waterson@netscape.com
c1b507cd20 Fix two more leaks that I forgot to check in. 1999-11-02 06:40:38 +00:00
troy@netscape.com
faae9517cf Real fix for my build bustage. Kipp had commened the offending code out to
keep the build going
1999-11-02 06:06:46 +00:00
waterson@netscape.com
9c7441ac71 Fix two leaks courtesy evaughan. 1999-11-02 05:36:08 +00:00
kipp@netscape.com
9340cc2c11 r=troy; fixed compiliation issue for debug builds 1999-11-01 22:45:20 +00:00
kipp@netscape.com
7f353bdd99 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
kipp@netscape.com
d46b61d6b6 Fixed solaris build bustage 1999-10-29 15:20:20 +00:00
kipp@netscape.com
d2677fca7f r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies. 1999-10-29 14:39:48 +00:00
rods@netscape.com
295e4c800f changed param in the initializer to aContent instead of nsnull
r=kmcclusk,b=17015
1999-10-26 23:21:14 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy@netscape.com
515d1ffbfc 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
rods@netscape.com
f247d62b89 added check for null frame. The child frame can be null when a comment node exists as
one of the children of the select. r=kmcclusk, Bug #16355
1999-10-20 23:35:38 +00:00
dp@netscape.com
45a40238ba Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +00:00
pierre@netscape.com
ad4e9a4872 Fix a crash in Mac embedding apps: HasGfxScrollBars() checks for null pointer after calling GetPrefs(). 1999-10-19 03:00:47 +00:00
karnaze@netscape.com
210042dbf0 bug 11321 - the frame constructor sets the primary frame when an anonymous table or row group frame is involved. 1999-10-17 03:15:13 +00:00
kipp@netscape.com
7f6ff13c80 r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
peterl@netscape.com
97130a77c3 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
hyatt@netscape.com
cf7c00ac6f Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
troy@netscape.com
bb8bc6de15 Patch from jst@citec.fi r=troy@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
1999-10-15 03:37:10 +00:00
rods@netscape.com
8013a00da9 This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
tbogard@aol.net
1d549cd300 Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
troy@netscape.com
49e30c8fd7 b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
1999-10-14 04:47:18 +00:00
troy@netscape.com
121853305a b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp@netscape.com
e0b1139d47 Removed two warnings 1999-10-12 23:21:40 +00:00
evaughan@netscape.com
3cc0907665 Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00