148 Commits

Author SHA1 Message Date
peterv%propagandism.org
19e43c6647 Fix for bug 236873 (Share class for more elements). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198125 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-21 21:00:09 +00:00
mrbkap%gmail.com
0e40b92d36 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@194040 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:49:02 +00:00
peterv%propagandism.org
c7f6949390 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192539 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 14:38:57 +00:00
peterv%propagandism.org
ec404d9e2f Backing out to fix bustages.
git-svn-id: svn://10.0.0.236/trunk@192477 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 15:12:21 +00:00
peterv%propagandism.org
2c216711c7 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192471 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 13:47:42 +00:00
cbiesinger%web.de
bd517c26ac 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@192427 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 17:45:25 +00:00
bzbarsky%mit.edu
f3768bfe85 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189804 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 22:05:33 +00:00
mrbkap%gmail.com
61c90940c0 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
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +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
mrbkap%gmail.com
d3ecc5dd10 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +00:00
mrbkap%gmail.com
e6edf3653b 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
git-svn-id: svn://10.0.0.236/trunk@186289 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 20:33:30 +00:00
bsmedberg%covad.net
b1c60f6d78 Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185975 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 21:39:56 +00:00
bsmedberg%covad.net
fb456e0537 Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185963 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 16:53:30 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +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
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
6259f472aa 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
git-svn-id: svn://10.0.0.236/trunk@184279 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 00:05:09 +00:00
cvshook%sicking.cc
f95c92ff95 Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
mrbkap%gmail.com
4045b60295 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
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +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
bzbarsky%mit.edu
a8c7d445d5 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
mrbkap%gmail.com
052698242f 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
git-svn-id: svn://10.0.0.236/trunk@175279 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 02:46:45 +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
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
mrbkap%gmail.com
53d12e81d1 bug 294685: Remove unnecessary DEBUG-only counter/named entity code. r=jst sr=dbaron a=shaver
git-svn-id: svn://10.0.0.236/trunk@173993 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:23:13 +00:00
mrbkap%gmail.com
6f39bbf718 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@173992 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:11:30 +00:00
dougt%meer.net
3d7bcc8055 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


git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00
vladimir%pobox.com
dcf80e9788 b=288714, html canvas implementation, r=various,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
mats.palmgren%bredband.net
ddb5c6e57a TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@170930 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-20 23:54:24 +00:00
bzbarsky%mit.edu
ac5561476f 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


git-svn-id: svn://10.0.0.236/trunk@170192 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 03:35:54 +00:00
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
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
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
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
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
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
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
bryner%brianryner.com
7a461c49a4 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@165773 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 07:03:20 +00:00
bryner%brianryner.com
b3c46a1eca Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@165247 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 04:05:51 +00:00
jst%mozilla.jstenback.com
253fd3f895 Adding @status FROZEN to this header (bug 265334).
git-svn-id: svn://10.0.0.236/trunk@164878 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 21:18:50 +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
bdc788666f bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose
git-svn-id: svn://10.0.0.236/trunk@163915 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-17 03:03:46 +00:00
bzbarsky%mit.edu
ad59771509 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163474 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 16:55:54 +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