615 Commits

Author SHA1 Message Date
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
pierre%netscape.com
77cf922fa7 18817 and 35872 "Compatibility mode testing should be reviewed". eDTDMode_noquirks was used instead of eDTDMode_strict. Another fix from VYV03354@nifty.ne.jp, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@68263 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:53:18 +00:00
rickg%netscape.com
7be87c598e fixed DTDMode regression
git-svn-id: svn://10.0.0.236/trunk@68211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:54:04 +00:00
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
jst%netscape.com
b1edeeb86a Hooking up document.getSelection() for html documents to return a string so that we're compatible with 4.x.
git-svn-id: svn://10.0.0.236/trunk@67533 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:05:45 +00:00
mstoltz%netscape.com
dae11b0075 Removed getOwner() function from nsIStreamLoader. getChannel() now fulfills this function.
git-svn-id: svn://10.0.0.236/trunk@67343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:30:27 +00:00
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
rods%netscape.com
013db4369f The value in the GetAttribute will no longer have the space stripped in front and back
git-svn-id: svn://10.0.0.236/trunk@66765 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:59:53 +00:00