88 Commits

Author SHA1 Message Date
darin%meer.net
a8a4a35f38 removing nsCookieHttpNotify.{h,cpp} now that they are unused and empty, b=210561.
git-svn-id: svn://10.0.0.236/trunk@145579 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:16:36 +00:00
stephend%netscape.com
37e12610c2 Spelling corrections that should've landed with the original patch for bug 184059
git-svn-id: svn://10.0.0.236/trunk@145493 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 18:17:55 +00:00
darin%meer.net
6103322ee1 fixes bug 184059 "cookperm.txt entries should override default cookie setting" patch=dwitte r=mvl sr=bz
git-svn-id: svn://10.0.0.236/trunk@145492 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 17:20:52 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
dwitte%stanford.edu
9d62d39ae0 Bug 209475: Make nsIPermissionManager more flexible for extensions.
Changes nsIPermissionManager.idl to accept type strings rather than integers; this allows consumers to register unique types more easily, without fear of conflicting with an already-existing one.

Also fixes some bounds-checking fu (sr=bz on irc for those additional portions).

patch by mvl; r=dwitte, sr=bz.


git-svn-id: svn://10.0.0.236/trunk@144606 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 00:20:57 +00:00
dwitte%stanford.edu
1868bf16e5 Fixing leak regression from bug 200632 landing (the latest cookie rewrite).
This changes the nsCookieService singleton fu to AddRef only once, rather than twice (and removes the corresponding Release in the module dtor). The double-addref was making the cookie module stick around until XPCOM starts shutting down modules, which is too late to release things we own (observer service, prefbranch, etc). So we were violating XPCOM shutdown rules without knowing it.

So, the tracemalloc leak stats on Brad should halve. :)

b=209571, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@144084 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:00:22 +00:00
dwitte%stanford.edu
850f2049fc yet another cookie rewrite - up to part 3 this time.
- moves core cookie code into nsCookieService.{h,cpp}, and kills nsCookies & nsCookieManager
- makes nsCookieService a singleton object that implements nsICookieManager also
- improves mem efficiency of the nsCookie object, and removes unneeded conversions
- adds an nsICookie2 interface to extend the sucky nsICookie.
- fixes a few (unrelated) trivial things while I'm in there (use ->ASCII instead of ->UTF8, and remove some erroneous stuff in nsPermissionManager.h)

cvs removal of nsCookies.{h,cpp} and nsCookieManager.{h,cpp} will follow; to find old blame info and logs for those files, look in attic.

burn the witch!

b=200632, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@143712 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 20:10:55 +00:00
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
dwitte%stanford.edu
bd4058b74f Bug 203324: [cookies] backport phase 3 fixes to trunk.
patch by me. r=alecf, sr=darin, a=asa.

my first checkin! yay!


git-svn-id: svn://10.0.0.236/trunk@141832 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 23:20:04 +00:00
darin%netscape.com
5bdce38ea4 fixes bug 199108 "Changes to cookie prefs need restart to take effect"
patch=dwitte r=kaie sr=darin


git-svn-id: svn://10.0.0.236/trunk@140327 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 02:27:39 +00:00
timeless%mozdev.org
12319ae021 Bug 195908 Cookie rewrite phase 2 - patch for un-inited variable
patch by dwitte@stanford.edu r=mvl@exedo.nl sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140095 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 10:20:20 +00:00
cathleen%netscape.com
967aa0f17f cookie cleanup, phase #2. landing for dwitte@stanford.edu. bug 195908. r=darin sr=alecf
git-svn-id: svn://10.0.0.236/trunk@139993 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:51:18 +00:00
danm%netscape.com
251cf11c23 write cookies to disk after page load completes. bug 165268 r=ccarlen,darin
git-svn-id: svn://10.0.0.236/trunk@138376 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 21:45:58 +00:00
ccarlen%netscape.com
6ef0fca06e Bug 193078 - cookies file loses entries if you switch to a new profile and then quit. r=mvl@exedo.nl/sr=darin/a=asa
git-svn-id: svn://10.0.0.236/trunk@137793 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 00:32:57 +00:00
timeless%mozdev.org
577e8ab365 Bug 189685 Allow cookieservice to run without access to the profile directory
r=dwitte sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136701 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 22:18:42 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
kaie%netscape.com
f0157ede55 b=175320 Support clean profile & NSS shutdown at any time + Mozilla needs to clean up on exit to allow for PSM failure detection
r=ccarlen/morse sr=darin


