245 Commits

Author SHA1 Message Date
harishd%netscape.com
d2199013d8 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann


git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
harishd%netscape.com
ebecf5a4cb 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@92594 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:23:33 +00:00
nhotta%netscape.com
0bef4f6581 Changed to ignore encoding="UTF-16" in detectByteOrderMark(), bug 66807, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@92133 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:57:18 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
waterson%netscape.com
957ccfdaba Bug 5569. Make sure that Terminate() can propogate DidBuildModel() to the sink, and that the sink will ensure an initial reflow has occurred. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@91801 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 00:49:49 +00:00
disttsc%bart.nl
f69c0e7cd8 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:17:17 +00:00
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
scc%mozilla.org
c1d8f1bc86 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work.
git-svn-id: svn://10.0.0.236/trunk@86935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:26:58 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
harishd%netscape.com
ad2e158d13 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:36:23 +00:00
harishd%netscape.com
6cb66fa5cb 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86373 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:29 +00:00
harishd%netscape.com
4541137502 61630 - propagate onstop request.
48256 - Verify hierarchy requested by a child tag.
43678 - Make TABLE a legal child of P.
58942 - MAP is not a legal child of TR!
57999 - When the parser is enabled make sure to pass correct information to ResumeParse().
59669 - Remove a warning.

r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85991 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:03:48 +00:00
vidur%netscape.com
3e62b3f9f3 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
harishd%netscape.com
859b7a2217 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:25:33 +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
harishd%netscape.com
bb52d0cbc1 Checking in for Rickg
42525 - Make Transitional doctype, greater that 4.0, with URI, strict

r=me,attinasi
sr=buster


git-svn-id: svn://10.0.0.236/trunk@81409 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:19:14 +00:00
harishd%netscape.com
664ab05c31 53489 - FMR fix ( r=jst, a=vidur ).
54448 - Allow param to be a kid of BODY for compatibility ( r=jst, a=vidur ).
53935 - Failed to reinitialize a variable "theIndex" that provoked a crash ( r=jst, a=buster)
53695 - Keep a reference to the first misplaced token for later use ( r=jst, a=buster ).


