mrbkap%gmail.com
3ad008c538
CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@190770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 00:00:38 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
7bd7ef3c84
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
...
git-svn-id: svn://10.0.0.236/trunk@188682 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 18:57:09 +00:00
mrbkap%gmail.com
b7ece70d44
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
8b6ba84a47
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07:41 +00:00
mrbkap%gmail.com
44fd52082e
bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
peterv%propagandism.org
7c949449af
Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@187543 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 14:45:32 +00:00
mrbkap%gmail.com
2e63354637
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.
git-svn-id: svn://10.0.0.236/trunk@186556 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 07:39:09 +00:00
mrbkap%gmail.com
66b4dc4c78
bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@186462 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:31:36 +00:00
timeless%mozdev.org
dae7b0629a
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
mrbkap%gmail.com
7afa2a74e6
bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185165 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:29:30 +00:00
peterv%propagandism.org
029c09a76e
Backout due to tree orange.
...
git-svn-id: svn://10.0.0.236/trunk@185043 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 14:59:12 +00:00
timeless%mozdev.org
db63280166
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless
git-svn-id: svn://10.0.0.236/trunk@185035 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 06:25:15 +00:00
mrbkap%gmail.com
3a647b1136
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
...
git-svn-id: svn://10.0.0.236/trunk@184600 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:55:34 +00:00
mrbkap%gmail.com
d2ad849da9
bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184466 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 19:11:36 +00:00
mrbkap%gmail.com
7b7b3071c8
bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@183377 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 01:10:37 +00:00
mrbkap%gmail.com
1f9d7bc6df
bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179927 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 21:59:51 +00:00
peterv%propagandism.org
92b741449b
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@179660 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
0fc90867a3
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
git-svn-id: svn://10.0.0.236/trunk@179398 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:33:54 +00:00
mrbkap%gmail.com
a97d5d8a28
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
...
git-svn-id: svn://10.0.0.236/trunk@178639 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 21:51:00 +00:00
peterv%propagandism.org
4f974157e9
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 13:21:59 +00:00
mrbkap%gmail.com
f2a332e8d4
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
mrbkap%gmail.com
3561d0632c
bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173997 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:37:04 +00:00
mrbkap%gmail.com
866b6f0775
bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173995 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:32:23 +00:00
mrbkap%gmail.com
e95dc9b671
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173994 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:30:43 +00:00
cbiesinger%web.de
620f913e6e
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
git-svn-id: svn://10.0.0.236/trunk@173960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:13:39 +00:00
mrbkap%gmail.com
46f4abf94f
bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@173510 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 16:27:21 +00:00
bzbarsky%mit.edu
a16228acf0
Fix crashes when document.load is called on an already-parsing XML document.
...
Bug 289292, r=sicking, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
3d75b80be5
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
git-svn-id: svn://10.0.0.236/trunk@171362 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:18:08 +00:00
mrbkap%gmail.com
de71c5320e
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
...
git-svn-id: svn://10.0.0.236/trunk@169631 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 04:32:21 +00:00
mrbkap%gmail.com
c49d96100e
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
...
git-svn-id: svn://10.0.0.236/trunk@169415 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:39 +00:00
mrbkap%gmail.com
1f32d7b4db
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
...
git-svn-id: svn://10.0.0.236/trunk@169403 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:29:02 +00:00
mrbkap%gmail.com
d6ade3fac7
bug 280713: Lost <iframe> from a document because the mIncremental member of the scanner was not getting set properly. r=jst sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168933 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 21:07:38 +00:00
bzbarsky%mit.edu
12f6fa15c7
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
git-svn-id: svn://10.0.0.236/trunk@168404 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 19:28:22 +00:00
aaronleventhal%moonset.net
45aa5f40a8
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@167560 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 00:55:25 +00:00
aaronleventhal%moonset.net
348c3e0667
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
...
git-svn-id: svn://10.0.0.236/trunk@167553 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 23:39:22 +00:00
aaronleventhal%moonset.net
e89f017aa4
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@167552 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 23:26:10 +00:00
mrbkap%gmail.com
3df650a60e
bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@167221 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:06:27 +00:00
mrbkap%gmail.com
55015dd49f
bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@166010 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 04:37:36 +00:00
jst%mozilla.jstenback.com
902a5809c5
Fixing bug 267854. Make sure parser data listeners get all the data that comes in from necko, no matter what the current parser context is. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164986 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 06:50:27 +00:00
jst%mozilla.jstenback.com
bbbde81598
Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00
mrbkap%gmail.com
c191919eed
bug 265814: the output of document.write() is always parsed in quirks mode. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@164540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 03:24:59 +00:00
bzbarsky%mit.edu
c6733ef5e7
Make createContextualFragment work for XML. Bug 133827, patch by
...
steve.swanson@mackichan.com , r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
jst%mozilla.jstenback.com
d44ec428a0
Landing fix for bug 235798. Ignore Internet Explorer conditional comments parsed in document prologue. Patch by mrbkap@rice.edu, r=dbaron@dbaron.org, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@162480 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 00:16:48 +00:00
jst%mozilla.jstenback.com
b9f5ad566e
Fixing bug 178088. Making our doctype detection code more robust by ignoring whitespace at the begining of the file when looking for the doctype. r=darin@meer.net. sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@161181 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:37:33 +00:00
cbiesinger%web.de
2970f134c3
Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159409 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 21:45:37 +00:00
bzbarsky%mit.edu
839ea49431
On empty HTML pages, don't synthesize parser nodes for <html> and <body>. We handle
...
that down the line anyway, so things work fine. Bug 57717, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159293 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 21:40:03 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00