git-svn-id: svn://10.0.0.236/trunk@135260 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:39:03 +00:00
morse%netscape.com
28cd869d57 bug 158216, cookies written out to disk too often, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@130664 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 15:08:22 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
morse%netscape.com
8669c9c045 backout offending part of patch in bug 158216, a=asa
git-svn-id: svn://10.0.0.236/trunk@128896 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 20:09:20 +00:00
morse%netscape.com
d53b13a300 bug 162129 (leak in cookie module) & bug 158216 (cookies written out too often), r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@128315 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:30:06 +00:00
morse%netscape.com
8253853252 bug 156922, dynamic updating of cookie manager dialog, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@127223 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 00:05:17 +00:00
mstoltz%netscape.com
436a8b02f7 bug 125725, part 2 - pass nsIURIs instead of char* URL specs into nsCookies.
That way, we won't try to get or set cookies on protocols that don't support host.
r=morse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125142 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 03:45:05 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
morse%netscape.com
6f165e6158 bug 129819, release session cookies when using quicklaunch, r=sgehani, sr=darin, a=rjesup@wgate.com, atd=jaimie
git-svn-id: svn://10.0.0.236/trunk@118510 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:06:02 +00:00
morse%netscape.com
a38936a110 bug 128942, crash in cookie module, r/sr=darin,jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@116035 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 06:09:30 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
morse%netscape.com
7022c68c2c bug 121161, enhancements to p3p cookie management, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113827 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:55:16 +00:00
morse%netscape.com
d82e69afa8 bug 104894, parsing p3p compact policies, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:05:53 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
morse%netscape.com
d4ee3f7955 bug 47437, nscookie.cpp is duplicationg URL parsing logic, c=andreas.otte, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:28:06 +00:00
morse%netscape.com
f8fced341f bug 98882, implement p3p cookie management, r=harishd,jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103989 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:41:26 +00:00
gerv%gerv.net
f2fd909b29 License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@103763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:24 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
valeski%netscape.com
c93bb536ef sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug.
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +00:00
sspitzer%netscape.com
464ec38468 fix for #77277, crash in cookies when reading certain mail messages.
r=morse, sr=bienvenu a=asa,chofmann


git-svn-id: svn://10.0.0.236/trunk@93017 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 21:47:51 +00:00
morse%netscape.com
89af28ed99 bug 75748, crash when viewing a particular message, r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@92224 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 21:45:34 +00:00
sspitzer%netscape.com
6f6e1e5e2e #75948, bullet proof crasher when reading mail. sr=mscott, a=leaf
git-svn-id: svn://10.0.0.236/trunk@92216 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 20:30:10 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
rickg%netscape.com
75bb2ffbb9 preloader update. r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
morse%netscape.com
8d277c87e5 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:11:48 +00:00
ccarlen%netscape.com
f3010d0d9b Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89303 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:12:21 +00:00
ccarlen%netscape.com
ecb092e10c Part of bug 35559 - dynamic profile switching.
r=morse, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@85437 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:51:00 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
morse%netscape.com
dff9c09818 added some defensive coding to previous checkin
git-svn-id: svn://10.0.0.236/trunk@78356 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:21:42 +00:00
morse%netscape.com
feb9add6f2 bug 51338, cookie nag box not modal, r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +00:00
valeski%netscape.com
ffe961ce34 r=dp. removing extraneous junk
git-svn-id: svn://10.0.0.236/trunk@75509 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:04:28 +00:00