2445 Commits

Author SHA1 Message Date
troy%netscape.com
75d3e8bd33 Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed


git-svn-id: svn://10.0.0.236/trunk@63795 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:34:54 +00:00
buster%netscape.com
f57e02d7a3 fixed optimized vs. debug build problem.
git-svn-id: svn://10.0.0.236/trunk@63791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:10:26 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
granrose%netscape.com
8c63097a16 backing out troy.
git-svn-id: svn://10.0.0.236/trunk@63748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 17:28:54 +00:00
troy%netscape.com
ef085d6975 New code that isn't being used
git-svn-id: svn://10.0.0.236/trunk@63744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:15:48 +00:00
troy%netscape.com
4c7a5176ae Added declaration of new function NS_NewGeneratedContentIterator()
git-svn-id: svn://10.0.0.236/trunk@63715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:55:05 +00:00
troy%netscape.com
b2652e371a b=32192 r=buster@netscape.com Fixed a place where the code to lazily
set the parent pointer for child frames was missing on case


git-svn-id: svn://10.0.0.236/trunk@63709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:06:37 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
mjudge%netscape.com
1f90046a7a this should have NOT used ABS. if negative there is NO ROUNDING ERROR! ;)r=akkana
git-svn-id: svn://10.0.0.236/trunk@63684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:10:37 +00:00
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
buster%netscape.com
4b5799a85f bug 32238 (UMR in inline reflow context)
all I did was initialize the members of a struct in the constructor
r=troy


git-svn-id: svn://10.0.0.236/trunk@63496 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:47:01 +00:00
karnaze%netscape.com
ef33586f26 bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
git-svn-id: svn://10.0.0.236/trunk@63493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:39:22 +00:00
troy%netscape.com
aced343c0e b=32301 r=buster@netscape.com Changed DeleteChildsNextInFlow() to also
check the frame's overflow list


git-svn-id: svn://10.0.0.236/trunk@63483 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:11:39 +00:00
pierre%netscape.com
a1a9778a54 32252 "Small Caps font too small". Changed the ratio for small-caps from 0.7 to 0.8 (same as MacIE5).
git-svn-id: svn://10.0.0.236/trunk@63425 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 07:47:23 +00:00
jst%netscape.com
96aefc9b5d Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
buster%netscape.com
bd79e065d4 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy


git-svn-id: svn://10.0.0.236/trunk@63232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:50:54 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
attinasi%netscape.com
7816e0550c Put an Invalidate call in ::Reflow when the image has changed - image was not repainting before. b=21225 r=buster
git-svn-id: svn://10.0.0.236/trunk@63180 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:01:03 +00:00
dbaron%fas.harvard.edu
d017095281 1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@63109 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:14:57 +00:00
troy%netscape.com
00091b65e3 b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
troy%netscape.com
8f7ef0638a b=24506 r=buster@netscape.com When calculating the width of a block frame
and it's an unconstrained reflow, then make sure to include the right
margin


git-svn-id: svn://10.0.0.236/trunk@62844 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:03:33 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
troy%netscape.com
ec58a955b0 b=5588. Changed it so we lazily reparent the child frames on the overflow list
when it's our initial reflow


git-svn-id: svn://10.0.0.236/trunk@62684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:14:11 +00:00
troy%netscape.com
53dff23713 b=5588. Added new function ReparentFrameViewList() that is much faster
then ReparentFrameView() when you have a list of child frames


git-svn-id: svn://10.0.0.236/trunk@62683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:09:36 +00:00
troy%netscape.com
d4f29d1b5f Now line boxes are allocated out of the pres shell arena. This reduces the
overhead of memory allocation, and it gets us recycling which speeds up
resize reflows


git-svn-id: svn://10.0.0.236/trunk@62680 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:00:51 +00:00
troy%netscape.com
e36f8a9042 b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
necessary to PR_ABS macro


git-svn-id: svn://10.0.0.236/trunk@62655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:50:52 +00:00
tbogard%aol.net
e9dade26fc Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:57 +00:00
joki%netscape.com
d58d23067a Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@62473 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:31:44 +00:00
evaughan%netscape.com
e80da5b242 Fix for bug# 30548
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62430 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:37:23 +00:00
buster%netscape.com
e44a40eb6a fixed PDT+ bug 30738
r=troy, vidur
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 05:33:15 +00:00
vidur%netscape.com
232a5dbda7 Temporary fix for bug 26926. Added state to nsPresShell to deal with the case where the ContentViewer (and ViewManager) went away before it. The ownership model should be sorted out post beta1. r=troy, a=jar
git-svn-id: svn://10.0.0.236/trunk@62275 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:28:33 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
evaughan%netscape.com
3102b90f85 Fix for bug #29900
-r hyatt -a jar


git-svn-id: svn://10.0.0.236/trunk@62200 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:50:58 +00:00
buster%netscape.com
fa156ab99b fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62169 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:15:29 +00:00
rods%netscape.com
a055fb040a added new atom for the combobox
b 28593, r=kmcclusk,buster a=jar


git-svn-id: svn://10.0.0.236/trunk@62092 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:22:30 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
evaughan%netscape.com
d40b1bea18 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:01:30 +00:00
av%netscape.com
c7a8c50630 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:57:14 +00:00
pollmann%netscape.com
8a83557c05 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:48 +00:00
saari%netscape.com
35cfc92cb4 28467 fix, a=jar, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@61713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:02:31 +00:00
av%netscape.com
f9f761f6f0 Fix for 27486, r=rickg, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61706 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:14:16 +00:00
evaughan%netscape.com
28b6c97e2a Fixes for bugs: 28460, 27573, 27242, 24721
-r waterson -a jar


git-svn-id: svn://10.0.0.236/trunk@61648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:18:34 +00:00
av%netscape.com
63f56a199e Fixing 27486, r=beard
git-svn-id: svn://10.0.0.236/trunk@61627 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:02:53 +00:00
buster%netscape.com
8876d68b6f fixed bug 25510 and 28084
r=troy
a=jar


git-svn-id: svn://10.0.0.236/trunk@61440 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:06:19 +00:00
buster%netscape.com
3786b45405 added an assertion that will catch regressions associated with bug 25510
r=troy
a=jar


git-svn-id: svn://10.0.0.236/trunk@61439 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 22:05:04 +00:00
dbaron%fas.harvard.edu
36eb971c4b Refix bug 5821, which I broke with a mistake in my earlier change. r=buster@netscape.com a=rickg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61355 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 03:42:30 +00:00
jdunn%netscape.com
659b2712ed Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
buster%netscape.com
bb33a00be3 bug 27927
r=troy


git-svn-id: svn://10.0.0.236/trunk@61045 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 04:11:37 +00:00
attinasi%netscape.com
acb33ec403 ReResolveStyleContext now checks for the case where a background image is no longer used, in which case it stops the load for the frame. r=buster,pierre b=27042
git-svn-id: svn://10.0.0.236/trunk@61031 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:49:01 +00:00