401 Commits

Author SHA1 Message Date
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
hyatt%netscape.com
e0273d9feb Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83464 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:20:40 +00:00
nhotta%netscape.com
7402e71af4 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@82918 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:43:28 +00:00
jst%netscape.com
bba246348c Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki
git-svn-id: svn://10.0.0.236/trunk@82357 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:22:44 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
locka%iol.ie
86c58a0fe4 Removed unused variables made obselete by previous checkin. b=56285
git-svn-id: svn://10.0.0.236/trunk@81457 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 18:56:56 +00:00
locka%iol.ie
5188d8cbb1 Fix to content sink's handling of anchors. Flushes reflows before scrolling and uses the pres shell's scrolling code. b=56285, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81399 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:37:54 +00:00
harishd%netscape.com
91787aebed 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur


git-svn-id: svn://10.0.0.236/trunk@81235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:31:09 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
jst%netscape.com
36aa358806 Fixing rtm++ bug 54825. The form element cleanup code in the HTML sink was incorrectly adding the form element itself to it's parent event if it had already been added, this caused the content iterator to lock up when doing 'Find on this page'. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@81065 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:59:29 +00:00
jst%netscape.com
9da216f81e Fixing rtm++ bug 52998. Form controls inside <noscript> were incorrectly added to the form even if javascript was enabled. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@80966 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:23:21 +00:00
harishd%netscape.com
e3738c1511 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]


git-svn-id: svn://10.0.0.236/trunk@79553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:35:50 +00:00
morse%netscape.com
bcec47fd04 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd
git-svn-id: svn://10.0.0.236/trunk@79146 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:59:47 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
harishd%netscape.com
3bc6fee424 Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst


git-svn-id: svn://10.0.0.236/trunk@78904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:18:50 +00:00
akkana%netscape.com
ef8556bca9 36082: don't load contents of script tag if script evaluation is off. r=brendan
git-svn-id: svn://10.0.0.236/trunk@78786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:27:53 +00:00
morse%netscape.com
feb9add6f2 bug 51338, cookie nag box not modal, r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +00:00
harishd%netscape.com
4766df6dca 7670 - Enable NOSCRIPT.
r=jst


git-svn-id: svn://10.0.0.236/trunk@77891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:43 +00:00
locka%iol.ie
5ff2709c4c Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77612 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 11:37:06 +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
rods%netscape.com
e11c0116a4 adds base href/target info to a form
b=34656 r=pollmann,harishd


git-svn-id: svn://10.0.0.236/trunk@76958 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:29:49 +00:00
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
waterson%netscape.com
9cc9cfc356 Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth
git-svn-id: svn://10.0.0.236/trunk@76625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:33:34 +00:00
harishd%netscape.com
6368271fde bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76576 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:55:48 +00:00
harishd%netscape.com
c75a8a89fb 36944 - USe NS_VMREFRESH_NO_SYNC to refresh
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75913 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:30:36 +00:00
harishd%netscape.com
d05675c787 Migrating beta2+ fix
----------------------------

45975 - Making sure that the stack position doesn't become negative.
Note: This is a HACK for beta2. The real fix will go in for beta3.

r=jst
a=nisheeth


git-svn-id: svn://10.0.0.236/trunk@74988 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 01:01:08 +00:00
valeski%netscape.com
9f98974650 updating a comment
git-svn-id: svn://10.0.0.236/trunk@74304 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 15:05:31 +00:00
mjudge%netscape.com
58aa190a55 making the element factory support weak references. needed to make ender-lite faster.
git-svn-id: svn://10.0.0.236/trunk@74201 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:18:37 +00:00
pollmann%netscape.com
9c987c7201 Bug 4891: Allow flushes to occur outside parsing of the <script> tag. This allows us to keep content lists up to date through document.writes in event handlers r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@73861 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:19:44 +00:00
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
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
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
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
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
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
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
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
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
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
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