141 Commits

Author SHA1 Message Date
rickg%netscape.com
87927ff949 improve token initializer
git-svn-id: svn://10.0.0.236/trunk@60492 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 15:25:39 +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
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
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
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
4cacfb312f landing updates for harish, and residual style WIP; r=rickg
git-svn-id: svn://10.0.0.236/trunk@54129 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 06:18:24 +00:00
rickg%netscape.com
698b534caa trivial removal of warnings; r=none
git-svn-id: svn://10.0.0.236/trunk@53479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 23:15:35 +00:00
harishd%netscape.com
8f5bb2e4a0 Another attempt to fix the bustage!!!
git-svn-id: svn://10.0.0.236/trunk@53409 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 04:56:56 +00:00
harishd%netscape.com
3590e2325e Fix for the bustage.
git-svn-id: svn://10.0.0.236/trunk@53406 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 04:37:54 +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
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
6dafd0deac fixed bug 16584; CRCRLF not handled correctly. r=syd
git-svn-id: svn://10.0.0.236/trunk@51125 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 08:52:30 +00:00
harishd%netscape.com
1cd0327569 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.


git-svn-id: svn://10.0.0.236/trunk@50722 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:37:21 +00:00
rickg%netscape.com
32ae9a79ff fixed bug 15881; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50170 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:52:29 +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
447e168990 performance and bug fixes: r=buster a=chofmann
git-svn-id: svn://10.0.0.236/trunk@49400 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:04:53 +00:00
rickg%netscape.com
62a4c30ee3 allow newline in text runs for better text performance on linux/mac
git-svn-id: svn://10.0.0.236/trunk@48354 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 19:27:41 +00:00
rickg%netscape.com
207d88ebf9 removed a bunch of statically constructed objects
git-svn-id: svn://10.0.0.236/trunk@48258 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:51:08 +00:00
harishd%netscape.com
404bb38877 Replacing ostream to nsStream in DebugDump methods.
git-svn-id: svn://10.0.0.236/trunk@45706 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:30:31 +00:00
harishd%netscape.com
51c8b6da88 Cleaned up some code.
Fixed  bugs 5974, 12641, and 12389.


git-svn-id: svn://10.0.0.236/trunk@45396 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:01:21 +00:00
rickg%netscape.com
6f7f47de92 corrected string usage errors and removed warning
git-svn-id: svn://10.0.0.236/trunk@45065 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:35:19 +00:00
harishd%netscape.com
6ba9a03c27 Minor adjustments in consuming attributes ( Tracking down '<').
git-svn-id: svn://10.0.0.236/trunk@44520 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:27:43 +00:00
rickg%netscape.com
9a8d155dac removed warnings, unused debug code and a crufy comment
git-svn-id: svn://10.0.0.236/trunk@44439 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 03:10:47 +00:00
slamm%netscape.com
2125e5aafb Add a newline to the end of the file.
git-svn-id: svn://10.0.0.236/trunk@43078 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:17:10 +00:00
nisheeth%netscape.com
a03e6e3036 Fix for bug 8607. DOCTYPE decls are now propagated from the XML tokenizer to the XML content sink.
git-svn-id: svn://10.0.0.236/trunk@42648 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:26:01 +00:00
rickg%netscape.com
f80c94e310 fixed bug 6659
git-svn-id: svn://10.0.0.236/trunk@42431 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 09:20:42 +00:00
harishd%netscape.com
4991bec52e Tweaks... Removed an extra append call.
git-svn-id: svn://10.0.0.236/trunk@41893 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:07:58 +00:00
bruce%cybersight.com
4e78218d9d Add newlines for unix compilers.
git-svn-id: svn://10.0.0.236/trunk@41305 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:31:21 +00:00
nisheeth%netscape.com
0069328861 - 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.


git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
rickg%netscape.com
aed2a73b26 remove warnings, bug fixes, API enhancements
git-svn-id: svn://10.0.0.236/trunk@41054 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:23:24 +00:00
harishd%netscape.com
3b06f359e0 Tweaked my previous checkin in fixing
bug# 7548.  Changed Sanitize() method to
SanitizeKey().


git-svn-id: svn://10.0.0.236/trunk@40722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:30:13 +00:00
harishd%netscape.com
830f6f3a3f Fix for bug# 7548.
Added a Sanitize() method for attribute tokens that
would remove non-alpha-non-digit characters from the
end of a string ( could be a "key" or "value")


git-svn-id: svn://10.0.0.236/trunk@40668 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:06:00 +00:00
rickg%netscape.com
bb00524732 fixed bugs 10104 and 10107 -- also removed warnings
git-svn-id: svn://10.0.0.236/trunk@40247 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 06:58:01 +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
harishd%netscape.com
5545a53a24 Added a little comment about <SCRIPT> and <STYLE>
git-svn-id: svn://10.0.0.236/trunk@39706 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:37:26 +00:00
rickg%netscape.com
1958024e3d bug fixes, warning removal, perf. improvements
git-svn-id: svn://10.0.0.236/trunk@39702 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:31:38 +00:00
harishd%netscape.com
b4f24c9d6b A little tweaking to my previous checkin.
Checking for NS_OK.


git-svn-id: svn://10.0.0.236/trunk@39280 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 16:04:41 +00:00
harishd%netscape.com
4a1aba47c8 Added support for javascript entities in the parser.
More refinement in collecting content within <SCRIPT>,i.e.,
paying attention to quotes, apostrophe,etc.


git-svn-id: svn://10.0.0.236/trunk@39279 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 16:01:38 +00:00
rickg%netscape.com
6feda3d8fe fixed API error
git-svn-id: svn://10.0.0.236/trunk@38784 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 04:59:28 +00:00
rickg%netscape.com
c2aacff36d fixed bug 9386 and added Terminate() to parser API
git-svn-id: svn://10.0.0.236/trunk@38783 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 04:39:38 +00:00
rickg%netscape.com
1de3f3dd0a fix bugs 8523, 9127, parially fix 8803
git-svn-id: svn://10.0.0.236/trunk@38647 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:40:35 +00:00
rickg%netscape.com
0bae0c1a04 faster viewing of text, bugs: 7889, 7892, 8047, 3795
git-svn-id: svn://10.0.0.236/trunk@35098 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:24:25 +00:00
harishd%netscape.com
2b7f6ba4fb Fix for Bug#6749
Made </SCRIPT> and </STYLE> to represent document's case in viewsource.


git-svn-id: svn://10.0.0.236/trunk@34463 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:09:52 +00:00
rickg%netscape.com
5614b7a1e9 fixed bugs 4396 and 7381
git-svn-id: svn://10.0.0.236/trunk@33699 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:34:36 +00:00