Commit Graph

68 Commits

Author SHA1 Message Date
timeless%mozdev.org
ce896f0683 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by joshbirnbaum-moz@yahoo.com r=darin sr=darin
2005-09-15 18:30:46 +00:00
bsmedberg%covad.net
81d0f2e5c0 Bug 295994 part 1 - add cookieservice accessors for individual cookies by name, obeying privacy preferences (second try, I reversed the string logic in nsCookieService::SetCookieInternal the first time - r=dwitte+darin 2005-09-15 11:03:09 +00:00
bsmedberg%covad.net
ba35d6749a Backout bug 295994 due to tinderbox orange. 2005-09-14 20:17:13 +00:00
bsmedberg%covad.net
237d89b23c Bug 295994 part 1 - add cookieservice accessors for individual cookies by name, obeying privacy preferences r=dwitte+darin 2005-09-14 18:27:56 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
dwitte%stanford.edu
1d185f2e97 make p3p cookie icon not appear for rejected cookies, only for flagged/downgraded ones; and remove some deprecated notification fu.
b=212778, r+sr=darin
2005-01-24 06:53:18 +00:00
dwitte%stanford.edu
a708472c84 fix handling of quoted token values.
b=277033, r=mvl, sr=darin
2005-01-24 06:47:44 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
cbiesinger%web.de
f31ccc73eb Bug 260659 cookies use static string objects
r=dwitte sr=darin
2004-09-21 11:58:49 +00:00
dwitte%stanford.edu
4fb8109457 fix topcrasher bug 252289, r=mvl sr=darin 2004-07-21 22:03:21 +00:00
dwitte%stanford.edu
dee773b6e5 make cookie & permission files non-world-readable.
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz), r=dwitte, sr=bz.
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu
bdf2a2307d sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
e338583f48 rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers.
b=251648, r=biesi, sr=darin, with thanks to darin and bz for suggestions.
2004-07-19 22:00:03 +00:00
dwitte%stanford.edu
8ad2e8e431 add --disable-cookies build option.
b=221885, r=bsmedberg, r+sr=darin
2004-07-19 04:57:02 +00:00
dwitte%stanford.edu
bd8bee85d7 quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
b=251648, r+sr=darin
2004-07-16 20:08:08 +00:00
dwitte%stanford.edu
76c59a7697 add Finish() method to nsISafeFileOutputStream, and tweak things slightly.
b=251091, r=mvl, sr=darin
2004-07-15 05:52:37 +00:00
dwitte%stanford.edu
0cfd07b69e comment typo fix. 2004-07-12 09:20:55 +00:00
mvl%exedo.nl
5229c8ccbb create a non-overwriting file output stream
bug 246675, r=biesi, sr=darin
2004-07-06 20:35:40 +00:00
dwitte%stanford.edu
91efac3a92 removing unnecessary #include. 2004-06-26 20:52:14 +00:00
cbiesinger%web.de
8a5d56f052 oops. fixing bustage. 2004-06-26 18:47:01 +00:00
dwitte%stanford.edu
4b69710df2 fixing an erroneous comment. 2004-06-19 23:57:45 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
darin%meer.net
434cae41e9 fixes bug 236772 "Sprint Local Bill Redirection Limit Exceeded" r=dwitte sr=dveditz 2004-06-07 14:54:22 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
dveditz%cruzio.com
d81a94b560 Bug 242564 revert default p3p cookie action to pre-225298 state, r=dwitte,sr=darin 2004-05-07 08:04:45 +00:00
mvl%exedo.nl
163611b57c "limit to current session" should not override a short cookie lifetime
bug 240963, r=dwitte, sr=darin
2004-04-29 16:58:09 +00:00
dwitte%stanford.edu
3d9f621775 increase the allowable number of total cookies and number of cookies per host, and add prefs so embeddors can tune these values.
b=213963, r=mconnor, sr=darin
2004-04-24 04:17:31 +00:00
bienvenu%nventure.com
4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
mconnor%myrealbox.com
183524ff31 Bug 238931: remove the magic number 8 (kill ALLOW_SESSION_ONLY const), r=dwitte, sr=darin, a1.7=asa, fix dwitte's folly by implementing the session perm value on nsICookiePermission 2004-04-07 23:27:02 +00:00
dwitte%stanford.edu
f32b368c4f comment-only tweak. 2004-03-15 09:44:30 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
dwitte%stanford.edu
cd7d429814 reduce mallocs when creating a new nsCookie, by storing member strings contiguously with the cookie object.
b=223289, r=caillon, sr=darin.
2003-11-18 12:30:23 +00:00
dwitte%stanford.edu
0434ce1a39 fixing bogus comment. 2003-11-17 15:43:51 +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
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
dwitte%stanford.edu
e466288f41 removing evil reference to a certain OS. comment-only change. 2003-11-11 05:00:25 +00:00
dwitte%stanford.edu
b8022e8ecf staticify a couple of class methods. 2003-10-31 08:44:00 +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
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
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