38 Commits

Author SHA1 Message Date
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
jst%netscape.com
44345760e7 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI.
git-svn-id: svn://10.0.0.236/trunk@90103 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:51:52 +00:00
pollmann%netscape.com
2d0d3de45d Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:46:46 +00:00
dbaron%fas.harvard.edu
60a0a830ca Fix crash from GetElementsByTagName on a document without a root element. Patch from ftang@netscape.com r=jst@netscape.com,dbaron@fas.harvard.edu sr=vidur@netscape.com b=40121
git-svn-id: svn://10.0.0.236/trunk@82008 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 18:51:50 +00:00
jst%netscape.com
f54ba5cc66 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
waterson%netscape.com
417a2140ba Bug 43644. Better fix: nsLayoutAtoms::[AddRefAtoms|ReleaseAtoms] calls are unnecessary, as dbaron pointed out to me.
git-svn-id: svn://10.0.0.236/trunk@73388 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 05:36:32 +00:00
waterson%netscape.com
343c89fa5b Bug 43644. Add 'wildcard' atom to nsLayoutAtoms and use it instead of a statically leaked atom. r=jst,inaky.gonzales@intel.com
git-svn-id: svn://10.0.0.236/trunk@73382 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:17:26 +00:00
pollmann%netscape.com
38da98b6b8 Bug 4891: document.forms[x] fixed for document.written forms r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72466 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:28:41 +00:00
jst%netscape.com
65368ac3c2 Fixing nsbeta2+ bug 41487, form controls with the same NAME and ID ended up in the form control list in the form element twice. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71936 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:47:29 +00:00
jst%netscape.com
7fef41cc2b Fixing dogfood+ bug 40571, various problems with multiple form objects with the same name. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71294 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:55:19 +00:00
jst%netscape.com
a4819fdc9d Implementing getElementsByTagNameNS() for XML and HTML documents.
git-svn-id: svn://10.0.0.236/trunk@69931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:55:05 +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
vidur%netscape.com
1746b524c7 Fix for bug 6785. Incorrect reinitializing of mData.
git-svn-id: svn://10.0.0.236/trunk@34929 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:37:36 +00:00
vidur%netscape.com
98da6aed8d Fixed uninitialized variable problem.
git-svn-id: svn://10.0.0.236/trunk@31339 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:21:50 +00:00
vidur%netscape.com
2a6b6dd584 Fixed non-ANSII compliant code.
git-svn-id: svn://10.0.0.236/trunk@30204 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:53:44 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
vidur%netscape.com
88bfa91fc7 implemented nsHTMLDocument::GetElementsByName
git-svn-id: svn://10.0.0.236/trunk@19762 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:23:07 +00:00
vidur%netscape.com
ea2adbea24 Comments added to content model. Comments and text content now have a special tagname
git-svn-id: svn://10.0.0.236/trunk@18362 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:48:00 +00:00
vidur%netscape.com
1897c0ba41 Implemented Element::GetElementsByTagName. Fixed bug 2327 - forms appearing multiple times in document.forms array.
git-svn-id: svn://10.0.0.236/trunk@17945 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 03:43:43 +00:00
vidur%netscape.com
c2d4d4ab29 Wildcard handling of document.getElementsByTagName. Better handling of casing and namespaces for tagNames.
git-svn-id: svn://10.0.0.236/trunk@17858 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:18:30 +00:00
peterl%netscape.com
52a0043631 sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
kipp%netscape.com
703b38ab21 Implement revised nsIDocument/nsIDocumentObserver methods
git-svn-id: svn://10.0.0.236/trunk@10970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:47 +00:00
vidur%netscape.com
e792ef87b8 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry.
git-svn-id: svn://10.0.0.236/trunk@10238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:53:52 +00:00
kipp%netscape.com
10b6617c48 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
troy%netscape.com
0c4b9521d5 Phase one of frame construction changes
git-svn-id: svn://10.0.0.236/trunk@9742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:32:14 +00:00
vidur%netscape.com
c849307960 New content code adjusts to getting script objects through a factory interface
git-svn-id: svn://10.0.0.236/trunk@9387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:03:16 +00:00
kipp%netscape.com
29e64a354f XPCOM'ized nsIContent and nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@8824 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:20:38 +00:00
vidur%netscape.com
d6598dbb16 Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement.
git-svn-id: svn://10.0.0.236/trunk@7588 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:08:00 +00:00
vidur%netscape.com
c6fd3f22ca Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection.
git-svn-id: svn://10.0.0.236/trunk@7190 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:05:22 +00:00
vidur%netscape.com
640de09889 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes
git-svn-id: svn://10.0.0.236/trunk@6458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:31:52 +00:00
vidur%netscape.com
5c9e91ae0c Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName.
git-svn-id: svn://10.0.0.236/trunk@6201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:32:19 +00:00