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

4679 Коммитов

Автор SHA1 Сообщение Дата
dwitte%stanford.edu 0de430b20c make the cookie whitelist override the "limit cookie lifetime to session" pref. this allows the user to whitelist certain sites for setting permanent cookies, while non-whitelisted sites are downgraded to session cookies. also adds an "downgrade cookies from this site to session" permissionlist value, so now we have a whitelist/blacklist/sessionlist. (UI for this latter feature is not yet hooked up).
this also shifts a bunch of forked pref stuff out of the cookie backend and into an app-specific place, which is good for the GRE.

b=217286, r=mvl, sr=darin.
2003-10-16 13:17:12 +00:00
dwitte%stanford.edu 54784a503c move along, nothing to see here...
fix a bitwise & to a logical &&. nice catch bsmedberg!
2003-10-15 14:28:07 +00:00
dwitte%stanford.edu 14df467176 whoops. these weren't meant to go in. ;) 2003-10-11 00:12:33 +00:00
dwitte%stanford.edu b87603207c refactor cookie prompting helper to where it belongs... this will increase perf a little, for the case where prompting is turned off.
b=220624, r=mvl, sr=darin.
2003-10-11 00:06:13 +00:00
darin%meer.net 948c1c9c08 moving cookies backend into necko: b=210561 r=dwitte sr=bryner
these files were moved from their old home in extensions/cookie.  the CVS
records cannot be simply moved because attic files exist in the new location,
and so i will unfortunately take cvs blame for all.  that's unfair to dwitte
who has made so many wonderful changes to the cookies backend code! ;-)

so, to find out the real cvs blame for these files, please look at the
following cvs remove'd files:

mozilla/extensions/cookie/nsCookieService.cpp
mozilla/extensions/cookie/nsCookieService.h
mozilla/extensions/cookie/nsCookie.cpp
mozilla/extensions/cookie/nsCookie.h
mozilla/extensions/cookie/nsICookie2.idl
mozilla/extensions/cookie/nsICookieConsent.idl
mozilla/extensions/cookie/nsICookie.idl
mozilla/extensions/cookie/nsICookieManager2.idl
mozilla/extensions/cookie/nsICookieManager.idl
mozilla/extensions/cookie/nsICookiePermission.idl
2003-10-10 23:09:18 +00:00
darin%meer.net fd825778c0 moving cookie service into necko: b=210561 r=dwitte sr=bryner
these files were moved from their old home in extensions/cookie.  the CVS
records cannot be simply moved because attic files exist in the new location,
and so i will unfortunately take cvs blame for all.  that's unfair to dwitte
who has made so many wonderful changes to the cookies backend code! ;-)

so, to find out the real cvs blame for these files, please look at the
following cvs remove'd files:

