38 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
43242f0c03 Make XML serializer output an encoding="..." which matches the actual encoding
it's serializing to.  Bug 361933, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215952 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 04:01:46 +00:00
peterv%propagandism.org
40c612fc40 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@200030 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 20:30:44 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
peterv%propagandism.org
5cf9b0e12f Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@195434 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 09:19:48 +00:00
bzbarsky%mit.edu
84223ac843 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@194901 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:12 +00:00
bzbarsky%mit.edu
b7c086240f Undo attempts to fix build bustage from yesterday. These should not be needed.
git-svn-id: svn://10.0.0.236/trunk@194897 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:08 +00:00
cvshook%sicking.cc
8dc82cd22e Might this help the redness?
git-svn-id: svn://10.0.0.236/trunk@194896 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:07 +00:00
bzbarsky%mit.edu
7cbf90f600 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@194895 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:06 +00:00
jst%mozilla.jstenback.com
c4b4a87ac2 Fixing bug 282615. Make DOMSerializer's security check check for enabled priveleges too. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@194894 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:05 +00:00
gerv%gerv.net
31f46ef5ad Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@194886 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:57 +00:00
jst%mozilla.jstenback.com
009bc8414f Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194880 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:51 +00:00
bryner%brianryner.com
6849297bf8 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194870 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:41 +00:00
caillon%returnzero.com
6af9278f8c Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@194869 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:40 +00:00
caillon%returnzero.com
d101311a10 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@194868 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:39 +00:00
caillon%returnzero.com
787492c4d0 Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@194867 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:38 +00:00
alecf%flett.org
bd02ddb8c9 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@194861 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:32 +00:00
heikki%netscape.com
253bef2efe Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@194848 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:19 +00:00
dbaron%dbaron.org
0c34372d9f 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@194847 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:18 +00:00
rbs%maths.uq.edu.au
e43244ae8c Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194833 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:04 +00:00
sfraser%netscape.com
c2bb04fa43 Fix bug 181823: make CheckSameOrigin always return a value, rather than garbage. r=heikki, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194832 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:03 +00:00
heikki%netscape.com
02efca63bf Bug 169982, same origin check for serializeToStream. r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194831 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:02 +00:00
mstoltz%netscape.com
e7d64b5c8c 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@194830 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:01 +00:00
peterv%netscape.com
1529378932 Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@194825 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:56 +00:00
heikki%netscape.com
e50e2ca680 Bug 123953, crash when using XMLSerializer on 'orphaned' node. r=harishd, sr=vidur, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194824 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:55 +00:00
peterv%netscape.com
f31c693877 Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194819 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:50 +00:00
hyatt%netscape.com
3847a36d5f Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@194813 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:44 +00:00
jaggernaut%netscape.com
84851ffef0 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@194810 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:41 +00:00
gerv%gerv.net
2843932dbb License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@194808 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:39 +00:00
gerv%gerv.net
f52ed5415a Oops.
git-svn-id: svn://10.0.0.236/trunk@194807 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:38 +00:00
scc%mozilla.org
68dd18c32a bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@194806 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:37 +00:00
jst%netscape.com
72641729cc Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@194795 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:26 +00:00
jst%netscape.com
7d0c1bfcd2 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@194786 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:17 +00:00
heikki%netscape.com
3654624fa0 Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst.
git-svn-id: svn://10.0.0.236/trunk@194785 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:16 +00:00
heikki%netscape.com
c7eae3ecc7 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@194768 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:59 +00:00
vidur%netscape.com
7f8ce6a24c Added new parser interface that does string/stream to DOM document parsing. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194766 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:57 +00:00
vidur%netscape.com
9c5bce31ad Allowed complete script access to our components. This is WIP and not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194762 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:53 +00:00
vidur%netscape.com
78697b7c1e First cut of XMLSerializer and XMLHttpRequest. This is WIP and not part of the Mozilla/Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194759 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:50 +00:00