75 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
7deb350f0f Remove static constructors. GetScratchString was no longer used and GetTempStack was used too rarely to be a real performance benefit. r=harishd@netscape.com sr=waterson@netscape.com b=63014
git-svn-id: svn://10.0.0.236/trunk@84702 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:08 +00:00
vidur%netscape.com
155a78d2ed Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83797 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:58:53 +00:00
vidur%netscape.com
0e19ac99ad Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83796 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:44:10 +00:00
vidur%netscape.com
3e62b3f9f3 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
harishd%netscape.com
88aa869a01 56501 - Dealing with NOSCRIPT contents
r=jst
sr=scc, vidur


git-svn-id: svn://10.0.0.236/trunk@81234 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:30:08 +00:00
leaf%mozilla.org
8cb2416476 backing out backout. rickg and buster found the one line problem in nsElementTable.cpp, fixed on n6 branch, merging to trunk.
git-svn-id: svn://10.0.0.236/trunk@81036 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 18:46:55 +00:00
leaf%mozilla.org
2f29f2439c backing out rickg's htmlparser changes (backing out fixes 56265 for two
independent developers).


git-svn-id: svn://10.0.0.236/trunk@81034 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 18:22:15 +00:00
rickg%netscape.com
2bad60b783 fixed RTM++ compatibility bugs: 53011, 54117, 54651, 54834, 54840, 55095. sr=buster, r=buster, attinasi, harish, sfraser for various portions.
git-svn-id: svn://10.0.0.236/trunk@80977 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:42:00 +00:00
rickg%netscape.com
4621c994de fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
git-svn-id: svn://10.0.0.236/trunk@79696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:58:12 +00:00
rickg%netscape.com
ece465da5b fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster
git-svn-id: svn://10.0.0.236/trunk@78537 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:06:13 +00:00
harishd%netscape.com
34a0c50b1e 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
harishd%netscape.com
12ebb61ff1 42429 - Pass whitespace, inside table, to the sink.
44178 - Enabled SERVER tag
43005 - Made HR a block element per spec.
43499 - Made XML document with .txt extension to be rendered as plain text
45437 - Enabled META charset notification in strict DTD.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@75912 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:28:41 +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
rickg%netscape.com
76d5cb7753 fixed beta2 bugs: 38203, 38228, 39520, 40060, and WIP for bug 40190; also enabled debug code for automated regression testing of content models.
git-svn-id: svn://10.0.0.236/trunk@70819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:19:32 +00:00
rickg%netscape.com
4f20234171 enabled empty element support in StrictDTD
git-svn-id: svn://10.0.0.236/trunk@69771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:52:38 +00:00
rickg%netscape.com
bd3e3d8caf more WIP for strict DTD; r=harishd
git-svn-id: svn://10.0.0.236/trunk@69081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:37:32 +00:00
harishd%netscape.com
0275e427e2 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:09:09 +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
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
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