akkana%netscape.com
7f48615b17
Warning fix (part of checkin for 38154). r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@72417 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:24:06 +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
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
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
mjudge%netscape.com
650e065f82
else statement missing. grrr
...
git-svn-id: svn://10.0.0.236/trunk@69534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:40:38 +00:00
mjudge%netscape.com
8b0c5ad03e
small change bad return type. use assign with conversion
...
git-svn-id: svn://10.0.0.236/trunk@67170 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:03:07 +00:00
mjudge%netscape.com
3cd9a051da
making string conversions explicit. scc
...
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
scc%netscape.com
a92da1cfda
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66630 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:15:53 +00:00
jgaunt%netscape.com
1e866dd5dc
Fixing build bustage: adding newline for HPUX
...
git-svn-id: svn://10.0.0.236/trunk@66340 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:48:04 +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
scc%netscape.com
3466d240d3
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66097 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:48:07 +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
scc%netscape.com
9f7baabe03
small changes to clients of string converting APIs
...
git-svn-id: svn://10.0.0.236/trunk@64159 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:43:22 +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
akkana%netscape.com
3ad292276a
19428: fix copying from a document with a doctype.
...
Also add test cases to notice this if it ever regresses.
Fix from harishd, r=me, a=rickg.
git-svn-id: svn://10.0.0.236/trunk@61464 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 01:23:29 +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
rickg%netscape.com
c74d2b6a53
backout part of xif update; r=none (because it's a backout)
...
git-svn-id: svn://10.0.0.236/trunk@60495 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:34:12 +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
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
0abfa57047
This fixes PDT+Bug:20228. The essential problem was the lack of refcounting on tokenizers. Also fixed unchecked
...
dereferences in expattokenizer. r=kmcclusk; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55839 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:01:26 +00:00
akkana%netscape.com
4cd9cfb812
20253, 20246: Fix extra ; after entity output. Clean up the code which
...
inserts the "html" text for an open html tag. Changes from rickg to
remove large amounts of obsolete code from nsXIFDTD. r=rickg
git-svn-id: svn://10.0.0.236/trunk@54933 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:09:21 +00:00
akkana%netscape.com
6bd223eae3
19515: fix a XIF DTD problem where text nodes with names corresponding
...
to XIF node names didn't make it into the output. Fix from rick, r=me.
Also, a temp fix to the html output sink to get around bug 20246,
and a couple of test case tweaks.
git-svn-id: svn://10.0.0.236/trunk@54617 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:33:32 +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
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
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
vidur%netscape.com
30b1f0a71b
Converted parser into a module. NS_NewFoo routines are temporarily inlined to call component manager. Introduced nsIParserService for temporary replacement of nsHTMLTags and nsHTMLEntities static methods. RickG to do complete review.
...
git-svn-id: svn://10.0.0.236/trunk@49499 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:01:48 +00:00
kipp%netscape.com
89cd4dd015
Fixed name of CID to be CID
...
git-svn-id: svn://10.0.0.236/trunk@49452 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:02:20 +00:00
harishd%netscape.com
7a4a0e5db4
Fix for bugs 13498, 14199, 8389, 13640.
...
git-svn-id: svn://10.0.0.236/trunk@48445 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:24:28 +00:00
harishd%netscape.com
10a9e27c68
Adding support for DOCTYPE.
...
Also, fix for bug 13566.
git-svn-id: svn://10.0.0.236/trunk@47593 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:54:23 +00:00
akkana%netscape.com
18a7c600b5
Fix mem leak similar to 13641
...
git-svn-id: svn://10.0.0.236/trunk@47177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:50:04 +00:00
akkana%netscape.com
bcaf5ec635
Fix memory leak 13641: don't allocate a new CAttributeToken unless we're going to pass it to AddAttribute
...
git-svn-id: svn://10.0.0.236/trunk@47156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:26:14 +00:00
akkana%netscape.com
60e68b3f1c
13052: move comment handling to OpenContainer, to ensure that open/close tags are balanced
...
git-svn-id: svn://10.0.0.236/trunk@46196 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:09:36 +00:00
harishd%netscape.com
5d3d91189e
Fix for Bug# 3571.
...
Added Terminate() method in nsIDTD.
git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:54:46 +00:00
rickg%netscape.com
d24bcf85fd
substitute calls to deprecated string API
...
git-svn-id: svn://10.0.0.236/trunk@41074 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:24:02 +00:00
jfrancis%netscape.com
744e1a0e4c
assorted work to expose nav html dtd to editor
...
git-svn-id: svn://10.0.0.236/trunk@40185 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:52:48 +00:00
rickg%netscape.com
94ea0e1b16
switching to faster string APIs
...
git-svn-id: svn://10.0.0.236/trunk@40069 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:09:16 +00:00
peterl%netscape.com
82107c30bd
changed to preprocessor for code generation for tag & entity tables
...
cleanup tag and entity lookup apis
git-svn-id: svn://10.0.0.236/trunk@39926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:12:32 +00:00
akkana%netscape.com
2787dec93c
5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace
...
git-svn-id: svn://10.0.0.236/trunk@36697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:15:52 +00:00
rickg%netscape.com
1f82bdb300
fixed bug 6597 and added memory allocation conditioning
...
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00
rickg%netscape.com
8cc14193f7
final features for parsing engine (WIP); lots of bug fixes
...
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00
bruce%cybersight.com
ed4fb79ac6
Fix for AIX build bustage: "../../../htmlparser/src/nsXIFDTD.cpp", line 1690.31: 1540-224: (S) Conversion from "nsString" to a reference to a non-const type "nsString&" requires a temporary.
...
git-svn-id: svn://10.0.0.236/trunk@29163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 07:31:09 +00:00
kostello%netscape.com
1a6701bd85
Added support to use the specified document charset when encoding a
...
document to HTML to Text. The charset information is first encoded
in XIF and then that information is used when interpretting the unicode
for output.
Added support to output character entity information which should address
bug 4709
git-svn-id: svn://10.0.0.236/trunk@29162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 06:16:49 +00:00
rickg%netscape.com
716929551b
major rev to parsing engine
...
git-svn-id: svn://10.0.0.236/trunk@26286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:55:49 +00:00
briano%netscape.com
7fbe49f21d
Added a newline at the end of the file to make a couple of Unix builds happier.
...
git-svn-id: svn://10.0.0.236/trunk@25559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:48:20 +00:00
rickg%netscape.com
b91799a999
minor fixes to parser; fixed DoCopy
...
git-svn-id: svn://10.0.0.236/trunk@24668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 10:19:09 +00:00
rickg%netscape.com
2a7f41a86b
fixed a dozen bugs
...
git-svn-id: svn://10.0.0.236/trunk@24432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:47:51 +00:00
kostello%netscape.com
212c5568d0
Added nsIHTMLContentSink::DoFragment() method.
...
Added support for conversion of HTML entities in output
git-svn-id: svn://10.0.0.236/trunk@24161 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:08:36 +00:00
kostello%netscape.com
32ae1e3029
Fixed bug 3664: not checking for null condition
...
git-svn-id: svn://10.0.0.236/trunk@23900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:50:41 +00:00
brade%netscape.com
f51a003d2b
add static to 2 functions to reduce Macintosh compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@22727 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:54:48 +00:00