Commit Graph

3693 Commits

Author SHA1 Message Date
cvshook%sicking.cc
fc66e42de2 More bustage fix for gcc 2.95.2 2006-05-15 08:07:35 +00:00
cvshook%sicking.cc
3d606f5b6e Attempt bustage fix 2006-05-15 07:40:31 +00:00
cvshook%sicking.cc
073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
Olli.Pettay%helsinki.fi
98e4815208 wasn't going to check in this 2006-05-08 07:10:38 +00:00
Olli.Pettay%helsinki.fi
1cb78a82cc Bug 336576, Crash when window gets destroyed during contextmenu event, r+sr=bz 2006-05-08 07:08:41 +00:00
timeless%mozdev.org
6db8e8fdb0 Bug 332198 change nsGenericDOMDataNode::ToCString
r=sicking sr=sicking
2006-05-07 12:15:36 +00:00
timeless%mozdev.org
25d91f2777 Bug 332198 change nsGenericDOMDataNode::ToCString
r=sicking sr=dbaron
2006-05-07 01:39:21 +00:00
timeless%mozdev.org
28fa63a8f5 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz
2006-05-06 22:09:20 +00:00
bzbarsky%mit.edu
86cdacb339 Clean up event dispatch code in XMLHttpRequest, make onreadystatechange an
EventListener, fire upload progress events.  Bug 198595 and bug 312213, patch
by me for the cleanup and onreadystatechange and by Rob Adams
<readams@readams.net> for the upload progress changes, r=sicking, sr=peterv
2006-05-05 17:01:53 +00:00
peterv%propagandism.org
a367cb9457 Fix for bug 334179 (XSLT document() function doesn't follow HTTP 301 / 302 responses). r=sicking, sr=bz. 2006-05-05 11:48:07 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
3ae541c6c6 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst
2006-05-04 15:21:50 +00:00
bzbarsky%mit.edu
b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
mrbkap%gmail.com
fcb69da993 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst 2006-04-26 19:53:27 +00:00
neil%parkwaycc.co.uk
ce4772fbe6 bustage fix b=326931 2006-04-26 13:05:24 +00:00
neil%parkwaycc.co.uk
cb8f071e1c Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
peterv%propagandism.org
02f7995799 Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst. 2006-04-26 09:19:48 +00:00
roc+%cs.cmu.edu
4667a9b409 Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
bzbarsky%mit.edu
242103d680 Make getElementsByTagName do the right thing with prefixes. Bug 206053,
r=peterv, sr=jst
2006-04-25 21:21:49 +00:00
bzbarsky%mit.edu
3dc3c6dabf Dont clear our props if we're not changing owner documents. Bug 335333, r+sr=jst 2006-04-25 20:03:26 +00:00
bzbarsky%mit.edu
2c105676af Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
jst%mozilla.jstenback.com
9fa16b22ee Removing unused variable as pointed out by dbaron at https://bugzilla.mozilla.org/show_bug.cgi?id=321299#c29 2006-04-25 04:04:27 +00:00
bzbarsky%mit.edu
c6cc005766 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver 2006-04-24 19:56:18 +00:00
bzbarsky%mit.edu
7f9b937064 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv
2006-04-24 19:52:21 +00:00
cvshook%sicking.cc
1b8fe517b5 More redness fixes 2006-04-24 07:46:03 +00:00
cvshook%sicking.cc
5547aa83e1 Fix redness 2006-04-24 07:16:27 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
7d7cc60668 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst 2006-04-22 00:06:30 +00:00
bzbarsky%mit.edu
e28c28393e Spec says to return null, not throw. Bug 334884, r+sr=sicking 2006-04-21 17:55:52 +00:00
gavin%gavinsharp.com
17ca1575dc Bug 315370: text Copy/Paste from Firefox to Outlook will be created as attachment, patch by David Gardiner <David.R.Gardiner@gmail.com>, r+sr=roc 2006-04-21 15:16:22 +00:00
bzbarsky%mit.edu
e69e268856 Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst
2006-04-21 01:24:44 +00:00
Olli.Pettay%helsinki.fi
fe02c71281 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-04-20 03:39:54 +00:00
bzbarsky%mit.edu
b4355576e5 Actually address the review comment too. Bug 324601. 2006-04-20 03:39:53 +00:00
bzbarsky%mit.edu
5456d83d62 Don't leak the channel and XMLHttpRequest object if AsyncOpen fails. Bug
323454, r=biesi, sr=darin
2006-04-20 03:39:52 +00:00
bzbarsky%mit.edu
a0907497e8 Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst
2006-04-20 03:39:51 +00:00
bzbarsky%mit.edu
4f00de6d9d Don't throw when status is gotten after a server timeout or some such. Bug
304980, r=darin, sr=jst
2006-04-20 03:39:50 +00:00
darin%meer.net
6de16e96e2 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-04-20 03:39:49 +00:00
darin%meer.net
cf3756a10f fixes bug 309424 "mozilla 1.5beta1 freezes & goes into 95+% cpu usage browsing blackisha.com" r=biesi sr=bzbarsky 2006-04-20 03:39:48 +00:00
darin%meer.net
174dbb6029 fixes bug 273578 "XMLHttpRequest with async = false takes 100% CPU until request finished" r=jst sr=bz 2006-04-20 03:39:47 +00:00
darin%meer.net
3291d64315 fixes bug 308484 "Extensions can't set Content-Length header for XMLHttpRequest" r=dveditz sr=jst 2006-04-20 03:39:46 +00:00
darin%meer.net
90cb96d142 Second patch for bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r=biesi sr=jst 2006-04-20 03:39:45 +00:00
peterv%propagandism.org
606d5b8c27 Fix for bug 307049 (XMLHttpRequest seems to try to parse the empty (!) body of the response to an HTTP HEAD request). r=biesi, sr=bz. 2006-04-20 03:39:44 +00:00
cbiesinger%web.de
534a24c489 bug 305243 set an XML content-type hint on XMLHttpRequest channels, to always
parse local files as XML.
Also, make TestXMLExtras convert non-ASCII bytes to UTF-16 correctly.
r=jst sr=bz
2006-04-20 03:39:43 +00:00
bzbarsky%mit.edu
6d748b520e Fix bug 301678. r+sr=jst 2006-04-20 03:39:42 +00:00
cbiesinger%web.de
8eaf3d5097 Bug 293046 XMLHttpRequest.overrideMimeType() makes loading abort for non-XML
patch by Wladimir Palant <trev@gtchat.de> r=jst sr=darin
2006-04-20 03:39:41 +00:00
bzbarsky%mit.edu
e1e009bb9d More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2006-04-20 03:39:40 +00:00
darin%meer.net
4808e5a6a6 fixes bug 302809 "AJAX regression: POST setRequestHeader causes NS_ERROR_ILLEGAL_VALUE for invalid headers" r+sr=dveditz a=cbeard 2006-04-20 03:39:39 +00:00
darin%meer.net
9374e8af1d fixes bug 302489 "XMLHTTP TRACE method can reveal proxy passwords to web sites" r=jst sr=dveditz a=asa 2006-04-20 03:39:38 +00:00
darin%meer.net
3be32bd5c6 fixes bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r+biesi sr=jst a=asa 2006-04-20 03:39:37 +00:00
darin%meer.net
fd180aedbe fixes bug 302263 "prevent certain headers from being set on a XMLHttpRequest" r=dveditz sr=jst a=dveditz 2006-04-20 03:39:36 +00:00
bryner%brianryner.com
ba204186cf Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2006-04-20 03:39:35 +00:00
bzbarsky%mit.edu
9f7ae1e45c Save the user-set notification callbacks when we set ourselves on the channel,
and forward various notifications to them.  Bug 292391, r=biesi, sr=darin, a=asa
2006-04-20 03:39:34 +00:00
bryner%brianryner.com
5c1a894e8a Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2006-04-20 03:39:33 +00:00
bzbarsky%mit.edu
176bcb93f5 Don't crash if responseText is gotten when we have no channel. Bug 289156,
r+sr=jst, a=chofmann
2006-04-20 03:39:32 +00:00
jst%mozilla.jstenback.com
ed40021b5c Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2006-04-20 03:39:31 +00:00
timeless%mozdev.org
6d22ad3517 Bug 286090 nsXMLHttpRequest.cpp should probably avoid text/xml
patch by bug@annevankesteren.nl r=doron sr=peterv
2006-04-20 03:39:30 +00:00
cbiesinger%web.de
49732c5891 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2006-04-20 03:39:29 +00:00
bzbarsky%mit.edu
1549cce8ba Fixing build bustage 2006-04-20 03:39:28 +00:00
bzbarsky%mit.edu
b88ca09866 Make nsIXMLHttpRequest.getResponseHeader follow the documented api. Bug
276705, r=doron, sr=jst
2006-04-20 03:39:27 +00:00
cbiesinger%web.de
430fe5de54 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2006-04-20 03:39:26 +00:00
jst%mozilla.jstenback.com
dbf3a4f38d Fixing bug 268844. Don't force the cache to be bypassed for non-multipart requests. r=bzbarsky@mit.edu, sr=darin@meer.net 2006-04-20 03:39:25 +00:00
bzbarsky%mit.edu
f51a9369bc Don't try to parse the response on necko-level errors (dns failures, timeouts,
etc).  Bug 268472, r+sr=jst
2006-04-20 03:39:24 +00:00
bzbarsky%mit.edu
007aca5b5a Make it possible to re-call an XMLHttpRequest object from its onreadystate
handler by clearing listeners before calling onreadystate, not after.  Bug
258768, r=doron, sr=jst
2006-04-20 03:39:23 +00:00
darin%meer.net
15fd51a18e fixes bug 307769 "document how to pass a nsIInputStream to nsIXMLHttpRequest.send" r=biesi, sr=jst 2006-04-20 03:39:22 +00:00
bzbarsky%mit.edu
3f716e457c Don't add 4 to the length, so we don't send 4 extra bytes of garbage POST
data.  Bug 246651 followup, r+sr=darin, a=asa
2006-04-20 03:39:21 +00:00
bzbarsky%mit.edu
93e871a8c5 Just let the HTTP impl compute the content-length for our POST data. It does a
better job of it.  Bug 246651, r=darin, sr=jst.
2006-04-20 03:39:20 +00:00
pkw%us.ibm.com
ca869e5004 Bug 252345 - Memory leak in nsXMLHttpRequest.cpp (seen when using GMail).
r=peterv@propagandism.org, sr=darin@meer.net
2006-04-20 03:39:19 +00:00
scott%scott-macgregor.org
5bba4679e3 Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.
r/sr=jst
2006-04-20 03:39:18 +00:00
scott%scott-macgregor.org
cda79a6198 Backing myself out. I thought I was checking into the aviary 1.0 branch 2006-04-20 03:39:17 +00:00
scott%scott-macgregor.org
c866840e10 Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.

