300 Commits

Author SHA1 Message Date
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
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
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
sfraser%netscape.com
2b5f698903 Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@69812 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:55 +00:00
rickg%netscape.com
b2d584ed34 StrictDTD wip, and fixed bugs: 37417 and 26023
git-svn-id: svn://10.0.0.236/trunk@69768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:28:12 +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
5ba9ef8801 restore keygen
git-svn-id: svn://10.0.0.236/trunk@68761 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:31:25 +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
2f4ca80bc1 Adding parser side support for KEYGEN.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@68411 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:39:18 +00:00
cmanske%netscape.com
8ff9b0a9b5 Change attribute name of '-moz-userdefined' tag to '_moz-userdefied' to adhere to naming convention that strips out attribute when outputting HTML from editor
git-svn-id: svn://10.0.0.236/trunk@68348 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:32:15 +00:00
rickg%netscape.com
7e478dccbf fixed bug (feature) 35646
git-svn-id: svn://10.0.0.236/trunk@68264 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:55:36 +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
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
harishd%netscape.com
3f72307bc5 Fix for
26583,2946, 22636 (partial),32782
33570,27136,24184,35125,
35806,36063,29456
r=rickg,waqar
34311 - Patch provided by Patrick ( Fix for MLK ).
r=me.


git-svn-id: svn://10.0.0.236/trunk@66741 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:22:03 +00:00
harishd%netscape.com
9cd3c6e67f XIF DTD now depends on a single stack rather than
multiple stacks.
r=akkana
Moved Node recycling to DTD Utils so that the recycler could
be used across DTDs.
r=rickg
Also fixed bug 27136.


git-svn-id: svn://10.0.0.236/trunk@66309 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:10:28 +00:00
rickg%netscape.com
e986fc3858 fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD
git-svn-id: svn://10.0.0.236/trunk@66182 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 06:33:31 +00:00
harishd%netscape.com
2cd5173be8 Fix for
28965 32523 -- Setting Document key to nsISupports
34308
19575 - Fixed had by replacing PRUnichar array with nsDeque.

r=ftang
22786 - Accounting for attributes on <HTML> tag [ this got backed out before ]
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@65221 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:58:40 +00:00
scc%netscape.com
4cebb949ef making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +00:00
rickg%netscape.com
c056be4201 removed unused includes; fixed addref bug; r=karnaze
git-svn-id: svn://10.0.0.236/trunk@64813 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:23:24 +00:00
harishd%netscape.com
477c951a51 Fix for 29048, 28085 - MLKs..
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@64806 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:05:44 +00:00
harishd%netscape.com
2ec5e45cca Backing out a change to make the regression test happy.
wonder why it is failing in the first place. My guess is that...
something wrong with the test itself.


git-svn-id: svn://10.0.0.236/trunk@64614 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 17:13:22 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
harishd%netscape.com
6b7daa5a4d Fix for
29048 - MLK in PushStyles()

22786 - Accounting for HTML attributes  --- r=attinasi and nisheeth ---

26652 - Nav. Compatibility - Handling </SCRIPT> on a document.write
28085 - Fix for Entry stack leak
32527 - Marking sure that the DidBuildModel() is called on a XML error

Improved performance in consuming SCRIPT content.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@64540 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:06:49 +00:00
rickg%netscape.com
f4565bc7e0 leak removal; r=harishd
git-svn-id: svn://10.0.0.236/trunk@64144 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:45:45 +00:00
rickg%netscape.com
bea8b36d30 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
git-svn-id: svn://10.0.0.236/trunk@64098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:35:50 +00:00
harishd%netscape.com
a3e274d547 Added AppendSource() into keep the semantics of
GetSource() alive. This should give us some performance
in adding skipped content to the node.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@63877 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:19:05 +00:00
harishd%netscape.com
e3a8dd5b19 Fix for Bugs
29048,31392,31940,29379,29735,
25880,26488,27490,31694.

Gist: General bug fixes, Mem. leaks, and
          a little perf. work ( in collectingskipped content ).

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@63769 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:13:50 +00:00
rickg%netscape.com
c82b77fb9c removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62735 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:22:24 +00:00
harishd%netscape.com
b8079e8c4b Fix for 30486 [ PDT+] - Guessing that builds team would migrate these changes to the BRANCH.
Triming off <! and > from the DOCTYPE string.

