jonas%sicking.cc
7647002619
Don't keep a separate count of currently running scripts in the parser since all sorts of badness happens if there's running scripts when we create a new parser. r/sr=mrbkap
...
git-svn-id: svn://10.0.0.236/trunk@257021 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 06:54:35 +00:00
mrbkap%gmail.com
070e8296b2
Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky/jst a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@255767 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 07:40:47 +00:00
jruderman%hmc.edu
79053d810b
Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250043 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 04:38:26 +00:00
bent.mozilla%gmail.com
e21a2262ee
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
...
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
jonas%sicking.cc
ca0c3c7ee3
Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
...
git-svn-id: svn://10.0.0.236/trunk@239246 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 01:41:40 +00:00
sharparrow1%yahoo.com
536663b70b
Update UUID for nsIParser
...
git-svn-id: svn://10.0.0.236/trunk@228795 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:41:30 +00:00
sharparrow1%yahoo.com
9057c0b45b
Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@228788 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:21:47 +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
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
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
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
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
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
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
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
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
bzbarsky%mit.edu
42877f4e0f
Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
...
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@160482 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 01:31:02 +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
6a3b796123
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
git-svn-id: svn://10.0.0.236/trunk@156393 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 23:39:06 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
bzbarsky%mit.edu
62c53f23d5
Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
...
64799, r=choess, sr=jst
git-svn-id: svn://10.0.0.236/trunk@151887 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 04:50:56 +00:00
alecf%flett.org
71e5d724e5
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
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu
7812a1f039
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
git-svn-id: svn://10.0.0.236/trunk@140868 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:23:34 +00:00
dougt%netscape.com
fed2927b2c
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 CIDs 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.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
harishd%netscape.com
25c2e377de
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
...
git-svn-id: svn://10.0.0.236/trunk@134872 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:54:39 +00:00
jfrancis%netscape.com
6cf80b2b8c
fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz
...
git-svn-id: svn://10.0.0.236/trunk@128445 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 08:17:41 +00:00
shanjian%netscape.com
5d1c227024
#162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
...
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
dbaron%fas.harvard.edu
a397ea7022
Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
alecf%netscape.com
a3f49498a1
fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@113007 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:02:00 +00:00
shanjian%netscape.com
3356940ad2
#112793 fine tune frame charset mechanism
...
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
bbaetz%cs.mcgill.ca
478af40f6f
Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
...
alex.fritze@crocodile-clips.com , james.turner@crocodile-clips.com , and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
harishd%netscape.com
eeeb1c2290
97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
...
99282 - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:18 +00:00
jst%netscape.com
a76d9ab54f
Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105453 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:31:49 +00:00
harishd%netscape.com
1c4e4c74ec
96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
...
r=dp,shanjian,sfraser, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
cf694b8116
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
...
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
dbaron%fas.harvard.edu
e59c2701d9
Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@102591 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:37:19 +00:00
darin%netscape.com
c45df76363
fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
...
r=gagan, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@101577 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 00:38:46 +00:00
shanjian%netscape.com
c7216dd2df
#95162 Auto-detect doesn't work on kinokuniya page
...
r=yokoyama sr=jst
git-svn-id: svn://10.0.0.236/trunk@101522 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 18:46:44 +00:00
harishd%netscape.com
36086848b7
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00