r/sr=jst
2006-04-20 03:39:16 +00:00
cbiesinger%web.de
fb1bc6a924 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2006-04-20 03:39:15 +00:00
roc+%cs.cmu.edu
b07527b63a Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2006-04-20 03:39:14 +00:00
timeless%mozdev.org
0df9601162 Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler
r=jst sr=jst
2006-04-20 03:39:13 +00:00
bzbarsky%mit.edu
205731a7f6 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-04-20 03:39:12 +00:00
roc+%cs.cmu.edu
ac52420f10 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com
95c188a487 Whitespace only change. 2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com
4e419ff2fb Removing stray whitespace. No code change. 2006-04-20 03:39:09 +00:00
bzbarsky%mit.edu
9402e6ebcf Undo attempts to fix build bustage from yesterday. These should not be needed. 2006-04-20 03:39:08 +00:00
cvshook%sicking.cc
575206e07f Might this help the redness? 2006-04-20 03:39:07 +00:00
bzbarsky%mit.edu
5ad0388519 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
2006-04-20 03:39:06 +00:00
jst%mozilla.jstenback.com
bc343b0ac1 Fixing bug 282615. Make DOMSerializer's security check check for enabled priveleges too. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2006-04-20 03:39:05 +00:00
vladimir%pobox.com
a5785bf55b wrong IID; this one matches aviary and 1.7 2006-04-20 03:39:04 +00:00
bzbarsky%mit.edu
49e64b695f 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
2006-04-20 03:39:03 +00:00
vladimir%pobox.com
441af8c3bc b=253954, let nsDOMParser detect charset from xml entity decl -- finally remembered to land this; r=bz,sr=shaver 2006-04-20 03:39:02 +00:00
vladimir%pobox.com
fa80874682 fixy fixy 2006-04-20 03:39:01 +00:00
vladimir%pobox.com
faa6379303 b=250119, xmlextras parsestring/parsestream should use autf8string. r=jst, sr=shaver 2006-04-20 03:39:00 +00:00
bzbarsky%mit.edu
18efafd8b4 Fix Windows bustage. 2006-04-20 03:38:59 +00:00
bzbarsky%mit.edu
2cff2b7990 Make sure to parse the data as UTF-8, since we serialized it as UTF8. Bug
240717, r+sr=jst
2006-04-20 03:38:58 +00:00
gerv%gerv.net
d2904cd7c1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-20 03:38:57 +00:00
sicking%bigfoot.com
fd854bce9b Still bug 239572, but this time with the fix not commented out!
r/sr=jst a=chofmann
2006-04-20 03:38:56 +00:00
sicking%bigfoot.com
2871ca9eb8 Bug 239572: nullcheck before calling CallQueryInterface
r/sr=jst a=chofmann
2006-04-20 03:38:55 +00:00
darin%meer.net
025ee571ef fixes bug 237845 "WSDL bindings fail on Mozilla 1.7 beta" patch by keeda@hotpop.com r+sr=bz,jst a=asa 2006-04-20 03:38:54 +00:00
darin%meer.net
865090f264 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2006-04-20 03:38:53 +00:00
jst%mozilla.jstenback.com
1b422eca3a 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 2006-04-20 03:38:52 +00:00
jst%mozilla.jstenback.com
a9eb73ebb5 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 2006-04-20 03:38:51 +00:00
jst%mozilla.jstenback.com
2080518c80 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 2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
ca4a979559 Bug 236436, need to null check URL so we won't crash, r+sr=jst. 2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
178957ce70 Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ed2b3e188a Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
c0f77c6520 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2006-04-20 03:38:46 +00:00
jst%mozilla.jstenback.com
5169910cb4 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
5e967895b3 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2006-04-20 03:38:44 +00:00
bryner%brianryner.com
b14d9fa790 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. 2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
e6d703999d General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2006-04-20 03:38:42 +00:00
bryner%brianryner.com
ab49f6f8f3 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. 2006-04-20 03:38:41 +00:00
caillon%returnzero.com
00bf6f48c3 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2006-04-20 03:38:40 +00:00
caillon%returnzero.com
95407fb438 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2006-04-20 03:38:39 +00:00
caillon%returnzero.com
8dc00a9fe7 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)
2006-04-20 03:38:38 +00:00
hpradhan%hotpop.com
55a44b6c5b Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst 2006-04-20 03:38:37 +00:00
timeless%mozdev.org
fcc5e37682 Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
patch by riceman+bmo@mail.rit.edu r=jst sr=jst
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
300141e63e Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
4a0fde8374 Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2006-04-20 03:38:34 +00:00
jst%netscape.com
a4876aee97 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 2006-04-20 03:38:33 +00:00
alecf%flett.org
ebb649170a 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
2006-04-20 03:38:32 +00:00
jst%mozilla.jstenback.com
9b33abb12c Fixing typo in comment. 2006-04-20 03:38:31 +00:00
jst%netscape.com
90d74f98fc Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me. 2006-04-20 03:38:30 +00:00
caillon%returnzero.com
c7a7e6b916 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
2006-04-20 03:38:29 +00:00
alecf%flett.org
25442ddb63 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
2006-04-20 03:38:28 +00:00
varga%netscape.com
47c857ecf2 Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv
2006-04-20 03:38:27 +00:00
heikki%netscape.com
3292eda9fe 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. 2006-04-20 03:38:26 +00:00
heikki%netscape.com
5401d9a016 include no longer needed. 2006-04-20 03:38:25 +00:00
heikki%netscape.com
624a7fafa8 Bug 177533, fix most XMLHttpRequest memory leaks and other minor issues, r=darin, sr=jst, a=asa. 2006-04-20 03:38:24 +00:00
heikki%netscape.com
ece879d6ae Bug 197141, XMLHttpRequest behavior did not match IE when host was not found, r=harishd, sr=darin. 2006-04-20 03:38:23 +00:00
sfraser%netscape.com
cda57fc104 Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2006-04-20 03:38:22 +00:00
heikki%netscape.com
aaaf2beb20 Bug 190180, fix UMR, r=harishd, sr=jst. 2006-04-20 03:38:21 +00:00
heikki%netscape.com
3d4beabe8d Bug 166978, XMLHttpRequest does not load synchronously in embedding applications, r=sicking, sr=darin. Bug 111614, DOMParser.parseFromString in modal dialog makes it non-modal. parseFromString also does not work in embedding when loading files that block the parser (like files with xml-stylesheet PI). r=sicking, sr=darin. 2006-04-20 03:38:20 +00:00
heikki%netscape.com
14a4a86ef7 Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky. 2006-04-20 03:38:19 +00:00
dbaron%dbaron.org
7451de2691 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-04-20 03:38:18 +00:00
hpradhan%hotpop.com
738a082a49 Bug 176051: XMLHttpRequest POST fails to send body when authentication required
r=heikki sr=darin
2006-04-20 03:38:17 +00:00
darin%netscape.com
028fbb9c37 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2006-04-20 03:38:16 +00:00
darin%netscape.com
c45f7a3bba fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts 2006-04-20 03:38:15 +00:00
heikki%netscape.com
166976edb7 Bug 176186, XMLHttpRequest does not set document URL. Patch from sicking, r=heikki, sr=peterv. 2006-04-20 03:38:14 +00:00
heikki%netscape.com
e427083b8c Bug 169984, sanitize XMExtras method availability to scripts. r=mstoltz, sr=jst. 2006-04-20 03:38:13 +00:00
dougt%netscape.com
1af2383d1c moves nsIHttpHeaderVisitor into a separate IDL file. b=157133. r=neeti@netscape.com, sr=darin@netscape.com 2006-04-20 03:38:12 +00:00
dougt%netscape.com
2bfab7c9f5 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2006-04-20 03:38:11 +00:00
heikki%netscape.com
793164e0a3 Bug 83573, XMLHttpRequest now adds itself to the loadgroup of the page (if called from JS) so that when you leave the page/hit stop, XMLHttpRequest aborts automatically. r=sicking, sr=bzbarsky. 2006-04-20 03:38:10 +00:00
alecf%netscape.com
1894726487 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2006-04-20 03:38:09 +00:00
heikki%netscape.com
28d312c6f0 Bug 137866, responseText should default to UTF-8. r=bzbarsky, sr=jst. 2006-04-20 03:38:08 +00:00
heikki%netscape.com
8a26ee14e1 Bug 142812, setRequestHeader() should set, not add to, the header. r=timeless, sr=darin. 2006-04-20 03:38:07 +00:00
henry.jia%sun.com
fbef8a4091 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2006-04-20 03:38:06 +00:00
alecf%netscape.com
fe8bb82129 bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2006-04-20 03:38:05 +00:00
rbs%maths.uq.edu.au
801791fc9e Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2006-04-20 03:38:04 +00:00
sfraser%netscape.com
49f0d632ac Fix bug 181823: make CheckSameOrigin always return a value, rather than garbage. r=heikki, sr=bzbarsky 2006-04-20 03:38:03 +00:00
heikki%netscape.com
88fbb89a6d Bug 169982, same origin check for serializeToStream. r=mstoltz, sr=jst. 2006-04-20 03:38:02 +00:00
mstoltz%netscape.com
16144a20f5 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
2006-04-20 03:38:01 +00:00
dougt%netscape.com
95b55eb8a9 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2006-04-20 03:38:00 +00:00
heikki%netscape.com
65afff3e5d Bug 129607, avoid trying to parse the response if we cannot be sure it is XML. This fixes hang in HTML parser, and is a big performance improvement if you are loading non-XML data. r=harishd, sr=vidur. 2006-04-20 03:37:59 +00:00
heikki%netscape.com
dd39b64008 Bug 128541, make send(null) work again. r=harishd, sr=jst. 2006-04-20 03:37:58 +00:00
dbaron%fas.harvard.edu
e3006749f8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2006-04-20 03:37:57 +00:00
peterv%netscape.com
705d02b225 Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver. 2006-04-20 03:37:56 +00:00
heikki%netscape.com
0906ecb420 Bug 123953, crash when using XMLSerializer on 'orphaned' node. r=harishd, sr=vidur, a=asa. 2006-04-20 03:37:55 +00:00
heikki%netscape.com
9013809998 Bug 120836, responseText had regressed so that invalid characters made us throw error. Now we just replace invalid characters and continue, as before. r=harishd, sr=jst, a=scc 2006-04-20 03:37:54 +00:00
darin%netscape.com
c4e6a3d6cd b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2006-04-20 03:37:53 +00:00
darin%netscape.com
29ca937e03 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2006-04-20 03:37:52 +00:00
heikki%netscape.com
0fdadbdb9e Bug 129109, abort() was partially implemented. r=harishd, sr=darin, a=asa. 2006-04-20 03:37:51 +00:00
peterv%netscape.com
dbb821dcaf Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2006-04-20 03:37:50 +00:00
heikki%netscape.com
250cbe186e Bug 123499, enable arbitrary HTTP commands via XMLHttpRequest. Patch from matthew@mjwilson.demon.co.uk, r=heikki, sr=darin. 2006-04-20 03:37:49 +00:00
vidur%netscape.com
73d029f652 Fix for bug 122305. XMLHttpRequest now has a way to override the mime type of the incoming stream. r=heikki, sr=jst 2006-04-20 03:37:48 +00:00
rayw%netscape.com
84f639dc07 Changes to use contractid's for construction wherever available. This means
that the JS binding will work correctly.  Also removed old security model.


