Commit Graph

4629 Commits

Author SHA1 Message Date
bryner%brianryner.com
27f406b51d Fix AIX bustage by making ~nsSocketTransportService() protected (so that nsDerivedSafe can call it). r=dbaron. 2003-11-15 05:52:32 +00:00
darin%meer.net
ee0bc79162 fixes bug 92928 "Server socket support in Necko" r=dougt sr=bzbarsky 2003-11-15 00:13:59 +00:00
darin%meer.net
2861ddd730 fixes bug 210208 "add http-on-examine-merged-response notification" patch=rggammon@alumni.uwaterloo.ca r+sr=darin 2003-11-14 20:51:55 +00:00
dwitte%stanford.edu
4250def2a9 clean up p3p hooks in cookies. this shifts code out of the cookiservice into p3p, and stops the cookieservice calling into p3p if the user isn't using p3p. this will improve perf a tad.
b=225298, r=mvl, sr=darin
2003-11-14 06:43:08 +00:00
bzbarsky%mit.edu
02105d9df4 Detect <iframe> as HTML. Bug 224932, r+sr=darin 2003-11-13 23:22:49 +00:00
cbiesinger%web.de
86a6cb09ce bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
darin%meer.net
e4ebafaa4b fix uninitialized variable warning, bug 204503, patch by alfredkayser@nl.ibm.com, r+sr=darin 2003-11-12 20:09:05 +00:00
cbiesinger%web.de
fada1ad2ce bug 225362. nsIStreamConverter.idl has an outdated comment. this patch also
fixes indentation of some lines. r+sr=darin
2003-11-12 09:37:35 +00:00
caillon%returnzero.com
500a2f874e Get rid of an addref/release pair and be explicit about deleting our nsCookie when AddCookieToList fails, rather than it just magically dissappearing via the addref/release pair in the callee.
Bug 225203
r=dwitte; sr=jst
2003-11-11 09:39:32 +00:00
darin%meer.net
83b8afa950 removing dead MacOS9 code 2003-11-11 07:32:34 +00:00
darin%meer.net
df6de13bdc fixes bug 224320 "remove bogus IsDirectory canonicalization" r=dougt 2003-11-11 07:31:47 +00:00
dwitte%stanford.edu
e466288f41 removing evil reference to a certain OS. comment-only change. 2003-11-11 05:00:25 +00:00
cbiesinger%web.de
891b75f739 #include <..> -> #include ".." 2003-11-10 00:01:17 +00:00
cbiesinger%web.de
d2756f1681 fix case of header file (fixes bustage probably) 2003-11-09 23:59:11 +00:00
cbiesinger%web.de
04afaca1f8 adding test program to test synchronous open of channels, rs=darin 2003-11-09 23:44:02 +00:00
darin%meer.net
582bc3f22c fixes bug 224240 "nsURIChecker cleanup" r=biesi sr=bzbarsky 2003-11-09 22:49:57 +00:00
darin%meer.net
b6c874b805 minor IDL tweak to make getNextAddr return PRNetAddr instead -- does not
change the binary interface.  r=botbot
2003-11-09 01:29:58 +00:00
timeless%mozdev.org
4b3b30a355 Bug 49813 "threadsafe" nsDirectoryIndexStream uses nsDirEnumeratorUnix triggering "not thread-safe" assertion
r=darin sr=darin
2003-11-05 12:39:05 +00:00
bzbarsky%mit.edu
fa6142d08b Treat any 1xx response like a 100 response. Bug 224537, r+sr=darin 2003-11-04 02:20:54 +00:00
darin%meer.net
2e48347cf6 adding additional comments to last patch, b=223145 2003-11-03 09:10:57 +00:00
darin%meer.net
bb123973dd fixes bug 223145 "Numeric IPv6 addresses don't work" patch=lorenzo@colitti.com r+sr=darin 2003-11-03 08:54:49 +00:00
darin%meer.net
d5c92b85c2 fixes bug 223861 "default value of network.dnsCacheExpiration should be reduced" r=dougt sr=brendan 2003-11-03 05:55:07 +00:00
peter%propagandism.org
37a61782f2 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 15:16:24 +00:00
peter%propagandism.org
c782f4ee1c Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 13:51:42 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
dwitte%stanford.edu
b8022e8ecf staticify a couple of class methods. 2003-10-31 08:44:00 +00:00
cbiesinger%web.de
c4813304a0 bug 223143 nsHttpChannel::Suspend and Resume always return NS_OK
r=darin sr=bz
2003-10-30 21:27:38 +00:00
dwitte%stanford.edu
b5e36cc833 fixing indentation. 2003-10-30 05:25:35 +00:00
dwitte%stanford.edu
88e457367f removing reference to unused file 2003-10-30 05:16:51 +00:00
dwitte%stanford.edu
a2ed6657c8 removing unused file 2003-10-30 05:11:54 +00:00
dwitte%stanford.edu
2a9ecd8962 moving TestCookie into its new netwerk/test home.
find blame for the old TestCookie in the attic for
mozilla/extensions/cookie/tests/TestCookie.cpp.
2003-10-30 03:28:28 +00:00
darin%meer.net
c22e4d211c fixes bug 180049 "Authentication Plugins" patch=cneberg@sandia.gov r=darin sr=bzbarsky 2003-10-30 03:27:53 +00:00
dwitte%stanford.edu
0af383bc06 remove support for network.cookies.strictDomains pref, since there's not much point in keeping it around.
b=223617, r+sr=darin, thanks to mvl for testing.
2003-10-30 03:13:54 +00:00
dwitte%stanford.edu
359f90d96a remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
dwitte%stanford.edu
b6f814cb06 polish the nsICookieManager2::Add interface a tad.
b=222343, r=danm, sr=darin.
2003-10-30 02:50:11 +00:00
dwitte%stanford.edu
c7754ba02e optimize nsCookie a tad by not storing an isDomain parameter.
b=223289 r+sr=darin
2003-10-30 02:43:07 +00:00
darin%meer.net
51894183eb fixes bug 223352 "correct condition variable and timeout logic in nsIOThreadPool::ThreadFunc" r=wtc sr=bzbarsky 2003-10-30 02:32:52 +00:00
darin%meer.net
164a11fd94 fixes bug 86846 "PAC: Cannot display alert() in autproxy config file" r=biesi sr=bzbarsky 2003-10-30 02:20:08 +00:00
darin%meer.net
970a2e0a1d fixes bug 198806 "Image data memory leak resulting when images are saved (from browser tab)" r=dougt sr=bzbarsky 2003-10-30 02:18:26 +00:00
timeless%mozdev.org
8f9b9cc7ed Bug 224016 unused variable nsresult result' in function int main(int, char**)'
r=darin sr=darin
2003-10-30 02:11:45 +00:00
timeless%mozdev.org
74e144e261 Bug 222085 warning: initializer does not fit or is out of range: -1
r=darin sr=darin
2003-10-30 02:07:31 +00:00
dwitte%stanford.edu
6e0efb8f0e er, for real this time... 2003-10-26 01:17:13 +00:00
dwitte%stanford.edu
5304eba08b fix the domainwalking hashtable code to do a lookup for the toplevel domain. this fixes a regression where cookies for "localhost" weren't getting sent.
b=223365, r=mvl, sr=darin, a=asa.
2003-10-26 01:13:23 +00:00
darin%meer.net
478ea8f332 fixes bug 221491 "crash [@ nsHostResolver::GetHostToLookup]" r=dougt sr=bzbarsky a=dbaron 2003-10-25 23:48:33 +00:00
dwitte%stanford.edu
e42be4a132 move cookies to use hashtables instead of a sorted list, and implement a sane notifications
system for cookies and permissions. this will improve perf a bunch, and also sets the stage
for a more performant and flexible cookiemanager UI by providing better notifications.

