Commit Graph

155 Commits

Author SHA1 Message Date
rickg@netscape.com
9c23f5c8bc fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD 2000-04-17 06:33:31 +00:00
scc@netscape.com
17f4d45fbc making string conversions explicit 2000-04-03 08:04:52 +00:00
harishd@netscape.com
6744ea96b1 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
2000-03-30 01:06:49 +00:00
scc@netscape.com
3cf61b8a45 small changes to clients of string converting APIs 2000-03-26 08:43:22 +00:00
rickg@netscape.com
d919a74980 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd 2000-03-25 03:35:50 +00:00
harishd@netscape.com
98fe4a6aac Added AppendSource() into keep the semantics of
GetSource() alive. This should give us some performance
in adding skipped content to the node.

r=pollmann
2000-03-23 21:19:05 +00:00
tbogard@aol.net
526c80d9e6 Don't try to Truncate when we fail to find the character. Actually, just do an assignment with the character location as the count size. This is actually a checkin for scc. r=travis 2000-03-23 04:13:49 +00:00
harishd@netscape.com
fc07f22eb8 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
2000-03-22 22:13:50 +00:00
rickg@netscape.com
f893513a91 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
harishd@netscape.com
b303231c5b Fix for 15204 [ PDT+]
Including tag name when recording trailing contents ( only used on TEXTAREA)
r=pollmann
a=rickg
2000-03-09 22:16:10 +00:00
rickg@netscape.com
ffe295d68d fixed PDT+ bugs 30929 and 29749; r=harishd, pollman; a=jar 2000-03-08 06:18:18 +00:00
rickg@netscape.com
c8b9369339 removed warnings -- unused variables; r=none 2000-02-13 17:39:47 +00:00
rickg@netscape.com
edc8999bb5 removed warnings and fixed bug 27483; r=rods and akkana (for portions) 2000-02-12 01:47:56 +00:00
harishd@netscape.com
a942189ac3 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
2000-02-11 22:06:25 +00:00
rickg@netscape.com
59d5aae76b improve token initializer 2000-02-11 15:25:39 +00:00
rickg@netscape.com
8ec7c86596 fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd 2000-02-11 12:11:29 +00:00
harishd@netscape.com
7acc16c3e5 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
2000-01-27 02:27:58 +00:00
harishd@netscape.com
940860b148 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
2000-01-15 20:35:57 +00:00
bienvenu@netscape.com
cc49b517f1 backing out harishd 3:50PM checkin a=mcafee 2000-01-14 06:57:53 +00:00
harishd@netscape.com
98746dfe40 Fix for Bugs 22485, 20799 ( SCRIPT content processing ).
r=vidur,pollmann
Partial fix for bug 22260 ( enabling userdefined Tags ).
r=rickg
2000-01-13 23:50:41 +00:00
rickg@netscape.com
6af41b60f5 landing residual style handling; r=harishd, buster, kmcclusk for various parts; a=jar 1999-12-21 07:53:20 +00:00
rickg@netscape.com
00db291d72 finally landing residual style handling code; r=harishd; other changes include warning removal and comment handling fix, r=buster. This fixes over 50 bugs. 1999-12-07 00:22:15 +00:00
rickg@netscape.com
a4af500b5f various bug fixes (PDT+ and other); removed warnings. r=syd 1999-12-02 10:14:42 +00:00
rickg@netscape.com
50db323a88 landing updates for harish, and residual style WIP; r=rickg 1999-11-22 06:18:24 +00:00
rickg@netscape.com
3c79b8bc2b trivial removal of warnings; r=none 1999-11-14 23:15:35 +00:00
harishd@netscape.com
3e733538e4 Another attempt to fix the bustage!!! 1999-11-13 04:56:56 +00:00
harishd@netscape.com
ec2befafc0 Fix for the bustage. 1999-11-13 04:37:54 +00:00
harishd@netscape.com
be2cc5a0e3 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
1999-11-13 03:53:11 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
harishd@netscape.com
5a23df91ef 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
1999-10-28 23:25:59 +00:00
rickg@netscape.com
18c3f4252b fixed bug 16584; CRCRLF not handled correctly. r=syd 1999-10-19 08:52:30 +00:00
harishd@netscape.com
a73350ce77 Bug fix 2749 - Tweaked comment handling in quirks mode.
Bug fix 15992 - Line breaks within script and style were not getting counted
Related to bug 15423 - Rectified a glitch in Nav. DTD code where a doctype tag
                                         was opening up a body.
Userdefined tags are now treated as containers.
Added Kipp's Leaky Tool

r=pollmann.
1999-10-14 23:37:21 +00:00
rickg@netscape.com
591a931e83 fixed bug 15881; r=kmcclusk 1999-10-07 23:52:29 +00:00
harishd@netscape.com
921d2e7a2b 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
1999-10-06 19:04:29 +00:00
rickg@netscape.com
8ca3fde4d4 performance and bug fixes: r=buster a=chofmann 1999-09-30 04:04:53 +00:00
rickg@netscape.com
e303cf8092 allow newline in text runs for better text performance on linux/mac 1999-09-20 19:27:41 +00:00
rickg@netscape.com
784523d2a3 removed a bunch of statically constructed objects 1999-09-19 16:51:08 +00:00
harishd@netscape.com
00d70e7128 Replacing ostream to nsStream in DebugDump methods. 1999-09-02 18:30:31 +00:00
harishd@netscape.com
0395843648 Cleaned up some code.
Fixed  bugs 5974, 12641, and 12389.
1999-09-01 01:01:21 +00:00
rickg@netscape.com
595cd1448a corrected string usage errors and removed warning 1999-08-29 17:35:19 +00:00
harishd@netscape.com
0246e1df99 Minor adjustments in consuming attributes ( Tracking down '<'). 1999-08-25 21:27:43 +00:00
rickg@netscape.com
77c183f002 removed warnings, unused debug code and a crufy comment 1999-08-25 03:10:47 +00:00
slamm@netscape.com
609d38c5ff Add a newline to the end of the file. 1999-08-10 23:17:10 +00:00
nisheeth@netscape.com
609bb12eb7 Fix for bug 8607. DOCTYPE decls are now propagated from the XML tokenizer to the XML content sink. 1999-08-07 06:26:01 +00:00
rickg@netscape.com
2eabb87a1e fixed bug 6659 1999-08-06 09:20:42 +00:00
harishd@netscape.com
c81d7132b0 Tweaks... Removed an extra append call. 1999-08-03 00:07:58 +00:00
bruce@cybersight.com
5ba873b8f1 Add newlines for unix compilers. 1999-07-27 20:31:21 +00:00
nisheeth@netscape.com
d162e65cd8 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
rickg@netscape.com
a30817a6cc remove warnings, bug fixes, API enhancements 1999-07-25 17:23:24 +00:00
harishd@netscape.com
f974dbbb73 Tweaked my previous checkin in fixing
bug# 7548.  Changed Sanitize() method to
SanitizeKey().
1999-07-22 22:30:13 +00:00