98 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
9207bef62c Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@162244 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 20:43:15 +00:00
bzbarsky%mit.edu
a5e5bcdb06 Make CTextToken::ConsumeUntil not consume too much text. Bug 258082, patch by
Blake Kaplan <mrbkap@rice.edu>, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@162149 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 01:50:53 +00:00
timeless%mozdev.org
6eb72f6e27 Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv


git-svn-id: svn://10.0.0.236/trunk@161138 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 18:46:58 +00:00
timeless%mozdev.org
8bde60ceed Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv


git-svn-id: svn://10.0.0.236/trunk@161136 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 17:57:51 +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
bryner%brianryner.com
c69233d235 oops, this wasn't supposed to go on the trunk. backing out.
git-svn-id: svn://10.0.0.236/trunk@158278 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:41:30 +00:00
bryner%brianryner.com
ea5334a7ce bringing branch changes forward
git-svn-id: svn://10.0.0.236/trunk@158277 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:35:56 +00:00
roc+%cs.cmu.edu
b09df31b9e Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157279 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 00:25:00 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +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
4a3c11f753 Fix for bug 235747 (Move parser stuff into mozilla/parser). r=cls, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155906 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 07:53:15 +00:00
peterv%propagandism.org
0374f36974 Merging patch by jst (from mozilla/htmlparser).
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@155384 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:29:02 +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
peterv%propagandism.org
17d8dca9d7 Merging patch by darin (from mozilla/htmlparser).
fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst


git-svn-id: svn://10.0.0.236/trunk@155380 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 12:48:44 +00:00
peterv%propagandism.org
be6114fbcd Merging patch by sicking (from mozilla/htmlparser).
Bug 236873: Let more elements share classes to save codesize. r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@155376 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 12:28:55 +00:00
peterv%propagandism.org
3587776efa Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@153627 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 16:00:23 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
peterv%propagandism.org
04ef9d13a2 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@152548 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 14:15:57 +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
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
bzbarsky%mit.edu
3f905fea8e Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@148510 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:17:50 +00:00
hpradhan%hotpop.com
3dd9b150e5 Bug 170985 : fix for gcc3.4 bustage
git-svn-id: svn://10.0.0.236/trunk@147226 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com
403a6ec735 Bug 170985 : bustage possible btek bustage fix
git-svn-id: svn://10.0.0.236/trunk@147225 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:15:34 +00:00
hpradhan%hotpop.com
2386bca751 Bug 170985 : table-based content object creation r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147220 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 06:16:52 +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
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
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
harishd%netscape.com
6eb39613d1 Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@142987 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 20:56:21 +00:00
bryner%netscape.com
3cb1beb39b Removing unused nsHTMLNullSink and SelfTest.cpp. Bug 207019, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@142958 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 22:08:44 +00:00
nisheeth%netscape.com
73bcd9dd60 Fix for bug 206027. r=harishd@netscape.com, sr=jst@netscape.com, a=mkaply@us.ibm.com. Make cut n paste from Powerpoint into Mozilla work properly.
git-svn-id: svn://10.0.0.236/trunk@142686 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 03:03:59 +00:00
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 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
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