Henri Sivonen
ac0f7a4f3c
Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky.
2011-02-16 08:40:35 +02:00
Ms2ger
740319538d
Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg
2010-11-05 11:57:10 +01:00
Olli Pettay
780c38d2b9
Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
2010-07-21 19:03:21 +03:00
Frédéric Wang
f331005fd3
Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky
2009-11-21 00:12:42 +01:00
Henri Sivonen
5c9324592e
Bug 521970 - Remove the ContinueParsing() method. r&sr=mrbkap.
2009-10-21 15:00:29 +03:00
Henri Sivonen
ea4c02a066
Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
2009-10-15 14:29:11 +03:00
Henri Sivonen
2b8f6a2e36
Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap.
2009-09-18 12:21:47 +03:00
Henri Sivonen
3cb3b0a9bc
Bug 501015 - Address code style comments from timeless. r+sr=mrbkap
2009-07-15 14:30:33 +03:00
Henri Sivonen
2f19c38b3b
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-29 00:44:22 +02:00
Johnny Stenback
64cf7ea628
Backed out changeset 168dd0eb7283
2009-06-28 11:47:11 -07:00
Henri Sivonen
cde24c9a06
Merge trunk into HTML5 repo
2009-06-26 18:22:48 +03:00
Ben Newman
cdf9308eef
Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Henri Sivonen
8ee8640d4d
Merge trunk into HTML5 repo
2009-05-25 19:16:57 +03:00
Jonas Sicking
f0aa860733
Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap
2009-05-19 08:54:42 -07:00
Henri Sivonen
153b928d57
Merge the trunk into HTML5 parsing repo
2009-05-04 11:19:16 -07:00
Henri Sivonen
b7606f7803
Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content.
2009-04-22 12:17:08 +03:00
Henri Sivonen
72f87ec010
Add innerHTML parsing with HTML5 parser
2009-02-20 18:13:48 +02:00
Henri Sivonen
5dc8f25195
Restart HTML5 parser on meta charset; release stack and list memory in tree builder
2009-01-16 15:21:48 +02:00
Jonas Sicking
e3e5cefa61
Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap
2009-04-15 15:34:50 -07:00
Boris Zbarsky
68f2da9705
Backing out changeset ec2bec209571 and changeset 140f64990c51 (fix for bug 481566) due to test failures.
2009-04-04 01:55:51 -04:00
Jonas Sicking
7f33c641ea
[mq]: sinkstuff
2009-04-03 18:25:13 -07:00
Blake Kaplan
f01b4daf9c
Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky
2008-12-11 14:20:45 -08:00
Blake Kaplan
05459fcc86
Bug 455043 - Remove HTML3 quirks mode. r+sr=jst
2008-09-26 15:43:37 -07:00
5a3f9516a0
Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner
2008-04-10 21:38:25 -07:00
38898aaf1b
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
2008-02-08 14:07:51 -08:00
993fceabac
Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
2007-11-12 17:41:40 -08:00
48904665ed
Update UUID for nsIParser
2007-06-26 17:41:30 -07:00
bdddb68f6a
Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst
2007-06-26 17:21:47 -07:00
mrbkap@gmail.com
6d8d9d0d31
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
2006-01-30 23:45:19 +00:00
mrbkap@gmail.com
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
mrbkap@gmail.com
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
bsmedberg@covad.net
244c41b7ad
Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap
2005-12-12 21:39:56 +00:00
bsmedberg@covad.net
fb56b42204
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
bzbarsky@mit.edu
f8ccd64790
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
d9bd0ae075
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
df45507103
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
cvshook@sicking.cc
71c43e5db5
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
bzbarsky@mit.edu
a1b7a058e6
Fixing build bustage
2005-01-27 20:00:37 +00:00
bzbarsky@mit.edu
76dc5f2e24
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
mrbkap@gmail.com
2afd8bafd0
bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs
2004-12-01 04:37:36 +00:00
bzbarsky@mit.edu
7ce34c9f73
Make createContextualFragment work for XML. Bug 133827, patch by
...
steve.swanson@mackichan.com , r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky@mit.edu
5a4838ca14
Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
...
Vincent <ajvincent@juno.com >, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
cbiesinger@web.de
d3e023b8f2
Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
...
r+sr=bz
2004-07-17 21:45:37 +00:00
bzbarsky@mit.edu
180ed8a57a
Remove bogus data-sniffing code in CanParse() impls, clean up signature, don't
...
peek a buffer if we're not planning to autodetect the parsemode. Bug 113201,
r=rbs, sr=jst
2004-05-13 23:39:06 +00:00
peterv@propagandism.org
1ed76a83d6
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
bzbarsky@mit.edu
1003d0cf7f
Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
...
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
alecf@flett.org
aa24a7bb8e
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
bzbarsky@mit.edu
98f570e17d
Some random code cleanup:
...
1) Make SetContentSink and SetParserFilter not claim to return stuff
2) Clean up nsIParser to use NS_IMETHOD_() where needed. Sync up with nsParser
3) Removed some never-used code
Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
dougt@netscape.com
d575ba72ae
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
harishd@netscape.com
c0bdd46a84
Make sure to catch error messages returned by nsCompontentManagerImpl::CreateInstance when creating a dtd ( CNavDTD ). This fixes a shutdown crash. r=timeless, sr=heikki, a=asa
2002-12-06 01:54:39 +00:00