mozilla/extensions/cookie/nsCookieService.cpp
mozilla/extensions/cookie/nsCookieService.h
mozilla/extensions/cookie/nsCookie.cpp
mozilla/extensions/cookie/nsCookie.h
mozilla/extensions/cookie/nsICookie2.idl
mozilla/extensions/cookie/nsICookieConsent.idl
mozilla/extensions/cookie/nsICookie.idl
mozilla/extensions/cookie/nsICookieManager2.idl
mozilla/extensions/cookie/nsICookieManager.idl
mozilla/extensions/cookie/nsICookiePermission.idl
2003-10-10 23:08:01 +00:00
darin%meer.net 84f6afa539 backing these out temporarily 2003-10-10 22:37:07 +00:00
darin%meer.net b99820bf2c moving cookies backend into necko: b=210561 r=dwitte sr=bryner 2003-10-10 22:34:06 +00:00
darin%meer.net 46aa305707 moving cookies backend into necko: b=210561 r=dwitte sr=bryner 2003-10-10 22:27:41 +00:00
neil%parkwaycc.co.uk b5692b0d31 supplementary patch to the fix to bug 209532 to fix the case when the prefs are empty or unset r/sr=darin 2003-10-10 18:05:18 +00:00
cbiesinger%web.de b78a596326 Bug 217433. Implement nsIRequest::Suspend and ::Resume for the data: channel, by using nsIInputStreamPump.
r=darin sr=bzbarsky
2003-10-10 13:41:20 +00:00
neil%parkwaycc.co.uk 9f194945cf Bug 209532 Separate prefs to override Mozilla/5.0 at beginning of UA string p=mpeseng@tin.it r/sr=darin 2003-10-10 08:20:46 +00:00
darin%meer.net b5031beec6 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
darin%meer.net c8b8f5d225 provides foundation for solving bug 217787 "necko support for HTTP chunked requests" r=dougt sr=bzbarsky 2003-10-08 06:10:47 +00:00
darin%meer.net b6e7913f75 adding some additional documentation per bzbarsky, b=192284 2003-10-08 04:37:38 +00:00
darin%meer.net dfb4b8260b fixes bug 192284 "support nsIChannel::open for all protocols" r=dougt sr=bzbarsky 2003-10-08 04:27:13 +00:00
darin%meer.net ec28931a44 removing nsAutoLock workaround for bug 221331. 2003-10-08 03:38:46 +00:00
darin%meer.net 7e5b9f7f7d minor touch-up to patch for bug 210125. 2003-10-07 08:17:22 +00:00
darin%meer.net 93657ac421 fixes bug 219376 "Trying to resolve IP's via DNS (Failed connections stall instead of giving Connection Failure Error; pages stop/don't finish/complete loading if ad hosts/scripts fail)" r=dougt sr=bienvenu,bryner 2003-10-07 05:11:41 +00:00
timeless%mozdev.org 9ae4f419ed Bug 221142 warning: missing initializer for `nameprep_versions[1].unassigned_proc
r=darin sr=darin
2003-10-07 02:28:20 +00:00
darin%meer.net 4ba1e67753 switch to dbaron's suggested fix for solaris bustage, b=210125. 2003-10-07 01:29:38 +00:00
darin%meer.net b9118fdb9e second attempt to fix solaris bustage, thx to keeda@hotpop.com for the patch. 2003-10-06 16:35:06 +00:00
darin%meer.net 7fa979fb77 correcting contributor line from initial check-in. 2003-10-06 09:17:15 +00:00
darin%meer.net 012fbd5113 updating .cvsignore for necko 2003-10-06 08:21:10 +00:00
darin%meer.net dba5cab596 attempt to fix solaris (nebiros) bustage. 2003-10-06 08:13:51 +00:00
darin%meer.net 0cc34638f5 fix tinderbox Ts=NaN problem. stream transport must handle offset = -1. 2003-10-06 07:58:07 +00:00
darin%meer.net ef29eef7fa fixing win32 bustage. 2003-10-06 03:49:54 +00:00
darin%meer.net db6bd44432 correcting bustage fix. 2003-10-06 03:21:12 +00:00
darin%meer.net 6c1caf1b69 fixes win32 bustage 2003-10-06 02:50:49 +00:00
darin%meer.net 97286a337b fixing potential bustage 2003-10-06 02:14:02 +00:00
darin%meer.net d5d424d009 fixing bustage 2003-10-06 02:12:49 +00:00
darin%meer.net 43063a6f09 bustage fix... i had this in my tree already :-( 2003-10-06 01:58:58 +00:00
darin%meer.net ac61fe09ca annotating workaround for bug 221331. 2003-10-06 01:58:08 +00:00
darin%meer.net 325b3c6de7 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
cbiesinger%web.de 56573a1871 220672. r=darin sr=bzbarsky
Convert nsIEncodedChannel::contentEncodings to nsIUTF8StringEnumerator.

Previously, it used nsISimpleEnumerator, and returned an nsISupportsCString with it.
2003-10-05 17:06:37 +00:00
bzbarsky%mit.edu 0e8046d07f Fix possible access to unitialized memory. Bug 221189, r=biesi, sr=darin 2003-10-04 20:27:32 +00:00
bzbarsky%mit.edu 3857f5d808 Unhork binhex decoder by undoing the ifdef-reversal. Bug 220611, r=biesi,
sr=darin
2003-10-04 00:45:42 +00:00
bzbarsky%mit.edu 691e75dcaf Make GetPath() work on jar: URIs, incidentally making it possible to use such
as src uris for frames again.  Bug 220776, r=timeless, sr=darin
2003-10-03 22:15:24 +00:00
bryner%brianryner.com cd60efa8ac Updating my email address 2003-09-29 06:04:02 +00:00
darin%meer.net 22fc2d609f fixes bug 217765 "HTTP: does not always handle username+password from URL correctly" patch=darin,crabbkw r=darin sr=bryner 2003-09-25 17:48:28 +00:00
bzbarsky%mit.edu 9893ba871c Look for charset param on content type with a case-insensitive search. Bug
220203, r=timeless, sr=darin
2003-09-25 15:37:56 +00:00
dbaron%dbaron.org 63fc8c8cf4 Make the rv:N.N part of the UA string come from the MOZILLA_VERSION macro (from config/milestone.txt) instead of from a pref. b=220220 r=darin sr=bryner 2003-09-25 05:39:11 +00:00
darin%meer.net 6cb9746ee2 fixes bug 220122 "Proxy-Authentication credentials can be exposed to origin server" r=bz sr=jst 2003-09-25 04:33:56 +00:00
timeless%mozdev.org b574679f72 Bug 217949 NTLM Authentication does not work on NT4
patch by darin r=timeless sr=mscott
2003-09-25 02:53:05 +00:00
darin%meer.net 5fde122429 removing dead code 2003-09-19 18:21:14 +00:00
cls%seawood.org bfca537521 Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
timeless%mozdev.org df8c7bbc16 fixing typo in LOG statement
rs=darin
2003-09-17 15:11:47 +00:00
darin%meer.net 3b26be75f0 fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner 2003-09-16 16:12:59 +00:00
darin%meer.net e4c6e7ec88 fixes bug 205921 "Preference browser.cache.disk_cache_ssl does nothing"
patch=pk_joshi@yahoo.com r+sr=darin
2003-09-15 22:12:52 +00:00
darin%meer.net b77f55bf26 removing files that are no longer compiled. 2003-09-15 21:56:55 +00:00
darin%meer.net c2c0089325 fixes bug 217766 "use nsIObserverService in place of nsINetModuleMgr (eliminate nsIHttpNotify)" r=dwitte sr=bzbarsky 2003-09-15 21:44:43 +00:00
cls%seawood.org 93b343dc52 Use ifneq instead of ifdef since PROTOCOLS is always defined.
Bug #219095
2003-09-15 04:04:41 +00:00
cbiesinger%web.de d79ad7e944 (netwerk part of Bug 124029)
Implement nsBufferedOutputStream::WriteSegments and WriteFrom, and improve comments in other parts of necko
r=darin sr=bz
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	base/public/nsISocketTransport.idl
CVS: 	base/public/nsITransport.idl base/src/nsBufferedStreams.cpp
CVS: 	base/src/nsFileStreams.cpp protocol/http/src/nsHttpChannel.cpp
CVS: ----------------------------------------------------------------------
2003-09-14 11:55:05 +00:00
cbiesinger%web.de 9341cc7c38 Bug #218920
nsDataChannel uses WriteSegments for no good reason
r=darin sr=bz
2003-09-13 21:18:08 +00:00
caillon%returnzero.com ced129793a about:about
Bug 56061
r=bryner@brianryner.com
sr=darin@meer.net
2003-09-13 19:35:59 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
darin%meer.net 8989a2213a landing patch for bug 205726 "DNS rewrite" r=dougt sr=bryner 2003-09-11 20:32:33 +00:00
darin%meer.net fe96ac5ceb fixes bug 212336 "NTLM sometimes causes crashes under Win9x" r=dougt sr=bryner 2003-09-11 18:04:52 +00:00
mkaply%us.ibm.com cd0e3711d8 Bug #201455
r=bz, sr=darin
Code from Alfred Kayser - optimization of nsCacheEntry
2003-09-11 16:57:40 +00:00
mkaply%us.ibm.com 191bf2c1f6 Bug #203344
r=darin, sr=alecf
Code from Alfred Kayser - optimization in nsJarChannel
2003-09-11 16:45:50 +00:00
cbiesinger%web.de 0c41732588 Bug 217509
wrong app description shown in helper app dialog
r=bz sr=darin
2003-09-11 12:13:06 +00:00
timeless%mozdev.org d202abea89 Bug 217007 nsCAutoString charsetBuf is unused
r=darin sr=darin
2003-09-11 01:42:43 +00:00
bryner%brianryner.com 70b73feae9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
caillon%returnzero.com c11c6acb17 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
colin%theblakes.com 8d22535fb3 Support for OpenVMS FTP server. Bug 22299. r=rjesup sr=darin a=chofmann 2003-08-20 20:06:31 +00:00
cls%seawood.org c08e99a287 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
darin%meer.net 4a5c4538e5 fixes bug 215270 "Crash (in cookies?) [nsHttpChannel::GetCallback]" r=mvl sr=bryner a=asa 2003-08-14 18:10:10 +00:00
joshua.xia%sun.com 72926eab34 for bugzilla #215487 sr=darin r=louie.zhao 2003-08-12 04:27:47 +00:00
kairo%kairo.at b6208f06a9 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
dbaron%dbaron.org 9ed1ae27d1 Fix debug-only bustage. b=205023 2003-08-05 07:19:20 +00:00
dougt%meer.net 2457226054 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
darin%meer.net f249b8d22f initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin 2003-08-05 01:44:27 +00:00
darin%meer.net 87f0ecd7b3 fixes bug 210229 "Helper app Window for text/html document (two comma-delimited charsets in http content-type header)" r=biesi sr=bz 2003-07-31 17:11:21 +00:00
bzbarsky%mit.edu 33dc3b9645 Try to reduce codesize a tad. Bug 213825, r=biesi, sr=jag 2003-07-30 23:16:29 +00:00
bzbarsky%mit.edu 41d5f19c19 Make more tags trigger detection of the file as HTML. Bug 213825, r=biesi, sr=darin 2003-07-30 17:58:56 +00:00
bienvenu%nventure.com e4797f4e59 fix 112656 annoying assertion in ScanTxt, r=mscott, sr=dbaron 2003-07-29 22:10:59 +00:00
darin%meer.net e4eb260baa fixes bug 213282 "mozilla not sending basic authorization header" r=dwitte sr=bzbarsky 2003-07-29 06:36:45 +00:00
bsmedberg%covad.net 117dcd4d23 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
timeless%mozdev.org a40a1f50fa Bug 214020 Null security callbacks [@ nsHttpConnection::GetInterface]
r=bbaetz sr=bz
2003-07-27 07:05:31 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
andreas.otte%debitel.net 52949da7f6 fix bug 213012, unescape %2E during path coalescing, r=dveditz@netscape.com, sr=darin@meer.net 2003-07-25 18:36:34 +00:00
cbiesinger%web.de f742c7f019 removing unused files. r+sr=darin, no bug 2003-07-25 17:31:36 +00:00
cbiesinger%web.de faf8419fc6 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
caillon%returnzero.com 9c22160a4b 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)
2003-07-24 05:15:20 +00:00
mkaply%us.ibm.com 56dc425c51 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
bzbarsky%mit.edu 6dfd8843d7 Detect stuff that starts with "<head" as HTML. Bug 213416, r=biesi, sr=darin 2003-07-22 17:06:46 +00:00
darin%netscape.com 789a814cdb fixes bug 212336 "NTLM authenticator cannot be loaded under Win9x (security.dll not found)" r=dougt sr=alecf 2003-07-21 16:29:05 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
dwitte%stanford.edu 89911cf733 make nsStandardURL::GetFile cache its result and use nsIFile::Clone when handing
it out. we unfortunately need to clone until consumers of this method are fixed
to not modify the returned file (see bug 212724).

this should reduce Ts some...

b=122892, r=andreas.otte, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-19 14:58:33 +00:00
andreas.otte%debitel.net 8e49c0c97d fix bug 207298 [FTP directory problems w/ URL parsing when URL root is not filesystem root] this patch changes the normal resolver for relative urls so that when asked it recognizes special root markers and retains .. that go beyond root as it is necessary for the ftp protocol. r=dougt@meer.net, sr=darin@meer.net 2003-07-16 19:09:00 +00:00
darin%netscape.com 118c114d7b removing errant printf from previous checkin 2003-07-15 14:51:43 +00:00
bzbarsky%mit.edu 5b000ba0c0 Fix bug 212277. r=caillon, sr=darin 2003-07-15 07:01:16 +00:00
bzbarsky%mit.edu 421208bd0d Make sure view-source does not apply most HTTP headers (eg Refresh:, Link:,
etc).  Bug 212530, r=timeless, sr=darin
2003-07-14 23:18:54 +00:00
darin%netscape.com f2964b1ae0 fixes bug 212598 "netwerk/ should not use nsIPref" r=dougt,caillon sr=bzbarsky 2003-07-14 21:36:24 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dougt%meer.net 4cf0a9e9bb Backing out recent ftp change to know state. r+sr=darin, b=212439 2003-07-13 06:38:26 +00:00
bzbarsky%mit.edu 06dbe6f09a Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
encoding to do (has a non-ascii spec segment).  Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
bzbarsky%mit.edu e91ae1f2b8 Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2003-07-11 23:10:27 +00:00
timeless%mozdev.org 8cf1917a06 Bug 212440 nsHTTP:2 shouldn't include traffic
r=darin sr=darin
2003-07-11 22:43:28 +00:00
darin%netscape.com 4081168a3d fixes bug 212245 "don't build ftp and gopher directory listing support if protocols are disabled" r=dougt sr=bzbarsky 2003-07-11 22:13:30 +00:00
jshin%mailaps.org 6612ac1a1e bug 212125 : factor out loading |nsIPersistentProperties|' from a URI/URIspec and add helper
functions to nsNetUtil.h  (r=rbs, sr=darin)
2003-07-11 21:31:54 +00:00
dougt%meer.net 2281cd621b Backing out ftp state reduction due to regressions. See 211729. r=darin, a=dbaron 2003-07-09 20:48:15 +00:00
bzbarsky%mit.edu cf610c5e41 Make sure to look at the loadgroup's callbacks if our channel has none. Bug
208087, r=darin, sr=dbaron, a="dbaron says 'slip it in'"
2003-07-09 07:02:28 +00:00
jaggernaut%netscape.com 87fecf1c93 Bug 212118: Small bug in net_ParseFileURL: Substring(inURL, schemeBeg, schemeBeg + schemeEnd). r=darin, sr=dbaron 2003-07-09 05:11:10 +00:00
jaggernaut%netscape.com c95bae9c84 Purging tabs, r+sr=darin 2003-07-09 02:28:07 +00:00
jaggernaut%netscape.com 77dfbf008e Small optimization, no need to pass in a scheme string there. r+sr=darin 2003-07-09 01:35:35 +00:00
darin%netscape.com 46368001f2 fixes bug 209121 "Digest authentication incorrectly includes fragment identifier in URI when computing A2" r=dougt sr=bzbarsky 2003-07-08 22:49:26 +00:00
darin%netscape.com ddebbeb3aa revising nsIChannel documentation further 2003-07-08 22:43:51 +00:00
darin%netscape.com 2e4b6d325f removing unused #define, no bug, r+sr=nobody 2003-07-08 22:25:39 +00:00
darin%netscape.com af7236f048 cleaning up some nsIChannel documentation, b=209101, r+sr=nobody 2003-07-08 22:04:32 +00:00
bzbarsky%mit.edu 94ac2bf68a Expose request and response versions of HTTP channels. Bug 201625, r=darin, sr=bzbarsky 2003-07-08 21:35:54 +00:00
bzbarsky%mit.edu 32d96efdc3 Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
211599, r=dougt, sr=darin
2003-07-08 20:09:17 +00:00
kaie%netscape.com f82f7c9d38 b=195574 SSL extremely flaky if Ask for Master Password is 'Every time'
r=darin sr=brendan
2003-07-08 14:41:02 +00:00
cbiesinger%web.de c6ec6b4801 78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.
2003-07-08 13:52:46 +00:00
darin%netscape.com 89a13a460a fixes bug 210734 "IDN: Invalid codepoint encoded in ACE label" r=nhotta sr=bzbarsky 2003-07-08 01:51:32 +00:00
cbiesinger%web.de 6550b06582 211889 r=bzbarsky sr=darin - remove DataURI attribute from nsIMIMEInfo (unused and not really implemented) as well as the mURI member of nsMimeInfoImpl 2003-07-07 22:49:35 +00:00
dougt%meer.net 61bb3f5970 missed this line from the previous check in. 2003-07-02 20:57:43 +00:00
dougt%meer.net 963790c516 bug 209972. removes CWD and PWD from state machine. General code clean up. r=bbaetz, sr=darin 2003-07-02 15:03:58 +00:00
darin%netscape.com 45c7585dc6 cvs removing uncompiled/dead files 2003-07-01 19:28:40 +00:00
bzbarsky%mit.edu 10e836c35b Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
darin%netscape.com 4c3aa76c2a fixes bug 143575 "URL: http ignores username and password (http://user:passwd/domain) for auth cache" r=dougt sr=alecf 2003-06-30 19:56:05 +00:00
dougt%meer.net 22843b51e3 Adding a new FTP error code to nsNetError.h. r=me, sr=darin, part of bug=209972 2003-06-27 19:02:15 +00:00
ccarlen%netscape.com bf011a6d3b Bug 197379 - take2. Take 1 allowed file:// URLs with HFS paths to work. It did not work, though, when the volume name contained an escaped character. This patch unescapes the volume name before comparison. r=dougt/sr=darin 2003-06-27 14:31:38 +00:00
jshin%mailaps.org fd5643f995 bug 210109 : fix crash due to misaligned address (use PRUintn for '%2X' in PR_sscanf instead of char) r=wtc, sr=darin 2003-06-26 23:53:26 +00:00
darin%netscape.com 8559a3d4f3 fixes smoketest blocker, bug 210579 "hang trying to access page with invalid headers" r=dougt sr=bzbarsky 2003-06-25 17:24:48 +00:00
timeless%mozdev.org 2546d3e495 Bug 187442 change PL_strcmp to strcmp in nsIOService
r=darin sr=darin
2003-06-25 01:13:30 +00:00
darin%netscape.com 25f0a278b0 fixes bug 209560 "Secure JS doesn't work from https JARs" r=dougt sr=alecf 2003-06-23 22:58:28 +00:00
bzbarsky%mit.edu d1447d9cc1 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
darin%netscape.com a5c849fca1 fixes bug 210119 "Browser crashes when opening URL" r=caillon sr=bzbarsky 2003-06-23 05:51:33 +00:00
darin%netscape.com f307656694 fixes bug 208845 "multiple content-type headers combined breaks mozilla" r=dougt sr=alecf 2003-06-18 23:16:17 +00:00
darin%netscape.com c0b88c3df1 fixes bug 204124 "minor codesize optimizations for nsNetUtil.h" r=dougt sr=alecf 2003-06-18 23:07:09 +00:00
alecf%flett.org fca10b9dd4 fix for bug 205895 - make nsIMIMEInfo.getFileExtensions use a string enumerator, to avoid excess allocation at startup
r=bz, sr=darin
2003-06-17 17:00:40 +00:00
ccarlen%netscape.com ccfba160c9 Bug 197379 - file:// URLs using HFS paths don't work with Mach-O Mozilla. Creating a new version of nsURLHelper for OSX which handles this. Also, some correctness and commenting of corresponding code in nsURLHelperUnix.cpp. r=alecf/sr=sfraser 2003-06-17 13:55:47 +00:00
jshin%mailaps.org 50e32feb85 a part of bug 162765 (r=cbiesinger, sr=alecf) missed in the previous commit.
RFC 2231 support (with RFC 2047 fallback) in Content-Disposition header
in http for file download.
2003-06-13 04:18:01 +00:00
jshin%mailaps.org ecc35790fe bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
alecf%flett.org ccf01a2786 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
2003-06-11 18:16:03 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
kairo%kairo.at 108ef75354 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
dougt%meer.net 5c4015dc59 Treat any 0.9 style response of a put as a failure. b=193921, r=brade, sr=alecf, a=rjesup 2003-06-03 21:21:53 +00:00
dougt%meer.net f438318e22 Disallowing javascript or data schemes in a redirect. r=mstoltz, sr=brendan, a=rjesup, b=195201 2003-05-29 21:56:38 +00:00
dougt%meer.net 0b32036f70 Disallowing javascript or data schemes in a redirect. r=mstoltz, sr=brendan, a=rjesup, b=195201 2003-05-29 21:51:34 +00:00
alecf%flett.org 51c3128e9e stop leaking zlib buffers when using compressed streams
patch by pedemont@us.ibm.com
r=dougt, sr=alecf
should fix a pretty major leak!
2003-05-28 23:45:06 +00:00
cbiesinger%web.de 2341fb0cb7 193728 r=bbaetz sr=darin data: Base64-encoded URIs don't support %-encoded characters 2003-05-23 22:41:35 +00:00
timeless%mozdev.org 08e22382cb Bug 205608 Warning: C++ style comments are not allowed in ISO C89
r=jst sr=jst
2003-05-23 22:18:18 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
stephend%netscape.com 5d7dceb2e8 Bug 196917. Crash in nsDiskCacheMap::FindRecord clearing cache. patch by Gordon Sheridan <gordon@netscape.com> r=dougt@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-23 05:44:15 +00:00
pkw%us.ibm.com 42e059ae1d Bug 206630 - Add AIX support for memory cache based on physical ram
(originally implemented in Bug 105344)
r=gordon@netscape.com, sr=darin@netscape.com, a=mkaply@us.ibm.com
2003-05-21 21:59:55 +00:00
bryner%netscape.com e0e54f2fec Cleaning up this file left over from when cache was its own component. Not part of the build. 2003-05-21 21:46:18 +00:00
bryner%netscape.com 2c5e2cd9d7 This makefile should not use EXPORT_LIBRARY since it's now part of libnecko. Bug 206143, r=darin, sr=alecf, a=mkaply. 2003-05-21 21:42:36 +00:00
suresh%netscape.com 2677b1f200 fix for bug 141702 - Redirection limit exceeded [not sending Authorization header on 302]. r-dougt, sr-darin, a-sspitzer. 2003-05-19 17:47:22 +00:00
darin%netscape.com 2b0c9c42b6 fixes bug 199173 "IPv6:Page fails to load. No message." r=dougt sr=alecf a=sspitzer 2003-05-15 21:27:46 +00:00
gordon%netscape.com 41248bff35 Fix bug 204398, fixing alignment of about:cache.
patch=abecevello@sympatico.ca, r=gordon, sr=darin, a=asa
2003-05-13 23:15:20 +00:00
darin%netscape.com 6a7bea68a8 fixes bug 203813 "Digest auth does not work with SSL proxy" r=suresh sr=alecf a=asa 2003-05-13 04:41:07 +00:00
darin%netscape.com 7c107229c8 fixes bug 132957 "Implement full support for Vary header [was: Content negotiation prohibits caching]" r=suresh sr=alecf a=asa 2003-05-13 04:38:25 +00:00
darin%netscape.com b6f1b4f121 fixes bug 199546 "forum message wants to save to disk as messages.php" r=dougt sr=bz a=asa
(checking in on closed tree per request from asa)
2003-05-06 20:43:20 +00:00
bienvenu%netscape.com 394469c6d1 remove 16K limit on ODA handler call, r=darin, sr=sspitzer,a=sspitzer should speed up local folder parsing substantialy 172786 2003-05-05 22:18:11 +00:00
darin%netscape.com 862d5b8ded fixes bug 203057 "SSL website not displayed (using proxy + NTLM)" r=dougt sr=bz a=sspitzer 2003-05-05 21:41:30 +00:00
darin%netscape.com a7a9655ce4 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
darin%netscape.com 34c20a2555 fixes bug 197079 "Status bar doesn't display 'Stopped' when stop button is clicked" r=dougt sr=jag a=asa 2003-05-02 06:31:55 +00:00
dwitte%stanford.edu 68d169174a Bug 137802: removing nsHTTPChunkConv since it's obsolete. not part of build.
r=darin, a=tor.
2003-05-01 00:42:50 +00:00
kaie%netscape.com e3725ca56e b=196827 Lock icon says that site is secure when it isn't because the connection was canceled
Patch by Darin
r=kaie sr=jag a=asa
2003-04-29 16:12:18 +00:00
bzbarsky%mit.edu 68786e981e Fix rasdlg on MingW builds. Bug 203300, patch by jonwil@tpgi.com.au (Jonathan
Wilson), r=darin, sr=bzbarsky, a=sspitzer
2003-04-27 01:38:42 +00:00
cavin%netscape.com 827070cae3 Fix for 202355. Turn on apple single/double code for MacOSX. r=ccarlen, sr=sfraser. 2003-04-25 21:18:10 +00:00
gordon%netscape.com b447b8a097 Fix AIX bustage. patch=jdunn, r=gordon, sr=darin, a=mkaply. 2003-04-23 21:43:12 +00:00
darin%netscape.com 6026a4294c fixing opt bustage 2003-04-23 06:37:36 +00:00
gordon%netscape.com c1c3cb1197 Fix bug 105344 "Memory cache should be based on amount of physical RAM"
This allows the cache to use a lot more memory than previously.
r=saari, sr=darin.
2003-04-23 05:15:48 +00:00
gordon%netscape.com fe2d32fd4e Fix bug 105344. r=saair, sr=darin. 2003-04-23 05:13:31 +00:00
darin%netscape.com 3a4bdb8f85 patch for bug 191970 "necko configuration options for footprint reduction" r=seawood sr=dbaron 2003-04-23 03:47:43 +00:00
darin%netscape.com 5a816eb572 fixes bug 202555 "ExtractProxyInfo not honoring permitHttp flag! [was: IMAP
port "disabled for security reasons"]" r=gordon sr=bz
2003-04-19 20:03:31 +00:00
darin%netscape.com 2c96ecbd4b fixes bug 202188 "Gopher support completely defunct" r=dougt sr=bz 2003-04-19 19:47:28 +00:00
darin%netscape.com f5b0d3eb47 fixes bug 200391 "roaming to a different IP address, get new mail (for pop)
stops working (silently fails)" r=dougt,gordon sr=bz
2003-04-19 19:45:17 +00:00
seawood%netscape.com 7f2e9509e0 Removing unneeded _BSD_SOURCE
Bug #202510
2003-04-19 02:12:08 +00:00
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
darin%netscape.com f13c2a68b7 avoid compiler warning 2003-04-18 04:46:40 +00:00
kairo%kairo.at 0978e17a8a bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
darin%netscape.com 1e5104550c removing dead necko build utility 2003-04-17 07:27:51 +00:00
gordon%netscape.com 37c7655dc1 Fix bug 192798, set flag to clear dns cache when toggled offline/online.
r=dougt, sr=darin.
2003-04-16 20:26:50 +00:00
darin%netscape.com a9f3b48e39 fixes bug 84798 "PAC: Failover does not work" r=dougt sr=alecf 2003-04-15 23:07:12 +00:00
darin%netscape.com 6d0795f3ed fixes bug 105292 "Accept-encoding: deflate unsupported, but requested" patch=david_dick@iprimus.com.au r=dougt sr=darin 2003-04-14 23:51:50 +00:00
darin%netscape.com 0ec9d44ddc fixes bug 201986 "infinite network loop when auth realm changes" r=dougt sr=alecf 2003-04-14 21:35:27 +00:00
dougt%netscape.com 9be6fbcea0 Updates to latest version of ParseList by Cyrus Patel. This fixes the problem with filenames with multiple spaces. sr=darin, b=195956 2003-04-14 21:21:36 +00:00
darin%netscape.com 0dbb0acadd fixes bug 201663 "FTP download from nightly / trunk - archives are short" r=dougt sr=bryner 2003-04-12 22:01:33 +00:00
brendan%mozilla.org 36867f5dc9 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
darin%netscape.com f2e5053dac fixes bug 80918 "Proxy: 'No Proxy for:' does not support ip address wildcards" r=bbaetz sr=alecf 2003-04-11 18:24:55 +00:00
nhotta%netscape.com fbf1024ed5 Initialize IDN service at nsStandardURL constructor,
added pref observers for IDN related prefs,
bug 188218, r=darin, sr=alecf.
2003-04-11 17:05:56 +00:00
nhotta%netscape.com b5293689a8 Adding Ascii check for mailto url recognition,
bug 201369, r=ben.bucksch, sr=darin.
2003-04-11 16:56:01 +00:00
darin%netscape.com c1360c525d fixes bug 201570 "enable socket transport logging in nightly builds" r=dougt sr=brendan 2003-04-11 01:19:07 +00:00
darin%netscape.com 2300a4eb4b fixes bug 201370 "TLS intolerance detection broken" r=kaie sr=alecf 2003-04-10 19:06:24 +00:00
cls%seawood.org 68c9c39726 Fix mingw bustage.
Bug #134113 r=darin
2003-04-10 05:16:51 +00:00
sspitzer%netscape.com 6e017314e4 fix for bug #119964. implement yEnc decoding.
note, we have no plans to support yEnc encoding.
thanks to ducarroz for the patch.  r/sr=sspitzer
2003-04-10 02:19:35 +00:00
darin%netscape.com e26ccddff3 fixes bug 201303 "Utilize new nsIAtom methods to reduce string conversions in nsCacheMetaData" r=gordon sr=alecf 2003-04-10 00:59:33 +00:00
suresh%netscape.com c55493c39e removing obsolete nsIAuthenticator file. bug 182164. 2003-04-09 21:12:10 +00:00
darin%netscape.com 9648fbc5f1 fixes bug 194402 "publishing doesn't complete; opens multiple FTP control connetctions" r=dougt sr=sfraser 2003-04-08 22:18:10 +00:00
timeless%mozdev.org 5094811a00 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin
2003-04-08 22:01:43 +00:00
darin%netscape.com c2b6b20810 fixes bug 201054 "SSL proxy CONNECT w/ NTLM auth fails" r=dougt sr=bz 2003-04-08 21:12:24 +00:00
dougt%netscape.com bf9411c4a9 allowing ftp URLs w/ anonymous username to automatically use anonymous password. r+sr=darin, b=196286 2003-04-08 20:31:24 +00:00
suresh%netscape.com b34b66eefd fix for bug 155155 - digest authentication fails when switching between POST&GET requests. r-dougt, sr-darin. 2003-04-08 20:03:40 +00:00