Commit Graph

467 Commits

Author SHA1 Message Date
karnaze@netscape.com
f52136224a incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
alecf@netscape.com
35e434c912 fix #18420 - deleting last item makes tree jump to top
fix was to scroll up one line during the frame destruction process.
To do this, we had to set up the content chain for the row just before the content node was deleted.
r=hyatt
a=chofmann
1999-12-11 02:08:07 +00:00
rbs@maths.uq.edu.au
0e0a2bd538 [NOT PART OF THE DEFAULT BUILD]. *Changes to bring MathML in sync with layout (added aPresShell on factory routines). *Postfixed atoms with underscore to avoid conflicts with reserved names in C++ and math.h 1999-12-10 13:07:59 +00:00
alecf@netscape.com
4e2251d703 fix for #18420 - scrolling screws up when selection changes
fix oncontentinserted and oncontentremoved so that mTopFrame is set correctly, and don't be over-zealous about destroying frames.
r=hyatt (well, really written mostly by hyatt and digested by me)
1999-12-08 07:20:25 +00:00
pollmann@netscape.com
eb98bd7502 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
evaughan@netscape.com
04ffa440cb Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering 1999-12-08 01:56:28 +00:00
rods@netscape.com
061f6131ca added a call in the creation of selects (comboboxes):
nsHTMLContainerFrame::CreateViewForFrame(aPresContext, comboboxFrame,
                                                 aStyleContext, PR_FALSE);
so we get a view when we are absolutely positioned.
r=buster bug 19382
1999-12-07 00:05:23 +00:00
nisheeth@netscape.com
beee29664a Enable save/restore for frame state. 1999-12-06 09:03:16 +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
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