Граф коммитов

1083 Коммитов

Автор SHA1 Сообщение Дата
attinasi%netscape.com 0735cef009 Implemented a timer for loading CSS style sheets to allow content to be displayed if the sheet is taking too long to load. b=17309 r=nisheeth 2000-03-31 01:57:54 +00:00
mstoltz%netscape.com efa5624e14 Fixed bug 30915 using nsAggregatePrincipal. r=norris 2000-03-31 00:31:18 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
harishd%netscape.com fee30604d5 Fix for 22786 - sink side fix for HTML attributes 2000-03-30 01:07:02 +00:00
pollmann%netscape.com bee94a23e3 Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth 2000-03-30 01:03:02 +00:00
pollmann%netscape.com f2d2288f5f Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth 2000-03-30 00:19:13 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com 78e56ebbd1 Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020. 2000-03-28 23:25:26 +00:00
scc%netscape.com 0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
rickg%netscape.com ce48b070b6 margin and color tweaks to viewsource stylesheet 2000-03-26 04:34:41 +00:00
pollmann%netscape.com 78fbe87a0b Bug 20459, 21268: Allow zero size HTML frames. r=harishd 2000-03-25 03:19:14 +00:00
jbetak%netscape.com db135e810b r=rickg, ftang fix for 32604 Trunk fix for illegal use of nsString-external JavaScript convert charset incorrectly 2000-03-25 01:21:21 +00:00
norris%netscape.com 4eb52aa84b Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
pollmann%netscape.com ca9e287860 Bug 11202: Resize of nested frameset shouldn't update size of child twice, this is already handled by MouseDrag, r=nisheeth 2000-03-24 04:42:40 +00:00
mstoltz%netscape.com 319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
jst%netscape.com 2745ce2c5d Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
dbaron%fas.harvard.edu 87e19c9cef 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. 2000-03-22 02:43:08 +00:00
norris%netscape.com a4082ab0c1 Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)
2000-03-21 04:12:56 +00:00
nisheeth%netscape.com 77b74c100d r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
pollmann%netscape.com f77e29ffcd Bug 31482: Stray commas in ROW or COL attribute no longer cause framesets to not display, r=waqar 2000-03-20 23:33:03 +00:00
norris%netscape.com d2401d0be5 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
rods%netscape.com ad9eac5f4d Added quotes around type="text"
changed the bottom margin for input type="text" from 1 to zero
b=18138, r=buster
2000-03-18 14:43:48 +00:00
jst%netscape.com 872a669579 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
2000-03-17 13:27:00 +00:00
pierre%netscape.com 4d43de09aa 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. 2000-03-17 10:15:13 +00:00
akkana%netscape.com c46c0ab7a8 nsCOMPtr tainting problem -- need to include nsIParserService.h 2000-03-17 01:12:11 +00:00
akkana%netscape.com 8fedbb449f 29032, 29239: linebreaks in <pre> and in plaintext mail.
19137: preserve style of copied text.          r=mjudge
2000-03-17 00:08:27 +00:00
attinasi%netscape.com e6819d15f6 Fixed a problem where loading an image into second browser window was not updating the dimensions. Also added temporary code to put the image type in the title, even though the image type is not really accurate yet. b=24478 r=dcone 2000-03-16 22:58:12 +00:00
blizzard%redhat.com 804ec67bf8 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson 2000-03-15 03:08:28 +00:00
joki%netscape.com 91f1550db4 Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur 2000-03-14 03:18:43 +00:00
rickg%netscape.com 5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
valeski%netscape.com 8bb7a9728f r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem 2000-03-12 01:11:41 +00:00
troy%netscape.com c038391890 r=troy@netscape.com Patch from pnunn@netscape.com that eliminates asserts
in the xpcom ref counting macros that the class should have threadsafe
addref/release functions but doesn't
2000-03-11 16:59:16 +00:00
troy%netscape.com ea24db7d11 b=28526. Added rule for TD so that the first child has a zero top margin.
This is the same rule we have for the BODY element
2000-03-11 16:46:21 +00:00
norris%netscape.com 060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
norris%netscape.com 9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net bf5156a460 Changed nsHTMLFrameInnerFrame to hold on to a subShell that is an nsIBaseWindow instead of a webShell. This paves the way for holding different types of objects. Also gets rid of that stupid nsIWebShell interface. :) When creating the docShell use the new docShell interfaces rather than the old webShell ones. 2000-03-11 00:41:04 +00:00
tbogard%aol.net bf3db61d02 Converted a number of places to talk in terms of the docShell APIs instead of the webShell ones. 2000-03-11 00:35:36 +00:00
tbogard%aol.net 9f6deed611 Get the contentViewer through the docShell APIs instead of the webShell ones. 2000-03-11 00:34:54 +00:00
jevering%netscape.com f0398a8427 this is valeski in jevering's tree. a=jevering. r=ltabb (nice!), r=vidur. forcing cache bypass for inline JS url loads. this is a workaround, not a final fix 2000-03-10 06:25:13 +00:00
jst%netscape.com 4c01b9bde8 Checking in fix for PDT+ bug 17489, now the HTML content sink correctly notifies the document about new content that apper after style/link tags that appear in the document content and not in the document head. r=vidur@netscape.com, a=jevering@netscape.com 2000-03-10 02:00:42 +00:00
norris%netscape.com c35e39f713 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com
2000-03-07 21:08:46 +00:00
rods%netscape.com c6496e7cb6 changes to select becuase the new display area is a block and text frame instead
of a button
fixes bugs 29544, 28835
a=jar
2000-03-07 15:56:14 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
cata%netscape.com 639f9aae98 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
valeski%netscape.com 942c0cbea5 r=gagan. 29870. We weren't handling a malformed http-equiv refresh header. 2000-03-04 00:32:30 +00:00
buster%netscape.com 8076fee6b0 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
this part of the fix is temporary, but sufficient for beta.  it calls the pres shell to do the initial association.
after beta, this will be done by the frame construction code.
r=travis
a=jar
2000-03-03 23:16:43 +00:00
rods%netscape.com 7db8508373 backing out earlier checkin 2000-03-03 07:14:57 +00:00
rods%netscape.com 702462fbfe changes for the new combobox
b=28593, r=self, a=jar
2000-03-03 04:24:53 +00:00
cata%netscape.com eaf963e925 activating charset override. bug #7886, r=ftang, a=bobj 2000-03-03 02:20:53 +00:00
jst%citec.fi 882da396f0 Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann 2000-03-02 15:06:05 +00:00
tbogard%aol.net 4eec4fb506 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 2000-03-02 07:13:02 +00:00
pollmann%netscape.com 982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
rods%netscape.com 7ca7d07fe5 Makes it so select tag are monolithic, this means the sink doesn't get flushed
until the end tag of a select. This helps performance a great deal. If it gets flushed
inbetween then the remaining options are added one at a time using the AddOption
and this is a lot less effecient.
b 28593, r=vidur
2000-02-28 21:38:30 +00:00
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
pollmann%netscape.com f90e4ddbe8 Bug 28691/16999: Re-enable style for button labels r=harishd a=rickg 2000-02-23 21:00:42 +00:00
pollmann%netscape.com 1a014f1120 Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg 2000-02-21 05:55:25 +00:00
pollmann%netscape.com d4d5eb5bcd Bug 14827: Removing code that wrongly set scrolling to auto for every document r=harishd a=rickg 2000-02-19 02:34:20 +00:00
pollmann%netscape.com 1d66570c0c Bug 14827: Adding a comment, removing unused code r=harishd a=rickg 2000-02-19 02:32:38 +00:00
troy%netscape.com 96857ad3ab b=27056 a=jar@netscape.com r=troy@netscape.com Change made by Vidur.
Avoid notifications in the middle of a table row
2000-02-16 23:43:59 +00:00
joki%netscape.com c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
attinasi%netscape.com 3a072761b8 Made external stylesheets load synchronously, always. Controlled by a define in case we want to re-enable asynch external stylesheets later. r=pierre,troy b=17309 2000-02-16 06:50:39 +00:00
karnaze%netscape.com c75793821e bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
nisheeth%netscape.com fa0d00d0b4 r=harishd. Fix for bug 27507. Removed a bogus assert. 2000-02-15 22:03:05 +00:00
ftang%netscape.com 189f468495 fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block. 2000-02-15 09:15:18 +00:00
evaughan%netscape.com 5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
attinasi%netscape.com 57628f4c8c Image title is now set after load is completed so the dimensions will be valid.r=pnunn b=27365 2000-02-12 18:09:40 +00:00
harishd%netscape.com d6aeb5f954 21008 - Handling NOTAGS in HEAD.
r=vidur - For changes in content sink.
2000-02-11 22:07:12 +00:00
rods%netscape.com 8c302fac72 minor changes to html.css to remove some bad padding value for mulitple selects
b 27236 r=dcone
2000-02-11 15:18:02 +00:00
rickg%netscape.com 75be200f2d fixed bug24346; r=harishd 2000-02-11 12:10:40 +00:00
pollmann%netscape.com 04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
tbogard%aol.net 4c46df4275 Made sure we set the tree item before adding it to the parent. Then we also must notify the tree owner of the addition of the content shell after it has been added. This the bugs having to do with treeOwner showing up (27087, 2719, 25951). r=hyatt 2000-02-10 07:04:09 +00:00
evaughan%netscape.com b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
tbogard%aol.net 840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
valeski%netscape.com 384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
vidur%netscape.com 8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
akkana%netscape.com a06aa3ece0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me 2000-02-02 22:47:24 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
troy%netscape.com 67f68abf0e b=25617, r=buster@netscape.com r=karnaze@netscape.com Removed rules that specify
margin-left for right floated table/image and margin-right for left floated
table/image. This doesn't work when percentage based widths are involved
2000-02-02 15:38:01 +00:00
beard%netscape.com 27796e180e the *REAL* fix for misbehaving drop-down lists. turns out z-index property value was incorrect in the style system itself. r=rods 2000-02-02 00:55:39 +00:00
vidur%netscape.com ee7036593f Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth 2000-01-31 23:39:19 +00:00
attinasi%netscape.com b1eb24a0ce Removed unused argument statements for elimination of warnings. No functional changes. 2000-01-31 13:54:39 +00:00
vidur%netscape.com e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
hyatt%netscape.com 50263a6e8d Adding behavioral rules for inputs and textareas. 2000-01-27 09:44:35 +00:00
attinasi%netscape.com 1f1bc14154 Title is now set in the Title Bar. b=24478 r=rickg 2000-01-27 02:15:19 +00:00
norris%netscape.com 7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
norris%netscape.com 02dc22bf2f Fix 24217 Access to functions in chrome: protocol using IFRAME
r=pollmann
2000-01-26 15:29:43 +00:00
pollmann%netscape.com 0cceba9172 Bug 10939: Make background of image inputs transparent (again :) ) r=harishd 2000-01-26 06:26:59 +00:00
norris%netscape.com 8c000f9285 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
nisheeth%netscape.com 22a5959edb Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
michael.lowe%bigfoot.com 6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
rods%netscape.com 21f90f07df explicitly setting the ":button-content" rule to be "left" justified for input inside of a select.
this got broke when the gernic case was set to "center"
bug 24356 r=dcone
2000-01-20 15:56:43 +00:00
hyatt%netscape.com 0684563f95 Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
vidur%netscape.com 7aa3c33c9c Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
evaughan%netscape.com fbffedcde5 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod 2000-01-18 20:29:22 +00:00
pollmann%netscape.com 572e8726ef Bug 20315: Adding comment r=buster 2000-01-18 02:40:45 +00:00
pierre%netscape.com ba1bb96d34 Bug #24099. Spelled 'right' right, it was spelled 'rigth' which ain't 'right'. 2000-01-17 02:05:06 +00:00
nisheeth%netscape.com 0ca3802c6a r=pollmann. Fix for bug 22237. 2000-01-15 01:41:22 +00:00
pollmann%netscape.com 7f103c359e Bug 16253: Update form margins to be the same as Nav and IE's (this checkin has no effect on layout until 23388 is fixed) r=harishd 2000-01-13 02:59:22 +00:00
rods%netscape.com 6ef251973e added border-box and font-family to the default "input"
removed extra background-color for select
r=kmcclusk b 17303
2000-01-12 15:35:10 +00:00
pollmann%netscape.com 6386c5da71 Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd 2000-01-11 07:21:24 +00:00
akkana%netscape.com 4a587b7765 Use if instead of switch, to eliminate warnings. r=slamm 2000-01-11 02:24:29 +00:00
rods%netscape.com 1de3a31601 removed the ">" from the select/option rules
changed the background-color to inherit for the display area
b=23475,23288 r=kmcclusk
2000-01-11 00:11:09 +00:00
rods%netscape.com c3c2a51737 fixed up several of the combobbox css rules to make them more efficient
(general optimization)r=kmcclusk,hangas
2000-01-09 02:09:08 +00:00
pierre%netscape.com e3c8ebdcf3 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored). 2000-01-08 10:09:00 +00:00
pierre%netscape.com fd1a8fadce Tiny part of bug 15316: removed the line-height from H5. 2000-01-08 10:06:17 +00:00
akkana%netscape.com 6bd97592f1 Fix a huge slew of warnings. r=pavlov 2000-01-08 01:20:58 +00:00
pollmann%netscape.com dcffe5f455 Bug 16218: Create webshell for frames with no src to allow js manipulation r= harishd 2000-01-07 06:18:48 +00:00
pollmann%netscape.com 14fd9c55fc Bug 18316: Safer way to adjust frame sizes - prevent possible UMR and segfaults r=harishd 2000-01-07 05:49:20 +00:00
vidur%netscape.com 61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
buster%netscape.com 5e0e088a7e fixed bugs 18447 and 18216
simple changes to default style sheet for input elements
r=rods
2000-01-06 19:56:13 +00:00
karnaze%netscape.com 0fbc252ef9 bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property. 2000-01-02 22:55:48 +00:00
rods%netscape.com fcb6440531 addjusted fonts in several of the form controls. most now inherit
tightened up some of the rules for the select
r=buster,hangus,kmcclusk bug 19426,17303,17114
1999-12-22 19:43:30 +00:00
jband%netscape.com ef9c82db1e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
tbogard%aol.net 22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
mccabe%netscape.com 74f7b8e000 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
pollmann%netscape.com ae00920358 Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann 1999-12-15 00:09:10 +00:00
vidur%netscape.com 1ad5cd8dd9 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur%netscape.com f05a2f0ff4 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
pollmann%netscape.com 5c697ae32f Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
ftang%netscape.com 2a8449664a fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00
sfraser%netscape.com 0a90ef3b34 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428). 1999-12-10 22:47:39 +00:00
vidur%netscape.com 81f434990e Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann. 1999-12-10 03:36:50 +00:00
buster%netscape.com dbc3d6a9e9 bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann
1999-12-09 07:18:38 +00:00
vidur%netscape.com 90dcdc1539 Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg 1999-12-09 03:10:22 +00:00
rickg%netscape.com da80c1d2de unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
rickg%netscape.com 471d34af10 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
vidur%netscape.com 978b7586dd Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy 1999-12-08 03:47:05 +00:00
akkana%netscape.com ede359f291 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser
1999-12-08 02:05:16 +00:00
rickg%netscape.com bd8e9acd7e WIP on fixing <noscript> bug for real -- post dogfood. r=syd 1999-12-07 07:25:56 +00:00
hyatt%netscape.com bad7f6c45b No longer loading the global skin implicitly. 1999-12-05 05:13:55 +00:00
hyatt%netscape.com de2eaede42 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
pierre%netscape.com 8b3d56440c 20260 "html.css: <sup> and <sub>.elements need explict line-height". Fix from Ian Hickson <py8ieh=bugzilla@bath.ac.uk>. 1999-12-04 02:05:18 +00:00
vidur%netscape.com 9f1fe721c3 For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth. 1999-12-04 01:27:46 +00:00
tbogard%aol.net eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
rods%netscape.com ec234e590c changed select:-moz-dropdown-list back to collapse from hidden, this works better in more cases
r=kmcclusk
1999-12-02 22:09:35 +00:00
rods%netscape.com 4acd38e3ea changing generated and psuedo content frames to inherit
r=kmcclusk bug 20301
1999-12-02 22:06:53 +00:00
rods%netscape.com 86e95c3437 changing "select:-moz-dropdown-list" to be hidden instead of collapse,
this works much better.
bug 19416 r=kmcclusk
1999-12-01 22:04:10 +00:00
rickg%netscape.com 52326dea98 added new color for CDATA in viewsource; r=none 1999-12-01 01:13:28 +00:00
warren%netscape.com 2db26922a6 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
valeski%netscape.com 6379f3162c r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout). 1999-11-29 23:02:14 +00:00
brendan%mozilla.org 63f8bf1ffe Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 305e287b28 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
tbogard%aol.net 715b5883cb nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned. 1999-11-27 03:06:59 +00:00
vidur%netscape.com dd88339f19 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 af1ce8d410 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