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
darin@meer.net
14e471acbc
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
timeless@mozdev.org
a8cc599228
Bug 211249 mozilla/htmlparser/src/nsParser.cpp line 1766 interuptted should be interrupted
...
r=heikki sr=heikki
2004-01-15 04:06:00 +00:00
sicking@bigfoot.com
d5ab753e78
Bug 224727: Make IBM doctype trigger quirks mode rather then almost standards.
...
r=mkaply sr=dbaron
2003-11-04 23:50:18 +00:00
darin@meer.net
b3abc505ba
fixes bug 221431 "crash: @nsHTMLDocument::ResolveName" patch=keeda@hotpop.com r=darin sr=bz
2003-10-07 18:20:58 +00:00
darin@meer.net
a49e0e55cd
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
timeless@mozdev.org
261bc22572
Adding the ablity to disable view source.
...
patch by dougt r=bz,sr=darin,b=199335
2003-07-30 23:57:39 +00:00
timeless@mozdev.org
f7b7def5c7
Bug 214445 View Page Source fails
...
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
2003-07-30 17:02:52 +00:00
dougt@meer.net
f50afca4fc
Adding the ablity to disable view source. r=bz,sr=darin,b=199335
2003-07-30 02:39:05 +00:00
jaggernaut@netscape.com
3e0289c7a6
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +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
alecf@flett.org
d870ddc132
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
harishd@netscape.com
0a7d9c896a
Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com
2003-05-28 20:56:21 +00:00
dwitte@stanford.edu
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jshin@mailaps.org
f98189e0de
bug 68738 : UTF-16/32LE with BOM is always detected as UTF-16BE/32BE.
...
r=ftang, sr=heikki
2003-04-10 07:10:48 +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
heikki@netscape.com
50fcf1b58f
Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.
2003-04-02 21:44:39 +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
timeless@mozdev.org
e1a87b5221
Bug 183355 Typo in parser UTF charset detection code
...
patch by alexey@ihug.com.au r=ftang sr=heikki
2003-01-19 00:52:04 +00:00
dbaron@dbaron.org
f708efe7f1
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 20:44:25 +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
harishd@netscape.com
c704c31931
Make sure to collect FORM attributes if the FORM was found along with misplaced content inside TABLE. b=142965, r=heikki, sr=jst. Added -/W3C/DTD HTML 4.0 Transitional/EN to the quirks list. b=146274, r=heikki, sr=dbaron
2002-12-03 19:55:19 +00:00
dbaron@fas.harvard.edu
bc53901ed4
Remove unused parser-related code. b=130439 r=harishd sr=jst
2002-11-28 19:43:51 +00:00
dougt@netscape.com
46ce738546
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
bzbarsky@mit.edu
b4a66781e3
use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
2002-09-03 22:23:22 +00:00
jfrancis@netscape.com
db48d7f810
fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz
2002-08-29 08:17:41 +00:00
alecf@netscape.com
fff3bf6fe2
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
harishd@netscape.com
e045df04af
No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst
2002-05-07 23:18:15 +00:00
harishd@netscape.com
3bae7ffa4a
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
2002-04-10 22:16:46 +00:00
harishd@netscape.com
e3ca0042cf
Backing out timeless's checkin. This wasn't supposed to happen until we branched
2002-04-09 00:43:00 +00:00
shanjian@netscape.com
60ba0cb903
#135806 crashes [@ GetNextChar]
...
modified GetNextChar implementation to handle the fact that aEnd points to
one character beyond the end.
r=harishd, sr=jst, a=asa, adt
2002-04-09 00:28:49 +00:00
timeless@mac.com
a6033e0904
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
shanjian@netscape.com
cebd7e9009
put my previous patch back in. This patch does not seem like cause any
...
regression in txul.
2002-04-04 02:43:17 +00:00
shanjian@netscape.com
4613f9059c
reverse my previous checkin to see if my checkin cause the txul regression.
2002-04-04 01:07:19 +00:00
shanjian@netscape.com
7d95ddae91
#100849 Charset sniffing in parser could not find charset in some cases
...
rewrote meta charset detection in parser to be more tolerant to various
meta charset specification.
r=harishd, sr=jst, a=asa, adt
2002-04-03 22:34:27 +00:00
dbaron@fas.harvard.edu
e990a4631d
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-24 00:16:18 +00:00
darin@netscape.com
9808f7ca98
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
harishd@netscape.com
6ff5f64660
META tags enclosed in a comment should be ignored. b=124904, r=dp/heikki, sr=darin, a=asa
2002-03-19 21:41:41 +00:00
dbaron@fas.harvard.edu
44d839863a
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
2002-03-16 15:34:43 +00:00
darin@netscape.com
fc6d5e4b32
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
harishd@netscape.com
e5d9328251
Make sure to flush the tokenizer stack after tokenizing SCRIPT content. Note: This checkin also includes code clean up. b=104856, r=heikki, sr=jst
2002-02-14 23:45:20 +00:00
alecf@netscape.com
9a4edc1569
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
alecf@netscape.com
6307c31be5
back out my accidental checkin
2002-01-28 02:47:30 +00:00
alecf@netscape.com
a663775981
fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
2002-01-27 22:02:00 +00:00
harishd@netscape.com
704892bd39
Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst
2002-01-24 22:15:58 +00:00
timeless@mac.com
9dadb9719f
Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
...
assert instead of crashing if some load fails
r=darin sr=waterson
2002-01-16 00:16:51 +00:00
harishd@netscape.com
8d011343e5
119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan
2002-01-11 01:26:41 +00:00
harishd@netscape.com
545be93cae
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
2002-01-09 01:37:50 +00:00
harishd@netscape.com
c5876d6a2d
95487 - document.write shouldn't be interrupted. r=kmcclusk, sr=jst
2002-01-03 21:25:33 +00:00