martijn.martijn%gmail.com
090495c6cc
Bug 328289 - dtd's should be read using 4096 bytes buffers, instead of 1024 bytes buffers. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
2006-02-24 13:04:06 +00:00
timeless%mozdev.org
1ce5986f6b
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
03199516c9
CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
2006-02-22 00:00:38 +00:00
bzbarsky%mit.edu
542b79dc49
Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
...
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst
2006-02-12 22:05:33 +00:00
peterv%propagandism.org
a8a430a797
Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
2006-02-07 14:34:10 +00:00
mrbkap%gmail.com
f1f0eb9711
Don't get confused by multiple right square brackets when parsing CDATA sections. bug 325532, r+sr=jst
2006-02-06 18:54:53 +00:00
mrbkap%gmail.com
82b57319d0
Remove parser generation of the _moz-userdefined attribute since comopser can figure out the information it provides on its own. bug 325405, r=sicking sr=jst
2006-02-04 02:02:55 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
58fcf6d414
Testcase for bug 18308 doesn't work. bug 319826, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r+sr=jst
2006-02-02 01:07:57 +00:00
mrbkap%gmail.com
958c7f9c7f
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
mrbkap%gmail.com
3d59a68ee7
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
mrbkap%gmail.com
c4f20f9306
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
27bfa50539
Try to fix an infinite loop on startup (bug 324667, r+sr=jst).
2006-01-28 01:21:46 +00:00
peterv%propagandism.org
b1549287a5
Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
2006-01-27 14:47:23 +00:00
mrbkap%gmail.com
efa6824ced
Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz
2006-01-26 22:24:20 +00:00
mrbkap%gmail.com
28a0057aa8
This should have gone too, (bug 324738)
2006-01-26 19:10:19 +00:00
mrbkap%gmail.com
5e3b39b84e
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
2006-01-26 19:07:41 +00:00
peterv%propagandism.org
712a6c7a54
Backing out fix for bug 323299 for now to fix Trender and bug 324641.
2006-01-25 20:07:33 +00:00
peterv%propagandism.org
73a08e869b
Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
2006-01-25 12:53:00 +00:00
mrbkap%gmail.com
37ef76ae75
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
mrbkap%gmail.com
5886c8dad3
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
mark%moxienet.com
18681d809c
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
mrbkap%gmail.com
fb3f80349e
bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
2006-01-21 02:02:02 +00:00
mrbkap%gmail.com
77d1b6ad0b
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
mrbkap%gmail.com
f5017ce37a
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
mrbkap%gmail.com
6b632e2f71
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
mrbkap%gmail.com
19fbc54999
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
mrbkap%gmail.com
fcd42925c9
bug 316582: Clean up style in parser/htmlparser. r+sr=jst
2006-01-17 17:58:24 +00:00
peterv%propagandism.org
25f6bbfe50
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
bzbarsky%mit.edu
090cdfa710
Rename our in-tree expat lib to mozexpat_s. Bug 305841, patch by Andy Willis
...
<abwillis1@gmail.com>, r=peterv
2006-01-07 02:40:20 +00:00
mrbkap%gmail.com
377d4123b3
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
mrbkap%gmail.com
980d3e8f9c
bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
2005-12-22 22:31:36 +00:00
mrbkap%gmail.com
dcf7ce0aef
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
mrbkap%gmail.com
7ad0a958f3
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
peterv%propagandism.org
a9f16a7e45
Trying to fix AIX bustage.
2005-12-18 12:07:26 +00:00
peterv%propagandism.org
430dd2bacc
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
peterv%propagandism.org
9bfa27c4f1
Fix for bug 320375. r=mrbkap, sr=jst.
2005-12-16 14:35:45 +00:00
bsmedberg%covad.net
0cbcc55cf6
Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap
2005-12-12 21:39:56 +00:00
bsmedberg%covad.net
0ee58bb049
Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap
2005-12-12 20:56:37 +00:00
bsmedberg%covad.net
dea5f94fba
Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap
2005-12-12 16:53:30 +00:00
mrbkap%gmail.com
65e8bdcc71
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
mrbkap%gmail.com
5ff0ab70ab
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
bzbarsky%mit.edu
bf70da4532
Remove content ids. Bug 166637, r=sicking, sr=peterv
2005-11-29 16:47:18 +00:00
mrbkap%gmail.com
47b76ffc5c
Fixing bustage from bug 317869.
2005-11-28 22:33:48 +00:00
mrbkap%gmail.com
ff73691c2b
bug 317869: CNavDTD still needs its own IID. r+sr=jst
2005-11-28 22:13:10 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
eb9350f619
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
jst%mozilla.jstenback.com
5239743f12
Fixing build bustage.
2005-11-24 00:21:23 +00:00
mrbkap%gmail.com
e5f2e7fc42
bug 316582: Clean up style nitpicks in CNavDTD. rs=jst
2005-11-24 00:14:25 +00:00
mrbkap%gmail.com
0aabcad6c8
bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
2005-11-22 23:29:30 +00:00
peterv%propagandism.org
1cf6be5ef7
Backout due to tree orange.
2005-11-21 14:59:12 +00:00
peterv%propagandism.org
d41313ac76
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
timeless%mozdev.org
17f5f5429f
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
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
mrbkap%gmail.com
07681e8e9a
bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa
2005-06-25 21:09:28 +00:00
peterv%propagandism.org
2b34c89a8c
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
2005-06-24 13:21:59 +00:00
bsmedberg%covad.net
bc141211fe
Bug 279814 - report XML parsing errors to the JS console, r=mrbkap sr=shaver a=chofmann
2005-06-23 01:54:42 +00:00
mrbkap%gmail.com
639c3faaa3
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
mrbkap%gmail.com
6664814803
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
2005-06-16 18:59:59 +00:00
mrbkap%gmail.com
96e94dc74c
bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa
2005-06-16 18:20:59 +00:00
peterv%propagandism.org
ea82f1a8a5
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
2005-06-16 13:10:58 +00:00
peterv%propagandism.org
698b140d97
Fix for bug 289169 (DOMParser freezes when parsing elements with fixed attributes.). r/sr=jst, a=asa.
2005-06-16 11:59:28 +00:00
mrbkap%gmail.com
31dd5f147a
bug 142965: Handling misplaced content with a stray end tag around causes the tag that caused us to handle the misplaced content to lose its attributes. r=jst sr+a=brendan
2005-06-15 18:20:29 +00:00
mrbkap%gmail.com
ffab069fba
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
mrbkap%gmail.com
fe2dda1c4f
bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver
2005-06-01 22:37:04 +00:00
mrbkap%gmail.com
c515a47bde
bug 295646: Whitespace at the end of a document is thrown away by the tokenizer. r+sr=bzbarsky a=shaver
2005-06-01 22:34:29 +00:00
mrbkap%gmail.com
4347a0ff13
bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver
2005-06-01 22:32:23 +00:00
mrbkap%gmail.com
5f252c1063
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:30:43 +00:00
mrbkap%gmail.com
fd1cb665a9
bug 294685: Remove unnecessary DEBUG-only counter/named entity code. r=jst sr=dbaron a=shaver
2005-06-01 22:23:13 +00:00
mrbkap%gmail.com
5aed97795a
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
mrbkap%gmail.com
9c7185974e
bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver
2005-06-01 21:23:23 +00:00
mrbkap%gmail.com
8a2cc41376
bug 295596: <li> was closing styles on the transient style stack for no good reason, causing them to be lost. This special-cases <li> to not do that. r=bzbarsky sr=jst a=shaver
2005-06-01 21:14:01 +00:00
mrbkap%gmail.com
550985b369
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
mrbkap%gmail.com
7e752b0ccd
bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <skamio@netscape.net>, Koike Kazuhiko <kazhik@mozilla.gr.jp>, Wolfgang Rosenauer <mozilla@rfosenauer.org>, and me. r=akkana sr=jst a=shaver
2005-06-01 19:31:47 +00:00
cbiesinger%web.de
0493f61e46
295916 r=mrbkap sr=bz a=shaver
...
- make parser handle calling Parse with an empty string and aLastCall=true
correctly
- call that from document.close() even in the non-HTML case
2005-06-01 19:13:39 +00:00
mrbkap%gmail.com
d5590be210
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
mrbkap%gmail.com
d9dce0a5cd
bug 38174: Open transient styles before <li> tags so that bullets and list numbers inherit the proper styles when there is a <font> on the RS stack. r=bzbarsky sr=brendan a=asa
2005-05-19 16:36:39 +00:00
mrbkap%gmail.com
dc514df0e7
bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan
2005-05-17 16:27:21 +00:00
bzbarsky%mit.edu
620102c0b8
Use expat's doctype parsing now that it does it. Bug 288133, r+sr=peterv, a=asa
2005-05-13 19:45:43 +00:00
vladimir%pobox.com
de01b09320
b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
2005-05-07 03:45:06 +00:00
mrbkap%gmail.com
55178329b0
bug 292733: Enforce that the the terminator for <![CDATA[ is ]]>, not ]>. This only affects view-source. r=bzbarsky sr+a=brendan
2005-05-03 23:33:42 +00:00
dougt%meer.net
be6760da53
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
2005-04-29 13:33:49 +00:00
bzbarsky%mit.edu
90feadd1d3
Fix crashes when document.load is called on an already-parsing XML document.
...
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
180e532121
Make sure to read memory that actually contains what we want. Bug 291020,
...
r+sr=peterv, a=asa
2005-04-21 21:20:19 +00:00
mrbkap%gmail.com
c30d90e18b
bug 290081: Use the _moz-rs-heading attribute when opening residual style tags that aren't direct descendents of the heading tag open on the tag stack. r=bzbarsky sr=rbs a=asa
2005-04-19 01:30:04 +00:00
vladimir%pobox.com
057ce06bb3
b=288714, html canvas implementation, r=various,a=brendan
2005-04-18 06:33:23 +00:00
mrbkap%gmail.com
a278870e27
bug 288526: text content of an <object> in the <head> of a document is moved into the body, even though the <object> stays in the head. r=jst sr=bzbarsky a=asa
2005-04-11 17:29:18 +00:00
mrbkap%gmail.com
d609792ff4
bug 288991: An <iframe /> before a <frameset> causes the <frameset> to be lost. r+sr=bzbarsky
2005-04-06 04:41:18 +00:00
bsmedberg%covad.net
65f17dc4a7
Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
2005-04-05 20:59:03 +00:00
bsmedberg%covad.net
f2cfd5feb8
Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
2005-04-05 14:13:03 +00:00
mrbkap%gmail.com
b2b940da13
bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs
2005-04-04 21:20:00 +00:00
timeless%mozdev.org
ecb88406f5
Bug 287244 DOCTYPE should not imply a default namespace
...
patch by bug@annevankesteren.nl r=tor sr=bz
2005-04-04 19:05:21 +00:00
bzbarsky%mit.edu
d602741004
Make sure to wrap a buffered stream around the stream we're passed before
...
sending it to the parser (which expects a buffered stream). Bug 287409,
r=darin, sr=jst
2005-03-30 04:18:08 +00:00
mrbkap%gmail.com
bd5a83286e
bug 287349: Add kHeadMisc to the excludable children of <select> so that it properly exludes userdefined children. r=bzbarsky sr=jst
2005-03-24 01:25:19 +00:00
mrbkap%gmail.com
85d6f098e9
bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv
2005-03-23 07:09:24 +00:00
mrbkap%gmail.com
c67cf23272
bug 286381: Allow non-<script> CDATA tags to not have their closing > for better compatibility with IE. r=bzbarsky sr=jst
2005-03-23 06:18:06 +00:00
mrbkap%gmail.com
477b1e7c56
bug 276637: Always parse comments in PCDATA in strict mode for better compatibilty with IE. Patch by Bastiaan Jacques <baafie@planet.nl>. r=mrbkap sr=peterv
2005-03-23 06:14:10 +00:00
mats.palmgren%bredband.net
ef510e7286
Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron
2005-03-21 00:45:02 +00:00
mats.palmgren%bredband.net
903248e2a5
TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron
2005-03-20 23:54:24 +00:00
mrbkap%gmail.com
bef46d35d1
bug 285250: Give tags the ability to request to be either in the head OR the body. They follow the same rules that userdefined, whitespace, and newline tags used to follow. r=bzbarsky sr=jst
2005-03-17 23:28:35 +00:00
timeless%mozdev.org
5141ad1f61
Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
...
patch by mrbkap@gmail.com r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
gandalf%firefox.pl
06f479dff9
bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move
2005-03-08 17:21:36 +00:00
bzbarsky%mit.edu
1951e8e908
Remove content dependency on the RDF-ness of bookmarks (since in general, they
...
need not be RDF-enabled at all). Remove bizarre dependency of an interface we
really want to expose to embeddors on nsIParser. Bug 101995 followup,
r=bsmedberg, sr=alecf
2005-03-05 03:35:54 +00:00
mrbkap%gmail.com
c303a4bf00
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
mrbkap%gmail.com
4bda82da6e
bug 283564: Fix a leak when the HTML fragment sink is used to parse an empty string by ensuring that DidBuildModel() is always called. r+sr=bzbarsky
2005-02-26 04:33:04 +00:00
mrbkap%gmail.com
e8e89de647
bug 272815: Make sure the parser is aware when we encounter a meta tag, so that other meta tags in the document don't override the first (correct) charset. r=bzbarsky sr=jst
2005-02-23 05:42:37 +00:00
mrbkap%gmail.com
4769036abb
bug 283036: Append a <body> tag to the context of HTML context stacks to make sure that all context is flushed out of the DTD before we process the new content. r+sr=bzbarsky
2005-02-23 04:32:21 +00:00
mrbkap%gmail.com
76f3ff6fb1
bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky
2005-02-18 19:18:39 +00:00
mrbkap%gmail.com
c363e34e07
bug 253979: Protect against a possible crash handling malformed content. r=bzbarsky sr=brendan
2005-02-18 18:33:55 +00:00
mrbkap%gmail.com
e93261de82
bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky
2005-02-18 18:30:48 +00:00
mrbkap%gmail.com
7f87f42262
bug 280713: Make sure OnStopRequest updates the correct parsercontext to make sure that pages always get a last chunk shot at tokenization. r=jst sr=bzbarsky
2005-02-18 18:29:02 +00:00
mrbkap%gmail.com
dde5f95e79
bug 280713: Lost <iframe> from a document because the mIncremental member of the scanner was not getting set properly. r=jst sr=bzbarsky
2005-02-07 21:07:38 +00:00
cvshook%sicking.cc
403f464793
Use a better sourcelevel when setting charset through xsl:output element. Also make sure to use the proper form when setting the charset.
...
r/sr=bz
2005-02-05 13:47:43 +00:00
timeless%mozdev.org
1f31b87336
Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
...
r=mrbkap sr=bz
2005-02-04 05:05:10 +00:00
mrbkap%gmail.com
ad002d7e86
bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst
2005-02-02 02:04:09 +00:00
mrbkap%gmail.com
b7b563440b
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
mrbkap%gmail.com
836d189719
bug 280079: Hang when a document's final tag is missing its closing >. r+sr=jst
2005-01-31 20:37:14 +00:00
mrbkap%gmail.com
ab5332900e
bug 280387: Fix a potential crash by passing PR_TRUE for the aReverse paramter to nsScanner::SetPosition(). r+sr=bzbarsky
2005-01-31 00:54:53 +00:00
bzbarsky%mit.edu
3a730c3b02
Fixing build bustage
2005-01-27 20:00:37 +00:00
bzbarsky%mit.edu
e9647ed503
Add a "safe" way to unblock the parser, to protect against CSSLoader
...
stupidity. Bug 220542, patch by Blake Kaplan <mrbkap@gmail.com>, r=jst,
sr=bzbarsky
2005-01-27 19:28:22 +00:00
mats.palmgren%bredband.net
771dcf55d4
Remove MAP as a valid child of TABLE, THEAD and TFOOT. b=147446 r=harishd sr=dbaron
2005-01-26 00:40:55 +00:00
peterv%propagandism.org
4fe1c61b91
Fix for bug 279078 (XML Error reporting confusing since Expat landing). r/sr=bz.
2005-01-23 15:46:11 +00:00
mrbkap%gmail.com
4983b3b3ef
bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs. These files were left out of the original checkin
2005-01-20 03:43:42 +00:00
mrbkap%gmail.com
c85980f739
bug 278511: Fix assertions on various comments by ensuring that mComment is always bound to some string. r+sr=bzbarsky
2005-01-20 00:12:58 +00:00
mrbkap%gmail.com
1d978b2743
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
dbaron%dbaron.org
95df4cb990
Re-remove files that were checked into after being cvs removed to restore things to a consistent state. (These files were in Attic but not in the cvs 'dead' state, so they appeared when checking out by date.)
2005-01-19 22:48:57 +00:00
mats.palmgren%bredband.net
d0eaf603f6
Don't open transient styles and ignore kFontStyle/kPhrase start tags near MAX_REFLOW_DEPTH. b=58917 r=mrbkap sr=bzbarsky
2005-01-17 00:10:28 +00:00
mats.palmgren%bredband.net
f623d745c4
Remove dead code. b=210238 r=mrbkap sr=dbaron
2005-01-16 17:07:39 +00:00
peterv%propagandism.org
d43692a156
Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds.
2005-01-13 14:51:20 +00:00
mrbkap%gmail.com
2f836d753f
bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst
2005-01-13 03:34:18 +00:00
mrbkap%gmail.com
56861ca81f
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
mrbkap%gmail.com
2b5f2bf54b
bug 277695: Fix assertion on empty textareas by ensuring that mTextValue.Rebind() is called at least once. r+sr=bzbarsky
2005-01-13 02:56:56 +00:00
aaronleventhal%moonset.net
f9560d3e7e
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
2005-01-12 00:55:25 +00:00
aaronleventhal%moonset.net
c9254ad5f7
Backing out the following fix because tree is closed. Sorry for the mistake. Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
2005-01-11 23:39:22 +00:00
aaronleventhal%moonset.net
64bb02dc7f
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
2005-01-11 23:26:10 +00:00
mrbkap%gmail.com
ebce3348ed
bug 275651: Fix a potential crash because of a bad use of nsScanner::SetPosition. r=jst sr=dmose
2005-01-04 02:31:53 +00:00
bzbarsky%mit.edu
1601d80e99
Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
2005-01-03 22:51:17 +00:00
mrbkap%gmail.com
5e4db8e7eb
bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan
2005-01-03 22:06:27 +00:00
timeless%mozdev.org
18dcfb60f7
Bug 276148 warning: unused variable `CStartToken*theStartToken' in nsHTMLTokenizer::ConsumeStartTag
...
patch by cst@andrew.cmu.edu r=mrbkap sr=peterv
2004-12-29 00:34:49 +00:00
peterv%propagandism.org
7aa22372ec
Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst
2004-12-27 11:47:18 +00:00
mrbkap%gmail.com
f22c99b2f1
bug 275288: remove obsolete CRC calculations. r+sr=roc
2004-12-25 04:44:02 +00:00
dbaron%dbaron.org
d6ddd085bf
untabify
2004-12-22 00:21:13 +00:00
peterv%propagandism.org
d77a12e38a
Correct function signature to fix Solaris bustage.
2004-12-21 13:25:31 +00:00
peterv%propagandism.org
ef4ee93daf
Remove unused member variable (obsoleted by patch for bug mHandledXMLDeclaration).
2004-12-20 13:40:07 +00:00
peterv%propagandism.org
26bb2f4e91
Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
2004-12-17 09:17:35 +00:00
mrbkap%gmail.com
05ecdea242
bug 209098: TestParser crashes inside nsLoggingSink. patch by mats.palmgren@bredband.net r=harishd sr=peterv
2004-12-16 21:49:58 +00:00
pkw%us.ibm.com
83942a4db3
AIX bustage fix for checkin from Bug 192139.
...
r=peterv@propagandism.org
2004-12-15 17:35:52 +00:00
peterv%propagandism.org
a7ac96fea9
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
2004-12-15 15:37:23 +00:00
mrbkap%gmail.com
096f8fee21
bug 273085: HTML tags displayed as part of text r=bryner sr=dbaron
2004-12-15 01:23:03 +00:00
mrbkap%gmail.com
bf42ba446e
bug 272293: phrase-level tags do not close when there is an open kInlineEntity r=bzbarsky sr=dmose
2004-12-14 23:32:35 +00:00
bsmedberg%covad.net
79241940e8
Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
2004-12-09 19:28:35 +00:00