mrbkap%gmail.com
4045b60295
bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
peterv%propagandism.org
cfb79fa121
Fix for bug 307363 (Don't add '---^' to XML errors in the JS console). r=bsmedberg, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@179849 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 16:43:30 +00:00
bzbarsky%mit.edu
dd92584140
Make sure random parts of external DTDs don't sneak into the DOM. Bug 306353,
...
r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@179485 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 18:59:46 +00:00
bzbarsky%mit.edu
0fc90867a3
Sync up the MIME type list in parser with what nsContentDLF has, and improve
...
the error handling for cases when a mismatch does happen. Bug 306502,
r=mrbkap, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@179398 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:33:54 +00:00
peterv%propagandism.org
ca1924b673
Fix for bug 275564 (Mozilla SVG build 2004122009, 2004121909: wrong 'mismatched tag' message). Patch by bz, r=peterv, sr=jst, a=bsmedberg.
...
git-svn-id: svn://10.0.0.236/trunk@176608 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 13:09:19 +00:00
peterv%propagandism.org
4f974157e9
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 13:21:59 +00:00
bsmedberg%covad.net
30e781e751
Bug 279814 - report XML parsing errors to the JS console, r=mrbkap sr=shaver a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@175033 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 01:54:42 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
mrbkap%gmail.com
6f39bbf718
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173992 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:11:30 +00:00
bzbarsky%mit.edu
c310faeb5a
Use expat's doctype parsing now that it does it. Bug 288133, r+sr=peterv, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173383 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:45:43 +00:00
timeless%mozdev.org
ebff88dc38
Bug 287244 DOCTYPE should not imply a default namespace
...
patch by bug@annevankesteren.nl r=tor sr=bz
git-svn-id: svn://10.0.0.236/trunk@171583 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 19:05:21 +00:00
peterv%propagandism.org
946429f4a1
Fix for bug 279078 (XML Error reporting confusing since Expat landing). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@168191 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 15:46:11 +00:00
mrbkap%gmail.com
3df650a60e
bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@167221 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:06:27 +00:00
peterv%propagandism.org
d2ec99ff28
Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@167044 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 11:47:18 +00:00
peterv%propagandism.org
d3728ccc44
Correct function signature to fix Solaris bustage.
...
git-svn-id: svn://10.0.0.236/trunk@166916 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 13:25:31 +00:00
peterv%propagandism.org
ea028c9206
Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
pkw%us.ibm.com
a4c85b043b
AIX bustage fix for checkin from Bug 192139.
...
r=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@166753 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 17:35:52 +00:00
peterv%propagandism.org
04f06673f3
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
mrbkap%gmail.com
55015dd49f
bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@166010 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 04:37:36 +00:00
bzbarsky%mit.edu
2c57a14935
Add suport for a "text/plain" first arg to document.open() (no support for any
...
other types, and none really planned). Bug 73409, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@156737 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 21:32:11 +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
ac41ea5eef
Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@156125 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 14:07:18 +00:00
peterv%propagandism.org
39dbe2d452
Try to fix bustage by backing out.
...
git-svn-id: svn://10.0.0.236/trunk@156087 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 13:22:39 +00:00
peterv%propagandism.org
bb9cb83145
Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@156085 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 12:14:38 +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
8315638cdd
Merging patch by cbiesinger (from mozilla/htmlparser).
...
Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155379 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 12:48:01 +00:00
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 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
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