Commit Graph
2966 Commits
Author SHA1 Message Date
[email protected] b31cead7c1 Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst 2006-02-01 18:57:09 +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] 6d8d9d0d31 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
[email protected] e35018e5aa Try to fix an infinite loop on startup (bug 324667, r+sr=jst). 2006-01-28 01:21:46 +00:00
[email protected] 5af0c10c22 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-27 14:47:23 +00:00
[email protected] 991d96f9fa Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz 2006-01-26 22:24:20 +00:00
[email protected] 950ec4087f This should have gone too, (bug 324738) 2006-01-26 19:10:19 +00:00
[email protected] 6d25fd2467 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst 2006-01-26 19:07:41 +00:00
[email protected] ca6a7b6b06 Backing out fix for bug 323299 for now to fix Trender and bug 324641. 2006-01-25 20:07:33 +00:00
[email protected] bb464fd380 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-25 12:53:00 +00:00
[email protected] 46060106b2 bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan 2006-01-25 02:29:09 +00:00
[email protected] a0d63c95b0 bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst 2006-01-24 01:25:14 +00:00
[email protected] 7f6e69aef4 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <[email protected]>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
[email protected] 7a6f58f8cd Fix a stupid typo that was making line numbers come out wrong. no bug, r=sicking sr=jst 2006-01-21 00:37:25 +00:00
[email protected] e96f2349b6 bug 324182: Cleanup some functions in CNavDTD and remove a redundant null check. r=sicking sr=jst 2006-01-21 00:36:11 +00:00
[email protected] 9ea7165bb3 bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky 2006-01-20 23:25:37 +00:00
[email protected] e44ee57687 bug 323736: Handle bogus comments that start with </ as invalid comments, per HTML5 and to have compatibility with other browsers. r+sr=jst 2006-01-19 00:05:21 +00:00
[email protected] 84ecad06d5 bug 316582: Clean up style in parser/htmlparser. r+sr=jst 2006-01-17 17:58:24 +00:00
[email protected] 4f0545ebf6 Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst. 2006-01-13 14:45:32 +00:00
[email protected] b448e3d947 Rename our in-tree expat lib to mozexpat_s. Bug 305841, patch by Andy Willis
<[email protected]>, r=peterv
2006-01-07 02:40:20 +00:00
[email protected] a6f8b7cd39 bug 321344: Make sure we always enter the loop. There's no reason to actually
test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.
2005-12-24 07:39:09 +00:00
[email protected] eb284f5210 bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv 2005-12-22 22:31:36 +00:00
[email protected] f2241005cc bug 320585: View source can loose a final equals sign in an attribute if the preceeding character was a quote or slash. r+sr=jst 2005-12-19 20:37:08 +00:00
[email protected] 3d673cfb12 bug 320590: Remove unused member variable mLastAttribute, especially as our attempt to set it was causing us to change non-debug-only variables in #ifdef DEBUG code. r+sr=jst 2005-12-19 20:33:30 +00:00
[email protected] a141d0cb91 Now that bug 320375 is fixed, trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-12-18 10:39:23 +00:00
[email protected] 4f120576e5 Fix for bug 320375. r=mrbkap, sr=jst. 2005-12-16 14:35:45 +00:00
[email protected] 244c41b7ad Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap 2005-12-12 21:39:56 +00:00
[email protected] eb08713416 Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap 2005-12-12 20:56:37 +00:00
[email protected] 15d6aacd27 Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap 2005-12-12 16:53:30 +00:00
[email protected] a2f5c1e08b bug 244569: Open transient styles before dealing with end tags for residual style tags, so that we don't miss a temporarily closed style. r+sr=jst 2005-12-05 17:35:44 +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] 3a0f9e0808 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
[email protected] c1cfb3ed43 Fixing bustage from bug 317869. 2005-11-28 22:33:48 +00:00
[email protected] 18127c6b1a bug 317869: CNavDTD still needs its own IID. r+sr=jst 2005-11-28 22:13:10 +00:00
[email protected] 21af79fe88 Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
[email protected] 3bc8a1937c Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
[email protected] e617f451d4 Fixing build bustage. 2005-11-24 00:21:23 +00:00
[email protected] 4ec66fb28c bug 316582: Clean up style nitpicks in CNavDTD. rs=jst 2005-11-24 00:14:25 +00:00
[email protected] e165e9f6d5 bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky 2005-11-22 23:29:30 +00:00
[email protected] d587a7508e Backout due to tree orange. 2005-11-21 14:59:12 +00:00
[email protected] 0bc16148f2 Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-11-21 13:54:09 +00:00
[email protected] 2f77719a9a Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless
2005-11-21 06:25:15 +00:00
[email protected] cc60f2b00f typo fix 2005-11-16 22:28:57 +00:00
[email protected] d6c4379eb0 Don't build robot with libxul, r=mrbkap, no bug 2005-11-16 21:06:57 +00:00
[email protected] 79803d9aa2 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
[email protected] bb6d0607b0 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
[email protected] e7ad034a47 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
[email protected] cd10cd7457 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
[email protected] 4a1a3f973f bug 316100: Cleanup some unused members and virtual functions in nsDTDUtils. r+sr=jst 2005-11-11 20:42:51 +00:00
[email protected] f7e439d8ad Fixing bustage from bug 315927. 2005-11-11 19:59:01 +00:00