bzbarsky%mit.edu
53fef655c4
Treat '\'' and '"' identically for purposes of starting attribute names. Fix
...
some leaks too. Bug 261503, patch by Blake Kaplan <mrbkap@gmail.com>,
r=bzbarsky, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163400 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 23:23:18 +00:00
bzbarsky%mit.edu
043249f868
Followup to bug 143512, patch by patch by Chris Thomas <cst@andrew.cmu.edu>,
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160640 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:48:41 +00:00
bzbarsky%mit.edu
fad9e71dc3
Fix assert if an end tag has "attributes". Bug 143512, patch by Chris Thomas
...
<cst@andrew.cmu.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160555 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 22:09:06 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +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
bzbarsky%mit.edu
a7b3731d67
The saga continues. Don't move around <script>, since that breaks pages... Bug
...
243064, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@156206 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-10 21:04:18 +00:00
bzbarsky%mit.edu
05cbb3e143
When hoisting misplaced content out of a table, bring along the various "legal
...
open" elements (script, whitespace, comments, etc) that are kids of the
misplaced content. This prevents the misplaced content from being closed too
early. Bug 242503, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@156044 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 22:23:10 +00:00
peterv%propagandism.org
512e303238
Merging patch by bz (from mozilla/htmlparser).
...
Remove the kOmitWS flag, make it possible to "open" whitespace and newline "tags" anywhere in the document. Bug 240139, r=choess, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@155821 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 11:12:34 +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
alex.fritze%crocodile-clips.com
937a1cf846
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
2097395338
Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
timeless%mozdev.org
822de7699e
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=timeless sr=heikki
git-svn-id: svn://10.0.0.236/trunk@146730 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:50 +00:00
timeless%mozdev.org
45269ef258
Adding the ablity to disable view source.
...
patch by dougt r=bz,sr=darin,b=199335
git-svn-id: svn://10.0.0.236/trunk@145405 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:57:39 +00:00
timeless%mozdev.org
ff3c22c2a1
Bug 214445 View Page Source fails
...
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
git-svn-id: svn://10.0.0.236/trunk@145381 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 17:02:52 +00:00
dougt%meer.net
c2677efc6d
Adding the ablity to disable view source. r=bz,sr=darin,b=199335
...
git-svn-id: svn://10.0.0.236/trunk@145367 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 02:39:05 +00:00
dbaron%dbaron.org
20a7c5ebb1
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
jkeiser%netscape.com
64ac997a95
Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
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 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
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