75 Commits

Author SHA1 Message Date
jst%netscape.com
c33863d639 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66346 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:00:58 +00:00
jst%netscape.com
32aa1b74f9 Updating the HTMLObjectElement interface to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:57:42 +00:00
sfraser%netscape.com
89c406272d Adding methods to nsHTMLNSInputElement to support getting/setting the selection from JS. Also added a textLength attribute.
git-svn-id: svn://10.0.0.236/trunk@65769 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:59 +00:00
ducarroz%netscape.com
36b9328d4b Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65768 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:39 +00:00
jst%netscape.com
c76b431214 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now.
git-svn-id: svn://10.0.0.236/trunk@64942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:46:30 +00:00
jst%netscape.com
3efeaf17d3 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame.
git-svn-id: svn://10.0.0.236/trunk@64937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:04:19 +00:00
jst%netscape.com
33e1ca7b34 Checking in patch from jband@netscape.com that makes it possible to build on Win98 again. r=me
git-svn-id: svn://10.0.0.236/trunk@63459 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 14:12:57 +00:00
norris%netscape.com
09ff59d528 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63404 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 17:48:12 +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
pollmann%netscape.com
76aa2f7fc9 Bug 12513: Fix typo (win build bustage).
git-svn-id: svn://10.0.0.236/trunk@61546 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:24:10 +00:00
pollmann%netscape.com
a3b50445fa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
pollmann%netscape.com
3a06ba4766 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:38:00 +00:00
vidur%netscape.com
a47da2699c Fix for bug 9844. Added offsetTop/Left/Width/Height/Parent to nsIDOMHTMLElement. It should go on a new interface - to avoid the cost of new interface (a new vtable pointer per content instance), it's temporarily on the standard interface.r=pollmann
git-svn-id: svn://10.0.0.236/trunk@61026 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:25:27 +00:00
vidur%netscape.com
d55b639f5b 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
git-svn-id: svn://10.0.0.236/trunk@59576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:25:53 +00:00
vidur%netscape.com
45421d6c99 Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@58158 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:41:27 +00:00
vidur%netscape.com
4755c2cf84 Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58156 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:35:47 +00:00
pollmann%netscape.com
dcee6c63b0 Bug 14419 (3 of 4): Make option text read/write (glue header) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57881 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:49:39 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
7c01ae18c1 Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56919 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:15:55 +00:00
vidur%netscape.com
e8816c32e3 Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
vidur%netscape.com
07427518d4 Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55998 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:32:26 +00:00
shaver%netscape.com
ff0abe5e37 fix windows filename case damage, r=brade,sdagley
git-svn-id: svn://10.0.0.236/trunk@54916 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 16:11:07 +00:00
rods%netscape.com
38dab45950 removing all lower case version of this file
git-svn-id: svn://10.0.0.236/trunk@54915 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 16:10:00 +00:00
rods%netscape.com
6d9b82c696 bug 2253
git-svn-id: svn://10.0.0.236/trunk@54913 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:54:59 +00:00
buster%netscape.com
a5b61285a7 bug 2253. added controller to html text input
r = kmcclusk, norris


git-svn-id: svn://10.0.0.236/trunk@54909 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:11:33 +00:00
vidur%netscape.com
97136e7647 Added window.scroll(). Reverted back to NPL 1.1. R=joki
git-svn-id: svn://10.0.0.236/trunk@54452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 23:58:43 +00:00
norris%netscape.com
f77a65d9d4 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@54051 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:34 +00:00
buster%netscape.com
0914a1cddd DOM extension for exposing text areas to XUL
bug 12022, r=rickg


git-svn-id: svn://10.0.0.236/trunk@53971 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:18:25 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
norris%netscape.com
c3494a9ffb Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.


git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
joki%netscape.com
62ad116aae Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
pollmann%netscape.com
ca5c8d9840 Bug 12350: selected read/write
git-svn-id: svn://10.0.0.236/trunk@47822 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 20:13:41 +00:00
briano%netscape.com
2d45b26da7 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46908 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:59:11 +00:00
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
vidur%netscape.com
cc254c45f5 jsval can now be a parameter or return type. Got rid of unused variable warnings. Fixed secMan leak. Removed nsIDOMHTMLBlockQuote.h
git-svn-id: svn://10.0.0.236/trunk@44764 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:11:39 +00:00
pollmann%netscape.com
1af9c1592a Bug 3285: Update header files to add item method to proprietary interface.
git-svn-id: svn://10.0.0.236/trunk@43962 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 02:56:03 +00:00
ducarroz%netscape.com
e901c6e277 Add attribute "autocomplete"
git-svn-id: svn://10.0.0.236/trunk@43705 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:52 +00:00
hoa.nguyen%intel.com
212162f2a2 Added nsIDOMHTMLEmbedElement.h to exports.
git-svn-id: svn://10.0.0.236/trunk@42671 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 21:54:55 +00:00
hoa.nguyen%intel.com
27ca1fcd2e DOM interface for embed tag.
git-svn-id: svn://10.0.0.236/trunk@42670 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 21:53:28 +00:00
pollmann%netscape.com
0af1f8f6d1 Bug 2195: select[n] == select.options[n], new header for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35665 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:02:21 +00:00
waterson%netscape.com
3fef74e475 Remove dependency from clobber rule.
git-svn-id: svn://10.0.0.236/trunk@33576 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:48:13 +00:00
waterson%netscape.com
095d917a3a Single public include directory on Win32.
git-svn-id: svn://10.0.0.236/trunk@33538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:34:27 +00:00
vidur%netscape.com
ba13725fae Added noscript qualifier to HTMLDocument::Open, Write and Writeln and moved the JS-specific versions over to NSHTMLDocument.
git-svn-id: svn://10.0.0.236/trunk@33045 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:18:48 +00:00
vidur%netscape.com
b45891b379 Added layers interface.
git-svn-id: svn://10.0.0.236/trunk@31924 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:15:06 +00:00
vidur%netscape.com
fdd75c6ce2 Added Option constructor and resultant nsIDOMOption interface
git-svn-id: svn://10.0.0.236/trunk@30189 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:47:00 +00:00
waterson%netscape.com
c9c22003bd Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. a=vidur.
git-svn-id: svn://10.0.0.236/trunk@27857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:08:20 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
waterson%netscape.com
e6531f8683 Modified generated files so that NS_InitFooClass() is accessable outside of JSDOM.DLL. a=vidur%netscape.com.
git-svn-id: svn://10.0.0.236/trunk@20919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:33:27 +00:00
vidur%netscape.com
4ef7dcc47f Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator.
git-svn-id: svn://10.0.0.236/trunk@16821 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:03:20 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00