bugs 143939 and 221185, with r=bsmedberg+mvl, sr=darin and r=mvl, sr=bz respectively.
2003-10-22 06:53:19 +00:00
darin%meer.net
2e10e7d59d fixes bug 222588 "Mozilla creates too many threads and seems to never terminate them" r=timeless sr=bzbarsky 2003-10-22 06:38:39 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
kairo%kairo.at
7b21e2d4eb bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
cbiesinger%web.de
84f8e15590 removing obsolete comment, r+sr=darin 2003-10-17 20:56:44 +00:00
dwitte%stanford.edu
b0c03defea unfork the core cookie backend prefs, between mozilla & firebird. this makes the cookie backend GRE-friendly. it also breaks firebird, but that's their own fault. (a firebird fix will be landing shortly).
b=221078, r=caillon, sr=darin.
2003-10-16 20:54:29 +00:00
dwitte%stanford.edu
9c84bccbd4 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
728808e8d9 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
ded62c5db6 whoops. these weren't meant to go in. ;) 2003-10-11 00:12:33 +00:00
dwitte%stanford.edu
7d225f53dc 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
4138767d73 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
1754f96409 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
062870abe1 backing these out temporarily 2003-10-10 22:37:07 +00:00
darin%meer.net
7f86cdf0a2 moving cookies backend into necko: b=210561 r=dwitte sr=bryner 2003-10-10 22:34:06 +00:00
darin%meer.net
e0db499ec6 moving cookies backend into necko: b=210561 r=dwitte sr=bryner 2003-10-10 22:27:41 +00:00
neil%parkwaycc.co.uk
368912e7d1 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
cb60788092 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
eddd391aca 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
cbcb460359 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
2a73d39883 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
9e05fad4b2 adding some additional documentation per bzbarsky, b=192284 2003-10-08 04:37:38 +00:00
darin%meer.net
2b14b6a01c fixes bug 192284 "support nsIChannel::open for all protocols" r=dougt sr=bzbarsky 2003-10-08 04:27:13 +00:00
darin%meer.net
5b691ee334 removing nsAutoLock workaround for bug 221331. 2003-10-08 03:38:46 +00:00
darin%meer.net
7b0c6def1c minor touch-up to patch for bug 210125. 2003-10-07 08:17:22 +00:00
darin%meer.net
c3e0c2ef4e 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
8f793d6611 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
886b94cad7 switch to dbaron's suggested fix for solaris bustage, b=210125. 2003-10-07 01:29:38 +00:00
darin%meer.net
80bc455cd4 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
7a0ae941cc correcting contributor line from initial check-in. 2003-10-06 09:17:15 +00:00
darin%meer.net
facc133d16 updating .cvsignore for necko 2003-10-06 08:21:10 +00:00
darin%meer.net
2997dc4afb attempt to fix solaris (nebiros) bustage. 2003-10-06 08:13:51 +00:00
darin%meer.net
11af30d3b0 fix tinderbox Ts=NaN problem. stream transport must handle offset = -1. 2003-10-06 07:58:07 +00:00
darin%meer.net
8ada5e59f5 fixing win32 bustage. 2003-10-06 03:49:54 +00:00
darin%meer.net
ea1c34686d correcting bustage fix. 2003-10-06 03:21:12 +00:00
darin%meer.net
c9cdac2b54 fixes win32 bustage 2003-10-06 02:50:49 +00:00
darin%meer.net
e1ba7306f6 fixing potential bustage 2003-10-06 02:14:02 +00:00
darin%meer.net
f9bc2f9713 fixing bustage 2003-10-06 02:12:49 +00:00
darin%meer.net
ea5408a785 bustage fix... i had this in my tree already :-( 2003-10-06 01:58:58 +00:00
darin%meer.net
a0621481cd annotating workaround for bug 221331. 2003-10-06 01:58:08 +00:00
darin%meer.net
77642ae698 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
f0f267ab03 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
b6acc76843 Fix possible access to unitialized memory. Bug 221189, r=biesi, sr=darin 2003-10-04 20:27:32 +00:00
bzbarsky%mit.edu
1e96d51b10 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
5dcb44523e 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
b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
darin%meer.net
4446ed912b 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
4afb4ac280 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
6af4466826 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
b290b12671 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
eb2d62de83 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
f3b812645b removing dead code 2003-09-19 18:21:14 +00:00
cls%seawood.org
19d1d413c2 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
c18624ca1b fixing typo in LOG statement
rs=darin
2003-09-17 15:11:47 +00:00
darin%meer.net
452afe9434 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
e1b1312006 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
ef96caa6fb removing files that are no longer compiled. 2003-09-15 21:56:55 +00:00