Граф коммитов

3668 Коммитов

Автор SHA1 Сообщение Дата
cvshook%sicking.cc 221975f713 Bug 90983: Remove the nsFragmentObserver and always notify when inserting from fragments so as to not regress mutation events with my next patch. r/sr=bz 2006-06-02 00:26:42 +00:00
dbaron%dbaron.org 61dd5c50db Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu 7197f4d213 Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
bzbarsky%mit.edu 58d59e3622 Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking 2006-05-31 15:58:43 +00:00
enndeakin%sympatico.ca 89257db6ee Bug 290255, add xul scale widget, r=mconnor,roc sr=neil,roc 2006-05-30 13:50:48 +00:00
dbaron%dbaron.org 419e8ff863 Create a mechanism to allow GC participants to be marked as externally reachable due to network loads, make XMLHttpRequest a GC participant and use nsMarkedJSFunctionHolder to manage its event listeners just like DOM event listeners to avoid leaks due to cycles. b=206520 r=mrbkap, darin, bzbarsky sr=jst 2006-05-26 01:00:21 +00:00
cbiesinger%web.de 2a252f87f5 bug 338541 don't always return null from GetCurrentNode (plus, don't leak the
current node)
patch by Alex Vincent <ajvincent@gmail.com> r=bryner sr=neil a=darin
2006-05-19 20:28:06 +00:00
cvshook%sicking.cc 2cc84a5fd3 Bug 194387: Support parameter-passing in PI XSLT transformations. r/sr=peterv 2006-05-19 10:29:43 +00:00
cvshook%sicking.cc cc2e4c5482 Bug 337543: Use nsINode more. r/sr+peterv 2006-05-19 10:01:22 +00:00
benjamin%smedbergs.us 68537c76ad Bug 331117 - Layout module shold not shut down until all documents/windows have been released, r+sr=dbaron 2006-05-19 09:31:57 +00:00
Olli.Pettay%helsinki.fi ab011e143e Bug 329122, Event dispatching code in nsGenericDOMDataNode doesn't handle event retargeting, r=sicking, sr=bz 2006-05-17 16:14:33 +00:00
cvshook%sicking.cc a8845f3e0f Bug 338247: Operator precedence isn't always what you think it is. Patch by bz. r+sr=sicking 2006-05-17 05:27:21 +00:00
cvshook%sicking.cc 0ba48c3e2b Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 14:51:52 +00:00
Olli.Pettay%helsinki.fi 1c7c15de85 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz 2006-05-15 19:35:12 +00:00
bzbarsky%mit.edu 1ee54590dd Fix XMLHttpRequest progress events. Bug 337374, r+sr=sicking 2006-05-15 18:28:21 +00:00
Olli.Pettay%helsinki.fi effce48e94 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz 2006-05-15 17:51:35 +00:00
jag%tty.nl e671b419c5 Ok, undo other attempt, apparently all it took was to move this after the function it references. 2006-05-15 13:58:23 +00:00
jag%tty.nl 7ae471459d Bustage fix attempt number ... well, I lost track. 2006-05-15 12:47:53 +00:00
jag%tty.nl 5dab07ca44 Attempt to fix 2.95.2 bustage by inlining GetCurrentDoc()'s body 2006-05-15 11:23:20 +00:00
jag%tty.nl bfd2577045 Only have the nsIContent_base constructor when MOZILLA_INTERNAL_API is defined. The base class constructor it calls won't exist otherwise. Caught by mrbkap. 2006-05-15 10:15:05 +00:00
cvshook%sicking.cc 4976b37e9a And the fixes keep on comming 2006-05-15 09:46:44 +00:00
cvshook%sicking.cc b3cb325693 Fix windows bustage this time 2006-05-15 09:18:35 +00:00
cvshook%sicking.cc acd8b05cd5 Grr.. this is it 2006-05-15 08:37:40 +00:00
cvshook%sicking.cc 93a10c0538 Correct fix for gcc 2.95.2 2006-05-15 08:36:42 +00:00
cvshook%sicking.cc fd4ae128ca Yet more bustage fixing 2006-05-15 08:11:12 +00:00
cvshook%sicking.cc 5c31e7505a More bustage fix for gcc 2.95.2 2006-05-15 08:07:35 +00:00
cvshook%sicking.cc 8b032a0d82 Attempt bustage fix 2006-05-15 07:40:31 +00:00
cvshook%sicking.cc 241120e16a 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 7d3e7d7acd 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 c27d70bbb0 wasn't going to check in this 2006-05-08 07:10:38 +00:00
Olli.Pettay%helsinki.fi 0ce3acdb2b Bug 336576, Crash when window gets destroyed during contextmenu event, r+sr=bz 2006-05-08 07:08:41 +00:00
timeless%mozdev.org 3f9b99d52a Bug 332198 change nsGenericDOMDataNode::ToCString
r=sicking sr=sicking
2006-05-07 12:15:36 +00:00
timeless%mozdev.org ccb8039c84 Bug 332198 change nsGenericDOMDataNode::ToCString
r=sicking sr=dbaron
2006-05-07 01:39:21 +00:00
timeless%mozdev.org 45cb5c3a4c 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 626ad78e90 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 f624eb831d 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 36f352636c Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu 2ed405537b 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 e9dc794e8f 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 533eb3c678 Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
mrbkap%gmail.com 95acf0af16 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 ddc8d38608 bustage fix b=326931 2006-04-26 13:05:24 +00:00
neil%parkwaycc.co.uk de6fc340e9 Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
peterv%propagandism.org e34275039b Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst. 2006-04-26 09:19:48 +00:00
roc+%cs.cmu.edu d23fe29f4c 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 811e8372a2 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 8465ac0674 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 d1cb1a6431 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
jst%mozilla.jstenback.com 050563b17f 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 02aa9c2872 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver 2006-04-24 19:56:18 +00:00
bzbarsky%mit.edu a0fe89efda 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 5850d56f49 More redness fixes 2006-04-24 07:46:03 +00:00
cvshook%sicking.cc 0e344ed010 Fix redness 2006-04-24 07:16:27 +00:00
leon.sha%sun.com 574701a2f1 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 ae1b7a2d2b 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 330d48ab94 Spec says to return null, not throw. Bug 334884, r+sr=sicking 2006-04-21 17:55:52 +00:00
gavin%gavinsharp.com 0d15456926 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 66a98f858f 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 6bc6526a42 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-04-20 03:39:54 +00:00
bzbarsky%mit.edu e018151ab0 Actually address the review comment too. Bug 324601. 2006-04-20 03:39:53 +00:00
bzbarsky%mit.edu b1cd8e0b78 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 9b0cd85345 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 724c8c3e56 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 b6c85c4ff5 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-04-20 03:39:49 +00:00
darin%meer.net 6fc0fca766 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 c6f49ca140 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 e89085b509 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 a85cbbe9f1 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 87decfa16f 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 7f560e183d 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 cde78684fb Fix bug 301678. r+sr=jst 2006-04-20 03:39:42 +00:00
cbiesinger%web.de 51bce3a335 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 eb9fb20f34 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 5d295d2caf 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 d6c2528e9e 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 cf166026eb 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 e3b5df18a5 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 daa8e24d4e 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 07d5298fc1 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 6cd0b628f3 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 c053c385f5 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 9dd1606403 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 2a78007907 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 4226284439 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 96309704fe Fixing build bustage 2006-04-20 03:39:28 +00:00
bzbarsky%mit.edu 854ca25730 Make nsIXMLHttpRequest.getResponseHeader follow the documented api. Bug
276705, r=doron, sr=jst
2006-04-20 03:39:27 +00:00
cbiesinger%web.de fc88791b6b 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 c7f00472bc 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 5e3d98832b 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 5610c1947a 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 259ab23400 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 fb7f8149ba 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 73a966e4d1 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 cece40e362 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 ee33323708 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 243b6a94e8 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 da71d09e5a 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 20a0b14f85 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 2fd47b840e Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2006-04-20 03:39:14 +00:00
timeless%mozdev.org 23c02af629 Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler
r=jst sr=jst
2006-04-20 03:39:13 +00:00
bzbarsky%mit.edu 169014cdac 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 4c804e8b25 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com 58843dea31 Whitespace only change. 2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com 9ae6ecb0d4 Removing stray whitespace. No code change. 2006-04-20 03:39:09 +00:00
bzbarsky%mit.edu 8b6588b93c Undo attempts to fix build bustage from yesterday. These should not be needed. 2006-04-20 03:39:08 +00:00
cvshook%sicking.cc f66ef2efcc Might this help the redness? 2006-04-20 03:39:07 +00:00
bzbarsky%mit.edu 1f939d14f2 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 a4cd1fe54e 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 991d6e3b41 wrong IID; this one matches aviary and 1.7 2006-04-20 03:39:04 +00:00
bzbarsky%mit.edu c326e4e8e8 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 404ccfb7b7 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 3621e8cc5f fixy fixy 2006-04-20 03:39:01 +00:00
vladimir%pobox.com bb5edefe80 b=250119, xmlextras parsestring/parsestream should use autf8string. r=jst, sr=shaver 2006-04-20 03:39:00 +00:00
bzbarsky%mit.edu 250aaa2a3a Fix Windows bustage. 2006-04-20 03:38:59 +00:00
bzbarsky%mit.edu 24413d9f91 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 b51f54658a Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-20 03:38:57 +00:00
sicking%bigfoot.com b3bbf0f1d8 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 189952cf28 Bug 239572: nullcheck before calling CallQueryInterface
r/sr=jst a=chofmann
2006-04-20 03:38:55 +00:00
darin%meer.net 64bfc5031a 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 d93f7b617e 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 4ecaa17660 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 235f919fc3 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 4736823350 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 3fcf2d22de 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 7bc21fcb2d 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 70aaf21218 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 c3ec89824a 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 28c01e97a4 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 e7bbc12e1f 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 897605bab2 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 503e6fd275 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 c0f67654ad 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 cbada89b8d 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 1710aeb74a 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 425525c5f4 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 35bce381ef Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst 2006-04-20 03:38:37 +00:00
timeless%mozdev.org 32c86a0118 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 a145b522ec 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 5b5478fe98 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 00c885d2ec 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 231c8f5453 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 e4bff038ca Fixing typo in comment. 2006-04-20 03:38:31 +00:00
jst%netscape.com 8ee9508ee1 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 814555f1b6 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 1cef25107e 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 f44103de55 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 8fcface92b 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 1eb2ff7104 include no longer needed. 2006-04-20 03:38:25 +00:00
heikki%netscape.com 6eeae6e0f5 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 de3c062e33 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 384c0f128b 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 ab3c4c50e6 Bug 190180, fix UMR, r=harishd, sr=jst. 2006-04-20 03:38:21 +00:00
heikki%netscape.com 1756d90c11 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 55114613a8 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 48e2c76204 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 2d43d596ce 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 8579605c7f fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2006-04-20 03:38:16 +00:00
darin%netscape.com 1b70725ad3 fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts 2006-04-20 03:38:15 +00:00
heikki%netscape.com 79aadf9458 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 2b2835689b Bug 169984, sanitize XMExtras method availability to scripts. r=mstoltz, sr=jst. 2006-04-20 03:38:13 +00:00
dougt%netscape.com 0422e6620c 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 2914de2bdf 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 226546090f 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 659d2cd467 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 cbad0a1921 Bug 137866, responseText should default to UTF-8. r=bzbarsky, sr=jst. 2006-04-20 03:38:08 +00:00
heikki%netscape.com 6bb5bbef6a 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 4befe79e94 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 2fd7cbdc46 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 6490c666f7 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2006-04-20 03:38:04 +00:00
sfraser%netscape.com d28c2cbbe0 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 754bbb4e13 Bug 169982, same origin check for serializeToStream. r=mstoltz, sr=jst. 2006-04-20 03:38:02 +00:00
mstoltz%netscape.com 185fc70e8f 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 e57904757a 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 b600c72f90 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 cb293d269f Bug 128541, make send(null) work again. r=harishd, sr=jst. 2006-04-20 03:37:58 +00:00
dbaron%fas.harvard.edu ecdd84badc 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 8a6d38f87f Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver. 2006-04-20 03:37:56 +00:00
heikki%netscape.com 7a696a07e3 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 fb516731fa 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 a34e6ce663 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2006-04-20 03:37:53 +00:00
darin%netscape.com ba8156a472 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2006-04-20 03:37:52 +00:00
heikki%netscape.com e2c68818c1 Bug 129109, abort() was partially implemented. r=harishd, sr=darin, a=asa. 2006-04-20 03:37:51 +00:00
peterv%netscape.com 696bc7e86d 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 ce1bff315e 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 320300e702 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 a54c1a0fe5 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 c5517e0a77 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2006-04-20 03:37:46 +00:00
heikki%netscape.com c6b58669fc 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 5f3f5cb84f 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 f4738ce6a3 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 f719878539 #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 e3b998b24c 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 90ac6e4ba1 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2006-04-20 03:37:40 +00:00
gerv%gerv.net 2edfa23b56 License changes, take 2. Bug 98089. mozilla/extensions/. 2006-04-20 03:37:39 +00:00
gerv%gerv.net 8614a8a6af Oops. 2006-04-20 03:37:38 +00:00
scc%mozilla.org 8b0a0572ce bug #98089: ripped new license 2006-04-20 03:37:37 +00:00
heikki%netscape.com 1b18555fee Bug 100106, XMLHttpRequest.responseText empty if XML parsing error. r=harishd, sr=vidur. 2006-04-20 03:37:36 +00:00
heikki%netscape.com 7b9afb1b3c 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 d213e71665 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 44f936b3d1 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 68c555b3b9 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 fa2f3c1137 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 27ecd1d149 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 4ebdf54359 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 41091979e8 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 d4f565ccd1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2006-04-20 03:37:27 +00:00
jst%netscape.com c5d2b4914f 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 69a28ea384 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 41fbd2f617 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 41140eab51 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 9b37f0b7fb 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 b578536684 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 15af8479b1 Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2006-04-20 03:37:20 +00:00
mstoltz%netscape.com d6135f98c4 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 c195ffd065 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 f8f5541143 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 d225afedf0 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 c3499d764d 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 b287edebe9 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 2b6605cb66 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2006-04-20 03:37:13 +00:00
valeski%netscape.com 9fcfa4fa70 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2006-04-20 03:37:12 +00:00
danm%netscape.com 8e018b15d8 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 9297b80772 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 240af92967 bug 47905, adding security check to XMLHttpRequest.open(). r=heikki, sr=brendan 2006-04-20 03:37:09 +00:00
heikki%netscape.com d36bd15647 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 e78aebb4f3 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 6477f14e16 Back out dougt's channel changes 2006-04-20 03:37:06 +00:00
dougt%netscape.com a37f4142ce 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 a4bd2a4588 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 4b31c88f7a 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 731a932e75 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 a1ec60ce99 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 6a9bebad59 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 181cc2ed7f Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2006-04-20 03:36:59 +00:00
warren%netscape.com a2ce2829f6 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2006-04-20 03:36:58 +00:00
vidur%netscape.com dccf7254a8 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 5b0b67ca17 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 57e9a0d2e6 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 d40030ca55 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 fccc2c698c 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 0e52b69e9f 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 b17133dd98 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 e38df119b8 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 7bfd5fa4d6 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 c74b5c70c7 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 cc89c163a4 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 514752b6db Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
cvshook%sicking.cc 92b578d7ad Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron 2006-04-13 04:07:12 +00:00
benjamin%smedbergs.us 185c761605 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 348a3f2e8a Fixing bug 333674. We leak oldVal on OOM in nsUint32ToContentHashEntry::PutContent. r+sr=bzbarsky@mit.edu 2006-04-12 12:11:40 +00:00