dwitte%stanford.edu
c81b6f5525
relanding bug 385299 and updating tests.
2007-12-05 00:03:22 +00:00
dwitte%stanford.edu
f3879b5f60
backing out due to orange
2007-12-04 23:02:24 +00:00
dwitte%stanford.edu
e5494a7143
Bug 385299 - use eTLD in cookies (stop sites setting cookies for the entire ".co.uk" domain). r=dveditz, sr=mconnor, blocking1.9+
2007-12-04 22:26:42 +00:00
dwitte%stanford.edu
9c7fee1ade
backing out the kitchen sink.
2007-11-19 10:15:55 +00:00
dwitte%stanford.edu
8e2c6e6a23
still investigating mac Tp impact.
2007-11-19 09:08:07 +00:00
dwitte%stanford.edu
2aed86fe82
back out change.
2007-11-19 07:26:36 +00:00
dwitte%stanford.edu
c64e748ec9
investigating orange.
2007-11-19 06:41:53 +00:00
dwitte%stanford.edu
f50624ca07
relanding modified patch for bug 403372.
2007-11-18 08:08:34 +00:00
dwitte%stanford.edu
c0555f3f2a
relanding teeny tiny part of patch to investigate Tp impact
2007-11-17 11:05:01 +00:00
reed%reedloden.com
85fc03ec8f
Back out dwitte's cookie monster patch (bug 403372) due to Tp regression.
2007-11-17 09:49:18 +00:00
dwitte%stanford.edu
15e51ab5b5
relanding bug 403372.
2007-11-17 06:08:10 +00:00
dwitte%stanford.edu
880d60bf20
backing out to fix orange.
2007-11-17 03:40:34 +00:00
dwitte%stanford.edu
5a8ce7ea82
leash up the cookiemonster (cookie eviction should be in lastaccessed order, bug 403372). r=sdwilsh, sr=shaver. also includes unnecessary code
...
removal fix by Marco Bonardo (mak77@supereva.it ), bug 403767.
2007-11-17 02:54:51 +00:00
dwitte%stanford.edu
db7ed44a4c
updating comment to address review comments in bug 397238.
2007-11-14 01:36:54 +00:00
neil%parkwaycc.co.uk
635ec54d93
Bug 397238 Expose cookie import code so that profile migration doesn't have to duplicate it r=dwitte sr=biesi a=mtschrep
2007-11-12 09:28:22 +00:00
dwitte%stanford.edu
e3f9003fe2
Bug 402395 ��� Dangling semi-colon caused when "ac_add_options --disable-logging" throws warning in VS2005. patch by Masayuki Nakano
...
(masayuki@d-toybox.com ), r=dwitte, sr=bsmedberg, a=beltzner for M9.
2007-11-05 19:29:12 +00:00
dwitte%stanford.edu
24741a4e47
bustage fix for bug 401998. b=402148,
...
patch by Michael Mullin (masmullin@gmail.com ).
2007-11-03 02:15:47 +00:00
dwitte%stanford.edu
3fec05fb5a
add logging coverage for cookie eviction and db operations. b=401998, r+sr=mconnor, a=beltzner
2007-11-01 22:34:16 +00:00
dwitte%stanford.edu
2e0a92be23
fix debug compile error in nsCookie.h. b=394243, r+sr=biesi, a=mconnor
2007-10-04 19:24:00 +00:00
dwitte%stanford.edu
785c3d440b
tweak documentation for countCookiesFromHost. b=394460, npob.
2007-09-04 02:07:23 +00:00
sdwilsh%shawnwilsher.com
0cde3c689d
Bug 389575 - Add WARNINGS_AS_ERRORS compile time flag. r=bsmedberg NPOTFB.
2007-08-28 16:02:43 +00:00
dwitte%stanford.edu
c6fdade4ff
Use getters and setters for database schema version. b=386369, p=sdwilsh, r=dwitte, sr=biesi.
2007-07-16 21:05:35 +00:00
dwitte%stanford.edu
d11057da3c
web content can set httponly cookie by overwriting a non-httponly one. b=387543, p=dveditz, r=dwitte, sr=mconnor.
2007-07-11 03:21:07 +00:00
jwalden%mit.edu
ef68fcf595
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 07:08:56 +00:00
dwitte%stanford.edu
e1d2d510e9
remove nsICookieServiceInternal. b=384990, r+sr=biesi
2007-06-26 10:41:59 +00:00
dwitte%stanford.edu
decdf58851
prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz
2007-06-26 08:36:55 +00:00
dwitte%stanford.edu
8b23960d83
removing redeclaration, r+sr+ui-r+a=sdwilsh
2007-06-26 05:28:25 +00:00
dwitte%stanford.edu
d7dd0e4780
fix typo from storage checkin.
2007-06-26 05:10:33 +00:00
dwitte%stanford.edu
47ee96efc0
remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi
2007-06-21 05:17:09 +00:00
dwitte%stanford.edu
baecdf2fb5
rev nsICookieManager2 interface to allow adding httpOnly cookies, and update consumers to match. b=379408, r+sr=biesi.
2007-06-17 23:40:41 +00:00
dwitte%stanford.edu
c45de3c235
switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
...
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 21:52:22 +00:00
dveditz%cruzio.com
10c3db121a
bug 373228 incorporate additional review comments after initial checkin, r=dwitte, a=release-drivers
2007-05-07 11:14:01 +00:00
dwitte%stanford.edu
f4d2c3dad6
tweak some comments to reflect the changes in bug 240963.
2007-05-06 01:29:44 +00:00
dwitte%stanford.edu
f2930f0e2d
implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.
...
bug 379239, r=mvl, sr=biesi
2007-05-05 21:09:54 +00:00
dveditz%cruzio.com
1b8681501b
bug 373228 prevent cookies with long paths from taking too much space, r=dwitte, a=juanb
2007-05-01 08:14:49 +00:00
dwitte%stanford.edu
af494e34f9
comment sp fix.
2007-04-29 07:52:23 +00:00
benjamin%smedbergs.us
3fb4912f5d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 14:22:04 +00:00
gijskruitbosch%gmail.com
9cd5d95c7c
Bug 375488 - HttpOnly Cookies broken (exchanged httponly and secure arguments in function call)
...
p=ronny.perinke@gmx.de (Ronny Perinke)
r=mozilla@kaply.com
sr=darin.moz@gmail.com (Darin Fisher)
2007-03-27 17:34:12 +00:00
dbaron%dbaron.org
d2a7c1e86a
Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
2007-03-27 15:35:02 +00:00
mkaply%us.ibm.com
921e9a8206
Bug 178993 -patch from robert sayre and others - r=bsmedberg, dveditz, mvl, sr=darin - add HTTPOnly support
2007-03-14 17:22:01 +00:00
sayrer%gmail.com
7516604055
Backout unfinished patch for bug 178993.
2007-03-02 03:51:30 +00:00
mkaply%us.ibm.com
ea71628986
#178993
...
r=bsmedberg, dveditz, mvl
Add support for httpOnly cookie attribute
2007-03-01 20:09:02 +00:00
martijn.martijn%gmail.com
8ec675a814
Bug 346125 � Broken link to Netscape Cookie Specification page in cookies.txt file, patch by Robert Millan, r=bzbarsky
2007-02-08 16:46:28 +00:00
darin%meer.net
2873892727
fixes bug 240201 "remove [noscript] from nsICookieManager2::add" r+sr=bzbarsky
2006-02-23 02:08:27 +00:00
mconnor%steelgryphon.com
91ac6f5e9c
bug 306658 - disallow cookies from non-file URIs without
...
hostnames, r=dwitte, sr=darin
2005-10-01 05:20:21 +00:00
timeless%mozdev.org
96b4bd8eeb
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
6fccb40aac
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
1555409989
Backout bug 295994 due to tinderbox orange.
2005-09-14 20:17:13 +00:00
bsmedberg%covad.net
57c9ba936e
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
763f225033
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
4b68fa447a
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
f5257db823
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
dwitte%stanford.edu
2eba0b8866
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
49bf630cba
fix handling of quoted token values.
...
b=277033, r=mvl, sr=darin
2005-01-24 06:47:44 +00:00
bsmedberg%covad.net
7ccf6e4965
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
66e29623d3
Bug 260659 cookies use static string objects
...
r=dwitte sr=darin
2004-09-21 11:58:49 +00:00
dwitte%stanford.edu
fd8b24d15e
fix topcrasher bug 252289, r=mvl sr=darin
2004-07-21 22:03:21 +00:00
dwitte%stanford.edu
6b6af1a60f
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
ffa45ddc5f
sprinkle some asserts, and remove redundant #include.
2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
f3754bca20
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
2abcffe70a
add --disable-cookies build option.
...
b=221885, r=bsmedberg, r+sr=darin
2004-07-19 04:57:02 +00:00
dwitte%stanford.edu
a21bbd2099
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
4c3a6e6c55
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
896ea63350
comment typo fix.
2004-07-12 09:20:55 +00:00
mvl%exedo.nl
d7013a2949
create a non-overwriting file output stream
...
bug 246675, r=biesi, sr=darin
2004-07-06 20:35:40 +00:00
dwitte%stanford.edu
3f81f64dc0
removing unnecessary #include.
2004-06-26 20:52:14 +00:00
cbiesinger%web.de
98f7eeec9e
oops. fixing bustage.
2004-06-26 18:47:01 +00:00
dwitte%stanford.edu
8c26460133
fixing an erroneous comment.
2004-06-19 23:57:45 +00:00
roc+%cs.cmu.edu
52092297fe
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
darin%meer.net
67ecaf88f6
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
b8ecbc84da
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
dveditz%cruzio.com
eda8245538
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
5effe0a234
"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
c675e6afd7
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
8b57f91769
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
c40f4f93a2
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 22:01:16 +00:00
mconnor%myrealbox.com
1c888c7563
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
9ba3e09c9f
comment-only tweak.
2004-03-15 09:44:30 +00:00
darin%meer.net
8c818ed6c3
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
bsmedberg%covad.net
34cd8e8bdf
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
5a51d4d50d
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
be26fab99f
fixing bogus comment.
2003-11-17 15:43:51 +00:00
dwitte%stanford.edu
2f88461ce0
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
085ad44ab6
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
f59fab6b18
removing evil reference to a certain OS. comment-only change.
2003-11-11 05:00:25 +00:00
dwitte%stanford.edu
c385251b6c
staticify a couple of class methods.
2003-10-31 08:44:00 +00:00
dwitte%stanford.edu
6f46f5f3ce
fixing indentation.
2003-10-30 05:25:35 +00:00
dwitte%stanford.edu
34a0cbb519
removing reference to unused file
2003-10-30 05:16:51 +00:00
dwitte%stanford.edu
26d56062b3
removing unused file
2003-10-30 05:11:54 +00:00
dwitte%stanford.edu
0859a8bdf4
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
48e1ec0204
remove nsCCookieManager.h in favor of nsNetCID.h.
...
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
dwitte%stanford.edu
abfc58ea92
polish the nsICookieManager2::Add interface a tad.
...
b=222343, r=danm, sr=darin.
2003-10-30 02:50:11 +00:00
dwitte%stanford.edu
634ff6cb84
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
2b63e9581a
er, for real this time...
2003-10-26 01:17:13 +00:00
dwitte%stanford.edu
3af5bf4c96
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
dwitte%stanford.edu
7b125ba0e6
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
dwitte%stanford.edu
814b640381
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
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