Commit Graph

2141 Commits

Author SHA1 Message Date
bsmedberg%covad.net
9d6eceb84f typo fix 2005-11-16 22:28:57 +00:00
bsmedberg%covad.net
2dba33766b Don't build robot with libxul, r=mrbkap, no bug 2005-11-16 21:06:57 +00:00
bzbarsky%mit.edu
79da4ded63 Move some basic macros for working with UTF16 from intl to XPCOM; use them in
some places including the HTML parser.  Part of fix for bug 316394; the CSS
parser changes are still coming.  r=smontagu, r=mrbkap on parser changes, sr=dbaron
2005-11-15 18:17:22 +00:00
mrbkap%gmail.com
e1167faec5 bug 315933: Trailing /s in XML shouldn't be marked in error, since they're generally not. Truely invalid /s will get shown to be so by the real XML parser. r+sr=jst 2005-11-14 21:59:16 +00:00
mrbkap%gmail.com
8bb3c4296e bug 311907: Use a function that correctly updates the DTD internal flags so that invalid <body>s in the new string don't confuse us. r=bzbarsky sr=jst 2005-11-14 21:55:34 +00:00
mrbkap%gmail.com
415d50348d bug 316186: Fix stupid numbering botch in the view source DTD. The
compiler does such a better job anyway. r+sr=bzbarsky
2005-11-13 19:19:49 +00:00
mrbkap%gmail.com
e6a2158be7 bug 316100: Cleanup some unused members and virtual functions in nsDTDUtils. r+sr=jst 2005-11-11 20:42:51 +00:00
mrbkap%gmail.com
b1a0a4906e Fixing bustage from bug 315927. 2005-11-11 19:59:01 +00:00
mrbkap%gmail.com
804d3df1a0 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
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
09c773fac3 bug 76412: Clean up some obvious things in the view source DTD, as well as ripping out obsolete and unused error reporting cruft. r+sr=bzbarsky 2005-11-10 22:47:09 +00:00
mrbkap%gmail.com
d8e25200c2 bug 314980: Handle trailing XML-like slashes by not accepting them into the attribute key at all, not by stripping them once they're already there. r=bzbarsky sr=jst 2005-11-08 00:05:09 +00:00
mrbkap%gmail.com
9cb0c090a1 bug 312104: Parse entities in textareas like we used to (allowing values > 255 with no terminating semicolon). r=bzbarsky sr=brendan 2005-11-03 18:12:38 +00:00
mrbkap%gmail.com
3f9830946d bug 314759: Update our flags when we open a frameset and close the head. r=sicking sr=jst 2005-11-02 22:51:17 +00:00
mrbkap%gmail.com
8dbf1de5a0 bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst 2005-11-02 01:10:37 +00:00
peterv%propagandism.org
0084b6dc4a Backing out to fix orange. 2005-10-28 13:48:13 +00:00
peterv%propagandism.org
b11bba112f Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-28 13:21:14 +00:00
mrbkap%gmail.com
783fed5a5c bug 243056: legend tags containing invalid HTML don't cope very well. r=jst sr=bzbarsky 2005-10-27 21:51:37 +00:00
mrbkap%gmail.com
c924848adc bug 314092: <object> prefers to be in the body, not the head. r+sr=jst 2005-10-27 21:46:31 +00:00
cvshook%sicking.cc
f4cfc7ed4d Bug 313327: Fix regression caused by my last checkin. Don't put forms on the tag stack to avoid closing them prematurly.
r=mrbkap sr=bz
2005-10-24 15:00:19 +00:00
bzbarsky%mit.edu
e7d4fe7b3d Make sure to pop namespaces if we block on a close tag. Bug 313278, patch by
peterv, r+sr=bzbarsky
2005-10-21 19:08:27 +00:00
cvshook%sicking.cc
7c5d7d56eb Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
peterv%propagandism.org
887499750a Back out to fix orange. 2005-10-14 13:11:58 +00:00
peterv%propagandism.org
92bf9b9fe0 Bustage fix. 2005-10-14 12:35:11 +00:00
peterv%propagandism.org
61d64ef5ff Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-14 12:23:59 +00:00
mrbkap%gmail.com
6aa6292697 bug 309307: Make sure to update the parent pointer of entries of style nodes when they get closed. r+sr=jst 2005-09-29 23:45:11 +00:00
mrbkap%gmail.com
2320e3a829 bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst 2005-09-19 19:02:59 +00:00
mrbkap%gmail.com
f67653a4b9 bug 308781: Don't ignore requests from the content sink to block the parser when we're handling head content in the body. r+sr=jst 2005-09-16 22:14:40 +00:00
mrbkap%gmail.com
282301b4a4 bug 308592: MAP before BODY causes the body contents to not render. Remove MAP as a valid child of HTML, and fix a bogus check against HEAD being pushed onto mBodyContext. r+sr=jst 2005-09-16 00:01:30 +00:00
mrbkap%gmail.com
1276657591 bug 307821: The contents of framesets get moved into the body. r+sr=jst 2005-09-10 17:30:39 +00:00
mrbkap%gmail.com
a0a1d48611 bug 307797: Fix line counting regressions resulting from the checkin for bug 272702, as well as an old bug where document.write('\n') would cause line numbers in the rest of the HTML to be offset. Also fix a regression where userdefined tags are forced to be in the head (as opposed to appearing in either the head or the body). r+sr=jst 2005-09-10 00:12:21 +00:00
mrbkap%gmail.com
e415d47a02 bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst 2005-09-09 21:59:51 +00:00
mrbkap%gmail.com
b06b0cc7bc bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 19:15:06 +00:00
mrbkap%gmail.com
9612499f1c bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:11:51 +00:00
mrbkap%gmail.com
973abde5a4 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:03:47 +00:00
peterv%propagandism.org
b2109cfd93 Fix for bug 307363 (Don't add '---^' to XML errors in the JS console). r=bsmedberg, sr=jst. 2005-09-08 16:43:30 +00:00
mrbkap%gmail.com
dd30d01f0b bug 307122: Restore compatibility for where we open userdefined elements when neither a head nor a body has been explicitly opened. r=jst sr=bzbarsky 2005-09-07 03:35:58 +00:00
peterv%propagandism.org
0ad41d4924 Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 15:41:41 +00:00
peterv%propagandism.org
7069fad3ab Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
f436b70226 Make sure random parts of external DTDs don't sneak into the DOM. Bug 306353,
r+sr=peterv
2005-09-01 18:59:46 +00:00
bzbarsky%mit.edu
d4b89719f4 Sync up the MIME type list in parser with what nsContentDLF has, and improve
the error handling for cases when a mismatch does happen.  Bug 306502,
r=mrbkap, sr=brendan
2005-08-31 17:33:54 +00:00
bzbarsky%mit.edu
3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
mrbkap%gmail.com
c65f4fdcb4 bug 305448: Fix leak when page load is terminated while we have multiple parser contexts around (e.g., for a script load started from a document.write). r=bzbarsky sr=jst 2005-08-22 21:51:00 +00:00
peterv%propagandism.org
3236c010d5 Fix for bug 275564 (Mozilla SVG build 2004122009, 2004121909: wrong 'mismatched tag' message). Patch by bz, r=peterv, sr=jst, a=bsmedberg. 2005-07-26 13:09:19 +00:00
peterv%propagandism.org
0ab59e5717 Fix for bug 291827 (Expat's byte position is bogus if a chunk boundary falls before we block). r/sr=bz, a=bsmedberg. 2005-07-26 13:08:30 +00:00
joshmoz%gmail.com
275e8624be don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
mrbkap%gmail.com
642cdb910e bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa 2005-07-21 02:51:32 +00:00
mrbkap%gmail.com
2a8db6360e bug 299268: Clean up an early return so that alternate tags would be able to automatically open a body if they wanted to. Don't automatically open a body for <iframe> to avoid regressing bug 288991. r+sr=jst a=asa 2005-07-07 18:30:32 +00:00
mrbkap%gmail.com
47de12372b 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
mrbkap%gmail.com
6cc224e55b bug 289537: A couple of followup fixes opening <body> for tags automatically. Also stick non-exclusive head children in the head if we haven't seen either <head> or <body> yet. Also make <bgsound> act like it should. r+sr=jst a=bsmedberg 2005-06-28 21:09:48 +00:00