Commit Graph
166 Commits
Author SHA1 Message Date
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Henri Sivonen 2fa0fb46af Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Ben Newman d050b2670c Bug 484121 (5/6) - Avoid needlessly passing nsIContentSink parameters to nsIDTD methods. r+sr=mrbkap 2009-06-23 14:22:17 -07:00
Ben Newman cdf9308eef Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Ben Newman 06b02c784a Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Peter Van der Beken 4791b7137f Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman 2657237b2f imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Blake Kaplan 8b7aa979a4 Bug 458440 - Turn speculative parsing back on and clean up the code a little. r+sr=jst 2008-11-11 10:52:40 -08:00
Blake Kaplan 05459fcc86 Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Taras Glek 18acd5bbe2 bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
864d3e1ca3 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
8867eb4e89 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst 2007-05-08 05:19:32 -07:00
[email protected] c1e59bc293 Improved NS_ERROR_OUT_OF_MEMORY error handling. b=354074 r=mrbkap sr=jst 2006-10-27 01:49:52 +00:00
[email protected] 97febb99f5 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst 2006-01-31 22:19:46 +00:00
[email protected] b7bb7ea36a bug 316582: Clean up the style in nsHTMLTokenizer.cpp. This also contains a bit of dead-code elimination in ConsumeAttribute. r=sicking sr=dveditz 2005-12-02 22:38:19 +00:00
[email protected] f7e439d8ad Fixing bustage from bug 315927. 2005-11-11 19:59:01 +00:00
[email protected] 4e09d3f606 bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst 2005-11-11 19:11:36 +00:00
[email protected] 626488b564 bug 299036: Fix crash in CNavDTD by moving newline stripping into the tokenizer. This reduces our reliance on the invariants that the tokenizer tries to provide. r+sr=jst a=chofmann 2005-06-29 02:46:45 +00:00
[email protected] 95c763c4ee bug 298264: Change (to if-returns) and remove unnecessary NS_ENSURE_SUCCESS()s to reduce debug clutter. r=jst sr+a=brendan 2005-06-21 04:29:02 +00:00
[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