245 Commits

Author SHA1 Message Date
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
rickg%netscape.com
0a160eb0a8 various bug fixes (PDT+ and other); removed warnings. r=syd
git-svn-id: svn://10.0.0.236/trunk@55067 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:42 +00:00
rickg%netscape.com
7301979853 fixed bug 18312; it's not PDT+, but it's something Phil has been *really* anxious to fix. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@54243 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 03:07:09 +00:00
harishd%netscape.com
1e6fe5a7f5 This checkin contains combined work of rickg and harishd
Harishd's Changes:
 Fix for bugs
 2749    - Tweaked strict comment handling, i.e., <!------> is now treated as an illegal comment in strict mode
16934   - Rectifed reporting of JS line error when a newline is found within a tag.
15204   - Made TEXTAREA content to reflect the source document.
11979, 16826  - Stoping the parser properly on receiving the stop-error message.
17594   - Added code to parse <!DOCTYPE> content correctly.
17496   - Building up the stack for orphaned OPTIONs

r=rickg

Rickg's Changes:
  rickg will be posting comments on his changes by 11/12/99.

r=harishd


git-svn-id: svn://10.0.0.236/trunk@53402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:53:11 +00:00
nisheeth%netscape.com
2bfa653735 a=sdagley. Move over to new timing macros...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
harishd%netscape.com
3d1723b618 Fix for bugs
1312   - Mapped all  HTML 4.0x FPIs to NOQUIRKS mode.
2749   - Tweaked strict comment handling code. -> r=rickg
17148 - Making sure that BeginContext() is ended only by EndContext()
17113, 1262 - Made AddLeaf(), in DTD,  to be cautious in handling text tokens.

Using bit-wise search  for IsContainer() instead of looping. ( nsElementTable )

Fixed warnings.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@52148 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 23:25:59 +00:00
rickg%netscape.com
7d94513269 fixed bug17387 (pre-constructing DTD's). r=warren
git-svn-id: svn://10.0.0.236/trunk@52075 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 09:26:19 +00:00
rickg%netscape.com
b14a509c76 fixed bug17388, dtd leak; r=mscott
git-svn-id: svn://10.0.0.236/trunk@52069 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 07:53:21 +00:00
nisheeth%netscape.com
b7fab4e31c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
nisheeth%netscape.com
c916cc6da1 Changes do not get built in regular build. Fix timing hooks in the parser.
git-svn-id: svn://10.0.0.236/trunk@50896 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:42:09 +00:00
harishd%netscape.com
77f9635cce Fix for Bugs
13640, 13736 - Memory leaks - R=rickg
1312 - Hooked up XHTML DOCTYPE - R=rickg
7590 - Prematuredly closing <SCRIPT> on seeing </SCRIPTERR>
2749 - Strict comment handling for noquirks mode - R=rickg
14955 - LEGEND inside FIELDSET was causing infinite looping - R=rickg,pollmann
14952 - LABEL got closed on seeing SPAN (LABEL can contain SPAN ) - R=pollmann
15381 - comment handling for XIF and HTML - R=akkana
15346 - Stray end tag caused loading blank document - R=rickg,pollmann


git-svn-id: svn://10.0.0.236/trunk@49988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:04:29 +00:00
rickg%netscape.com
685d8d596e fixed bug 15290; eliminated a leak; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@49805 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:54:53 +00:00