2330 Commits

Author SHA1 Message Date
mrbkap%gmail.com
8fe15ff614 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
git-svn-id: svn://10.0.0.236/trunk@169884 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 04:33:04 +00:00
mrbkap%gmail.com
b0eca57bf6 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
git-svn-id: svn://10.0.0.236/trunk@169635 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 05:42:37 +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
203f338929 bug 253979: Protect against a possible crash handling malformed content. r=bzbarsky sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169405 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:33:55 +00:00
mrbkap%gmail.com
02f2f80c8e bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169404 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:30:48 +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
cvshook%sicking.cc
07d5e47b79 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


git-svn-id: svn://10.0.0.236/trunk@168845 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 13:47:43 +00:00
timeless%mozdev.org
141164ce86 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=mrbkap sr=bz


git-svn-id: svn://10.0.0.236/trunk@168788 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 05:05:10 +00:00
mrbkap%gmail.com
19a5ff75a4 bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@168687 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 02:04:09 +00:00
mrbkap%gmail.com
c5ea63fd54 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
git-svn-id: svn://10.0.0.236/trunk@168608 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 03:00:38 +00:00
mrbkap%gmail.com
e3941ea003 bug 280079: Hang when a document's final tag is missing its closing >. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@168574 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 20:37:14 +00:00
mrbkap%gmail.com
c19cfc9484 bug 280387: Fix a potential crash by passing PR_TRUE for the aReverse paramter to nsScanner::SetPosition(). r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168538 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 00:54:53 +00:00
bzbarsky%mit.edu
4f6bfa9d69 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@168412 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:00:37 +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
mats.palmgren%bredband.net
ab47556c38 Remove MAP as a valid child of TABLE, THEAD and TFOOT. b=147446 r=harishd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168335 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 00:40:55 +00:00
peterv%propagandism.org
946429f4a1 Fix for bug 279078 (XML Error reporting confusing since Expat landing). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@168191 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 15:46:11 +00:00
mrbkap%gmail.com
9e29ac3f29 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
git-svn-id: svn://10.0.0.236/trunk@168046 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:43:42 +00:00
mrbkap%gmail.com
c58c7fc5d4 bug 278511: Fix assertions on various comments by ensuring that mComment is always bound to some string. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168032 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 00:12:58 +00:00
mrbkap%gmail.com
99a0cc844f bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168030 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 23:42:02 +00:00
dbaron%dbaron.org
613685036a 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.)
git-svn-id: svn://10.0.0.236/trunk@168026 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 22:48:57 +00:00
mats.palmgren%bredband.net
10bfc80393 Don't open transient styles and ignore kFontStyle/kPhrase start tags near MAX_REFLOW_DEPTH. b=58917 r=mrbkap sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167861 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 00:10:28 +00:00
mats.palmgren%bredband.net
ec75e483f0 Remove dead code. b=210238 r=mrbkap sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167829 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 17:07:39 +00:00
peterv%propagandism.org
aa61bd415c Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds.
git-svn-id: svn://10.0.0.236/trunk@167669 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 14:51:20 +00:00
mrbkap%gmail.com
0bdf148e90 bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst
git-svn-id: svn://10.0.0.236/trunk@167654 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 03:34:18 +00:00
mrbkap%gmail.com
81de7a518e bug 274786: We lose a trailing <, </, <! if it is the last text in the document. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@167652 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 03:05:12 +00:00
mrbkap%gmail.com
f61d9db382 bug 277695: Fix assertion on empty textareas by ensuring that mTextValue.Rebind() is called at least once. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167651 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 02:56:56 +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
93e65100c3 bug 275651: Fix a potential crash because of a bad use of nsScanner::SetPosition. r=jst sr=dmose
git-svn-id: svn://10.0.0.236/trunk@167235 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 02:31:53 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +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
timeless%mozdev.org
e35a7067a0 Bug 276148 warning: unused variable `CStartToken*theStartToken' in nsHTMLTokenizer::ConsumeStartTag
patch by cst@andrew.cmu.edu r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@167078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 00:34:49 +00:00
peterv%propagandism.org
d2ec99ff28 Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@167044 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 11:47:18 +00:00
mrbkap%gmail.com
b04b815dc7 bug 275288: remove obsolete CRC calculations. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167028 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-25 04:44:02 +00:00
dbaron%dbaron.org
38b8fcfd2b untabify
git-svn-id: svn://10.0.0.236/trunk@166937 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 00:21:13 +00:00
peterv%propagandism.org
d3728ccc44 Correct function signature to fix Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@166916 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 13:25:31 +00:00
peterv%propagandism.org
0ff44936f3 Remove unused member variable (obsoleted by patch for bug mHandledXMLDeclaration).
git-svn-id: svn://10.0.0.236/trunk@166885 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-20 13:40:07 +00:00
peterv%propagandism.org
ea028c9206 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
mrbkap%gmail.com
db128d4c5f bug 209098: TestParser crashes inside nsLoggingSink. patch by mats.palmgren@bredband.net r=harishd sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166794 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 21:49:58 +00:00
pkw%us.ibm.com
a4c85b043b AIX bustage fix for checkin from Bug 192139.
r=peterv@propagandism.org


git-svn-id: svn://10.0.0.236/trunk@166753 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 17:35:52 +00:00
peterv%propagandism.org
04f06673f3 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
mrbkap%gmail.com
8255135303 bug 273085: HTML tags displayed as part of text r=bryner sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166732 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 01:23:03 +00:00
mrbkap%gmail.com
eb255ea8f6 bug 272293: phrase-level tags do not close when there is an open kInlineEntity r=bzbarsky sr=dmose
git-svn-id: svn://10.0.0.236/trunk@166728 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 23:32:35 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
dbaron%dbaron.org
de6591306e Bug 272151: reorganize files within layout, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@166440 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 19:41:48 +00:00
mrbkap%gmail.com
bdaa5622f1 bug 273324: Hang on unclosed comments in standards mode. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166419 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 21:56:39 +00:00
mrbkap%gmail.com
7b47235ac3 bug 273213: The last letter of some tags consumed as CDATA get chopped off if the tag is not closed properly. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166272 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-05 19:02:53 +00:00