cbiesinger%web.de
5d85d7ccaa
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
git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
bsmedberg%covad.net
fc4099e666
Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
...
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
bryner%brianryner.com
9861051f37
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
dwitte%stanford.edu
83c6647bde
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
git-svn-id: svn://10.0.0.236/trunk@168228 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 06:53:18 +00:00
dwitte%stanford.edu
8fbb0b2029
fix handling of quoted token values.
...
b=277033, r=mvl, sr=darin
git-svn-id: svn://10.0.0.236/trunk@168227 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 06:47:44 +00:00
bsmedberg%covad.net
4c08900f0e
Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
...
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
cbiesinger%web.de
4b42a13d38
Bug 260659 cookies use static string objects
...
r=dwitte sr=darin
git-svn-id: svn://10.0.0.236/trunk@162591 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 11:58:49 +00:00
dwitte%stanford.edu
7307ec2dbb
fix topcrasher bug 252289, r=mvl sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159618 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 22:03:21 +00:00
dwitte%stanford.edu
04ba07900a
make cookie & permission files non-world-readable.
...
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz ), r=dwitte, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@159532 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu
357f76fff5
sprinkle some asserts, and remove redundant #include.
...
git-svn-id: svn://10.0.0.236/trunk@159515 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
3203562ebb
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.
git-svn-id: svn://10.0.0.236/trunk@159501 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 22:00:03 +00:00
dwitte%stanford.edu
0e8fd0af71
add --disable-cookies build option.
...
b=221885, r=bsmedberg, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@159464 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 04:57:02 +00:00
dwitte%stanford.edu
214d7e8e71
quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
...
b=251648, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@159362 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:08:08 +00:00
dwitte%stanford.edu
8fd0f2724e
add Finish() method to nsISafeFileOutputStream, and tweak things slightly.
...
b=251091, r=mvl, sr=darin
git-svn-id: svn://10.0.0.236/trunk@159236 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 05:52:37 +00:00
dwitte%stanford.edu
f097cec7bd
comment typo fix.
...
git-svn-id: svn://10.0.0.236/trunk@159053 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-12 09:20:55 +00:00
mvl%exedo.nl
d59822d1bc
create a non-overwriting file output stream
...
bug 246675, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@158804 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 20:35:40 +00:00
dwitte%stanford.edu
5136870cd7
removing unnecessary #include.
...
git-svn-id: svn://10.0.0.236/trunk@158522 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-26 20:52:14 +00:00
cbiesinger%web.de
6b7a59fd9a
oops. fixing bustage.
...
git-svn-id: svn://10.0.0.236/trunk@158521 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-26 18:47:01 +00:00
dwitte%stanford.edu
c42926783a
fixing an erroneous comment.
...
git-svn-id: svn://10.0.0.236/trunk@158198 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-19 23:57:45 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
darin%meer.net
b1af243a5c
fixes bug 236772 "Sprint Local Bill Redirection Limit Exceeded" r=dwitte sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@157506 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-07 14:54:22 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
dveditz%cruzio.com
36154e40ae
Bug 242564 revert default p3p cookie action to pre-225298 state, r=dwitte,sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@156081 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 08:04:45 +00:00
mvl%exedo.nl
5358240754
"limit to current session" should not override a short cookie lifetime
...
bug 240963, r=dwitte, sr=darin
git-svn-id: svn://10.0.0.236/trunk@155691 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 16:58:09 +00:00
dwitte%stanford.edu
6da0200d89
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
git-svn-id: svn://10.0.0.236/trunk@155430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 04:17:31 +00:00
bienvenu%nventure.com
c12e53e60e
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
...
git-svn-id: svn://10.0.0.236/trunk@155334 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 15:32:54 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
mconnor%myrealbox.com
8d6aabb517
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
...
git-svn-id: svn://10.0.0.236/trunk@154603 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 23:27:02 +00:00
dwitte%stanford.edu
8f54a2ec01
comment-only tweak.
...
git-svn-id: svn://10.0.0.236/trunk@153977 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 09:44:30 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bsmedberg%covad.net
824286124d
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
dwitte%stanford.edu
e2fe88dfc2
reduce mallocs when creating a new nsCookie, by storing member strings contiguously with the cookie object.
...
b=223289, r=caillon, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@149491 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 12:30:23 +00:00
dwitte%stanford.edu
26947b6c95
fixing bogus comment.
...
git-svn-id: svn://10.0.0.236/trunk@149434 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 15:43:51 +00:00
dwitte%stanford.edu
ed7a0822ff
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
git-svn-id: svn://10.0.0.236/trunk@149291 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 06:43:08 +00:00
caillon%returnzero.com
0fcd9154d8
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
git-svn-id: svn://10.0.0.236/trunk@149147 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 09:39:32 +00:00
dwitte%stanford.edu
8060b33ac7
removing evil reference to a certain OS. comment-only change.
...
git-svn-id: svn://10.0.0.236/trunk@149140 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 05:00:25 +00:00
dwitte%stanford.edu
7c18722dfc
staticify a couple of class methods.
...
git-svn-id: svn://10.0.0.236/trunk@148647 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 08:44:00 +00:00
dwitte%stanford.edu
4c52599d4c
fixing indentation.
...
git-svn-id: svn://10.0.0.236/trunk@148543 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:25:35 +00:00
dwitte%stanford.edu
b841112632
removing reference to unused file
...
git-svn-id: svn://10.0.0.236/trunk@148542 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:16:51 +00:00
dwitte%stanford.edu
3504cb5336
removing unused file
...
git-svn-id: svn://10.0.0.236/trunk@148540 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:11:54 +00:00
dwitte%stanford.edu
5a3e11a293
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.
git-svn-id: svn://10.0.0.236/trunk@148525 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:13:54 +00:00
dwitte%stanford.edu
55a5a686dc
remove nsCCookieManager.h in favor of nsNetCID.h.
...
b=221886, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@148522 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:59:31 +00:00
dwitte%stanford.edu
8d76b5f1f0
polish the nsICookieManager2::Add interface a tad.
...
b=222343, r=danm, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@148520 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:50:11 +00:00
dwitte%stanford.edu
f01916197a
optimize nsCookie a tad by not storing an isDomain parameter.
...
b=223289 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@148519 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:43:07 +00:00
dwitte%stanford.edu
bf01efe92a
er, for real this time...
...
git-svn-id: svn://10.0.0.236/trunk@148383 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 01:17:13 +00:00
dwitte%stanford.edu
46206d0d8d
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.
git-svn-id: svn://10.0.0.236/trunk@148382 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 01:13:23 +00:00
dwitte%stanford.edu
00018f0913
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.
git-svn-id: svn://10.0.0.236/trunk@148263 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:53:19 +00:00
dwitte%stanford.edu
aff25bf706
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.
git-svn-id: svn://10.0.0.236/trunk@148038 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 20:54:29 +00:00
dwitte%stanford.edu
fdcedac1c9
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.
git-svn-id: svn://10.0.0.236/trunk@148021 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 13:17:12 +00:00
dwitte%stanford.edu
ed3329810e
move along, nothing to see here...
...
fix a bitwise & to a logical &&. nice catch bsmedberg!
git-svn-id: svn://10.0.0.236/trunk@147985 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 14:28:07 +00:00