git-svn-id: svn://10.0.0.236/trunk@80464 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 20:10:28 +00:00
rickg%netscape.com
4621c994de fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
git-svn-id: svn://10.0.0.236/trunk@79696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:58:12 +00:00
rickg%netscape.com
c433e250f9 fixed nsbeta3+ crash (bug# unavailable 'cause bugzilla is down) and removed FMM. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@79094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:28:44 +00:00
rickg%netscape.com
ece465da5b fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster
git-svn-id: svn://10.0.0.236/trunk@78537 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:06:13 +00:00
vidur%netscape.com
4217ab8759 Fix for bug 49187. ViewSource now emits HTML. The VIEW_SOURCE_HTML #define at the top of nsViewSourceHTML.cpp and nsLayoutDLF.cpp allows us to switch back to XML if necessary. The VIEW_SOURCE_COLORING #define in nsViewSourceHTML.cpp allows us to turn on source coloring. Without source coloring (the default right now), bringing up source is considerably faster. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:57:14 +00:00
harishd%netscape.com
34a0c50b1e 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
akkana%netscape.com
76d428f3cc 41868 and 45994: Expose CreateComparibleDTD. r=Harishd
git-svn-id: svn://10.0.0.236/trunk@77409 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:45:08 +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
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
harishd%netscape.com
12ebb61ff1 42429 - Pass whitespace, inside table, to the sink.
44178 - Enabled SERVER tag
43005 - Made HR a block element per spec.
43499 - Made XML document with .txt extension to be rendered as plain text
45437 - Enabled META charset notification in strict DTD.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@75912 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:28:41 +00:00
harishd%netscape.com
536513536c Migrating beta2 fix to the branch
---------------------------------------------
42388 (nsbeta2+)  - Disabling transitional DTD
r=jst
a=nisheeth


git-svn-id: svn://10.0.0.236/trunk@74986 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:56:15 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
bienvenu%netscape.com
9a4b6f8f61 fix os2 build bustage
git-svn-id: svn://10.0.0.236/trunk@73641 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:11:32 +00:00
harishd%netscape.com
9fb7479d71 Bug 43274 ( nsbeta2+ ) - Checkin for Rickg.
r=harishd


git-svn-id: svn://10.0.0.236/trunk@73557 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:04:24 +00:00
rickg%netscape.com
de64f8f668 fixed a few nsbeta2+ bugs; r=harishd and kmcclusk
git-svn-id: svn://10.0.0.236/trunk@72354 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:28:02 +00:00
rickg%netscape.com
2e1ef1b2c7 fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
git-svn-id: svn://10.0.0.236/trunk@71963 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:53:04 +00:00
sfraser%netscape.com
9f4d6d2ee3 Fix parser webshell leak (bugs 40149, 41695). r=harishd
git-svn-id: svn://10.0.0.236/trunk@71921 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:43:00 +00:00
harishd%netscape.com
29189d4b10 Fix for:
37247 (nsbeta2+) - XIF DTD / HTMLContentSinkStream shouldn't add end tags
for IMG,PARAM,SOUND,INPUT..etc., ( leaf tags ).

r=akkana.

41427 (nsbeta2+) - Avoid transient style handling in a head context.
40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
40741 (nsbeta2+) - Text, only document, was getting sucked up into <!DOCTYPE>
40143 (nsbeta2+) - Use scanner's mIncremental memeber wisely when data is
supplied through document.write();
40552 (nsbeta2+) - Contain default <!DOCTYPE> to html documents only.

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@71802 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:30:48 +00:00
harishd%netscape.com
d2f44f024a Parser regression test. Triggered by PARSER_DUMP_CONTENT env. flag
under NS_DEBUG.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:26 +00:00
rickg%netscape.com
76d5cb7753 fixed beta2 bugs: 38203, 38228, 39520, 40060, and WIP for bug 40190; also enabled debug code for automated regression testing of content models.
git-svn-id: svn://10.0.0.236/trunk@70819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:19:32 +00:00
harishd%netscape.com
3ae31acebc Fix for
36148 - Mlk [ r= rickg ] nsParser::Parse(string)
39713 - Crash caused by an uninitialized ref. counter
39466 - Handling XML error before calling DidBuildModel().

r=nisheeth

a=waterson


git-svn-id: svn://10.0.0.236/trunk@70609 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:32:06 +00:00
ftang%netscape.com
d97f53e51f fix bug 39197. r=erik. Detect UTF8 BOM since Win2K notepad generate them
git-svn-id: svn://10.0.0.236/trunk@70087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:35:40 +00:00
harishd%netscape.com
0389aba1fa Fix for
38601 - Calling DidBuildModel(), through nsParser::Terminate(),
        for documents stopped abruptly ( stopped before a complete load ).
Fixed a few warnings.
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:08:57 +00:00
harishd%netscape.com
1ddf9f1307 Fix for bugs:
34351 ( nsbeta2+ ) - Made webshell service available to
observer base through parser bundle.
37503,36852 ( nsbeta2+ ) - Fixed crash in Observer base...
( caused by a wrong assumtion for document key ). The key now is
always nsISupports*.
24474 - Fixed content leakage in my.netscape.com caused by a script
entity in LAYER.
31890 - Mlk fix ( patch provided by Patrick ) ( r=me )

r= nisheeth


git-svn-id: svn://10.0.0.236/trunk@69671 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:24:59 +00:00
rickg%netscape.com
a5a71d088a fixed bug 36449
git-svn-id: svn://10.0.0.236/trunk@68760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:29:59 +00:00
harishd%netscape.com
afbd91ee27 Added an extra condition on an assertion.
git-svn-id: svn://10.0.0.236/trunk@68302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:47:11 +00:00
harishd%netscape.com
0fb553bf96 Added method CreateCompatibleDTD() to retrieve an
instance of a DTD based on DOCTYPE, or MIMETYPE.

r=rickg


git-svn-id: svn://10.0.0.236/trunk@68300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:33:16 +00:00
rickg%netscape.com
6792920069 StrictDTD WIP and fixed mode regression
git-svn-id: svn://10.0.0.236/trunk@68210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:53:52 +00:00
harishd%netscape.com
6eca6899fa Fixed a silly mistake in my previous checkin.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:36:52 +00:00
harishd%netscape.com
ac0e7dd9a4 Accidently enabled a DEBUG_ONLY flag.
Disabling it now.


git-svn-id: svn://10.0.0.236/trunk@68164 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:50:58 +00:00
harishd%netscape.com
0275e427e2 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:09:09 +00:00