626 Commits

Author SHA1 Message Date
harishd%netscape.com
4fa2effbda Bug 40477 ( nsbeta2+ ) - Don't rely on ';' to terminate entities.
r=pollmann.


git-svn-id: svn://10.0.0.236/trunk@73558 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:05:46 +00:00
nisheeth%netscape.com
7a3c35beaa Fix for bug 42196. A simple patch from Rod Spears to prevent asserts that were firing on reading mail messages.
git-svn-id: svn://10.0.0.236/trunk@73300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:56:08 +00:00
dougt%netscape.com
7515b96e14 Removing bookmark requirement.
43082.
r=jbetak@netscape.com
a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73240 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:26:16 +00:00
cata%netscape.com
20be06a0d4 Turning on charset override by default. r=nhotta a=ftang bug #41620.
git-svn-id: svn://10.0.0.236/trunk@72851 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:02 +00:00
vidur%netscape.com
756dc76c80 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst
git-svn-id: svn://10.0.0.236/trunk@72844 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:56:52 +00:00
harishd%netscape.com
0afaf65820 Fix bugs
18480 (nsbeta2+) - Hack to contain stack over flow
patch=jst, r=harishd.

40216 (nsbeta2+) - Shouldn't deal with mInsideNoXXXTag memeber for NOLAYER ( ON  by default ).
patch=rginda, r=harishd.


git-svn-id: svn://10.0.0.236/trunk@72807 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:53:10 +00:00
dbaron%fas.harvard.edu
99d1cb0540 Slightly refine my previous fix for string assertions so things behave exactly as before. r=pollmann b=42936
git-svn-id: svn://10.0.0.236/trunk@72714 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:13:10 +00:00
dbaron%fas.harvard.edu
1e33476ff7 Fix string assertions. b=42936 code=jst,dbaron r=harishd
git-svn-id: svn://10.0.0.236/trunk@72710 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:53:34 +00:00
vidur%netscape.com
42dd385f64 Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:46:58 +00:00
akkana%netscape.com
0044c43edb 41916: Remove <td> from the list of inline tags; don't include the enclosing
<td> in a selection that happens to fall inside a table cell. r=rickg


git-svn-id: svn://10.0.0.236/trunk@72412 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:22:00 +00:00
danm%netscape.com
c318e40ece supply nsIPrompt to streamloader created when processing a script tag. bugs 25684,28594. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:54:57 +00:00
scc%mozilla.org
85ba05cab0 Fix for an assert that has been bugging rods, particularly when testing with the top 100. The assert is the string |CharAt| out-of-range assert. The problem is the code was iterating off the end of the string to stop at the implicit |'\0'|. But there need not be null termination and accessing outside the strings defined range is bad. Fixed the loop in question to not step outside of the token string, and to iterate more efficiently. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72259 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:39:21 +00:00
jst%netscape.com
67f52e2c7a Fixing nsbeta2+ bug 40944. document.doctype.systemId was always empty in HTML documents. r=nisheeth@netscape.com&heikki@citec.fi
git-svn-id: svn://10.0.0.236/trunk@72237 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:08:19 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
scc%mozilla.org
486908c680 don't try to extract characters from an empty string
git-svn-id: svn://10.0.0.236/trunk@71995 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 09:14:09 +00:00
mjudge%netscape.com
7b1d52b5a5 fixing leak from earlier chekin. copied code, dont look at me. r=scc bug=34896
git-svn-id: svn://10.0.0.236/trunk@71871 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:19:09 +00:00
jst%netscape.com
f3d0104663 Fixing nsbeta2+ bugs 17351 and 33018, doing document.write(...) on a document in a newly opened window wasn't working properly, the written HTML was replaced by the URL given to window.open(), the fix is to cancel ongoing loads for the new window before starting to write to it. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71812 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:51:06 +00:00
harishd%netscape.com
bab99092a1 40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.


