Commit Graph

159980 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
a4e307704d Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@194900 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com
5871ad52ca Whitespace only change.
git-svn-id: svn://10.0.0.236/trunk@194899 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com
6555aa4884 Removing stray whitespace. No code change.
git-svn-id: svn://10.0.0.236/trunk@194898 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:09 +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
vladimir%pobox.com
82b62ef49d wrong IID; this one matches aviary and 1.7
git-svn-id: svn://10.0.0.236/trunk@194893 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:04 +00:00
bzbarsky%mit.edu
7a870938fd Make sure to wrap a buffered stream around the stream we're passed before
sending it to the parser (which expects a buffered stream).  Bug 287409,
r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@194892 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:03 +00:00
vladimir%pobox.com
f839c310fc b=253954, let nsDOMParser detect charset from xml entity decl -- finally remembered to land this; r=bz,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@194891 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:02 +00:00
vladimir%pobox.com
5bdf7e3a3f fixy fixy
git-svn-id: svn://10.0.0.236/trunk@194890 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:01 +00:00
vladimir%pobox.com
4dbb2a3374 b=250119, xmlextras parsestring/parsestream should use autf8string. r=jst, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@194889 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:00 +00:00
bzbarsky%mit.edu
e0b44524b3 Fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@194888 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:59 +00:00
bzbarsky%mit.edu
0f1011aabb Make sure to parse the data as UTF-8, since we serialized it as UTF8. Bug
240717, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@194887 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:58 +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
sicking%bigfoot.com
23092700ce Still bug 239572, but this time with the fix not commented out!
r/sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@194885 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:56 +00:00
sicking%bigfoot.com
284800a302 Bug 239572: nullcheck before calling CallQueryInterface
r/sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@194884 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:55 +00:00
darin%meer.net
7b3df7149f fixes bug 237845 "WSDL bindings fail on Mozilla 1.7 beta" patch by keeda@hotpop.com r+sr=bz,jst a=asa
git-svn-id: svn://10.0.0.236/trunk@194883 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:54 +00:00
darin%meer.net
a971aab158 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@194882 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:53 +00:00
jst%mozilla.jstenback.com
bf74cf042a Fixing bug 237319. Adding support for server push of XML documents to an XMLHttpRequest using "multipart/x-mixed-replace". r=darin@meer.net, sr=hjtoi-bugzilla@comcast.net, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@194881 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:52 +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
jst%mozilla.jstenback.com
2d56929484 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@194879 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
38b0da4610 Bug 236436, need to null check URL so we won't crash, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194878 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
9f78859808 Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@194877 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ec2aa0533d Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@194876 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
c630fa07f9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@194875 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:46 +00:00
jst%mozilla.jstenback.com
0fa6f0e5c3 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@194874 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
a646032f89 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194873 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:44 +00:00
bryner%brianryner.com
d7b2b72c60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@194872 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
fcc9efb565 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194871 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:42 +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
hpradhan%hotpop.com
f15d5217a3 Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@194866 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:37 +00:00
timeless%mozdev.org
a5a89633f9 Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
patch by riceman+bmo@mail.rit.edu r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@194865 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
f89c080005 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194864 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
5e10441f6c Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@194863 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:34 +00:00
jst%netscape.com
77490e5c67 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@194862 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:33 +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
jst%mozilla.jstenback.com
6910bb4425 Fixing typo in comment.
git-svn-id: svn://10.0.0.236/trunk@194860 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:31 +00:00
jst%netscape.com
4c20a6ac3d Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me.
git-svn-id: svn://10.0.0.236/trunk@194859 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:30 +00:00
caillon%returnzero.com
ea6f77723e Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@194858 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:29 +00:00
alecf%flett.org
2a7347891a fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@194857 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:28 +00:00
varga%netscape.com
1cc4a49250 Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@194856 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:27 +00:00
heikki%netscape.com
b3d380f8a2 Bug 204545, remove event listeners when needed, which fixes practically all known memory leaks and gets us a step closer to IE compatibility. r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194855 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:26 +00:00
heikki%netscape.com
e54f4880bf include no longer needed.
git-svn-id: svn://10.0.0.236/trunk@194854 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:25 +00:00
heikki%netscape.com
3f1be41397 Bug 177533, fix most XMLHttpRequest memory leaks and other minor issues, r=darin, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194853 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:24 +00:00
heikki%netscape.com
9b01a5cf99 Bug 197141, XMLHttpRequest behavior did not match IE when host was not found, r=harishd, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194852 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:23 +00:00
sfraser%netscape.com
6aaef8140e Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@194851 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:22 +00:00