dbaron@dbaron.org
4a04463107
Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
2003-05-14 22:36:33 +00:00
bzbarsky@mit.edu
7dda42fc18
Pass the content parent frame to ConstructTableFrame so the view that's created
...
goes in the right place in the z-ordering. Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
jst@netscape.com
4d0cb4dc54
Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
2003-04-22 21:57:25 +00:00
bzbarsky@mit.edu
c4f180a7f9
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky@mit.edu
5ec2a2a039
Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
...
pseudos. Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions. Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bzbarsky@mit.edu
e025e1f793
Fix for annoying assert. Bug 202717, r+sr=rbs
2003-04-21 04:09:51 +00:00
bryner@netscape.com
4682cd8077
Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc.
2003-04-11 08:26:42 +00:00
bryner@netscape.com
4486f8d13d
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
roc+@cs.cmu.edu
7143d14503
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
bzbarsky@mit.edu
7d393335bc
Fix crash bug 200774 -- placeholders for fixed or abs pos things need to have
...
block parents. r+sr=roc
2003-04-05 21:35:35 +00:00
bzbarsky@mit.edu
75b0e27470
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bzbarsky@mit.edu
55090f5dee
Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
...
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
dougt@netscape.com
d575ba72ae
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jkeiser@netscape.com
6a0f86b5fc
Fix ISINDEX crash (bug 191974), r=aaronl@netscape.com, sr=dbaron@dbaron.org
2003-03-11 06:53:49 +00:00
dbaron@dbaron.org
e9466869d1
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +00:00
peterv@netscape.com
627a38d0b9
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
bryner@netscape.com
3e9b9fd198
Keep a reference to the style context for the lifetime of AttributeChanged(), so it's not deleted out from under us when the frame is destroyed. Fixes crasher bug 194584. r/sr=dbaron.
2003-02-23 23:02:26 +00:00
dbaron@dbaron.org
50c0694a61
Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky
2003-02-23 17:28:25 +00:00
bryner@netscape.com
16fd7d45f4
Fix some potentially uninitialized variables caused by my StyleContext checkin (bug 114713).
2003-02-23 04:03:49 +00:00
roc+@cs.cmu.edu
a4211a4217
Bug 186754. Make sure scrolled elements honor the content hierarchy for z-index. r+sr=bzbarsky
2003-02-23 02:03:43 +00:00
roc+@cs.cmu.edu
8554dbc009
Bug 192469. Reparent views for blocks-in-inlines regardless of why we created the view. r+sr=bzbarsky
2003-02-22 21:37:55 +00:00
dbaron@dbaron.org
66297fd7bc
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
dbaron@dbaron.org
3cdfba0c66
Fix crash from over-releasing from bryner's changes yesterday. b=114713
2003-02-22 15:54:04 +00:00
bryner@netscape.com
4448bf0a9a
fixing more nebiros bustage, use .get() on nsRefPtr<nsStyleContext> when calling ::GetStyleData
2003-02-22 09:16:41 +00:00
bryner@netscape.com
ba58162e96
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
timeless@mozdev.org
abdcd9a1b4
Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
...
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz
2003-01-31 21:31:48 +00:00
karnaze@netscape.com
a9a3087c48
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
2003-01-20 18:04:34 +00:00
rbs@maths.uq.edu.au
f04c5c5325
In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
2003-01-20 01:07:03 +00:00
karnaze@netscape.com
af9032002a
Added AdjustAbsoluteContainingBlock to get the first-in-flow of a positioned inline frame in galley mode as the absolute containing block. sr=bzbarsky, r=dbaron.
2003-01-19 18:58:59 +00:00
dbaron@dbaron.org
5c0c330c81
Fix misplaced closing } from patch in bug 188734. b=189292
2003-01-16 13:59:52 +00:00
bzbarsky@mit.edu
23d1955e11
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
2003-01-16 02:59:04 +00:00
dbaron@dbaron.org
280273cc6e
Fix ContentStatesChanged so it correctly handles combinations of two elements where one is changing from 'display:none' to needing frames. b=188734 r+sr=bzbarsky
2003-01-14 01:29:34 +00:00
dbaron@dbaron.org
10ab824360
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
bzbarsky@mit.edu
d93e889ddc
ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
...
126072, r=dbaron, sr=roc+moz. Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
bernd.mielke@snafu.de
14a4135bab
fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin
2003-01-04 10:49:50 +00:00
jkeiser@netscape.com
4abefda8a3
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
dbaron@fas.harvard.edu
8de079b0b8
Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc
2002-12-13 20:13:17 +00:00
caillon@returnzero.com
d0e275516e
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon@returnzero.com
aa5e6343da
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
caillon@returnzero.com
382e7a0fa6
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
roc+@cs.cmu.edu
49d5628c5c
Checking in bug 90099 again since it seems tnot to have caused Tp regression. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
2002-12-06 14:22:11 +00:00
roc+@cs.cmu.edu
7eb59f3ab8
backing out fix to 90099 to check Tp effect
2002-12-06 02:24:35 +00:00
roc+@cs.cmu.edu
873731fef5
Bug 90099. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
2002-12-05 22:26:47 +00:00
karnaze@netscape.com
69749a7a87
bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
2002-12-03 16:02:42 +00:00
peterv@netscape.com
fd22bd13c9
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
dbaron@fas.harvard.edu
42bd1bc6ce
Back out previous checkin. b=180711
2002-11-28 19:15:27 +00:00
dbaron@fas.harvard.edu
9d050fc8dd
Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky
2002-11-28 19:12:16 +00:00
karnaze@netscape.com
af46fd01c7
bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron.
2002-11-18 16:02:43 +00:00
dbaron@fas.harvard.edu
6d560f559a
Fix typos in my previous checkin noticed by bzbarsky. b=147887
2002-11-18 15:21:14 +00:00
dbaron@fas.harvard.edu
72f2298b73
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00