git-svn-id: svn://10.0.0.236/trunk@71803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:32:09 +00:00
mjudge%netscape.com
eda43bdbec (accidentaly checked in with no comment before)bug=34896 getting createElementNS implemented for nsHTMLDocument. this should just be implemented in nsDocument with nsXMLDoc inheiriting also. i will do that when m16 is gone. this allows the editor to create its html elements despite being in a xuldocument. r=hyatt a=beppe
git-svn-id: svn://10.0.0.236/trunk@71678 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:17:23 +00:00
mjudge%netscape.com
fcac507ec1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@71677 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:14:08 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
jbetak%netscape.com
a4c4317408 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71217 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:13:45 +00:00
waterson%netscape.com
e13d529eb4 Oops. I didn't need to do that.
git-svn-id: svn://10.0.0.236/trunk@70996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:49:34 +00:00
waterson%netscape.com
686afe447d #if 0 out mstoltz's changes, which seem to cause tinderbox to hang on test #2
git-svn-id: svn://10.0.0.236/trunk@70995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:48:40 +00:00
mstoltz%netscape.com
21edbcf9bf Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@70965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:28:40 +00:00
rusty.lynch%intel.com
74858ca097 Fixed webshell leaks for each textarea/input element for
bug #39796. r=jst a=waterson


git-svn-id: svn://10.0.0.236/trunk@70926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:09:32 +00:00
harishd%netscape.com
7d6ec636e5 Open "rtest_html.txt" file to dump content data..
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:49 +00:00
jst%netscape.com
bdf3919b60 Fixing typo that sneaked in when fixing this mornings mac bustage after fixing bug 36681. r=brade
git-svn-id: svn://10.0.0.236/trunk@70860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:16:06 +00:00
brade%netscape.com
8e4e55a454 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@70848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 15:46:41 +00:00
jst%netscape.com
6bfd494c6d Fixing bug 36681, lastModified date for local files was incorrect. r=dougt@netscape.com, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:03:57 +00:00
shaver%mozilla.org
dc84b2f4de add content-policy hooks to <script> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:29:15 +00:00
harishd%netscape.com
bf18c65a23 Forgot to checkin this file - This should have been a part of
my previous checkin.


git-svn-id: svn://10.0.0.236/trunk@70622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:16:56 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
jst%netscape.com
5399afa0da Fix content list regression I introduced a few days ago when working on DOM namespace support, document.forms and other arrays on HTML document objects never contained any elements! r=vidur, a=leaf
git-svn-id: svn://10.0.0.236/trunk@70407 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:35:19 +00:00
cata%netscape.com
c71947a6d1 Fixing more of the same problem. nsCOMPtr comparisons. Sorry!
git-svn-id: svn://10.0.0.236/trunk@70383 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:40:40 +00:00
cata%netscape.com
ad0e6cd338 Charset override implementation.
git-svn-id: svn://10.0.0.236/trunk@70365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:56:34 +00:00
jst%netscape.com
0c35143f92 Fix getElementsByTagName() regression.
git-svn-id: svn://10.0.0.236/trunk@70265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:47:06 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
rickg%netscape.com
783aed3888 one more tweak to entity redction code
git-svn-id: svn://10.0.0.236/trunk@70220 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:51:26 +00:00
rickg%netscape.com
0696c6177e checking in fix for 39281
git-svn-id: svn://10.0.0.236/trunk@70081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:27:45 +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
rickg%netscape.com
44ebbe32f8 fixed edge case in entity reduction code
git-svn-id: svn://10.0.0.236/trunk@69847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:37:01 +00:00
mjudge%netscape.com
6a58aacae2 removing comment on code
git-svn-id: svn://10.0.0.236/trunk@69801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:25:52 +00:00
rickg%netscape.com
f84570f461 fixed bugs: 37417 and 26023
git-svn-id: svn://10.0.0.236/trunk@69766 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:27:55 +00:00
harishd%netscape.com
d9d69f2ded Enabling NOLAYERS by default ( since we don't support LAYER tag ).
r=vidur

Putting webshellservice into parser bundle for use by observer base.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:25:06 +00:00
mjudge%netscape.com
dd4523397c changing nsXifconverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:29 +00:00
pollmann%netscape.com
b84faceff5 Bug 35573: Fix part of a webshell leak, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@69300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:53:38 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
attinasi%netscape.com
6cf3f832c5 Preventing processing of style links if the HREF is empty. b=30817, r=harishd
git-svn-id: svn://10.0.0.236/trunk@68914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:05:13 +00:00
jst%netscape.com
d24292d0d4 Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.
git-svn-id: svn://10.0.0.236/trunk@68471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:05:19 +00:00