SOAP is not a part of default build.
2006-04-20 03:37:47 +00:00
jaggernaut%netscape.com
eccf2906f5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2006-04-20 03:37:46 +00:00
heikki%netscape.com
571f3f4791 Bug 98928, send() can take any type of parameter, i.e. it can now take JavaScript string. r=jst, sr=jband. 2006-04-20 03:37:45 +00:00
hyatt%netscape.com
a7c5099c09 Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build. 2006-04-20 03:37:44 +00:00
shanjian%netscape.com
e3bad2f0d3 While I was checking in fix of 88363 yesterday, a conflict mess got into my
check in. Remove that mess.
2006-04-20 03:37:43 +00:00
shanjian%netscape.com
e114f98eec #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson
2006-04-20 03:37:42 +00:00
jaggernaut%netscape.com
ecf7416214 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 2006-04-20 03:37:41 +00:00
hewitt%netscape.com
f9a1a2896f 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2006-04-20 03:37:40 +00:00
gerv%gerv.net
7050e960ae License changes, take 2. Bug 98089. mozilla/extensions/. 2006-04-20 03:37:39 +00:00
gerv%gerv.net
8246ccbcea Oops. 2006-04-20 03:37:38 +00:00
scc%mozilla.org
1c50c6cd5e bug #98089: ripped new license 2006-04-20 03:37:37 +00:00
heikki%netscape.com
fb8d97eaff Bug 100106, XMLHttpRequest.responseText empty if XML parsing error. r=harishd, sr=vidur. 2006-04-20 03:37:36 +00:00
heikki%netscape.com
b32ad0daf1 Bug 78622, DOMParser and XMLHttpRequest failures when parser blocked (with xml-stylesheet for example). r=harishd,sr=vidur. 2006-04-20 03:37:35 +00:00
vidur%netscape.com
ba656c85cb Fix for bug 98597. The event held onto from the document's load handler was bogus by the time we sent it to the XMLHttpRequest's event listeners (DOM events have members that are stack-based and, despite being reference-counted objects, should not be held across a call. Instead we create a new event of our own for the XMLHttpRequest load. r=heikki, sr=jst 2006-04-20 03:37:34 +00:00
valeski%netscape.com
41896319b8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2006-04-20 03:37:33 +00:00
dougt%netscape.com
3074bb5f3b Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above
2006-04-20 03:37:32 +00:00
heikki%netscape.com
7bdbe28cdb Bug 96459, bug 96307 and Bugscape 8288. Implement readyState and onreadystatechange members to enable progress indicators for download. Make it possible to call send() again in onload without crashing. Send load event only after everything done (was sent too early if XML errors). Make some functions throw error if called at the wrong time (match IE). Make it possible to build SOAP again (patch from peterv, r=heikki). r=harishd, sr=vidur, a=asa. 2006-04-20 03:37:31 +00:00
mstoltz%netscape.com
e48fdeadb0 86984 - make history.length sameOrigin-accessible. Security prefs change.
91714 - CheckLoadURI should trest 'safe' and 'unsafe' about: URLs as different protocols
56260 - 'Remember This Decision' in signed script grant dialog should default to unchecked
83131 - More descriptive security error messages
93951 - Added null check in GetBaseURIScheme to prevent crash.
All bugs r=jtaylor, sr=jst
2006-04-20 03:37:30 +00:00
vidur%netscape.com
a2a0d9aae7 Fix for bug 88078. XMLHttpRequest now accepts non-HTTP URIs as well. This is similar to IE behavior. r=heikki, sr=jst 2006-04-20 03:37:29 +00:00
heikki%netscape.com
60912a41e7 Bug 90530, make it possible to set content-type header. Patch from garths@oeone.com. r=heikki, sr=jst. 2006-04-20 03:37:28 +00:00
jaggernaut%netscape.com
b675f03deb Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2006-04-20 03:37:27 +00:00
jst%netscape.com
c193c9f9a3 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2006-04-20 03:37:26 +00:00
heikki%netscape.com
0d748850da Bug 88327, XMLHttpRequest.responseText did not support HTTP charset header. r=harishd, sr=jst. 2006-04-20 03:37:25 +00:00
dbaron%fas.harvard.edu
bcbbc6ef58 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2006-04-20 03:37:24 +00:00
heikki%netscape.com
e19c0ee67a Bug 83557, make xmlextras work in embedding. XMLHttpRequest is more like a DOM class now, events are fired and executed on the proper context, and a lot of JS specific code was removed. Patch by jst, r=heikki, sr=vidur, a=asa@mozilla.org. 2006-04-20 03:37:23 +00:00
heikki%netscape.com
65b4bc56eb Bug 73958, XMLHttpRequest data corruption etc. Recursive stream readers are not supported, so I 'copy' by wrapping data in a light weight temporary stream and pass that to parser. Also fix 2 regressions: ignore parameter in Send() if method is GET and fix relative URLs. Finally this patch fixes the testcases, removes my hacky buffer now that nsCString can handle nulls in the middle, and do some minor code cleanup. r=harishd,sr=vidur,a=asa@mozilla.org 2006-04-20 03:37:22 +00:00
mstoltz%netscape.com
bd1cd9dcf2 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2006-04-20 03:37:21 +00:00
blizzard%redhat.com
65a95e0290 Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2006-04-20 03:37:20 +00:00
mstoltz%netscape.com
c312311694 Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com
2006-04-20 03:37:19 +00:00
darin%netscape.com
97ffb4b9a9 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2006-04-20 03:37:18 +00:00
jst%netscape.com
5a312ec0bb 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. 2006-04-20 03:37:17 +00:00
heikki%netscape.com
1d17a728f1 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. 2006-04-20 03:37:16 +00:00
heikki%netscape.com
6ae78af1a6 Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2006-04-20 03:37:15 +00:00
timeless%mac.com
0c3743bd56 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2006-04-20 03:37:14 +00:00
darin%netscape.com
8e1ecfc901 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2006-04-20 03:37:13 +00:00
valeski%netscape.com
20f0ac2a44 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2006-04-20 03:37:12 +00:00
danm%netscape.com
846b77f4e4 Removing IsModal,ShowModal,ExitModalLoop methods from nsIDocShellTreeOwner. General API cleanup. bug 70481 r=ccarlen,hyatt,vidur 2006-04-20 03:37:11 +00:00
disttsc%bart.nl
1dcea04d7c Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2006-04-20 03:37:10 +00:00
mstoltz%netscape.com
0844005a9c bug 47905, adding security check to XMLHttpRequest.open(). r=heikki, sr=brendan 2006-04-20 03:37:09 +00:00
heikki%netscape.com
69c4ecd4a7 Bug 49572, implemented responseText property for XMLHttpRequest object. Also some minor nsCOMPtr initialization optimizations and updated tests. r=harishd, rpotts (stream reading part), sr=jst. 2006-04-20 03:37:08 +00:00
dougt%netscape.com
bfcd138410 Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2006-04-20 03:37:07 +00:00
disttsc%bart.nl
fec4b7011b Back out dougt's channel changes 2006-04-20 03:37:06 +00:00
dougt%netscape.com
d2c911acdc Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2006-04-20 03:37:05 +00:00
darin%netscape.com
60a318ca30 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2006-04-20 03:37:04 +00:00
heikki%netscape.com
c7c1427b91 Set out param in case of error and some minor optimizations. r=jst, sr=vidur. 2006-04-20 03:37:03 +00:00
gagan%netscape.com
505c82df63 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2006-04-20 03:37:02 +00:00
heikki%netscape.com
e7bb5cd292 Not part of Netscape 6.0 package. Checking in patches from toml@us.ibm.com. These fix bug 55508 (DOMParser does not work without script environment) and bug 55599 (add GetChannel method to nsIXMLHTTPRequest), as well as add a test program. r=heikki, a=vidur. 2006-04-20 03:37:01 +00:00
rayw%netscape.com
dfd330609b Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2006-04-20 03:37:00 +00:00
heikki%netscape.com
d62b0c585a Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2006-04-20 03:36:59 +00:00
warren%netscape.com
6fb3465237 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2006-04-20 03:36:58 +00:00
vidur%netscape.com
971eaa7986 Added new parser interface that does string/stream to DOM document parsing. This is not part of the Seamonkey build. 2006-04-20 03:36:57 +00:00
vidur%netscape.com
f90fde9e2d Fixed leak of weak reference (thanks beard@netscape.com). Fixed makefiles to avoid overwriting xpt files. This is not part of the regular build 2006-04-20 03:36:56 +00:00
vidur%netscape.com
ef573449c4 Commented nsIXMLHttpRequest. Used the new nsIXPCNativeCallContext::SetReturnValueWasSet method to deal with returning event handler function objects to script callers of nsIXMLHttpRequest::Onload and Onerror. Turned on synchronous requests. This is not part of the Seamonkey build. 2006-04-20 03:36:55 +00:00
vidur%netscape.com
b004365ed3 Added support for synchronous posting. Got rid of unbreakable circular reference in the abort case. This is not part of the Seamonkey build. 2006-04-20 03:36:54 +00:00
vidur%netscape.com
f3d58f2583 Allowed complete script access to our components. This is WIP and not part of the Seamonkey build. 2006-04-20 03:36:53 +00:00
vidur%netscape.com
43354e95a0 Added Unix makefiles and incorporated Andreas Otte's changes for building on Linux. This is not part of the Seamonkey build. 2006-04-20 03:36:52 +00:00
vidur%netscape.com
67859c514c Updated to the new version of nsIPrivateDOMImplementation. We now get a base URL for our own URL resolution from the subject codebase principal. This checkin is for code that is not part of the Seamonkey build. 2006-04-20 03:36:51 +00:00
vidur%netscape.com
91d08375a6 First cut of XMLSerializer and XMLHttpRequest. This is WIP and not part of the Mozilla/Seamonkey build. 2006-04-20 03:36:50 +00:00
dbaron%dbaron.org
9b0fa55141 Disconnect and release the event listener manager after removing the entry from the hash table to avoid crashes caused re-entry into hash table code. b=334177 r+sr=jst 2006-04-18 20:59:28 +00:00
peterv%propagandism.org
b4bbbf9633 Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-17 17:13:11 +00:00
cvshook%sicking.cc
ba2eb2ca0f Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz 2006-04-15 05:09:16 +00:00
mrbkap%gmail.com
f36ff98d32 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
cvshook%sicking.cc
7a388e48eb Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron 2006-04-13 04:07:12 +00:00
benjamin%smedbergs.us
70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
jwatt%jwatt.org
4252d4d43e Fixing bug 333674. We leak oldVal on OOM in nsUint32ToContentHashEntry::PutContent. r+sr=bzbarsky@mit.edu 2006-04-12 12:11:40 +00:00
dbaron%dbaron.org
e86e6e0de2 Copy observer list and hold references to observers when notifying them. b=271669 r=bzbarsky sr=jst 2006-04-11 23:44:34 +00:00
jst%mozilla.jstenback.com
f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
bzbarsky%mit.edu
d76ac29ddb Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
333148, r+sr=dbaron
2006-04-07 20:14:51 +00:00
peterv%propagandism.org
2cd741e602 Fix for bug 332239 (Saved xml content gives xml parsing error in this case). r/zr=bz. 2006-04-06 20:55:25 +00:00
peterv%propagandism.org
64c5f05794 Fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-06 20:54:53 +00:00
timeless%mozdev.org
56b76950e7 Bug 332155 nsIContent docs aren't current
r=bz sr=bz
2006-04-05 06:04:29 +00:00
bzbarsky%mit.edu
0fc79cb85a Make sure to not double-insert anonymous kids if the DOM messes with them. Bug
330925, r+sr=sicking
2006-04-05 03:44:00 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
3cb291fd96 Make sure to always have a principal for a document; fall back to a null
principal if all else fails.  Bug 327246, r+sr=jst
2006-04-03 21:20:02 +00:00
bzbarsky%mit.edu
de6cfc8789 Make sure to not ever have an uncleared nodeinfo in our one-slot cache. Bug
332528, r+sr=peterv
2006-04-03 15:29:29 +00:00
bzbarsky%mit.edu
7128ca1c73 More comment tweaks; should be it for this directory. 2006-03-31 08:41:49 +00:00
bzbarsky%mit.edu
fcf3fc6532 Need shorter comments here 2006-03-31 08:20:34 +00:00
bzbarsky%mit.edu
0764beeffd Add comments describing some more files. 2006-03-31 08:00:42 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
d44b11cf72 Add some comments explaining what these files do. rs=jst 2006-03-30 08:03:04 +00:00
gerv%gerv.net
a54a4e6372 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:10 +00:00
dbaron%dbaron.org
33bf10a191 Fix crash when typing ISO-8859-1 and then non-ISO-8859-1 character, and some leaks too. r=sicking sr=bzbarsky 2006-03-30 05:54:54 +00:00
martijn.martijn%gmail.com
53b810af39 Bug 331848 - idl comment for containsNode is corrupt, r+sr=bzbarsky 2006-03-29 21:57:22 +00:00
cvshook%sicking.cc
1995317fe0 Bug 329982: Give nsXULElement::RemoveChildAt some lovin' to make it deal better with mutationevent handlers mutating the DOM 2006-03-27 22:00:40 +00:00
roc+%cs.cmu.edu
1a94b0ebf3 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:59:03 +00:00
roc+%cs.cmu.edu
8916588e70 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:57:53 +00:00
cvshook%sicking.cc
af857a00d6 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove 2006-03-24 22:43:23 +00:00
cvshook%sicking.cc
fb64a93135 Fix win build bustage and update uuid 2006-03-24 04:54:11 +00:00
cvshook%sicking.cc
0cee8f0a09 Attempt to make gcc happy. 2006-03-24 04:02:58 +00:00
cvshook%sicking.cc
3f41c5dc25 Opps, didn't finish review comment before checking in. 2006-03-24 03:57:10 +00:00
cvshook%sicking.cc
fe78375178 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:39:47 +00:00
cvshook%sicking.cc
4845457d08 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:29:52 +00:00
cvshook%sicking.cc
1b3207b1d5 Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e26140ab7d Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
timeless%mozdev.org
3c1615117a Bug 246092 nsContentPolicy caches Category list
patch by chpe@gnome.org r=bz sr=bz
2006-03-22 15:26:35 +00:00
timeless%mozdev.org
acf535b28d Bug 246092 nsContentPolicy caches Category list
Testing a backout to see how Tp fares.
2006-03-22 09:13:54 +00:00
timeless%mozdev.org
ad9314828f Bug 246092 nsContentPolicy caches Category list
random attempt at fixing build bustage (msvc6, w2k)
2006-03-21 07:42:52 +00:00
timeless%mozdev.org
fc590ed546 Bug 246092 nsContentPolicy caches Category list
patch by chpe@gnome.org r=bz sr=bz
2006-03-21 06:48:38 +00:00
jag%tty.nl
fb9313e95b nsresult -> NS_IMETHODIMP on some of the nsIDOMAttr methods. r=sicking 2006-03-19 10:26:58 +00:00
neil%parkwaycc.co.uk
d7bd93f921 Ensure box objects are obtained from the correct document b=330181 r+sr=jst 2006-03-18 14:14:08 +00:00
peterv%propagandism.org
59c12dfe1f Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz. 2006-03-17 14:38:57 +00:00
cvshook%sicking.cc
eecb0ccf93 Bug 330526. Don't call Release on mContent in the middle of putting the nsDOMEventRTTearoff in the cache. r=aaronr@us.ibm.com sr=jst 2006-03-17 00:51:04 +00:00
cvshook%sicking.cc
6c450d021d Bug 330084: Don't crash when removing an node from the tree that noone holds on to. r/sr=jst 2006-03-17 00:28:26 +00:00
peterv%propagandism.org
d52a61880f Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org
3efee8b1f4 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz. 2006-03-16 13:47:42 +00:00
Olli.Pettay%helsinki.fi
9a528f9417 Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz 2006-03-14 19:57:33 +00:00
bzbarsky%mit.edu
6e8df6adb8 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
cvshook%sicking.cc
e9857521f9 Kill leftover declaration from bug 326645. r/sr=bz 2006-03-09 18:56:30 +00:00
martijn.martijn%gmail.com
c6b545fb8c Bug 286560 - Fix comments for focusNode in nsISelection.idl, r+sr=bzbarsky 2006-03-09 18:44:20 +00:00
Olli.Pettay%helsinki.fi
0a10950131 Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz 2006-03-09 18:14:17 +00:00
cvshook%sicking.cc
9f4b50c028 Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst 2006-03-09 07:29:41 +00:00
cvshook%sicking.cc
1a8c5dae53 Bug 325730. Mutation-event handlers can cause further mutations to the DOM. We need to be more attentive to those. r=bz sr=jst 2006-03-08 21:47:32 +00:00
Olli.Pettay%helsinki.fi
7f852eb898 Bug 328885, r+sr=bz 2006-03-08 20:22:35 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
950c61cf37 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
bzbarsky%mit.edu
6ca8715ac8 Fix the behavior of ranges when insertNode is called -- range should not
collapse.  Bug 253609, patch by Joshua Welderson
<pythonesque+bugzilla@gmail.com>, r=peterv, sr=jst
2006-03-03 02:53:44 +00:00
bzbarsky%mit.edu
7bd85f5af3 Don't set the "exception pending" boolean on the XPCCallContext if we actually
set the exception on some other unrelated JSContext.  Bug 328851, r=jst, sr=brendan
2006-03-01 03:54:15 +00:00
cvshook%sicking.cc
003a14761a Bug 327969: Smarter IndexOfChild cache implementation. r/sr=bz 2006-02-28 22:17:23 +00:00
cvshook%sicking.cc
4c25054cc3 Bug 327969: Smarter IndexOfChild cache implementation. r/sr=bz 2006-02-28 22:16:06 +00:00
bzbarsky%mit.edu
9345ddf89b Fixing comment. No bug. 2006-02-28 05:21:17 +00:00
bzbarsky%mit.edu
8e2f7a6f3d Be more careful with the principal for subframe loads. Bug 327078 and bug 328469, r=sicking, sr=jst 2006-02-27 19:14:51 +00:00
enndeakin%sympatico.ca
65c400afcf Bugs 328464, empty template attribute issue and 327504, crash reading mail r+sr=bz 2006-02-27 16:48:55 +00:00
martijn.martijn%gmail.com
d96b027256 Bug 324340 - ASSERTION: no extension: '!aExtension.IsEmpty()' when dragging image at news.google.com. r+sr=jst 2006-02-24 13:14:11 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
1a344388ca Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
bzbarsky%mit.edu
80ea4604ed Don't leak the channel and XMLHttpRequest object if AsyncOpen fails. Bug
323454, r=biesi, sr=darin
2006-02-21 00:00:44 +00:00
bzbarsky%mit.edu
a83eba463b Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst
2006-02-20 18:57:32 +00:00
peterv%propagandism.org
0b2a5e50bc Fix for bug 326994 (XMLSerializer adds namespace declaration for non-empty prefix with empty namespace name). r/sr=bz. 2006-02-18 13:01:59 +00:00
cvshook%sicking.cc
bf888a7955 Bug 326618: Remove assertion that we know can happen and that is no longer dangerous. r/sr=jst 2006-02-18 02:54:15 +00:00
dbaron%dbaron.org
60ef70cf95 Change finalization of event listener manager hash to deal with interactions with preserved wrapper table and dangling pointers. b=325279 r=bzbarsky sr=jst 2006-02-17 23:41:44 +00:00
peterv%propagandism.org
206b2a673d Fix for bug 320367 (Fix nsDOMDocumentType's nsISupports implementation). r/sr=jst. 2006-02-17 13:12:50 +00:00
bzbarsky%mit.edu
1bf2774cea Remove no longer needed code. Bug 327103, r=sicking, sr=jst 2006-02-16 00:51:25 +00:00
bzbarsky%mit.edu
8ceb3708cd Remove bogus comment. Bug 327071. 2006-02-15 06:21:32 +00:00
dbaron%dbaron.org
85bbf2fc78 Document null pointer handling. b=326646 r=sicking sr=peterv 2006-02-14 23:30:40 +00:00
dbaron%dbaron.org
3af0d57671 Remove bogus assertion. b=326646 r=sicking sr=peterv 2006-02-14 23:30:10 +00:00
bzbarsky%mit.edu
ead4f28aed Simplify the check for a codebase principal when setting cookies. Bug 327106,
r+sr=peterv
2006-02-14 16:28:46 +00:00
bzbarsky%mit.edu
752005bb9d Only try to get box objects for content nodes. Bug 326778, r=sicking, sr+branch181=peterv 2006-02-14 16:24:51 +00:00
bzbarsky%mit.edu
1ee861335f Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
bzbarsky%mit.edu
41bdb2e1d6 Improve function naming and documentation. Bug 327071, r+sr=jst 2006-02-14 02:04:20 +00:00