53 Commits

Author SHA1 Message Date
timeless%mozdev.org
5fe8a63de7 Bug 237855 Mozilla doesn't recognise MathML 2.0 DOCTYPE and DTD and chokes on its entities
patch by alexey@optus.net r=rbs sr=jst a=dbaron


git-svn-id: svn://10.0.0.236/trunk@154184 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 04:43:01 +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
hjtoi%comcast.net
38312260ae Bug 197114, less copying when loading external DTDs, r=alecf, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@152489 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 21:23:34 +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
peter%propagandism.org
ac5076bac9 Part of fix for bug 192139 (Intergrate latest Expat). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@150690 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 18:04: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
bsmedberg%covad.net
fb2823febf bug 219355 (regression from bug 179834) - XML parsing errors (entity not found) - r=heikki sr=darin
git-svn-id: svn://10.0.0.236/trunk@146994 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 18:09:25 +00:00
bsmedberg%covad.net
1b71e7ac3e Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
23af8f3c42 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146618 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:24:21 +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
heikki%netscape.com
b136e1d893 Bug 207904, doctype with name only got destroyed by our doctype handling, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@143236 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 17:47:10 +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
dwitte%stanford.edu
dc7e857400 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.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +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
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
d88c33625a fixing bustage. AppendRelativeNativePath only can be used when appending "native paths". r=saspitzer, b=197520
git-svn-id: svn://10.0.0.236/trunk@139611 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 20:14:39 +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
heikki%netscape.com
913669048f Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@139121 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 23:40:51 +00:00
alecf%netscape.com
326b7425d7 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@139039 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:54:51 +00:00
heikki%netscape.com
50db37beaa Bug 193179, recognize XHTML Mobile Profile FPI in order to load XHTML entities, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@138568 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:39:07 +00:00
heikki%netscape.com
d6531661ff Bug 184001, do not copy external DTDs into internal subset, r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@137208 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 19:21:24 +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
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
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
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
rbs%maths.uq.edu.au
908f88658d Add the DOCTYPE for the XHTML+MathML+SVG profile in the recognized catalog list, b=145810, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122065 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 08:16:54 +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
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
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
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
harishd%netscape.com
28bce6046e Regression - Make EXPECTED TAG error message localizable. b=126452, r=harishd, sr=jst. ** Patch provided by heikki@netscape.com **
git-svn-id: svn://10.0.0.236/trunk@115012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:16:14 +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
heikki%netscape.com
c7242c0060 Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114223 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:02:44 +00:00
heikki%netscape.com
51cf66c5f5 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +00:00
heikki%netscape.com
d3fe0d3a87 Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112898 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:19:23 +00:00
heikki%netscape.com
56fb7f80ee Bug 44458, enable XHTML entities when an XHTML doctype with public id is present in an XML document. r=rbs@maths.uq.edu.au, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112779 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:07:45 +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
rbs%maths.uq.edu.au
3fad341d3d Fix bug 113400 - remapknown public IDs (such as that of XHTML+MathML or SVG) to local DTD files. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112211 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:52:32 +00:00
harishd%netscape.com
d2bc486a83 Fix ports bustage. Removing MOZ_SVG stuff for now since the code in nsExpatDriver is a bit different than nsExpatTokenizer. Will checkin a correct fix soon.
git-svn-id: svn://10.0.0.236/trunk@112152 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 03:03:54 +00:00
harishd%netscape.com
97b505b95b Putting back the change that I just backed outsince it doesn't affect xul window performance. a=sheriff
git-svn-id: svn://10.0.0.236/trunk@112125 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 00:35:11 +00:00
harishd%netscape.com
f1f8189502 Fixing regressions: In order to update the expat buffer position correctly do not block after processing a start element. b=119399, r=heikki, sr=jst. Update the expat buffer position if we're blocked after processing the end element. b=119727, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:42:53 +00:00
harishd%netscape.com
6fa7148f5c Backing a part of my code to see if it improves xul window performance. a=sheriff
git-svn-id: svn://10.0.0.236/trunk@112120 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:34:37 +00:00
alecf%netscape.com
26792f7cf9 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:31:19 +00:00