56 Commits

Author SHA1 Message Date
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
scc%netscape.com
4cebb949ef making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +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
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
harishd%netscape.com
662dcce3f2 Fix for 15204 [ PDT+]
Including tag name when recording trailing contents ( only used on TEXTAREA)
r=pollmann
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:16:10 +00:00
harishd%netscape.com
9a2a38451a 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


git-svn-id: svn://10.0.0.236/trunk@60502 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:06:25 +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
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
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
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
shaver%netscape.com
9d0148c5b0 Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.


git-svn-id: svn://10.0.0.236/trunk@54511 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 17:47:05 +00:00
jdunn%netscape.com
70bee2b278 adding newline at end of file... required by HP
git-svn-id: svn://10.0.0.236/trunk@53473 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 20:26:08 +00:00
rickg%netscape.com
a01e50e17f 2nd half of parser wip; lots of bugs; r=harishd
git-svn-id: svn://10.0.0.236/trunk@53451 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:23:11 +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
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
kipp%netscape.com
2f8faa4f89 Removed most of the static ctors
git-svn-id: svn://10.0.0.236/trunk@49058 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:05:51 +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
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
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
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
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
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
0db543897b fix bug 10109
git-svn-id: svn://10.0.0.236/trunk@40077 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 05:30:49 +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
104cf247c4 Treating <SCRIPT> as CDATA.
git-svn-id: svn://10.0.0.236/trunk@39703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:36:04 +00:00
nisheeth%netscape.com
77b04b9c0b Fix for bug 8703. We now display errors for incomplete XML files like "<b><c></c>". XML_Parse() was not being called with the isFinal parameter set to TRUE after the last chunk of data was passed to expat. Fixed.
git-svn-id: svn://10.0.0.236/trunk@39521 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 08:23:37 +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
harishd%netscape.com
9519ff1dd7 Subtleties involved in treating <SCRIPT> as CDATA ( internally ).
Therefore, undoing my change in fixing Bug# 7853.


git-svn-id: svn://10.0.0.236/trunk@37258 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:47:54 +00:00
harishd%netscape.com
5eab108ef1 Fix for Bug# 7853.
Treating SCRIPT to be CDATA.


git-svn-id: svn://10.0.0.236/trunk@37211 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 19:58:30 +00:00
harishd%netscape.com
dccdd615d3 Fix for Bug# 6749
git-svn-id: svn://10.0.0.236/trunk@34464 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:10:30 +00:00
rickg%netscape.com
497df4ffa4 fixed bug 7275 -- dup identifier
git-svn-id: svn://10.0.0.236/trunk@33609 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:56:22 +00:00
harishd%netscape.com
e8154e17b9 Fix for bug# 6960. Treating '<<' as equivalent to '&lt;<'
git-svn-id: svn://10.0.0.236/trunk@33425 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:33:08 +00:00
rickg%netscape.com
2903ac39ff fix bug 6901 per CYEH
git-svn-id: svn://10.0.0.236/trunk@32484 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:01:37 +00:00
rickg%netscape.com
ec1b421792 checkin to fix bugs per hofmann
git-svn-id: svn://10.0.0.236/trunk@32387 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 07:36:54 +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
rickg%netscape.com
119eebea1c fixed bugs: 4482 and 5460
git-svn-id: svn://10.0.0.236/trunk@29267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:48:07 +00:00
rickg%netscape.com
c1a9c636d1 sync with new nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:02:14 +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
rickg%netscape.com
dbccdc95c5 another fix for entities
git-svn-id: svn://10.0.0.236/trunk@25021 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 01:27:41 +00:00
rickg%netscape.com
67ae246c6c fixed badly formed entity bug
git-svn-id: svn://10.0.0.236/trunk@24748 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:23:51 +00:00
rickg%netscape.com
547a0d6c89 removed memory leak
git-svn-id: svn://10.0.0.236/trunk@24438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 10:20:29 +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
vidur%netscape.com
e7ba5a8b0b Fix to get old XML parser to see CDATASections again
git-svn-id: svn://10.0.0.236/trunk@22622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:20:45 +00:00