Commit Graph
145 Commits
Author SHA1 Message Date
[email protected] 5efcb4434e bug 296212: If the very last character in a document is an &, it gets lost (in both view-source and regular content). r=jst sr=bzbarsky a=chofmann 2005-06-02 23:36:43 +00:00
[email protected] ec2594eacd bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver 2005-06-01 22:11:30 +00:00
[email protected] 88af1db367 bug 288460: Make ScanDocStructure() more strict about tags that break the ShouldVerifyHeirarchy check and mark all children of the tag as malformed so that its children don't think they're well formed. r=rbs sr=bzbarsky a=shaver 2005-06-01 21:08:53 +00:00
[email protected] 452848181d bug 294984: Make sure to create text and end tokens for tags such as <iframe>. This fixes a crash where CNavDTD assumed an end token was coming, but it wasn't. r+sr=bzbarsky a=chofmann 2005-05-22 00:57:37 +00:00
[email protected] dd32e2c9d4 Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
patch by [email protected] r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
[email protected] b9f43ac432 bug 283459: Only flush tokens after <script> to allow for more chances of inlines containing blocks. r=bzbarsky sr=jst 2005-02-26 17:53:46 +00:00
[email protected] 2558e191ff bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky 2005-02-18 18:30:48 +00:00
[email protected] 664c59f087 bug 90664: Make sure we perform RS handling when we can, in cases where tags that cannot nest and normally would be closed out cannot, due to block tags between them. r=jst sr=brendan 2005-02-01 03:00:38 +00:00
[email protected] 59f838cef6 bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs 2005-01-19 23:42:02 +00:00
[email protected] eeaf683154 bug 274786: We lose a trailing <, </, <! if it is the last text in the document. r+sr=jst 2005-01-13 03:05:12 +00:00
[email protected] d21247513f Bug 276148 warning: unused variable `CStartToken*theStartToken' in nsHTMLTokenizer::ConsumeStartTag
patch by [email protected] r=mrbkap sr=peterv
2004-12-29 00:34:49 +00:00
[email protected] f94b868d96 bug 273324: Hang on unclosed comments in standards mode. r=jst sr=bzbarsky 2004-12-07 21:56:39 +00:00
[email protected] 2afd8bafd0 bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs 2004-12-01 04:37:36 +00:00
[email protected] d4ab578468 Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin. 2004-11-11 03:46:51 +00:00
[email protected] 43b886d646 bug 70282: view-source loses the last tag in a document if the tag is unclosed. r=rbs sr=roc 2004-11-11 03:41:52 +00:00
[email protected] a67d3d9e27 bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose 2004-10-17 03:03:46 +00:00
[email protected] d79b198ba8 Bug 226099 [RFE] Highlight "<![CDATA[" and matching "]]>" in View Source
patch by [email protected] r=bz sr=rbs
2004-10-12 18:33:12 +00:00
[email protected] 49bc728c99 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
[email protected] d11a529ec5 Don't set tags empty just because they have bogus attributes. Bug 262346,
patch by Blake Kaplan <[email protected]>, r+sr=bzbarsky
2004-09-30 22:05:23 +00:00
[email protected] 8e64a3b86e View-source of XML files should allow non-ascii chars in start tags. Bug
204573, patch by Blake Kaplan <[email protected]>, r=bzbarsky, sr=rbs
2004-09-17 15:10:47 +00:00
[email protected] 493aba9ff2 Fix assertion to use tempChar too. Bug 258082 follow-up. 2004-09-12 04:49:56 +00:00
[email protected] cad11041c3 Make CTextToken::ConsumeUntil not consume too much text. Bug 258082, patch by
Blake Kaplan <[email protected]>, r=bzbarsky, sr=jst
2004-09-12 01:50:53 +00:00
[email protected] 1ed76a83d6 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
[email protected] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] 1003d0cf7f Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
[email protected] dd7e889afb Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
[email protected] 0a7d9c896a Preserve tokenizer state between document.writes. b=99467, [email protected], [email protected] 2003-05-28 20:56:21 +00:00
[email protected] 592fadaf8b remove unused #include (no reviewer, its just not used) 2003-04-08 20:55:30 +00:00
[email protected] f708efe7f1 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 20:44:25 +00:00
[email protected] e411a897d8 Backing out my changes to see if it fixes the orangeness 2002-12-13 00:28:47 +00:00
[email protected] 5c0c1412e7 Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
Added a couple of testcases to the parser regression test suite
2002-12-12 22:38:40 +00:00
[email protected] 696dfc1a5e Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst 2002-11-19 18:29:35 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] b4a66781e3 use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst 2002-09-03 22:23:22 +00:00
[email protected] fff3bf6fe2 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
[email protected] d7ebbb7e37 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
[email protected] df0a8115d5 Bug 130439: Remove unused function in tokenizer. Patch by [email protected]
r=harishd sr=heikki
2002-05-04 15:41:00 +00:00
[email protected] be3758b8f3 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst 2002-04-11 23:50:44 +00:00
[email protected] 3bae7ffa4a Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
[email protected] e3ca0042cf Backing out timeless's checkin. This wasn't supposed to happen until we branched 2002-04-09 00:43:00 +00:00
[email protected] a6033e0904 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
[email protected] e990a4631d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
[email protected] 1feece8b06 Should not support short-hand-tag notation in HTML. b=102515, r=heikki, sr=jst, a=scc 2002-03-20 00:24:00 +00:00
[email protected] ccac212819 Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
[email protected] a1c9cb1d53 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
[email protected] 0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
[email protected] 444770fccd 103095 - Do not ignore '/', in short hand tags, in viewsource [ fixing regression ].
r=peterv, sr=jband.
2001-12-12 01:08:51 +00:00
[email protected] 02ef0b1767 106746 - Do not allow DD to contain DT and vice versa.
103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.

r=heikki, sr=jst
2001-12-07 21:33:12 +00:00
[email protected] bc89fe4176 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. [email protected], [email protected] 2001-11-28 06:13:11 +00:00
[email protected] 74848c768e Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00