62 Commits

Author SHA1 Message Date
dwitte%stanford.edu
3d83d5a1c2 comment sp fix.
git-svn-id: svn://10.0.0.236/trunk@225218 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 07:52:23 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
gijskruitbosch%gmail.com
51a60110aa 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)


git-svn-id: svn://10.0.0.236/trunk@222467 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 17:34:12 +00:00
dbaron%dbaron.org
8043a5c9c7 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222464 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:35:02 +00:00
mkaply%us.ibm.com
2ebef75afe Bug 178993 -patch from robert sayre and others - r=bsmedberg, dveditz, mvl, sr=darin - add HTTPOnly support
git-svn-id: svn://10.0.0.236/trunk@221877 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 17:22:01 +00:00
sayrer%gmail.com
822f9d552e Backout unfinished patch for bug 178993.
git-svn-id: svn://10.0.0.236/trunk@221193 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 03:51:30 +00:00
mkaply%us.ibm.com
bec1e3f362 #178993
r=bsmedberg, dveditz, mvl
Add support for httpOnly cookie attribute


git-svn-id: svn://10.0.0.236/trunk@221171 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 20:09:02 +00:00
martijn.martijn%gmail.com
73fc465c63 Bug 346125 – Broken link to Netscape Cookie Specification page in cookies.txt file, patch by Robert Millan, r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219719 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 16:46:28 +00:00
mconnor%steelgryphon.com
2c768e83d8 bug 306658 - disallow cookies from non-file URIs without
hostnames, r=dwitte, sr=darin


git-svn-id: svn://10.0.0.236/trunk@181397 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 05:20:21 +00:00
timeless%mozdev.org
2f76f9719d Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by joshbirnbaum-moz@yahoo.com r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180305 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 18:30:46 +00:00
bsmedberg%covad.net
2fd763dd14 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
git-svn-id: svn://10.0.0.236/trunk@180276 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 11:03:09 +00:00
bsmedberg%covad.net
07790cf384 Backout bug 295994 due to tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@180225 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 20:17:13 +00:00
bsmedberg%covad.net
6e6fd73537 Bug 295994 part 1 - add cookieservice accessors for individual cookies by name, obeying privacy preferences r=dwitte+darin
git-svn-id: svn://10.0.0.236/trunk@180223 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 18:27:56 +00:00
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
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
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
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
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