417 Commits

Author SHA1 Message Date
dbaron%dbaron.org
bb5ffac79b P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r=harishd sr=dbaron b=91927
git-svn-id: svn://10.0.0.236/trunk@143569 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 04:24:25 +00:00
timeless%mozdev.org
8d5c2543d8 Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@143122 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 22:36:47 +00:00
bryner%netscape.com
9bf807ce6a Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142525 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 00:59:04 +00:00
harishd%netscape.com
f692653e6e Allow userdefined tags in the HEAD. b=167493, r=nisheeth@netscape.com, sr=jst@netscape.com, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142067 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 20:57:52 +00:00
timeless%mozdev.org
55b1cade1d Bug 201271 Fix interface inconsistencies in parser
patch by choess@stwing.upenn.edu r=harishd sr=jst


git-svn-id: svn://10.0.0.236/trunk@140945 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:44:25 +00:00
alecf%netscape.com
3554f2edec fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@140862 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:54:56 +00:00
hpradhan%hotpop.com
12f1dc7f84 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
alecf%netscape.com
a06219c70d fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag


git-svn-id: svn://10.0.0.236/trunk@140605 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:59:51 +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 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.


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
71d3d01506 Do not open head context if <script> is in the body context. b=194329, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@138631 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:26:00 +00:00
harishd%netscape.com
fa53826eab Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@136430 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 20:24:03 +00:00
harishd%netscape.com
e7a19238c2 Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@136073 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 18:29:23 +00:00
dbaron%dbaron.org
9b5780673f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136003 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:44:25 +00:00
harishd%netscape.com
ba933c6526 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:17:22 +00:00
harishd%netscape.com
1b51bff258 Convert CRLF or CR to LF when collecting skippedcontent. b=159615, r=glazman, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135836 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 20:49:07 +00:00
harishd%netscape.com
21bb532f1a Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:21:20 +00:00
harishd%netscape.com
f03d0cf199 Backing out fix for bug 149887 because of bug 184029. a=asa
git-svn-id: svn://10.0.0.236/trunk@134995 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 19:30:10 +00:00
harishd%netscape.com
f409404ff2 Backing out the fix for bug 142965 inorder to fix an important issue raised in bug 183711. a=asa
git-svn-id: svn://10.0.0.236/trunk@134925 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-07 01:48:25 +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
harishd%netscape.com
852bb4c5cf Prevent content inside IFRAME from evaluating ( specifically SCRIPT ). b=149887, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134728 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 22:31:38 +00:00
harishd%netscape.com
003dea7bb8 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
git-svn-id: svn://10.0.0.236/trunk@134709 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 19:55:19 +00:00
dbaron%fas.harvard.edu
ec61a6b0ab Remove unused parser-related code. b=130439 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@134577 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:43:51 +00:00
harishd%netscape.com
1eb8cce6ae Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu
4f51e5b41e use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:23:22 +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
alecf%netscape.com
7e8aa74093 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


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
kyle.yuan%sun.com
185d879123 Bug 157865 </HTML> at the beginning of the page followed by <HEAD> or <BODY> causes Mozilla to freeze
r=choess, sr=bzbarsky, a=asa
Check in for Jerry's fix.


git-svn-id: svn://10.0.0.236/trunk@125594 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:00:48 +00:00
bryner%netscape.com
d63c986f4d Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@124756 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:56:50 +00:00
dbaron%fas.harvard.edu
7c4652cc16 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
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
kyle.yuan%sun.com
8057b841d9 Bug 133853 why always add <HTML> token into Tokenizer even there is an <HTML> token already?
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix.


git-svn-id: svn://10.0.0.236/trunk@123490 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:06:29 +00:00
harishd%netscape.com
a8c3e46cbb Fixed data loss of malformed table content. b=138577, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123105 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:13:48 +00:00
harishd%netscape.com
884c73af13 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121014 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:18:15 +00:00
harishd%netscape.com
b95d0f6708 Initialize token allocator, in the BuildModel() regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119151 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:04:26 +00:00
harishd%netscape.com
4737cceba4 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
harishd%netscape.com
a6dd951b3e Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c Backing out timeless's checkin. This wasn't supposed to happen until we branched
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
harishd%netscape.com
c48776120a With nested forms we used to match /FORM to its opening FORM ( though the inner FORM was ignored ). However, IE seems to close the outer FORM when it encounters /FORM. Replicating IE's behavior and also solves a serious form submission problem. b=128521, r=heikki, sr=jst a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117523 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:08:30 +00:00
alecf%netscape.com
9f32fc6e9c fix for bug 132681
r=harishd, sr=jst, a=scc
performance fix - stop scanning files that are known to be XML for html-like text


git-svn-id: svn://10.0.0.236/trunk@117373 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 17:16:44 +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
bzbarsky%mit.edu
ddfc778b27 Make text/plain view-source use the view-source parser. Bug 124753,
r=harishd, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@114692 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 15:51:02 +00:00
harishd%netscape.com
e951f0eacd Fixing hang - If misplaced table content turns out to be skipped content then we need to make sure that the rest of the table content belongs to the skipped content until we reach the matching end-skipped-content-tag. b=124788, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114636 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:36:50 +00:00
harishd%netscape.com
1a9e99d353 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
git-svn-id: svn://10.0.0.236/trunk@114540 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:45:20 +00:00
alecf%netscape.com
83ac6a3dcc progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd


git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
harishd%netscape.com
8ca1a4cdc8 Decrement mOpenFormCount only if there's an open form. b=115262, r=heikki, sr=jst.\n Counter related code should be DEBUG only. b=92618, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111949 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:33:31 +00:00