208 Commits

Author SHA1 Message Date
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
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
harishd%netscape.com
c51469a9f3 Fix for 36233, 36754, 36491, 36323
Make sure that DTD's WillBuildModel() is not
called multiple times,i.e.,we shouldn't leave auto-detect-status
unknown

r=rickg


git-svn-id: svn://10.0.0.236/trunk@67152 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:59:43 +00:00
rickg%netscape.com
0d6131fe26 enabling Strict DTD; r=harishd.
git-svn-id: svn://10.0.0.236/trunk@66897 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 03:28:18 +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
rickg%netscape.com
926b4bff3d backing out for now; I'll retry tomorrow
git-svn-id: svn://10.0.0.236/trunk@66437 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 09:04:46 +00:00
rickg%netscape.com
57616b9065 removed warnings; retry landing Strict DTD. r=harishd
git-svn-id: svn://10.0.0.236/trunk@66430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:08:28 +00:00
rickg%netscape.com
59931d007b correct linux build problem
git-svn-id: svn://10.0.0.236/trunk@66184 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:21:19 +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
dd2b4f8ffb making string conversions explict
git-svn-id: svn://10.0.0.236/trunk@65023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:09:23 +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
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
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
a902201936 Fix for 31873,32094,32337.
Checking in for rickg.
r=me.


git-svn-id: svn://10.0.0.236/trunk@63384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 09:15:01 +00:00
harishd%netscape.com
ebca89a38b Fix for 32263
Create a new instance of the DTD when called by
the JS engine ( only when creating a new parser context ).
r=rickg.


git-svn-id: svn://10.0.0.236/trunk@63381 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:48:09 +00:00
harishd%netscape.com
388e7fbe08 Fix for 31846 [PDT+]
r=rickg
a=jar,rickg


git-svn-id: svn://10.0.0.236/trunk@63345 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:49:54 +00:00
rickg%netscape.com
eed4db9e31 fix to PDT+bug 32022; r=harish, rickg, markA, troy; a=jar
git-svn-id: svn://10.0.0.236/trunk@63247 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:12:17 +00:00
rickg%netscape.com
86e1f012cc second phase of deprecated method removal.
git-svn-id: svn://10.0.0.236/trunk@62710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:01:10 +00:00
rickg%netscape.com
6fca8208a2 fixed PDT+ bug 30026; r=harishd, markA; a=jar
git-svn-id: svn://10.0.0.236/trunk@62635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 08:08:24 +00:00
waterson%netscape.com
9d5206017d Bug 27222. Make sure that we grab aListener and stuff it into mObserver, so that parser observers work. r=harishd, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62286 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:35:20 +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
rickg%netscape.com
bd06145f9b fixed pdt+ 28342; r=harishd; a=jar; precheckins passed
git-svn-id: svn://10.0.0.236/trunk@61425 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 06:26:06 +00:00
ftang%netscape.com
7fddcbc3a2 fix 222203 . r = harishd move the scanner set character set code into the set charset function with if statement
git-svn-id: svn://10.0.0.236/trunk@60853 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 09:13:27 +00:00
rickg%netscape.com
cd259454d6 oops -- case error in filename
git-svn-id: svn://10.0.0.236/trunk@60480 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:50:36 +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
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
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
rickg%netscape.com
744ff57786 added debug code for ParseFragment(); r=harishd
git-svn-id: svn://10.0.0.236/trunk@57135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:53:43 +00:00
sspitzer%netscape.com
e39a00b343 fix warning.
git-svn-id: svn://10.0.0.236/trunk@56645 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-02 08:53:07 +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
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
rickg%netscape.com
c5e57a05f3 removed debug-test code I added yesterday that caused problem with pasting fragments; My apologies. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@55626 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:35:57 +00:00
rickg%netscape.com
51c4bb8682 finally landing residual style handling code; r=harishd; other changes include warning removal and comment handling fix, r=buster. This fixes over 50 bugs.
git-svn-id: svn://10.0.0.236/trunk@55489 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:22:15 +00:00
rickg%netscape.com
6d81d0e4d1 fixed PDT+19121; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@55130 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:30:29 +00:00