1379 Commits

Author SHA1 Message Date
cbiesinger%web.de
6ca0611b9e bug 349951 fix log statement to only log the message when the condition is true, not always. r+sr=darin a=beltzner
git-svn-id: svn://10.0.0.236/trunk@208316 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 18:47:47 +00:00
cbiesinger%web.de
cbe98e8d48 Improve socket logging for bug 327050
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@207476 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 18:22:24 +00:00
cbiesinger%web.de
d15b535f52 bug 346939 allow QI to nsIRunnable too, not just inherit from it
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@206365 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 01:56:20 +00:00
timeless%mozdev.org
e13797b67c Bug 346576 Fix code comment above blacklisted ports list in netwerk/
patch by bugzilla@mcsmurf.de r=biesi rs=brendan


git-svn-id: svn://10.0.0.236/trunk@206136 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 14:52:49 +00:00
cbiesinger%web.de
fce85aa6bf Bug 343599 don't forcefully unsuspend the pump in Cancel; instead, only call
OnStopRequest once the pump is no longer suspended.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@203704 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 00:17:03 +00:00
cbiesinger%web.de
6454f16c66 Bug 343599 only call Resume if Suspend succeeded
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@203703 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 00:15:42 +00:00
cbiesinger%web.de
442004647f Bug 345398 make the socket input stream call asyncWait's callback even if it
is already closed r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@203702 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 00:12:39 +00:00
darin%meer.net
ea3aa7c112 fixes bug 318006, r=biesi, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@203210 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 00:57:38 +00:00
dveditz%cruzio.com
b153d71d28 Bug 301762: add missing ssl versions of mail ports, r=dougt, sr=darin, a=darin
git-svn-id: svn://10.0.0.236/trunk@201697 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 19:40:38 +00:00
cbiesinger%web.de
8b4ceff159 bug 226943 Don't map NS_ERROR_UNKNOWN_HOST to NS_ERROR_UNKNOWN_PROXY_HOST when
a SOCKS proxy is used, because in that case, this code resolves the real host
rather than the proxy host

