Commit Graph

143 Commits

Author SHA1 Message Date
wtc@google.com
53c533617a Bug 213637: code cleanup: use nsAutoLock instead of manually calling PR_Lock/PR_Unlock, and removed mThreadEventLock. r=biesi Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-08-26 13:14:57 -07:00
philringnalda@gmail.com
a6f16f54fd Bug 392718 - With beautified ftp listings, long filenames are truncated, making them hard to read, patch by Dão Gottwald <dao@design-noir.de>, r+sr+a1.9=bz 2007-08-25 20:20:24 -07:00
cbiesinger@gmx.at
bbaf727b9d fix typo in comment 2007-08-24 18:30:39 -07:00
cbiesinger@gmx.at
c5527cd9e4 393624 check for unexpected status codes when resuming downloads r+sr+a=bz 2007-08-24 17:47:54 -07:00
cbiesinger@gmx.at
2d641b20bd 263127 close the tempfile output stream before calling the observer patch by Wladimir Palant <trev.moz@adblockplus.org> r=biesi sr=darin 2007-08-24 17:26:18 -07:00
cbiesinger@gmx.at
9e650fe930 393622 add logging to HTTP channel resuming code r+sr+a=bz 2007-08-24 16:17:07 -07:00
cbiesinger@gmx.at
f6e7bbb1b6 move Listener and read_stream to its own head file so that it can be reused by other tests 2007-08-24 11:08:37 -07:00
Olli.Pettay@helsinki.fi
ef1921544a Bug 392760, Provide keyboard-accessibility for sorting headers FTP/File/Jar/Gopher dir listing, p=dao@design-noir.de, r+sr+a=bz 2007-08-24 03:12:46 -07:00
bzbarsky@mit.edu
9b91a1f373 Relanding patch for bug 137155 on trunk because we think it may be OK now. Patch by darin, r+sr=bzbarsky+biesi, a=bzbarsky 2007-08-23 18:45:23 -07:00
jwalden@mit.edu
a3ea5d6c54 Bug 370245 - Make the HTTP server asynchronously process requests, and pave the way for future improvements to processing. r=biesi, a=bsmedberg on a testing-only change 2007-08-23 15:07:40 -07:00
bzbarsky@mit.edu
1754128843 Make Suspend() work on an HTTP channel if called right after AsyncOpen. Bug 392837, r+sr=biesi, a=bzbarsky 2007-08-23 11:56:12 -07:00
rflint@ryanflint.com
2da85be550 Bug 339964 - move tabbrowser.xml out of mozilla/toolkit and into mozilla/browser. Patch by Stefan <stefanh@bluebottle.com> and myself, r=mconnor 2007-08-22 14:02:02 -07:00
cbiesinger@gmx.at
08b049e2ba Bug 391951 don't strip escaped spaces for non-base64 data URIs r+sr=bz 2007-08-21 10:28:22 -07:00
cbiesinger@gmx.at
c118d40021 392428 always consider IP addresses valid hostnames r+sr+a=bz 2007-08-21 10:14:47 -07:00
bzbarsky@mit.edu
a65e95ce03 Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
dmose@mozilla.org
91643370ed Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
dtownsend@oxymoronical.com
7daec3138e Bug 341472: ship with fewer security warnings showing by default. p=Adam Guthrie <ispiked@gmail.com>, r=darin.moz@gmail.com, ui-r=beltzner, a=wanted-firefox3 2007-08-20 07:22:42 -07:00
bent.mozilla@gmail.com
7980ed1622 Bug 392657 - Fix typo in comment. 2007-08-19 21:06:58 -07:00
bent.mozilla@gmail.com
0e2d2d7720 Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz. 2007-08-19 20:19:11 -07:00
jwalden@mit.edu
75b11a995d Bug 294800 - Beautify FTP/File/Jar/Gopher dir listings (CSS, icons, sortable columns) so that they don't look like they're from 1995. (Ooh, shiny!) Patch by Dao Gottwald <dao@design-noir.de>, r+sr=bz, r=mano, a=dsicore 2007-08-17 15:57:36 -07:00
cbiesinger@gmx.at
2a39fb4759 Bug 390082 make sure to make data connections to the same IP address as the control connection r+sr+a=bz 2007-08-15 17:15:53 -07:00
mrbkap@gmail.com
1f8de346fe Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
sdwilsh@shawnwilsher.com
d98abd5a78 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose 2007-08-14 09:47:41 -07:00
myk@mozilla.org
b91c618d6f bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose 2007-08-13 13:41:34 -07:00
cbiesinger@gmx.at
b5a1f780d7 390126 unescape the URL before compressing whitespace r+sr=bz 2007-08-10 12:52:50 -07:00
mrbkap@gmail.com
10a72405d4 Make XPCSafeJSObjectWrapper easier to use by not throwing for primitive values passed to the constructor. Use it in more places in PAC. bug 388450, r=crowder sr=brendan a=bzbarsky 2007-08-07 18:49:49 -07:00
cbiesinger@gmx.at
544402e066 388523 make sure to call OnStartRequest even when we have a pending auth retry and the channel has been cancelled in the meantime r+sr=bz 2007-08-07 13:09:25 -07:00
bzbarsky@mit.edu
1d0c1e1468 Fix crash if the channel gets canceled too early. Bug 390938, r+sr=biesi 2007-08-06 18:59:10 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
benjamin@smedbergs.us
b781252802 Bug 389671 - CVS remove old suite-style multi-profile code which is not used anymore, r=luser (NPOB except for removing build-system references to files/options) 2007-08-02 11:43:30 -07:00
sdwilsh@shawnwilsher.com
e50a443cd2 Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
cbiesinger@gmx.at
4afa23fd6d 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc
2007-07-26 19:40:45 -07:00
dwitte@stanford.edu
fbe6d69937 followup bustage-related fix for bug 386154, r+sr=biesi, a=gavins for checkin to closed tree 2007-07-26 11:42:54 -07:00
dwitte@stanford.edu
947de4b75b fixing bustage. 2007-07-26 01:55:53 -07:00
dwitte@stanford.edu
faeb488a77 rework etld backend to use a flat hash instead of a tree-hash structure, to reduce memory consumption and eliminate shutdown leaks. bugs 386154 and 386155,
r=biesi
2007-07-25 23:31:49 -07:00
dcamp@mozilla.com
d0e325d71c properly delete old files during an offline cache update. b=389591, r+sr=biesi 2007-07-25 17:47:33 -07:00
kaie@kuix.de
931bb87869 Bug 382223, Add support for Camellia to PSM
Patch contributed by okazaki
r=kengert
2007-07-25 15:53:30 -07:00
myk@mozilla.org
58273b5215 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-25 13:40:41 -07:00
bzbarsky@mit.edu
1e0b05ffcf Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -07:00
enndeakin@sympatico.ca
4ada13e2d9 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
sharparrow1@yahoo.com
2274f05553 Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi 2007-07-25 09:22:27 -07:00
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
cbiesinger@gmx.at
9ae7c9de67 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
dmose@mozilla.org
ee90fd6056 Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage. 2007-07-24 16:38:29 -07:00
myk@mozilla.org
388545f1a3 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-24 13:29:50 -07:00
bzbarsky@mit.edu
dc8de3f8f7 Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
mats.palmgren@bredband.net
8059d478b7 Don't clobber 'pos' in the inner loops since we might need it again for the outer loop. b=388424 r=cbiesinger sr=bzbarsky 2007-07-22 06:15:38 -07:00
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
jwalden@mit.edu
b9d07173a5 Bug 376489 - Serve reftests from a web server so as not to depend on external resources, if the reftest is marked as needing HTTP; also picks up support for HTTP header and status modification in reftest files. r=dbaron 2007-07-18 14:32:50 -07:00