bzbarsky%mit.edu
99037d7097
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +00:00
timeless%mozdev.org
9872a1a597
Bug 63188 What is the aMode parameter in CToken::Consume?
...
patch by choess@stwing.upenn.edu r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@140872 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:01:46 +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
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
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
timeless%mozdev.org
96d9177b06
Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
...
r=harishd sr=heikki
git-svn-id: svn://10.0.0.236/trunk@139429 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 04:03:09 +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
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
seawood%netscape.com
f8f86e7f05
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
harishd%netscape.com
a2a40a39a6
Backing out my changes to see if it fixes the orangeness
...
git-svn-id: svn://10.0.0.236/trunk@135202 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:28:47 +00:00
harishd%netscape.com
b38cebbd49
Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
...
Added a couple of testcases to the parser regression test suite
git-svn-id: svn://10.0.0.236/trunk@135185 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 22:38:40 +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
timeless%mozdev.org
7ca99259be
whoops
...
git-svn-id: svn://10.0.0.236/trunk@134792 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 09:47:50 +00:00
timeless%mozdev.org
1f46e6c41f
fixing logparse bustage sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134789 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 08:20:46 +00:00
jfrancis%netscape.com
8247e85525
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:30:59 +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
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
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
heikki%netscape.com
fbe40219c9
Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
bzbarsky%mit.edu
ef444a9b4f
Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
...
dann@godzilla.ics.uci.edu , r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126401 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:22:59 +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
seawood%netscape.com
a7c7e77b8b
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
harishd%netscape.com
cba309a0c0
Make marquee tag a block level element. b=154173, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124152 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:49:38 +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
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
harishd%netscape.com
eedcf9208e
Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@122037 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 23:51:30 +00:00
harishd%netscape.com
d043ec8b24
Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121993 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:16 +00:00
pete.zha%sun.com
5894b69ba2
bug 143168:remove ilayer layer tag from mozilla code
...
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com )'s fix
git-svn-id: svn://10.0.0.236/trunk@121590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:08:15 +00:00
jkeiser%netscape.com
4fd4a3d9c6
Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
harishd%netscape.com
c996b9fb65
Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +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
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
rbs%maths.uq.edu.au
84d6bd5d71
perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
heikki%netscape.com
2583fca360
Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu.
...
git-svn-id: svn://10.0.0.236/trunk@116432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:17:18 +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
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
harishd%netscape.com
753b76b639
Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@112743 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:15:58 +00:00
harishd%netscape.com
aebb8f7c06
Reduce the size of tokens. b=113657, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111954 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:57 +00:00
harishd%netscape.com
78612453d2
119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@111914 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:26:41 +00:00
dbaron%fas.harvard.edu
76c868f8dd
Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@111708 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:15:36 +00:00
harishd%netscape.com
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00