patch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@201674 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 10:19:36 +00:00
darin%meer.net
9b9c9aa4c5 removing dead files (bug 123202)
git-svn-id: svn://10.0.0.236/trunk@201023 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 20:12:47 +00:00
darin%meer.net
fafea0063a fixes bug 312811 "Port blocking code gets confused by proxy server" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200781 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 01:25:17 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
jwalden%mit.edu
15fc4efd79 Bug 342321 - nsIncrementalDownload doesn't create 0-sized file when downloading a 0-sized file. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@200548 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 00:22:53 +00:00
bzbarsky%mit.edu
dcd8a3a053 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@200348 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:02:12 +00:00
darin%meer.net
539e487f5d removing bogus printf
git-svn-id: svn://10.0.0.236/trunk@199776 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 01:14:46 +00:00
darin%meer.net
7fb52b5599 fixes bug 243277 "Offline: PAC: fails to load at startup when offline, then never tries again" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199775 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 01:14:20 +00:00
mrbkap%gmail.com
9cafc6b093 Add some additional evalInSandbox functionality for PAC and use it there. bug 337389, r=shaver sr=darin
git-svn-id: svn://10.0.0.236/trunk@199439 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 20:21:40 +00:00
mrbkap%gmail.com
68a716ce73 Remove some functions that scripts don't need. bug 337389, r=darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@199177 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 01:58:51 +00:00
mark%moxienet.com
b03f0316c3 340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner
git-svn-id: svn://10.0.0.236/trunk@199172 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 00:06:11 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
bzbarsky%mit.edu
3e662003ef Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +00:00
darin%meer.net
c5374193b7 fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD)
git-svn-id: svn://10.0.0.236/trunk@196281 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 22:49:04 +00:00
darin%meer.net
1333a08b94 fixing vc6 build bustage
git-svn-id: svn://10.0.0.236/trunk@196274 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 21:08:55 +00:00
darin%meer.net
a8b6ae034b fixing AIX bustage
git-svn-id: svn://10.0.0.236/trunk@196272 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 20:31:18 +00:00
darin%meer.net
0d4f1de109 make use of nsRunnableMethod<T> to fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@196270 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 19:28:04 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
mrbkap%gmail.com
4ddae2d565 Ensure that |this| is correct when calling FindProxyForURL. bug 336313, r=darin sr+a=dveditz
git-svn-id: svn://10.0.0.236/trunk@195858 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 00:22:13 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
benjamin%smedbergs.us
20ac12f9c2 Bug 332147 - Expose nsEscape on a scriptable interface, r=darin
git-svn-id: svn://10.0.0.236/trunk@195803 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 16:27:23 +00:00
masayuki%d-toybox.com
d71c44e37c Bug 333703 Non-ascii directory name is garbled in directory index. patch by Masatoshi Kimura (:emk) <VYV03354@nifty.ne.jp> r=jshin, sr=darin
git-svn-id: svn://10.0.0.236/trunk@195795 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 06:24:11 +00:00
dougt%meer.net
ddf5bebc9a didn't mean to commit the header.
git-svn-id: svn://10.0.0.236/trunk@194549 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:00:39 +00:00
dougt%meer.net
cdb34a29fb Bug 334361. Failure to honor network changes. wince only r=darin
git-svn-id: svn://10.0.0.236/trunk@194548 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:59:10 +00:00
masayuki%d-toybox.com
993c58091f Bug 261929 Consider sending urls in UTF-8 by default (images/links with non-ASCII chacters not displayed). patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@194312 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 14:44:38 +00:00
roc+%cs.cmu.edu
8203d35c28 Bug 312793. Add Necko APIs to enable automatic management of online/offline status, and let Firefox use it. Disable automatic management in Thunderbird and Seamonkey until those apps are ready for it. Other applications will get automatic management by default. This needs platform-specific components to be created before it will have any effect. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@193558 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 21:26:17 +00:00
darin%meer.net
2d9101073b fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193269 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 17:31:15 +00:00
jwalden%mit.edu
0a935e155c Bug 324815 - Convert directory contents array in nsDirectoryIndexStream to nsCOMArray. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@193239 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 03:02:59 +00:00
jshin%mailaps.org
f28ebb4f13 bug 278161: make file URLs always be in (escaped) UTF-8 regardless of the file system encoding (opening an link to a local non-ASCII file) : forgot to address one of review comments when landing. : esc_AlwaysCopy is not necessary any more.
git-svn-id: svn://10.0.0.236/trunk@193183 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 08:10:50 +00:00
jshin%mailaps.org
5b92c4c94f bug 278161 : make file URLs always be in (escaped) UTF-8 regardless of the file system encoding (opening an link to a local non-ASCII file) r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@193175 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 04:53:21 +00:00
bryner%brianryner.com
7ec5e10667 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
darin%meer.net
8abe3aabdb fixes bug 329260 "Disk cache keeps emptying itself" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192099 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 20:02:54 +00:00
darin%meer.net
d41f2995c9 fixes bug 329559 "nsSocketInputStream::Available is not implemented properly" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191921 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 20:43:41 +00:00
cbiesinger%web.de
b7344cd8f7 bug 324985 remove unnecessary whitespace
git-svn-id: svn://10.0.0.236/trunk@191746 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 00:24:52 +00:00
cbiesinger%web.de
031dc8af70 bug 324985 Allow components to register in a category to get told about all page
loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@191729 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 21:06:53 +00:00
cbiesinger%web.de
7b9c070c3e bug 329039 make nsIOService's ctor and dtor private
r+sr+a=darin


git-svn-id: svn://10.0.0.236/trunk@191715 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 19:34:34 +00:00
darin%meer.net
08ca7becb1 restoring nsBaseChannel changes. reverting nsInputStreamPump changes.
git-svn-id: svn://10.0.0.236/trunk@191704 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 18:39:40 +00:00
darin%meer.net
6a7dd7ced5 relanding ftp patch for bug 312760 "implement ftp using nsBaseChannel" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191697 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 16:27:35 +00:00
cbiesinger%web.de
e99cf5928f bug 328218 don't allow creating multiple IO services
r+sr+a=darin


git-svn-id: svn://10.0.0.236/trunk@191501 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 18:45:55 +00:00
darin%meer.net
90d0336a69 backing out my latest patch for bug 312760 to clear Tp regression.
git-svn-id: svn://10.0.0.236/trunk@191499 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 18:30:51 +00:00
darin%meer.net
525cf63df7 landing FTP patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191463 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 04:48:43 +00:00