r=akkana
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62672 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 00:34:07 +00:00
rickg%netscape.com
fba3da6995 fixed PDT+ bugs 30929 and 29749; r=harishd, pollman; a=jar
git-svn-id: svn://10.0.0.236/trunk@62388 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:18:18 +00:00
rickg%netscape.com
34138387e3 fixed pdt bugs 28208 and 3944; r=harishd, a=jar
git-svn-id: svn://10.0.0.236/trunk@62259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 08:44:28 +00:00
rickg%netscape.com
ccc1460b2c PDT+ 3944 and 28948; r=harishd; a=jar
git-svn-id: svn://10.0.0.236/trunk@61739 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 06:14:30 +00:00
harishd%netscape.com
ae783912cf Fix for bug 27710 - (MAC specific)
Forgot to initialize a variable :-(


git-svn-id: svn://10.0.0.236/trunk@60757 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:55:24 +00:00
harishd%netscape.com
0fbcc1aded Backing out fix for Bug 21008.
git-svn-id: svn://10.0.0.236/trunk@60746 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 23:26:19 +00:00
rickg%netscape.com
d72b633f03 removed warnings and fixed bug 27483; r=rods and akkana (for portions)
git-svn-id: svn://10.0.0.236/trunk@60562 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:47:56 +00:00
harishd%netscape.com
9a2a38451a Fixed Bugs:
20087 - [PDT+] Fixed by synchronizing the stacks,
in parser and content sink when FORM behaved as a container.
25202 - Fixed a context-mismatch that was caused while
handling illegal contents in TABLE.
25658 - Tweaked CanOmit() to be a little picky on omitting
misplaced-content in TABLE.
24885 - Removed ADDRESS from being P tag's kid. ( per spec. )

r=pollmann

25880, 21008 - Handling NOTAGS in HEAD.
25749 - SOUND tag is now a non-container and can be
contained by flow-entities. ( per spec. )
22913 - Fixed by not allowing BLOCKQUOTE to be a child of
PRE ( as per spec. )

r=rickg
r=vidur - For changes in content sink.

Did some performace work in nsHTMLTokenizer and nsHTMLTokens.
GIST: Avoiding excessive use of ::strlen() and ::memcpy(). Limiting
RecordTrailingContent() usage.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@60502 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:06:25 +00:00
rickg%netscape.com
0ab79b600b fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
git-svn-id: svn://10.0.0.236/trunk@60478 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:29 +00:00
harishd%netscape.com
d400676ed4 Fix for Bugs
24112 - Fixed the orderding of THEAD, TBODY, and TFOOT
24673 - Fixed the crash my not letting P to contain TABLE ( per spec. )
18308 - Ignoring newlines above BODY
18928 - Fixed by forcing a BODY to open, irrespective of FRAMESET document, if
 'text' is present in the document.
23791 - Made ; in entities optional.
24006 - Fixed by setting the alternate end-comment to be '>'.
24275 - Buffering newlines/whitespace only when it's absolutely necessary.
24462 - Fixed by making NOBR a block closure.
21917 - Being careful about ignoring newlines/whitespace for body content.

r=rickg

24204 - Fixed by opening up BODY for INPUT ( quirks )
Also did a minor change in CNavDTD::DidBuildModel();

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58870 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:27:58 +00:00
harishd%netscape.com
f0e1788e4b Fix for bugs:
22485, 20799 ( SCRIPT content processing)
r=vidur,pollmann
Fix for bugs
22260 ( enabling userdifined tags ) - partial fix.
23765 ( handling misplaced newlines/whitespace).
r=rickg


git-svn-id: svn://10.0.0.236/trunk@57953 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:35:57 +00:00
bienvenu%netscape.com
a871f40ff8 backing out harishd 3:50PM checkin a=mcafee
git-svn-id: svn://10.0.0.236/trunk@57791 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 06:57:53 +00:00
harishd%netscape.com
3c64c50dcb Fix for Bugs 22485, 20799 ( SCRIPT content processing ).
r=vidur,pollmann
Partial fix for bug 22260 ( enabling userdefined Tags ).
r=rickg


git-svn-id: svn://10.0.0.236/trunk@57737 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:50:41 +00:00
rickg%netscape.com
a5f6465a5d Fixed my inverted logic that landed with Harish's checkin.
git-svn-id: svn://10.0.0.236/trunk@57365 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 06:00:58 +00:00
harishd%netscape.com
e61e7a440e Fix for Bugs
19977 - Fixed crash due to misplaced TEXTAREA in TABLE.
20797 - Fixed crash caused by stray </TD>.
20645 - Fixed problem caused due to context mismatch.
22623 - Fixed by not displaying bullet for extra </LI> .
23186 - illegal content ( in TABLE ) problem.
23589 - illegal content problem.

r=rickg

For rickg
Bugs 23451 and 23555 ( Making FONT an inline-entity..as per spec. )

r=harishd


git-svn-id: svn://10.0.0.236/trunk@57331 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:48:35 +00:00
rickg%netscape.com
604f524dd6 fixed bugs 9059, 18928, 19581, 21005, 22351; r=harishd. I also removed warnings
git-svn-id: svn://10.0.0.236/trunk@57137 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:55:15 +00:00
rickg%netscape.com
4446b7a92a fixed bugs: 22510, 22596, 22670, 22838, 22842, 22898, and removed a warning. r=buster
git-svn-id: svn://10.0.0.236/trunk@56679 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:24:04 +00:00
rickg%netscape.com
4ceb98d7fd fixed bug22040 with patch by vidur; r=kmcclusk. Also removed warnings.
git-svn-id: svn://10.0.0.236/trunk@56469 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 01:04:29 +00:00
rickg%netscape.com
48e3a04435 fixed bugs 17663, 17750, 21779, 21787, 22351, 22406; r=dcone, kmcclusk; a=jar
git-svn-id: svn://10.0.0.236/trunk@56445 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:12:49 +00:00
rickg%netscape.com
a25d9509e9 disabled debug code that was writing to the console; part of last checkin
git-svn-id: svn://10.0.0.236/trunk@56276 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 09:44:09 +00:00
rickg%netscape.com
35b0b37df3 landing residual style handling; r=harishd, buster, kmcclusk for various parts; a=jar
git-svn-id: svn://10.0.0.236/trunk@56275 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 07:53:20 +00:00